/* ═══════════════════════════════════════════════════════════════════
   Aarya Web — main site stylesheet
   Design: lavender/pink gradient bg, white rounded cards, red/pink
   headings, purple accents, pill buttons. Mobile-first.
   ═══════════════════════════════════════════════════════════════════ */

:root {
    --accent: #7c3aed;
    --accent-2: #a855f7;
    --red: #e11d48;
    --pink: #ec4899;
    --green: #16a34a;
    --green-dark: #15803d;
    --blue: #2563eb;
    --cyan: #06b6d4;
    --navy: #131126;
    --ink: #241b3a;
    --muted: #6b6482;
    --card: #ffffff;
    --bg-grad: #ffffff;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow: 0 10px 34px rgba(97, 63, 197, .10);
    --shadow-lg: 0 24px 60px rgba(97, 63, 197, .16);
    --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ── Reset & base ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg-grad);
    min-height: 100vh;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 780px; }

/* ── Buttons ──────────────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    font-family: var(--font); font-weight: 700; font-size: 16px;
    padding: 8px 26px; border-radius: 999px; border: 0; cursor: pointer;
    text-decoration: none; color: #fff; line-height: 1.2;
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
    -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn:active { transform: scale(.97); }
.btn i { font-size: 1.1em; line-height: 1; }

/* Badge-pill style (Uiverse-inspired): leading icon in a light circular chip
   that spins on hover; the button presses in on click. */
