@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

/* ================================================================
   DESIGN TOKENS
   ================================================================ */
:root {
    --brand-start: #1d9a8a;
    --brand-mid: #4a7de0;
    --brand-end: #6a60f0;
    --brand-dark: #126f62;
    --surface-dark: #0f1923;
    --surface-dark-alt: #121e2b;
    --surface-dark-card: #162232;
    --neutral-light: #0f1923;
    --neutral-soft: #121e2b;
    --text-primary: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.88);
    --surface: #162232;
    --glass: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --radius-large: 24px;
    --radius-medium: 16px;
    --radius-pill: 999px;
    --shadow-soft: 0 30px 55px rgba(0, 0, 0, 0.25);
    --shadow-lift: 0 40px 70px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 20px 50px rgba(29, 154, 138, 0.25);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: var(--surface-dark);
    color: var(--text-primary);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

section {
    position: relative;
    overflow: hidden;
}


/* ================================================================
   MOBILE SPLASH SCREEN
   ================================================================ */
.mobile-splash {
    display: none;
}

@media (max-width: 768px) {
    .mobile-splash {
        display: flex;
        position: fixed;
        inset: 0;
        z-index: 99999;
        align-items: center;
        justify-content: center;
        pointer-events: all;
    }

    .splash-bg {
        position: absolute;
        inset: 0;
        background: linear-gradient(160deg, #e8f0f5 0%, #d4e4ec 25%, #b8d8e0 50%, #a4d4d6 75%, #c5c0f0 100%);
        z-index: 0;
    }

    .splash-butterfly {
        position: absolute;
        width: 140px;
        height: 140px;
        object-fit: contain;
        z-index: 2;
        opacity: 0;
        filter: drop-shadow(0 0 0px transparent);
        transform: translate(-180px, 260px) scale(0.4) rotate(-15deg);
        animation: butterflyFlyIn 3.5s ease-in-out 0.5s forwards;
    }

    .splash-logo {
        position: absolute;
        width: 220px;
        height: auto;
        object-fit: contain;
        z-index: 3;
        opacity: 0;
        transform: scale(0.5);
    }

    .splash-butterfly.landed {
        animation: butterflyGlowAndZoom 1.5s ease-in-out forwards;
    }

    .splash-logo.reveal {
        animation: logoReveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    .mobile-splash.fade-out {
        animation: splashFadeOut 0.8s ease-in forwards;
    }

    @keyframes butterflyFlyIn {
        0% { opacity: 0; filter: drop-shadow(0 0 0px transparent); transform: translate(-180px, 260px) scale(0.4) rotate(-15deg); }
        15% { opacity: 1; filter: drop-shadow(0 0 8px rgba(29, 154, 138, 0.3)); }
        35% { filter: drop-shadow(0 0 16px rgba(106, 96, 240, 0.4)); transform: translate(40px, -60px) scale(0.7) rotate(8deg); }
        55% { filter: drop-shadow(0 0 20px rgba(29, 154, 138, 0.5)); transform: translate(-30px, -20px) scale(0.85) rotate(-6deg); }
        75% { filter: drop-shadow(0 0 24px rgba(106, 96, 240, 0.5)); transform: translate(15px, 10px) scale(0.95) rotate(4deg); }
        100% { opacity: 1; filter: drop-shadow(0 0 30px rgba(29, 154, 138, 0.6)); transform: translate(0, 0) scale(1) rotate(0deg); }
    }

    @keyframes butterflyGlowAndZoom {
        0% { opacity: 1; filter: drop-shadow(0 0 30px rgba(29, 154, 138, 0.6)); transform: scale(1); }
        40% { opacity: 1; filter: drop-shadow(0 0 50px rgba(106, 96, 240, 0.8)); transform: scale(1.6); }
        70% { opacity: 0.6; filter: drop-shadow(0 0 60px rgba(255, 255, 255, 0.6)); transform: scale(1.8); }
        100% { opacity: 0; filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.3)); transform: scale(1.8); }
    }

    @keyframes logoReveal {
        0% { opacity: 0; transform: scale(0.5); }
        50% { opacity: 1; transform: scale(1.06); filter: drop-shadow(0 0 30px rgba(29, 154, 138, 0.4)); }
        100% { opacity: 1; transform: scale(1); filter: drop-shadow(0 0 20px rgba(29, 154, 138, 0.25)); }
    }

    @keyframes splashFadeOut {
        to { opacity: 0; visibility: hidden; pointer-events: none; }
    }
}


