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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #ffffff;
    font-weight: 400;
    scroll-behavior: smooth;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

/* Loading Animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #f3f4f6;
    border-top: 3px solid #2563eb;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid #f0f0f0;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 500;
    color: #1a1a1a;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    color: #666;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    position: relative;
}

.nav-links a:hover {
    color: #2563eb;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: width 0.2s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #1a1a1a;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 8rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #1a1a1a;
    letter-spacing: -0.03em;
    opacity: 0;
    animation: fadeInUp 1s ease 0.2s forwards;
}

.hero-content .accent {
    color: #2563eb;
    font-weight: 400;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 2rem;
    line-height: 1.4;
    opacity: 0;
    animation: fadeInUp 1s ease 0.4s forwards;
}

.hero-content p {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2rem;
    max-width: 500px;
    line-height: 1.7;
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    opacity: 0;
    animation: fadeInUp 1s ease 0.8s forwards;
}

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

.btn-primary {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    padding: 1rem 2rem;
    color: #666;
    text-decoration: none;
    font-weight: 500;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: white;
}

.btn-secondary:hover {
    border-color: #2563eb;
    color: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero-visual {
    background: rgba(248, 250, 252, 0.8);
    border-radius: 16px;
    padding: 4rem 3rem;
    text-align: center;
    border: 1px solid rgba(240, 240, 240, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    opacity: 0;
    animation: fadeInUp 1s ease 1s forwards;
}

.data-visualization {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.data-point {
    text-align: center;
    padding: 1rem;
    border-radius: 12px;
    background: white;
    transition: transform 0.3s ease;
}

.data-point:hover {
    transform: translateY(-5px);
}

.data-point .number {
    font-size: 2.5rem;
    font-weight: 600;
    color: #2563eb;
    display: block;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.data-point .label {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
    font-weight: 500;
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

/* Enhanced animations for other sections */
.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Validation Section */
.validation {
    padding: 8rem 0;
    background: white;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 6rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 300;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.validation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    margin-bottom: 6rem;
}

.validation-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.metric-card {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #1d4ed8);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.metric-card:hover::before {
    transform: scaleX(1);
}

.metric-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.metric-number {
    font-size: 2.5rem;
    font-weight: 600;
    color: #2563eb;
    display: block;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-label {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
}

.accuracy-showcase {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    color: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
    position: relative;
    overflow: hidden;
}

.accuracy-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.disease-accuracy {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.disease-accuracy:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.disease-name {
    font-weight: 500;
}

.accuracy-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.bar-fill {
    height: 8px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    border-radius: 4px;
    flex: 1;
    position: relative;
    overflow: hidden;
}

.accuracy-percent {
    font-weight: 600;
    min-width: 50px;
}

/* Statistical Validation Styles */
.statistical-validation {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.metric-table {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid #e2e8f0;
}

.metric-row {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    gap: 0.75rem;
}

.metric-row:last-child {
    margin-bottom: 0;
}

.metric-label {
    font-size: 0.8rem;
    color: #64748b;
    min-width: 70px;
    font-weight: 500;
}

.metric-bar {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #e2e8f0;
    border-radius: 4px;
    height: 18px;
    position: relative;
    overflow: hidden;
}

.metric-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease;
}

.metric-value {
    position: absolute;
    right: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Problem-Solution Visual */
.problem-solution {
    padding: 8rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
}

.comparison-side {
    text-align: center;
}

.comparison-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.traditional {
    color: #dc2626;
}

.turing {
    color: #059669;
}

.stat-boxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.stat-box {
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.stat-box:hover::before {
    left: 100%;
}

.stat-box:hover {
    transform: translateY(-3px);
}

.traditional .stat-box {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border-color: #fecaca;
}

.traditional .stat-box:hover {
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.15);
}

.turing .stat-box {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border-color: #a7f3d0;
}

.turing .stat-box:hover {
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.15);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-description {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Enhanced Pipeline Section */
.pipeline {
    padding: 8rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    position: relative;
}

.pipeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.pipeline h2 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    text-align: center;
    color: white;
}

.pipeline .section-header p {
    color: white;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
    text-align: center;
}

.pipeline-table {
    background: rgba(15, 23, 42, 0.8);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 3rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(10px);
}

.pipeline-title-header {
    background: rgba(59, 130, 246, 0.15);
    padding: 1.5rem;
    text-align: center;
    border-bottom: 2px solid rgba(59, 130, 246, 0.3);
}

.pipeline-title-header h3 {
    color: #60a5fa;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
}

.pipeline-title-header p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0.5rem 0 0 0;
    font-size: 0.9rem;
}

.pipeline-row {
    display: grid;
    grid-template-columns: 280px 1fr 120px 100px 100px;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
    gap: 1rem;
}

.pipeline-row:hover {
    background: rgba(59, 130, 246, 0.08);
    transform: translateX(5px);
}

.indication-name {
    font-weight: 500;
    color: white;
}

.progress-bar-container {
    position: relative;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #10b981 0%, #3b82f6 50%, #6366f1 100%);
    border-radius: 10px;
    transition: width 0.5s ease;
    position: relative;
}

.progress-25 { width: 25%; }
.progress-40 { width: 40%; }
.progress-60 { width: 60%; }
.progress-75 { width: 75%; }
.progress-90 { width: 90%; }

.status-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.status-badge:hover {
    transform: scale(1.05);
}

.status-approved {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-pending {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.status-invitro {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.status-available {
    background: rgba(99, 102, 241, 0.2);
    color: #6366f1;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.column-header {
    font-size: 0.8rem;
    font-weight: 600;
    color: #60a5fa;
    text-align: center;
    padding: 1rem 0.5rem;
    border-bottom: 2px solid rgba(59, 130, 246, 0.3);
    background: rgba(59, 130, 246, 0.05);
}

.column-header.progress-col {
    text-align: left;
    padding-left: 1.5rem;
}

.category-header {
    background: rgba(59, 130, 246, 0.1);
    font-weight: 600;
    color: #60a5fa;
    grid-column: 1 / -1;
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
}

.pipeline-summary {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    margin-top: 3rem;
    backdrop-filter: blur(10px);
}

.pipeline-summary h4 {
    color: #10b981;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.pipeline-summary p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    color: #999;
    padding: 4rem 0 2rem;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.footer-brand p {
    line-height: 1.7;
}

.footer-section h4 {
    color: white;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-section a {
    color: #999;
    text-decoration: none;
    display: block;
    margin-bottom: 0.8rem;
    transition: all 0.2s ease;
}

.footer-section a:hover {
    color: #2563eb;
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid, .validation-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .pipeline-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        text-align: left;
    }

    .pipeline-row > div {
        padding: 0.5rem 0;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .section-header h2 {
        font-size: 2.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .validation-metrics {
        grid-template-columns: 1fr;
    }

    .stat-boxes {
        grid-template-columns: 1fr;
    }

    .data-visualization {
        grid-template-columns: 1fr;
    }

    .scroll-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}

/* Custom cursor for interactive elements */
.btn-primary, .btn-secondary, .nav-links a, .logo, .scroll-to-top {
    cursor: pointer;
}

/* Focus states for accessibility */
.btn-primary:focus,
.btn-secondary:focus,
.nav-links a:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Reduced motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
