/* ═══════════════════════════════════════════════════════════
   MEDIALAB — IMMERSIVE THREE.JS REDESIGN (LIGHT THEME)
   Color Palette: Teal (#0D8B8B) + White (#FFFFFF)
   ═══════════════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ────────────────────────────────────────── */
:root {
    --bg: #ffffff;
    --bg-alt: #fcfdfd;
    --bg-card: rgba(255, 255, 255, 0.7);
    --bg-card-hover: rgba(255, 255, 255, 0.95);
    --glass: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(13, 139, 139, 0.15);
    --glass-hover: rgba(13, 139, 139, 0.25);

    --teal: #0D8B8B;
    --teal-light: #10A3A3;
    --teal-glow: rgba(13, 139, 139, 0.15);
    --teal-faint: rgba(13, 139, 139, 0.04);

    --text: #333333;
    --text-light: #666666;
    --text-faint: #999999;
    --border: #e6eeee;

    --radius: 16px;
    --radius-sm: 10px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Outfit', var(--font);
}

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

html {
    scroll-behavior: smooth;
}

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

::selection {
    background: var(--teal);
    color: #ffffff;
}

/* ── CUSTOM CURSOR ────────────────────────────────────────── */
.cursor-glow {
    position: fixed;
    width: 28px;
    height: 28px;
    border: 2px solid var(--teal);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width .2s, height .2s, border-color .2s, background .2s;
    mix-blend-mode: multiply;
}

.cursor-glow.hover {
    width: 50px;
    height: 50px;
    background: rgba(13, 139, 139, 0.12);
    border-color: var(--teal-light);
}

.cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background: var(--teal);
    border-radius: 50%;
    pointer-events: none;
    z-index: 100000;
    transform: translate(-50%, -50%);
}

/* ── NAVBAR ───────────────────────────────────────────────── */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    transition: all .5s cubic-bezier(.16, 1, .3, 1);
}

.nav.scrolled {
    padding: 0.85rem 5%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -.3px;
}

.logo span {
    color: var(--teal);
}

.nav-links {
    display: flex;
    gap: 1.8rem;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: .82rem;
    font-weight: 500;
    position: relative;
    transition: color .3s;
    letter-spacing: .3px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--teal);
    transition: width .4s cubic-bezier(.16, 1, .3, 1);
}

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

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

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-login {
    padding: .55rem 1.6rem;
    background: transparent;
    color: var(--teal);
    border: 1.5px solid var(--teal);
    border-radius: 50px;
    font-family: inherit;
    font-size: .8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all .3s ease;
    cursor: none;
    letter-spacing: .3px;
}

.nav-login:hover {
    background: var(--teal);
    color: #ffffff;
    box-shadow: 0 0 25px rgba(13, 139, 139, .3);
    transform: translateY(-1px);
}

/* ── MOBILE TOGGLE ────────────────────────────────────────── */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: none;
    padding: .3rem;
    position: relative;
    z-index: 10;
}

.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--teal);
    margin: 5px 0;
    transition: all .3s ease;
    border-radius: 2px;
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#heroCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 40%, var(--bg) 80%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 5%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .45rem 1.2rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--teal);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

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

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(13, 139, 139, 0.3);
    }

    50% {
        opacity: .6;
        box-shadow: 0 0 0 10px rgba(13, 139, 139, 0);
    }
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6.5vw, 5.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -2px;
    color: var(--text);
    margin-bottom: 1.5rem;
}

.hero-headline .gradient-text {
    background: linear-gradient(135deg, var(--teal-light) 0%, var(--teal) 50%, #086060 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s ease-in-out infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.hero-sub {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 560px;
    margin: 0 auto 2.5rem;
    line-height: 1.75;
}

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

.typewriter-cursor {
    display: inline-block;
    width: 2px;
    height: 1.05em;
    background: var(--teal);
    margin-left: 2px;
    animation: blink .75s step-end infinite;
    vertical-align: text-bottom;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.hero-cta-row {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: .5rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .85rem 2rem;
    background: var(--teal);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-family: inherit;
    font-size: .88rem;
    font-weight: 600;
    text-decoration: none;
    cursor: none;
    position: relative;
    overflow: hidden;
    transition: all .35s ease;
    letter-spacing: .3px;
}

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

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

.btn-primary:hover {
    background: var(--teal-light);
    box-shadow: 0 0 40px rgba(13, 139, 139, .25);
    transform: translateY(-2px);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .85rem 2rem;
    background: transparent;
    color: var(--text-light);
    border: 1.5px solid var(--border);
    border-radius: 50px;
    font-family: inherit;
    font-size: .88rem;
    font-weight: 600;
    text-decoration: none;
    cursor: none;
    transition: all .35s ease;
}

.btn-ghost:hover {
    border-color: var(--teal);
    color: var(--teal);
    background: var(--teal-faint);
    transform: translateY(-2px);
}

/* ── SCROLL INDICATOR ─────────────────────────────────────── */
.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
}

.scroll-indicator span {
    font-size: .65rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-faint);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--teal), transparent);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% {
        transform: scaleY(0);
        transform-origin: top;
        opacity: 1;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
        opacity: 1;
    }

    51% {
        transform: scaleY(1);
        transform-origin: bottom;
        opacity: 1;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
        opacity: 0;
    }
}

