/* NeedAap — Glassmorphic landing (light + dark) */

:root,
[data-theme="light"] {
    color-scheme: light;
    --bg: #f4f2fb;
    --bg-soft: #ebe8f8;
    --surface: rgba(255, 255, 255, 0.72);
    --glass: rgba(255, 255, 255, 0.55);
    --glass-border: rgba(124, 58, 237, 0.14);
    --glass-highlight: rgba(255, 255, 255, 0.85);
    --text: #1a1628;
    --text-secondary: #4b4563;
    --muted: #7c7694;
    --primary: #7c3aed;
    --primary-glow: rgba(124, 58, 237, 0.28);
    --accent-blue: #4f46e5;
    --green: #16a34a;
    --red: #ef4444;
    --amber: #d97706;
    --pink: #db2777;
    --cyan: #0891b2;
    --shadow-deep: 0 24px 64px rgba(88, 62, 180, 0.12);
    --shadow-glow: 0 0 80px rgba(124, 58, 237, 0.1);
    --orb-1: rgba(124, 58, 237, 0.2);
    --orb-2: rgba(79, 70, 229, 0.16);
    --orb-3: rgba(219, 39, 119, 0.1);
    --particle: rgba(124, 58, 237, 0.35);
    --particle-line: rgba(124, 58, 237, 0.08);
    --demo-bg: #f8f9fc;
    --demo-card: #ffffff;
    --demo-border: #e8ecf4;
    --demo-text: #1e1b2e;
    --nav-bg: rgba(255, 255, 255, 0.72);
    --nav-bg-scroll: rgba(255, 255, 255, 0.9);
    --grain-opacity: 0.04;
}

[data-theme="dark"] {
    color-scheme: dark;
    --bg: #06050e;
    --bg-soft: #0c0a1a;
    --surface: rgba(16, 12, 36, 0.55);
    --glass: rgba(18, 14, 40, 0.48);
    --glass-border: rgba(144, 121, 255, 0.12);
    --glass-highlight: rgba(255, 255, 255, 0.04);
    --text: #f0eeff;
    --text-secondary: #c4bfe0;
    --muted: #8d88ac;
    --primary: #8b5cff;
    --primary-glow: rgba(139, 92, 255, 0.35);
    --accent-blue: #4f8fff;
    --green: #35e3a1;
    --red: #ff7e87;
    --amber: #f7bf45;
    --pink: #f58ad9;
    --cyan: #6fcbff;
    --shadow-deep: 0 32px 80px rgba(6, 4, 18, 0.7);
    --shadow-glow: 0 0 120px rgba(139, 92, 255, 0.12);
    --orb-1: rgba(139, 92, 255, 0.22);
    --orb-2: rgba(79, 143, 255, 0.18);
    --orb-3: rgba(245, 138, 217, 0.12);
    --particle: rgba(139, 92, 255, 0.35);
    --particle-line: rgba(139, 92, 255, 0.08);
    --demo-bg: #12102a;
    --demo-card: #1a1630;
    --demo-border: rgba(139, 92, 255, 0.2);
    --demo-text: #f0eeff;
    --nav-bg: rgba(10, 8, 22, 0.6);
    --nav-bg-scroll: rgba(10, 8, 22, 0.88);
    --grain-opacity: 0.028;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    min-height: 100vh;
    font-family: "Inter", -apple-system, "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    position: relative;
    transition: background 0.35s ease, color 0.35s ease;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
    transition: background 0.5s ease;
}
.orb-1 { width: 600px; height: 600px; top: -180px; left: -120px; background: radial-gradient(circle, var(--orb-1), transparent 70%); animation: orbFloat1 18s ease-in-out infinite; }
.orb-2 { width: 500px; height: 500px; top: 400px; right: -200px; background: radial-gradient(circle, var(--orb-2), transparent 70%); animation: orbFloat2 22s ease-in-out infinite; }
.orb-3 { width: 400px; height: 400px; bottom: 200px; left: 20%; background: radial-gradient(circle, var(--orb-3), transparent 70%); animation: orbFloat3 20s ease-in-out infinite; }

@keyframes orbFloat1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(60px,80px); } }
@keyframes orbFloat2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-50px,-90px); } }
@keyframes orbFloat3 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(40px,-60px); } }

#particles { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }

.grain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: var(--grain-opacity);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
    background-size: 180px;
}

.page-shell {
    position: relative;
    z-index: 2;
    width: min(100%, 1180px);
    margin: 0 auto;
    padding: 0 24px 80px;
}

/* Nav */
.topbar,
.glass-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px 20px;
    padding: 12px 20px;
    margin: 12px -8px 0;
    border-radius: 20px;
    background: var(--nav-bg);
    backdrop-filter: blur(24px) saturate(1.6);
    -webkit-backdrop-filter: blur(24px) saturate(1.6);
    border: 1px solid var(--glass-border);
    transition: background 0.3s, box-shadow 0.3s;
}

.topbar.legal-topbar {
    grid-template-columns: auto minmax(0, 1fr) auto;
}

.topbar.legal-topbar .nav {
    justify-content: flex-end;
    flex-wrap: wrap;
}

.glass-nav.scrolled,
.topbar.scrolled {
    background: var(--nav-bg-scroll);
    box-shadow: var(--shadow-deep);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    text-decoration: none;
}

.brand-logo {
    display: block;
    height: 38px;
    width: auto;
    max-width: min(160px, 40vw);
    flex-shrink: 0;
    object-fit: contain;
    object-position: left center;
}

.footer-logo {
    display: block;
    height: 44px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    object-position: left center;
}

.footer-tagline {
    display: block;
    font-size: 13px;
    color: var(--muted);
    margin-top: 8px;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    flex-wrap: nowrap;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.nav::-webkit-scrollbar { display: none; }
.nav a {
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.2s, background 0.2s;
}
.nav a:hover,
.nav a.nav-active,
.nav a.active { color: var(--text); background: rgba(124, 58, 237, 0.08); }
.nav a.nav-active,
.nav a.active { color: var(--primary); }

.nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-shrink: 0;
}

.theme-toggle {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: var(--glass);
    backdrop-filter: blur(12px);
    color: var(--text-secondary);
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.theme-toggle:hover { color: var(--text); border-color: rgba(124, 58, 237, 0.3); }

.theme-icon { grid-area: 1 / 1; display: flex; transition: opacity 0.25s, transform 0.25s; }
[data-theme="light"] .theme-icon-moon { opacity: 0; transform: rotate(-90deg) scale(0.6); }
[data-theme="light"] .theme-icon-sun { opacity: 1; }
[data-theme="dark"] .theme-icon-sun { opacity: 0; transform: rotate(90deg) scale(0.6); }
[data-theme="dark"] .theme-icon-moon { opacity: 1; }

.btn-nav-cta {
    display: inline-flex;
    align-items: center;
    padding: 9px 18px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--accent-blue));
    box-shadow: 0 8px 24px var(--primary-glow);
    transition: transform 0.15s, box-shadow 0.2s;
}
.btn-nav-cta:hover { transform: translateY(-1px); box-shadow: 0 12px 32px var(--primary-glow); }

