/* ============================================================
   DealsBOT® — Dark Theme
   Unico foglio di stile condiviso da tutte le pagine.
   Struttura:
     1.  Variables & Reset
     2.  Base
     3.  Grid helpers
     4.  Utilities
     5.  Navbar
     6.  Page Header (pagine secondarie)
     7.  Gradient divider
     8.  Footer
     9.  ── INDEX: Hero
     10. ── INDEX: Stats
     11. ── INDEX: Marketplace strip
     12. ── INDEX: Feature cards
     13. ── INDEX: How it works / Checklist
     14. ── INDEX: Info cards (Cloud/Docs)
     15. ── INDEX: Pricing
     16. ── INDEX: FAQ
     17. ── INDEX: Final CTA
     18. ── CALC: Layout & Cards
     19. ── CALC: Channel rows
     20. ── CALC: Form controls
     21. ── CALC: Summary & Totals
     22. ── POLICY: Prose
     23. Responsive
============================================================ */


/* ──────────────────────────────────────────────────────────
   1. VARIABLES & RESET
────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #081120;
    --bg-2: #0d1a2f;
    --surface: #122038;
    --surface-2: #182840;
    --border: rgba(255, 255, 255, 0.10);
    --border-hi: rgba(255, 255, 255, 0.20);
    --accent: #3b82f6;
    --accent-2: #2dd4c8;
    --accent-g: linear-gradient(135deg, #3b82f6, #2dd4c8);
    --green: #10b981;
    --red: #ef4444;
    --amber: #f59e0b;
    --text: #e8f0ff;
    --muted: #7fa8d0;
    --dim: #3d5a7a;
    --glow: rgba(59, 130, 246, 0.30);
    --r: 12px;
    --r-lg: 20px;
}


/* ──────────────────────────────────────────────────────────
   2. BASE
────────────────────────────────────────────────────────── */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}


body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

main {
    flex: 1;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    color: var(--accent-2);
}

img {
    max-width: 100%;
    display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
}

