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

:root {
    --brand-900: #1E1B4B;
    --brand-800: #2D2A6E;
    --brand-700: #3730A3;
    --brand-600: #4F46E5;
    --brand-500: #6366F1;
    --brand-400: #818CF8;
    --brand-300: #A5B4FC;
    --brand-200: #C7D2FE;
    --brand-100: #E0E7FF;
    --gray-50:  #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-400: #94A3B8;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-900: #0F172A;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-900);
    background: white;
    overflow-x: hidden;
}

/* ─── NAV ─── */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 0 2rem;
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.3s, border-color 0.3s;
}

.nav.scrolled {
    background: rgba(22, 20, 60, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-logo-icon {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.14);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-logo-text {
    font-size: 1.3rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.02em;
}

/* Links list */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: rgba(255,255,255,0.72);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover { color: white; }

.nav-cta {
    background: var(--brand-500) !important;
    color: white !important;
    padding: 0.45rem 1.1rem;
    border-radius: 8px;
    font-weight: 600 !important;
    transition: background 0.2s, transform 0.15s !important;
}

.nav-cta:hover {
    background: var(--brand-400) !important;
    transform: translateY(-1px);
}

/* Right side cluster: lang selector + hamburger */
.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ─── LANGUAGE SELECTOR ─── */
.lang-selector { position: relative; }

.lang-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    color: rgba(255,255,255,0.82);
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: background 0.2s, border-color 0.2s;
    font-family: 'Inter', sans-serif;
}

.lang-btn:hover {
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.25);
}

.lang-btn svg { width: 14px; height: 14px; flex-shrink: 0; }
.lang-chevron { transition: transform 0.25s cubic-bezier(0.23,1,0.32,1); }
.lang-selector.open .lang-chevron { transform: rotate(180deg); }

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 130px;
    background: rgba(18,16,52,0.97);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 11px;
    padding: 5px;
    display: none;
    flex-direction: column;
    gap: 2px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.45);
    z-index: 200;
}

.lang-selector.open .lang-dropdown { display: flex; }

.lang-opt {
    padding: 8px 12px;
    border: none;
    background: none;
    border-radius: 7px;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    font-size: 0.86rem;
    font-weight: 500;
    text-align: left;
    font-family: 'Inter', sans-serif;
    transition: background 0.15s, color 0.15s;
}

.lang-opt:hover { background: rgba(255,255,255,0.1); color: white; }
.lang-opt.active { color: var(--brand-300); font-weight: 700; }

/* ─── ANIMATED HAMBURGER ─── */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    cursor: pointer;
    padding: 0;
}

.hb-line {
    display: block;
    width: 18px; height: 2px;
    background: white;
    border-radius: 2px;
    transform-origin: center;
    transition:
        transform 0.38s cubic-bezier(0.23, 1, 0.32, 1),
        opacity 0.22s ease,
        width 0.28s ease;
}

/* X state */
.nav-hamburger.open .hb-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open .hb-line:nth-child(2) { opacity: 0; width: 0; }
.nav-hamburger.open .hb-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── HERO ─── */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #1E1B4B 0%, #2D2A6E 30%, #3D35A5 65%, #5752D1 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 7rem 2rem 5rem;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.055) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.blob { position: absolute; border-radius: 50%; pointer-events: none; }

.blob-1 {
    top: -140px; right: -140px;
    width: 520px; height: 520px;
    background: radial-gradient(circle, rgba(129,140,248,0.28), transparent 70%);
}

.blob-2 {
    bottom: -100px; left: -100px;
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(99,102,241,0.2), transparent 70%);
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 14px;
    background: rgba(255,255,255,0.09);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 100px;
    color: var(--brand-200);
    font-size: 0.78rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 7px; height: 7px;
    background: #34D399;
    border-radius: 50%;
    flex-shrink: 0;
}