/* Glass */
.glass-card {
    background: var(--glass);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--shadow-deep), inset 0 1px 0 var(--glass-highlight);
    transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.35s, border-color 0.35s;
}
.glass-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-deep), var(--shadow-glow);
    border-color: rgba(124, 58, 237, 0.22);
}

.glass-card-inner {
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: background 0.3s, border-color 0.3s;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 24px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--accent-blue));
    box-shadow: 0 12px 36px var(--primary-glow);
}
.btn-primary:hover { box-shadow: 0 16px 48px var(--primary-glow); }

.glow-btn { position: relative; overflow: hidden; }
.glow-btn::before {
    content: "";
    position: absolute;
    inset: -50%;
    background: conic-gradient(from 0deg, transparent, rgba(255,255,255,0.12), transparent 30%);
    animation: spinGlow 4s linear infinite;
    pointer-events: none;
}
@keyframes spinGlow { to { transform: rotate(360deg); } }

.btn-ghost {
    color: var(--text-secondary);
    border: 1px solid var(--glass-border);
    background: var(--glass);
    backdrop-filter: blur(12px);
}
.btn-ghost:hover { color: var(--text); border-color: rgba(124, 58, 237, 0.28); }

/* Hero */
.hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    padding: 48px 0 40px;
}

@media (min-width: 960px) {
    .hero {
        grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
        gap: 48px;
        padding: 64px 0 40px;
        align-items: start;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(124, 58, 237, 0.08);
    border: 1px solid rgba(124, 58, 237, 0.16);
    margin-bottom: 20px;
}
.badge-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.4); } }

.eyebrow {
    margin: 0 0 12px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary);
}

h1, .section-heading h2, .final-cta h2, .privacy-strip h2 {
    font-family: "Sora", "Inter", sans-serif;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

h1 {
    font-size: clamp(2.2rem, 4.5vw, 4rem);
    font-weight: 800;
    max-width: 16ch;
}

.text-gradient {
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary), var(--accent-blue), var(--green));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
    .text-gradient {
        -webkit-text-fill-color: currentColor;
        background: none;
    }
}

.lede, .section-lede {
    max-width: 52ch;
    margin-top: 18px;
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.72;
}
.center-lede { margin-left: auto; margin-right: auto; text-align: center; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}
.chip-dot { width: 8px; height: 8px; border-radius: 50%; }
.chip-dot.violet { background: var(--primary); }
.chip-dot.green { background: var(--green); }
.chip-dot.blue { background: var(--accent-blue); }
.chip-dot.pink { background: var(--pink); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
    font-size: 13px;
    color: var(--muted);
}
.proof-stars { color: #f59e0b; letter-spacing: 2px; font-size: 14px; }
.proof-divider { opacity: 0.4; }

/* App screenshots */
.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

picture {
    display: block;
    width: 100%;
}

.demo-shot {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

/* Hero abstract motion graphic */
.hero-art {
    position: relative;
    width: min(100%, 460px);
    aspect-ratio: 1 / 1;
    padding: 0;
    overflow: visible;
    isolation: isolate;
}

.hero-art-glow {
    position: absolute;
    inset: 14%;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-glow), transparent 70%);
    filter: blur(34px);
    z-index: -1;
    animation: heroGlowPulse 6s ease-in-out infinite;
}
@keyframes heroGlowPulse {
    0%, 100% { opacity: 0.7; transform: scale(0.96); }
    50% { opacity: 1; transform: scale(1.04); }
}

.hero-art-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* QR matrix */
.hero-qr-cell {
    fill: var(--primary);
    transform-box: fill-box;
    transform-origin: center;
}
.hero-qr-cell.is-finder { fill: var(--accent-blue); }
.hero-art.is-animated .hero-qr-cell {
    opacity: 0;
    animation: qrCellIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes qrCellIn {
    0% { opacity: 0; transform: scale(0); }
    100% { opacity: 1; transform: scale(1); }
}

/* Scan line */
.hero-scan { opacity: 0; }
.hero-art.is-animated .hero-scan {
    animation: heroScan 2.8s ease-in-out 1s infinite;
}
@keyframes heroScan {
    0% { transform: translateY(0); opacity: 0; }
    14% { opacity: 1; }
    86% { opacity: 1; }
    100% { transform: translateY(154px); opacity: 0; }
}

/* Payment arcs */
.hero-arc {
    stroke: url(#heroArc);
    stroke-width: 3;
    stroke-linecap: round;
    fill: none;
}
.hero-art.is-animated .hero-arc {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: arcFlow 3s ease-in-out infinite;
}
.hero-art.is-animated .hero-arc-2 { animation-delay: 0.55s; }
.hero-art.is-animated .hero-arc-3 { animation-delay: 1.1s; }
@keyframes arcFlow {
    0% { stroke-dashoffset: 1; opacity: 0; }
    25% { opacity: 1; }
    60% { stroke-dashoffset: 0; opacity: 1; }
    100% { stroke-dashoffset: -1; opacity: 0; }
}

/* Floating glass chips */
.hero-chip {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-deep);
    white-space: nowrap;
    z-index: 2;
}
.hero-chip-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.hero-chip-dot.violet { background: var(--primary); }
.hero-chip-dot.blue { background: var(--accent-blue); }
.hero-chip-dot.green { background: var(--green); }
.hero-chip-dot.pink { background: var(--pink); }

.hero-chip-balance {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    top: 2%;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 20px;
}
.hero-chip-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}
.hero-chip-amount {
    font-family: "Sora", "Inter", sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--text);
}

.hero-chip-wallet { top: 25%; left: -7%; }
.hero-chip-split { top: 43%; right: -9%; }
.hero-chip-vault { bottom: 24%; right: -3%; }
.hero-chip-timeline { bottom: 7%; left: -5%; }

.hero-art.is-animated .hero-chip-feature { animation: chipDrift 5.5s ease-in-out infinite; }
.hero-art.is-animated .hero-chip-wallet { animation-delay: -1s; }
.hero-art.is-animated .hero-chip-split { animation-delay: -2.6s; }
.hero-art.is-animated .hero-chip-vault { animation-delay: -3.7s; }
.hero-art.is-animated .hero-chip-timeline { animation-delay: -1.9s; }
.hero-art.is-animated .hero-chip-balance { animation: chipDriftCenter 6.5s ease-in-out infinite; }