h1 {
    font-size: clamp(2.4rem, 5vw, 3.5rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

h3 {
    font-size: 1.25rem;
}

p {
    color: var(--muted);
    line-height: 1.7;
}


/* ──────────────────────────────────────────────────────────
   3. GRID HELPERS
────────────────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -0.75rem;
}

[class*="col-"] {
    padding: 0 0.75rem;
}

.col-12 {
    width: 100%;
}

.col-md-4 {
    width: 100%;
}

.col-md-6 {
    width: 100%;
}

.col-lg-3 {
    width: 100%;
}

.col-lg-4 {
    width: 100%;
}

.col-lg-5 {
    width: 100%;
}

.col-lg-6 {
    width: 100%;
}

.col-lg-7 {
    width: 100%;
}

.col-lg-8 {
    width: 100%;
}

.col-lg-10 {
    width: 100%;
}

@media (min-width: 768px) {
    .col-md-4 {
        width: 33.333%;
    }

    .col-md-6 {
        width: 50%;
    }
}

@media (min-width: 992px) {
    .col-lg-3 {
        width: 25%;
    }

    .col-lg-4 {
        width: 33.333%;
    }

    .col-lg-5 {
        width: 41.666%;
    }

    .col-lg-6 {
        width: 50%;
    }

    .col-lg-7 {
        width: 58.333%;
    }

    .col-lg-8 {
        width: 66.666%;
    }

    .col-lg-10 {
        width: 83.333%;
    }
}


/* ──────────────────────────────────────────────────────────
   4. UTILITIES
────────────────────────────────────────────────────────── */
.text-center {
    text-align: center;
}

.text-muted {
    color: var(--muted) !important;
}

.d-flex {
    display: flex;
}

.align-items-center {
    align-items: center;
}

.align-items-start {
    align-items: flex-start;
}

.justify-content-center {
    justify-content: center;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-shrink-0 {
    flex-shrink: 0;
}

.ml-auto {
    margin-left: auto;
}

.mr-auto {
    margin-right: auto;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.w-100 {
    width: 100%;
}

.h-100 {
    height: 100%;
}

.position-relative {
    position: relative;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: .25rem;
}

.mb-2 {
    margin-bottom: .5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: .5rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.text-gradient {
    background: var(--accent-g);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.eyebrow {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: .75rem;
}

.section {
    padding: 6rem 0;
}

.section-dark {
    background: var(--bg);
}

.section-dark2 {
    background: var(--bg-2);
}

.section-head {
    margin-bottom: 3.5rem;
}

.section-head p {
    max-width: 520px;
    margin: 1rem auto 0;
}

.gradient-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), var(--accent-2), transparent);
    opacity: .3;
    margin: 0;
}


/* ──────────────────────────────────────────────────────────
   5. NAVBAR
────────────────────────────────────────────────────────── */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(7, 9, 15, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 0 1.5rem;
}

.navbar-inner {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    height: 64px;
    gap: 2rem;
}

.navbar-logo img {
    height: 36px;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: auto;
    list-style: none;
}

.navbar-links a {
    color: var(--muted);
    font-size: .9rem;
    font-weight: 500;
    transition: color .15s;
}

.navbar-links a:hover {
    color: var(--text);
}

.btn-nav {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    background: var(--accent);
    color: #fff !important;
    font-size: .88rem;
    font-weight: 600;
    padding: .5rem 1.2rem;
    border-radius: 8px;
    transition: opacity .15s, transform .15s;
}

.btn-nav:hover {
    opacity: .88;
    transform: translateY(-1px);
    color: #fff !important;
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--muted);
    font-size: 1.4rem;
    cursor: pointer;
    margin-left: auto;
}

.navbar-mobile {
    display: none;
}

.navbar-mobile.open {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 1rem 1.5rem;
    gap: 1rem;
}

.navbar-mobile a {
    color: var(--muted);
    font-weight: 500;
    display: block;
    padding: .4rem 0;
}

.navbar-mobile a:hover {
    color: var(--text);
}

.navbar-mobile .btn-nav {
    justify-content: center;
}

/* ── Language switcher ── */
.lang-switcher {
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.lang-current {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--muted);
    border-radius: 8px;
    padding: .35rem .65rem;
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: .35rem;
    white-space: nowrap;
    transition: color .15s, border-color .15s;
}

.lang-current:hover {
    color: var(--text);
    border-color: var(--border-hi);
}

.lang-chevron {
    font-size: .6rem;
    transition: transform .2s;
}

.lang-switcher.open .lang-chevron {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + .5rem);
    right: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: .35rem;
    display: none;
    flex-direction: column;
    gap: .1rem;
    min-width: 110px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .45);
    z-index: 200;
}

.lang-switcher.open .lang-dropdown {
    display: flex;
}

.lang-dropdown a {
    padding: .4rem .7rem;
    border-radius: 7px;
    color: var(--muted);
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background .12s, color .12s;
}

.lang-dropdown a:hover {
    background: var(--surface-2);
    color: var(--text);
}

.lang-dropdown a.lang-active {
    color: var(--accent);
    pointer-events: none;
}


/* ──────────────────────────────────────────────────────────
   6. PAGE HEADER (pagine secondarie: policy, calc, renewal)
────────────────────────────────────────────────────────── */
.page-header {
    background: var(--bg-2);
    border-bottom: 1px solid var(--border);
    padding: 4rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(59, 130, 246, 0.1) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

.page-header-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.page-header-inner {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.page-header h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: .75rem;
}

.page-header p {
    color: var(--muted);
    font-size: 1rem;
}


/* ──────────────────────────────────────────────────────────
   7. FOOTER
────────────────────────────────────────────────────────── */
.footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 2rem 0;
}

.footer-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    justify-content: space-between;
}

.footer-copy {
    font-size: .8rem;
    color: var(--dim);
}

.footer-links {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: .8rem;
    color: var(--dim);
    transition: color .15s;
}

.footer-links a:hover {
    color: var(--muted);
}