/* ================================================================
   HERO — Static Gradient with Floating Orbs
   ================================================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, #0a121c 0%, #0f2027 25%, #134e5e 50%, #1d9a8a 75%, #6a60f0 100%);
    overflow: hidden;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

.hero-orb--1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(29, 154, 138, 0.6), transparent 70%);
    top: -10%; right: -8%;
    animation: orbFloat1 20s ease-in-out infinite;
}

.hero-orb--2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(106, 96, 240, 0.5), transparent 70%);
    bottom: -5%; left: -5%;
    animation: orbFloat2 25s ease-in-out infinite;
}

.hero-orb--3 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(74, 125, 224, 0.35), transparent 70%);
    top: 40%; left: 50%;
    animation: orbFloat3 18s ease-in-out infinite;
}

@keyframes orbFloat1 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-40px, 30px) scale(1.1); } }
@keyframes orbFloat2 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(30px, -40px) scale(1.15); } }
@keyframes orbFloat3 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-20px, -30px) scale(0.9); } }

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 120px 0 80px;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-pill);
    padding: 10px 22px;
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 28px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-badge i { color: var(--brand-start); }

@media (min-width: 992px) {
    .hero-badge {
        padding: 14px 32px;
        font-size: 1.05rem;
        gap: 10px;
        margin-bottom: 32px;
        letter-spacing: 0.01em;
    }

    .hero-badge i { font-size: 1.15rem; }
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.hero-title--accent {
    background: linear-gradient(135deg, #5ef5d8, #a78bfa);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.97);
    line-height: 1.7;
    max-width: 750px;
    margin: 0 auto 36px;
    font-weight: 500;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Hero CTA buttons */
.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 36px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
    cursor: pointer;
    border: none;
}

.btn-hero--primary {
    background: linear-gradient(135deg, var(--brand-start), var(--brand-end));
    color: #ffffff;
    box-shadow: 0 20px 40px rgba(29, 154, 138, 0.35);
}

.btn-hero--primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 28px 55px rgba(29, 154, 138, 0.45);
    color: #ffffff;
}

.btn-hero--google,
.btn-hero--google-dark {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    backdrop-filter: blur(8px);
}

.btn-hero--google:hover,
.btn-hero--google-dark:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: #ffffff;
    transform: translateY(-3px);
    color: #ffffff;
}

.btn-hero--white {
    background: #ffffff;
    color: var(--surface-dark);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.btn-hero--white:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 28px 55px rgba(0, 0, 0, 0.3);
    color: var(--surface-dark);
}

.google-icon { flex-shrink: 0; }

/* Hero Stats */
.hero-stats {
    display: inline-flex;
    align-items: stretch;
    gap: 0;
    background: linear-gradient(135deg, rgba(29, 154, 138, 0.15) 0%, rgba(106, 96, 240, 0.1) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(94, 245, 216, 0.25);
    border-radius: var(--radius-large);
    padding: 0;
    overflow: hidden;
}

.hero-stat {
    text-align: center;
    padding: 22px 36px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.hero-stat + .hero-stat::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(94, 245, 216, 0.4), transparent);
}

.hero-stat__icon {
    font-size: 1.1rem;
    color: var(--brand-start);
    margin-bottom: 4px;
    animation: statPulse 3s ease-in-out infinite;
}

.hero-stat:nth-child(2) .hero-stat__icon { animation-delay: 1s; }
.hero-stat:nth-child(3) .hero-stat__icon { animation-delay: 2s; }

@keyframes statPulse {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.15); opacity: 1; }
}

.hero-stat__num {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, #5ef5d8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat__label {
    display: block;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}


/* ================================================================
   SCROLL REVEAL
   ================================================================ */
/* Elements visible by default (no-JS fallback).
   JS adds .ld-js to <html> to enable scroll animations. */
.ld-js .ld-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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


/* ================================================================
   SHARED SECTION STYLES
   ================================================================ */
.ld-section {
    padding: 100px 0;
}

