/* ============================================================
   Sparkle — landing page
   Tokens carried over from the mobile app's wwwroot/app.css so the
   site and the product read as one brand.
   ------------------------------------------------------------
   1. Tokens        2. Base          3. Buttons / bits
   4. Nav           5. Hero          6. Phone mockups
   7. Sections      8. Services      9. How it works
   10. Showcase     11. Features     12. Roles
   13. Payments     14. Testimonials 15. Pricing
   16. FAQ          17. CTA          18. Footer
   19. Responsive   20. Reduced motion
   ============================================================ */

/* ---- 1. Tokens ------------------------------------------- */

:root {
    --brand-50:  #eefcfb;
    --brand-100: #d3f6f3;
    --brand-200: #a8ede9;
    --brand-300: #6ddfda;
    --brand-400: #2ec9c6;
    --brand-500: #12aeae;
    --brand-600: #0b8b8e;
    --brand-700: #0e6e72;
    --brand-800: #11585c;
    --brand-900: #12494c;

    --violet-400: #8b7cf6;
    --violet-500: #7059f0;
    --violet-600: #5b41d8;

    --ok-500: #16a571;      --ok-100: #d6f5e7;
    --warn-500: #e08a15;    --warn-100: #fdf0d6;
    --danger-500: #e0483f;  --danger-100: #fde4e2;
    --info-500: #3b7fe0;    --info-100: #dce9fc;

    --ink-900: #0e1626;  --ink-800: #1b2739;  --ink-700: #33415a;
    --ink-600: #4a5a77;  --ink-500: #6b7a95;  --ink-400: #93a0b7;
    --ink-300: #c0c9d8;  --ink-200: #dee4ee;  --ink-100: #eef1f7;
    --ink-50:  #f6f8fc;

    --bg: #f4f7fb;
    --bg-tint: radial-gradient(1200px 600px at 10% -10%, #dff6f7 0%, transparent 55%),
               radial-gradient(900px 500px at 100% 0%, #e6e3fd 0%, transparent 50%);
    --surface: #ffffff;
    --surface-2: var(--ink-50);
    --surface-3: var(--ink-100);
    --surface-glass: rgba(255, 255, 255, .78);
    --border: var(--ink-200);
    --border-strong: var(--ink-300);

    --text: var(--ink-900);
    --text-soft: var(--ink-600);
    --text-mute: var(--ink-500);
    --text-invert: #ffffff;

    --gradient-brand: linear-gradient(135deg, #12aeae 0%, #2ec9c6 40%, #7059f0 100%);
    --gradient-brand-soft: linear-gradient(135deg, #d3f6f3 0%, #e6e3fd 100%);
    --gradient-deep: linear-gradient(160deg, #0e6e72 0%, #12aeae 42%, #5b41d8 100%);

    --shadow-xs: 0 1px 2px rgba(14, 22, 38, .06);
    --shadow-sm: 0 2px 8px rgba(14, 22, 38, .07);
    --shadow-md: 0 8px 24px -6px rgba(14, 22, 38, .12), 0 2px 6px rgba(14, 22, 38, .05);
    --shadow-lg: 0 20px 48px -12px rgba(14, 22, 38, .2), 0 4px 12px rgba(14, 22, 38, .06);
    --shadow-xl: 0 40px 90px -24px rgba(14, 22, 38, .3), 0 8px 24px rgba(14, 22, 38, .08);
    --shadow-brand: 0 10px 28px -8px rgba(18, 174, 174, .55);

    --radius-xs: 8px;  --radius-sm: 12px; --radius: 16px;
    --radius-lg: 22px; --radius-xl: 28px; --radius-2xl: 36px;
    --radius-pill: 999px;

    /* Plus Jakarta Sans has no Armenian or Cyrillic glyphs, so the browser
       falls back per-glyph: Noto Sans Armenian for hy, Inter for ru. */
    --font: "Plus Jakarta Sans", "Noto Sans Armenian", "Inter",
            -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;

    --ease-out: cubic-bezier(.22, 1, .36, 1);
    --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

    --nav-h: 74px;
}

html[data-theme="dark"] {
    --bg: #0a1018;
    --bg-tint: radial-gradient(1200px 600px at 10% -10%, rgba(18,174,174,.16) 0%, transparent 55%),
               radial-gradient(900px 500px at 100% 0%, rgba(112,89,240,.18) 0%, transparent 50%);
    --surface: #131c28;
    --surface-2: #1a2532;
    --surface-3: #22303f;
    --surface-glass: rgba(10, 16, 24, .78);
    --border: #26333f;
    --border-strong: #35455a;

    --text: #eef3f9;
    --text-soft: #a8b6c9;
    --text-mute: #7d8da2;

    --ok-100:     rgba(22, 165, 113, .18);
    --warn-100:   rgba(224, 138, 21, .18);
    --danger-100: rgba(224, 72, 63, .18);
    --info-100:   rgba(59, 127, 224, .18);
    --brand-100:  rgba(18, 174, 174, .18);
    --gradient-brand-soft: linear-gradient(135deg, rgba(18,174,174,.22) 0%, rgba(112,89,240,.22) 100%);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, .35);
    --shadow-md: 0 8px 24px -6px rgba(0, 0, 0, .5), 0 2px 6px rgba(0, 0, 0, .3);
    --shadow-lg: 0 20px 48px -12px rgba(0, 0, 0, .6), 0 4px 12px rgba(0, 0, 0, .35);
    --shadow-xl: 0 40px 90px -24px rgba(0, 0, 0, .7), 0 8px 24px rgba(0, 0, 0, .4);
    --shadow-brand: 0 10px 28px -8px rgba(18, 174, 174, .4);
}

/* ---- 2. Base ---------------------------------------------- */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background-color: var(--bg);
    background-image: var(--bg-tint);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    transition: background-color .35s var(--ease-out), color .35s var(--ease-out);
}

h1, h2, h3, h4 { font-weight: 800; letter-spacing: -.025em; line-height: 1.18; margin: 0; }
p { margin: 0; }
a { color: var(--brand-600); text-decoration: none; transition: color .2s var(--ease-out); }
a:hover { color: var(--brand-500); }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; margin: 0; padding: 0; }

:focus-visible { outline: 2px solid var(--brand-400); outline-offset: 3px; border-radius: var(--radius-xs); }

::selection { background: var(--brand-200); color: var(--ink-900); }

/* Slim, on-brand scrollbar. */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 99px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--brand-400); }

.grad-text {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--brand-600);
    margin-bottom: 14px;
}
html[data-theme="dark"] .eyebrow { color: var(--brand-300); }