/* ══════════════════════════════════════════════════════════
   8. INDEX — HERO
══════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    overflow: hidden;
    padding: 6rem 0 5rem;
    background: var(--bg);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(59, 130, 246, 0.12) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

.hero-glow-1,
.hero-glow-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.hero-glow-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.25) 0%, transparent 70%);
    top: -100px;
    left: -100px;
}

.hero-glow-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, transparent 70%);
    bottom: -50px;
    right: -50px;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.hero-copy {
    flex: 1 1 400px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.35);
    color: var(--accent);
    border-radius: 999px;
    padding: .35rem 1rem;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .04em;
    margin-bottom: 1.5rem;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 6px var(--accent);
    animation: blink 2s ease infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .3;
    }
}

.hero h1 {
    margin-bottom: 1.25rem;
}

.hero p.lead {
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 500px;
    margin-bottom: 2rem;
}

.cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
}

.btn-primary-glow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    font-size: .95rem;
    padding: .8rem 1.8rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform .15s, box-shadow .2s, background .15s;
}

.btn-primary-glow:hover {
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--glow), 0 0 0 4px rgba(59, 130, 246, .15);
    background: #5254cc;
}

.btn-primary-glow img {
    height: 1.4rem;
    filter: brightness(0) invert(1);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    background: transparent;
    color: var(--text);
    font-weight: 600;
    font-size: .95rem;
    padding: .8rem 1.8rem;
    border-radius: 10px;
    border: 1px solid var(--border-hi);
    cursor: pointer;
    text-decoration: none;
    transition: border-color .15s, background .15s, transform .15s;
}

.btn-ghost:hover {
    color: var(--text);
    text-decoration: none;
    border-color: var(--accent);
    background: rgba(59, 130, 246, .07);
    transform: translateY(-2px);
}

/* Phone mockup */
.hero-mockup {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
}

.phone-wrap {
    width: 260px;
    flex-shrink: 0;
    position: relative;
    /* aspect ratio matches promo images: 1206×2622 ≈ 0.46 */
    aspect-ratio: 1206 / 2622;
    border-radius: 40px;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, .8),
        0 40px 80px rgba(0, 0, 0, .6),
        0 0 60px rgba(59, 130, 246, 0.2);
}

.phone-frame-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    z-index: 2;
}

/* Carousel (phone) */
.carousel {
    overflow: hidden;
    position: relative;
    height: 100%;
}

.carousel-inner {
    display: flex;
    transition: transform .5s ease;
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
}

.carousel-slide img {
    width: 97%;
    height: 100%;
    display: block;
    transform: translate(4px, 8px);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0, 0, 0, 0.45);
    border: none;
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .65rem;
    cursor: pointer;
    opacity: 0;
    transition: opacity .2s, background .2s;
}

.carousel:hover .carousel-btn {
    opacity: 1;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.7);
}

.carousel-btn-prev {
    left: 6px;
}

.carousel-btn-next {
    right: 6px;
}


/* ══════════════════════════════════════════════════════════
   9. INDEX — STATS
══════════════════════════════════════════════════════════ */
.stats-section {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 3rem 0;
}

.stats-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.stat-cell {
    text-align: center;
    flex: 1 1 180px;
    padding: 1rem 2rem;
    position: relative;
}

.stat-cell+.stat-cell::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: var(--border);
}

.stat-num {
    font-size: 2.4rem;
    font-weight: 900;
    background: var(--accent-g);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: .8rem;
    font-weight: 500;
    color: var(--dim);
    margin-top: .4rem;
    text-transform: uppercase;
    letter-spacing: .06em;
}


/* ══════════════════════════════════════════════════════════
   10. INDEX — MARKETPLACE STRIP
══════════════════════════════════════════════════════════ */
.marketplace-strip {
    padding: 2.5rem 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

.marketplace-strip p {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--dim);
    margin-bottom: 1.2rem;
    text-align: center;
}

.market-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .6rem;
}