.ld-section--dark {
    background:
        radial-gradient(ellipse at 20% 50%, rgba(29, 154, 138, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 30%, rgba(106, 96, 240, 0.10) 0%, transparent 45%),
        var(--surface-dark);
}

.ld-section--alt {
    background:
        radial-gradient(ellipse at 80% 60%, rgba(29, 154, 138, 0.10) 0%, transparent 50%),
        radial-gradient(ellipse at 15% 30%, rgba(106, 96, 240, 0.08) 0%, transparent 45%),
        var(--surface-dark-alt);
}

.ld-section__title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 800;
    text-align: center;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.ld-section__subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    max-width: 580px;
    margin: 0 auto 56px;
    line-height: 1.7;
    font-weight: 500;
}


/* ================================================================
   WHO IT'S FOR — Role Cards
   ================================================================ */
.ld-roles {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.ld-roles--roadmap {
    grid-template-columns: repeat(3, 1fr);
    max-width: 900px;
    margin: 0 auto;
}

.ld-role-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-large);
    padding: 32px 20px;
    text-align: center;
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s;
    backdrop-filter: blur(8px);
}

.ld-role-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(29, 154, 138, 0.3);
}

.ld-role-card__icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(29, 154, 138, 0.2), rgba(106, 96, 240, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.4rem;
    color: var(--brand-start);
}

.ld-role-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #ffffff;
}

.ld-role-card__text {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.65;
    margin: 0;
    font-weight: 500;
}


/* ================================================================
   EXPERIENCE — Preview Cards
   ================================================================ */
.ld-previews {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 960px;
    margin: 0 auto;
}

.ld-preview-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-large);
    overflow: hidden;
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.ld-preview-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lift);
}

.ld-preview-card__img-wrap {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: var(--surface-dark-card);
}

.ld-preview-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.ld-preview-card__lock {
    position: absolute;
    inset: 0;
    background: rgba(15, 25, 35, 0.5);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.4);
}

.ld-preview-card__body {
    padding: 24px;
}

.ld-preview-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--brand-start);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.ld-preview-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}

.ld-preview-card__text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.65;
    margin-bottom: 20px;
    font-weight: 500;
}

.ld-preview-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    background: linear-gradient(135deg, var(--brand-start), var(--brand-end));
    color: #ffffff;
    border: none;
    cursor: pointer;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.ld-preview-card__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(29, 154, 138, 0.3);
    color: #ffffff;
}


/* ================================================================
   HOW IT WORKS — Steps
   ================================================================ */
.ld-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}

.ld-step {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 0 20px;
}

.ld-step__num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-start), var(--brand-end));
    color: #ffffff;
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 8px 24px rgba(29, 154, 138, 0.3);
}

.ld-step__icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.6rem;
    color: var(--brand-start);
}

.ld-step__title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #ffffff;
}

.ld-step__text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.65;
    margin: 0;
    font-weight: 500;
}

.ld-step__connector {
    flex: 0 0 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-start), var(--brand-end));
    margin-top: 80px;
    opacity: 0.4;
}


/* ================================================================
   SEE WHAT'S INSIDE — Phone Mockup + Tabs
   ================================================================ */
.ld-screens__tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.ld-screens__tab {
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--glass-border);
    background: var(--glass);
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ld-screens__tab:hover {
    color: #ffffff;
    border-color: rgba(29, 154, 138, 0.4);
}

.ld-screens__tab.active {
    background: linear-gradient(135deg, rgba(29, 154, 138, 0.25), rgba(106, 96, 240, 0.25));
    color: #ffffff;
    border-color: rgba(29, 154, 138, 0.4);
    box-shadow: 0 8px 24px rgba(29, 154, 138, 0.15);
}

/* Phone frame */
.ld-phone-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 48px;
}

.ld-phone {
    position: relative;
    width: 280px;
    height: 560px;
    background: #0a0a0a;
    border-radius: 40px;
    border: 4px solid #2a2a2a;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.ld-phone__notch {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 24px;
    background: #0a0a0a;
    border-radius: 0 0 16px 16px;
    z-index: 5;
}

.ld-phone__screen {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.ld-phone__screen.active {
    opacity: 1;
}

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


/* ================================================================
   CONTACT
   ================================================================ */
.ld-contact__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.ld-contact__card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-large);
    padding: 32px 24px;
    text-align: center;
    backdrop-filter: blur(8px);
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.ld-contact__card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
}

