/* ==========================================================================
   Hafezi Quran Sharif — Design System
   A single token-driven stylesheet. No decorative gold anywhere — every
   accent comes from the brand palette: Emerald (primary), Cyan (highlight),
   Slate (neutrals). The footer is intentionally theme-invariant (always
   the deep navy of the dark palette) — a common premium-SaaS pattern that
   gives the site a consistent "anchor" instead of two disconnected darks.
   ========================================================================== */

:root {
    /* ---- Dark (default) ------------------------------------------------ */
    --bg-page: #0F172A;
    --bg-surface: #1E293B;
    --bg-surface-alt: #172033;
    --bg-surface-raised: #24324A;
    --bg-footer: #0B1220;

    --text-heading: #F8FAFC;
    --text-body: #94A3B8;
    --text-ink: #E2E8F0;
    --text-muted: #94A3B8;

    --border-color: #334155;
    --border-color-soft: #2A3A52;

    --emerald: #10B981;
    --emerald-deep: #059669;
    --emerald-soft: rgba(16, 185, 129, 0.14);
    --teal: #0D9488;
    --cyan: #06B6D4;
    --cyan-deep: #0E7490;
    --cyan-soft: rgba(6, 182, 212, 0.14);
    --cyan-ink: #062730;

    --nav-bg: rgba(15, 23, 42, 0.82);
    --hero-glow-1: rgba(16, 185, 129, 0.18);
    --hero-glow-2: rgba(6, 182, 212, 0.14);

    --radius: 14px;
    --radius-sm: 10px;
    --font-display: 'Hind Siliguri', 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-body: 'Hind Siliguri', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, monospace;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.28);
    --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.35);
    --shadow-glow-emerald: 0 0 0 1px rgba(16, 185, 129, 0.3), 0 8px 24px rgba(16, 185, 129, 0.22);
    --shadow-glow-cyan: 0 0 0 1px rgba(6, 182, 212, 0.3), 0 8px 24px rgba(6, 182, 212, 0.22);

    color-scheme: dark;
}

:root[data-bs-theme="light"] {
    --bg-page: #F8FAFC;
    --bg-surface: #FFFFFF;
    --bg-surface-alt: #F1F5F9;
    --bg-surface-raised: #FFFFFF;
    --bg-footer: #0F172A;

    --text-heading: #0F172A;
    --text-body: #64748B;
    --text-ink: #1E293B;
    --text-muted: #64748B;

    --border-color: #E2E8F0;
    --border-color-soft: #EEF2F7;

    --emerald: #059669;
    --emerald-deep: #047857;
    --emerald-soft: #ECFDF5;
    --teal: #0D9488;
    --cyan: #0891B2;
    --cyan-deep: #0E7490;
    --cyan-soft: #ECFEFF;
    --cyan-ink: #083344;

    --nav-bg: rgba(255, 255, 255, 0.85);
    --hero-glow-1: rgba(16, 185, 129, 0.09);
    --hero-glow-2: rgba(8, 145, 178, 0.07);

    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 24px 48px rgba(15, 23, 42, 0.12);
    --shadow-glow-emerald: 0 0 0 1px rgba(5, 150, 105, 0.18), 0 10px 25px -8px rgba(5, 150, 105, 0.35);
    --shadow-glow-cyan: 0 0 0 1px rgba(8, 145, 178, 0.18), 0 10px 25px -8px rgba(8, 145, 178, 0.3);

    color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
    font-family: var(--font-body);
    color: var(--text-ink);
    background-color: var(--bg-page);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    transition: background-color 0.2s ease, color 0.2s ease;
}

h1, h2, h3, .display-font { font-family: var(--font-display); color: var(--text-heading) !important; font-weight: 700; }
p, li, dd, dt, small, .text-muted, .text-body { color: var(--text-body) !important; }
.mono { font-family: var(--font-mono); letter-spacing: 0.02em; }

a { color: var(--emerald); text-decoration: none; }
a:hover { color: var(--cyan); }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }

::selection { background: var(--emerald-soft); color: var(--text-heading); }

