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

:root {
    --dark:        #161618;
    --dark-2:      #161618;
    --dark-3:      #1E1E22;
    --grey_dark:   #2A2A2E;
    --grey_soft:   #E5E3ED;
    --white:       #ffffff;
    --gray:        #f4f4f4;
    --muted:       #8c8c97;
    --muted-2:     #5d5d64;
    --accent:      #A8A8A8;
    --accent-2:    #A8A8A8;
    --accent-glow: rgba(200,198,212,.25);
    --accent-blue: #5C37F7;
    --accent-rose: #F9038A;
    --r-xl:        24px;
    --r-lg:        18px;
    --r-phone:     48px;
    --ease:        cubic-bezier(.4,0,.2,1);
    --ease-spring: cubic-bezier(.34,1.56,.64,1);
}

html { scroll-behavior: smooth; overflow-x: clip; }
body {
    font-family: 'Onest', sans-serif;
    background: var(--dark);
    color: var(--white);
    overflow-x: clip;
}
img  { display: block; max-width: 100%; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }

/* ── Scroll Reveal ── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.rl { transform: translateX(-50px); }
.rr { transform: translateX(50px); }
.rl.visible, .rr.visible { transform: none; }

/* ══════════════════════════════════════════
   HEADER
══════════════════════════════════════════ */
.hdr {
    position: fixed; top: 0; left: 0; right: 0; z-index: 200;
    height: 68px;
    display: flex; align-items: center; gap: 36px;
    padding: 0 48px;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid transparent;
    transition: background .4s, border-color .4s, backdrop-filter .4s, height .35s ease;
}
.hdr-logo-img {
    height: 28px; width: auto; flex-shrink: 0; display: block;
    content: url('../images/ulov_while.svg');
}
.hdr-nav { display: flex; gap: 24px; flex: 1; }
.hdr-nav a {
    font-size: 14px; font-weight: 500; color: var(--muted);
    transition: color .25s; cursor: pointer;
}
.hdr-nav a:hover { color: var(--white); }
.hdr-right { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }

/* flags */
.flags { display: flex; gap: 6px; align-items: center; }
.flag {
    width: 26px; height: 26px; border-radius: 50%; overflow: hidden; cursor: pointer;
    border: 2px solid transparent;
    transition: border-color .25s, transform .25s; flex-shrink: 0;
}
.flag img { width: 100%; height: 100%; object-fit: cover; }
.flag:hover { transform: scale(1.12); }
.flag.on    { border-color: var(--white); }

/* header download button */
.btn-dl {
    font-family: 'Onest', sans-serif; font-size: 14px; font-weight: 600;
    background: var(--white); color: var(--dark);
    border: none; border-radius: 100px; padding: 9px 22px; cursor: pointer;
    transition: background .25s, transform .25s, box-shadow .25s, color .25s;
}
.btn-dl:hover {
    background: var(--accent-rose); color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px var(--accent-glow);
}