.ld-contact__icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(29, 154, 138, 0.2), rgba(106, 96, 240, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.3rem;
    color: var(--brand-start);
}

.ld-contact__card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #ffffff;
}

.ld-contact__card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.ld-contact__card a {
    color: var(--brand-start);
    text-decoration: none;
    transition: color 0.2s;
}

.ld-contact__card a:hover {
    color: #5ef5d8;
}


/* ================================================================
   BOTTOM CTA BANNER
   ================================================================ */
.ld-cta-banner {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, var(--brand-start) 0%, var(--brand-mid) 50%, var(--brand-end) 100%);
    overflow: hidden;
}

.ld-cta-banner__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    pointer-events: none;
}

.ld-cta-banner__orb--1 {
    width: 400px; height: 400px;
    background: rgba(255, 255, 255, 0.2);
    top: -20%; right: -5%;
}

.ld-cta-banner__orb--2 {
    width: 300px; height: 300px;
    background: rgba(255, 255, 255, 0.15);
    bottom: -15%; left: -5%;
}

.ld-cta-banner__inner {
    position: relative;
    z-index: 2;
    text-align: center;
}

.ld-cta-banner__title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.ld-cta-banner__text {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.15rem;
    margin-bottom: 36px;
    font-weight: 400;
}

.ld-cta-banner__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}


/* ================================================================
   BACK TO TOP
   ================================================================ */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-start), var(--brand-end));
    color: #ffffff;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: all 0.3s var(--ease-out);
    box-shadow: 0 8px 24px rgba(29, 154, 138, 0.3);
    z-index: 100;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(29, 154, 138, 0.4);
}


/* ================================================================
   RESPONSIVE — TABLET (max 992px)
   ================================================================ */
