/* ============================================================
   DATA EDGE — Global Stylesheet
   Version: 2.0
   Reusable across all pages
   ============================================================ */

/* ── GOOGLE FONTS ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ── DESIGN TOKENS ────────────────────────────────────────── */
:root {
    /* Brand */
    --green:        #2ECC71;
    --green-dark:   #1aA857;
    --green-mid:    #27ae60;
    --green-glow:   rgba(46,204,113,0.22);
    --green-soft:   rgba(46,204,113,0.08);
    --green-border: rgba(46,204,113,0.18);

    /* Neutrals */
    --black:      #080808;
    --gray-950:   #0e0e0e;
    --gray-900:   #111;
    --gray-800:   #1a1a1a;
    --gray-750:   #222;
    --gray-700:   #2c2c2c;
    --gray-600:   #3a3a3a;
    --gray-500:   #555;
    --gray-400:   #888;
    --gray-300:   #aaa;
    --gray-200:   #ccc;
    --gray-100:   #f2f2f2;
    --gray-50:    #f8f8f8;
    --white:      #ffffff;

    /* Typography */
    --font:         'Inter', system-ui, sans-serif;
    --font-display: 'Outfit', 'Inter', system-ui, sans-serif;
    --mono:         'JetBrains Mono', monospace;

    /* Spacing */
    --section-pad:  clamp(48px, 3vw, 80px);
    --content-max:  1200px;
    --side-pad:     clamp(20px, 5vw, 80px);

    /* Shapes */
    --radius-sm:  8px;
    --radius:     14px;
    --radius-lg:  20px;
    --radius-xl:  28px;
    --radius-2xl: 40px;

    /* Shadows */
    --shadow-xs:  0 1px 3px rgba(0,0,0,0.05);
    --shadow-sm:  0 4px 16px rgba(0,0,0,0.06);
    --shadow:     0 8px 40px rgba(0,0,0,0.09);
    --shadow-lg:  0 24px 80px rgba(0,0,0,0.14);
    --shadow-xl:  0 40px 120px rgba(0,0,0,0.18);
    --glow:       0 0 50px rgba(46,204,113,0.25);
    --glow-lg:    0 0 80px rgba(46,204,113,0.35);

    /* Transitions */
    --ease:       cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in:    cubic-bezier(0.4, 0, 1, 1);
    --ease-out:   cubic-bezier(0, 0, 0.2, 1);
    --t-fast:     0.18s;
    --t-med:      0.35s;
    --t-slow:     0.65s;
}

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

html {
    scroll-behavior: smooth;
    cursor: none;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    background: var(--white);
    color: var(--black);
    overflow-x: hidden;
    line-height: 1.65;
    font-feature-settings: 'cv02','cv03','cv04','cv11';
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }

/* ── CUSTOM CURSOR ────────────────────────────────────────── */
.cursor {
    position: fixed;
    width: 10px; height: 10px;
    background: var(--green);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: transform var(--t-fast) var(--ease), opacity 0.3s, width 0.3s var(--ease), height 0.3s var(--ease);
    mix-blend-mode: multiply;
}
.cursor.hovering { width: 20px; height: 20px; opacity: 0.6; }
.cursor.clicking { transform: translate(-50%,-50%) scale(0.7); }

.cursor-ring {
    position: fixed;
    width: 42px; height: 42px;
    border: 1.5px solid rgba(46,204,113,0.45);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.08s linear, width 0.4s var(--ease), height 0.4s var(--ease), border-color 0.3s;
}
.cursor-ring.hovering { width: 64px; height: 64px; border-color: rgba(46,204,113,0.7); }

/* ── NAVIGATION ───────────────────────────────────────────── */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
    padding: 0 var(--side-pad);
    justify-content: space-between;
    transition: background 0.5s var(--ease), backdrop-filter 0.5s, box-shadow 0.5s;
}

.nav.scrolled {
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    box-shadow: 0 1px 0 rgba(0,0,0,0.07), 0 4px 20px rgba(0,0,0,0.04);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.035em;
    font-family: var(--font-display);
    color: var(--black);
    transition: opacity 0.2s;
    flex-shrink: 0;
}
.nav-logo:hover { opacity: 0.75; }

.nav-logo-mark {
    width: 34px; height: 34px;
    background: var(--black);
    border-radius: 9px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    transition: background 0.3s;
}
.nav-logo:hover .nav-logo-mark { background: var(--green-dark); }
.nav-logo-mark svg { width: 20px; height: 20px; }