.hdr.scrolled {
    height: 52px;
    background: rgba(13,13,15,.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

/* Burger */
.hdr-burger {
    display: none; background: none; border: none; cursor: pointer; padding: 4px;
}

/* ══════════════════════════════════════════
   MOBILE MENU
══════════════════════════════════════════ */
.mob-menu {
    position: fixed; inset: 0;
    background: var(--dark);
    z-index: 300;
    display: flex; flex-direction: column;
    padding: 24px 28px 40px;
    opacity: 0; pointer-events: none;
    transform: translateY(-12px);
    transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.mob-menu.open { opacity: 1; pointer-events: all; transform: none; }
.mob-menu__head {
    display: flex; justify-content: space-between; align-items: center;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--grey_dark);
    margin-bottom: 8px;
}
.mob-menu__close {
    background: var(--dark-2); border: 1px solid var(--grey_dark);
    cursor: pointer; color: var(--white);
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s;
}
.mob-menu__close:hover { background: var(--grey_dark); }
.mob-menu__nav {
    display: flex; flex-direction: column;
    flex: 1; padding-top: 12px; gap: 0;
}
.mob-menu__nav a {
    display: flex; align-items: center;
    padding: 18px 0;
    font-size: 20px; font-weight: 600; color: var(--white);
    border-bottom: 1px solid var(--grey_dark);
    transition: color .2s; cursor: pointer;
    letter-spacing: -0.3px;
}
.mob-menu__nav a:last-child { border-bottom: none; }
.mob-menu__nav a:active { color: var(--muted); }
.mob-menu__bottom {
    display: flex; flex-direction: row; align-items: center; gap: 12px;
    padding-top: 24px;
    border-top: 1px solid var(--grey_dark);
}
.mob-menu__flags { justify-content: flex-start; gap: 8px; }
.mob-menu__flags .flag { width: 32px; height: 32px; padding: 0; }
.mob-menu__dl { flex: 1; text-align: center; padding: 13px 20px; font-size: 15px; }
.mob-menu__backdrop {
    display: none;
}

[data-theme="light"] .mob-menu { background: #fff; }
[data-theme="light"] .mob-menu__close { background: var(--dark-3); border-color: #E5E3ED; color: #1A1A1E; }
[data-theme="light"] .mob-menu__nav a { color: #1A1A1E; border-bottom-color: #E5E3ED; }
[data-theme="light"] .mob-menu__head { border-bottom-color: #E5E3ED; }
[data-theme="light"] .mob-menu__bottom { border-top-color: #E5E3ED; }

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    background: var(--dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 68px;
    padding-bottom: 40px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--grey_dark);
}

/* Ambient glow blobs */
.hero::before {
    content: '';
    position: absolute;
    width: 700px; height: 700px;
    top: -10%; left: 50%; transform: translateX(-50%);
    pointer-events: none;
    animation: pulseGlow 6s ease-in-out infinite;
}
.hero::after {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    bottom: 10%; right: 10%;
    pointer-events: none;
    animation: pulseGlow 8s ease-in-out infinite 2s;
}

@keyframes pulseGlow {
    0%, 100% { opacity: .7; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}

.hero::after {
    animation: pulseGlow2 8s ease-in-out infinite 2s;
}
@keyframes pulseGlow2 {
    0%, 100% { opacity: .5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}


/* hero text */
.hero-text {
    text-align: center;
    padding: 72px 24px 48px;
    position: relative; z-index: 2;
    max-width: 900px;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(200,198,212,.12);
    border: 1px solid rgba(200,198,212,.3);
    border-radius: 100px; padding: 6px 16px;
    font-size: 12px; font-weight: 600; letter-spacing: 1px;
    text-transform: uppercase; color: var(--accent);
    margin-bottom: 24px;
    animation: fadeSlideDown .6s var(--ease) both;
}
.hero-badge-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent);
    animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; } 50% { opacity: .3; }
}
@keyframes fadeSlideDown {
    from { opacity: 0; transform: translateY(-16px); }
    to   { opacity: 1; transform: none; }
}

.hero-title {
    font-size: clamp(36px, 5.1vw, 68px);
    font-weight: 900;
    color: var(--white);
    letter-spacing: -2.5px;
    line-height: 1.0;
    margin-bottom: 20px;
    animation: fadeSlideUp .7s var(--ease) .1s both;
}
.hero-title .accent-word {
    background: linear-gradient(135deg, #D8D6E4 0%, #C8C6D6 50%, #E5E3ED 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-sub {
    font-size: 18px; font-weight: 400;
    color: rgba(255,255,255,.45);
    margin-bottom: 40px; line-height: 1.65;
    animation: fadeSlideUp .7s var(--ease) .2s both;
}

@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: none; }
}

/* Store buttons */
.store-row {
    display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
    animation: fadeSlideUp .7s var(--ease) .3s both;
}
.btn-store {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: 'Onest', sans-serif; font-size: 17px; font-weight: 600;
    background: transparent;
    border: 1px solid rgba(255,255,255,.15);
    color: var(--white);
    border-radius: 100px; padding: 16px 35px; cursor: pointer;
    backdrop-filter: blur(12px);
    transition: background .25s, border-color .25s, transform .25s;
}
.btn-store svg { flex-shrink: 0; }
.btn-store:hover {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.3);
    transform: translateY(-1px);
}

/* Scroll hint */
.hero-scroll-hint {
    position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    font-size: 11px; font-weight: 500; letter-spacing: 2px;
    text-transform: uppercase; color: var(--muted-2); z-index: 2;
    animation: fadeIn 1s .8s both;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.hero-scroll-line {
    width: 1px; height: 40px;
    background: linear-gradient(to bottom, var(--muted-2), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
    0%, 100% { opacity: .4; transform: scaleY(1); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(.5); transform-origin: top; }
}

/* ── Hero phone cluster ── */
.hero-visual {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 580px;
    flex-shrink: 0;
    z-index: 2;
    perspective: 1200px;
}

.hv { position: absolute; }

/* C: side phone */
.hv-c {
    left: calc(50% - 288px);
    bottom: 0;
    width: 190px;
    z-index: 1;
    transform: rotateY(12deg) scale(.92);
    transition: transform .5s var(--ease);
}
.hero-visual:hover .hv-c {
    transform: rotateY(8deg) scale(.94);
}

/* D: center phone — main */
.hv-d {
    left: 50%; transform: translateX(-50%);
    bottom: 0;
    width: 280px;
    z-index: 3;
    border-radius: var(--r-phone);
    transition: filter .5s, transform .5s var(--ease);
}

/* A: car card */
.hv-a {
    left: 14%; top: 8%;
    width: 200px; z-index: 4;
    animation: floatY 4.5s ease-in-out infinite .2s;
}
.hv-u { left: 18%; top: 4%; width: 210px; z-index: 4; animation: floatY 4.5s ease-in-out infinite .2s; }

/* B: stars card */
.hv-b {
    left: 10%; top: 56%;
    width: 130px; z-index: 2;
    animation: floatY 6s ease-in-out infinite .8s;
}

/* E: booking card */
.hv-e {
    right: 14%; top: 18%;
    width: 280px; z-index: 5;
    animation: floatY 5.5s ease-in-out infinite .5s;
}
.hv-y { right: 10%; top: 53%; width: 278px; z-index: 5; animation: floatY 5.5s ease-in-out infinite .5s; }

/* F: small card far right */
.hv-f {
    right: 12%; top: 82%;
    width: 170px; z-index: 2;
    animation: floatY 5s ease-in-out infinite 1s;
}

/* Date screen — right counterpart of hv-c, symmetrically placed */
.hv-date {
    right: calc(50% - 285px);
    bottom: 0;
    width: 200px;
    z-index: 1;
    border-radius: 28px;
    transform: rotateY(-12deg) scale(.92);
    transition: transform .5s var(--ease);
}
.hero-visual:hover .hv-date {
    transform: rotateY(-8deg) scale(.94);
}

/* Hero captions */
.hv-caption {
    position: absolute;
    color: var(--white);
    font-weight: 700;
    line-height: 1.35;
    z-index: 6;
    pointer-events: none;
}
/* Cap 1 — far left, vertically centered */
.hv-cap-1 {
    left: 7%; top: 40%;
    font-size: 17px; max-width: 210px;
    animation: floatY 5s ease-in-out infinite .5s;
}
/* Cap 2 — upper right, above booking card */
.hv-cap-2 {
    right: 18%; top:45%;
    font-size: 17px; max-width: 210px;
    animation: floatY 4.5s ease-in-out infinite .8s;
}
/* Cap 3 — lower right, below date screen */
.hv-cap-3 {
    right: 10%; bottom: 22%;
    font-size: 17px; max-width: 185px;
    animation: floatY 5.5s ease-in-out infinite 1.2s;
}

/* steps visual positions */
.hv-k {
    left: 17%; top: 22%;
    width: 200px; z-index: 2;
    animation: floatY 5s ease-in-out infinite 1s;
}
.hv-n {
    right: 23%; top: 44%;
    width: 130px; z-index: 2;
    animation: floatY 6s ease-in-out infinite .8s;
}

@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-16px); }
}

/* ══════════════════════════════════════════
   STATS STRIP
══════════════════════════════════════════ */
.stats {
    background: var(--dark-2);
    border-top: 1px solid var(--grey_dark);
    border-bottom: 1px solid var(--grey_dark);
    padding: 40px 48px;
}
.stats-inner {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.stat-item {
    text-align: center; padding: 24px 16px;
    border-right: 1px solid var(--grey_dark);
}
.stat-item:last-child { border-right: none; }
.stat-num {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 900; letter-spacing: -2px;
    background: linear-gradient(135deg, var(--white) 0%, rgba(255,255,255,.6) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    line-height: 1;
    margin-bottom: 6px;
}
.stat-num .accent-word {
    background: #D8D6E4 ;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-label { font-size: 13px; font-weight: 500; color: var(--muted); }

/* ══════════════════════════════════════════
   SECTION SHARED STYLES
══════════════════════════════════════════ */
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.sec-tag {
    display: block; margin-bottom: 14px;
    font-size: 11px; font-weight: 700; letter-spacing: 2.5px;
    text-transform: uppercase; color: var(--accent);
}
.sec-title {
    font-size: clamp(30px, 3.8vw, 52px);
    font-weight: 800; line-height: 1.06; letter-spacing: -1.5px;
    margin-bottom: 16px; color: var(--white);
}
.sec-title--dark { color: var(--dark); }
.sec-desc { font-size: 16px; color: var(--muted); line-height: 1.7; }
.sec-cta { display: flex; justify-content: center; margin-top: 40px; }
.sec-desc--dark { color: #555; }

/* ══════════════════════════════════════════
   SERVICES
══════════════════════════════════════════ */
.services {
    background: var(--dark);
    padding: 110px 48px;
    position: relative; overflow: hidden;
}
.services::before {
    content: '';
    position: absolute; left: -200px; top: 50%; transform: translateY(-50%);
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(200,198,212,.06) 0%, transparent 70%);
    pointer-events: none;
}

.svc-3 {
    display: flex; align-items: flex-end; justify-content: center;
    gap: 16px; max-width: 1100px; margin: 0 auto;
}

.svc-side {
    width: clamp(200px, 22vw, 310px);
    border-radius: 28px; overflow: hidden;
    cursor: pointer;
    position: relative;
    transform: translateY(24px);
    transition: transform .5s var(--ease-spring), box-shadow .5s;
}
.svc-side:nth-child(1) { animation: floatY 5s ease-in-out infinite; }
.svc-side:nth-child(3) { animation: floatY 5s ease-in-out infinite .5s; }
.svc-side::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(200,198,212,.2) 0%, transparent 60%);
    opacity: 0;
    transition: opacity .4s;
}
.svc-side:hover { transform: translateY(0) scale(1.02); box-shadow: 0 32px 64px rgba(200,198,212,.2); }
.svc-side:hover::after { opacity: 1; }
.svc-side img { width: 100%; height: 100%; object-fit: cover; display: block; }

.svc-center {
    width: clamp(300px, 32vw, 460px);
    border-radius: 32px; overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 48px 100px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.06);
    transition: transform .5s var(--ease-spring), box-shadow .5s;
    position: relative;
}
.svc-center::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(200,198,212,.15) 0%, transparent 50%);
    opacity: 0; transition: opacity .4s;
}
.svc-center:hover { transform: translateY(-8px); box-shadow: 0 64px 120px rgba(0,0,0,.7), 0 0 60px rgba(200,198,212,.15); }
.svc-center:hover::after { opacity: 1; }
.svc-center img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ══════════════════════════════════════════
   FEATURES GRID