@media (max-width: 991.98px) {
    .ld-roles {
        grid-template-columns: repeat(3, 1fr);
    }

    .ld-roles--roadmap {
        grid-template-columns: repeat(3, 1fr);
        max-width: 100%;
    }

    .ld-previews {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .ld-contact__cards {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .ld-steps {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }

    .ld-step__connector {
        width: 2px;
        height: 32px;
        flex: 0 0 32px;
        margin-top: 0;
    }

    .ld-step { padding: 0; }
}


/* ================================================================
   RESPONSIVE — MOBILE (max 768px)
   ================================================================ */
@media (max-width: 767.98px) {
    .hero-content { padding: 100px 0 60px; }

    .hero-title { font-size: 2rem; }

    .hero-subtitle { font-size: 0.95rem; margin-bottom: 28px; }

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

    .btn-hero { width: 100%; max-width: 320px; justify-content: center; }

    .hero-stats {
        flex-direction: row;
        gap: 0;
    }

    .hero-stat {
        padding: 16px 20px;
    }

    .hero-stat__num { font-size: 1.3rem; }

    .hero-stat__num { font-size: 1.2rem; }

    .ld-section { padding: 64px 0; }

    .ld-section__title { font-size: 1.6rem; }

    .ld-section__subtitle { font-size: 0.95rem; margin-bottom: 36px; }

    .ld-roles {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .ld-roles--roadmap {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .ld-role-card { padding: 24px 16px; }

    .ld-role-card__icon { width: 48px; height: 48px; font-size: 1.1rem; }

    .ld-role-card__title { font-size: 0.9rem; }

    .ld-role-card__text { font-size: 0.82rem; }

    .ld-previews {
        grid-template-columns: 1fr;
        max-width: 100%;
        gap: 20px;
    }

    .ld-preview-card__img-wrap { height: 220px; }

    .ld-screens__tabs { gap: 6px; }

    .ld-screens__tab { padding: 8px 14px; font-size: 0.8rem; }

    .ld-phone { width: 240px; height: 480px; border-radius: 32px; }

    .ld-cta-banner { padding: 64px 0; }

    .ld-cta-banner__title { font-size: 1.5rem; }

    .ld-cta-banner__actions { flex-direction: column; align-items: center; }

    .back-to-top { bottom: 80px; right: 16px; }
}


/* ================================================================
   RESPONSIVE — SMALL PHONES (max 576px)
   ================================================================ */
@media (max-width: 575.98px) {
    .ld-roles {
        grid-template-columns: 1fr;
    }

    .hero-stat { padding: 14px 16px; }
    .hero-stat__num { font-size: 1.2rem; }
    .hero-stat__icon { font-size: 0.9rem; }
}


/* ================================================================
   ACCESSIBILITY
   ================================================================ */
/* ================================================================
   FIREFLIES — Luminescent floating particles
   ================================================================ */
.fireflies {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 10;
    overflow: hidden;
}

.firefly {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: radial-gradient(circle, #fff 0%, rgba(94, 245, 216, 1) 20%, rgba(94, 245, 216, 0.4) 50%, rgba(94, 245, 216, 0) 70%);
    box-shadow:
        0 0 4px 2px rgba(255, 255, 255, 0.6),
        0 0 12px 5px rgba(94, 245, 216, 0.65),
        0 0 35px 10px rgba(29, 154, 138, 0.25);
    opacity: 0;
    animation: fireflyFloat var(--fly-duration, 12s) var(--fly-delay, 0s) ease-in-out infinite;
}

.firefly--purple {
    background: radial-gradient(circle, #fff 0%, rgba(167, 139, 250, 1) 20%, rgba(167, 139, 250, 0.4) 50%, rgba(167, 139, 250, 0) 70%);
    box-shadow:
        0 0 4px 2px rgba(255, 255, 255, 0.5),
        0 0 12px 5px rgba(167, 139, 250, 0.65),
        0 0 35px 10px rgba(106, 96, 240, 0.25);
}

.firefly--gold {
    background: radial-gradient(circle, #fff 0%, rgba(251, 191, 36, 1) 20%, rgba(251, 191, 36, 0.4) 50%, rgba(251, 191, 36, 0) 70%);
    box-shadow:
        0 0 4px 2px rgba(255, 255, 255, 0.5),
        0 0 12px 5px rgba(251, 191, 36, 0.6),
        0 0 35px 10px rgba(251, 191, 36, 0.2);
}

@keyframes fireflyFloat {
    0%   { opacity: 0; transform: translate(var(--fly-x1, 0px), var(--fly-y1, 0px)) scale(0.4); }
    10%  { opacity: var(--fly-opacity, 0.9); }
    25%  { transform: translate(calc(var(--fly-x1, 0px) + 40px), calc(var(--fly-y1, 0px) - 50px)) scale(1.2); }
    45%  { opacity: var(--fly-opacity, 0.9); transform: translate(var(--fly-x2, 60px), var(--fly-y2, -80px)) scale(0.6); }
    60%  { opacity: calc(var(--fly-opacity, 0.9) * 0.7); transform: translate(calc(var(--fly-x2, 60px) - 35px), calc(var(--fly-y2, -80px) + 45px)) scale(1.3); }
    80%  { opacity: calc(var(--fly-opacity, 0.9) * 0.3); transform: translate(calc(var(--fly-x1, 0px) + 15px), calc(var(--fly-y1, 0px) - 20px)) scale(0.5); }
    100% { opacity: 0; transform: translate(var(--fly-x1, 0px), var(--fly-y1, 0px)) scale(0.4); }
}

@keyframes fireflyDrift {
    0%   { opacity: 0; transform: translate(0, 0) scale(0.3); }
    12%  { opacity: var(--fly-opacity, 0.9); transform: translate(var(--fly-x1, 20px), calc(var(--fly-y1, -30px) * 0.5)) scale(1); }
    30%  { transform: translate(calc(var(--fly-x2, 50px) * 0.7), var(--fly-y2, -60px)) scale(1.4); }
    50%  { opacity: var(--fly-opacity, 0.9); transform: translate(var(--fly-x1, 20px), calc(var(--fly-y2, -60px) + 20px)) scale(0.8); }
    70%  { opacity: calc(var(--fly-opacity, 0.9) * 0.5); transform: translate(calc(var(--fly-x2, 50px) * -0.5), calc(var(--fly-y1, -30px) * -1)) scale(1.1); }
    90%  { opacity: calc(var(--fly-opacity, 0.9) * 0.2); transform: translate(10px, -10px) scale(0.5); }
    100% { opacity: 0; transform: translate(0, 0) scale(0.3); }
}

@keyframes fireflyZigzag {
    0%   { opacity: 0; transform: translate(0, 0) scale(0.5); }
    8%   { opacity: var(--fly-opacity, 0.9); }
    20%  { transform: translate(var(--fly-x1, 30px), calc(var(--fly-y1, -40px) * 0.3)) scale(1.1); }
    35%  { transform: translate(calc(var(--fly-x1, 30px) * -0.8), var(--fly-y2, -70px)) scale(0.7); }
    50%  { opacity: var(--fly-opacity, 0.9); transform: translate(var(--fly-x2, 50px), calc(var(--fly-y2, -70px) * 0.5)) scale(1.3); }
    65%  { transform: translate(calc(var(--fly-x2, 50px) * -0.6), var(--fly-y1, -40px)) scale(0.9); }
    80%  { opacity: calc(var(--fly-opacity, 0.9) * 0.3); transform: translate(calc(var(--fly-x1, 30px) * 0.4), calc(var(--fly-y1, -40px) * -0.5)) scale(0.6); }
    100% { opacity: 0; transform: translate(0, 0) scale(0.5); }
}


/* ================================================================
   BUTTON ENHANCEMENTS — Shimmer, Ripple, Glow
   ================================================================ */
.btn-hero {
    position: relative;
    overflow: hidden;
}

/* Shimmer sweep effect */
.btn-hero--primary::before,
.btn-hero--white::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
    pointer-events: none;
}

.btn-hero--primary:hover::before,
.btn-hero--white:hover::before {
    left: 130%;
}

/* Pulse glow on primary buttons */
.btn-hero--primary {
    animation: btnPulseGlow 2.5s ease-in-out infinite;
    border: 2px solid rgba(94, 245, 216, 0.3);
}

.btn-hero--primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 24px 60px rgba(29, 154, 138, 0.5), 0 0 40px rgba(94, 245, 216, 0.2);
    border-color: rgba(94, 245, 216, 0.6);
}

@keyframes btnPulseGlow {
    0%, 100% { box-shadow: 0 20px 40px rgba(29, 154, 138, 0.35), 0 0 0 0 rgba(94, 245, 216, 0); }
    50% { box-shadow: 0 20px 55px rgba(29, 154, 138, 0.6), 0 0 35px rgba(94, 245, 216, 0.15); }
}

/* Google button enhanced hover */
.btn-hero--google,
.btn-hero--google-dark {
    transition: all 0.4s var(--ease-out);
}

.btn-hero--google:hover,
.btn-hero--google-dark:hover {
    box-shadow: 0 16px 40px rgba(255, 255, 255, 0.18), 0 0 20px rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-4px) scale(1.03);
}

/* White CTA button glow */
.btn-hero--white {
    border: 2px solid transparent;
    transition: all 0.4s var(--ease-out);
}

.btn-hero--white:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3), 0 0 30px rgba(255, 255, 255, 0.15);
    border-color: rgba(29, 154, 138, 0.4);
}

/* Preview card button effects */
.ld-preview-card__btn {
    position: relative;
    overflow: hidden;
    border: 1.5px solid rgba(94, 245, 216, 0.2);
    transition: all 0.4s var(--ease-out);
}

.ld-preview-card__btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: skewX(-20deg);
    transition: left 0.5s ease;
    pointer-events: none;
}

.ld-preview-card__btn:hover::before {
    left: 130%;
}

.ld-preview-card__btn:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 14px 35px rgba(29, 154, 138, 0.4), 0 0 20px rgba(94, 245, 216, 0.12);
    border-color: rgba(94, 245, 216, 0.5);
}

