:root {
    /* Color Palette - Premium Dark Mode & Bright Gold */
    --primary-color: #D4AF37;      /* Clean, Bright Gold */
    --primary-light: #F3E5AB;      /* Light Gold */
    --primary-dark: #AA8C2C;       /* Deeper Gold */
    --secondary-color: #161616;    /* Neutral Deep Charcoal for blocks */
    
    --bg-color: #121212;           /* Deep Dark Background */
    --bg-surface: #1E1E1E;         /* Dark Surface for cards */
    --text-main: #F7FAFC;          /* Light gray/white text */
    --text-muted: #A0AEC0;         /* Muted gray text */
    
    --border-color: #2D3748;
    --gradient-main: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    
    --primary-rgb: 212, 175, 55;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-main);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition-fast);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
    scroll-margin-top: 80px;
}

.bg-light {
    background-color: #1A1A1A; /* Slightly lighter than main bg */
}

.text-gradient {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--gradient-main);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(var(--primary-rgb), 0.39);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.4);
    color: white;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

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

.w-100 {
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition-normal);
    padding: 15px 0;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-img {
    height: 40px;
    width: auto;
    border-radius: 8px; /* Depending on the generated logo */
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.text-white {
    color: white !important;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a:not(.btn) {
    color: var(--text-main);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--gradient-main);
    transition: var(--transition-normal);
}

.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn).active::after {
    width: 100%;
}

.nav-links a:not(.btn):hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn .bar {
    height: 3px;
    width: 100%;
    background-color: var(--text-main);
    border-radius: 3px;
    transition: var(--transition-normal);
}

.mobile-menu-btn.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.mobile-menu-btn.active .bar:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.mobile-links a {
    font-size: 1.8rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary-color);
}

.mobile-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.shape-1 {
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background-color: rgba(212, 175, 55, 0.1); /* Gold */
}

.shape-2 {
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background-color: rgba(212, 175, 55, 0.05); /* Gold */
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(197, 160, 89, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
}

.hero-content p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero-image-wrapper {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.glass-card {
    background: rgba(30, 30, 30, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--shadow-glass);
    transition: transform 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.glass-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.glass-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.main-hero-card {
    position: relative;
    z-index: 2;
    transform: translateX(-30px);
}

.sub-hero-card {
    position: relative;
    z-index: 1;
    transform: translateX(30px);
    background: rgba(30, 30, 30, 0.85);
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.feature-list {
    list-style: none;
    margin-top: 32px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-weight: 500;
}

.feature-list svg {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
}

.about-image {
    position: relative;
}

.image-placeholder {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.blob {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--gradient-main);
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.2;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

/* Services Section */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-surface);
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 24px;
    background: var(--bg-light);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Contact Section */
.contact-wrapper {
    scroll-margin-top: 100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--bg-surface);
}

.contact-info {
    padding: 60px;
    background: var(--secondary-color);
    color: white;
}

.contact-info h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 16px;
}

.contact-info > p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.icon-box {
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.info-item h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.info-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.contact-form {
    padding: 60px;
}

.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-main);
    transition: var(--transition-fast);
    background-color: var(--bg-color);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.2);
    background-color: var(--bg-surface);
}

/* Footer */
footer {
    background-color: var(--secondary-color); /* Deep Navy */
    color: white;
    padding-top: 80px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: #A0AEC0;
    margin-top: 20px;
    max-width: 300px;
}

.footer-brand .nip {
    margin-top: 10px;
    font-size: 0.9rem;
}

.footer-links h4 {
    color: white;
    margin-bottom: 24px;
    font-size: 1.2rem;
}

.footer-links a {
    display: block;
    color: #A0AEC0;
    margin-bottom: 12px;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-bottom {
    background-color: #0A0A0A;
    padding: 24px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: #718096;
    font-size: 0.9rem;
}

/* Animations & Utilities */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards ease-out;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
.delay-5 {
    animation-delay: 1.2s;
}

/* Pathogen Detail Pages */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    padding: 10px 20px;
    background: var(--primary-color);
    color: white !important;
    text-decoration: none;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.2);
}

.back-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.3);
    background: var(--secondary-color);
}

.article-content h2 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-family: 'Outfit', sans-serif;
    color: var(--primary-color);
}

.article-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.article-content ul {
    margin-bottom: 25px;
    padding-left: 20px;
}

.article-content li {
    margin-bottom: 10px;
    position: relative;
    list-style: none;
    padding-left: 25px;
}

.article-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.article-content strong {
    color: var(--primary-color);
    font-weight: 600;
}

.article-content .bibliography {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 0.95rem;
}

/* Utilities */
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.p-5 { padding: 3rem; }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container,
    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .main-hero-card, .sub-hero-card {
        transform: none;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
}

/* Pricing Tables */
.pricing-tables {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.pricing-table {
    padding: 40px;
    background: var(--bg-surface);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.pricing-table h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--primary-light);
}

.pricing-list {
    list-style: none;
}

.pricing-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 1.05rem;
}

.pricing-list li:last-child {
    border-bottom: none;
}

.price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.15rem;
    white-space: nowrap;
}

.service-details {
    display: flex;
    flex-direction: column;
}

.duration {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.pricing-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-style: italic;
}

.mt-3 { margin-top: 1rem; }
.mt-5 { margin-top: 3rem; }
.text-center { text-align: center; }
.disclaimer { font-size: 0.9rem; color: var(--text-muted); }

/* Page Header */
.page-header {
    padding: 140px 0 60px;
    background: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.page-header h1 {
    color: var(--primary-color);
    font-size: 3rem;
    margin-bottom: 16px;
}

.page-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Accordion */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.accordion-item {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-surface);
}

.accordion-header {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    transition: var(--transition-fast);
}

.accordion-header:hover {
    background: var(--bg-color);
    color: var(--primary-color);
}

.accordion-icon {
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-item.active .accordion-header {
    color: var(--primary-color);
    border-bottom: 1px solid var(--border-color);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-body {
    padding: 24px;
    color: var(--text-muted);
    line-height: 1.7;
}

.accordion-body ul {
    margin-left: 20px;
    margin-top: 10px;
}

/* Team Section */
.team-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.team-card {
    background: var(--bg-surface);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    text-align: center;
    border: 1px solid var(--border-color);
    width: 300px;
    transition: var(--transition-normal);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.team-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid var(--bg-light);
}

.team-role {
    color: var(--primary-color);
    font-weight: 500;
    margin-top: 8px;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(30, 30, 30, 0.95);
    border: 1px solid var(--primary-color);
    border-radius: 16px;
    padding: 20px 30px;
    display: none; /* Controlled by JS */
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    z-index: 10000;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.cookie-banner.show {
    display: flex;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.cookie-text {
    color: var(--text-main);
    font-size: 0.9rem;
    line-height: 1.5;
    flex: 1;
}

.cookie-text a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-btns {
    display: flex;
    gap: 15px;
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        bottom: 10px;
        left: 10px;
        right: 10px;
        padding: 20px;
    }
}