@keyframes chipDrift {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-11px); }
}
@keyframes chipDriftCenter {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, -11px); }
}

@media (max-width: 640px) {
    .hero-art { width: min(86vw, 360px); }
    .hero-chip { font-size: 11px; padding: 8px 12px; }
    .hero-chip-amount { font-size: 17px; }
    .hero-chip-balance { padding: 10px 16px; }
    .hero-chip-wallet { top: 20%; left: 0; }
    .hero-chip-split { top: 39%; right: 0; }
    .hero-chip-vault { bottom: 22%; right: 1%; }
    .hero-chip-timeline { bottom: 7%; left: 0; }
}

.demo-card {
    padding: 10px;
    max-width: min(100%, 380px);
    width: 100%;
    overflow: hidden;
}

.demo-card .demo-shot {
    border-radius: 14px;
}

.demo-shot-sm {
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: contain;
    object-position: top center;
}

.showcase-demo {
    padding: 10px;
    overflow: hidden;
    max-width: 100%;
}

.showcase-demo .demo-shot {
    border-radius: 14px;
}

[data-theme="dark"] .demo-shot {
    filter: brightness(0.94) saturate(0.92);
}

/* Proof bar */
.proof-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 20px 0 48px;
}
.proof-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
}
.proof-item:hover,
.privacy-strip:hover,
.glass-nav:hover { transform: none; }
.proof-icon { font-size: 26px; flex-shrink: 0; }
.proof-item strong { display: block; font-size: 14px; font-weight: 800; }
.proof-item span { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }

/* Product sections */
.product-section,
.feature-section,
.how-section,
.testimonials-section,
.cta-section {
    content-visibility: auto;
    contain-intrinsic-size: auto 720px;
}

.product-section { padding: 56px 0; }
.product-section-alt { background: linear-gradient(180deg, transparent, rgba(124, 58, 237, 0.04), transparent); border-radius: 32px; margin: 0 -12px; padding-left: 12px; padding-right: 12px; }

.section-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr);
    gap: 48px;
    align-items: start;
}
.section-grid-reverse .demo-wrap { order: -1; }

@media (min-width: 1025px) {
    .section-grid-reverse .section-copy { order: 2; }
    .section-grid-reverse .demo-wrap { order: 1; }
}

.section-heading h2, .final-cta h2, .privacy-strip h2 {
    font-size: clamp(1.75rem, 3vw, 2.75rem);
    font-weight: 800;
}
.section-heading.center { text-align: center; max-width: 720px; margin: 0 auto 36px; }

.feature-list {
    margin-top: 24px;
    padding-left: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}
.feature-list li {
    position: relative;
    padding-left: 22px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}
.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent-blue));
}
.feature-list strong { color: var(--text); font-weight: 700; }

.demo-wrap {
    display: flex;
    justify-content: center;
    align-self: start;
    width: 100%;
}

.demo-card:hover { transform: translateY(-4px); }

/* ===== Native section graphics ===== */
.section-art {
    position: relative;
    width: min(100%, 380px);
    box-sizing: border-box;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: hidden;
}
@media (max-width: 1024px) {
    .section-art { min-height: 440px; }
}
.section-art:hover { transform: translateY(-4px); }

.art-head { display: flex; align-items: center; gap: 12px; }
.art-head-badge {
    width: 38px; height: 38px;
    border-radius: 11px;
    display: grid; place-items: center;
    font-size: 17px; flex: none;
    color: #fff;
}
.art-head-badge.violet { background: linear-gradient(135deg, var(--primary), var(--accent-blue)); }
.art-head-badge.green { background: linear-gradient(135deg, var(--green), var(--accent-blue)); }
.art-head-badge.pink { background: linear-gradient(135deg, var(--pink), var(--primary)); }
.art-head-text { display: flex; flex-direction: column; min-width: 0; }
.art-head-text strong { font-size: 14px; font-weight: 800; }
.art-head-text span { font-size: 11.5px; color: var(--muted); }
.art-head-amt {
    margin-left: auto;
    font-family: "Sora", "Inter", sans-serif;
    font-size: 17px; font-weight: 800;
    color: var(--text);
}

.art-body { flex: 1; display: flex; min-height: 0; }

.art-foot { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.art-pill {
    font-size: 11px; font-weight: 700;
    padding: 6px 11px;
    border-radius: 999px;
    color: var(--text-secondary);
    background: var(--glass);
    border: 1px solid var(--glass-border);
}

/* QR Wallet — fanned profile stack */
.qr-stack { position: relative; align-items: center; justify-content: center; }
.qr-prof {
    position: absolute;
    width: 76%;
    box-sizing: border-box;
    background: var(--demo-card);
    border: 1px solid var(--demo-border);
    border-radius: 16px;
    padding: 16px;
    display: flex; flex-direction: column; gap: 12px;
    align-items: center;
    box-shadow: var(--shadow-deep);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s ease;
}
.qr-prof:nth-child(1) { transform: translateY(-22px) scale(1); z-index: 3; }
.qr-prof:nth-child(2) { transform: translateY(14px) translateX(-8%) scale(0.9); opacity: 0.8; z-index: 2; }
.qr-prof:nth-child(3) { transform: translateY(46px) translateX(8%) scale(0.82); opacity: 0.55; z-index: 1; }
.qr-prof[data-pos="0"] { transform: translateY(-22px) scale(1); opacity: 1; z-index: 3; }
.qr-prof[data-pos="1"] { transform: translateY(14px) translateX(-8%) scale(0.9); opacity: 0.8; z-index: 2; }
.qr-prof[data-pos="2"] { transform: translateY(46px) translateX(8%) scale(0.82); opacity: 0.55; z-index: 1; }
.qr-prof-row {
    display: flex; align-items: center; gap: 8px;
    align-self: flex-start;
    font-size: 12.5px; font-weight: 700;
    color: var(--demo-text);
}
.qr-prof-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.qr-prof-dot.violet { background: var(--primary); }
.qr-prof-dot.blue { background: var(--accent-blue); }
.qr-prof-dot.green { background: var(--green); }
.qr-mini { width: 104px; height: 104px; }
.qr-mini rect { fill: var(--demo-text); }
.qr-prof-acct {
    align-self: flex-start;
    font-size: 11px;
    color: var(--muted);
    font-family: "Inter", monospace;
}

/* Money — net worth + timeline + investments stack */
.money-stack { flex-direction: column; gap: 13px; justify-content: flex-start; align-items: stretch; }

/* Net-worth split bar (assets vs liabilities) */
.nw-bar { display: flex; height: 13px; border-radius: 8px; overflow: hidden; background: var(--demo-border); }
.nw-seg { height: 100%; width: var(--w); }
.nw-seg.nw-assets { background: var(--green); }
.nw-seg.nw-liab { background: var(--pink); }
.section-art.is-animated .nw-seg { width: 0; animation: nwGrow 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards; }
@keyframes nwGrow { to { width: var(--w); } }
.nw-legend { display: flex; gap: 16px; font-size: 11px; color: var(--muted); }
.nw-legend > span { display: inline-flex; align-items: center; gap: 6px; }

/* Income / expense timeline */
.mtl { position: relative; display: flex; flex-direction: column; gap: 9px; }
.mtl-line { position: absolute; left: 4px; top: 6px; bottom: 6px; width: 2px; border-radius: 2px; background: var(--demo-border); }
.section-art.is-animated .mtl-line { transform: scaleY(0); transform-origin: top; animation: mtlLine 0.6s ease 0.1s forwards; }
@keyframes mtlLine { to { transform: scaleY(1); } }
.mtl-row { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; font-size: 12px; }
.mtl-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; box-shadow: 0 0 0 3px var(--demo-card); }
.mtl-dot.green { background: var(--green); }
.mtl-dot.red { background: var(--red); }
.mtl-label { color: var(--demo-text); font-weight: 600; }
.mtl-amt { margin-left: auto; font-weight: 700; }
.mtl-amt.pos { color: var(--green); }
.mtl-amt.neg { color: var(--red); }
.section-art.is-animated .mtl-row { animation: mtlIn 0.5s ease backwards; }
.section-art.is-animated .mtl-row:nth-child(2) { animation-delay: 0.30s; }
.section-art.is-animated .mtl-row:nth-child(3) { animation-delay: 0.42s; }
.section-art.is-animated .mtl-row:nth-child(4) { animation-delay: 0.54s; }
.section-art.is-animated .mtl-row:nth-child(5) { animation-delay: 0.66s; }
@keyframes mtlIn { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }

/* Linked investments — brokers & MFs */
.invest { background: var(--demo-card); border: 1px solid var(--demo-border); border-radius: 12px; padding: 10px 12px; }
.invest-head { display: flex; align-items: center; gap: 9px; font-size: 12px; }
.invest-brokers { display: inline-flex; }
.brk { width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; color: #fff; border: 2px solid var(--demo-card); margin-left: -6px; }
.brk:first-child { margin-left: 0; }
.brk.b1 { background: var(--primary); }
.brk.b2 { background: var(--green); }
.brk.b3 { background: var(--accent-blue); }
.invest-label { color: var(--muted); }
.invest-val { margin-left: auto; font-weight: 700; color: var(--demo-text); }
.invest-spark { width: 100%; height: 30px; margin-top: 8px; display: block; }
.spark-fill { fill: rgba(22, 163, 74, 0.13); stroke: none; }
.spark-line { fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.section-art.is-animated .spark-line { stroke-dasharray: 320; stroke-dashoffset: 320; animation: sparkDraw 1.1s ease 0.35s forwards; }
.section-art.is-animated .spark-fill { opacity: 0; animation: sparkFade 0.6s ease 1.05s forwards; }
@keyframes sparkDraw { to { stroke-dashoffset: 0; } }
@keyframes sparkFade { to { opacity: 1; } }

.money-legend { font-size: 11.5px; color: var(--muted); }
.money-legend > span { display: inline-flex; align-items: center; gap: 6px; }
.leg-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }
.leg-dot.green { background: var(--green); }
.leg-dot.violet { background: var(--primary); }
.leg-dot.pink { background: var(--pink); }
.money-trend { margin-left: auto; color: var(--green); font-weight: 700; }

/* Money — tabbed card (net worth / timeline / plans) */
.money-art { display: flex; flex-direction: column; }
.money-tabstrip { display: flex; gap: 6px; margin-bottom: 14px; }
.money-tab {
    flex: 1; padding: 7px 4px; border-radius: 10px;
    font: inherit; font-size: 11.5px; font-weight: 700; cursor: pointer;
    color: var(--muted); background: var(--demo-card); border: 1px solid var(--demo-border);
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.money-tab.is-active { color: #fff; background: var(--primary); border-color: var(--primary); }
.money-panels { position: relative; flex: 1; min-height: 232px; }
.money-panel { display: none; flex-direction: column; gap: 11px; }
.money-panel.is-active { display: flex; animation: panelIn 0.35s ease; }
@keyframes panelIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Net-worth panel */
.nw-figure { display: flex; flex-direction: column; gap: 2px; }
.nw-figure-label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; }
.nw-figure-amt { font-size: 40px; font-weight: 800; color: var(--demo-text); line-height: 1.05; letter-spacing: -0.02em; }
.nw-figure-amt small { font-size: 18px; font-weight: 700; color: var(--muted); margin-left: 4px; }
.nw-figure-trend { font-size: 12px; font-weight: 700; color: var(--green); }
.nw-rows { display: flex; flex-direction: column; gap: 11px; margin-top: 6px; }
.nw-row { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.nw-name { display: inline-flex; align-items: center; gap: 7px; width: 96px; flex: none; color: var(--demo-text); font-weight: 600; }
.nw-track { flex: 1; height: 8px; border-radius: 6px; background: var(--demo-border); overflow: hidden; }
.nw-fill { display: block; height: 100%; width: var(--w); border-radius: 6px; }
.nw-fill.g { background: var(--green); }
.nw-fill.v { background: var(--primary); }
.nw-fill.p { background: var(--pink); }
.section-art.is-animated .nw-fill { animation: growFromZero 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s backwards; }
@keyframes growFromZero { from { width: 0; } to { width: var(--w); } }
.nw-amt { width: 66px; flex: none; text-align: right; font-weight: 700; color: var(--demo-text); }

/* Timeline panel */
.art-head.compact { margin-bottom: 2px; }
.tl-daily-label { font-size: 11px; color: var(--muted); }
.tl-bars { display: flex; gap: 8px; height: 54px; margin-top: 8px; }
.tl-bg { flex: 1; display: grid; grid-template-rows: 1fr 1fr; }
.tl-bar { width: 100%; border-radius: 4px; }
.tl-bar.inc { align-self: end; height: var(--h); background: var(--green); transform-origin: bottom; }
.tl-bar.exp { align-self: start; height: var(--h); background: var(--primary); transform-origin: top; }
.section-art.is-animated .money-panel.is-active .tl-bar { animation: barGrow 0.6s cubic-bezier(0.22, 1, 0.36, 1) backwards; }
@keyframes barGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* Money-plans panel */
.plan-row { display: flex; align-items: center; gap: 11px; padding: 10px 11px; border-radius: 12px; background: var(--demo-card); border: 1px solid var(--demo-border); }
.plan-ic { width: 32px; height: 32px; flex: none; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; border-radius: 9px; background: rgba(124, 58, 237, 0.12); }
.plan-info { flex: 1; display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.plan-info strong { font-size: 12.5px; color: var(--demo-text); }
.plan-bar { height: 6px; border-radius: 4px; background: var(--demo-border); overflow: hidden; }
.plan-bar i { display: block; height: 100%; width: var(--w); border-radius: 4px; }
.plan-bar i.g { background: var(--green); }
.plan-bar i.v { background: var(--primary); }
.plan-bar i.b { background: var(--accent-blue); }
.section-art.is-animated .plan-bar i { animation: growFromZero 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s backwards; }
.plan-amt { flex: none; font-size: 12.5px; font-weight: 700; color: var(--demo-text); }
.plan-amt small { font-size: 10px; color: var(--muted); font-weight: 600; margin-left: 1px; }

/* Left pills double as tab triggers */
.pill-feature[data-money-tab] { cursor: pointer; transition: border-color 0.2s, transform 0.2s; }
.pill-feature[data-money-tab].is-active { border-color: var(--primary); }

/* Money minis */
.mini-art {
    box-sizing: border-box;
    padding: 16px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: space-between;
    gap: 10px;
    min-height: 158px;
    text-align: center;
}
.mini-art:hover { transform: translateY(-3px); }
.mini-art-title {
    display: flex; align-items: center; gap: 6px;
    font-size: 11.5px; font-weight: 700;
    color: var(--text-secondary);
}
.mini-art-amt { font-family: "Sora", "Inter", sans-serif; font-size: 18px; font-weight: 800; }
.mini-art-amt span { font-size: 11px; font-weight: 600; color: var(--muted); }
.split-avatars { display: flex; }
.split-av {
    width: 38px; height: 38px;
    border-radius: 50%;
    display: grid; place-items: center;
    font-size: 13px; font-weight: 800; color: #fff;
    border: 2px solid var(--demo-card);
    margin-left: -10px;
}
.split-av:first-child { margin-left: 0; }
.split-av.violet { background: var(--primary); }
.split-av.blue { background: var(--accent-blue); }
.split-av.green { background: var(--green); }
.split-av.more { background: var(--muted); }
.voice-wave { display: flex; align-items: center; gap: 4px; height: 42px; }
.voice-wave i {
    width: 4px;
    height: 28%;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--primary), var(--accent-blue));
}
.section-art.is-animated .voice-wave i { animation: voicePulse 1s ease-in-out infinite; }
.voice-wave i:nth-child(2) { animation-delay: 0.1s; }
.voice-wave i:nth-child(3) { animation-delay: 0.2s; }
.voice-wave i:nth-child(4) { animation-delay: 0.3s; }
.voice-wave i:nth-child(5) { animation-delay: 0.15s; }
.voice-wave i:nth-child(6) { animation-delay: 0.35s; }
.voice-wave i:nth-child(7) { animation-delay: 0.25s; }
.voice-wave i:nth-child(8) { animation-delay: 0.05s; }
.voice-wave i:nth-child(9) { animation-delay: 0.4s; }
@keyframes voicePulse { 0%, 100% { height: 24%; } 50% { height: 92%; } }

/* Vault — encrypted document stack */
.vault-stage { flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
.vault-lock { width: 60px; height: 60px; flex: none; filter: drop-shadow(0 6px 16px rgba(139, 92, 255, 0.3)); }
.section-art.is-animated .vault-lock { animation: lockIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) backwards; }
@keyframes lockIn { from { opacity: 0; transform: scale(0.3) translateY(-10px); } to { opacity: 1; transform: none; } }
.vault-body { fill: var(--primary); }
.vault-shackle { fill: none; stroke: var(--accent-blue); stroke-width: 7; stroke-linecap: round; }
.section-art.is-animated .vault-shackle { animation: shackleLift 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s backwards; transform-origin: 40px 38px; }
@keyframes shackleLift { from { transform: translateY(-6px); } to { transform: none; } }
.vault-keyhole { fill: var(--demo-card); }
.section-art.is-animated .vault-keyhole { animation: keyholePulse 2.4s ease-in-out infinite; }
@keyframes keyholePulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.vault-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
}
.vault-item {
    display: flex; align-items: center; gap: 9px;
    padding: 9px 11px;
    border-radius: 12px;
    font-size: 12px; font-weight: 600;
    color: var(--demo-text);
    background: var(--demo-card);
    border: 1px solid var(--demo-border);
    overflow: hidden;
}
.vault-item:last-child { grid-column: 1 / -1; }
.vault-ic {
    display: inline-flex; align-items: center; justify-content: center;
    width: 26px; height: 26px; flex: none;
    border-radius: 8px;
    font-size: 14px; font-style: normal;
    background: rgba(139, 92, 255, 0.14);
}
.vi-media { background: rgba(79, 143, 255, 0.16); }
.vi-doc { background: rgba(53, 227, 161, 0.16); }
.vi-audio { background: rgba(255, 159, 67, 0.18); }
.vi-card { background: rgba(79, 143, 255, 0.16); }
.vi-pass { background: rgba(139, 92, 255, 0.16); }
.vi-auth { background: rgba(108, 203, 255, 0.18); }
.section-art.is-animated .vault-item { animation: vaultItemIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) backwards; }
.section-art.is-animated .vault-item:nth-child(1) { animation-delay: 0.30s; }
.section-art.is-animated .vault-item:nth-child(2) { animation-delay: 0.38s; }
.section-art.is-animated .vault-item:nth-child(3) { animation-delay: 0.46s; }
.section-art.is-animated .vault-item:nth-child(4) { animation-delay: 0.54s; }
.section-art.is-animated .vault-item:nth-child(5) { animation-delay: 0.62s; }
.section-art.is-animated .vault-item:nth-child(6) { animation-delay: 0.70s; }
.section-art.is-animated .vault-item:nth-child(7) { animation-delay: 0.78s; }
@keyframes vaultItemIn { from { opacity: 0; transform: translateY(10px) scale(0.92); } to { opacity: 1; transform: none; } }
/* Encrypt sweep — a soft highlight passes over the populated grid once. */
.section-art.is-animated .vault-item::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(139, 92, 255, 0.22) 50%, transparent 70%);
    transform: translateX(-120%);
    animation: vaultSweep 1.1s ease 0.9s 1 backwards;
}
.vault-item { position: relative; }
@keyframes vaultSweep { to { transform: translateX(120%); } }
.vault-status { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--muted); }
.vault-status-dots { display: flex; gap: 4px; }
.vault-status-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.section-art.is-animated .vault-status-dots i { animation: dotBlink 1.6s ease-in-out infinite; }
.vault-status-dots i:nth-child(2) { animation-delay: 0.2s; }
.vault-status-dots i:nth-child(3) { animation-delay: 0.4s; }
.vault-status-dots i:nth-child(4) { animation-delay: 0.6s; }
.vault-status-dots i:nth-child(5) { animation-delay: 0.8s; }
@keyframes dotBlink { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }

