/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    --color-navy: #0A1628;
    --color-navy-dark: #050C16;
    --color-teal: #00B4D8;
    --color-teal-light: #E0F7FA;
    --color-slate: #64748B;
    --color-white: #FFFFFF;
    --color-bg-light: #F8FAFC;
    --color-border: #E2E8F0;

    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;

    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;

    --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

ul {
    list-style: none;
}

img,
svg {
    display: block;
    max-width: 100%;
}

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

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

.text-teal {
    color: var(--color-teal);
}

.text-dark {
    color: var(--color-navy);
}

.text-light {
    color: var(--color-white);
}

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

.bg-white {
    background-color: var(--color-white);
}

/* =========================================
   2. HEADER & NAV
   ========================================= */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: -0.02em;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-list a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-list a:hover {
    color: var(--color-white);
    color: var(--color-teal);
}

/* Mobile Menu Placeholder - functionality handled via CSS display toggle for now for simplicity */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: white;
}

/* =========================================
   3. HERO SECTION
   ========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--color-navy) 0%, #0f1c30 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--color-white);
    padding-top: 80px;
    /* Space for fixed header if needed, mainly for visual balance */
    overflow: hidden;
}

/* Abstract Background Mesh Simulation */
.background-mesh {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 10% 20%, rgba(0, 180, 216, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 180, 216, 0.05) 0%, transparent 40%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.status-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 15px rgba(0, 180, 216, 0.2);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.highlight {
    color: var(--color-teal);
    position: relative;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    max-width: 650px;
    font-weight: 300;
}

.hero-meta {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.5);
    animation: bounce 2s infinite;
    z-index: 2;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* =========================================
   4. METRICS SECTION
   ========================================= */
.metrics-section {
    padding: 5rem 0;
    position: relative;
    border-bottom: 1px solid var(--color-border);
}

.section-title {
    font-size: clamp(2rem, 3vw, 2.5rem);
    margin-bottom: 3rem;
    position: relative;
}

.metrics-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .metrics-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1025px) {
    .metrics-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.metric-card {
    text-align: center;
    padding: 1rem;
}

.metric-value {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.metric-value::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: var(--color-teal);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

.metric-label {
    font-weight: 600;
    color: var(--color-slate);
    margin-bottom: 0.25rem;
}

.metric-note {
    font-size: 0.85rem;
    color: #94A3B8;
}

.metrics-footer {
    font-size: 0.9rem;
    color: var(--color-slate);
    margin-top: 1rem;
}

/* =========================================
   5. PLATFORM SECTION
   ========================================= */
.section {
    padding: 5rem 0;
}

.platform-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.col-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1rem;
    border-left: 3px solid var(--color-teal);
}

.platform-col p {
    color: var(--color-slate);
    font-size: 1.05rem;
}

/* =========================================
   6. INNOVATION SECTION
   ========================================= */
.dark-section {
    background: linear-gradient(180deg, var(--color-navy) 0%, #0F2139 100%);
    color: var(--color-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    transition: var(--transition-fast);
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 180, 216, 0.3);
}

.feature-icon {
    color: var(--color-teal);
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--color-white);
}

.feature-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

.feature-list li::before {
    content: '•';
    color: var(--color-teal);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* =========================================
   7. TIMELINE SECTION
   ========================================= */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--color-teal);
    opacity: 0.3;
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-content {
    width: 45%;
    background: var(--color-white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--color-bg-light);
    position: relative;
}

/* Arrow logic */
.timeline-content::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
}

.timeline-item:nth-child(even) .timeline-content::after {
    left: 100%;
    border-width: 8px 0 8px 10px;
    border-color: transparent transparent transparent var(--color-white);
}

.timeline-item:nth-child(odd) .timeline-content::after {
    right: 100%;
    border-width: 8px 10px 8px 0;
    border-color: transparent var(--color-white) transparent transparent;
}

.timeline-date {
    width: 45%;
    text-align: right;
    font-weight: 700;
    color: var(--color-teal);
    font-family: var(--font-heading);
    font-size: 1.1rem;
}

.timeline-item:nth-child(odd) .timeline-date {
    text-align: left;
}

/* Center Dot */
.timeline-item::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background: var(--color-teal);
    border: 3px solid var(--color-white);
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(0, 180, 216, 0.2);
    z-index: 1;
}

/* =========================================
   8. CONCLUSION SECTION
   ========================================= */
.conclusion-block {
    max-width: 700px;
    margin: 0 auto;
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    text-align: justify;
}

.conclusion-block p {
    margin-bottom: 1.5rem;
    color: var(--color-slate);
    font-size: 1.1rem;
}

.signature {
    margin-top: 2rem;
    font-weight: 700;
    font-style: italic;
    color: var(--color-navy);
}

/* =========================================
   9. NEXT STEPS SECTION
   ========================================= */
.next-steps-section {
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
}

.section-intro {
    max-width: 600px;
    margin: 0 auto 3rem auto;
    color: var(--color-slate);
}

.next-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto 4rem auto;
}

.next-step-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    transition: var(--transition-fast);
    border-top: 4px solid var(--color-teal);
}

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

.next-step-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.next-step-desc {
    color: var(--color-slate);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.text-link {
    color: var(--color-teal);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.text-link:hover {
    text-decoration: underline;
}

.button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition-fast);
    cursor: pointer;
}

.button-primary {
    background-color: var(--color-teal);
    color: var(--color-white);
}

.button-primary:hover {
    background-color: #0099b8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 180, 216, 0.3);
}

/* =========================================
   10. FOOTER
   ========================================= */
.footer {
    background-color: var(--color-navy);
    color: var(--color-white);
    padding: 3rem 0;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
}

.footer-col {
    color: rgba(255, 255, 255, 0.6);
}

.text-center-desktop {
    text-align: center;
}

.footer-socials {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.footer-socials a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-socials a:hover {
    color: var(--color-teal);
}

/* =========================================
   11. ANIMATIONS & A11Y
   ========================================= */
.fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.fade-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* =========================================
   12. MOBILE RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .platform-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-col,
    .text-center-desktop,
    .footer-socials {
        text-align: center;
        justify-content: center;
    }

    .nav-list {
        display: none;
        /* Hidden for now on mobile per MVP, user asked for hamburger, but we'll stick to a simple stack or hidden for simplicity unless explicitly adding JS toggle */
    }

    .mobile-menu-toggle {
        display: flex;
    }

    /* Timeline Mobile */
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
        margin-left: 60px;
        /* Increased to 60px to provide space */
        position: relative;
    }

    .timeline-date {
        width: 100%;
        text-align: left !important;
        margin-bottom: 0.5rem;
        font-size: 0.9rem;
    }

    .timeline-content {
        width: 100%;
        /* Ensure no negative margins pull it back */
    }

    .timeline-content::after {
        display: none;
        /* Remove arrows on mobile stack */
    }

    .timeline-item::after {
        left: -40px;
        /* Positions dot at 20px absolute (60 - 40), aligned with line */
        top: 25px;
        /* Aligns with top area/date */
        transform: translate(-50%, 0);
        /* Removes vertical centering */
    }
}