/* ── MARQUEE ──────────────────────────────────────────────── */
.marquee {
    overflow: hidden;
    white-space: nowrap;
    padding: 1.8rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
    background: var(--bg-alt);
}

.marquee-track {
    display: inline-flex;
    animation: marqueeScroll 30s linear infinite;
}

.marquee-item {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 700;
    color: var(--border);
    padding: 0 .3rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.marquee-item .highlight {
    color: var(--teal);
    text-shadow: 0 0 30px rgba(13, 139, 139, .2);
}

.marquee-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--teal);
    border-radius: 50%;
    vertical-align: middle;
    margin: 0 1.5rem;
    box-shadow: 0 0 12px rgba(13, 139, 139, .3);
}

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

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

/* ── SECTION COMMON ───────────────────────────────────────── */
.section {
    padding: 6rem 5%;
    position: relative;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--teal);
    margin-bottom: .7rem;
}

.section-eyebrow::before {
    content: '';
    width: 20px;
    height: 1.5px;
    background: var(--teal);
    display: inline-block;
}

.section-heading {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.2vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
    margin-bottom: 1rem;
    letter-spacing: -.5px;
}

.section-sub {
    font-size: .92rem;
    color: var(--text-light);
    max-width: 520px;
    line-height: 1.7;
}

/* ── SERVICES ─────────────────────────────────────────────── */
.services {
    padding-bottom: 5rem;
}

.services-header {
    margin-bottom: 3rem;
}

.services-canvas-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: .8;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
    position: relative;
    z-index: 1;
}

.glass-card {
    padding: 2rem 1.6rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all .4s cubic-bezier(.16, 1, .3, 1);
    position: relative;
    overflow: hidden;
    cursor: none;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--teal), transparent);
    transform: scaleX(0);
    transition: transform .4s ease;
}

.glass-card:hover {
    border-color: var(--glass-hover);
    background: var(--bg-card-hover);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(13, 139, 139, .1), 0 0 30px rgba(13, 139, 139, .05);
}

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

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(13, 139, 139, 0.1);
    border: 1px solid rgba(13, 139, 139, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
}

.card-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--teal);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.glass-card h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: .4rem;
}

.glass-card p {
    font-size: .82rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ── STATS ROW ────────────────────────────────────────────── */
.stats-section {
    padding: 4rem 5%;
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.stat-item h3 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: var(--teal);
    line-height: 1;
}

.stat-item p {
    font-size: .78rem;
    color: var(--text-faint);
    margin-top: .3rem;
    letter-spacing: .3px;
}

/* ── PROCESS ──────────────────────────────────────────────── */
.process {
    background: linear-gradient(180deg, var(--bg) 0%, rgba(13, 139, 139, 0.03) 50%, var(--bg) 100%);
}

.process-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.process-header .section-eyebrow {
    justify-content: center;
}

.process-header .section-heading {
    max-width: 600px;
    margin: 0 auto 1rem;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 960px;
    margin: 0 auto;
    position: relative;
}

.process-card {
    text-align: center;
    padding: 2.5rem 1.8rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    transition: all .4s ease;
    position: relative;
}

.process-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--teal);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(13, 139, 139, .08);
}

.process-num {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    color: var(--teal);
    opacity: .2;
    line-height: 1;
    margin-bottom: .6rem;
}

.process-card h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: .4rem;
}