/* Paired columns: screenshot height follows content (set via --pair-max-height in script.js) */
@media (min-width: 960px) {
    .hero .hero-visual {
        align-items: center;
        justify-content: center;
    }

    .hero .hero-art {
        width: min(100%, 460px, var(--pair-max-height, 460px));
    }
}

@media (min-width: 1025px) {
    .section-grid .demo-wrap,
    .feature-showcase .showcase-demo {
        max-height: var(--pair-max-height, none);
        overflow: hidden;
    }

    .section-grid .demo-card,
    .feature-showcase .showcase-demo {
        max-height: var(--pair-max-height, none);
        height: var(--pair-max-height, auto);
        display: flex;
        align-items: flex-start;
        justify-content: center;
        box-sizing: border-box;
    }

    .section-grid .section-art {
        height: var(--pair-max-height, auto);
        min-height: 420px;
    }

    .section-grid .demo-card picture,
    .feature-showcase .showcase-demo picture {
        display: flex;
        align-items: flex-start;
        justify-content: center;
        width: 100%;
        max-height: calc(var(--pair-max-height, 640px) - 20px);
        min-height: 0;
    }

    .section-grid .demo-card .demo-shot,
    .feature-showcase .showcase-demo .demo-shot {
        width: auto;
        max-width: 100%;
        max-height: calc(var(--pair-max-height, 640px) - 20px);
        height: auto;
        object-fit: contain;
        object-position: top center;
    }
}