.hero-title {
    font-size: clamp(2rem, 3.8vw, 3.4rem);
    font-weight: 900;
    color: white;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero-title span {
    background: linear-gradient(135deg, #A5B4FC 0%, #818CF8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.68);
    line-height: 1.75;
    margin-bottom: 2.5rem;
    max-width: 480px;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.85rem 1.7rem;
    background: linear-gradient(135deg, #6366F1, #4F46E5);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 24px rgba(99,102,241,0.45);
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(99,102,241,0.55);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.85rem 1.7rem;
    background: rgba(255,255,255,0.09);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.95rem;
    border: 1px solid rgba(255,255,255,0.18);
    transition: background 0.2s;
}

.btn-ghost:hover { background: rgba(255,255,255,0.15); }

/* App mockup */
.hero-mockup {
    width: 100%;
    aspect-ratio: 16/10;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 14px;
    backdrop-filter: blur(8px);
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0,0,0,0.42), 0 0 0 1px rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
}

.mockup-bar {
    height: 34px;
    background: rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    padding: 0 12px;
    gap: 6px;
    flex-shrink: 0;
}

.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }

.mockup-body { flex: 1; display: grid; grid-template-columns: 120px 1fr; }

.mockup-sidebar {
    background: rgba(0,0,0,0.18);
    border-right: 1px solid rgba(255,255,255,0.05);
    padding: 10px 7px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mockup-nav-item { height: 26px; border-radius: 6px; background: rgba(255,255,255,0.06); }
.mockup-nav-item.active { background: rgba(99,102,241,0.45); }

.mockup-main {
    padding: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 8px;
}

.mockup-widget {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 8px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mockup-widget.span-2 { grid-column: span 2; }
.mockup-label { height: 7px; width: 55%; background: rgba(255,255,255,0.18); border-radius: 4px; }
.mockup-value { height: 17px; width: 38%; background: rgba(165,180,252,0.65); border-radius: 4px; }
.mockup-value-green { height: 17px; width: 38%; background: rgba(52,211,153,0.55); border-radius: 4px; }
.mockup-chart { flex: 1; min-height: 36px; background: linear-gradient(180deg, rgba(99,102,241,0.35), rgba(99,102,241,0.04)); border-radius: 5px; }

/* ─── STATS ─── */
.stats-section {
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    padding: 3rem 2rem;
}

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

.stat-num {
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--brand-600);
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 0.4rem;
}

.stat-lbl { font-size: 0.88rem; color: var(--gray-600); font-weight: 500; }

/* ─── SECTION HELPERS ─── */
.section-inner { max-width: 1100px; margin: 0 auto; }

.section-pill {
    display: inline-block;
    color: var(--brand-600);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.section-heading {
    font-size: clamp(1.75rem, 2.8vw, 2.5rem);
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.section-lead {
    color: var(--gray-600);
    font-size: 1.02rem;
    line-height: 1.72;
    max-width: 560px;
    margin-bottom: 3.5rem;
}

/* ─── FEATURES ─── */
.features-section { padding: 6rem 2rem; background: white; }

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

/* No orphan card with 6 items in 3-col grid */

.feature-card {
    padding: 1.6rem;
    border-radius: 14px;
    border: 1px solid var(--gray-200);
    background: white;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

@media (hover: hover) {
    .feature-card:hover {
        border-color: var(--brand-300);
        box-shadow: 0 8px 28px rgba(99,102,241,0.1);
        transform: translateY(-2px);
    }
}

.feature-icon-wrap {
    width: 46px; height: 46px;
    background: var(--brand-100);
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--brand-600);
}

.feature-icon-wrap svg { width: 22px; height: 22px; }
.feature-name { font-size: 0.97rem; font-weight: 700; color: var(--gray-900); margin-bottom: 0.45rem; }
.feature-desc { font-size: 0.875rem; color: var(--gray-600); line-height: 1.65; }

/* ─── CAROUSEL ─── */
.carousel-section { background: var(--gray-50); padding: 6rem 0; overflow: hidden; }
.carousel-section .section-inner { padding: 0 2rem; }

.carousel-viewport { margin-top: 2.5rem; overflow: hidden; cursor: grab; }
.carousel-viewport:active { cursor: grabbing; }

.carousel-track {
    display: flex;
    gap: 1.25rem;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    padding: 0.5rem 0;
}

.carousel-slide {
    flex-shrink: 0;
    width: 62vw;
    max-width: 860px;
    aspect-ratio: 16/9;
    border-radius: 14px;
    border: 1px solid var(--gray-200);
    overflow: hidden;
    background: white;
    box-shadow: 0 6px 32px rgba(0,0,0,0.09);
    position: relative;
}

.carousel-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

.slide-placeholder {
    width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: linear-gradient(135deg, var(--brand-100) 0%, var(--gray-100) 100%);
    color: var(--brand-400);
    font-size: 0.88rem;
    font-weight: 500;
    user-select: none;
}

.slide-placeholder svg { width: 52px; height: 52px; opacity: 0.45; }

.slide-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 0.9rem 1.2rem;
    background: linear-gradient(0deg, rgba(0,0,0,0.55) 0%, transparent 100%);
    color: white;
    font-size: 0.83rem;
    font-weight: 500;
}

.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    margin-top: 1.75rem;
}

.c-btn {
    width: 42px; height: 42px;
    border-radius: 50%;
    border: 1px solid var(--gray-200);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--gray-700);
}

.c-btn:hover { background: var(--brand-600); border-color: var(--brand-600); color: white; }
.c-dots { display: flex; gap: 5px; align-items: center; }

.c-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--gray-200);
    border: none;
    cursor: pointer;
    transition: all 0.25s;
}