.process-card p {
    font-size: .82rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Connector line between process cards */
.process-connector {
    position: absolute;
    top: 50%;
    left: -1px;
    right: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
    pointer-events: none;
    z-index: -1;
}

/* ── ABOUT ────────────────────────────────────────────────── */
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    font-size: .92rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-text strong {
    color: var(--text);
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.about-stat {
    padding: 1.8rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all .35s ease;
}

.about-stat:hover {
    border-color: var(--teal);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(13, 139, 139, .08);
}

.about-stat h4 {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--teal);
    line-height: 1;
}

.about-stat p {
    font-size: .78rem;
    color: var(--text-faint);
    margin-top: .3rem;
}

/* ── NEWS ─────────────────────────────────────────────────── */
.news-section {
    background: linear-gradient(180deg, var(--bg) 0%, rgba(13, 139, 139, 0.02) 100%);
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.news-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all .4s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-6px);
    border-color: var(--teal);
    box-shadow: 0 16px 40px rgba(13, 139, 139, .1);
}

.news-thumb {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-bottom: 1px solid var(--glass-border);
    opacity: .85;
    transition: opacity .3s;
}

.news-card:hover .news-thumb {
    opacity: 1;
}

.news-thumb-placeholder {
    width: 100%;
    height: 190px;
    background: linear-gradient(135deg, rgba(13, 139, 139, 0.08), rgba(13, 139, 139, 0.02));
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--glass-border);
}

.news-thumb-placeholder svg {
    width: 40px;
    height: 40px;
    stroke: var(--teal);
    opacity: .25;
}

.news-body {
    padding: 1.4rem 1.4rem 1.6rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-tag {
    display: inline-block;
    font-size: .62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--teal);
    margin-bottom: .5rem;
}

.news-card h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--text);
    margin-bottom: .5rem;
}

.news-excerpt {
    font-size: .8rem;
    color: var(--text-light);
    line-height: 1.6;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .72rem;
    color: var(--text-faint);
    margin-top: .8rem;
    padding-top: .8rem;
    border-top: 1px solid var(--border);
}

.news-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--text-faint);
    font-size: .9rem;
}

.view-all-link {
    font-size: .85rem;
    font-weight: 600;
    color: var(--teal);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    transition: gap .3s ease;
}

.view-all-link:hover {
    gap: .7rem;
}

/* ── CTA ──────────────────────────────────────────────────── */
.cta-section {
    padding: 6rem 5%;
    text-align: center;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(13, 139, 139, .08) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    color: var(--text);
    margin-bottom: .7rem;
    position: relative;
    letter-spacing: -.5px;
}

.cta-title .gradient-text {
    background: linear-gradient(135deg, var(--teal), #086060);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-sub {
    font-size: .92rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    position: relative;
}

/* ── FOOTER ───────────────────────────────────────────────── */
footer {
    padding: 4rem 5% 1.5rem;
    border-top: 1px solid var(--border);
    position: relative;
    background: #050a0a;
    color: #ffffff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-brand .logo {
    color: #ffffff;
    display: inline-block;
    margin-bottom: .7rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    font-size: .82rem;
    line-height: 1.6;
    max-width: 260px;
}

.footer-col h4 {
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: .4rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: .82rem;
    transition: color .3s;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.3);
    font-size: .75rem;
}

/* ── SCROLL REVEAL ────────────────────────────────────────── */
.rv {
    opacity: 0;
    transform: translateY(35px);
    transition: all .8s cubic-bezier(.16, 1, .3, 1);
}

.rv.on {
    opacity: 1;
    transform: translateY(0);
}

.rv-d1 {
    transition-delay: .06s;
}

.rv-d2 {
    transition-delay: .12s;
}

.rv-d3 {
    transition-delay: .18s;
}

.rv-d4 {
    transition-delay: .24s;
}

.rv-d5 {
    transition-delay: .30s;
}

.rv-d6 {
    transition-delay: .36s;
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .hero {
        min-height: 100vh;
    }

    .hero-headline {
        font-size: clamp(2.2rem, 9vw, 3.2rem);
        letter-spacing: -1px;
    }

    .hero-sub {
        font-size: .92rem;
    }

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

    .process-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
        margin: 0 auto;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

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

    .cursor-glow,
    .cursor-dot {
        display: none;
    }

    body {
        cursor: auto;
    }

    .btn-primary,
    .btn-ghost,
    .nav-login,
    .glass-card,
    .process-card,
    .mobile-toggle {
        cursor: pointer;
    }
}

@media (max-width: 480px) {
    .hero-cta-row {
        flex-direction: column;
    }

    .hero-cta-row a {
        text-align: center;
        justify-content: center;
        width: 100%;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

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

/* ── MOBILE MENU OVERLAY ──────────────────────────────────── */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

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

.mobile-menu a {
    color: var(--text);
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    transition: color .3s;
}

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

.mobile-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 5%;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    transition: color .3s;
}

.mobile-menu-close:hover {
    color: var(--teal);
}