.market-pill {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: .4rem 1rem;
    font-size: .84rem;
    font-weight: 600;
    color: var(--muted);
    transition: border-color .15s, color .15s;
    user-select: none;
    cursor: default;
}

.market-pill:hover {
    border-color: var(--accent);
    color: var(--text);
}

.market-pill i {
    color: var(--accent);
}

.market-pill-more {
    position: relative;
    cursor: default;
}

.market-pill-more::after {
    content: attr(data-tip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--surface-2);
    border: 1px solid var(--border-hi);
    color: var(--muted);
    font-size: .78rem;
    font-weight: 400;
    line-height: 1.5;
    padding: .6rem .9rem;
    border-radius: 8px;
    width: 280px;
    white-space: normal;
    text-align: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity .2s;
    z-index: 10;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.market-pill-more::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 2px);
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--border-hi);
    pointer-events: none;
    opacity: 0;
    transition: opacity .2s;
    z-index: 10;
}

.market-pill-more:hover::after,
.market-pill-more:hover::before {
    opacity: 1;
}


/* ══════════════════════════════════════════════════════════
   11. INDEX — FEATURE CARDS
══════════════════════════════════════════════════════════ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.feat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 1.75rem;
    transition: border-color .2s, transform .2s, box-shadow .2s;
    position: relative;
    overflow: hidden;
}

.feat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity .3s;
}

.feat-card:hover {
    border-color: rgba(59, 130, 246, .35);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .3), 0 0 0 1px rgba(59, 130, 246, .12);
}

.feat-card:hover::before {
    opacity: 1;
}

.feat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1.1rem;
    background: rgba(59, 130, 246, .12);
    color: var(--accent);
}

.feat-card h3 {
    font-size: 1.05rem;
    margin-bottom: .5rem;
    color: var(--text);
}

.feat-card p {
    font-size: .88rem;
    color: var(--muted);
    margin: 0;
}


/* ══════════════════════════════════════════════════════════
   12. INDEX — HOW IT WORKS / STEPS / CHECKLIST
══════════════════════════════════════════════════════════ */
.steps-list {
    list-style: none;
    position: relative;
}

.steps-list::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 1px;
    background: linear-gradient(to bottom, var(--accent), var(--accent-2));
}

.step-item {
    display: flex;
    gap: 1.5rem;
    padding: 0 0 2.5rem 0;
    position: relative;
}

.step-item:last-child {
    padding-bottom: 0;
}

.step-num {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--surface-2);
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: .9rem;
    color: var(--accent);
    position: relative;
    z-index: 1;
}

.step-body h3 {
    font-size: 1.05rem;
    margin-bottom: .35rem;
    padding-top: .4rem;
}

.step-body p {
    font-size: .88rem;
    color: var(--muted);
    margin: 0;
}

.checklist {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 2rem;
    width: 100%;
}

.check-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .6rem;
}

.check-item {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    font-size: .84rem;
    color: var(--muted);
}

.check-item i {
    color: var(--green);
    flex-shrink: 0;
    font-size: .8rem;
    margin-top: .22rem;
}


/* ══════════════════════════════════════════════════════════
   13. INDEX — INFO CARDS (Cloud / Docs)
══════════════════════════════════════════════════════════ */
.info-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1rem;
    transition: border-color .2s, transform .2s;
    text-decoration: none;
    color: inherit;
    height: 100%;
    box-sizing: border-box;
}

.info-card:hover {
    border-color: var(--border-hi);
    transform: translateY(-3px);
    color: inherit;
    text-decoration: none;
}

.info-card-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.icon-accent {
    background: rgba(59, 130, 246, .15);
    color: var(--accent);
}

.icon-cyan {
    background: rgba(6, 182, 212, .15);
    color: var(--accent-2);
}

.info-card h3 {
    font-size: 1rem;
    margin-bottom: .35rem;
}

.info-card p {
    font-size: .88rem;
    margin: 0;
}


/* ══════════════════════════════════════════════════════════
   14. INDEX — PRICING
══════════════════════════════════════════════════════════ */
.tier-table {
    border: 1px solid var(--border);
    border-radius: var(--r);
    overflow: hidden;
    margin-bottom: 2rem;
}

