/* ════════════════════════════════════════════════════════════════
   BioNova — styles.css
   Light, futuristic biomedical website with neon accents
════════════════════════════════════════════════════════════════ */

/* ─── Custom Properties ─────────────────────────────────────── */
:root {
    --cyan: #06b6d4;
    --cyan-light: #22d3ee;
    --cyan-pale: #cffafe;
    --purple: #8b5cf6;
    --purple-light: #a78bfa;
    --purple-pale: #ede9fe;
    --teal: #14b8a6;
    --teal-light: #2dd4bf;
    --pink: #ec4899;
    --amber: #f59e0b;
    --green: #22c55e;
    --rose: #f43f5e;

    --bg: #ffffff;
    --bg-soft: #f8fafc;
    --bg-card: #ffffff;
    --border: #e2e8f0;
    --text: #0f172a;
    --text-muted: #64748b;
    --text-light: #94a3b8;

    --grad-hero: linear-gradient(135deg, #e0f7fa 0%, #ede9fe 50%, #e0f2fe 100%);
    --grad-brand: linear-gradient(135deg, var(--cyan), var(--purple));
    --grad-glow: linear-gradient(135deg, var(--cyan), var(--teal));

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, .06), 0 1px 2px rgba(0, 0, 0, .04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, .08), 0 2px 6px rgba(0, 0, 0, .04);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, .10), 0 4px 12px rgba(0, 0, 0, .06);
    --shadow-glow-cyan: 0 0 20px rgba(6, 182, 212, .35);
    --shadow-glow-purple: 0 0 20px rgba(139, 92, 246, .35);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;

    --font-sans: 'Inter', system-ui, sans-serif;
    --font-display: 'Space Grotesk', var(--font-sans);

    --transition: 0.3s cubic-bezier(.4, 0, .2, 1);
    --transition-slow: 0.6s cubic-bezier(.4, 0, .2, 1);
}

/* ─── Reset & Base ───────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

input,
textarea,
select,
button {
    font-family: inherit;
}

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

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

.section {
    padding: 96px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    padding: 5px 16px;
    border-radius: 999px;
    background: linear-gradient(to right, rgba(6, 182, 212, .1), rgba(139, 92, 246, .1));
    border: 1px solid rgba(6, 182, 212, .25);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 14px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ─── Scroll-reveal ──────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

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

/* ─── Navbar ──────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, .7);
    transition: box-shadow var(--transition), background var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 4px 24px rgba(0, 0, 0, .07);
    background: rgba(255, 255, 255, .95);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 68px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -.02em;
    background: var(--grad-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    gap: 6px;
    margin-left: auto;
}

.nav-links a {
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: .9rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color var(--transition), background var(--transition);
}

.nav-links a:hover {
    color: var(--cyan);
    background: rgba(6, 182, 212, .08);
}

.nav-cta {
    padding: 9px 22px;
    border-radius: var(--radius-sm);
    background: var(--grad-brand);
    color: #fff !important;
    font-size: .9rem;
    font-weight: 600;
    white-space: nowrap;
    transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
    box-shadow: 0 2px 12px rgba(6, 182, 212, .3);
}

.nav-cta:hover {
    opacity: .9;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(6, 182, 212, .45);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    margin-left: auto;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: var(--text);
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    padding: 12px 24px 20px;
    border-top: 1px solid var(--border);
    background: rgba(255, 255, 255, .97);
}

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

.mobile-menu a {
    padding: 12px 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    transition: color var(--transition);
}

.mobile-menu a:hover {
    color: var(--cyan);
}

/* ─── Hero ────────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    padding: 140px 24px 0;
    background: var(--grad-hero);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Background orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    animation: orbFloat 8s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    top: -120px;
    left: -100px;
    background: radial-gradient(circle, rgba(6, 182, 212, .18) 0%, transparent 70%);
    animation-delay: 0s;
}

.orb-2 {
    width: 600px;
    height: 600px;
    top: -60px;
    right: -180px;
    background: radial-gradient(circle, rgba(139, 92, 246, .15) 0%, transparent 70%);
    animation-delay: -3s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    bottom: 80px;
    left: 30%;
    background: radial-gradient(circle, rgba(20, 184, 166, .12) 0%, transparent 70%);
    animation-delay: -5s;
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-30px) scale(1.05);
    }
}

/* SVG decorations */
.float-svg {
    position: absolute;
    pointer-events: none;
    opacity: .55;
}

.float-top-right {
    top: 110px;
    right: 80px;
    animation: floatY 6s ease-in-out infinite;
}