.nav-center {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    font-size: 1.2 rem;
    font-weight: 500;
    color: var(--gray-500);
    padding: 6px 14px;
    border-radius: 100px;
    transition: color var(--t-fast), background var(--t-fast);
    white-space: nowrap;
}
.nav-link:hover { color: var(--black); background: rgba(0,0,0,0.04); }
.nav-link.active { color: var(--black); }

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Mobile hamburger */
.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    cursor: pointer;
    touch-action: manipulation;  /* eliminates 300ms tap delay on mobile */
    -webkit-tap-highlight-color: transparent;
    position: relative;
    z-index: 1002;  /* always above hero elements */
}
.nav-burger span {
    display: block;
    width: 22px; height: 1.5px;
    background: var(--black);
    border-radius: 2px;
    transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu overlay */
.nav-mobile {
    position: fixed;
    top: 70px; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(24px);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.4s var(--ease), opacity 0.3s;
    pointer-events: none;
}
.nav-mobile.open { transform: translateY(0); opacity: 1; pointer-events: all; }
.nav-mobile .nav-link { font-size: 1.5rem; font-weight: 700; padding: 12px 32px; }

/* On mobile: always give nav a background so burger is always clickable above hero */
@media (max-width: 768px) {
    .nav {
        background: rgba(255,255,255,0.92);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        box-shadow: 0 1px 0 rgba(0,0,0,0.06);
    }
}

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font);
    font-weight: 600;
    border-radius: 100px;
    transition: transform var(--t-med) var(--ease), box-shadow var(--t-med), opacity 0.2s;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}
.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s;
}
.btn:hover::after { opacity: 1; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn svg { flex-shrink: 0; transition: transform var(--t-med) var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
    background: var(--black);
    color: var(--white) !important;
    padding: 13px 28px;
    font-size: 0.9rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}
.btn-primary::after { background: var(--green-dark); }
.btn-primary:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.16), var(--glow); color: var(--white) !important; }
.btn-primary span, .btn-primary svg { position: relative; z-index: 1; color: inherit; }

.btn-primary-green {
    background: var(--green);
    color: var(--white) !important;
    padding: 13px 28px;
    font-size: 0.9rem;
    box-shadow: 0 2px 16px rgba(46,204,113,0.3);
}
.btn-primary-green::after { background: var(--green-dark); }
.btn-primary-green:hover { box-shadow: var(--glow-lg); color: var(--white) !important; }
.btn-primary-green span, .btn-primary-green svg { position: relative; z-index: 1; color: var(--white) !important; }

.btn-secondary {
    background: transparent;
    color: var(--black) !important;
    padding: 12px 26px;
    font-size: 0.9rem;
    border: 1.5px solid rgba(0,0,0,0.13);
}
.btn-secondary::after { background: rgba(0,0,0,0.04); }
.btn-secondary:hover { border-color: rgba(0,0,0,0.25); color: var(--black) !important; }
.btn-secondary span, .btn-secondary svg { position: relative; z-index: 1; }

.btn-ghost-white {
    background: transparent;
    color: rgba(255,255,255,0.7);
    padding: 12px 26px;
    font-size: 0.9rem;
    border: 1.5px solid rgba(255,255,255,0.15);
}
.btn-ghost-white::after { background: rgba(255,255,255,0.06); }
.btn-ghost-white:hover { color: var(--white); border-color: rgba(255,255,255,0.35); }

.btn-lg { padding: 16px 38px; font-size: 1rem; }
.btn-sm { padding: 9px 18px; font-size: 1.2 rem; }

/* ── SECTION PRIMITIVES ───────────────────────────────────── */
.section {
    padding: var(--section-pad) var(--side-pad);
}

.container {
    max-width: var(--content-max);
    margin: 0 auto;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--green-dark);
    margin-bottom: 18px;
}
.section-eyebrow::before {
    content: '';
    width: 22px; height: 1.5px;
    background: var(--green);
    display: block;
    flex-shrink: 0;
}

.section-title {
    font-size: clamp(2rem, 4.5vw, 3.8rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.07;
    color: var(--black);
    font-family: var(--font-display);
}
.section-title .accent { color: var(--green-dark); }
.section-title .accent-mid { color: var(--green-mid); }

.section-body {
    font-size: clamp(1rem, 1.4vw, 1.12rem);
    color: var(--gray-400);
    line-height: 1.75;
    max-width: 850px;
}

.section-header { margin-bottom: 64px; }
.section-header.center { text-align: center; }
.section-header.center .section-eyebrow { justify-content: center; }
.section-header.center .section-body { margin: 0 auto; }

/* ── CARD BASE ────────────────────────────────────────────── */
.card {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--radius-lg);
    transition: transform var(--t-med) var(--ease), box-shadow var(--t-med), border-color var(--t-med);
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0,0,0,0.03);
}