.demo-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 24px;
}
.demo-mini { padding: 8px; overflow: hidden; }

.pill-features { display: grid; gap: 10px; margin-top: 24px; }
.pill-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
}
.pf-icon { font-size: 22px; flex-shrink: 0; }
.pill-feature strong { display: block; font-size: 14px; }
.pill-feature span { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }

/* Feature showcase */
.feature-section { padding: 56px 0; }
.feature-showcase {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.feature-card { padding: 22px; }
.feature-card:hover { transform: translateY(-3px); }
.feature-card h3 { font-size: 15px; font-weight: 800; margin-bottom: 8px; }
.feature-card p { font-size: 13.5px; color: var(--text-secondary); line-height: 1.65; }

/* App showcase slider — full-bleed screenshots + SEO copy */
.showcase-slider-section {
    padding: 48px 0 56px;
    overflow: hidden;
}

.showcase-slider-heading {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 8px;
    margin-bottom: 8px;
}

.showcase-slider {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.showcase-slider-viewport {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
    align-items: stretch;
    background: linear-gradient(
        118deg,
        rgba(124, 58, 237, 0.09) 0%,
        rgba(167, 139, 250, 0.06) 38%,
        rgba(99, 102, 241, 0.07) 62%,
        rgba(124, 58, 237, 0.05) 100%
    );
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

[data-theme="dark"] .showcase-slider-viewport {
    background: linear-gradient(
        118deg,
        rgba(124, 58, 237, 0.16) 0%,
        rgba(26, 22, 48, 0.92) 45%,
        rgba(79, 143, 255, 0.1) 100%
    );
}

.showcase-slider-track {
    position: relative;
    grid-column: 1 / -1;
    grid-row: 1;
}

.slider-side-rail {
    grid-column: 2;
    grid-row: 1;
    z-index: 12;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 0 56px 40px 28px;
    pointer-events: none;
}

.slider-nav-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    pointer-events: auto;
}

.slider-slide {
    display: none;
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
    align-items: stretch;
    min-height: clamp(460px, 74vh, 780px);
    background: transparent;
}

.slider-slide.is-active {
    display: grid;
}

.slider-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    padding: 28px 8px 28px 28px;
    background: transparent;
}

.slider-visual picture {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    height: 100%;
    max-height: min(78vh, 820px);
}

.slider-shot {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: min(78vh, 820px);
    object-fit: contain;
    object-position: top center;
    border-radius: 0;
}

.slider-panel {
    align-self: center;
    margin: 0;
    padding: 40px 56px 88px 28px;
    max-width: 560px;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
}

.slider-title {
    font-family: "Sora", "Inter", sans-serif;
    font-size: clamp(1.25rem, 2.2vw, 1.65rem);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin: 8px 0 14px;
    color: var(--text);
}

.slider-lede {
    font-size: 15px;
    line-height: 1.72;
    color: var(--text-secondary);
    margin-bottom: 18px;
}

.slider-seo-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: grid;
    gap: 10px;
}

.slider-seo-list li {
    position: relative;
    padding-left: 20px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.slider-seo-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent-blue));
}

.slider-meta {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.slider-nav {
    position: static;
    transform: none;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: var(--glass);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: var(--text);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: 0 8px 28px rgba(15, 10, 40, 0.12);
}

.slider-nav:hover {
    transform: scale(1.05);
    border-color: rgba(124, 58, 237, 0.35);
}

.slider-nav:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px 24px 8px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    padding: 0;
    cursor: pointer;
    background: rgba(124, 58, 237, 0.22);
    transition: transform 0.2s ease, background 0.2s ease;
}

.slider-dot.is-active {
    background: var(--primary);
    transform: scale(1.2);
}

.slider-dot:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.icon-badge {
    width: 44px; height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
}
.violet { background: rgba(124, 58, 237, 0.14); color: #a78bfa; }
.blue { background: rgba(79, 70, 229, 0.12); color: #818cf8; }
.green { background: rgba(22, 163, 74, 0.12); color: #4ade80; }
.amber { background: rgba(217, 119, 6, 0.12); color: #fbbf24; }
.pink { background: rgba(219, 39, 119, 0.12); color: #f472b6; }
.cyan { background: rgba(8, 145, 178, 0.12); color: #22d3ee; }

/* How it works */
.how-section { padding: 56px 0; }
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    list-style: none;
    counter-reset: none;
}
.step-card { padding: 28px; }
.step-num {
    display: block;
    font-family: "Sora", sans-serif;
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}
.step-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 10px; }
.step-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.65; }

/* Testimonials */
.testimonials-section { padding: 56px 0; }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.testimonial-card { padding: 26px; }
.testimonial-stars { color: #f59e0b; font-size: 14px; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial-card p { font-size: 15px; line-height: 1.7; color: var(--text-secondary); font-style: italic; }
.testimonial-card footer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--glass-border);
}
.avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 14px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--accent-blue));
}
.testimonial-card footer strong { display: block; font-size: 14px; }
.testimonial-card footer span { font-size: 12px; color: var(--muted); }