.float-bottom-left {
    bottom: 80px;
    left: 60px;
    animation: floatY 8s ease-in-out infinite reverse;
}

@keyframes floatY {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-18px) rotate(6deg);
    }
}

/* Spinning rings on molecules */
.molecule-svg circle:nth-child(2) {
    animation: orbitSpin 6s linear infinite;
    transform-origin: 80px 80px;
}

/* Hero content */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
    animation: heroFadeIn 1s ease forwards;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .65);
    border: 1px solid rgba(6, 182, 212, .3);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--cyan);
    backdrop-filter: blur(8px);
    margin-bottom: 28px;
    box-shadow: 0 2px 12px rgba(6, 182, 212, .15);
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cyan);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(6, 182, 212, .5);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(6, 182, 212, 0);
    }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.03em;
    color: var(--text);
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.18rem);
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 580px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 52px;
}

/* ─── Buttons ─────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: var(--radius-md);
    font-size: .95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--grad-brand);
    color: #fff;
    box-shadow: 0 4px 20px rgba(6, 182, 212, .35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(6, 182, 212, .50), 0 0 0 3px rgba(6, 182, 212, .15);
}

.btn-secondary {
    background: rgba(255, 255, 255, .7);
    color: var(--text);
    border: 1.5px solid rgba(139, 92, 246, .3);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, .95);
    border-color: var(--purple);
    color: var(--purple);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(139, 92, 246, .2);
}

/* Hero stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, .55);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: var(--radius-lg);
    padding: 24px 48px;
    box-shadow: var(--shadow-md);
}

.stat {
    text-align: center;
}

.stat-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    background: var(--grad-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-unit {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--cyan);
}

.stat-label {
    display: block;
    font-size: .78rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.stat-divider {
    width: 1px;
    height: 44px;
    background: var(--border);
}

/* ─── Ticker ──────────────────────────────────────────────── */
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    margin-top: 56px;
    padding: 16px 0;
    background: rgba(255, 255, 255, .5);
    border-top: 1px solid rgba(6, 182, 212, .15);
    border-bottom: 1px solid rgba(6, 182, 212, .15);
    backdrop-filter: blur(8px);
}

.ticker {
    display: inline-flex;
    gap: 0;
    white-space: nowrap;
    animation: tickerScroll 30s linear infinite;
}

.ticker span {
    padding: 0 28px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: .04em;
    text-transform: uppercase;
}

.ticker-dot {
    color: var(--cyan) !important;
    padding: 0 4px !important;
    font-size: .55rem !important;
    align-self: center;
}

@keyframes tickerScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.ticker-wrap:hover .ticker {
    animation-play-state: paused;
}

/* ─── Basics Grid ─────────────────────────────────────────── */
.basics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.basics-card {
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    cursor: default;
}

.basics-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity var(--transition);
    pointer-events: none;
}

.basics-card[data-color="cyan"]::before {
    background: linear-gradient(135deg, rgba(6, 182, 212, .05), rgba(6, 182, 212, .0));
}

.basics-card[data-color="purple"]::before {
    background: linear-gradient(135deg, rgba(139, 92, 246, .05), rgba(139, 92, 246, .0));
}

.basics-card[data-color="teal"]::before {
    background: linear-gradient(135deg, rgba(20, 184, 166, .05), rgba(20, 184, 166, .0));
}

.basics-card[data-color="pink"]::before {
    background: linear-gradient(135deg, rgba(236, 72, 153, .05), rgba(236, 72, 153, .0));
}

.basics-card[data-color="amber"]::before {
    background: linear-gradient(135deg, rgba(245, 158, 11, .05), rgba(245, 158, 11, .0));
}

.basics-card[data-color="green"]::before {
    background: linear-gradient(135deg, rgba(34, 197, 94, .05), rgba(34, 197, 94, .0));
}

.basics-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: var(--shadow-lg);
}

.basics-card[data-color="cyan"]:hover {
    border-color: var(--cyan);
    box-shadow: 0 12px 40px rgba(6, 182, 212, .18), var(--shadow-glow-cyan);
}

.basics-card[data-color="purple"]:hover {
    border-color: var(--purple);
    box-shadow: 0 12px 40px rgba(139, 92, 246, .18), var(--shadow-glow-purple);
}

.basics-card[data-color="teal"]:hover {
    border-color: var(--teal);
    box-shadow: 0 12px 40px rgba(20, 184, 166, .18), 0 0 20px rgba(20, 184, 166, .3);
}