/* --- Theme toggle -------------------------------------------------------- */
.theme-toggle {
    width: 40px; height: 40px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    color: var(--text-heading);
    font-size: 1.05rem;
    cursor: pointer;
    position: relative;
    z-index: 20;
    transition: border-color 0.15s ease, transform 0.15s ease;
}
.theme-toggle i { pointer-events: none; }
.theme-toggle:hover { border-color: var(--emerald); color: var(--emerald); transform: translateY(-1px); }
[data-bs-theme="dark"] .theme-toggle .bi-sun-fill { display: none; }
[data-bs-theme="light"] .theme-toggle .bi-moon-stars-fill { display: none; }

/* --- Buttons ----------------------------------------------------------- */
.btn { border-radius: var(--radius-sm); padding: 0.62rem 1.35rem; transition: filter 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease; }
.btn:active { transform: translateY(1px); }

.btn-emerald {
    background: linear-gradient(135deg, var(--emerald), var(--teal));
    border: 1px solid var(--emerald-deep);
    color: #ffffff;
    font-weight: 600;
}
.btn-emerald:hover { filter: brightness(1.07); box-shadow: var(--shadow-glow-emerald); color: #ffffff; }

/* The Premium / "Buy" path gets its own two-tone accent (emerald→cyan)
   so it reads as distinct from ordinary actions — this replaces the old
   gold treatment while still giving Premium its own visual identity. */
.btn-gold {
    background: linear-gradient(135deg, var(--emerald), var(--cyan));
    border: 1px solid var(--cyan-deep);
    color: #ffffff;
    font-weight: 600;
}
.btn-gold:hover { filter: brightness(1.08); box-shadow: var(--shadow-glow-cyan); color: #ffffff; }

.btn-outline-emerald {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-ink);
    font-weight: 600;
}
.btn-outline-emerald:hover { border-color: var(--emerald); color: var(--emerald); }

.btn-light-emerald {
    background: #ffffff;
    border: 1px solid #ffffff;
    color: var(--emerald-deep);
    font-weight: 700;
}
.btn-light-emerald:hover { background: var(--cyan-soft); color: var(--cyan-ink); }

/* --- Navbar ------------------------------------------------------------ */
.site-nav {
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}
.site-nav .brand-word {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--emerald), var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.site-nav .nav-link { color: var(--text-ink); font-weight: 500; }
.site-nav .nav-link.active, .site-nav .nav-link:hover { color: var(--emerald); }

/* --- Hero ---------------------------------------------------------------- */
.hero {
    background:
        radial-gradient(1100px 550px at 88% -10%, var(--hero-glow-1), transparent),
        radial-gradient(900px 500px at 8% 105%, var(--hero-glow-2), transparent),
        var(--bg-page);
    padding: 5rem 0 4.5rem;
    position: relative;
    overflow: hidden;
}
.mushaf-frame {
    border: 1px solid var(--border-color-soft);
    border-radius: var(--radius);
    padding: 0;
    background: transparent;
    position: relative;
}

.hero h1 { font-size: clamp(2.1rem, 4.5vw, 3.25rem); line-height: 1.18; letter-spacing: -0.01em; }
.hero .lead { max-width: 34rem; font-size: 1.08rem; }
.hero-visual { position: relative; }
.hero-visual img {
    max-width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color-soft);
}

/* --- Trust stats band — always dark, both themes (brand anchor) --------- */
.stats-band {
    background: var(--bg-footer);
    padding: 2.75rem 0;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}
.stats-band strong {
    display: block;
    font-family: var(--font-display);
    font-size: 2.1rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--emerald), var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stats-band small { display: block; margin-top: 0.3rem; font-size: 0.82rem; color: #94A3B8 !important; }

/* --- Sections ------------------------------------------------------------ */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--bg-surface-alt); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.section-title { color: var(--text-heading); font-weight: 700; letter-spacing: -0.01em; }

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--emerald-soft);
    color: var(--emerald);
    border: 1px solid var(--border-color-soft);
    padding: 0.35rem 0.95rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.8rem;
}
:root[data-bs-theme="light"] .section-kicker { color: var(--emerald-deep); }

.ayah-divider { display: none; }

/* --- Cards -------------------------------------------------------------- */
.hq-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.75rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.hq-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--emerald); }
.feature-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--emerald-soft);
    color: var(--emerald);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* --- Screenshots strip --------------------------------------------------- */
.shots-strip { display: flex; gap: 1rem; overflow-x: auto; padding-bottom: 0.75rem; scroll-snap-type: x mandatory; }
.shots-strip img {
    height: 420px;
    border-radius: 18px;
    border: 1px solid var(--border-color);
    scroll-snap-align: start;
    box-shadow: var(--shadow-md);
}

