:root {
    --bg-dark: #f0f4f8; /* Changed to lighter background for brand colors to pop */
    --bg-dark-secondary: #ffffff;
    --bg-light: #ffffff;
    --bg-light-secondary: #e6f0fa;
    
    --primary: #003180;
    --primary-hover: #00225d;
    --accent: #00A5E2;
    --success: #10b981;
    
    --text-dark: #001f52;
    --text-dark-muted: #3a577f;
    --text-light: #001f52;
    --text-light-muted: #475569;

    --font-sans: 'Inter', sans-serif;
    --font-display: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-display);
    line-height: 1.2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.justify-center { justify-content: center; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    box-shadow: 0 4px 15px rgba(78, 70, 229, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(78, 70, 229, 0.6);
}

.btn-secondary {
    background: rgba(0, 49, 128, 0.1); /* Primary color low opacity */
    color: var(--primary);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 49, 128, 0.2);
}

.btn-secondary:hover {
    background: rgba(0, 49, 128, 0.2);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--text-light);
    color: var(--text-light);
}

.btn-outline:hover {
    background: var(--text-light);
    color: var(--bg-light);
}

.btn.lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    z-index: 100;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled .logo, .navbar.scrolled .nav-links a {
    color: var(--text-dark);
}

.navbar.scrolled .btn-outline {
    border-color: var(--text-dark);
    color: var(--text-dark);
}

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--accent);
}

/* Sections */
section, header {
    padding: 6rem 0;
    position: relative;
}

.section-dark {
    background-color: var(--bg-dark);
    color: var(--text-dark);
}

.section-mid {
    background-color: var(--bg-dark-secondary);
    color: var(--text-dark);
}

.section-light {
    background-color: var(--bg-light);
    color: var(--text-light);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title span {
    color: var(--primary);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 8rem; /* Account for navbar */
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
}

.badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero .title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .subtitle {
    font-size: 1.25rem;
    color: var(--text-dark-muted);
    margin-bottom: 2rem;
    max-width: 90%;
}

.support-text {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Mockup Card (Hero Image substitute) */
.hero-image {
    flex: 1;
    perspective: 1000px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    padding: 2rem;
    transform: rotateY(-10deg) rotateX(10deg);
    transition: transform 0.5s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.glass-card:hover {
    transform: rotateY(0) rotateX(0);
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.circles {
    display: flex;
    gap: 0.5rem;
}

.circles span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff5f56;
}
.circles span:nth-child(2) { background: #ffbd2e; }
.circles span:nth-child(3) { background: #27c93f; }

.mockup-title {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-dark-muted);
}

.progress-ring {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-display);
    color: var(--accent);
    margin: 1rem 0;
}

.bar-chart {
    display: flex;
    gap: 1rem;
    height: 100px;
    align-items: flex-end;
    margin-top: 2rem;
}

.bar {
    flex: 1;
    background: linear-gradient(to top, var(--primary), var(--accent));
    border-radius: 4px 4px 0 0;
    opacity: 0.8;
}

/* Background Gradients */
.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

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

.shape-1 {
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: var(--primary);
}

.shape-2 {
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: var(--accent);
}

/* Problem Section */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.problem-card {
    background: var(--bg-light-secondary);
    padding: 2rem;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

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

.problem-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.alert-box {
    margin-top: 3rem;
    padding: 1.5rem;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border-radius: 12px;
    border: 1px solid rgba(239, 68, 68, 0.2);
    display: inline-block;
    font-size: 1.125rem;
}

/* Flex rows */
.flex-row {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
}

.col-half {
    flex: 1;
    min-width: 300px;
}

/* Solution Path */
.solution .lead {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 1rem;
}

.highlight-box {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(90deg, rgba(78, 70, 229, 0.1), transparent);
    border-left: 4px solid var(--primary);
    border-radius: 0 8px 8px 0;
}

.path-graphic {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
}

.path-graphic::before {
    content: '';
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 24px;
    width: 2px;
    background: rgba(255,255,255,0.1);
    z-index: 1;
}

.path-step {
    padding: 1rem 1rem 1rem 4rem;
    background: rgba(255,255,255,0.02);
    border-radius: 12px;
    position: relative;
    z-index: 2;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.05);
}

.path-step::before {
    content: '';
    position: absolute;
    left: 17px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 2px solid rgba(255,255,255,0.2);
    transition: all 0.3s;
}

.path-step.active::before {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 10px var(--accent);
}

.path-step.highlight {
    background: rgba(78, 70, 229, 0.1);
    border-color: var(--primary);
    color: white;
}
.path-step.highlight::before {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary);
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s;
    border: 1px solid rgba(0,0,0,0.02);
}

.feature-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 1rem;
    background: var(--bg-light-secondary);
    border-radius: 16px;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card ul {
    list-style: none;
    padding: 0;
}

.feature-card li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-light-muted);
}

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