══════════════════════════════════════════ */
.features {
    background: var(--dark-2);
    padding: 110px 48px;
    border-top: 1px solid var(--grey_dark);
}
.features-grid {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.feat-card {
    background: var(--dark-3);
    border: 1px solid var(--grey_dark);
    border-radius: 24px; padding: 36px 32px;
    cursor: pointer;
    transition: border-color .35s, transform .35s var(--ease-spring), box-shadow .35s;
    position: relative; overflow: hidden;
}
.feat-card::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(92,55,247,.08) 0%, transparent 60%);
    opacity: 0; transition: opacity .4s;
}
.feat-card:hover {
    border-color: rgba(92,55,247,.5);
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(0,0,0,.4), 0 0 30px rgba(92,55,247,.15);
}
.feat-card:hover::before { opacity: 1; }

.feat-icon {
    width: 52px; height: 52px;
    background: rgba(200,198,212,.12);
    border: 1px solid rgba(200,198,212,.2);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px;
    transition: background .35s, box-shadow .35s;
}
.feat-card:hover .feat-icon {
    background: rgba(200,198,212,.2);
}
.feat-icon svg { color: var(--accent); }
.feat-title { font-size: 18px; font-weight: 700; margin-bottom: 10px; letter-spacing: -.3px; }
.feat-desc { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ══════════════════════════════════════════
   STEPS (HOW IT WORKS)
══════════════════════════════════════════ */
.steps {
    background: var(--dark);
    padding: 110px 48px;
    border-top: 1px solid var(--grey_dark);
}
.steps-inner {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: center;
}

.steps-list {
    display: flex; flex-direction: column; gap: 8px;
    margin-top: 40px;
}

.step {
    display: flex; align-items: flex-start; gap: 20px;
    padding: 20px 24px;
    border-radius: 20px;
    cursor: pointer;
    transition: background .3s;
    position: relative;
}
.step:last-child::before { display: none; }
.step:hover { background: var(--dark-2); }

.step-n {
    width: 36px; height: 36px; flex-shrink: 0;
    background: var(--grey_dark);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 800; letter-spacing: .5px;
    color: var(--muted); z-index: 1;
    transition: background .3s, color .3s;
}
.step:hover .step-n {
    background: var(--accent-blue); color: var(--white);
}
.step-h { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.step-p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* phone visual in steps */
.steps-phone {
    position: relative;
    display: flex; justify-content: center; align-items: center;
    height: 560px;
}
.steps-phone-wrap {
    position: relative;
    width: 280px;
    animation: floatY 5s ease-in-out infinite;
}
.steps-phone-wrap img { width: 100%; border-radius: var(--r-phone); }
.steps-right {
    position: absolute;
    right: 0; top: 50%; transform: translateY(-50%);
    width: 200px; border-radius: 20px; overflow: hidden;
    box-shadow: 0 24px 48px rgba(0,0,0,.5);
    animation: floatY 6s ease-in-out infinite .8s;
}
.steps-right img { width: 100%; }

/* ══════════════════════════════════════════
   APP SCREENS SHOWCASE
══════════════════════════════════════════ */
.showcase {
    background: var(--dark-2);
    padding: 110px 0;
    border-top: 1px solid var(--grey_dark);
    overflow: hidden;
}
.showcase-head {
    text-align: center; max-width: 600px; margin: 0 auto 60px; padding: 0 48px;
}
.showcase-track-wrap {
    overflow: hidden;
    -webkit-mask: linear-gradient(90deg, transparent 0%, black 15%, black 85%, transparent 100%);
    mask: linear-gradient(90deg, transparent 0%, black 15%, black 85%, transparent 100%);
}
.showcase-track {
    display: flex; gap: 20px;
    width: max-content;
    animation: scrollTrack 28s linear infinite;
}
.showcase-track:hover { animation-play-state: paused; }
@keyframes scrollTrack {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.showcase-frame {
    width: 220px; height: 476px; flex-shrink: 0;
    border-radius: 32px; overflow: hidden;
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 24px 48px rgba(0,0,0,.5);
    cursor: pointer;
    will-change: transform;
    transition: transform .4s var(--ease-spring), box-shadow .4s;
}
.showcase-track-wrap { overflow: visible; padding: 20px 0; }
.showcase-track-outer {
    overflow: hidden;
    -webkit-mask: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
    mask: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
}
.showcase-frame:hover {
    transform: translateY(-16px) scale(1.04);
    box-shadow: 0 48px 80px rgba(200,198,212,.25);
}
.showcase-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ══════════════════════════════════════════
   DOWNLOAD CTA
══════════════════════════════════════════ */
.download {
    background: var(--dark);
    padding: 110px 48px;
    border-top: 1px solid var(--grey_dark);
    position: relative; overflow: hidden;
}
.download::before {
    content: '';
    position: absolute; inset: 0;
    pointer-events: none;
}
.dl-inner {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: center;
    position: relative; z-index: 1;
}
.dl-head { max-width: 500px; }
.dl-head .sec-title { font-size: clamp(32px, 4vw, 56px); margin-bottom: 20px; }
.dl-head .sec-desc { margin-bottom: 36px; }

/* store buttons dark context */
.dl-head .store-row { justify-content: flex-start; }

.dl-qr {
    display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
    margin-top: 24px;
}
.dl-qr-label {
    font-size: 13px; color: var(--muted); font-weight: 500;
    display: flex; align-items: center; gap: 8px;
}
.dl-qr-label::before {
    content: ''; display: inline-block;
    width: 16px; height: 1px; background: var(--muted-2);
}

/* photo mosaic */
.photo-mosaic {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: 12px;
}
.pm-cell { border-radius: 20px; overflow: hidden; cursor: pointer; }
.pm-cell img { width: 100%; height: 100%; object-fit: cover;
    transition: transform .5s var(--ease); }
.pm-cell:hover img { transform: scale(1.06); }
.pm-v { grid-column: 1; grid-row: 1 / 3; border-radius: 24px; }
.pm-s { grid-column: 2; grid-row: 1; }
.pm-z { grid-column: 3; grid-row: 1; }
.pm-x { grid-column: 2; grid-row: 2; }
.pm-l { grid-column: 3; grid-row: 2; }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.footer {
    background: var(--dark-2);
    border-top: 1px solid var(--grey_dark);
    padding: 64px 48px 32px;
}
.footer-top {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px; padding-bottom: 48px;
    border-bottom: 1px solid var(--grey_dark);
}
.f-logo-img {
    height: 26px; width: auto; display: block;
    content: url('../images/ulov_while.svg');
    margin-bottom: 16px;
}
.f-tag { font-size: 14px; color: var(--muted); line-height: 1.6; max-width: 280px; }
.f-col-h {
    font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
    text-transform: uppercase; color: var(--muted-2); margin-bottom: 16px;
}
.f-links { display: flex; flex-direction: column; gap: 12px; }
.f-links a {
    font-size: 14px; color: var(--muted); transition: color .25s; cursor: pointer;
}
.f-links a:hover { color: var(--white); }

.footer-bottom {
    max-width: 1200px; margin: 0 auto;
    padding-top: 28px;
    display: flex; align-items: center; justify-content: space-between;
}
.f-copy { font-size: 13px; color: var(--muted-2); }
.f-bottom-links { display: flex; gap: 24px; }
.f-bottom-links a { font-size: 13px; color: var(--muted-2); transition: color .25s; }
.f-bottom-links a:hover { color: var(--white); }

/* ══════════════════════════════════════════
   PARTNER BUTTON (for partner page link)
══════════════════════════════════════════ */
.btn-partner {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 14px; font-weight: 600;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 100px; padding: 9px 22px; cursor: pointer;
    color: var(--white); background: transparent;
    transition: background .25s, border-color .25s, color .25s, transform .25s;
}
.btn-partner:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: var(--white);
    transform: translateY(-1px);
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1024px) {
    .steps-inner { grid-template-columns: 1fr; gap: 48px; }
    .dl-inner { grid-template-columns: 1fr; gap: 48px; }
    .photo-mosaic { grid-template-rows: repeat(2, 160px); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-inner { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2) { border-right: none; }
}

/* ── Intermediate: tablet/small desktop ── */
@media (min-width: 769px) and (max-width: 1100px) {
    /* Header — compact */
    .hdr { padding: 0 24px; gap: 16px; }
    .hdr-nav { gap: 14px; }
    .hdr-nav a { font-size: 13px; }
    .hdr-right { gap: 10px; }
    .btn-dl { padding: 8px 16px; font-size: 13px; }
    .btn-partner { padding: 8px 14px; font-size: 13px; }

    /* Hero visual — scale down */
    .hero-visual { height: 460px; }
    .hv-a { width: 160px; left: 8%; top: 6%; }
    .hv-c { width: 155px; left: calc(50% - 220px); }
    .hv-d { width: 230px; }
    .hv-e { width: 220px; right: 10%; top: 16%; }
    .hv-f { width: 140px; right: 12%; top: 62%; }
    .hv-date { width: 165px; right: calc(50% - 240px); }

    /* Captions — scale down and reposition */
    .hv-cap-1 { font-size: 14px; max-width: 170px; left: 1%; top: 42%; }
    .hv-cap-2 { font-size: 12px; max-width: 135px; right: 5%; top: 5%; }
    .hv-cap-3 { font-size: 13px; max-width: 155px; right: 4%; bottom: 26%; }
}

@media (max-width: 768px) {
    .hdr { padding: 0 16px; gap: 0; }
    .hdr-nav, .hdr-right .btn-partner { display: none; }
    .hdr-right { display: flex; align-items: center; gap: 10px; margin-left: auto; margin-right: 12px; }
    .hdr-right .flags { display: flex; gap: 6px; }
    .hdr-right .flags .flag img { width: 22px; height: 22px; }
    .hdr-right .btn-dl {
        display: inline-flex; padding: 7px 16px;
        font-size: 13px; font-weight: 600;
        border-radius: 100px;
        border: 1px solid rgba(255,255,255,.2);
        color: var(--white); background: transparent;
        white-space: nowrap;
    }
    .hdr-burger { display: flex; }
    .hdr-burger img { width: 24px; height: 24px; }

    .hero-text { padding: 64px 20px 40px; }
    .hero-visual { height: 440px; }
    .hv-a, .hv-b, .hv-f, .hv-date, .hv-caption { display: none; }
    .hv-c { width: 150px; left: calc(50% - 215px); }
    .hv-d { width: 220px; }
    .hv-e { width: 200px; right: 8%; top: 20%; }

    .services { padding: 72px 20px; }
    .svc-3 { flex-direction: column; align-items: center; }
    .svc-side { width: 100%; max-width: 340px; transform: none; animation: none; }
    .svc-center { width: 100%; max-width: 400px; }

    .features { padding: 72px 20px; }
    .features-grid { grid-template-columns: 1fr; }

    .steps { padding: 72px 20px; }
    .steps-inner { grid-template-columns: 1fr; }
    .steps .hero-visual { display: none; }
    .steps-right { display: none; }
    .steps-left { display: flex; flex-direction: column; align-items: center; }
    .steps-left .sec-head { align-self: stretch; }
    .steps-left .steps-list { align-self: stretch; }
    .hv-u, .hv-y { display: none; }

    .showcase { padding: 72px 0; }

    .download { padding: 72px 20px; }
    .dl-inner { grid-template-columns: 1fr; }
    .dl-head .store-row { justify-content: center; }
    .photo-mosaic { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 140px); gap: 8px; }
    .pm-v { grid-column: 1; grid-row: 1; }
    .pm-s { grid-column: 2; grid-row: 1; }
    .pm-z { grid-column: 1; grid-row: 2; }
    .pm-x { grid-column: 2; grid-row: 2; }
    .pm-l { grid-column: 1 / 3; grid-row: 3; }

    .steps .sec-head { text-align: center !important; margin: 0 auto 40px !important; }
    .faq-head { text-align: center; }
    .dl-head { text-align: center; margin: 0 auto; }
    .dl-head .store-row { justify-content: center; }

    .stats { padding: 32px 20px; }
    .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 0; }
    .stat-item { border-right: none; border-bottom: 1px solid var(--grey_dark); padding: 20px 12px; }
    .stat-item:nth-child(odd) { border-right: 1px solid var(--grey_dark); }
    .stat-item:nth-last-child(-n+2) { border-bottom: none; }

    .footer { padding: 48px 20px 24px; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

    /* FAQ */
    .faq-section { padding: 72px 20px; }
    .faq-head { margin-bottom: 40px; }
    .faq-inner { grid-template-columns: 1fr; gap: 0; }

    /* Advantages */
    .advantages { padding: 72px 20px; }
    .adv-grid { grid-template-columns: 1fr; gap: 12px; }

    /* Partner page */
    .pf-section { padding: 72px 20px; }
    .pf-grid { grid-template-columns: 1fr; gap: 32px; }
    .partner-cta { padding: 72px 20px; }
}

@media (max-width: 480px) {
    .hero-title { letter-spacing: -1.5px; }
    .hv-c, .hv-e { display: none; }
    .hv-d { width: 240px; }
    .footer-top { grid-template-columns: 1fr; }

    /* FAQ */
    .faq-section { padding: 64px 20px; }
    .faq-head { margin-bottom: 36px; }
    .faq-inner { grid-template-columns: 1fr; gap: 0; }
    .faq-item__q { padding: 16px 0; }
    .faq-item__text { font-size: 14px; line-height: 1.35; }
    .faq-item__a > p { font-size: 13px; line-height: 1.6; padding-bottom: 16px; }

    /* Advantages */
    .advantages { padding: 64px 20px; }
    .adv-grid { grid-template-columns: 1fr; gap: 12px; }

    /* Partner CTA (partner page) */
    .partner-cta { padding: 64px 20px; }
    .partner-cta .pf-grid { grid-template-columns: 1fr; }
    .pf-section { padding: 64px 20px; }
    .pf-grid { grid-template-columns: 1fr; }

    /* Icon orbit */
    .icon-orbit { padding: 64px 20px; }

    /* Steps */
    .steps-phone { height: 300px; }
}

/* ── prefers-reduced-motion ── */
@media (prefers-reduced-motion: reduce) {
    .reveal { transition: none; }
    .reveal.visible { opacity: 1; transform: none; }
    .hv-a, .hv-b, .hv-e, .hv-f, .hv-k, .hv-n, .svc-side,
    .steps-phone-wrap, .steps-right { animation: none; }
    .showcase-track { animation: none; }
    .hero::before, .hero::after { animation: none; }
}

/* ══════════════════════════════════════════
   HERO PHONE — Flat with Parallax
══════════════════════════════════════════ */
.hero-phone-scene {
    position: relative; flex-shrink: 0;
    will-change: transform;
}

.hero-phone-body {
    position: relative;
    width: 280px; height: 572px;
    background: #1A1A1C;
    border-radius: 52px;
    overflow: hidden;
    border: 2px solid rgba(220,220,230,.2);
    background-image: linear-gradient(155deg, rgba(255,255,255,.05) 0%, transparent 35%);
}

.hero-phone-screen {
    position: absolute;
    top: 12px; left: 8px; right: 8px; bottom: 12px;
    border-radius: 44px; overflow: hidden; background: #000;
}
.hero-phone-screen img {
    width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none;
}
.hero-phone-island {
    position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
    width: 96px; height: 32px;
    background: #000; border-radius: 22px; z-index: 5;
}
.hero-phone-home {
    position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
    width: 120px; height: 5px;
    background: rgba(255,255,255,.4); border-radius: 3px; z-index: 5;
}
.hero-phone-gloss {
    position: absolute; inset: 0; border-radius: 50px; pointer-events: none; z-index: 10;
    background: linear-gradient(155deg, rgba(255,255,255,.07) 0%, rgba(255,255,255,.02) 30%, transparent 55%);
}
/* Side buttons */
.hero-phone-btn-r {
    position: absolute; right: -5px; top: 38%;
    width: 4px; height: 64px;
    background: linear-gradient(180deg, #3A3A3F, #565660, #3A3A3F);
    border-radius: 0 2px 2px 0;
}
.hero-phone-btn-l1 { position: absolute; left: -5px; top: 22%; width: 4px; height: 28px; background: linear-gradient(180deg, #383840, #505058, #383840); border-radius: 2px 0 0 2px; }
.hero-phone-btn-l2 { position: absolute; left: -5px; top: 32%; width: 4px; height: 46px; background: linear-gradient(180deg, #383840, #505058, #383840); border-radius: 2px 0 0 2px; }
.hero-phone-btn-l3 { position: absolute; left: -5px; top: 43%; width: 4px; height: 46px; background: linear-gradient(180deg, #383840, #505058, #383840); border-radius: 2px 0 0 2px; }

/* ══════════════════════════════════════════
   ICON ORBIT — vortex funnel (JS-driven)
══════════════════════════════════════════ */
.icon-orbit {
    position: relative; min-height: 1000px; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    padding: 160px 0;
}
.icon-orbit__center {
    position: relative; z-index: 10;
    text-align: center; max-width: 620px; padding: 0 24px;
    pointer-events: none;
}
.icon-orbit__center .sec-tag,
.icon-orbit__center .sec-title,
.icon-orbit__center .sec-desc,
.icon-orbit__center .btn-store { pointer-events: auto; }

/* JS takes over left/top/transform — CSS only provides base style */
.orbit-bubble {
    position: absolute;
    left: 0; top: 0;
    background: var(--dark-2);
    border: 1px solid var(--grey_dark);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    width: 70px; height: 70px;
    cursor: pointer;
    will-change: transform, opacity;
    transition: background .3s, border-color .3s, box-shadow .3s;
}
.orbit-bubble:hover {
    background: rgba(200,198,212,.12);
    border-color: rgba(200,198,212,.35);
    box-shadow: 0 0 24px rgba(200,198,212,.2);
}
.orbit-bubble img {
    width: 38%; height: 38%; object-fit: contain;
    filter: brightness(0) invert(1); opacity: .65;
}

@media (max-width: 768px) {
    .icon-orbit {
        min-height: 620px; padding: 80px 0; overflow: hidden;
        width: 220vw; margin-left: -60vw;
    }
    .orbit-bubble { width: 70px; height: 70px; }
    .orbit-bubble img { width: 38%; height: 38%; }
}

/* Hero layout */
.hero-3d-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    width: 100%;
    max-width: 1200px;
    padding: 0 48px 80px;
    flex: 1;
}
.hero-3d-phone-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.hero-3d-cards {
    position: absolute;
    inset: -60px -120px;
    pointer-events: none;
}
.hero-3d-card {
    position: absolute;
    pointer-events: auto;
}
.hero-3d-card img { border-radius: 20px; }
.hc-a { top: 0; left: -60px; width: 190px; animation: floatY 4.5s ease-in-out infinite .2s;  }
.hc-b { bottom: 40px; left: -40px; width: 118px; animation: floatY 6s ease-in-out infinite .8s;  }
.hc-e { top: 60px; right: -80px; width: 250px; animation: floatY 5.5s ease-in-out infinite .5s;  }
.hc-f { bottom: 20px; right: -60px; width: 160px; animation: floatY 5s ease-in-out infinite 1s;  }

/* drag hint */
.phone-drag-hint {
    position: absolute; bottom: -40px; left: 50%; transform: translateX(-50%);
    font-size: 11px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase;
    color: var(--muted-2);
    display: flex; align-items: center; gap: 8px;
    animation: fadeIn 1.5s 1s both;
    white-space: nowrap;
}
.phone-drag-hint svg { opacity: .5; }

@media (max-width: 1024px) {
    .hero-3d-layout { flex-direction: column; gap: 48px; padding-bottom: 48px; }
    .hc-a, .hc-b { display: none; }
}
@media (max-width: 768px) {
    .phone-3d-scene { width: 220px; height: 428px; }
    .hc-e { width: 180px; right: -60px; }
    .hc-f { width: 120px; right: -40px; }
    .hero-3d-layout { gap: 32px; padding: 0 20px 48px; }
}

/* ══════════════════════════════════════════
   ADVANTAGES  (partner page)
══════════════════════════════════════════ */
.advantages {
    background: var(--dark-2);
    border-top: 1px solid var(--grey_dark);
    padding: 100px 48px;
}
.adv-inner { max-width: 1160px; margin: 0 auto; }
.adv-title {
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 800; line-height: 1.1; letter-spacing: -1px;
    text-align: center; margin-bottom: 56px; color: var(--white);
}
.adv-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.adv-card {
    background: var(--dark-3);
    border: 1px solid var(--grey_dark);
    border-radius: 24px; padding: 32px 28px;
    display: flex; flex-direction: column; gap: 14px;
    cursor: pointer;
    transition: border-color .3s, transform .3s var(--ease-spring), box-shadow .3s;
}
.adv-card:hover {
    border-color: rgba(200,198,212,.35);
    transform: translateY(-6px);
    box-shadow: 0 24px 56px rgba(0,0,0,.4), 0 0 24px rgba(200,198,212,.1);
}
.adv-card__icon {
    width: 52px; height: 52px;
    background: rgba(200,198,212,.1);
    border: 1px solid rgba(200,198,212,.2);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    transition: background .3s, box-shadow .3s;
}
.adv-card:hover .adv-card__icon {
    background: rgba(200,198,212,.2);
    box-shadow: 0 0 20px rgba(200,198,212,.25);
}
.adv-card__icon img { width: 28px; height: 28px; object-fit: contain; filter: brightness(0) invert(1); opacity: .8; }
.adv-card__title { font-size: 17px; font-weight: 700; color: var(--white); line-height: 1.3; }
.adv-card__desc  { font-size: 14px; color: var(--muted); line-height: 1.6; }

@media (max-width: 900px) { .adv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .adv-grid { grid-template-columns: 1fr; } .advantages { padding: 64px 20px; } }

/* ══════════════════════════════════════════
   PARTNER CTA
══════════════════════════════════════════ */
.partner-cta {
    background: var(--dark);
    border-top: 1px solid var(--grey_dark);
    padding: 64px 48px;
}
.partner-cta__inner {
    background: var(--dark-3);
    border: 1px solid var(--grey_dark);
    border-radius: 28px; max-width: 1160px; margin: 0 auto;
    padding: 48px 56px;
    display: flex; align-items: center; gap: 48px;
}
.partner-cta__item { display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; }
.partner-cta__item--grow { flex: 1; }
.partner-cta__value {
    font-size: clamp(28px, 3.2vw, 44px); font-weight: 800;
    color: var(--white); letter-spacing: -1px; line-height: 1; text-decoration: none;
}
.partner-cta__value--link { transition: color .25s; }
.partner-cta__value--link:hover { color: var(--accent); }
.partner-cta__label { font-size: 14px; color: var(--muted); }
.partner-cta__divider { width: 1px; height: 56px; background: var(--grey_dark); flex-shrink: 0; }
.partner-cta__btn {
    display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0;
    font-family: 'Onest', sans-serif; font-size: 15px; font-weight: 600;
    color: var(--white); border: 1.5px solid rgba(255,255,255,.2);
    border-radius: 100px; padding: 14px 28px; text-decoration: none;
    transition: border-color .25s, background .25s, color .25s, transform .25s;
}
.partner-cta__btn:hover {
    background: var(--accent-rose); border-color: var(--accent-rose); transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(249,3,138,.35);
}
@media (max-width: 900px) {
    .partner-cta { padding: 48px 20px; }
    .partner-cta__inner { flex-direction: column; align-items: center; text-align: center; gap: 28px; padding: 36px 28px; }
    .partner-cta__item--grow { flex: unset; }
    .partner-cta__divider { width: 56px; height: 1px; }
    .partner-cta__btn { width: 100%; justify-content: center; }
}

/* ══════════════════════════════════════════
   FAQ PAGE
══════════════════════════════════════════ */
.faq-hero {
    background: var(--dark);
    padding: 160px 48px 80px;
    border-bottom: 1px solid var(--grey_dark);
    position: relative; overflow: hidden;
}
.faq-hero::before {
    content: '';
    position: absolute; width: 600px; height: 400px;
    top: 50%; left: 50%; transform: translate(-50%,-50%);
    pointer-events: none;
}
.faq-hero__inner { max-width: 800px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.faq-hero__title {
    font-size: clamp(36px, 5vw, 68px); font-weight: 900;
    letter-spacing: -2px; line-height: 1.0; margin-bottom: 20px; color: var(--white);
}
.faq-hero__sub { font-size: 18px; color: var(--muted); line-height: 1.65; }

.faq-section {
    background: var(--dark);
    padding: 80px 48px 100px;
}
.faq-head {
    max-width: 1200px; margin: 0 auto 56px;
}
.faq-inner {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px;
}
.faq-col { display: flex; flex-direction: column; }

.faq-item {
    border-bottom: 1px solid var(--grey_dark);
}
.faq-item:first-child { border-top: 1px solid var(--grey_dark); }
.faq-item__q {
    width: 100%; display: flex; align-items: center; gap: 16px;
    background: none; border: none; cursor: pointer;
    padding: 24px 0; text-align: left;
    transition: color .2s;
}
.faq-item__q:hover { color: var(--white); }
.faq-item__num {
    font-size: 12px; font-weight: 800; color: var(--muted-2);
    letter-spacing: 1px; flex-shrink: 0; min-width: 24px;
}
.faq-item__text {
    font-size: 16px; font-weight: 600; color: rgba(255,255,255,.8); flex: 1; line-height: 1.4;
    transition: color .2s;
}
.faq-item.open .faq-item__text { color: var(--white); }
.faq-item__icon {
    width: 28px; height: 28px; flex-shrink: 0;
    background: var(--grey_dark); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: background .25s, transform .4s var(--ease);
}
.faq-item__icon svg { width: 14px; height: 14px; stroke: var(--muted); transition: stroke .25s; }
.faq-item.open .faq-item__icon { background: var(--accent-blue); transform: rotate(45deg); }
.faq-item.open .faq-item__icon svg { stroke: var(--white); }
.faq-item__a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .45s cubic-bezier(.2,0,0,1);
}
.faq-item.open .faq-item__a { max-height: 600px; }
.faq-item__a > p { padding-bottom: 24px; font-size: 15px; color: var(--muted); line-height: 1.75; margin: 0; }

@media (max-width: 900px) {
    .faq-inner { grid-template-columns: 1fr; }
    .faq-col:nth-child(2) .faq-item:first-child { border-top: none; }
    .faq-section { padding: 60px 20px 80px; }
    .faq-hero { padding: 140px 20px 60px; }
}

/* ══════════════════════════════════════════
   DOCUMENTATION (terms page)
══════════════════════════════════════════ */
.documentation {
    display: flex; min-height: 100vh; padding-top: 10px; align-items: flex-start;
    background: var(--dark);
}
.doc-sidebar {
    /* sticky: прилипает к верху при скролле, но останавливается у футера */
    position: sticky; top: 40px;
    align-self: flex-start;          /* не растягивается на всю высоту flex-контейнера */
    width: 280px; flex-shrink: 0;
    height: calc(100vh - 40px); overflow-y: auto;
    padding: 0 24px 40px 48px;
    border-right: 1px solid var(--grey_dark);
    background: var(--dark-2);
    z-index: 10;
}
.doc-sidebar__category {
    font-size: 11px; font-weight: 700; letter-spacing: 2px; padding-top:40px;
    text-transform: uppercase; color: var(--muted-2); margin-bottom: 20px;
}
.doc-sidebar__nav { display: flex; flex-direction: column; gap: 2px; }
.doc-sidebar__link {
    display: block; font-size: 14px; font-weight: 500; color: var(--muted);
    padding: 10px 12px 10px 0; border-radius: 10px; line-height: 1.4;
    transition: color .2s; border-bottom: 1px solid var(--grey_dark);
}
.doc-sidebar__link:last-child { border-bottom: none; }
.doc-sidebar__link:hover { color: var(--white); }
.doc-sidebar__link.active { color: var(--white); font-weight: 600; }

.doc-content { flex: 1; padding: 48px 80px 80px 64px; max-width: 900px; }
.doc-article {
    padding-bottom: 64px; margin-bottom: 64px;
    border-bottom: 1px solid var(--grey_dark);
}
.doc-article:last-child { border-bottom: none; margin-bottom: 0; }
.doc-article__heading {
    font-size: 18px; font-weight: 800; letter-spacing: 0; color: var(--white); margin-bottom: 12px;
}
.doc-article__title {
    font-size: 13px; font-weight: 700; letter-spacing: 2px;
    text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}
.doc-article__meta { font-size: 13px; color: var(--muted-2); line-height: 1.6; margin-bottom: 32px; }
.doc-article__section-title {
    font-size: 14px; font-weight: 700; color: var(--white); margin: 20px 0 8px;
}
.doc-article__text {
    font-size: 14px; color: var(--muted); line-height: 1.4; margin-bottom: 12px;
}
.doc-article__list {
    font-size: 15px; color: var(--muted); line-height: 1.8;
    padding-left: 20px; list-style: disc; margin-bottom: 12px;
}
.doc-article__list li { margin-bottom: 4px; }

@media (max-width: 900px) {
    .documentation { flex-direction: column; }
    .doc-sidebar { position: static; width: 100%; height: auto; padding: 24px 20px; border-right: none; border-bottom: 1px solid var(--grey_dark); }
    .doc-content { padding: 32px 20px 60px; margin-left: 0; }
}

/* ══════════════════════════════════════════════════════════
   PARTNER FORM
══════════════════════════════════════════════════════════ */
.pf-section {
    padding: 100px 40px;
    border-top: 1px solid var(--grey_dark);
}
.pf-inner {
    max-width: 860px;
    margin: 0 auto;
}
.pf-head {
    text-align: center;
    margin-bottom: 56px;
}
.pf-head .sec-desc {
    margin-top: 12px;
    color: var(--muted);
    font-size: 16px;
}

/* Grid */
.pf-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 32px;
}
.pf-field { display: flex; flex-direction: column; gap: 8px; }
.pf-field--full { grid-column: 1 / -1; }

/* Label */
.pf-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
}
.pf-req { color: var(--accent); }

/* Input / Select / Textarea */
.pf-input {
    width: 100%;
    box-sizing: border-box;
    background: var(--dark-2);
    border: 1.5px solid var(--grey_dark);
    border-radius: 14px;
    padding: 14px 18px;
    color: var(--white);
    font-family: 'Onest', sans-serif;
    font-size: 15px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    appearance: none;
    -webkit-appearance: none;
}
.pf-input::placeholder { color: var(--muted); }
.pf-input:focus {
    border-color: rgba(200,198,212,.5);
    box-shadow: 0 0 0 3px rgba(200,198,212,.1);
}
.pf-input.pf-input--error {
    border-color: #e53e3e;
    box-shadow: 0 0 0 3px rgba(229,62,62,.1);
}
.pf-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
    cursor: pointer;
}
.pf-select option { background: #1a1a1a; color: var(--white); }
.pf-textarea { resize: vertical; min-height: 110px; }

/* Inline error */
.pf-err {
    font-size: 12px;
    color: #e53e3e;
    min-height: 16px;
    display: block;
}

/* Submit row */
.pf-footer {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.pf-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 360px;
    padding: 18px 32px;
    background: #ffffff;
    color: #0D0D0F;
    border: none;
    border-radius: 100px;
    font-family: 'Onest', sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity .2s, transform .2s;
}
.pf-submit:hover:not(:disabled) { opacity: .88; transform: translateY(-1px); }
.pf-submit:disabled { opacity: .5; cursor: not-allowed; }
.pf-submit__spinner {
    display: none;
    animation: pf-spin .8s linear infinite;
}
.pf-submit.loading .pf-submit__text { display: none; }
.pf-submit.loading .pf-submit__spinner { display: block; }
@keyframes pf-spin { to { transform: rotate(360deg); } }

.pf-note {
    font-size: 12px;
    color: var(--muted);
    text-align: center;
    margin: 0;
}

/* ── Toast ── */
.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}
.toast {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 300px;
    max-width: 380px;
    padding: 16px 20px;
    border-radius: 14px;
    backdrop-filter: blur(12px);
    font-family: 'Onest', sans-serif;
    font-size: 14px;
    line-height: 1.45;
    color: #fff;
    pointer-events: auto;
    box-shadow: 0 8px 32px rgba(0,0,0,.4);
    animation: toast-in .3s cubic-bezier(.34,1.56,.64,1) both;
}
.toast.toast--out { animation: toast-out .25s ease forwards; }
.toast--success { background: rgba(16,185,129,.92); }
.toast--error   { background: rgba(239,68,68,.92); }
.toast__icon { flex-shrink: 0; margin-top: 1px; }
@keyframes toast-in  { from { opacity:0; transform:translateX(40px) scale(.95); } }
@keyframes toast-out { to   { opacity:0; transform:translateX(40px) scale(.95); } }

/* ══════════════════════════════════════════
   THEME TOGGLE BUTTON
══════════════════════════════════════════ */
.theme-toggle {
    background: none; border: none; cursor: pointer; padding: 0;
    width: 32px; height: 32px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    opacity: .55; transition: opacity .25s;
    margin-left: 16px;
}
.theme-toggle:hover { opacity: 1; }
.theme-icon { width: 17px; height: 17px; display: none; }

/* Show correct icon per theme */
[data-theme="dark"]  .theme-icon--dark  { display: block; filter: invert(1); }
[data-theme="light"] .theme-icon--light { display: block; }

/* ══════════════════════════════════════════
   LIGHT THEME
══════════════════════════════════════════ */
[data-theme="light"] {
    background: #ffffff;
    --dark:        #FFFFFF;
    --dark-2:      #F7F7F7;
    --dark-3:      #F3F2F7;
    --grey_dark:   #E5E3ED;
    --grey_soft:   #0D0D0F;
    --white:       #0D0D0F;
    --gray:        #F7F7F7;
    --muted:       #666677;
    --muted-2:     #999AAA;
    --accent-glow: rgba(0,0,0,.06);
}

/* Header */
[data-theme="light"] .hdr {
    background: transparent;
    border-bottom-color: transparent;
}
[data-theme="light"] .hdr.scrolled {
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom-color: rgba(0,0,0,.10);
}

/* Logo — invert white SVG to dark */
[data-theme="light"] .hdr-logo-img,
[data-theme="light"] .f-logo-img { filter: invert(1); }

/* Burger icon — dark in light theme */
[data-theme="light"] .hdr-burger img { filter: invert(1); }

/* Mobile header download button — dark in light theme */
@media (max-width: 768px) {
    [data-theme="light"] .hdr-right .btn-dl {
        color: #fff;
        background: #1A1A1E;
        border-color: #1A1A1E;
    }
}

/* Hero subtitle */
[data-theme="light"] .hero-sub { color: rgba(0,0,0,.45); }

/* Store buttons */
/* 1) App Store / Google Play — плавный hover */
[data-theme="light"] .btn-store {
    background: transparent;
    border-color: rgba(0,0,0,.15);
    color: #0D0D0F;
    transition: background .25s, border-color .25s, transform .25s;
}
[data-theme="light"] .btn-store:hover {
    background: rgba(0,0,0,.06);
    border-color: rgba(0,0,0,.3);
    transform: translateY(-1px);
}

/* Stats number gradient */
[data-theme="light"] .stat-num {
    background: linear-gradient(135deg, #0D0D0F 0%, rgba(0,0,0,.55) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
/* accent-word (+, ★, мин) → #F9038A */
[data-theme="light"] .stat-num .accent-word {
    background: #F9038A;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* Services showcase frame border */
[data-theme="light"] .showcase-frame { border-color: rgba(0,0,0,.10); }

/* Partner button */
[data-theme="light"] .btn-partner { border-color: rgba(0,0,0,.15); }
[data-theme="light"] .btn-partner:hover { background: var(--accent-blue); border-color: var(--accent-blue); color: #fff; }

/* FAQ answer text */
[data-theme="light"] .faq-ans { color: var(--muted); }

/* 4) Icon orbit bubbles — чёрный фон, белые иконки, чёрная обводка */
[data-theme="light"] .orbit-bubble {
    background: transparent;
    border-color: rgba(0,0,0,.15);
}
[data-theme="light"] .orbit-bubble:hover {
    background: rgba(0,0,0,.06);
    border-color: rgba(0,0,0,.3);
    box-shadow: none;
}
[data-theme="light"] .orbit-bubble img { filter: brightness(0); opacity: 1; }

/* Advantage icons in light mode — dark icon */
[data-theme="light"] .adv-card__icon img {
    filter: brightness(0);
    opacity: .7;
}

/* Partner form submit button — light theme */
[data-theme="light"] .pf-submit { background: #0D0D0F; color: #ffffff; }

/* Partner form select options */
[data-theme="light"] .pf-select option { background: #fff; color: #0D0D0F; }

/* Mob menu overlay */
[data-theme="light"] .mob-overlay { background: rgba(0,0,0,.4); }

/* Download button (header) */
[data-theme="light"] .btn-dl { background: #0D0D0F; color: #fff; }
[data-theme="light"] .btn-dl:hover { background: var(--accent-rose); }

/* ── Light theme: remove colored glows ── */
[data-theme="light"] .hero::before,
[data-theme="light"] .hero::after { display: none; }
[data-theme="light"] .download::before { display: none; }
/* 2) Тени у изображений в светлой теме убраны */
[data-theme="light"] .hv-d,
[data-theme="light"] .hero-visual:hover .hv-d {
    filter: none;
}
[data-theme="light"] .steps-phone-wrap {
    filter: none;
}
[data-theme="light"] .hc-a,
[data-theme="light"] .hc-b,
[data-theme="light"] .hc-e,
[data-theme="light"] .hc-f {
    filter: none;
}

/* ── Light theme: section backgrounds ── */
[data-theme="light"] .features  { background: #FFFFFF; border-top-color: #E5E3ED; }
[data-theme="light"] .advantages { background: #FFFFFF; border-top-color: #E5E3ED; }

/* ── Light theme: form inputs match card bg ── */
[data-theme="light"] .pf-input { background: var(--dark-3); border-color: #E5E3ED; }
[data-theme="light"] .pf-input:focus { border-color: #C8C6D6; box-shadow: 0 0 0 3px rgba(0,0,0,.06); }

/* ── 5) Light theme: feat-cards — белый фон карты, иконка #5C37F7 ── */
[data-theme="light"] .feat-card {
    background: #ffffff;
    border-color: #E5E3ED;
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
[data-theme="light"] .feat-card::before { display: none; }
[data-theme="light"] .feat-card:hover {
    border-color: rgba(0,0,0,.2);
    box-shadow: 0 8px 28px rgba(0,0,0,.09);
    transform: translateY(-3px);
}
[data-theme="light"] .feat-icon {
    background: transparent;
    border-color: rgba(0,0,0,.15);
}
[data-theme="light"] .feat-icon svg { color: #0D0D0F; }
[data-theme="light"] .feat-card:hover .feat-icon {
    background: rgba(0,0,0,.06);
    border-color: rgba(0,0,0,.3);
}

/* ── Light theme: FAQ accordion ── */
[data-theme="light"] .faq-item { border-color: #E5E3ED; }
[data-theme="light"] .faq-item:first-child { border-top-color: #E5E3ED; }
[data-theme="light"] .faq-item__text { color: #1A1A1E; }
[data-theme="light"] .faq-item.open .faq-item__text { color: #0D0D0F; }
[data-theme="light"] .faq-item__a > p { color: #555566; }
[data-theme="light"] .faq-item__icon { background: #E5E3ED; }
[data-theme="light"] .faq-item__icon svg { stroke: #555566; }
[data-theme="light"] .faq-item.open .faq-item__icon { background: #0D0D0F; }
[data-theme="light"] .faq-item.open .faq-item__icon svg { stroke: #fff; }

/* ── 5) Light theme: adv-cards (partner page) — белый фон, иконка #5C37F7 ── */
[data-theme="light"] .adv-card {
    background: #ffffff;
    border-color: #E5E3ED;
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
[data-theme="light"] .adv-card:hover {
    border-color: #C8C6D6;
    box-shadow: 0 8px 28px rgba(0,0,0,.09);
}
[data-theme="light"] .adv-card__icon {
    background: #5C37F7;
    border-color: #5C37F7;
}
[data-theme="light"] .adv-card__icon img { filter: brightness(0) invert(1); opacity: 1; }

/* ── Light theme: step cards ── */
[data-theme="light"] .step-card {
    border-color: #E5E3ED;
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
/* 3) Блоки 01-04 — фиолетовый фон, белые цифры; hover → чёрный */
[data-theme="light"] .step-n {
    background: transparent;
    color: #0D0D0F;
    border: 1px solid rgba(0,0,0,.15);
    transition: background .25s, border-color .25s, color .25s;
}
[data-theme="light"] .step:hover .step-n {
    background: rgba(0,0,0,.06);
    border-color: rgba(0,0,0,.3);
    color: #0D0D0F;
}

/* ── Light theme: service cards ── */
[data-theme="light"] .svc-item {
    border-color: #E5E3ED;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
[data-theme="light"] .svc-item:hover {
    border-color: #C8C6D6;
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
}

/* ── Light theme: partner CTA ── */
[data-theme="light"] .partner-cta__inner {
    box-shadow: 0 4px 24px rgba(0,0,0,.08);
}

/* ── Light theme: footer ── */
[data-theme="light"] .footer { border-top-color: #E5E3ED; }
[data-theme="light"] .footer-bottom { border-top-color: #E5E3ED; }

@media (max-width: 640px) {
    .pf-section { padding: 72px 20px; }
    .pf-grid { grid-template-columns: 1fr; }
    .toast-container { top: 16px; right: 16px; left: 16px; }
    .toast { min-width: unset; max-width: 100%; }
}

/* ══════════════════════════════════════════════════════════
   PDF DOWNLOAD BUTTON
══════════════════════════════════════════════════════════ */
.btn-pdf {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 32px;
    font-size: 13px; font-weight: 600;
    color: var(--muted);
    border: 1px solid var(--grey_dark);
    border-radius: 100px; padding: 10px 20px;
    transition: color .25s, border-color .25s, background .25s;
    cursor: pointer;
}
.btn-pdf svg { width: 15px; height: 15px; flex-shrink: 0; }
.btn-pdf:hover { color: var(--white); border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.05); }
[data-theme="light"] .btn-pdf { color: #555566; border-color: rgba(0,0,0,.15); }
[data-theme="light"] .btn-pdf:hover { color: #0D0D0F; border-color: rgba(0,0,0,.3); background: rgba(0,0,0,.04); }

/* ══════════════════════════════════════════════════════════
   HELP PAGE
══════════════════════════════════════════════════════════ */
.help-section {
    padding: 80px 48px 100px;
    max-width: 860px;
    margin: 0 auto;
}
.help-accordion {
    border-bottom: 1px solid var(--grey_dark);
}
.help-accordion:first-child { border-top: 1px solid var(--grey_dark); }
.help-accordion__q {
    width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
    background: none; border: none; cursor: pointer;
    padding: 28px 0; text-align: left;
    transition: color .2s; color: var(--white);
}
.help-accordion__q:hover { color: var(--accent); }
.help-accordion__title {
    font-size: 18px; font-weight: 700; line-height: 1.3; flex: 1;
}
.help-accordion__icon {
    width: 32px; height: 32px; flex-shrink: 0;
    background: var(--grey_dark); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: background .25s, transform .4s var(--ease);
}
.help-accordion__icon svg { width: 14px; height: 14px; stroke: var(--muted); transition: stroke .25s; }
.help-accordion.open .help-accordion__icon { background: var(--accent-blue); transform: rotate(45deg); }
.help-accordion.open .help-accordion__icon svg { stroke: var(--white); }
.help-accordion__body {
    max-height: 0; overflow: hidden;
    transition: max-height .5s cubic-bezier(.2,0,0,1);
}
.help-accordion.open .help-accordion__body { max-height: 1200px; }
.help-accordion__inner {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 40px;
    padding-bottom: 40px;
    align-items: start;
}
.help-steps { list-style: none; margin: 0; padding: 0; }
.help-step {
    display: flex; gap: 16px; align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px solid var(--grey_dark);
}
.help-step:last-child { border-bottom: none; }
.help-step__num {
    width: 32px; height: 32px; flex-shrink: 0;
    background: transparent; border: 1px solid rgba(255,255,255,.15);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 800; color: var(--muted);
}
.help-step__text { font-size: 15px; color: var(--muted); line-height: 1.65; padding-top: 5px; }
.help-note {
    margin-top: 24px;
    padding: 16px 20px;
    border-left: 3px solid var(--grey_dark);
    font-size: 13px; color: var(--muted-2); line-height: 1.7;
}
.help-screenshot {
    border-radius: var(--r-lg);
    overflow: hidden;
}
.help-screenshot img { width: 100%; display: block; }

/* Light theme */
[data-theme="light"] .help-accordion { border-color: #E5E3ED; }
[data-theme="light"] .help-accordion:first-child { border-top-color: #E5E3ED; }
[data-theme="light"] .help-accordion__q { color: #0D0D0F; }
[data-theme="light"] .help-accordion__q:hover { color: var(--accent-blue); }
[data-theme="light"] .help-accordion__icon { background: #E5E3ED; }
[data-theme="light"] .help-accordion__icon svg { stroke: #555566; }
[data-theme="light"] .help-accordion.open .help-accordion__icon { background: #0D0D0F; }
[data-theme="light"] .help-accordion.open .help-accordion__icon svg { stroke: #fff; }
[data-theme="light"] .help-step { border-bottom-color: #E5E3ED; }
[data-theme="light"] .help-step__num { border-color: rgba(0,0,0,.15); color: #555566; }
[data-theme="light"] .help-step__text { color: #555566; }
[data-theme="light"] .help-note { border-left-color: #C8C6D6; color: #888899; }
[data-theme="light"] .help-screenshot { box-shadow: none; }

@media (max-width: 768px) {
    .help-section { padding: 60px 20px 80px; }
    .help-accordion__inner { grid-template-columns: 1fr; gap: 28px; }
    .help-screenshot { max-width: 260px; margin: 0 auto; }
    .help-accordion__title { font-size: 16px; }
}