.btn > i:first-child {
    flex: 0 0 auto;
    display: inline-flex; align-items: center; justify-content: center;
    width: 1.85em; height: 1.85em; border-radius: 50%;
    font-size: 1em; background: #fff; color: var(--navy);
    transition: transform 1.5s ease;
}
.btn:has(> i:first-child) { padding-left: 8px; }
.btn-lg:has(> i:first-child) { padding-left: 10px; }
/* Light / outline buttons need a coloured chip to stay visible on a light face */
.btn-light > i:first-child, .btn-ghost > i:first-child { background: var(--accent); color: #fff; }
/* Signature hover spin (press handled by .btn:active above) */
.btn:hover > i:first-child { transform: rotate(250deg); }
.btn-lg { padding: 15px 34px; font-size: 17px; }
.btn-block { display: inline-flex; }
.btn-green, .btn-whatsapp { background: linear-gradient(135deg, #22c55e, var(--green-dark)); box-shadow: 0 8px 22px rgba(34, 197, 94, .35); }
.btn-red { background: linear-gradient(135deg, #f43f5e, #be123c); box-shadow: 0 8px 22px rgba(225, 29, 72, .3); }
.btn-purple { background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 8px 22px rgba(124, 58, 237, .35); }
.btn-blue { background: linear-gradient(135deg, #3b82f6, #1d4ed8); box-shadow: 0 8px 22px rgba(59, 130, 246, .35); }
.btn-dark { background: var(--navy); box-shadow: 0 8px 22px rgba(19, 17, 38, .3); }
.btn-custom { box-shadow: 0 8px 22px rgba(0, 0, 0, .2); }
.btn-telegram { background: linear-gradient(135deg, #38bdf8, #0284c7); box-shadow: 0 8px 22px rgba(56, 189, 248, .35); }
.btn-channel { background: linear-gradient(90deg, var(--cyan), var(--blue)); box-shadow: 0 8px 22px rgba(6, 182, 212, .35); }
.btn-ghost { background: #fff; color: var(--accent); border: 2px solid #e6ddfa; box-shadow: none; }

/* ── Cards ────────────────────────────────────────────────────────── */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }

/* ── Header ───────────────────────────────────────────────────────── */
.site-header {
    position: sticky; top: 0; z-index: 90;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 2px 18px rgba(97, 63, 197, .08);
}
/* Frosted blur only on desktop. On mobile the off-canvas nav is a fixed
   descendant of the header — a backdrop-filter ancestor would become its
   containing block, clipping the panel to the header and breaking layout. */
@media (min-width: 921px) {
    .site-header { backdrop-filter: blur(10px); }
    /* WhatsApp + Telegram CTAs live in the mobile menu only. */
    .nav-cta-mobile { display: none; }
}
.header-inner { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { border-radius: 10px; }
.brand-name { display: flex; flex-direction: column; line-height: 1.02; }
.brand-title { font-weight: 800; font-size: 22px; color: #1e3a8a; letter-spacing: -.01em; }
.brand-sub { font-weight: 700; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--accent); }
.brand-accent { color: var(--accent); }

.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav a:not(.btn) {
    color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px;
    padding: 8px 13px; border-radius: 999px; transition: background .15s, color .15s;
}
.main-nav a:not(.btn):hover { background: #f3ecff; color: var(--accent); }
.nav-cta { margin-left: 8px; padding: 10px 20px; font-size: 14px; }

/* Compact WhatsApp pill in the header bar — mobile only */
.header-wa-pill { display: none; }

.nav-toggle {
    display: none; margin-left: auto; background: none; border: 0; cursor: pointer;
    width: 44px; height: 44px; border-radius: 10px; padding: 10px;
    flex-direction: column; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; height: 3px; border-radius: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 920px) {
    .nav-toggle { display: flex; margin-left: 8px; }
    /* small "Join WhatsApp" pill sits at the right, just left of the burger */
    .header-wa-pill {
        display: inline-flex; margin-left: auto;
        padding: 6px 14px 6px 6px; font-size: 12.5px; gap: 7px;
    }
    .header-wa-pill > i:first-child { width: 1.55em; height: 1.55em; font-size: .95em; }
    .main-nav {
        position: fixed; inset: 0 0 0 auto; width: min(320px, 85vw);
        background: #fff; flex-direction: column; align-items: stretch;
        padding: 84px 22px 24px; gap: 6px; box-shadow: -12px 0 40px rgba(0, 0, 0, .18);
        transform: translateX(100%); transition: transform .25s ease; z-index: 95;
    }
    .main-nav.is-open { transform: translateX(0); }
    .main-nav a:not(.btn) { padding: 13px 16px; font-size: 16px; }
    .nav-cta { margin: 12px 0 0; }
    /* WhatsApp Channel CTA is shown inline on desktop only. */
    .nav-cta-desktop { display: none; }
    .nav-toggle { position: relative; z-index: 97; }
}

/* Smaller pill text on very small screens — placed AFTER the 920px block so
   this font-size wins (equal specificity, later rule applies). */
@media (max-width: 400px) {
    .header-wa-pill { padding: 5px 10px 5px 5px; font-size: 5px; gap: 5px; }
    .header-wa-pill > i:first-child { width: 1.7em; height: 1.7em; }
}

/* Dim backdrop behind the off-canvas menu (injected by main.js) */
.nav-backdrop {
    position: fixed; inset: 0; z-index: 94;
    background: rgba(12, 8, 28, .5);
    opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease;
}
.nav-backdrop.is-open { opacity: 1; visibility: visible; }
body.nav-open { overflow: hidden; }
/* Lift the header (and the off-canvas panel it contains) above the backdrop
   so the menu stays crisp and clickable while open. */
body.nav-open .site-header { z-index: 96; }

/* ── Flash messages ───────────────────────────────────────────────── */
.flash-stack { position: fixed; top: 78px; right: 16px; left: 16px; z-index: 120; display: grid; gap: 10px; max-width: 420px; margin-left: auto; }
.flash {
    display: flex; align-items: center; gap: 10px; padding: 13px 16px;
    border-radius: var(--radius-sm); background: #fff; box-shadow: var(--shadow-lg);
    font-weight: 600; font-size: 14.5px; border-left: 5px solid var(--accent);
}
.flash-success { border-left-color: var(--green); }
.flash-success i { color: var(--green); }
.flash-error { border-left-color: var(--red); }
.flash-error i { color: var(--red); }
.flash-close { margin-left: auto; background: none; border: 0; font-size: 20px; cursor: pointer; color: var(--muted); line-height: 1; }

/* ── Hero ─────────────────────────────────────────────────────────── */
.hero { padding: 60px 0 40px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.02fr .98fr; gap: 40px; align-items: center; }

/* Trusted-by pill with overlapping avatars */
.hero-trust {
    display: inline-flex; align-items: center; gap: 10px;
    background: #fff; border: 1px solid #ece7f6; border-radius: 999px;
    padding: 5px 16px 5px 6px; box-shadow: var(--shadow);
}
.hero-avatars { display: inline-flex; }
.hero-avatar {
    width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; margin-right: -9px;
    background-size: cover; box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
}
.hero-avatar:nth-child(1) { background: linear-gradient(135deg, #f9a8d4, #ec4899); }
.hero-avatar:nth-child(2) { background: linear-gradient(135deg, #c4b5fd, var(--accent)); }
.hero-avatar:nth-child(3) { background: linear-gradient(135deg, #fcd34d, #f59e0b); }
.hero-avatar:last-child { margin-right: 0; }
.hero-avatar.has-photo { background-color: #eee; background-position: center; background-size: cover; background-repeat: no-repeat; }
.hero-trust-text { font-weight: 700; font-size: 13.5px; color: var(--ink); }

.hero-title {
    font-size: clamp(38px, 5.4vw, 62px); font-weight: 800; line-height: 1.08;
    letter-spacing: -1px; margin: 22px 0 18px; color: var(--red);
}
.hero-title-accent {
    background: linear-gradient(90deg, var(--accent), var(--pink));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-desc { color: var(--muted); font-size: 17px; max-width: 30em; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-light {
    background: #fff; color: var(--ink); border: 1px solid #e7e1f2;
    box-shadow: 0 6px 18px rgba(97, 63, 197, .08);
}
.btn-light:hover { filter: none; background: #faf8ff; }

/* Right visual: custom artwork (rings/backdrop baked into the image) + earn pill */
.hero-visual { position: relative; display: grid; place-items: center; }
.hero-device { position: relative; z-index: 1; width: min(480px, 92vw); }
.hero-device img { width: 100%; height: auto; }
/* Fade the bottom of the artwork into the page so the hand "emerges" from it */
.hero-device::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 34%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, var(--bg-grad) 88%);
    pointer-events: none; z-index: 2;
}
.hero-earn-pill {
    position: absolute; z-index: 2; bottom: 5px; left: 50%; transform: translateX(-50%);
    display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
    background: linear-gradient(135deg, #22c55e, var(--green-dark)); color: #fff;
    font-weight: 800; padding: 11px 24px; border-radius: 999px;
    box-shadow: 0 10px 26px rgba(34, 197, 94, .4);
}

@media (max-width: 860px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-trust, .hero-actions { justify-content: center; }
    .hero-desc { margin-left: auto; margin-right: auto; }
    .hero-visual { order: -1; }
}
/* Keep the two hero CTAs side by side once the hero stacks (tablet + phone) */
@media (max-width: 860px) {
    .hero-actions { flex-wrap: nowrap; gap: 12px; }
    .hero-actions .btn { flex: 1 1 0; min-width: 0; white-space: nowrap; }
    .hero-actions .btn-telegram .fi-rr-arrow-small-right { display: none; }
}
/* On narrow phones, shrink the CTA text so both labels still fit on one line */
@media (max-width: 560px) {
    .hero-actions { gap: 10px; }
    .hero-actions .btn { padding: 10px 12px; font-size: 14px; }
    .hero-actions .btn i { font-size: 1em; }
}

/* ── Sections & headings ──────────────────────────────────────────── */
.section { padding: 44px 0; }
.section-heading {
    text-align: center; font-size: clamp(26px, 3.6vw, 36px); font-weight: 800;
    color: var(--ink); margin-bottom: 10px;
}
.section-heading-red { color: var(--red); }
.section-subline { text-align: center; color: var(--muted); margin: -2px 0 30px; font-size: 16.5px; }
.section-more { text-align: center; margin-top: 28px; }
.link-more { font-weight: 700; text-decoration: none; }
.empty-note { text-align: center; color: var(--muted); padding: 30px 0; }

/* ── Join CTA band (WhatsApp + Telegram, side by side on all devices) ─ */
.join-band-section { padding: 8px 0 20px; }
.join-band { display: flex; flex-wrap: nowrap; gap: 14px; }
.join-band-btn { flex: 1 1 0; justify-content: center; min-width: 0; }
@media (max-width: 480px) {
    .join-band { gap: 10px; }
    .join-band-btn { padding: 12px 12px; }
}

/* ── Stats ────────────────────────────────────────────────────────── */
.stats-section { padding: 26px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-card {
    background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
    text-align: center; padding: 24px 12px;
    position: relative; overflow: hidden;
}
/* Uiverse-inspired faded grid pattern behind the card content */
.stat-card::before {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background-image: linear-gradient(to right, #e2e8f0 1px, transparent 1px),
        linear-gradient(to bottom, #e2e8f0 1px, transparent 1px);
    background-size: 20px 30px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 60%, transparent 100%);
    mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 60%, transparent 100%);
}
.stat-card > * { position: relative; z-index: 1; }
.stat-value { font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin: 0; background: linear-gradient(90deg, var(--red), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { margin: 6px 0 0; color: var(--muted); font-weight: 600; font-size: 14px; }
@media (max-width: 760px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── Why Join ─────────────────────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 26px; }
.why-card {
    background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
    padding: 28px 20px; text-align: center; transition: transform .2s ease, box-shadow .2s ease;
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.why-icon {
    display: inline-grid; place-items: center; width: 64px; height: 64px;
    border-radius: 18px; background: linear-gradient(135deg, #ede4ff, #ffe4ef);
    color: var(--accent); font-size: 26px; margin-bottom: 14px;
}
.why-card h3 { font-size: 18px; }
.why-card p { color: var(--muted); font-size: 14.5px; margin: 0; }
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .why-grid { grid-template-columns: 1fr; } }

/* ── App cards grid ───────────────────────────────────────────────── */
.app-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 26px; }
.app-card {
    background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
    padding: 24px 16px 18px; text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 12px;
    transition: transform .2s ease, box-shadow .2s ease;
}
.app-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.app-card-icon {
    width: 88px; height: 88px; border-radius: 50%; overflow: hidden;
    box-shadow: 0 8px 20px rgba(97, 63, 197, .18); background: linear-gradient(135deg, #ede4ff, #ffe4ef);
    display: grid; place-items: center;
}
.app-card-icon img { width: 100%; height: 100%; object-fit: cover; }
.app-card-initial { font-size: 34px; font-weight: 800; color: var(--accent); }
.app-card-title { font-size: 17px; margin: 0; }
.app-card .btn { margin-top: auto; padding: 8px 18px; font-size: 15px; }
@media (max-width: 900px) { .app-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .app-card-title { font-size: 14px; } }
/* Mobile font-size tweaks */
@media (max-width: 640px) {
    .hero-trust-text { font-size: 10px; }
    .btn-green.btn-block { font-size: 12px; }
    .join-band-btn { font-size: 11px; }
}

/* ── How It Works steps ───────────────────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.steps-connected::before {
    content: ""; position: absolute; top: 44px; left: 10%; right: 10%; height: 3px;
    background: linear-gradient(90deg, var(--pink), var(--accent)); opacity: .25; border-radius: 2px;
}
.step-card {
    background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
    padding: 30px 18px 24px; text-align: center; position: relative;
}
.step-number {
    position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
    width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
    background: linear-gradient(135deg, var(--red), var(--pink)); color: #fff;
    font-weight: 800; box-shadow: 0 6px 16px rgba(225, 29, 72, .35);
}
.step-icon {
    display: inline-grid; place-items: center; width: 58px; height: 58px;
    border-radius: 16px; background: linear-gradient(135deg, #ede4ff, #ffe4ef);
    color: var(--accent); font-size: 24px; margin-bottom: 12px;
}
.step-card h3 { font-size: 17px; }
.step-card p { color: var(--muted); font-size: 14.5px; margin: 0; }
@media (max-width: 900px) {
    .steps-grid { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
    .steps-connected::before { display: none; }
}
@media (max-width: 440px) { .steps-grid { grid-template-columns: 1fr; } }

/* ── Contact ──────────────────────────────────────────────────────── */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px; }
.contact-card {
    background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
    padding: 28px 18px; text-align: center;
}
.contact-card h3 { font-size: 17px; margin-bottom: 4px; }
.contact-card p { margin: 0; color: var(--muted); font-size: 15px; word-break: break-word; }
.contact-card a { text-decoration: none; font-weight: 600; }
.contact-icon {
    display: inline-grid; place-items: center; width: 60px; height: 60px;
    border-radius: 50%; color: #fff; font-size: 24px; margin-bottom: 12px;
}
.contact-icon-email { background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.contact-icon-wa { background: linear-gradient(135deg, #22c55e, var(--green-dark)); }
.contact-icon-support { background: linear-gradient(135deg, #f59e0b, #d97706); }
@media (max-width: 760px) { .contact-cards { grid-template-columns: 1fr; } }

/* ── Mobile auto-play carousels (stats / why / steps / contact) ──────
   JS adds .is-carousel on phones: one card per view, ~25% peek of the
   next card, seamless infinite auto-play. */
@media (max-width: 640px) {
    .is-carousel {
        display: flex !important;
        grid-template-columns: none !important;
        flex-wrap: nowrap;
        gap: 14px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* room for the raised step badges / card shadows */
        padding-top: 20px; padding-bottom: 6px;
    }
    .is-carousel::-webkit-scrollbar { display: none; }
    .is-carousel > * {
        /* card + gap = 75% of the track, so the next card peeks ~25% */
        flex: 0 0 calc(75% - 14px);
        min-width: 0;
        scroll-snap-align: start;
        /* keep cards visible regardless of the reveal-on-scroll animation */
        opacity: 1 !important; transform: none !important;
    }
    .steps-connected.is-carousel::before { display: none; }
}

/* ── Forms (public) ───────────────────────────────────────────────── */
.form-card { padding: 30px 26px; }
.form-title { font-size: 22px; margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; font-family: var(--font); font-size: 15.5px; color: var(--ink);
    padding: 12px 14px; border: 2px solid #e9e2f7; border-radius: var(--radius-sm);
    background: #fbfaff; transition: border-color .15s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none; border-color: var(--accent);
}
.hp-field { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; overflow: hidden; }
.form-feedback { margin: 0 0 14px; padding: 12px 14px; border-radius: var(--radius-sm); font-weight: 600; font-size: 14.5px; }
.form-feedback.is-ok { background: #ecfdf5; color: #047857; }
.form-feedback.is-err { background: #fef2f2; color: #b91c1c; }

/* ── Page hero (inner pages) ──────────────────────────────────────── */
.page-hero { padding: 40px 0 6px; text-align: center; }
.page-title { font-size: clamp(28px, 4vw, 42px); font-weight: 800; color: var(--red); }
.page-subtitle { color: var(--muted); font-size: 17px; max-width: 640px; margin: 0 auto; }
.breadcrumb { margin-bottom: 10px; font-size: 13.5px; }
.breadcrumb ol { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; color: var(--muted); }
.breadcrumb li + li::before { content: "›"; margin: 0 6px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }

.content-card { padding: 32px 30px; }
@media (max-width: 560px) { .content-card { padding: 24px 18px; } }

/* ── Rich text (TinyMCE output) ───────────────────────────────────── */
.rich-text { font-size: 16.5px; }
.rich-text h2 { font-size: 24px; color: var(--red); margin-top: 1.4em; }
.rich-text h3 { font-size: 20px; color: var(--accent); margin-top: 1.3em; }
.rich-text h4 { font-size: 17px; margin-top: 1.2em; }
.rich-text p { margin: 0 0 1em; }
.rich-text ul, .rich-text ol { padding-left: 22px; margin: 0 0 1.1em; }
.rich-text li { margin-bottom: .35em; }
.rich-text img { border-radius: var(--radius-sm); margin: 14px auto; }
.rich-text blockquote {
    margin: 1.2em 0; padding: 12px 18px; border-left: 4px solid var(--accent);
    background: #f6f1ff; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--muted);
}
.rich-text table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 15px; }
.rich-text th, .rich-text td { border: 1px solid #e9e2f7; padding: 10px 12px; text-align: left; }
.rich-text th { background: linear-gradient(135deg, #f3ecff, #ffe9f2); font-weight: 700; }
.rich-text tr:nth-child(even) td { background: #fbfaff; }
.rich-text hr { border: 0; height: 2px; background: #efe9fb; margin: 1.6em 0; }

/* ── CTA banner ───────────────────────────────────────────────────── */
.cta-banner {
    background: linear-gradient(120deg, var(--accent), var(--pink));
    color: #fff; border-radius: 22px; text-align: center;
    padding: 44px 26px; box-shadow: var(--shadow-lg);
}
.cta-banner h2 { font-size: clamp(24px, 3.4vw, 32px); }
.cta-banner p { opacity: .92; max-width: 560px; margin: 0 auto 22px; }

/* ── Pagination ───────────────────────────────────────────────────── */
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.page-link {
    display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px;
    background: #fff; border-radius: 999px; text-decoration: none; font-weight: 700;
    color: var(--ink); box-shadow: var(--shadow); font-size: 14.5px;
}
.page-link.is-current { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; }
.page-dots { align-self: center; color: var(--muted); }

/* ── Footer ───────────────────────────────────────────────────────── */
.site-footer { background: var(--navy); color: #cfcadd; margin-top: 40px; padding: 52px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 34px; }
.footer-brand { margin: 0 0 14px; }
.footer-brand .brand-title { color: #fff; }
.footer-brand .brand-sub { color: var(--accent-2); }
.footer-about p { font-size: 14.5px; margin: 0 0 10px; }
.footer-about a { color: #cfcadd; }
.footer-col h3 { color: #fff; font-size: 16px; margin-bottom: 12px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-col a { color: #a79fc4; text-decoration: none; font-size: 14.5px; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 36px 0 26px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 20px; text-align: center; font-size: 13.5px; color: #8f87ad; }
.footer-bottom p { margin: 4px 0; }
.footer-attribution a { color: #8f87ad; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* ── Reveal on scroll ─────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
    .btn, .why-card, .app-card { transition: none; }
    .btn > i:first-child { transition: none; }
    .btn:hover > i:first-child { transform: none; }
}

/* ── Lightbox ─────────────────────────────────────────────────────── */
.lightbox {
    position: fixed; inset: 0; z-index: 200; background: rgba(12, 8, 26, .93);
    display: none; align-items: center; justify-content: center;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); width: auto; }
.lightbox-btn {
    position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0;
    width: 46px; height: 46px; border-radius: 50%; font-size: 22px; cursor: pointer;
    display: grid; place-items: center; transition: background .15s;
}
.lightbox-btn:hover { background: rgba(255, 255, 255, .28); }
.lightbox-close { top: 18px; right: 18px; }
.lightbox-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lightbox-counter { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: #cfcadd; font-size: 14px; }