.c-dot.active { width: 22px; border-radius: 4px; background: var(--brand-600); }

/* ─── HOW IT WORKS ─── */
.how-section { padding: 6rem 2rem; background: white; }

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3.5rem;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 27px;
    left: calc(16.67% + 27px);
    right: calc(16.67% + 27px);
    height: 2px;
    background: linear-gradient(90deg, var(--brand-200), var(--brand-400), var(--brand-200));
}

.step-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1rem; }

.step-num {
    width: 54px; height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
    color: white;
    font-size: 1.25rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 20px rgba(99,102,241,0.4);
    flex-shrink: 0;
}

.step-title { font-size: 1rem; font-weight: 700; color: var(--gray-900); }
.step-desc { font-size: 0.875rem; color: var(--gray-600); line-height: 1.65; }

/* ─── CTA BANNER ─── */
.cta-section {
    padding: 5.5rem 2rem;
    background: linear-gradient(135deg, #1E1B4B 0%, #2D2A6E 40%, #4F46E5 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.045) 1px, transparent 1px);
    background-size: 32px 32px;
}

.cta-inner {
    max-width: 660px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    font-weight: 900;
    color: white;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.cta-subtitle {
    color: rgba(255,255,255,0.68);
    font-size: 1rem;
    margin-bottom: 2.5rem;
    line-height: 1.65;
}

/* ─── CONTACT FORM ─── */
.contact-section { padding: 6rem 2rem; background: var(--gray-50); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.contact-info-list { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 0.5rem; }

.contact-info-item { display: flex; align-items: flex-start; gap: 1rem; }

.contact-info-icon {
    width: 42px; height: 42px;
    background: var(--brand-100);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--brand-600);
}

.contact-info-icon svg { width: 20px; height: 20px; }

.contact-info-label { font-size: 0.8rem; font-weight: 600; color: var(--gray-600); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 2px; }
.contact-info-val { font-size: 0.9rem; color: var(--gray-900); font-weight: 500; }
.contact-info-val a { color: var(--brand-600); text-decoration: none; }
.contact-info-val a:hover { text-decoration: underline; }

.contact-form-card {
    background: white;
    border-radius: 18px;
    padding: 2.5rem;
    border: 1px solid var(--gray-200);
    box-shadow: 0 6px 28px rgba(0,0,0,0.06);
}

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

.form-group { margin-bottom: 1.15rem; }

.form-label {
    display: block;
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.4rem;
}

.form-input {
    width: 100%;
    padding: 0.68rem 1rem;
    border: 1.5px solid var(--gray-200);
    border-radius: 9px;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    color: var(--gray-900);
    background: white;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.form-input:focus {
    border-color: var(--brand-400);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
}

textarea.form-input { resize: vertical; min-height: 115px; }

.form-privacy {
    font-size: 0.78rem;
    color: var(--gray-400);
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

.form-privacy a { color: var(--brand-600); text-decoration: none; }
.form-privacy a:hover { text-decoration: underline; }

.form-submit-btn {
    width: 100%;
    padding: 0.85rem;
    background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
    box-shadow: 0 4px 16px rgba(99,102,241,0.35);
}

.form-submit-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(99,102,241,0.45); }
.form-submit-btn:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }

.form-success {
    display: none;
    text-align: center;
    padding: 2.5rem 1.5rem;
}

.form-success-icon {
    width: 60px; height: 60px;
    background: #D1FAE5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.form-success-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.4rem;
}

.form-success-sub { font-size: 0.875rem; color: var(--gray-600); }

/* ─── FOOTER ─── */
footer { background: var(--gray-900); color: rgba(255,255,255,0.55); padding: 3rem 2rem 2rem; }
.footer-inner { max-width: 1100px; margin: 0 auto; }

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

/* In desktop the cols wrapper is invisible — children slot directly into footer-top grid */
.footer-cols { display: contents; }

.footer-logo-row { display: flex; align-items: center; gap: 10px; margin-bottom: 0.9rem; }

.footer-logo-icon {
    width: 30px; height: 30px;
    background: var(--brand-600);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-text { font-size: 1.05rem; font-weight: 800; color: white; }
.footer-brand-desc { font-size: 0.84rem; line-height: 1.65; }

.footer-col h4 {
    color: white;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }

.footer-col a {
    color: rgba(255,255,255,0.52);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-col a:hover { color: white; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* ─── LIGHTBOX ─── */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 500;
    background: rgba(0,0,0,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.lightbox.open {
    opacity: 1;
    pointer-events: auto;
}

.lb-content {
    max-width: min(1200px, calc(100vw - 120px));
    max-height: calc(100vh - 2rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.lb-content img {
    max-width: 100%;
    max-height: calc(100vh - 6rem);
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 24px 80px rgba(0,0,0,0.6);
    display: block;
}

.lb-caption {
    color: rgba(255,255,255,0.7);
    font-size: 0.875rem;
    text-align: center;
}

.lb-close {
    position: fixed;
    top: 1rem;
    right: 1rem;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 501;
}

.lb-close:hover { background: rgba(255,255,255,0.22); }

.lb-nav {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.18);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s;
}

.lb-nav:hover { background: rgba(255,255,255,0.22); }

.carousel-slide { cursor: zoom-in; }

@media (max-width: 600px) {
    .lb-content { max-width: calc(100vw - 2rem); }
    .lb-nav { width: 36px; height: 36px; }
}

/* ─── REVEAL ANIMATION ─── */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-mockup-wrap { max-width: 560px; margin: 0 auto; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1fr; }
    .footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem; margin-top: 2rem; }
}

@media (max-width: 768px) {
    /* Animated mobile menu: use max-height transition */
    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 66px; left: 0; right: 0;
        background: rgba(16, 14, 48, 0.97);
        padding: 0 2rem;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        gap: 1.2rem;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
        transition:
            max-height 0.42s cubic-bezier(0.23, 1, 0.32, 1),
            opacity    0.32s ease,
            padding    0.38s cubic-bezier(0.23, 1, 0.32, 1);
    }

    .nav-links.open {
        max-height: 420px;
        opacity: 1;
        pointer-events: auto;
        padding: 1.25rem 2rem;
    }

    .nav-hamburger { display: flex; }
    .features-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .steps-grid::before { display: none; }
    .stats-inner { grid-template-columns: 1fr; gap: 1.5rem; }
    .carousel-slide { width: 88vw; }
    .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .form-row { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 0.2rem; }
    .footer-cols { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