.card-dark {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--radius-lg);
    transition: all var(--t-med) var(--ease);
}
.card-dark:hover {
    background: rgba(255,255,255,0.065);
    border-color: rgba(46,204,113,0.18);
    box-shadow: 0 0 40px rgba(46,204,113,0.08);
}

/* ── LABEL / TAG ──────────────────────────────────────────── */
.tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 12px;
    border-radius: 100px;
}
.tag-green {
    background: rgba(46,204,113,0.1);
    color: var(--green-dark);
    border: 1px solid rgba(46,204,113,0.2);
}
.tag-dark {
    background: rgba(0,0,0,0.06);
    color: var(--gray-500);
}
.tag-green-outline {
    background: transparent;
    border: 1px solid rgba(46,204,113,0.3);
    color: var(--green);
}

/* ── ANIMATED DOT ─────────────────────────────────────────── */
.live-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--green);
    display: inline-block;
    animation: livePulse 2.2s ease-in-out infinite;
}
@keyframes livePulse {
    0%,100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
}

/* ── SCROLL REVEAL ANIMATIONS ─────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
.reveal-left.in { opacity: 1; transform: translateX(0); }

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
.reveal-right.in { opacity: 1; transform: translateX(0); }

.reveal-scale {
    opacity: 0;
    transform: scale(0.93);
    transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
.reveal-scale.in { opacity: 1; transform: scale(1); }

/* Stagger delays */
.d-0  { transition-delay: 0s; }
.d-1  { transition-delay: 0.06s; }
.d-2  { transition-delay: 0.12s; }
.d-3  { transition-delay: 0.18s; }
.d-4  { transition-delay: 0.24s; }
.d-5  { transition-delay: 0.30s; }
.d-6  { transition-delay: 0.36s; }
.d-7  { transition-delay: 0.42s; }
.d-8  { transition-delay: 0.48s; }

/* ── GLASSMORPHISM ────────────────────────────────────────── */
.glass {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.6);
}
.glass-dark {
    background: rgba(10,10,10,0.6);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(255,255,255,0.08);
}

/* ── GRADIENT TEXT ────────────────────────────────────────── */
.gradient-text {
    background: linear-gradient(135deg, var(--green) 0%, #00b47a 50%, var(--green-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── DIVIDER LINE ─────────────────────────────────────────── */
.divider { height: 1px; background: rgba(0,0,0,0.06); }
.divider-dark { height: 1px; background: rgba(255,255,255,0.07); }

/* ── GLOW LINES (decorative) ──────────────────────────────── */
.glow-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--green), transparent);
}

/* ── MARQUEE ──────────────────────────────────────────────── */
.marquee-outer { overflow: hidden; position: relative; }
.marquee-outer::before,
.marquee-outer::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 140px;
    z-index: 2;
    pointer-events: none;
}
.marquee-outer::before { left: 0; background: linear-gradient(90deg, var(--white), transparent); }
.marquee-outer::after  { right: 0; background: linear-gradient(270deg, var(--white), transparent); }

.marquee-track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 32s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ── COUNTER ──────────────────────────────────────────────── */
.counter-val { font-variant-numeric: tabular-nums; }

/* ── GRID UTILITIES ───────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }

/* ── NOISE TEXTURE OVERLAY ────────────────────────────────── */
.noise-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 180px;
}

/* ── FLOATING ANIMATION ───────────────────────────────────── */
@keyframes float {
    0%,100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-14px) rotate(1.5deg); }
    66% { transform: translateY(-7px) rotate(-1deg); }
}
.float { animation: float 6s ease-in-out infinite; }
.float-slow { animation: float 9s ease-in-out infinite; }
.float-fast { animation: float 4s ease-in-out infinite; }

/* ── BLOB ANIMATIONS ──────────────────────────────────────── */
@keyframes blobMorph {
    0%,100% { border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%; transform: translate(0,0) scale(1); }
    25%  { border-radius: 40% 60% 30% 70% / 60% 40% 60% 40%; transform: translate(20px,-15px) scale(1.04); }
    50%  { border-radius: 70% 30% 50% 50% / 40% 70% 30% 60%; transform: translate(-15px,10px) scale(0.97); }
    75%  { border-radius: 30% 70% 40% 60% / 50% 30% 70% 50%; transform: translate(10px,15px) scale(1.02); }
}
.blob { animation: blobMorph 10s ease-in-out infinite; }
.blob-slow { animation: blobMorph 16s ease-in-out infinite; }
.blob-alt { animation: blobMorph 12s ease-in-out infinite reverse; }

