:root {
    --lab-white: #FFFFFF;
    --scientific-blue: #1565C0;
    --bio-green: #43A047;
    --experimental-purple: #8E24AA;
    --text-dark: #212529;
    --bg-light: #F8F9FA;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--lab-white);
    color: var(--scientific-blue);
    line-height: 1.6;
}

/* Top Bar */
.top-bar {
    background: linear-gradient(135deg, var(--scientific-blue) 0%, var(--experimental-purple) 100%);
    color: var(--lab-white);
    font-weight: 500;
    font-size: 0.9rem;
}

.top-bar-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.top-bar-text i {
    font-size: 1.1rem;
}

/* Header */
.header {
    background-color: var(--lab-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--scientific-blue) !important;
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 50px;
    height: 50px;
}

.logo-text {
    color: var(--scientific-blue);
}

.nav-link {
    color: var(--scientific-blue) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--bio-green) !important;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(21, 101, 192, 0.05) 0%, rgba(142, 36, 170, 0.05) 100%);
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--scientific-blue);
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--bio-green);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-top: 8px;
    opacity: 0.8;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.dna-animation svg {
    width: 100%;
    max-width: 400px;
    height: auto;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Configurator Section */
.configurator-section {
    padding: 80px 0;
    background-color: var(--lab-white);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--scientific-blue);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-dark);
    opacity: 0.8;
}

.configurator-panel {
    background-color: var(--bg-light);
    border-radius: 12px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.configurator-panel:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.panel-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--scientific-blue);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--bio-green);
}

.equipment-item {
    background-color: var(--lab-white);
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.equipment-item:hover {
    border-color: var(--bio-green);
    transform: translateX(5px);
}

.equipment-item.selected {
    border-color: var(--scientific-blue);
    background-color: rgba(21, 101, 192, 0.05);
}

.equipment-item h4 {
    font-size: 1.1rem;
    color: var(--scientific-blue);
    margin-bottom: 8px;
}

.equipment-item p {
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    opacity: 0.8;
}

.equipment-item .price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--bio-green);
}

.config-option {
    margin-bottom: 16px;
}

.config-option label {
    display: block;
    font-weight: 500;
    color: var(--scientific-blue);
    margin-bottom: 8px;
}

.config-option select,
.config-option input {
    width: 100%;
    padding: 10px;
    border: 2px solid #E0E0E0;
    border-radius: 6px;
    font-size: 1rem;
    color: var(--text-dark);
    transition: border-color 0.3s ease;
}

.config-option select:focus,
.config-option input:focus {
    outline: none;
    border-color: var(--bio-green);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #E0E0E0;
    font-size: 1.1rem;
}

.summary-item:last-child {
    border-bottom: none;
    font-weight: 600;
    font-size: 1.3rem;
    color: var(--scientific-blue);
}

.btn-primary {
    background-color: var(--scientific-blue);
    border: none;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--bio-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(67, 160, 71, 0.3);
}

/* Tutorials Section */
.tutorials-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(67, 160, 71, 0.05) 0%, rgba(142, 36, 170, 0.05) 100%);
}

.tutorial-card {
    background-color: var(--lab-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tutorial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.tutorial-card-header {
    background: linear-gradient(135deg, var(--scientific-blue) 0%, var(--experimental-purple) 100%);
    color: var(--lab-white);
    padding: 20px;
    text-align: center;
}

.tutorial-card-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.tutorial-card-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.tutorial-card-body p {
    color: var(--text-dark);
    margin-bottom: 20px;
    flex-grow: 1;
}

.tutorial-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #E0E0E0;
}

.tutorial-difficulty {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.difficulty-beginner {
    background-color: rgba(67, 160, 71, 0.2);
    color: var(--bio-green);
}

.difficulty-intermediate {
    background-color: rgba(21, 101, 192, 0.2);
    color: var(--scientific-blue);
}

.difficulty-advanced {
    background-color: rgba(142, 36, 170, 0.2);
    color: var(--experimental-purple);
}

.tutorial-duration {
    color: var(--text-dark);
    opacity: 0.7;
    font-size: 0.9rem;
}

.btn-outline-primary {
    border: 2px solid var(--scientific-blue);
    color: var(--scientific-blue);
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-outline-primary:hover {
    background-color: var(--scientific-blue);
    color: var(--lab-white);
}

/* Footer */
.footer {
    background-color: var(--scientific-blue);
    color: var(--lab-white);
}

.footer-text {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.9;
}

.footer-link {
    color: var(--bio-green);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--bio-green);
    text-underline-offset: 3px;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--lab-white);
    background-color: var(--bio-green);
    padding: 2px 6px;
    border-radius: 4px;
    text-decoration: none;
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .section-title {
        font-size: 2rem;
    }

    .configurator-panel {
        margin-bottom: 30px;
    }
}