.basics-card[data-color="pink"]:hover {
    border-color: var(--pink);
    box-shadow: 0 12px 40px rgba(236, 72, 153, .18), 0 0 20px rgba(236, 72, 153, .3);
}

.basics-card[data-color="amber"]:hover {
    border-color: var(--amber);
    box-shadow: 0 12px 40px rgba(245, 158, 11, .18), 0 0 20px rgba(245, 158, 11, .3);
}

.basics-card[data-color="green"]:hover {
    border-color: var(--green);
    box-shadow: 0 12px 40px rgba(34, 197, 94, .18), 0 0 20px rgba(34, 197, 94, .3);
}

.basics-card:hover::before {
    opacity: 1;
}

.card-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--c, #06b6d4) 12%, white);
    margin-bottom: 20px;
    transition: transform var(--transition), box-shadow var(--transition);
}

.basics-card:hover .card-icon-wrap {
    transform: scale(1.1) rotate(-4deg);
    box-shadow: 0 4px 16px color-mix(in srgb, var(--c, #06b6d4) 30%, transparent);
}

.basics-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.basics-card p {
    font-size: .9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}

.card-tags li {
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    font-size: .72rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: .03em;
}

.card-link {
    font-size: .85rem;
    font-weight: 600;
    color: var(--cyan);
    transition: gap var(--transition), color var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.card-link:hover {
    color: var(--purple);
    gap: 8px;
}

/* ─── Innovations Section ─────────────────────────────────── */
.innovations-section {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.innovations-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 22px;
}

.inno-card {
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
    cursor: default;
}

.inno-card-bg {
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    opacity: .06;
    transition: opacity var(--transition), transform var(--transition);
}

.inno-featured {
    grid-column: span 7;
}

.inno-card:not(.inno-featured) {
    grid-column: span 5;
}

/* Responsive slot logic */
@media (max-width: 1024px) {
    .inno-featured {
        grid-column: span 12;
    }

    .inno-card:not(.inno-featured) {
        grid-column: span 6;
    }
}

@media (max-width: 640px) {

    .inno-card,
    .inno-card:not(.inno-featured) {
        grid-column: span 12;
    }
}

/* Inno colors */
.inno-card[data-color="cyan"] .inno-card-bg {
    background: var(--cyan);
}

.inno-card[data-color="purple"] .inno-card-bg {
    background: var(--purple);
}

.inno-card[data-color="teal"] .inno-card-bg {
    background: var(--teal);
}

.inno-card[data-color="rose"] .inno-card-bg {
    background: var(--rose);
}

.inno-card[data-color="amber"] .inno-card-bg {
    background: var(--amber);
}

.inno-card[data-color="green"] .inno-card-bg {
    background: var(--green);
}

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

.inno-card[data-color="cyan"]:hover {
    border-color: var(--cyan);
    box-shadow: 0 12px 40px rgba(6, 182, 212, .2);
}

.inno-card[data-color="purple"]:hover {
    border-color: var(--purple);
    box-shadow: 0 12px 40px rgba(139, 92, 246, .2);
}

.inno-card[data-color="teal"]:hover {
    border-color: var(--teal);
    box-shadow: 0 12px 40px rgba(20, 184, 166, .2);
}

.inno-card[data-color="rose"]:hover {
    border-color: var(--rose);
    box-shadow: 0 12px 40px rgba(244, 63, 94, .2);
}

.inno-card[data-color="amber"]:hover {
    border-color: var(--amber);
    box-shadow: 0 12px 40px rgba(245, 158, 11, .2);
}

.inno-card[data-color="green"]:hover {
    border-color: var(--green);
    box-shadow: 0 12px 40px rgba(34, 197, 94, .2);
}

.inno-card:hover .inno-card-bg {
    opacity: .12;
    transform: scale(1.3);
}

.inno-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.inno-card[data-color="cyan"] .inno-tag {
    background: rgba(6, 182, 212, .1);
    color: var(--cyan);
}

.inno-card[data-color="purple"] .inno-tag {
    background: rgba(139, 92, 246, .1);
    color: var(--purple);
}

.inno-card[data-color="teal"] .inno-tag {
    background: rgba(20, 184, 166, .1);
    color: var(--teal);
}

.inno-card[data-color="rose"] .inno-tag {
    background: rgba(244, 63, 94, .1);
    color: var(--rose);
}

.inno-card[data-color="amber"] .inno-tag {
    background: rgba(245, 158, 11, .1);
    color: var(--amber);
}

.inno-card[data-color="green"] .inno-tag {
    background: rgba(34, 197, 94, .1);
    color: var(--green);
}

.inno-icon {
    margin-bottom: 16px;
}

.inno-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.inno-card p {
    font-size: .9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.inno-featured h3 {
    font-size: 1.4rem;
}

.inno-featured p {
    font-size: .95rem;
}

.inno-stats {
    display: flex;
    gap: 20px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.inno-stats span {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    background: rgba(6, 182, 212, .08);
    border: 1px solid rgba(6, 182, 212, .2);
    font-size: .82rem;
    font-weight: 600;
    color: var(--text-muted);
}

.inno-stats strong {
    color: var(--cyan);
}

/* ─── Timeline ────────────────────────────────────────────── */
.timeline-section {
    padding: 80px 0;
    background: var(--bg);
    overflow: hidden;
}

.timeline {
    display: flex;
    gap: 0;
    position: relative;
    overflow-x: auto;
    padding-bottom: 12px;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 38px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, var(--cyan), var(--purple));
    opacity: .3;
    z-index: 0;
}

.tl-item {
    flex: 1;
    min-width: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.tl-year {
    font-family: var(--font-display);
    font-size: .8rem;
    font-weight: 700;
    color: var(--cyan);
    letter-spacing: .04em;
}

.tl-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg);
    border: 2.5px solid var(--cyan);
    box-shadow: 0 0 0 4px rgba(6, 182, 212, .12);
    transition: all var(--transition);
}

.tl-dot-active {
    background: var(--cyan);
    box-shadow: 0 0 0 6px rgba(6, 182, 212, .2), var(--shadow-glow-cyan);
}

.tl-item:hover .tl-dot {
    transform: scale(1.3);
    box-shadow: 0 0 0 6px rgba(6, 182, 212, .2), var(--shadow-glow-cyan);
}

.tl-content {
    text-align: center;
    padding: 0 8px;
}

.tl-content h4 {
    font-size: .88rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.tl-content p {
    font-size: .75rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ─── Resources Grid ─────────────────────────────────────── */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 22px;
}

.resource-card {
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all var(--transition);
}

.resource-card:hover {
    transform: translateY(-4px);
    border-color: var(--purple);
    box-shadow: 0 8px 32px rgba(139, 92, 246, .15), var(--shadow-glow-purple);
}

.resource-type {
    font-size: .8rem;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: .04em;
}

.resource-card h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
}

.resource-card p {
    font-size: .87rem;
    color: var(--text-muted);
    line-height: 1.65;
    flex: 1;
}

.resource-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.res-tag {
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    font-size: .7rem;
    font-weight: 600;
    color: var(--text-muted);
}

.res-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 11px 0;
    border-radius: var(--radius-sm);
    border: 1.5px solid rgba(139, 92, 246, .3);
    color: var(--purple);
    font-size: .85rem;
    font-weight: 600;
    transition: all var(--transition);
    margin-top: 4px;
}

.res-btn:hover {
    background: var(--grad-brand);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(6, 182, 212, .3);
    transform: translateY(-1px);
}

/* ─── Contact Section ─────────────────────────────────────── */
.contact-section {
    padding: 96px 0;
    background: linear-gradient(135deg, #f0fdfe 0%, #faf5ff 50%, #f0fdfe 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 72px;
    align-items: start;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

.contact-info .section-tag {
    margin-bottom: 16px;
}

.contact-info h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    line-height: 1.2;
}

.contact-info p {
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 32px;
    font-size: .95rem;
}

.contact-perks {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 36px;
}

.contact-perks li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .9rem;
    font-weight: 500;
    color: var(--text);
}

.social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-btn {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .7);
    border: 1.5px solid var(--border);
    color: var(--text-muted);
    transition: all var(--transition);
    backdrop-filter: blur(6px);
}

.social-btn:hover {
    background: var(--grad-brand);
    color: #fff;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(6, 182, 212, .3);
}

/* Form */
.contact-form-wrap {
    background: rgba(255, 255, 255, .7);
    backdrop-filter: blur(16px);
    border: 1.5px solid rgba(255, 255, 255, .8);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 520px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: .82rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: .01em;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, .9);
    font-size: .9rem;
    color: var(--text);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
    width: 100%;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, .12), var(--shadow-glow-cyan);
    background: #fff;
}