/* ── GRADIENT SHIFT ANIMATION ─────────────────────────────── */
@keyframes gradientShift {
    0%,100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
.gradient-animated {
    background-size: 300% 300%;
    animation: gradientShift 8s ease infinite;
}

/* ── SPIN ─────────────────────────────────────────────────── */
@keyframes spin { to { transform: rotate(360deg); } }
.spin-slow { animation: spin 20s linear infinite; }

/* ── FOOTER ───────────────────────────────────────────────── */
.footer {
    background: var(--black);
    color: var(--white);
    padding: clamp(24px, 1.6vw, 36px) var(--side-pad) 16px;
    border-top: 1px solid rgba(255,255,255,0.05);
    position: relative;
    overflow: hidden;
}

.footer-main {
    max-width: var(--content-max);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 20px 48px;
    margin-bottom: 16px;
}

.footer-brand {
    flex: 1 1 240px;
    max-width: 300px;
}

.footer-brand-desc {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
    line-height: 1.6;
    margin: 0;
}

.footer-nav {
    flex: 0 0 auto;
    margin-left: auto;
    display: grid;
    grid-template-columns: repeat(2, auto);
    grid-auto-flow: column;
    grid-template-rows: repeat(4, auto);
    column-gap: 56px;
    row-gap: 9px;
    padding-top: 2px;
}
.footer-nav a {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    white-space: nowrap;
    transition: color 0.2s;
}
.footer-nav a:hover { color: var(--white); }

.footer-social-link {
    width: 30px; height: 30px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: rgba(255,255,255,0.4);
    font-size: 0.7rem;
    font-weight: 700;
    transition: all 0.25s;
    flex-shrink: 0;
}
.footer-social-link:hover { border-color: var(--green); color: var(--green); background: rgba(46,204,113,0.08); }

.footer-contact {
    flex: 0 0 auto;
    margin-left: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
}
.footer-contact-item svg { width: 13px; height: 13px; stroke: var(--green); flex-shrink: 0; }
.footer-contact-item a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-contact-item a:hover { color: var(--white); }

.footer-bottom {
    max-width: var(--content-max);
    margin: 0 auto;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.footer-copy {
    font-size: 0.74rem;
    color: rgba(255,255,255,0.22);
}
.footer-copy a { color: rgba(255,255,255,0.35); transition: color 0.2s; }
.footer-copy a:hover { color: rgba(255,255,255,0.7); }

.footer-tagline {
    font-family: var(--mono);
    font-size: 0.64rem;
    letter-spacing: 0.14em;
    color: rgba(46,204,113,0.4);
    text-transform: uppercase;
}

/* Footer ambient glow */
.footer-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}
.footer-glow-1 {
    width: 500px; height: 300px;
    background: radial-gradient(circle, rgba(46,204,113,0.07), transparent);
    top: 0; left: -10%;
}
.footer-glow-2 {
    width: 400px; height: 300px;
    background: radial-gradient(circle, rgba(46,204,113,0.05), transparent);
    bottom: 0; right: 5%;
}

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

@media (max-width: 768px) {
    html { cursor: auto; }
    .cursor, .cursor-ring { display: none; }
    .nav-center { display: none; }
    .nav-burger { display: flex; }
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr 1fr; }
    .footer-main { flex-direction: column; gap: 18px; }
    .footer-brand, .footer-nav, .footer-contact { max-width: 100%; flex-basis: auto; }
    .footer-bottom { justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
    .grid-4 { grid-template-columns: 1fr; }
    .btn-lg { padding: 13px 26px; font-size: 0.9rem; }
}
/* ── TYPEWRITER (global) ──────────────────────────────────── */
@keyframes scrollBar { 0% { top:-32px; } 100% { top:32px; } }

.tw-cursor {
    display: inline-block;
    width: 3px;
    height: 0.82em;
    background: var(--green);
    margin-left: 3px;
    vertical-align: middle;
    border-radius: 1px;
    animation: twBlink 1s step-end infinite;
    position: relative;
    top: -0.04em;
}
@keyframes twBlink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}
.tw-done @keyframes scrollBar { 0% { top:-32px; } 100% { top:32px; } }

.tw-cursor { opacity: 0; animation: none; }