.tier-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .6rem 1.1rem;
    border-bottom: 1px solid var(--border);
    transition: background .15s;
}

.tier-row:last-child {
    border-bottom: none;
}

.tier-row:hover {
    background: rgba(59, 130, 246, .05);
}

.tier-row-range {
    font-size: .88rem;
    color: var(--muted);
    font-weight: 500;
}

.tier-row-right {
    display: flex;
    align-items: baseline;
    gap: .25rem;
}

.tier-row-price {
    font-size: 1rem;
    font-weight: 800;
    background: var(--accent-g);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tier-row-mo {
    font-size: .76rem;
    color: var(--dim);
    font-weight: 400;
}

.extra-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.extra-c {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.extra-c-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.extra-c h4 {
    font-size: .95rem;
    margin-bottom: .2rem;
}

.extra-c p {
    font-size: .8rem;
    margin: 0;
}

.extra-c .price-tag {
    margin-left: auto;
    text-align: right;
    flex-shrink: 0;
}

.extra-c .price-tag .val {
    font-size: 1.3rem;
    font-weight: 800;
    background: var(--accent-g);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.extra-c .price-tag .per {
    font-size: .7rem;
    color: var(--dim);
}

.pricing-cta {
    background: var(--surface);
    border: 1px solid rgba(59, 130, 246, .3);
    border-radius: var(--r-lg);
    padding: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(59, 130, 246, .12), transparent 70%);
}

.pricing-cta>* {
    position: relative;
    z-index: 1;
}

.pricing-cta h3 {
    margin-bottom: .75rem;
}

.pricing-cta p {
    font-size: .9rem;
    margin-bottom: 1.5rem;
}


/* ══════════════════════════════════════════════════════════
   15. INDEX — FAQ
══════════════════════════════════════════════════════════ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r);
    overflow: hidden;
    transition: border-color .2s;
}

.faq-item.open {
    border-color: rgba(59, 130, 246, .35);
}

.faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 1.3rem;
    cursor: pointer;
    font-weight: 600;
    font-size: .95rem;
    color: var(--text);
    user-select: none;
    transition: background .15s;
}

.faq-q:hover {
    background: rgba(255, 255, 255, .03);
}

.faq-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(59, 130, 246, .12);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    transition: transform .25s, background .15s;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    background: rgba(59, 130, 246, .25);
}

.faq-a {
    display: none;
    padding: 0 1.3rem 1.2rem;
    font-size: .9rem;
    color: var(--muted);
    line-height: 1.65;
}

.faq-a a {
    color: var(--accent);
}

.faq-item.open .faq-a {
    display: block;
}


/* ══════════════════════════════════════════════════════════
   16. INDEX — FINAL CTA
══════════════════════════════════════════════════════════ */
.final-cta-wrap {
    background: var(--bg-2);
    padding: 5rem 0;
}

.final-cta-box {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.final-cta-box h2 {
    margin-bottom: 1rem;
}

.final-cta-box p {
    font-size: 1.05rem;
    margin-bottom: 2rem;
}


/* ══════════════════════════════════════════════════════════
   17. CALC — LAYOUT
══════════════════════════════════════════════════════════ */
.calc-section {
    padding: 3rem 1.5rem 5rem;
}

.calc-container {
    max-width: 1100px;
    margin: 0 auto;
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 1.5rem;
    align-items: start;
}

.card-dark {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 2rem;
}

.card-dark h2 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: .35rem;
    display: flex;
    align-items: center;
    gap: .6rem;
}

.card-dark h2 i {
    color: var(--accent);
    font-size: .9rem;
}

.card-dark .sub {
    font-size: .8rem;
    color: var(--dim);
    margin-bottom: 1.25rem;
}


/* ══════════════════════════════════════════════════════════
   18. CALC — CHANNEL ROWS
══════════════════════════════════════════════════════════ */
.channel-row {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 1rem 1.1rem;
    margin-bottom: .75rem;
    transition: border-color .2s;
}

.channel-row:hover {
    border-color: rgba(59, 130, 246, .3);
}

.channel-row-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: .75rem;
}

.channel-label {
    font-size: .88rem;
    font-weight: 600;
    color: var(--text);
}

.badge-main {
    display: inline-block;
    background: rgba(59, 130, 246, .2);
    color: var(--accent);
    font-size: .68rem;
    font-weight: 700;
    border-radius: 999px;
    padding: 1px 8px;
    margin-left: .4rem;
}

.btn-remove {
    background: none;
    border: 1px solid rgba(239, 68, 68, .3);
    color: var(--red);
    border-radius: 6px;
    padding: .2rem .5rem;
    font-size: .78rem;
    cursor: pointer;
    transition: background .15s;
}

.btn-remove:hover {
    background: rgba(239, 68, 68, .1);
}

.channel-row-mid {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: .75rem;
}

.tier-badge {
    background: rgba(59, 130, 246, .12);
    color: var(--accent);
    border-radius: 999px;
    padding: 3px 12px;
    font-size: .75rem;
    font-weight: 600;
    white-space: nowrap;
}

.switch-row {
    display: flex;
    align-items: center;
    gap: .6rem;
}

.switch-label {
    font-size: .82rem;
    color: var(--muted);
}

.switch-price {
    font-size: .78rem;
    color: var(--green);
    font-weight: 600;
}

.btn-add {
    width: 100%;
    background: none;
    border: 1.5px dashed rgba(59, 130, 246, .35);
    border-radius: var(--r);
    padding: .7rem;
    color: var(--accent);
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color .2s, background .2s;
    font-family: inherit;
    margin-top: .5rem;
}

.btn-add:hover {
    border-color: var(--accent);
    background: rgba(59, 130, 246, .06);
}


/* ══════════════════════════════════════════════════════════
   19. CALC — FORM CONTROLS
══════════════════════════════════════════════════════════ */
.input-dark {
    background: var(--bg-2);
    border: 1px solid var(--border-hi);
    color: var(--text);
    border-radius: 8px;
    padding: .45rem .85rem;
    font-size: .88rem;
    outline: none;
    width: 140px;
    font-family: inherit;
    transition: border-color .15s;
}

.input-dark::placeholder {
    color: var(--dim);
}

.input-dark:focus {
    border-color: var(--accent);
}

.input-dark::-webkit-outer-spin-button,
.input-dark::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.input-dark[type=number] {
    -moz-appearance: textfield;
}

/* Toggle switch */
.switch {
    position: relative;
    width: 36px;
    height: 20px;
    flex-shrink: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: var(--bg-2);
    border: 1px solid var(--border-hi);
    border-radius: 999px;
    transition: background .2s;
}

.switch-slider::before {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--dim);
    left: 2px;
    bottom: 2px;
    transition: transform .2s, background .2s;
}