.form-group select {
    cursor: pointer;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    border-radius: var(--radius-md);
    background: var(--grad-brand);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 20px rgba(6, 182, 212, .35);
    transition: all var(--transition);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, .15), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(6, 182, 212, .5), 0 0 0 3px rgba(6, 182, 212, .2);
}

.btn-submit:hover::before {
    opacity: 1;
}

.btn-submit:active {
    transform: translateY(0);
}

.spinner {
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.form-note {
    text-align: center;
    font-size: .78rem;
    color: var(--text-light);
    margin-top: -8px;
}

.form-success {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: center;
    padding: 40px 24px;
    min-height: 280px;
}

.form-success[hidden] {
    display: none !important;
}

.form-success h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
}

.form-success p {
    font-size: .95rem;
    color: var(--text-muted);
}

/* ─── Footer ──────────────────────────────────────────────── */
.footer {
    background: var(--text);
    color: rgba(255, 255, 255, .8);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 520px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-brand .footer-logo {
    margin-bottom: 16px;
    background: var(--grad-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    font-size: .88rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, .55);
    max-width: 280px;
}

.footer-links h5 {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .4);
    margin-bottom: 16px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: .88rem;
    color: rgba(255, 255, 255, .65);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--cyan-light);
}

.footer-bottom {
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: space-between;
    font-size: .8rem;
    color: rgba(255, 255, 255, .3);
}

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {

    .nav-links,
    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding-top: 100px;
    }

    .float-top-right {
        top: 70px;
        right: 10px;
        opacity: .3;
    }

    .float-bottom-left {
        display: none;
    }

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

    .stat-divider {
        width: 80px;
        height: 1px;
    }

    .basics-grid {
        grid-template-columns: 1fr;
    }

    .resources-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 64px 0;
    }

    .contact-form-wrap {
        padding: 28px 20px;
    }

    .timeline::before {
        display: none;
    }

    .timeline {
        flex-direction: column;
        gap: 0;
        overflow: visible;
    }

    .tl-item {
        flex-direction: row;
        align-items: flex-start;
        gap: 16px;
        padding: 16px 0;
        border-bottom: 1px solid var(--border);
    }

    .tl-dot {
        flex-shrink: 0;
        margin-top: 4px;
    }

    .tl-content {
        text-align: left;
    }

    .tl-year {
        min-width: 44px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ─── Stagger delays for reveal ──────────────────────────── */
.basics-grid .basics-card:nth-child(1) {
    transition-delay: .05s;
}

.basics-grid .basics-card:nth-child(2) {
    transition-delay: .1s;
}

.basics-grid .basics-card:nth-child(3) {
    transition-delay: .15s;
}

.basics-grid .basics-card:nth-child(4) {
    transition-delay: .2s;
}

.basics-grid .basics-card:nth-child(5) {
    transition-delay: .25s;
}

.basics-grid .basics-card:nth-child(6) {
    transition-delay: .3s;
}

.innovations-grid .inno-card:nth-child(1) {
    transition-delay: .05s;
}

.innovations-grid .inno-card:nth-child(2) {
    transition-delay: .1s;
}

.innovations-grid .inno-card:nth-child(3) {
    transition-delay: .15s;
}

.innovations-grid .inno-card:nth-child(4) {
    transition-delay: .2s;
}

.innovations-grid .inno-card:nth-child(5) {
    transition-delay: .25s;
}

.innovations-grid .inno-card:nth-child(6) {
    transition-delay: .3s;
}

.resources-grid .resource-card:nth-child(1) {
    transition-delay: .05s;
}

.resources-grid .resource-card:nth-child(2) {
    transition-delay: .12s;
}

.resources-grid .resource-card:nth-child(3) {
    transition-delay: .19s;
}

.resources-grid .resource-card:nth-child(4) {
    transition-delay: .26s;
}

.resources-grid .resource-card:nth-child(5) {
    transition-delay: .33s;
}

.resources-grid .resource-card:nth-child(6) {
    transition-delay: .40s;
}

.timeline .tl-item:nth-child(1) {
    transition-delay: .05s;
}

.timeline .tl-item:nth-child(2) {
    transition-delay: .12s;
}

.timeline .tl-item:nth-child(3) {
    transition-delay: .19s;
}

.timeline .tl-item:nth-child(4) {
    transition-delay: .26s;
}

.timeline .tl-item:nth-child(5) {
    transition-delay: .33s;
}

.timeline .tl-item:nth-child(6) {
    transition-delay: .40s;
}

/* ─── Focus accessibility ─────────────────────────────────── */
:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ─── Custom scrollbar ───────────────────────────────────── */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-soft);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-light);
}

/* ─── Selection ──────────────────────────────────────────── */
::selection {
    background: rgba(6, 182, 212, .2);
    color: var(--text);
}