/* Reading-progress bar pinned above the nav. */
.scroll-progress {
    position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 1080;
    background: transparent; pointer-events: none;
}
.scroll-progress span {
    display: block; height: 100%; width: 0;
    background: var(--gradient-brand);
    box-shadow: 0 0 12px rgba(18,174,174,.6);
}

/* ---- 3. Buttons / bits ------------------------------------ */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    min-height: 48px; padding: 0 26px;
    border: 1.5px solid transparent; border-radius: var(--radius-pill);
    font-family: var(--font); font-size: 15px; font-weight: 700; letter-spacing: -.01em;
    cursor: pointer; white-space: nowrap;
    transition: transform .2s var(--ease-spring), box-shadow .25s var(--ease-out),
                background-color .25s var(--ease-out), border-color .25s var(--ease-out), color .2s;
}
.btn:active { transform: scale(.965); }
.btn-lg { min-height: 56px; padding: 0 32px; font-size: 16px; }

.btn-brand {
    background: var(--gradient-brand);
    background-size: 180% 180%;
    color: #fff;
    box-shadow: var(--shadow-brand);
}
.btn-brand:hover { color: #fff; background-position: 100% 50%; transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(18,174,174,.65); }

.btn-outline-soft {
    background: var(--surface);
    border-color: var(--border-strong);
    color: var(--text);
    box-shadow: var(--shadow-xs);
}
.btn-outline-soft:hover { color: var(--brand-600); border-color: var(--brand-400); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-dark-solid { background: var(--ink-900); color: #fff; }
.btn-dark-solid:hover { color: #fff; background: var(--ink-800); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
html[data-theme="dark"] .btn-dark-solid { background: var(--gradient-brand); }

.btn-sm-pill { min-height: 42px; padding: 0 20px; font-size: 14px; }

.pill-badge {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 7px 16px 7px 12px;
    border-radius: var(--radius-pill);
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    font-size: 13px; font-weight: 700; color: var(--text-soft);
    margin-bottom: 22px;
}
.dot-live {
    width: 8px; height: 8px; border-radius: 50%; background: var(--ok-500);
    box-shadow: 0 0 0 0 rgba(22,165,113,.6);
    animation: pulse 2.2s infinite;
}
@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(22,165,113,.55); }
    70%  { box-shadow: 0 0 0 9px rgba(22,165,113,0); }
    100% { box-shadow: 0 0 0 0 rgba(22,165,113,0); }
}

/* Shared accent chips used by icons/avatars across the page. */
.accent-1 { background: linear-gradient(135deg, #12aeae, #2ec9c6); color: #fff; }
.accent-2 { background: linear-gradient(135deg, #7059f0, #8b7cf6); color: #fff; }
.accent-3 { background: linear-gradient(135deg, #3b7fe0, #6ddfda); color: #fff; }
.accent-4 { background: linear-gradient(135deg, #e08a15, #f0b429); color: #fff; }

/* ---- 4. Nav ------------------------------------------------ */

.site-nav {
    height: var(--nav-h);
    padding: 0;
    background: transparent;
    transition: background-color .3s var(--ease-out), box-shadow .3s var(--ease-out),
                backdrop-filter .3s, border-color .3s;
    border-bottom: 1px solid transparent;
    z-index: 1070;
}
.site-nav.scrolled {
    background: var(--surface-glass);
    backdrop-filter: saturate(180%) blur(18px);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.navbar-brand { font-weight: 800; font-size: 21px; letter-spacing: -.03em; color: var(--text); }
.navbar-brand:hover { color: var(--text); }

.brand-mark {
    display: grid; place-items: center;
    width: 38px; height: 38px;
    border-radius: 12px;
    background: var(--gradient-brand);
    color: #fff;
    box-shadow: var(--shadow-brand);
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-word { background: none; color: inherit; }

.site-nav .nav-link {
    font-size: 15px; font-weight: 600; color: var(--text-soft);
    padding: 8px 14px; border-radius: var(--radius-pill);
    transition: color .2s, background-color .2s;
}
.site-nav .nav-link:hover,
.site-nav .nav-link.active { color: var(--brand-600); background: var(--brand-100); }
html[data-theme="dark"] .site-nav .nav-link:hover,
html[data-theme="dark"] .site-nav .nav-link.active { color: var(--brand-300); }

.navbar-toggler { color: var(--text); }

/* Language switcher */
.lang-toggle {
    display: inline-flex; align-items: center; gap: 7px;
    height: 42px; padding: 0 14px;
    border: 1px solid var(--border); border-radius: var(--radius-pill);
    background: var(--surface); color: var(--text-soft);
    font-family: var(--font); font-size: 13.5px; font-weight: 800; letter-spacing: .02em;
    cursor: pointer;
    transition: color .2s, border-color .2s, background-color .2s;
}
.lang-toggle:hover { color: var(--brand-600); border-color: var(--brand-300); }
.lang-toggle i { font-size: 16px; }
.lang-toggle::after { margin-left: 1px; opacity: .6; }

.lang-menu {
    min-width: 190px; padding: 7px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.lang-menu .dropdown-item {
    display: flex; align-items: center; gap: 11px;
    padding: 10px 12px; border-radius: var(--radius-sm);
    font-family: var(--font); font-size: 14.5px; font-weight: 600;
    color: var(--text); cursor: pointer;
}
.lang-menu .dropdown-item:hover { background: var(--surface-2); color: var(--brand-600); }
.lang-menu .dropdown-item.active { background: var(--brand-100); color: var(--brand-600); }
html[data-theme="dark"] .lang-menu .dropdown-item:hover,
html[data-theme="dark"] .lang-menu .dropdown-item.active { color: var(--brand-300); }
.lang-code {
    display: grid; place-items: center; flex: none;
    min-width: 32px; height: 24px; padding: 0 6px;
    border-radius: 7px; background: var(--surface-3);
    font-size: 11px; font-weight: 800; letter-spacing: .04em;
}
.lang-menu .dropdown-item.active .lang-code { background: var(--gradient-brand); color: #fff; }

.theme-toggle {
    display: grid; place-items: center;
    width: 42px; height: 42px;
    border: 1px solid var(--border); border-radius: 50%;
    background: var(--surface); color: var(--text-soft);
    font-size: 17px; cursor: pointer;
    transition: transform .3s var(--ease-spring), color .2s, border-color .2s, background-color .2s;
}
.theme-toggle:hover { color: var(--brand-500); border-color: var(--brand-300); transform: rotate(-18deg) scale(1.06); }

@media (max-width: 991.98px) {
    .navbar-collapse {
        margin-top: 12px; padding: 14px;
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-lg);
    }
    .site-nav .nav-link { padding: 11px 14px; }
    .theme-toggle { margin-top: 8px; }
}

/* ---- 5. Hero ----------------------------------------------- */

.hero-section {
    position: relative;
    padding: calc(var(--nav-h) + 70px) 0 150px;
    overflow: hidden;
}

.hero-aurora, .cta-aurora { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.blob-1 { width: 520px; height: 520px; top: -180px; left: -120px; background: #6ddfda; animation: drift 18s ease-in-out infinite; }
.blob-2 { width: 460px; height: 460px; top: 40px; right: -140px; background: #8b7cf6; animation: drift 22s ease-in-out infinite reverse; }
.blob-3 { width: 380px; height: 380px; bottom: -160px; left: 38%; background: #2ec9c6; opacity: .35; animation: drift 26s ease-in-out infinite; }
html[data-theme="dark"] .blob { opacity: .3; }

@keyframes drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(40px, -30px) scale(1.08); }
    66%      { transform: translate(-30px, 25px) scale(.95); }
}

.hero-grid-overlay {
    position: absolute; inset: 0;
    background-image: linear-gradient(var(--border) 1px, transparent 1px),
                      linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 72%);
    -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 72%);
    opacity: .5; pointer-events: none;
}

.hero-title { font-size: clamp(2.5rem, 5.4vw, 4.15rem); letter-spacing: -.04em; }
.hero-sub { margin-top: 22px; font-size: 18px; color: var(--text-soft); max-width: 52ch; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-points { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 30px; }
.hero-points li { display: flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 600; color: var(--text-soft); }
.hero-points i { color: var(--brand-500); font-size: 17px; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hstat {
    flex: 1 1 130px; padding: 16px 18px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); box-shadow: var(--shadow-sm);
    transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.hstat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.hstat-value { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.hstat-label { font-size: 12.5px; font-weight: 600; color: var(--text-mute); }

.hero-wave { position: absolute; inset: auto 0 -1px 0; line-height: 0; pointer-events: none; }
.hero-wave svg { width: 100%; height: 110px; }
.hero-wave path { fill: var(--bg); }

/* ---- 6. Phone mockups -------------------------------------- */

.hero-devices { position: relative; min-height: 620px; display: grid; place-items: center; }

.phone { position: relative; width: 300px; }

.phone-frame {
    position: relative;
    padding: 11px;
    border-radius: 44px;
    background: linear-gradient(160deg, #2b3646, #0d131c);
    box-shadow: var(--shadow-xl), inset 0 0 0 1.5px rgba(255,255,255,.12);
}
html[data-theme="dark"] .phone-frame { box-shadow: var(--shadow-xl), inset 0 0 0 1.5px rgba(255,255,255,.08); }

.phone-notch {
    position: absolute; top: 17px; left: 50%; transform: translateX(-50%);
    width: 104px; height: 22px; border-radius: 99px; background: #0d131c; z-index: 5;
}

.phone-screen {
    position: relative;
    height: 590px;
    border-radius: 34px;
    overflow: hidden;
    background: var(--bg);
    background-image: var(--bg-tint);
    color: var(--text);
    font-size: 12px; line-height: 1.45;
    display: flex; flex-direction: column;
}

/* Slides that show the app's dark theme keep their own palette regardless
   of the page theme — same values as app.css's html[data-theme="dark"]. */
.dark-screen {
    --surface: #131c28; --surface-2: #1a2532; --surface-3: #22303f;
    --border: #26333f; --border-strong: #35455a;
    --text: #eef3f9; --text-soft: #a8b6c9; --text-mute: #7d8da2;
    --brand-100: rgba(18,174,174,.18); --warn-100: rgba(224,138,21,.18);
    --ok-100: rgba(22,165,113,.18); --info-100: rgba(59,127,224,.18);
    background: #0a1018;
    background-image: radial-gradient(600px 300px at 10% -10%, rgba(18,174,174,.16) 0%, transparent 55%),
                      radial-gradient(450px 250px at 100% 0%, rgba(112,89,240,.18) 0%, transparent 50%);
    color: #eef3f9;
}

.hero-devices .phone-back {
    position: absolute; left: 2%; top: 44%;
    transform: translateY(-50%) rotate(-9deg) scale(.9);
    z-index: 1; opacity: .95;
}
.hero-devices .phone-front { position: relative; z-index: 2; transform: rotate(3deg); }

.tilt { transition: transform .6s var(--ease-out); will-change: transform; }
.hero-devices:hover .phone-back  { transform: translateY(-50%) rotate(-12deg) scale(.92); }
.hero-devices:hover .phone-front { transform: rotate(1deg) translateY(-10px); }

/* -- welcome screen -- */
.screen-welcome {
    background: var(--gradient-deep);
    color: #fff;
    padding: 46px 22px 22px;
    gap: 18px;
    justify-content: space-between;
}
.w-glow {
    position: absolute; inset: -22% -30% auto auto; width: 260px; height: 260px;
    border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.25) 0%, transparent 65%);
}
.screen-welcome > *:not(.w-glow) { position: relative; z-index: 1; }
.w-top { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.w-mark {
    display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px;
    background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.28);
}
.w-mark svg { width: 30px; height: 30px; }
.w-brand { font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.w-tag { font-size: 10.5px; opacity: .8; letter-spacing: .05em; }
.w-copy h3 { font-size: 22px; line-height: 1.15; letter-spacing: -.03em; }
.w-copy p { margin-top: 9px; font-size: 11.5px; opacity: .86; line-height: 1.5; }
.w-points { display: flex; flex-direction: column; gap: 9px; }
.w-point { display: flex; align-items: center; gap: 9px; font-size: 11px; font-weight: 600; }
.w-point span {
    display: grid; place-items: center; width: 26px; height: 26px; flex: none;
    border-radius: 99px; background: rgba(255,255,255,.16); font-size: 12px;
}
.w-actions { display: flex; flex-direction: column; gap: 9px; }
.w-btn {
    height: 40px; display: grid; place-items: center;
    border-radius: 99px; font-size: 12.5px; font-weight: 700;
}
.w-btn-light { background: #fff; color: var(--brand-700); }
.w-btn-ghost { border: 1.5px solid rgba(255,255,255,.4); color: #fff; }

/* -- in-app chrome -- */
.app-hero {
    padding: 40px 18px 30px;
    background: var(--gradient-brand);
    color: #fff;
    border-radius: 0 0 26px 26px;
    box-shadow: var(--shadow-brand);
    flex: none;
}
.app-hero-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.app-eyebrow { font-size: 9.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .82; }
.app-title { font-size: 20px; font-weight: 800; letter-spacing: -.02em; margin-top: 2px; }
.app-sub { font-size: 11px; opacity: .88; margin-top: 3px; }
.app-icon-btn {
    display: grid; place-items: center; width: 30px; height: 30px; flex: none;
    border-radius: 99px; background: rgba(255,255,255,.2); font-size: 13px;
}

.app-topbar {
    display: flex; align-items: center; justify-content: space-between;
    padding: 40px 16px 11px;
    background: var(--surface-glass);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    font-size: 12.5px; font-weight: 700;
    flex: none;
}
.dark-screen .app-topbar { background: rgba(19,28,40,.82); }
.app-topbar i { font-size: 14px; color: var(--text-soft); width: 16px; }

.app-body {
    flex: 1; overflow: hidden;
    padding: 14px;
    display: flex; flex-direction: column; gap: 10px;
}

.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: -34px; }
.stat {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 14px; padding: 10px 8px; text-align: center;
    box-shadow: var(--shadow-sm);
}
.stat-value { display: block; font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.stat-label { font-size: 9.5px; font-weight: 600; color: var(--text-mute); }

.app-section-head {
    display: flex; align-items: baseline; justify-content: space-between;
    font-size: 12.5px; font-weight: 800; margin-top: 4px;
}
.app-section-head .link { font-size: 10.5px; font-weight: 700; color: var(--brand-500); }

.app-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 16px; padding: 11px;
    box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column; gap: 8px;
}
.app-card.tint {
    background: var(--gradient-brand-soft); border-color: transparent;
    flex-direction: row; align-items: center; gap: 9px;
}
.app-card.tint > .ac-row { flex: 1; min-width: 0; }
.ac-row { display: flex; align-items: center; gap: 9px; }
.grow { flex: 1; min-width: 0; }
.ac-title { font-size: 12px; font-weight: 700; letter-spacing: -.01em; }
.ac-sub { font-size: 10.5px; color: var(--text-soft); }
.chev { font-size: 12px; color: var(--text-mute); }

.app-avatar {
    display: grid; place-items: center; flex: none;
    width: 32px; height: 32px; border-radius: 11px;
    font-size: 13px; font-weight: 800;
}

.app-badge {
    flex: none; padding: 3px 9px; border-radius: 99px;
    font-size: 9.5px; font-weight: 800; letter-spacing: .01em;
    background: var(--surface-3); color: var(--text-soft);
}
.app-badge.warn { background: var(--warn-100); color: var(--warn-500); }
.app-badge.info { background: var(--info-100); color: var(--info-500); }
.app-badge.ok   { background: var(--ok-100);   color: var(--ok-500); }

.ac-progress { height: 5px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.ac-progress span { display: block; height: 100%; border-radius: 99px; background: var(--gradient-brand); }

.ac-foot { display: flex; align-items: center; justify-content: space-between; font-size: 11px; }
.ac-foot b { font-size: 13px; font-weight: 800; letter-spacing: -.02em; }
.ac-foot span { color: var(--text-mute); }

.app-tabbar {
    flex: none;
    display: grid; grid-template-columns: repeat(4, 1fr);
    padding: 8px 6px 12px;
    background: var(--surface-glass);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--border);
}
.dark-screen .app-tabbar { background: rgba(19,28,40,.82); }
.app-tabbar .tab {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    font-size: 13px; color: var(--text-mute);
}
.app-tabbar .tab em { font-style: normal; font-size: 9px; font-weight: 700; }
.app-tabbar .tab.active { color: var(--brand-500); }

.app-search {
    display: flex; align-items: center; gap: 8px;
    padding: 9px 12px; border-radius: 99px;
    background: var(--surface); border: 1px solid var(--border);
    font-size: 11.5px; color: var(--text-mute);
}
.app-chips { display: flex; gap: 6px; }
.chip {
    padding: 5px 11px; border-radius: 99px; font-size: 10px; font-weight: 700;
    background: var(--surface); border: 1px solid var(--border); color: var(--text-soft);
}
.chip.active { background: var(--gradient-brand); color: #fff; border-color: transparent; }

.app-progress { height: 5px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.app-progress span { display: block; height: 100%; background: var(--gradient-brand); border-radius: 99px; }

.app-label { font-size: 11.5px; font-weight: 800; margin-top: 3px; }

.app-cta-soft {
    display: flex; align-items: center; justify-content: center; gap: 7px;
    padding: 10px; border-radius: 99px;
    background: var(--brand-100); color: var(--brand-600);
    font-size: 11px; font-weight: 700;
}
html[data-theme="dark"] .app-cta-soft, .dark-screen .app-cta-soft { color: var(--brand-300); }

.app-field {
    padding: 8px 12px; border-radius: 13px;
    background: var(--surface); border: 1px solid var(--border);
}
.app-field em { display: block; font-style: normal; font-size: 9px; font-weight: 700; color: var(--text-mute); text-transform: uppercase; letter-spacing: .07em; }
.app-field span { font-size: 11.5px; font-weight: 600; }
.app-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.app-map {
    position: relative; flex: 1; min-height: 90px;
    border-radius: 16px; overflow: hidden;
    background: linear-gradient(135deg, var(--brand-100), var(--surface-3));
    border: 1px solid var(--border);
}
.map-grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(var(--border) 1px, transparent 1px),
                      linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 22px 22px; opacity: .7;
}
.map-pin {
    position: absolute; top: 44%; left: 50%; transform: translate(-50%, -100%);
    color: var(--brand-500); font-size: 22px; z-index: 2;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,.25));
    animation: pinBob 2.4s ease-in-out infinite;
}
@keyframes pinBob { 0%,100% { transform: translate(-50%, -100%); } 50% { transform: translate(-50%, -118%); } }

.app-dock {
    flex: none; padding: 10px 14px 16px;
    background: var(--surface-glass); backdrop-filter: blur(14px);
    border-top: 1px solid var(--border);
}
.dark-screen .app-dock { background: rgba(19,28,40,.82); }
.dock-btn {
    height: 40px; display: grid; place-items: center;
    border-radius: 99px; font-size: 12.5px; font-weight: 700;
    background: var(--gradient-brand); color: #fff; box-shadow: var(--shadow-brand);
}
.dock-btn.ghost { background: var(--surface-3); color: var(--text); box-shadow: none; }

.app-timeline { display: flex; flex-direction: column; }
.tl { position: relative; display: flex; gap: 11px; padding-bottom: 11px; }
.tl > span {
    position: relative; flex: none;
    width: 11px; height: 11px; margin-top: 3px; border-radius: 50%;
    background: var(--surface-3); border: 2px solid var(--border-strong);
}
.tl:not(:last-child) > span::after {
    content: ""; position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
    width: 2px; height: 26px; background: var(--border);
}
.tl.done > span { background: var(--ok-500); border-color: var(--ok-500); }
.tl.done:not(:last-child) > span::after { background: var(--ok-500); opacity: .45; }
.tl.active > span {
    background: var(--brand-500); border-color: var(--brand-500);
    box-shadow: 0 0 0 4px rgba(18,174,174,.22);
}
.tl b { display: block; font-size: 11px; font-weight: 700; }
.tl em { font-style: normal; font-size: 9.5px; color: var(--text-mute); }

.app-seg {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px;
    padding: 3px; border-radius: 99px;
    background: var(--surface-3);
}
.app-seg span {
    text-align: center; padding: 5px 4px; border-radius: 99px;
    font-size: 9.5px; font-weight: 700; color: var(--text-soft);
}
.app-seg span.active { background: var(--surface); color: var(--text); box-shadow: var(--shadow-xs); }

/* Toggle row on the "add a card" screen. */
.app-toggle {
    display: flex; align-items: center; gap: 10px;
    padding: 11px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 16px; box-shadow: var(--shadow-sm);
}

/* Reassuring footnote under the card form. */
.app-secure {
    display: flex; align-items: flex-start; gap: 7px;
    margin-top: 2px;
    font-size: 9.5px; line-height: 1.45; color: var(--text-mute);
}
.app-secure i { color: var(--brand-500); font-size: 11px; margin-top: 1px; flex: none; }

.app-switch {
    flex: none; width: 34px; height: 20px; border-radius: 99px;
    background: var(--surface-3); position: relative;
}
.app-switch::after {
    content: ""; position: absolute; top: 2px; left: 2px;
    width: 16px; height: 16px; border-radius: 50%; background: #fff;
    box-shadow: var(--shadow-xs); transition: left .25s var(--ease-spring);
}
.app-switch.on { background: var(--brand-500); }
.app-switch.on::after { left: 16px; }

/* Floating notification cards around the hero devices. */
.floaty-card {
    position: absolute; z-index: 4;
    display: flex; align-items: center; gap: 11px;
    padding: 11px 15px;
    background: var(--surface-glass);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}
.floaty-1 { top: 8%; right: -2%; animation: float 6s ease-in-out infinite; }
.floaty-2 { bottom: 12%; left: -4%; animation: float 7.5s ease-in-out infinite 1s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.fc-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 11px; font-size: 15px; }
.fc-icon.ok { background: var(--ok-100); color: var(--ok-500); }
.fc-icon.brand { background: var(--brand-100); color: var(--brand-500); }
.fc-title { font-size: 13px; font-weight: 700; letter-spacing: -.01em; }
.fc-sub { font-size: 11.5px; color: var(--text-mute); }

/* ---- 7. Sections ------------------------------------------- */

.section { position: relative; padding: 110px 0; }
.section-alt { background: var(--surface-2); border-block: 1px solid var(--border); }
html[data-theme="dark"] .section-alt { background: rgba(255,255,255,.018); }

.section-head { max-width: 720px; margin: 0 auto 52px; }
.section-title { font-size: clamp(2rem, 3.6vw, 2.85rem); }
.section-sub { margin-top: 16px; font-size: 17px; color: var(--text-soft); }
.section-head.text-center .section-sub { margin-left: auto; margin-right: auto; max-width: 60ch; }

/* Marquee trust strip. */
.trust-strip { padding: 26px 0; background: var(--surface); border-bottom: 1px solid var(--border); overflow: hidden; }
.trust-inner { display: flex; align-items: center; gap: 26px; }
.trust-label { flex: none; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--text-mute); }
.marquee { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 42px; width: max-content; animation: marquee 34s linear infinite; }
.marquee-track span { display: flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 600; color: var(--text-soft); white-space: nowrap; }
.marquee-track i { color: var(--brand-500); font-size: 17px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- 8. Services -------------------------------------------- */

.svc-card {
    position: relative; height: 100%; overflow: hidden;
    padding: 30px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-xl); box-shadow: var(--shadow-sm);
    transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s;
    display: flex; flex-direction: column;
}
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--brand-200); }
.svc-card.featured { border-color: var(--brand-300); box-shadow: var(--shadow-md); }

.svc-glow {
    position: absolute; inset: -60% -30% auto auto; width: 240px; height: 240px;
    border-radius: 50%; background: var(--gradient-brand); opacity: 0; filter: blur(60px);
    transition: opacity .45s var(--ease-out); pointer-events: none;
}
.svc-card:hover .svc-glow { opacity: .22; }

.svc-flag {
    position: absolute; top: 20px; right: 20px;
    padding: 5px 13px; border-radius: 99px;
    background: var(--gradient-brand); color: #fff;
    font-size: 11px; font-weight: 800; letter-spacing: .02em;
    box-shadow: var(--shadow-brand);
}

.svc-icon {
    display: grid; place-items: center;
    width: 60px; height: 60px; border-radius: 20px;
    font-size: 27px; margin-bottom: 20px;
    box-shadow: var(--shadow-md);
}
.svc-title { font-size: 22px; }
.svc-desc { margin-top: 10px; font-size: 15px; color: var(--text-soft); }

.svc-list { margin-top: 20px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.svc-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--text-soft); }
.svc-list i { color: var(--brand-500); font-weight: 700; margin-top: 4px; }

.svc-foot {
    display: flex; align-items: flex-end; justify-content: space-between;
    margin-top: 24px; padding-top: 20px; border-top: 1px dashed var(--border-strong);
}
.svc-price { display: block; font-size: 27px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.svc-per { font-size: 12px; font-weight: 700; color: var(--text-mute); text-transform: uppercase; letter-spacing: .08em; }
.svc-dur { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--text-mute); }


/* ---- 9. How it works ---------------------------------------- */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step {
    position: relative; padding: 30px 26px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-xl); box-shadow: var(--shadow-sm);
    transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.step:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.step-num {
    position: absolute; top: 18px; right: 22px;
    font-size: 42px; font-weight: 800; letter-spacing: -.05em;
    color: var(--text); opacity: .07;
}
.step-icon {
    display: grid; place-items: center;
    width: 54px; height: 54px; border-radius: 18px;
    font-size: 24px; margin-bottom: 18px; box-shadow: var(--shadow-md);
}
.step h3 { font-size: 19px; }
.step p { margin-top: 10px; font-size: 14.5px; color: var(--text-soft); }

.lifecycle {
    margin-top: 56px; padding: 40px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-2xl); box-shadow: var(--shadow-md);
}
.lifecycle-head { text-align: center; margin-bottom: 40px; }
.lifecycle-head h3 { font-size: 24px; }
.lifecycle-head p { margin-top: 8px; font-size: 15px; color: var(--text-soft); }

.lifecycle-track { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.lc-line { position: absolute; top: 23px; left: 8%; right: 8%; height: 3px; border-radius: 99px; background: var(--border); }
.lc-node { position: relative; text-align: center; z-index: 1; }
.lc-dot {
    display: grid; place-items: center; margin: 0 auto 14px;
    width: 46px; height: 46px; border-radius: 50%;
    background: var(--surface); border: 3px solid var(--border);
    color: var(--text-mute); font-size: 17px;
    transition: transform .3s var(--ease-spring);
}
.lc-node:hover .lc-dot { transform: scale(1.12); }
.lc-node.done .lc-dot { background: var(--ok-100); border-color: var(--ok-500); color: var(--ok-500); }
.lc-node.active .lc-dot {
    background: var(--gradient-brand); border-color: transparent; color: #fff;
    box-shadow: 0 0 0 6px rgba(18,174,174,.18);
    animation: pulseRing 2.4s ease-out infinite;
}
@keyframes pulseRing {
    0%   { box-shadow: 0 0 0 0 rgba(18,174,174,.4); }
    70%  { box-shadow: 0 0 0 16px rgba(18,174,174,0); }
    100% { box-shadow: 0 0 0 0 rgba(18,174,174,0); }
}
.lc-node b { display: block; font-size: 14px; font-weight: 800; }
.lc-node em { font-style: normal; font-size: 12.5px; color: var(--text-mute); }

/* ---- 10. Showcase -------------------------------------------- */

.showcase { overflow: hidden; }
.screensSwiper { padding: 20px 10px 70px; }
.screensSwiper .swiper-slide {
    width: 300px;
    display: flex; flex-direction: column; align-items: center;
    opacity: .45; transform: scale(.88);
    transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.screensSwiper .swiper-slide-active { opacity: 1; transform: scale(1); }
.screensSwiper .swiper-slide-next,
.screensSwiper .swiper-slide-prev { opacity: .75; transform: scale(.94); }

.slide-cap { margin-top: 22px; font-size: 14.5px; color: var(--text-soft); text-align: center; }
.slide-cap b { color: var(--text); font-weight: 800; }

.swiper-pagination-bullet { background: var(--border-strong); opacity: 1; width: 8px; height: 8px; transition: width .3s var(--ease-out), background .3s; }
.swiper-pagination-bullet-active { background: var(--brand-500); width: 26px; border-radius: 99px; }

.swiper-button-prev, .swiper-button-next {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--surface); border: 1px solid var(--border);
    color: var(--brand-600); box-shadow: var(--shadow-md);
    transition: transform .25s var(--ease-spring), background .25s;
}
.swiper-button-prev:hover, .swiper-button-next:hover { transform: scale(1.08); background: var(--brand-100); }
.swiper-button-prev::after, .swiper-button-next::after { font-size: 17px; font-weight: 800; }

/* ---- 11. Features -------------------------------------------- */

.feat {
    height: 100%; padding: 30px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-xl); box-shadow: var(--shadow-sm);
    transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s;
}
.feat:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--brand-200); }
.feat-icon {
    display: grid; place-items: center;
    width: 52px; height: 52px; border-radius: 17px;
    font-size: 23px; margin-bottom: 18px; box-shadow: var(--shadow-md);
}
.feat h3 { font-size: 19px; }
.feat p { margin-top: 10px; font-size: 14.5px; color: var(--text-soft); }

/* ---- 12. Roles ----------------------------------------------- */

.role-tabs { gap: 10px; margin-bottom: 44px; flex-wrap: wrap; }
.role-tab {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 12px 26px; border: 1px solid var(--border); border-radius: var(--radius-pill);
    background: var(--surface); color: var(--text-soft);
    font-family: var(--font); font-size: 15px; font-weight: 700; cursor: pointer;
    transition: all .3s var(--ease-out);
}
.role-tab:hover { color: var(--brand-600); border-color: var(--brand-300); }
.role-tab.active { background: var(--gradient-brand); color: #fff; border-color: transparent; box-shadow: var(--shadow-brand); }

.role-panels {
    padding: 44px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-2xl); box-shadow: var(--shadow-md);
}
.role-title { font-size: 30px; }
.role-text { margin-top: 14px; font-size: 16px; color: var(--text-soft); }
.role-list { margin-top: 22px; display: flex; flex-direction: column; gap: 11px; }
.role-list li { display: flex; align-items: flex-start; gap: 11px; font-size: 15px; color: var(--text-soft); }
.role-list i { color: var(--brand-500); margin-top: 4px; }

.role-visual {
    display: grid; place-items: center;
    aspect-ratio: 4/3; border-radius: var(--radius-2xl);
    font-size: 88px; color: #fff;
    box-shadow: var(--shadow-lg);
    position: relative; overflow: hidden;
}
.role-visual::after {
    content: ""; position: absolute; inset: -30% auto auto -20%;
    width: 300px; height: 300px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,.3) 0%, transparent 68%);
}
.role-visual i { position: relative; z-index: 1; animation: float 8s ease-in-out infinite; }

/* ---- 13. Payments -------------------------------------------- */

/* Three-step money flow: client card → service fee → cleaner wallet. */
.pay-steps { display: flex; flex-direction: column; gap: 16px; margin-top: 30px; }
.pay-step {
    display: flex; align-items: flex-start; gap: 16px;
    padding: 18px 20px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
    transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s;
}
.pay-step:hover { transform: translateX(5px); box-shadow: var(--shadow-md); border-color: var(--brand-200); }
.pay-step__num {
    display: grid; place-items: center; flex: none;
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--gradient-brand); color: #fff;
    font-size: 14px; font-weight: 800;
    box-shadow: var(--shadow-brand);
}
.pay-step b { display: block; font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.pay-step em { display: block; font-style: normal; font-size: 14px; color: var(--text-soft); margin-top: 4px; }

.pay-note {
    display: flex; align-items: flex-start; gap: 10px;
    margin-top: 22px; font-size: 13.5px; color: var(--text-mute);
}
.pay-note i { color: var(--brand-500); font-size: 16px; margin-top: 2px; }

/* Wallet chip floating opposite the payment toast. */
.pay-wallet {
    position: absolute; top: 6px; left: 2%;
    display: flex; align-items: center; gap: 11px;
    padding: 12px 18px; border-radius: var(--radius);
    background: var(--surface-glass); backdrop-filter: blur(16px);
    border: 1px solid var(--border); box-shadow: var(--shadow-lg);
    animation: float 7s ease-in-out infinite 1.2s;
}
.pw-icon {
    display: grid; place-items: center; width: 34px; height: 34px;
    border-radius: 11px; background: var(--brand-100); color: var(--brand-500); font-size: 16px;
}
.pw-title { font-size: 12px; font-weight: 700; color: var(--text-mute); }
.pw-amount { font-size: 16px; font-weight: 800; color: var(--ok-500); letter-spacing: -.02em; }

.pay-visual { position: relative; display: grid; place-items: center; padding: 30px 0; perspective: 1200px; }

.credit-card {
    position: relative; width: min(400px, 100%); aspect-ratio: 1.6/1;
    padding: 28px; border-radius: var(--radius-xl);
    background: var(--gradient-deep);
    color: #fff; overflow: hidden;
    box-shadow: var(--shadow-xl);
    display: flex; flex-direction: column; justify-content: space-between;
    transform: rotate(-5deg) rotateY(-12deg);
    transition: transform .6s var(--ease-out);
}
.credit-card:hover { transform: rotate(-2deg) rotateY(0deg) translateY(-8px); }
.cc-top { display: flex; align-items: center; justify-content: space-between; }
.cc-chip { width: 46px; height: 34px; border-radius: 8px; background: linear-gradient(135deg, #f0c14b, #d9a441); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.cc-nfc { font-size: 22px; opacity: .85; transform: rotate(90deg); }
.cc-num { font-size: 22px; font-weight: 700; letter-spacing: .09em; font-variant-numeric: tabular-nums; }
.cc-bottom { display: flex; justify-content: space-between; gap: 20px; }
.cc-bottom em { display: block; font-style: normal; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.cc-bottom b { font-size: 14px; font-weight: 700; letter-spacing: .05em; }
.cc-sheen {
    position: absolute; inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
    transform: translateX(-100%);
    animation: sheen 5s ease-in-out infinite;
}
@keyframes sheen { 0%, 60% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

.pay-toast {
    position: absolute; bottom: 8px; right: 4%;
    display: flex; align-items: center; gap: 9px;
    padding: 12px 18px; border-radius: var(--radius);
    background: var(--surface-glass); backdrop-filter: blur(16px);
    border: 1px solid var(--border); box-shadow: var(--shadow-lg);
    font-size: 14px; font-weight: 700;
    animation: float 6s ease-in-out infinite;
}
.pay-toast i { color: var(--ok-500); font-size: 17px; }

/* ---- 14. Testimonials ---------------------------------------- */

.testiSwiper { padding: 10px 6px 60px; }
.testi {
    height: 100%; margin: 0; padding: 30px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-xl); box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column; gap: 16px;
    transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.testi:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.stars { display: flex; gap: 3px; color: #f0b429; font-size: 15px; }
.testi blockquote { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--text-soft); flex: 1; }
.testi figcaption { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--border); }
.t-av { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; font-size: 14px; font-weight: 800; }
.testi figcaption b { display: block; font-size: 14.5px; font-weight: 800; }
.testi figcaption em { font-style: normal; font-size: 12.5px; color: var(--text-mute); }

/* ---- 15. Pricing --------------------------------------------- */

.price-card {
    position: relative; height: 100%; padding: 34px 30px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-xl); box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column;
    transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s;
}
.price-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.price-card.popular { border-color: var(--brand-400); box-shadow: var(--shadow-md); }
.price-flag {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    padding: 6px 18px; border-radius: 99px;
    background: var(--gradient-brand); color: #fff;
    font-size: 12px; font-weight: 800; white-space: nowrap;
    box-shadow: var(--shadow-brand);
}
.price-name { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--text-mute); }
.price-amount { margin-top: 12px; font-size: 38px; font-weight: 800; letter-spacing: -.04em; }
.price-amount em { font-style: normal; font-size: 14px; font-weight: 700; color: var(--text-mute); letter-spacing: 0; margin-left: 6px; }
.price-note { margin-top: 10px; font-size: 14.5px; color: var(--text-soft); }
.price-list { margin: 24px 0; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.price-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--text-soft); }
.price-list i { color: var(--brand-500); margin-top: 4px; }
.price-list li.off { opacity: .48; }
.price-list li.off i { color: var(--text-mute); }

/* ---- 16. FAQ ------------------------------------------------- */

.faq-acc .accordion-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg) !important;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-xs);
}
.faq-acc .accordion-button {
    background: transparent; color: var(--text);
    font-family: var(--font); font-size: 16.5px; font-weight: 700; letter-spacing: -.01em;
    padding: 20px 24px; box-shadow: none;
}
.faq-acc .accordion-button:not(.collapsed) { color: var(--brand-600); background: var(--brand-100); }
html[data-theme="dark"] .faq-acc .accordion-button:not(.collapsed) { color: var(--brand-300); }
.faq-acc .accordion-button::after {
    width: 1.1rem; height: 1.1rem; background-size: 1.1rem;
    filter: var(--acc-filter, none);
}
html[data-theme="dark"] .faq-acc .accordion-button::after { filter: invert(1) brightness(1.6); }
.faq-acc .accordion-body { padding: 4px 24px 22px; font-size: 15px; color: var(--text-soft); }

/* ---- 17. CTA ------------------------------------------------- */

.cta-section { position: relative; padding: 110px 0; overflow: hidden; background: var(--gradient-deep); color: #fff; }
.cta-aurora .blob-1 { background: #6ddfda; opacity: .35; }
.cta-aurora .blob-2 { background: #8b7cf6; opacity: .38; }

.cta-title { font-size: clamp(2.1rem, 4vw, 3.2rem); }
.cta-sub { margin-top: 18px; font-size: 17.5px; opacity: .88; max-width: 52ch; }

.store-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.store-btn {
    display: inline-flex; align-items: center; gap: 13px;
    padding: 12px 24px; border-radius: var(--radius);
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.25);
    backdrop-filter: blur(8px);
    color: #fff;
    transition: transform .25s var(--ease-spring), background .25s;
}
.store-btn:hover { color: #fff; background: rgba(255,255,255,.22); transform: translateY(-4px); }
.store-btn i { font-size: 27px; }
.store-btn em { display: block; font-style: normal; font-size: 11px; opacity: .78; letter-spacing: .04em; }
.store-btn b { font-size: 16px; font-weight: 800; letter-spacing: -.01em; }

.cta-fine { margin-top: 24px; font-size: 13.5px; opacity: .7; display: flex; align-items: center; gap: 8px; }

.cta-form {
    padding: 34px;
    background: var(--surface); color: var(--text);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
}
.cta-form h3 { font-size: 23px; }
.cta-form > p { margin-top: 8px; font-size: 14.5px; color: var(--text-soft); }
.cf-field { position: relative; margin: 22px 0 14px; }
.cf-field i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--text-mute); font-size: 17px; }
.cf-field input {
    width: 100%; height: 54px; padding: 0 18px 0 46px;
    border: 1.5px solid var(--border); border-radius: var(--radius-pill);
    background: var(--surface-2); color: var(--text);
    font-family: var(--font); font-size: 15px;
    transition: border-color .25s, box-shadow .25s, background .25s;
}
.cf-field input::placeholder { color: var(--text-mute); }
.cf-field input:focus { outline: none; border-color: var(--brand-400); background: var(--surface); box-shadow: 0 0 0 4px rgba(18,174,174,.14); }
.cf-msg { margin-top: 14px; font-size: 13.5px; font-weight: 600; min-height: 20px; }
.cf-msg.ok { color: var(--ok-500); }
.cf-msg.err { color: var(--danger-500); }

/* ---- 18. Footer ---------------------------------------------- */

.site-footer { padding: 76px 0 30px; background: var(--surface); border-top: 1px solid var(--border); }
.footer-brand { font-size: 21px; font-weight: 800; letter-spacing: -.03em; color: var(--text); }
.footer-brand:hover { color: var(--text); }
.footer-tag { margin-top: 16px; font-size: 14.5px; color: var(--text-soft); max-width: 42ch; }

.social-row { display: flex; gap: 10px; margin-top: 22px; }
.social-row a {
    display: grid; place-items: center; width: 40px; height: 40px;
    border-radius: 50%; background: var(--surface-2); border: 1px solid var(--border);
    color: var(--text-soft); font-size: 16px;
    transition: transform .25s var(--ease-spring), background .25s, color .25s, border-color .25s;
}
.social-row a:hover { background: var(--gradient-brand); color: #fff; border-color: transparent; transform: translateY(-4px); }

.site-footer h4 { font-size: 15px; font-weight: 800; margin-bottom: 18px; }
.site-footer ul li { margin-bottom: 11px; }
.site-footer ul a { font-size: 14.5px; color: var(--text-soft); }
.site-footer ul a:hover { color: var(--brand-500); }
.contact-list li { display: flex; align-items: flex-start; gap: 11px; font-size: 14.5px; color: var(--text-soft); }
.contact-list i { color: var(--brand-500); margin-top: 4px; }

.footer-bottom {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
    margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--border);
    font-size: 13.5px; color: var(--text-mute);
}
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--text-mute); }
.footer-links a:hover { color: var(--brand-500); }

.to-top {
    position: fixed; right: 26px; bottom: 26px; z-index: 1060;
    display: grid; place-items: center; width: 50px; height: 50px;
    border: 0; border-radius: 50%;
    background: var(--gradient-brand); color: #fff; font-size: 19px;
    box-shadow: var(--shadow-brand); cursor: pointer;
    opacity: 0; visibility: hidden; transform: translateY(16px);
    transition: opacity .3s var(--ease-out), transform .3s var(--ease-spring), visibility .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-4px) scale(1.06); }

/* ---- 19. Responsive ------------------------------------------ */

@media (max-width: 1199.98px) {
    .steps { grid-template-columns: repeat(2, 1fr); }
    .lifecycle-track { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
    .lc-line { display: none; }
}

@media (max-width: 991.98px) {
    .section { padding: 84px 0; }
    .hero-section { padding: calc(var(--nav-h) + 48px) 0 120px; text-align: center; }
    .hero-copy { display: flex; flex-direction: column; align-items: center; }
    .hero-sub { margin-inline: auto; }
    .hero-actions, .hero-points, .hero-stats { justify-content: center; }
    .hero-devices { min-height: 560px; margin-top: 46px; }
    .hero-devices .phone-back { display: none; }
    .hero-devices .phone-front { transform: none; }
    .floaty-1 { right: 0; }
    .floaty-2 { left: 0; }
    .role-panels { padding: 30px; text-align: center; }
    .role-list li, .role-title { text-align: left; }
    .role-list { align-items: flex-start; display: inline-flex; }
    .role-visual { max-width: 420px; margin: 0 auto; font-size: 66px; }
    .section-sub.text-start { margin-inline: 0; }
    .pay-visual { padding: 20px 0 50px; }
}

@media (max-width: 767.98px) {
    body { font-size: 15.5px; }
    .section { padding: 68px 0; }
    .section-head { margin-bottom: 40px; }
    .steps { grid-template-columns: 1fr; }
    .lifecycle { padding: 28px 20px; }
    .lifecycle-track { grid-template-columns: repeat(2, 1fr); }
    .pay-step { padding: 15px 16px; gap: 13px; }
    .pay-wallet { top: 0; left: 0; padding: 10px 14px; }
    .hero-stats { gap: 10px; }
    .hstat { flex-basis: 100px; padding: 13px 14px; }
    .hstat-value { font-size: 22px; }
    .cta-form { padding: 26px; }
    .footer-bottom { justify-content: center; text-align: center; }
    .floaty-card { padding: 9px 12px; }
    .fc-title { font-size: 12px; }
    .fc-sub { font-size: 10.5px; }
}

@media (max-width: 400px) {
    .phone { width: 268px; }
    .phone-screen { height: 540px; }
    .screensSwiper .swiper-slide { width: 268px; }
}

/* ---- 20. Reduced motion -------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
}

/* ---- 2026-10 refresh: real app screenshots, legal links ------ */

/* A phone frame holding a screenshot (390×844, the app's own resolution). */
.phone-screen--shot { height: auto; aspect-ratio: 390 / 844; padding: 0; background: #0d131c; }
.phone-screen--shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.brand-mark svg { width: 24px; height: 24px; }

.phone--sm { width: 260px; }
.role-phone { display: grid; place-items: center; padding: 10px 0; }
.role-phone .phone { transform: rotate(2deg); }

/* Store buttons until the apps are published. */
.store-btn { position: relative; }
.store-btn.is-soon { cursor: default; }
.store-btn.is-soon:hover { transform: none; background: rgba(255,255,255,.12); }
.store-soon {
    position: absolute; top: -9px; right: -8px;
    padding: 2px 9px; border-radius: 99px;
    background: #fff; color: var(--brand-700);
    font-size: 10.5px; font-weight: 800; letter-spacing: .02em;
    box-shadow: var(--shadow-sm);
}
.store-btn:not(.is-soon) .store-soon { display: none; }

/* Contact card in the download section. */
.cta-contact {
    display: flex; align-items: center; gap: 12px;
    margin-top: 14px; padding: 13px 16px;
    border-radius: var(--radius); border: 1px solid var(--border);
    color: var(--text); font-weight: 700; text-decoration: none;
    transition: border-color .2s, transform .2s var(--ease-out);
}
.cta-form > p + .cta-contact { margin-top: 22px; }
.cta-contact i { color: var(--brand-500); font-size: 18px; }
.cta-contact:hover { color: var(--text); border-color: var(--brand-300); transform: translateY(-2px); }

.know-link { font-weight: 700; color: var(--brand-600); text-decoration: none; }
.know-link:hover { color: var(--brand-700); text-decoration: underline; }
.accordion-body a { color: var(--brand-600); font-weight: 600; }