.switch input:checked+.switch-slider {
    background: rgba(59, 130, 246, .3);
    border-color: var(--accent);
}

.switch input:checked+.switch-slider::before {
    transform: translateX(16px);
    background: var(--accent);
}

/* Period buttons */
.period-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .5rem;
}

.period-btn {
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--muted);
    border-radius: 8px;
    padding: .55rem .4rem;
    text-align: center;
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: border-color .15s, color .15s, background .15s;
}

.period-btn:hover {
    border-color: var(--border-hi);
    color: var(--text);
}

.period-btn.active {
    background: rgba(59, 130, 246, .15);
    border-color: var(--accent);
    color: var(--text);
}

.discount-tag {
    display: inline-block;
    font-size: .65rem;
    background: rgba(16, 185, 129, .15);
    color: var(--green);
    border-radius: 999px;
    padding: 1px 6px;
    margin-left: .2rem;
    font-weight: 700;
    transition: opacity .2s;
}

.period-note {
    font-size: .78rem;
    color: var(--dim);
    margin-top: .75rem;
    min-height: 1.1rem;
}

.divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 1.5rem 0;
}


/* ══════════════════════════════════════════════════════════
   20. CALC — SUMMARY & TOTALS
══════════════════════════════════════════════════════════ */
.summary-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: .75rem;
}