/* Screenshot tab buttons enhanced */
.ld-screens__tab {
    transition: all 0.35s var(--ease-out);
}

.ld-screens__tab:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(29, 154, 138, 0.2);
}

.ld-screens__tab.active {
    animation: tabActiveGlow 2s ease-in-out infinite;
}

@keyframes tabActiveGlow {
    0%, 100% { box-shadow: 0 8px 24px rgba(29, 154, 138, 0.15); }
    50% { box-shadow: 0 8px 30px rgba(29, 154, 138, 0.3), 0 0 15px rgba(29, 154, 138, 0.1); }
}


/* ================================================================
   CARD GLOW BORDERS — Interactive hover glow
   ================================================================ */
.ld-role-card {
    position: relative;
}

.ld-role-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-large);
    background: linear-gradient(135deg, transparent 30%, rgba(29, 154, 138, 0.4) 50%, rgba(106, 96, 240, 0.4) 70%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
    pointer-events: none;
}

.ld-role-card:hover::after {
    opacity: 1;
}

/* Role card icon glow on hover */
.ld-role-card:hover .ld-role-card__icon {
    background: linear-gradient(135deg, rgba(29, 154, 138, 0.35), rgba(106, 96, 240, 0.35));
    box-shadow: 0 0 20px rgba(29, 154, 138, 0.25);
    transition: all 0.4s ease;
}