/* Upcoming */
.upcoming-section { padding: 56px 0; }
.upcoming-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.upcoming-card { padding: 28px; position: relative; }
.upcoming-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.2);
}
.upcoming-icon { font-size: 36px; margin-bottom: 16px; }
.upcoming-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 10px; padding-right: 72px; }
.upcoming-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.65; }

/* Connect section */
.connect-section { padding: 56px 0; text-align: center; }
.connect-orbit {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    max-width: 740px;
    margin: 40px auto 32px;
}
.connect-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 108px;
    padding: 18px 10px 14px;
    border-radius: 20px;
    text-decoration: none;
    color: var(--text);
    animation: ciFloat 4s ease-in-out infinite;
    animation-delay: var(--ci-delay, 0s);
    transition: transform 0.15s;
}
a.connect-icon:hover { transform: translateY(-5px) scale(1.04); }
.ci-emoji {
    font-size: 1.9rem;
    width: 52px; height: 52px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 14px;
    background: var(--bg-soft);
}
.ci-name { font-size: .7rem; font-weight: 600; color: var(--text-secondary); text-align: center; line-height: 1.3; }
.ci-badge {
    font-size: .6rem; font-weight: 700;
    padding: 2px 7px; border-radius: 999px;
    text-transform: uppercase; letter-spacing: .04em;
}
.ci-badge.live { background: rgba(34,197,94,.14); color: #16a34a; }
.ci-badge.soon { background: rgba(124,58,237,.1); color: var(--primary); }
.ci-badge.promax { background: rgba(234,179,8,.15); color: #b45309; }
[data-theme="dark"] .ci-badge.promax { color: #f59e0b; }
[data-theme="dark"] .ci-badge.live { color: #35e3a1; }
@keyframes ciFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* Privacy strip */
.privacy-strip {
    margin-top: 48px;
    padding: 32px 36px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.privacy-strip:hover { transform: none; }
.privacy-strip-inner { display: flex; align-items: flex-start; gap: 20px; flex: 1; min-width: 260px; }
.privacy-strip-icon { font-size: 40px; }
.privacy-strip h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); margin-bottom: 8px; }
.privacy-strip p { color: var(--text-secondary); font-size: 15px; line-height: 1.65; max-width: 52ch; }
.privacy-pills { display: flex; flex-wrap: wrap; gap: 8px; }

/* Final CTA */
.final-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-top: 56px;
    padding: 36px 40px;
    position: relative;
    overflow: hidden;
}
.final-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.06), rgba(79, 70, 229, 0.04));
    pointer-events: none;
}
.cta-content { position: relative; z-index: 1; }
.cta-sub { margin-top: 12px; color: var(--text-secondary); font-size: 15px; max-width: 42ch; }
.cta-actions {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    flex-wrap: wrap;
}

/* Footer */
.site-footer {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 20px 32px;
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid var(--glass-border);
}
.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    grid-row: span 2;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; font-weight: 600; color: var(--muted); align-self: end; }
.footer-links a:hover { color: var(--text); }
.footer-tag {
    grid-column: 2;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    text-align: right;
    align-self: start;
}

/* Reveal — visible by default; animate only when JS is enabled */
.reveal {
    opacity: 1;
    transform: none;
}

html.js .reveal:not(.is-visible) {
    opacity: 0;
    transform: translateY(20px);
}

html.js .reveal {
    transition: opacity 0.55s cubic-bezier(0.22, 0.61, 0.36, 1),
        transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
    transition-delay: var(--delay, 0s);
}

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

.reveal-delay-1 { transition-delay: 0.12s; }

/* Above-the-fold hero: show immediately */
html.js .hero .hero-copy.reveal,
html.js .hero .hero-visual.reveal {
    opacity: 1;
    transform: none;
}

/* Legal pages */
.legal-shell { max-width: 980px; }
.legal-topbar { padding-bottom: 22px; }
.legal-page { display: grid; gap: 18px; padding: 10px 0 24px; }
.legal-page h1 {
    font-family: "Sora", "Inter", sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}
.legal-meta { margin-top: 10px; color: var(--muted); font-size: 13px; letter-spacing: 0.02em; text-transform: uppercase; }
.legal-card { padding: 28px; }
.legal-card p + p { margin-top: 14px; }
.legal-list { margin: 16px 0 0; padding-left: 20px; color: var(--text-secondary); }
.legal-card li { margin-top: 10px; font-size: 14.5px; line-height: 1.7; }
.legal-contact { display: grid; gap: 6px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--glass-border); }
.legal-contact strong { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.text-link { font-weight: 800; color: var(--primary); }
.text-link:hover { color: var(--accent-blue); }

/* Support — external feedback form link */
.support-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
    align-items: center;
}
.support-form-actions .btn {
    min-height: 48px;
}
.feature-form-config-note {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.55;
    color: var(--text-secondary);
    background: rgba(124, 58, 237, 0.06);
    border: 1px solid var(--glass-border);
}
.feature-form-config-note code {
    font-size: 12px;
}