/* Modalities */
.modality-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.modality-card {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    padding: 3rem;
    border-radius: 24px;
    text-align: left;
    position: relative;
}

.bg-glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
}

.primary-border {
    border: 1px solid var(--primary);
    background: rgba(78, 70, 229, 0.05);
}

.absolute-badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background: var(--primary);
    color: white;
    border: none;
    box-shadow: 0 4px 10px rgba(78, 70, 229, 0.5);
}

.modality-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.modality-header .icon {
    font-size: 2.5rem;
}

.modality-header h3 {
    font-size: 1.75rem;
}

.modality-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 50%;
    background: radial-gradient(circle, rgba(78,70,229,0.15) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

/* Programs */
.program-grid {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.program-card {
    flex: 1;
    min-width: 250px;
    background: var(--bg-light-secondary);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.program-img {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.bg-cyan { background: linear-gradient(135deg, #a5f3fc, #22d3ee); }
.bg-purple { background: linear-gradient(135deg, #e9d5ff, #a855f7); }
.bg-orange { background: linear-gradient(135deg, #fed7aa, #f97316); }

.program-content {
    padding: 2rem;
}

.program-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Differentiator */
.diff-card {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 4rem;
    border-radius: 24px;
    align-items: center;
}

.diff-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.diff-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.125rem;
    background: rgba(255,255,255,0.03);
    padding: 1rem 1.5rem;
    border-radius: 12px;
}

.check {
    color: var(--success);
    font-weight: bold;
}

/* Result */
.result-tags {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.result-tag {
    background: var(--bg-light-secondary);
    padding: 1.25rem 2rem;
    border-radius: 9999px;
    font-size: 1.25rem;
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Process Timeline */
.timeline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 800px;
    margin: 3rem auto 0;
    position: relative;
    padding: 0 2rem;
}

.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 2;
    width: 120px;
}

.timeline-step .num {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    font-family: var(--font-display);
    box-shadow: 0 0 20px rgba(78, 70, 229, 0.4);
}

.timeline-step p {
    font-weight: 500;
}

.timeline-line {
    flex: 1;
    height: 2px;
    background: rgba(255,255,255,0.1);
    position: relative;
    top: -20px;
}

/* Final CTA */
.cta-section {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section .huge {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.cta-lead {
    font-size: 1.5rem;
    color: var(--text-dark-muted);
}

.shape-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: var(--primary);
    opacity: 0.2;
}

/* Footer */
.footer {
    background: #050508;
    color: var(--text-dark-muted);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-col p {
    margin-bottom: 0.75rem;
}

.brand .logo {
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-links a {
    color: var(--text-dark-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.social-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    padding: 2rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero {
        padding-top: 6rem;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero .title {
        font-size: 2.5rem;
    }
    
    .support-text {
        align-items: center;
    }
    
    .cta-group {
        justify-content: center;
    }
    
    .diff-card {
        padding: 2rem;
    }
    
    .timeline {
        flex-direction: column;
        gap: 2rem;
    }
    
    .timeline-line {
        width: 2px;
        height: 40px;
        top: 0;
    }
    
    .cta-section .huge {
        font-size: 2.5rem;
    }
}