.summary-table td {
    padding: .4rem .25rem;
    border: none;
    font-size: .88rem;
}

.summary-table .label-col {
    color: var(--muted);
}

.summary-table .value-col {
    text-align: right;
    font-weight: 600;
    white-space: nowrap;
    color: var(--text);
}

.summary-table .sub-note {
    font-size: .74rem;
    color: var(--dim);
    display: block;
}

.summary-table .row-subtotal td {
    border-top: 1px solid var(--border);
    padding-top: .6rem;
}

.text-success-c {
    color: var(--green) !important;
}

.text-warn {
    color: var(--amber);
    font-size: .78rem;
}

.total-area {
    text-align: center;
    padding: 1.25rem 0 .5rem;
}

.total-period-label {
    font-size: .78rem;
    color: var(--dim);
    margin-bottom: .25rem;
}

.total-big {
    font-size: 2.6rem;
    font-weight: 900;
    background: var(--accent-g);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.total-sub {
    font-size: .88rem;
    color: var(--dim);
    margin-top: .2rem;
}

.info-note {
    font-size: .78rem;
    color: var(--dim);
    text-align: center;
    margin-top: .5rem;
}

.info-note i {
    color: var(--accent);
}

.discount-win {
    display: inline-block;
    background: rgba(16, 185, 129, .12);
    color: var(--green);
    border-radius: 8px;
    padding: .35rem .8rem;
    font-size: .8rem;
    font-weight: 600;
    margin-bottom: .75rem;
}


/* ══════════════════════════════════════════════════════════
   21. POLICY — PROSE
══════════════════════════════════════════════════════════ */
.content-section {
    padding: 4rem 1.5rem 5rem;
}

.content-inner {
    max-width: 820px;
    margin: 0 auto;
}

.prose {
    color: var(--muted);
    line-height: 1.8;
    font-size: .95rem;
}

.prose b,
.prose strong {
    color: var(--text);
    font-weight: 600;
}

.prose ol {
    padding-left: 1.5rem;
}

.prose li {
    margin-bottom: 1rem;
}

.prose a {
    color: var(--accent);
}

.prose a:hover {
    color: var(--accent-2);
}


/* ══════════════════════════════════════════════════════════
   22. RESPONSIVE
══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

    /* Navbar */
    .navbar-links {
        display: none;
    }

    .navbar-toggle {
        display: block;
    }

    /* Hero */
    .hero {
        padding: 4rem 0 3rem;
    }

    .hero-mockup {
        width: 100%;
    }

    .phone-wrap {
        width: 260px;
        margin: 0 auto;
        flex-shrink: 0;
    }

    .hero-copy {
        text-align: center;
        align-items: center;
    }

    .hero p.lead {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero h1 {
        text-align: center;
    }

    .hero-badge {
        display: inline-flex;
    }

    .hero-copy {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .cta-group {
        justify-content: center;
    }

    /* How it works */
    .eyebrow-howitworks,
    #howitworks .col-lg-5 h2 {
        text-align: center;
        display: block;
    }

    .steps-list::before {
        left: 50%;
        transform: translateX(-50%);
        top: 20px;
        bottom: 20px;
        width: 1px;
    }

    .step-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-bottom: 2rem;
    }

    .step-body {
        text-align: center;
    }

    /* Stats */
    .stat-cell+.stat-cell::before {
        display: none;
    }

    /* Sections */
    .section {
        padding: 4rem 0;
    }

    /* Calc */
    .calc-grid {
        grid-template-columns: 1fr;
    }

    .period-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .check-grid {
        grid-template-columns: 1fr;
    }

    .extra-cards {
        grid-template-columns: 1fr;
    }

    /* Pricing */
    .extra-cards {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 992px) {
    .hero-inner {
        flex-wrap: nowrap;
    }
}