/* --- Testimonials -------------------------------------------------------- */
.stars { color: var(--cyan); letter-spacing: 0.1em; }
.testimonial-name { font-weight: 700; color: var(--text-heading); }

/* --- Forms --------------------------------------------------------------- */
.form-control, .form-select {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-ink);
    border-radius: var(--radius-sm);
    padding: 0.65rem 0.9rem;
}
.form-control::placeholder { color: var(--text-muted); opacity: 0.7; }
.form-control:focus, .form-select:focus {
    background-color: var(--bg-surface);
    color: var(--text-ink);
    border-color: var(--emerald);
    box-shadow: 0 0 0 0.2rem var(--emerald-soft);
}
.form-label { color: var(--text-ink); font-weight: 500; font-size: 0.92rem; }
.form-panel {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

/* --- Payment method picker (Flyjatra-style vertical list) ------------------ */
.method-option { position: relative; }
.method-option input { position: absolute; opacity: 0; }
.method-option label {
    display: flex; align-items: center; gap: 1.1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    cursor: pointer;
    background: var(--bg-surface);
    width: 100%;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.1s ease;
}
.method-option label:hover { border-color: var(--text-muted); }
.method-option input:checked + label {
    border-color: var(--text-heading);
    background: var(--bg-surface-alt);
}
.method-option input:focus-visible + label { outline: 3px solid var(--cyan); outline-offset: 2px; }
.method-option .selected-check {
    position: absolute;
    top: 50%; right: 1.25rem; transform: translateY(-50%);
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--emerald);
    color: #fff;
    display: none;
    align-items: center; justify-content: center;
    font-size: 0.82rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.method-option input:checked ~ .selected-check { display: flex; }
/* Checkmark takes on the selected method's own brand color. */
.method-option:has(.method-logo--bkash) .selected-check { background: #E2136E; }
.method-option:has(.method-logo--nagad) .selected-check { background: #F6821F; }
.method-option:has(.method-logo--rocket) .selected-check { background: #8C3494; }
.method-option:has(.method-logo--upay) .selected-check { background: #6E2C91; }

.method-logo {
    width: 60px; height: 60px; flex-shrink: 0;
    border-radius: 14px;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1rem; color: #ffffff; letter-spacing: 0.02em;
    overflow: hidden;
    border: 1px solid var(--border-color-soft);
}
.method-logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 6px; }
.method-logo--bkash { background: #E2136E; }
.method-logo--nagad { background: #F6821F; }
.method-logo--rocket { background: #8C3494; }
.method-logo--upay { background: #6E2C91; }
.method-logo--bank { background: var(--emerald); }
.method-name { font-weight: 700; color: var(--text-heading); display: block; font-size: 1.05rem; }
.method-subtitle { font-size: 0.88rem; color: var(--text-muted); }

/* --- Checkout steps (premium form structure) -------------------------------- */
.checkout-step { padding: 1.5rem 0; border-bottom: 1px solid var(--border-color-soft); }
.checkout-step:last-of-type { border-bottom: none; }
.checkout-step:first-of-type { padding-top: 0.5rem; }
.checkout-step-header { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1.1rem; }
.checkout-step-number {
    width: 30px; height: 30px; flex-shrink: 0;
    border-radius: 9px;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--emerald), var(--cyan));
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
}
.checkout-step-header h3 { font-size: 1rem; color: var(--text-heading); margin: 0; font-weight: 700; }

.field-icon-group { position: relative; }
.field-icon-group .field-icon {
    position: absolute;
    left: 0.9rem; top: 50%; transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.95rem;
    pointer-events: none;
}
.field-icon-group .form-control { padding-left: 2.6rem; }

.file-dropzone {
    display: flex; align-items: center; gap: 0.7rem;
    border: 1.5px dashed var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.7rem 1rem;
    cursor: pointer;
    background: var(--bg-surface);
    transition: border-color 0.15s ease, background 0.15s ease;
}
.file-dropzone:hover { border-color: var(--emerald); background: var(--emerald-soft); }
.file-dropzone .icon {
    width: 34px; height: 34px; flex-shrink: 0;
    border-radius: 9px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--emerald-soft); color: var(--emerald);
}
.file-dropzone .filename { font-size: 0.88rem; color: var(--text-ink); }
.file-dropzone input[type="file"] {
    position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden;
}
.method-instructions {
    background: var(--cyan-soft);
    border: 1px solid var(--border-color-soft);
    border-left: 3px solid var(--cyan);
    border-radius: var(--radius-sm);
    padding: 0.9rem 1rem;
    font-size: 0.92rem;
    color: var(--text-ink);
}

/* --- Order status timeline ------------------------------------------------ */
.status-timeline { list-style: none; padding: 0; margin: 0; }
.status-timeline li { position: relative; padding: 0 0 1.4rem 2rem; border-left: 2px solid var(--border-color); margin-left: 0.55rem; }
.status-timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.status-timeline li::before {
    content: ''; position: absolute; left: -0.52rem; top: 0.1rem;
    width: 0.95rem; height: 0.95rem; border-radius: 50%;
    background: var(--bg-surface); border: 2px solid var(--border-color);
}
.status-timeline li.done { border-left-color: var(--emerald); }
.status-timeline li.done::before { background: var(--emerald); border-color: var(--emerald); }
.status-timeline li.current::before { background: var(--cyan); border-color: var(--cyan); }
.status-timeline .step-title { font-weight: 600; color: var(--text-heading); }
.status-timeline small { color: var(--text-muted) !important; }

.status-pill { display: inline-block; padding: 0.3rem 0.85rem; border-radius: 999px; color: #fff; font-weight: 600; font-size: 0.85rem; }

.download-card {
    background: linear-gradient(150deg, #0F172A, #07332E);
    color: #ECFDF5;
    border-radius: var(--radius);
    padding: 2.25rem;
    border: 1px solid rgba(16, 185, 129, 0.25);
    box-shadow: var(--shadow-lg);
}
.download-card h2, .download-card .text-white { color: #ffffff !important; }
.download-card p, .download-card small { color: #A7F3D0 !important; }
.download-card .btn-light-emerald { font-size: 1.05rem; padding: 0.7rem 1.6rem; }
.download-meta { font-size: 0.88rem; color: #A7F3D0; }
.download-meta .mono { color: #67E8F9; }
.premium-check {
    width: 24px; height: 24px; flex-shrink: 0;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(103, 232, 249, 0.18);
    color: #67E8F9;
    font-size: 0.9rem;
}
.premium-price-panel {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
}
.premium-price {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(90deg, #6EE7B7, #67E8F9);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Footer — theme-invariant brand anchor -------------------------------- */
.site-footer { background: var(--bg-footer); color: #94A3B8; border-top: 1px solid rgba(148, 163, 184, 0.12); }
.footer-brand {
    font-family: var(--font-display); font-size: 1.2rem; font-weight: 700;
    background: linear-gradient(90deg, var(--emerald), var(--cyan));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.footer-heading { color: #E2E8F0; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; }
.footer-muted { color: #94A3B8; font-size: 0.94rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links a { color: #CBD5E1; text-decoration: none; line-height: 2.1; }
.footer-links a:hover { color: var(--cyan); }
.social-chip {
    width: 38px; height: 38px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
    color: #E2E8F0;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}
.social-chip:hover { background: var(--emerald); color: #ffffff; }
.footer-base { background: rgba(0, 0, 0, 0.18); color: #64748B; }
.footer-base a { color: #94A3B8; text-decoration: none; }
.footer-base a:hover { color: var(--cyan); }
.text-gold { color: var(--cyan) !important; }

/* --- Bootstrap component adaptation --------------------------------------- */
.accordion-item { background: var(--bg-surface); border-color: var(--border-color); color: var(--text-ink); border-radius: var(--radius-sm) !important; overflow: hidden; }
.accordion-button { background: var(--bg-surface); color: var(--text-ink); font-weight: 600; }
.accordion-button:not(.collapsed) { background: var(--emerald-soft); color: var(--text-heading); box-shadow: none; }
:root[data-bs-theme="dark"] .accordion-button::after { filter: invert(1) grayscale(1) brightness(1.8); }
.accordion-body { color: var(--text-body); }
.alert-success { background: var(--emerald-soft); color: var(--text-ink); border-color: var(--emerald); }
.alert-warning { background: var(--cyan-soft); color: var(--text-ink); border-color: var(--cyan); }
.alert-danger { background: rgba(239, 68, 68, 0.12); color: var(--text-ink); border-color: #ef4444; }
.badge.text-bg-warning { color: #78350f !important; }
.dropdown-menu { background: var(--bg-surface); border-color: var(--border-color); }
.pagination .page-link { background: var(--bg-surface); border-color: var(--border-color); color: var(--text-ink); }
.pagination .page-item.active .page-link { background: var(--emerald); border-color: var(--emerald); color: #fff; }
.pagination .page-link:hover { background: var(--emerald-soft); color: var(--emerald); }

/* --- Blog article body ----------------------------------------------------- */
.article-body { font-size: 1.06rem; line-height: 1.85; color: var(--text-ink); }
.article-body h2, .article-body h3 { font-family: var(--font-display); color: var(--text-heading); margin-top: 2rem; }
.article-body img { max-width: 100%; border-radius: var(--radius); }
.article-body blockquote {
    border-left: 3px solid var(--cyan);
    background: var(--cyan-soft);
    padding: 0.9rem 1.2rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--text-ink);
}
.article-body a { text-decoration: underline; }

/* --- Hero floating trust badge -------------------------------------------- */
.hero-floating-badge {
    position: absolute;
    top: -1rem;
    right: -1rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--emerald);
    border-radius: var(--radius-sm);
    padding: 0.8rem 1.15rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    box-shadow: var(--shadow-lg);
    z-index: 2;
    max-width: 210px;
}
.hero-floating-badge .icon {
    width: 38px; height: 38px; border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--emerald-soft); color: var(--emerald); font-size: 1.1rem; flex-shrink: 0;
}
.hero-floating-badge strong { display: block; color: var(--text-heading); font-size: 0.98rem; line-height: 1.15; white-space: nowrap; }
.hero-floating-badge span { font-size: 0.76rem; color: var(--text-muted); white-space: nowrap; }
.hero-trust-note { font-size: 0.85rem; color: var(--text-muted); }
.hero-trust-note i { color: var(--emerald); }

/* --- Phone device frame for screenshots ------------------------------------ */
.phone-frame {
    position: relative;
    flex-shrink: 0;
    width: 220px;
    padding: 12px;
    background: #0B1220;
    border-radius: 34px;
    box-shadow: var(--shadow-lg);
    scroll-snap-align: start;
}
.phone-frame::before {
    content: '';
    position: absolute;
    top: 12px; left: 50%; transform: translateX(-50%);
    width: 70px; height: 18px;
    background: #0B1220;
    border-radius: 0 0 12px 12px;
    z-index: 2;
}
.phone-frame img {
    display: block;
    width: 100%;
    border-radius: 24px;
    border: none;
    box-shadow: none;
}

/* --- "How it works" step cards --------------------------------------------- */
.step-card { position: relative; padding-top: 0.5rem; }
.step-number {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--emerald), var(--cyan));
    color: #ffffff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-glow-emerald);
}
.step-connector {
    position: absolute;
    top: 22px; left: calc(50% + 22px);
    width: calc(100% - 44px);
    height: 2px;
    background: linear-gradient(to right, var(--emerald), transparent);
    display: none;
}
@media (min-width: 992px) {
    .step-connector { display: block; }
}

/* --- Testimonial quote treatment -------------------------------------------- */
.quote-mark {
    font-family: Georgia, serif;
    font-size: 2.75rem;
    line-height: 1;
    color: var(--emerald);
    opacity: 0.35;
    display: block;
    margin-bottom: -0.5rem;
}
.avatar-initial {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--emerald-soft);
    color: var(--emerald);
    font-weight: 700;
    font-size: 0.95rem;
    flex-shrink: 0;
}

/* --- Final closing CTA band ------------------------------------------------- */
.final-cta {
    background:
        radial-gradient(800px 400px at 15% 0%, var(--hero-glow-1), transparent),
        radial-gradient(800px 400px at 85% 100%, var(--hero-glow-2), transparent),
        var(--bg-surface-alt);
    border-top: 1px solid var(--border-color);
    padding: 4.5rem 0;
    text-align: center;
}
.final-cta h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }

/* --- Responsiveness -------------------------------------------------------- */
@media (max-width: 991.98px) {
    .hero { padding: 3.5rem 0; }
    .shots-strip img { height: 330px; }
    .section { padding: 3.25rem 0; }
    .stats-band { padding: 2rem 0; }
    .hero-floating-badge { position: static; margin-top: 1rem; display: inline-flex; }
    .phone-frame { width: 170px; }
}