/* Download page */
.download-body { min-height: 100vh; }
.download-shell {
    max-width: 1080px;
    padding-bottom: 100px;
}
.download-page {
    display: grid;
    gap: 28px;
    padding: 8px 0 32px;
}
.download-hero {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    padding: 12px 0 8px;
}
.download-hero h1 {
    font-family: "Sora", "Inter", sans-serif;
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-top: 10px;
}
.download-lead {
    margin-top: 14px;
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.65;
}
.download-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}
.store-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 28px;
    transition: transform 0.35s, box-shadow 0.35s, opacity 0.35s, border-color 0.35s;
}
.store-card-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.store-card-head h2 {
    font-family: "Sora", "Inter", sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.store-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.14), rgba(79, 70, 229, 0.1));
    color: var(--primary);
    flex-shrink: 0;
}
.store-icon--ios { color: var(--text); }
[data-theme="dark"] .store-icon--ios { color: var(--text); }
.store-badge {
    display: inline-block;
    margin-top: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
    background: rgba(124, 58, 237, 0.08);
    border: 1px solid var(--glass-border);
}
.store-badge--live {
    color: var(--green);
    background: rgba(22, 163, 74, 0.1);
    border-color: rgba(22, 163, 74, 0.22);
}
[data-theme="dark"] .store-badge--live {
    background: rgba(53, 227, 161, 0.1);
    border-color: rgba(53, 227, 161, 0.22);
}
.store-card-copy {
    color: var(--text-secondary);
    font-size: 14.5px;
    line-height: 1.65;
    flex: 1;
}
.store-qr-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.store-qr-frame {
    padding: 14px;
    border-radius: 18px;
    background: #fff;
}
[data-theme="dark"] .store-qr-frame {
    background: rgba(255, 255, 255, 0.96);
}
.store-qr {
    display: block;
    width: 168px;
    height: 168px;
    border-radius: 8px;
}
.store-qr-hint {
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 0.02em;
}
.store-cta {
    width: 100%;
    gap: 10px;
    margin-top: auto;
}
.store-cta-icon {
    display: flex;
    margin-right: 4px;
}
.store-card--soon .store-cta {
    background: linear-gradient(135deg, var(--text-secondary), var(--muted));
    box-shadow: none;
}
.download-desktop-note {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    padding: 0 12px;
}
.download-forms {
    padding: 28px 32px;
    max-width: 640px;
    margin: 0 auto;
    width: 100%;
    text-align: center;
}
.download-forms-title {
    font-family: "Sora", "Inter", sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 10px;
}
.download-forms-lead {
    color: var(--text-secondary);
    font-size: 14.5px;
    line-height: 1.65;
    margin-bottom: 20px;
}
.download-forms-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}
.download-forms-actions .btn {
    min-width: min(100%, 220px);
}
.pmq-form--unset {
    opacity: 0.45;
    pointer-events: none;
    cursor: not-allowed;
}
.download-features {
    padding: 28px 32px;
    max-width: 720px;
    margin: 0 auto;
    width: 100%;
}
.download-features-title {
    font-family: "Sora", "Inter", sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 14px;
}
.download-features-list {
    list-style: none;
    display: grid;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 14.5px;
    line-height: 1.6;
    margin-bottom: 18px;
}
.download-features-list li::before {
    content: "✓";
    margin-right: 10px;
    color: var(--primary);
    font-weight: 800;
}
.mobile-cta-bar {
    display: none;
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 100;
    padding: 14px 16px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-radius: 18px;
    box-shadow: var(--shadow-deep), 0 0 40px var(--primary-glow);
}
.mobile-cta-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.mobile-cta-copy strong {
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
}
.mobile-cta-copy span {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.35;
}
.mobile-cta-btn {
    flex-shrink: 0;
    min-height: 46px;
    padding: 0 18px;
    font-size: 13px;
    white-space: nowrap;
}
.is-mobile-ua .store-card.is-primary {
    border-color: rgba(124, 58, 237, 0.35);
    box-shadow: var(--shadow-deep), 0 0 48px var(--primary-glow);
}
.is-mobile-ua .store-card.is-secondary {
    opacity: 0.72;
    transform: scale(0.98);
}
.is-mobile-ua .store-card.is-secondary:hover {
    transform: scale(0.98);
}
.is-mobile-ua.platform-android .store-card[data-platform="ios"] .store-qr-wrap,
.is-mobile-ua.platform-ios .store-card[data-platform="android"] .store-qr-wrap {
    display: none;
}
@media (max-width: 820px) {
    .download-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; width: 100%; }
}
@media (max-width: 720px) {
    .is-mobile-ua .mobile-cta-bar {
        display: flex;
    }
    .download-shell {
        padding-bottom: 120px;
    }
    .download-desktop-note .chip { display: none; }
}

/* Responsive */
@media (max-width: 1024px) {
    .section-grid, .section-grid-reverse { grid-template-columns: 1fr; }
    .section-grid-reverse .demo-wrap,
    .section-grid-reverse .section-copy { order: unset; }
    .proof-bar { grid-template-columns: repeat(2, 1fr); }
    .feature-showcase { grid-template-columns: 1fr; }
    .showcase-demo { max-width: 100%; }
    .slider-slide.is-active {
        grid-template-columns: 1fr;
    }

    .slider-panel {
        margin: 0;
        padding: 28px 24px 32px;
        max-width: none;
        border-top: none;
    }

    .slider-visual {
        padding: 24px 20px 8px;
    }

    .showcase-slider-viewport {
        grid-template-columns: 1fr;
    }

    .slider-side-rail {
        grid-column: 1;
        justify-content: center;
        align-items: center;
        padding: 4px 24px 16px;
    }

    .slider-panel {
        padding-bottom: 32px;
    }

    .steps-grid, .testimonials-grid, .upcoming-grid { grid-template-columns: 1fr; }
    .final-cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 900px) {
    .glass-nav,
    .topbar.legal-topbar {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "brand actions"
            "nav nav";
    }
    .glass-nav .brand,
    .topbar.legal-topbar .brand { grid-area: brand; }
    .brand-logo { height: 32px; max-width: 160px; }
    .glass-nav .nav,
    .topbar.legal-topbar .nav {
        grid-area: nav;
        justify-content: flex-start;
        padding-top: 4px;
    }
    .glass-nav .nav-actions,
    .topbar.legal-topbar .nav-actions { grid-area: actions; }
    .nav a { font-size: 12px; padding: 7px 10px; }
}

@media (max-width: 720px) {
    .page-shell { padding: 0 16px 56px; }
    .topbar.legal-topbar {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "brand actions"
            "nav nav";
    }
    .topbar.legal-topbar .brand { grid-area: brand; }
    .topbar.legal-topbar .nav { grid-area: nav; justify-content: flex-start; }
    .topbar.legal-topbar .nav-actions { grid-area: actions; }
    .proof-bar { grid-template-columns: 1fr; }
    .showcase-grid { grid-template-columns: 1fr; }
    .slider-panel { padding: 24px 20px 28px; }
    .slider-nav { width: 42px; height: 42px; }
    .demo-row { grid-template-columns: 1fr; }
    .site-footer { grid-template-columns: 1fr; }
    .footer-tag { grid-column: 1; text-align: left; }
    .footer-brand { grid-row: auto; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal, .orb, .glow-btn::before, .phone-glow, .badge-dot { animation: none; transition: none; }
    .reveal { opacity: 1; transform: none; }
    .hero-art-glow,
    .hero-art .hero-qr-cell,
    .hero-art .hero-arc,
    .hero-art .hero-chip { animation: none; }
    .hero-art .hero-qr-cell { opacity: 1; transform: none; }
    .hero-art .hero-scan { opacity: 0; }
    .section-art .nw-seg,
    .section-art .nw-fill,
    .section-art .mtl-line,
    .section-art .mtl-row,
    .section-art .tl-bar,
    .section-art .plan-bar i,
    .section-art .money-panel,
    .section-art .spark-line,
    .section-art .spark-fill,
    .section-art .voice-wave i,
    .section-art .vault-lock,
    .section-art .vault-shackle,
    .section-art .vault-keyhole,
    .section-art .vault-item,
    .section-art .vault-item::after,
    .section-art .vault-status-dots i,
    .qr-prof { animation: none; transition: none; }
}