/* ================================================================
   STEP NUMBER PULSE
   ================================================================ */
.ld-step__num {
    position: relative;
}

.ld-step__num::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(29, 154, 138, 0.3);
    animation: stepPulse 2.5s ease-in-out infinite;
}

@keyframes stepPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.25); opacity: 0; }
}


/* ================================================================
   SECTION TITLE GLOW
   ================================================================ */
.ld-section__title {
    position: relative;
}

.ld-section__title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-start), var(--brand-end));
    border-radius: 2px;
    opacity: 0.7;
}


/* ================================================================
   STAGGERED REVEAL — cascade children
   ================================================================ */
.ld-reveal:nth-child(1) { transition-delay: 0.05s; }
.ld-reveal:nth-child(2) { transition-delay: 0.12s; }
.ld-reveal:nth-child(3) { transition-delay: 0.19s; }
.ld-reveal:nth-child(4) { transition-delay: 0.26s; }
.ld-reveal:nth-child(5) { transition-delay: 0.33s; }


/* ================================================================
   PREVIEW CARD IMAGE ZOOM ON HOVER
   ================================================================ */
.ld-preview-card:hover .ld-preview-card__img-wrap img {
    transform: scale(1.05);
    transition: transform 0.6s var(--ease-out);
}

.ld-preview-card__img-wrap img {
    transition: transform 0.6s var(--ease-out);
}


/* ================================================================
   PHONE MOCKUP GLOW
   ================================================================ */
.ld-phone {
    position: relative;
}

.ld-phone::before {
    content: '';
    position: absolute;
    inset: -20px;
    border-radius: 60px;
    background: radial-gradient(ellipse, rgba(29, 154, 138, 0.15) 0%, transparent 70%);
    z-index: -1;
    animation: phoneGlow 4s ease-in-out infinite;
}

@keyframes phoneGlow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}


/* ================================================================
   CONTACT CARD ICON SPIN ON HOVER
   ================================================================ */
.ld-contact__card:hover .ld-contact__icon i {
    animation: iconBounce 0.5s ease;
}

@keyframes iconBounce {
    0% { transform: scale(1); }
    40% { transform: scale(1.25) rotate(-8deg); }
    70% { transform: scale(0.95) rotate(3deg); }
    100% { transform: scale(1) rotate(0deg); }
}


/* ================================================================
   HERO BADGE SHIMMER
   ================================================================ */
.hero-badge {
    position: relative;
    overflow: hidden;
}

.hero-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transform: skewX(-20deg);
    animation: badgeShimmer 4s ease-in-out infinite;
}

@keyframes badgeShimmer {
    0%, 70%, 100% { left: -100%; }
    50% { left: 150%; }
}


/* ================================================================
   STATS COUNTER EFFECT
   ================================================================ */
.hero-stat__num {
    transition: transform 0.3s var(--ease-out), text-shadow 0.3s;
}

.hero-stat:hover .hero-stat__num {
    filter: brightness(1.2);
}

.hero-stat:hover .hero-stat__icon {
    transform: scale(1.25);
    color: #5ef5d8;
}



/* ================================================================
   DEW DROPS — Generated via JS, this just provides the animation
   ================================================================ */

@keyframes dewAppear {
    0%   { opacity: 0.85; transform: translateY(0) scale(1); }
    20%  { opacity: 0.9; transform: translateY(2px) scale(1.05); }
    50%  { opacity: 0.8; transform: translateY(8px) scale(1.1) scaleX(0.85); }
    70%  { opacity: 0.5; transform: translateY(20px) scale(0.7) scaleX(0.6); }
    85%  { opacity: 0.15; transform: translateY(35px) scale(0.3) scaleX(0.4); }
    100% { opacity: 0; transform: translateY(50px) scale(0.1); }
}


/* ================================================================
   ACCESSIBILITY
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .ld-reveal { opacity: 1; transform: none; }

    .hero-orb { animation: none; }

    .mobile-splash { display: none !important; }
}
