/* ============================================================
   QRTudo — Design System
   Single source of truth for tokens + components.
   Extracted from hero-mockup-a.html (reference implementation).
   Link in any page:  <link rel="stylesheet" href="/assets/css/design-system.css">
   Requires: Poppins (Google Fonts) + Bootstrap Icons.
   Rules: solid #520FF5 (no gradients) · BI icons only (no emoji)
          · PT-BR user-facing strings · plans: Grátis · Starter · Pro · Agência
   ============================================================ */

        :root {
            /* Brand */
            --yellow:        #FFE500;
            --black:         #0A0A0A;
            --purple:        #520FF5;
            --purple-light:  #a78bfa;
            --purple-bg:     rgba(82,15,245,0.12);
            --purple-border: rgba(82,15,245,0.25);
            --white:         #FFFFFF;
            /* Surfaces */
            --mid:           #141414;
            --surface:       #111111;
            /* Borders */
            --border:        rgba(255,255,255,0.10);
            --border-dim:    rgba(255,255,255,0.06);
            /* Text */
            --text-dim:      rgba(255,255,255,0.45);
            --text-muted:    rgba(255,255,255,0.35);
            /* Accents (sample dashboard) */
            --teal:          #14b8a6;
            --blue:          #3b82f6;
            --green:         #22c55e;
            --orange:        #f59e0b;
        }

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

        html { scroll-behavior: smooth; }

        body {
            font-family: 'Poppins', sans-serif;
            background: var(--black);
            color: var(--white);
            min-height: 100vh;
            overflow-x: hidden;
        }

        /* ── SUBTLE GRID TEXTURE ─────────────────────────────── */
        body::before {
            content: '';
            position: fixed;
            inset: 0;
            background-image:
                linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
            background-size: 60px 60px;
            pointer-events: none;
            z-index: 0;
        }

        /* ── YELLOW BAND (self-contained: yellow bg + grid texture) ──
           Use on a hero/section that should be yellow with the grid,
           independent of the page background. */
        .band-yellow { position: relative; z-index: 1; background: var(--yellow); overflow: hidden; }
        .band-yellow::before {
            content: '';
            position: absolute;
            inset: 0;
            background-image:
                linear-gradient(rgba(0,0,0,0.05) 1px, transparent 1px),
                linear-gradient(90deg, rgba(0,0,0,0.05) 1px, transparent 1px);
            background-size: 60px 60px;
            pointer-events: none;
        }
        .band-yellow > * { position: relative; z-index: 1; }

        /* ── NAVBAR ──────────────────────────────────────────── */
        .nav {
            position: fixed;
            top: 0; left: 0; right: 0;
            z-index: 100;
            padding: 16px 48px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: rgba(10,10,10,0.88);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            border-bottom: 1px solid rgba(255,255,255,0.06);
        }
        .nav-logo {
            font-size: 1.3rem;
            font-weight: 800;
            color: var(--yellow);
            letter-spacing: -0.03em;
        }
        .nav-links {
            display: flex;
            align-items: center;
            gap: 28px;
        }
        .nav-links a {
            color: rgba(255,255,255,0.55);
            text-decoration: none;
            font-size: 0.85rem;
            font-weight: 500;
            transition: color 0.15s;
        }
        .nav-links a:hover { color: #fff; }
        .nav-cta {
            background: var(--yellow);
            color: var(--black) !important;
            font-weight: 700 !important;
            padding: 9px 20px;
            border-radius: 9px;
        }

        /* ── HERO ────────────────────────────────────────────── */
        .hero {
            position: relative;
            z-index: 1;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 120px 24px 80px;
            text-align: center;
        }

        /* Top label */
        .hero-eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 0.75rem;
            font-weight: 600;
            color: rgba(255,255,255,0.45);
            text-transform: uppercase;
            letter-spacing: 0.1em;
            margin-bottom: 24px;
        }
        .eyebrow-line {
            display: inline-block;
            width: 28px;
            height: 1.5px;
            background: rgba(255,255,255,0.25);
        }

        /* LARGE H1 */
        .hero-h1 {
            font-size: clamp(3rem, 8vw, 7.5rem);
            font-weight: 900;
            line-height: 0.95;
            letter-spacing: -0.045em;
            margin-bottom: 28px;
            max-width: 900px;
        }
        .hero-h1 .line-yellow { color: var(--yellow); }
        .hero-h1 .line-ghost {
            -webkit-text-stroke: 1.5px rgba(255,255,255,0.2);
            color: transparent;
        }

        /* Subheadline */
        .hero-sub {
            font-size: clamp(1rem, 1.6vw, 1.15rem);
            color: rgba(255,255,255,0.5);
            line-height: 1.65;
            max-width: 650px;
            margin: 0 auto 48px;
        }

        /* ── TYPE PILLS ──────────────────────────────────────── */
        .type-pills {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            justify-content: center;
            margin-bottom: 20px;
        }
        .type-pill {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            padding: 7px 15px;
            border: 1.5px solid rgba(255,255,255,0.1);
            border-radius: 100px;
            font-family: 'Poppins', sans-serif;
            font-size: 0.78rem;
            font-weight: 600;
            color: rgba(255,255,255,0.45);
            background: transparent;
            cursor: pointer;
            transition: all 0.18s;
        }
        .type-pill i { font-size: 0.82rem; }
        .type-pill:hover {
            border-color: rgba(255,229,0,0.5);
            color: var(--yellow);
        }
        .type-pill.active {
            background: var(--yellow);
            border-color: var(--yellow);
            color: var(--black);
        }

        /* ── SEARCH-BAR INPUT ────────────────────────────────── */
        .search-wrap {
            width: 100%;
            max-width: 640px;
            position: relative;
            margin: 0 auto 12px;
        }
        .search-bar {
            display: flex;
            align-items: center;
            background: rgba(255,255,255,0.05);
            border: 1.5px solid rgba(255,255,255,0.12);
            border-radius: 16px;
            padding: 6px 6px 6px 22px;
            transition: border-color 0.2s, background 0.2s;
            backdrop-filter: blur(8px);
        }
        .search-bar:focus-within {
            border-color: var(--yellow);
            background: rgba(255,229,0,0.04);
        }
        .search-bar-icon {
            color: rgba(255,255,255,0.3);
            font-size: 1.1rem;
            margin-right: 12px;
            flex-shrink: 0;
            transition: color 0.2s;
        }
        .search-bar:focus-within .search-bar-icon { color: var(--yellow); }
        .search-input {
            flex: 1;
            background: transparent;
            border: none;
            outline: none;
            color: #fff;
            font-family: 'Poppins', sans-serif;
            font-size: 0.975rem;
            padding: 12px 0;
        }
        .search-input::placeholder { color: rgba(255,255,255,0.25); }
        .search-btn {
            background: var(--yellow);
            color: var(--black);
            border: none;
            border-radius: 12px;
            padding: 12px 24px;
            font-family: 'Poppins', sans-serif;
            font-size: 0.875rem;
            font-weight: 700;
            cursor: pointer;
            white-space: nowrap;
            display: flex;
            align-items: center;
            gap: 7px;
            transition: opacity 0.15s, transform 0.15s;
            flex-shrink: 0;
        }
        .search-btn:hover { opacity: 0.9; transform: scale(1.02); }

        .search-hint {
            font-size: 0.72rem;
            color: rgba(255,255,255,0.25);
            text-align: center;
        }

        /* ── TWO-COLUMN LAYOUT (result + customize side by side) ── */
        .qr-layout {
            /* Hidden = removed from flow, so the hero stays compact
               (no reserved empty space below the input). JS adds
               .visible once a valid QR is generated. */
            display: none;
            grid-template-columns: 3fr 2fr;
            gap: 16px;
            width: 100%;
            max-width: 960px;
            margin-top: 36px;
            align-items: start;
            /* Appear animation */
            opacity: 0;
            transform: translateY(16px);
            transition: opacity 0.4s ease, transform 0.4s ease;
            pointer-events: none;
        }
        .qr-layout.visible {
            display: grid;
            opacity: 1;
            transform: translateY(0);
            pointer-events: auto;
        }

        /* ── QR RESULT CARD ──────────────────────────────────── */
        .qr-result {
            background: var(--mid);
            border: 1px solid var(--border);
            border-radius: 20px;
            padding: 24px;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0;
            width: 100%;
            text-align: center;
        }
        .qr-result-preview {
            background: #fff;
            border-radius: 12px;
            padding: 12px;
            margin-bottom: 16px;
        }
        #qr-canvas-wrap { width: 140px; height: 140px; display: flex; align-items: center; justify-content: center; }
        #qr-canvas-wrap canvas { display: block; }
        .qr-result-info { width: 100%; text-align: left; }
        .qr-result-label {
            font-size: 0.7rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.09em;
            color: var(--text-muted);
            margin-bottom: 6px;
        }
        .qr-result-url {
            font-size: 0.85rem;
            color: var(--yellow);
            font-weight: 500;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            margin-bottom: 14px;
        }
        .qr-dl-btns { display: flex; gap: 8px; margin-bottom: 10px; }
        .qr-dl-btn {
            flex: 1;
            padding: 8px 0;
            border: 1.5px solid rgba(255,255,255,0.12);
            border-radius: 8px;
            background: transparent;
            font-family: 'Poppins', sans-serif;
            font-size: 0.72rem;
            font-weight: 600;
            color: rgba(255,255,255,0.55);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 4px;
            transition: border-color 0.15s, color 0.15s;
        }
        .qr-dl-btn:hover { border-color: var(--yellow); color: var(--yellow); }
        .qr-result-cta {
            display: flex;
            width: 100%;
            justify-content: center;
            background: var(--purple);
            color: var(--white);
            border: none;
            border-radius: 10px;
            padding: 11px 0;
            font-family: 'Poppins', sans-serif;
            font-size: 0.82rem;
            font-weight: 700;
            cursor: pointer;
            align-items: center;
            gap: 7px;
            transition: opacity 0.15s;
        }
        .qr-result-cta:hover { opacity: 0.85; }

        /* Customize panel — always expanded inside the layout */
        .qr-layout .qr-customize {
            max-height: 800px;
            overflow: visible;
            opacity: 1;
            transform: none;
            pointer-events: auto;
            border-color: var(--border);
            padding: 20px;
            margin: 0;
            transition: none;
        }

        /* ── PROOF PILLS ─────────────────────────────────────── */
        .proof-row {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
            justify-content: center;
            margin-top: 48px;
        }
        .proof-pill {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px 16px;
            background: rgba(255,255,255,0.04);
            border: 1px solid rgba(255,255,255,0.07);
            border-radius: 100px;
            font-size: 0.8rem;
            color: rgba(255,255,255,0.45);
        }
        .proof-pill strong { color: rgba(255,255,255,0.8); }
        .proof-pill i { color: var(--yellow); font-size: 0.85rem; }

        /* ── RESPONSIVE ──────────────────────────────────────── */
        @media (max-width: 720px) {
            .qr-layout { grid-template-columns: 1fr; }
            /* On mobile: QR result first, customize below */
            .qr-result { order: -1; }
        }
        @media (max-width: 640px) {
            .nav { padding: 14px 20px; }
            .nav-links a:not(.nav-cta) { display: none; }
            .hero { padding: 100px 16px 60px; }
            .hero-h1 { font-size: 3.2rem; }
            .search-btn span { display: none; }
        }

        /* ── Customization panel ── */
        .qr-customize {
            /* Always in render tree — transition via max-height not display */
            display: flex;
            flex-direction: column;
            /* Collapsed state */
            max-height: 0;
            overflow: hidden;
            opacity: 0;
            transform: translateY(8px);
            pointer-events: none;
            border-color: transparent;
            padding: 0 20px;
            margin-top: 0;
            /* Transitions */
            transition:
                max-height 0.45s ease,
                opacity    0.3s  ease 0.05s,
                transform  0.3s  ease 0.05s,
                padding    0.35s ease,
                margin     0.35s ease,
                border-color 0.3s ease;
            /* Appearance */
            background:    var(--surface);
            border: 1px solid transparent;
            border-radius: 16px;
        }
        .qr-customize.visible {
            max-height: 700px;
            opacity: 1;
            transform: translateY(0);
            pointer-events: auto;
            border-color: var(--border);
            padding: 20px;
            margin-top: 12px;
        }
        .cz-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 16px;
        }
        .cz-title {
            font-size: 13px;
            font-weight: 600;
            color: rgba(255,255,255,0.85);
            letter-spacing: 0.02em;
        }
        .cz-title .bi { margin-right: 6px; color: var(--yellow); }
        .cz-free-badge {
            font-size: 11px;
            font-weight: 700;
            color: var(--black);
            background: var(--yellow);
            padding: 2px 8px;
            border-radius: 20px;
            letter-spacing: 0.04em;
        }
        .cz-section { margin-bottom: 14px; }
        .cz-label {
            font-size: 11px;
            font-weight: 600;
            color: var(--text-dim);
            letter-spacing: 0.08em;
            text-transform: uppercase;
            margin-bottom: 8px;
        }
        .cz-swatches {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
        }
        .cz-swatch {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            border: 2px solid transparent;
            cursor: pointer;
            transition: border-color 0.15s, transform 0.15s;
            padding: 0;
            outline: none;
        }
        .cz-swatch:hover { transform: scale(1.15); }
        .cz-swatch.active {
            border-color: var(--yellow);
            box-shadow: 0 0 0 1px rgba(255,229,0,0.5);
        }
        .cz-custom {
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--border) !important;
            color: rgba(255,255,255,0.6);
            font-size: 16px;
            position: relative;
            cursor: pointer;
            border-radius: 50%;
            width: 28px;
            height: 28px;
            border: 2px solid transparent;
        }
        .cz-custom input[type="color"] {
            position: absolute;
            opacity: 0;
            width: 100%;
            height: 100%;
            cursor: pointer;
            border: none;
            padding: 0;
        }
        .cz-bottom-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
        }
        .cz-shapes { display: flex; gap: 8px; }
        .cz-shape {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 5px;
            padding: 10px 8px 8px;
            background: rgba(255,255,255,0.05);
            border: 1.5px solid var(--border);
            border-radius: 10px;
            cursor: pointer;
            color: rgba(255,255,255,0.7);
            font-size: 10px;
            font-weight: 600;
            transition: border-color 0.15s, background 0.15s;
            position: relative;
            flex: 1;
        }
        .cz-shape:hover { border-color: rgba(255,255,255,0.25); }
        .cz-shape.active {
            border-color: var(--yellow);
            background: rgba(255,229,0,0.08);
            color: var(--yellow);
        }
        .cz-pro-locked { opacity: 0.5; }
        .cz-pro-locked:hover { opacity: 0.7; }
        .shape-pro-tag {
            position: absolute;
            top: -8px;
            right: -4px;
            background: var(--purple);
            color: var(--white);
            font-size: 9px;
            font-weight: 700;
            padding: 2px 5px;
            border-radius: 4px;
            white-space: nowrap;
        }
        .cz-logo-drop {
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1.5px dashed rgba(255,255,255,0.18);
            border-radius: 10px;
            min-height: 76px;
            cursor: pointer;
            transition: border-color 0.2s, background 0.2s;
            position: relative;
            overflow: hidden;
        }
        .cz-logo-drop:hover,
        .cz-logo-drop.drag-over {
            border-color: var(--yellow);
            background: rgba(255,229,0,0.04);
        }
        .cz-logo-drop input[type="file"] {
            position: absolute;
            inset: 0;
            opacity: 0;
            cursor: pointer;
            font-size: 0;
        }
        .cz-logo-empty {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 3px;
            color: var(--text-muted);
            pointer-events: none;
        }
        .cz-logo-empty .bi { font-size: 20px; }
        .cz-logo-empty span { font-size: 11px; font-weight: 600; }
        .cz-logo-empty small { font-size: 10px; opacity: 0.6; }
        .cz-logo-preview {
            display: none;
            align-items: center;
            justify-content: center;
            position: relative;
            width: 100%;
            height: 76px;
        }
        .cz-logo-preview img {
            max-height: 52px;
            max-width: 80%;
            object-fit: contain;
            border-radius: 4px;
        }
        .cz-logo-remove {
            position: absolute;
            top: 6px;
            right: 6px;
            background: rgba(0,0,0,0.6);
            border: none;
            color: var(--white);
            width: 22px;
            height: 22px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 13px;
            z-index: 2;
            padding: 0;
        }
        .cz-pro-hint {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-top: 4px;
            padding: 10px 12px;
            background: var(--purple-bg);
            border: 1px solid var(--purple-border);
            border-radius: 8px;
            font-size: 11px;
            color: rgba(255,255,255,0.6);
        }
        .cz-pro-hint .bi { color: var(--purple-light); font-size: 13px; flex-shrink: 0; }
        .cz-pro-hint strong { color: var(--purple-light); }
        .cz-pro-hint a {
            margin-left: auto;
            color: var(--purple-light);
            font-weight: 700;
            white-space: nowrap;
            text-decoration: none;
        }
        .cz-pro-hint a:hover { color: var(--yellow); }
        @media (max-width: 540px) {
            .cz-bottom-row { grid-template-columns: 1fr; }
        }

        /* ─────────────────────────────────────────────────────────────
           PHONE MOCKUP — shared by Version C carousel (tipos-c)
           ─────────────────────────────────────────────────────────────*/
        @keyframes teFade{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
        .te-icon-wrap{width:90px;height:90px;border-radius:22px;background:var(--tc-accent, var(--purple));border:1px solid transparent;display:flex;align-items:center;justify-content:center;font-size:2.4rem;color:var(--tc-fg, var(--white));flex-shrink:0;}
        .te-type-label{font-size:.72rem;font-weight:600;letter-spacing:.08em;color:rgba(255,255,255,0.6);text-transform:uppercase;margin-bottom:8px;}
        .te-title{font-size:1.7rem;font-weight:700;color:var(--white);margin-bottom:10px;line-height:1.2;}
        .te-desc{font-size:.97rem;color:var(--text-dim);line-height:1.65;margin-bottom:22px;max-width:460px;}
        .te-cta-link{display:inline-flex;align-items:center;gap:8px;padding:11px 22px;background:var(--tc-accent, var(--purple));color:var(--tc-fg, var(--white));font-weight:700;font-size:.88rem;border-radius:100px;text-decoration:none;border:1px solid transparent;transition:opacity .2s, transform .2s;}
        .te-cta-link:hover{opacity:.9;transform:translateY(-1px);}
        /* Carousel "use this type" CTA — yellow bg + black text (a11y: ~17:1 contrast) */
        .te-cta-hero{display:inline-flex;align-items:center;gap:8px;padding:11px 22px;background:var(--yellow);color:var(--black);font-weight:700;font-size:.88rem;border-radius:100px;border:none;cursor:pointer;transition:opacity .2s;font-family:inherit;}
        .te-cta-hero:hover{opacity:.88;}
        .te-nav{display:flex;gap:8px;justify-content:flex-end;margin-top:4px;}
        .te-arrow{width:40px;height:40px;border-radius:50%;background:var(--purple-bg);border:1px solid var(--purple-border);color:var(--purple-light);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s;font-size:.95rem;}
        .te-arrow:hover{background:var(--purple);border-color:var(--purple);color:white;}
        @media(max-width:720px){.te-title{font-size:1.35rem}}

        .tb-phone{width:310px;max-width:100%;margin:0 auto;}
        .tb-frame{background:#313131;border-radius:50px;padding:11px;box-shadow:0 0 0 1px rgba(255,255,255,.07),0 24px 64px rgba(0,0,0,.65),inset 0 1px 0 rgba(255,255,255,.05);}
        .tb-screen{background:#fff;border-radius:42px;overflow:hidden;position:relative;color:#111;height:574px;display:flex;flex-direction:column;}
        .tb-island{position:absolute;top:11px;left:50%;transform:translateX(-50%);width:105px;height:30px;background:#000;border-radius:18px;z-index:10;}
        .tb-statusbar{display:flex;justify-content:space-between;padding:46px 18px 8px;font-size:.7rem;font-weight:600;color:#333;flex-shrink:0;}
        .tb-statusicons{display:flex;gap:4px;}
        .tb-pcontent{padding:0 15px 24px;flex:1;min-height:0;overflow-y:auto;}
        .tb-mheader{text-align:center;margin-bottom:16px;padding-top:12px;}
        .tb-mavatar{width:80px;height:80px;border-radius:50%;margin:0 auto 10px;display:flex;align-items:center;justify-content:center;}
        .tb-mtitle{font-size:1rem;font-weight:700;color:#111;margin-bottom:3px;}
        .tb-msub{font-size:.8rem;color:#444;}
        .tb-mcard{background:#f4f4f4;border-radius:10px;padding:12px;margin-bottom:8px;}
        .tb-mrow{display:flex;justify-content:space-between;align-items:center;margin-bottom:7px;font-size:.84rem;}
        .tb-mrow:last-child{margin-bottom:0;}
        .tb-mprice{color:#520FF5;font-weight:700;}
        .tb-mfield{margin-bottom:13px;}
        .tb-mlabel{font-size:.72rem;color:#555;margin-bottom:2px;}
        .tb-mvalue{font-weight:600;font-size:.88rem;color:#111;}
        .tb-mbtn{width:100%;background:#520FF5;color:#fff;border:none;padding:13px;border-radius:10px;font-weight:700;font-size:.88rem;cursor:default;}
        @media(max-width:720px){.tb-phone{max-width:260px}}

        /* ════════ merged: post-hero component styles ════════ */
/* ── SHARED SECTION LAYOUT ───────────────────────── */
.page-sect {
    position: relative;
    z-index: 1;
    padding: 80px 24px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.sect-inner {
    max-width: 1100px;
    margin: 0 auto;
}
.sect-label-row {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
    margin-bottom: 22px;
}
.sect-line {
    flex: 0 0 32px;
    height: 1px;
    background: rgba(255,255,255,0.15);
}
.sect-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}
.page-h2 {
    font-size: clamp(2.4rem, 5vw, 5rem);
    font-weight: 900;
    line-height: 0.97;
    letter-spacing: -0.042em;
    text-align: center;
    margin-bottom: 20px;
    color: #fff;
}
.page-h2 .ph-ghost {
    -webkit-text-stroke: 1.2px rgba(255,255,255,0.18);
    color: transparent;
}
.page-h2 .ph-yellow { color: var(--yellow); }
.sect-sub {
    font-size: 1rem;
    color: rgba(255,255,255,0.42);
    line-height: 1.65;
    text-align: center;
    max-width: 850px;
    margin: 0 auto 60px;
}

/* ── PAIN ─────────────────────────────────────────── */
.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.pain-card {
    background: #141414;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 18px;
    padding: 32px 26px;
    transition: border-color 0.2s;
}
.pain-card:hover { border-color: rgba(255,255,255,0.14); }
.pain-icon-wrap {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: rgba(255,229,0,0.07);
    border: 1px solid rgba(255,229,0,0.14);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
}
.pain-icon-wrap i { color: var(--yellow); font-size: 1.15rem; }
.pain-num {
    font-size: 0.62rem;
    font-weight: 700;
    color: rgba(255,255,255,0.18);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}
.pain-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.2;
}
.pain-desc {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.42);
    line-height: 1.65;
}

/* ── SOLUTION ──────────────────────────────────────── */
.feat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}
.feat-card {
    background: #141414;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 18px;
    padding: 28px 26px;
    display: flex;
    gap: 18px;
    transition: border-color 0.2s;
}
.feat-card:hover { border-color: rgba(255,229,0,0.2); }
.feat-icon-wrap {
    width: 46px; height: 46px;
    border-radius: 12px;
    background: rgba(255,229,0,0.07);
    border: 1px solid rgba(255,229,0,0.14);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.feat-icon-wrap i { color: var(--yellow); font-size: 1.2rem; }
.feat-body { flex: 1; }
.feat-title {
    font-size: 0.975rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}
.feat-desc {
    font-size: 0.865rem;
    color: rgba(255,255,255,0.42);
    line-height: 1.6;
}

/* ── ANALYTICS ─────────────────────────────────────── */
.analytics-wrap {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 56px;
    align-items: center;
}
.a-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255,255,255,0.32);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.a-label-line { width: 24px; height: 1px; background: rgba(255,255,255,0.18); }
.analytics-h2 {
    font-size: clamp(1.9rem, 3.6vw, 3.4rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.02;
    letter-spacing: -0.038em;
    margin-bottom: 18px;
}
.analytics-h2 .ah-yellow { color: var(--yellow); }
.analytics-sub {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.42);
    line-height: 1.65;
    margin-bottom: 32px;
}
.a-stat-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 36px;
}
.a-stat {
    display: flex;
    align-items: center;
    gap: 13px;
}
.a-stat-icon {
    width: 36px; height: 36px;
    border-radius: 9px;
    background: rgba(255,229,0,0.07);
    border: 1px solid rgba(255,229,0,0.14);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.a-stat-icon i { color: var(--yellow); font-size: 0.88rem; }
.a-stat-text { font-size: 0.875rem; color: rgba(255,255,255,0.5); line-height: 1.4; }
.a-stat-text strong { color: #fff; font-weight: 600; }
.analytics-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--yellow);
    color: var(--black);
    border-radius: 10px;
    padding: 13px 22px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.15s, transform 0.15s;
}
.analytics-cta:hover { opacity: 0.9; transform: translateY(-1px); }

/* Dashboard mockup */
.a-dash {
    background: #141414;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 20px;
    padding: 24px;
}
.a-dash-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.a-dash-title {
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255,255,255,0.38);
    text-transform: uppercase;
    letter-spacing: 0.07em;
}
.a-live {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.65rem;
    font-weight: 600;
    color: #22c55e;
}
.a-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: #22c55e;
    animation: aPulse 2s ease-in-out infinite;
}
@keyframes aPulse { 0%,100%{opacity:1} 50%{opacity:0.25} }
.a-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
    margin-bottom: 16px;
}
.a-kpi {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 10px;
    padding: 12px 13px;
}
.ak-lbl { font-size: 0.6rem; font-weight: 600; color: rgba(255,255,255,0.28); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 5px; }
.ak-val { font-size: 1.25rem; font-weight: 700; color: #fff; line-height: 1; margin-bottom: 3px; }
.ak-trend { font-size: 0.6rem; font-weight: 600; color: #22c55e; display: flex; align-items: center; gap: 2px; }
.sparkline {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 52px;
    margin-bottom: 16px;
}
.sp-b {
    flex: 1;
    border-radius: 2px 2px 0 0;
    min-height: 3px;
    transition: opacity 0.15s;
}
.sp-b:hover { opacity: 0.85; }
.city-list { display: flex; flex-direction: column; gap: 7px; }
.city-row { display: flex; align-items: center; gap: 10px; }
.city-name { font-size: 0.7rem; color: rgba(255,255,255,0.45); flex: 1; }
.city-track { flex: 0 0 80px; background: rgba(255,255,255,0.05); border-radius: 100px; height: 3px; }
.city-fill { height: 3px; border-radius: 100px; }
.city-pct { font-size: 0.65rem; font-weight: 700; color: rgba(255,255,255,0.35); width: 26px; text-align: right; }

/* ── PRICING ──────────────────────────────────────── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    align-items: start;
    padding-top: 20px;
}
.price-card {
    background: #141414;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 20px;
    padding: 32px 26px;
    position: relative;
}
.price-card.featured {
    background: var(--yellow);
    border-color: var(--yellow);
    transform: translateY(-16px);
}
.price-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--black);
    color: var(--yellow);
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 13px;
    border-radius: 100px;
    white-space: nowrap;
}
.price-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: rgba(255,255,255,0.6);
    margin-bottom: 10px;
}
.price-card.featured .price-name { color: rgba(0,0,0,0.55); }
.price-amount {
    font-size: 2.9rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 4px;
}
.price-card.featured .price-amount { color: var(--black); }
.price-amount small { font-size: 0.95rem; font-weight: 500; letter-spacing: 0; opacity: 0.55; }
.price-tagline { font-size: 0.8rem; color: rgba(255,255,255,0.3); margin-bottom: 24px; }
.price-card.featured .price-tagline { color: rgba(0,0,0,0.45); }
.price-feats {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 28px;
}
.price-feats li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.84rem;
    color: rgba(255,255,255,0.55);
}
.price-card.featured .price-feats li { color: rgba(0,0,0,0.65); }
.price-feats li i { font-size: 0.88rem; color: var(--yellow); flex-shrink: 0; }
.price-card.featured .price-feats li i { color: var(--black); }
.price-feats li.feat-no { color: rgba(255,255,255,0.22); }
.price-feats li.feat-no i { color: rgba(255,255,255,0.18); }
.price-btn {
    display: block;
    text-align: center;
    padding: 13px 20px;
    border-radius: 11px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.15s;
}
.price-btn-outline {
    border: 1.5px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.6);
    background: transparent;
}
.price-btn-outline:hover { border-color: var(--yellow); color: var(--yellow); }
.price-btn-primary {
    background: var(--black);
    color: var(--yellow);
}
.price-btn-primary:hover { opacity: 0.88; }

/* ── PRICING PAGE: 4-up grid · billing toggle · comparison table ── */
.pricing-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .pricing-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pricing-grid.cols-4 { grid-template-columns: 1fr; } }

.billing-toggle { display: inline-flex; align-items: center; gap: 4px; background: var(--mid); border: 1px solid var(--border); border-radius: 100px; padding: 5px; }
.billing-opt { padding: 8px 20px; border-radius: 100px; border: none; background: transparent; color: var(--text-dim); font-family: inherit; font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: all 0.15s; }
.billing-opt.active { background: var(--yellow); color: var(--black); }
.billing-save { display: inline-block; font-size: 0.72rem; font-weight: 700; color: #16a34a; background: #dcfce7; border-radius: 100px; padding: 4px 10px; margin-left: 10px; }
/* Monthly/annual amount swap (toggle adds .annual to .pricing-grid) */
.pricing-grid .amt-a, .pricing-grid .price-annual-note { display: none; }
.pricing-grid.annual .amt-a { display: inline; }
.pricing-grid.annual .amt-m { display: none; }
.pricing-grid.annual .price-annual-note { display: block; }
.price-annual-note { font-size: 0.72rem; color: var(--text-muted); margin-top: -10px; margin-bottom: 18px; }

/* Comparison table — dark self-contained panel (readable on any bg) */
.plan-compare-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 8px 8px 4px; overflow-x: auto; max-width: 980px; margin: 0 auto; }
.plan-compare { width: 100%; border-collapse: collapse; font-size: 0.88rem; min-width: 640px; }
.plan-compare th, .plan-compare td { padding: 13px 16px; text-align: center; border-bottom: 1px solid var(--border-dim); }
.plan-compare td { color: rgba(255,255,255,0.72); }
.plan-compare th:first-child, .plan-compare td:first-child { text-align: left; color: rgba(255,255,255,0.78); font-weight: 500; }
.plan-compare thead th { color: #fff; font-weight: 800; font-size: 0.95rem; padding-top: 18px; }
.plan-compare thead th.featured-col { color: var(--yellow); }
.plan-compare .pc-yes { color: #22c55e; font-size: 1rem; }
.plan-compare .pc-no { color: var(--text-muted); }
.plan-compare .pc-section td { background: var(--mid); font-weight: 700; color: var(--text-dim); text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.06em; text-align: left; }
.plan-compare tbody tr:not(.pc-section):hover { background: rgba(255,255,255,0.02); }

/* ── FINAL CTA ─────────────────────────────────────── */
.cta-sect {
    position: relative;
    z-index: 1;
    padding: 130px 24px;
    border-top: 1px solid rgba(255,255,255,0.06);
    text-align: center;
}
.cta-h2 {
    font-size: clamp(2.4rem, 6vw, 6.5rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.048em;
    color: #fff;
    margin-bottom: 28px;
}
.cta-h2 .cta-yellow { color: var(--yellow); }
.cta-h2 .cta-ghost {
    -webkit-text-stroke: 1.5px rgba(255,255,255,0.16);
    color: transparent;
}
.cta-sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.42);
    max-width: 480px;
    margin: 0 auto 44px;
    line-height: 1.6;
}
.cta-btn-row {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.cta-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: var(--yellow);
    color: var(--black);
    border: none;
    border-radius: 12px;
    padding: 17px 30px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.15s, transform 0.15s;
}
.cta-btn-primary:hover { opacity: 0.9; transform: translateY(-2px); }
.cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: transparent;
    color: rgba(255,255,255,0.55);
    border: 1.5px solid rgba(255,255,255,0.11);
    border-radius: 12px;
    padding: 17px 30px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s;
}
.cta-btn-secondary:hover { border-color: var(--yellow); color: var(--yellow); }
.cta-micro {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
.cta-micro i { color: rgba(255,229,0,0.45); }
.cta-micro span { opacity: 0.5; }

/* ════════════════════════════════════════════════════════════
   WIDGETS v1 (for review): mega-menu navbar · site footer ·
   newsletter · brands carousel · contact form. Solid colors only.
   ════════════════════════════════════════════════════════════ */

/* ── UNIVERSAL NAVBAR — mini mega-menu (CSS hover + focus-within) ── */
.mm-nav { position: relative; z-index: 90; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 28px; background: rgba(10,10,10,0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--border); border-radius: 16px; }
.mm-logo { font-size: 1.25rem; font-weight: 800; color: var(--yellow); letter-spacing: -0.03em; flex-shrink: 0; text-decoration: none; }
.mm-links { display: flex; align-items: center; gap: 4px; }
.mm-item { position: relative; }
.mm-trigger { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 10px; background: transparent; border: none; color: rgba(255,255,255,0.6); font-family: inherit; font-size: 0.86rem; font-weight: 500; cursor: pointer; transition: all 0.15s; text-decoration: none; }
.mm-trigger i.mm-caret { font-size: 0.66rem; transition: transform 0.2s; }
.mm-item:hover .mm-trigger, .mm-item:focus-within .mm-trigger { color: #fff; background: rgba(255,255,255,0.05); }
.mm-item:hover .mm-caret, .mm-item:focus-within .mm-caret { transform: rotate(180deg); }
.mm-panel { position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(8px); width: min(720px, 88vw); background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 20px; box-shadow: 0 24px 64px rgba(0,0,0,0.55); opacity: 0; visibility: hidden; transition: opacity 0.2s, transform 0.2s; display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; }
/* Transparent bridge over the 12px gap so the menu doesn't close when
   the cursor travels from the trigger down to the panel. */
.mm-panel::before { content: ''; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.mm-item:hover .mm-panel, .mm-item:focus-within .mm-panel { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; align-content: start; }
.mm-link { display: flex; gap: 11px; align-items: flex-start; padding: 10px; border-radius: 12px; text-decoration: none; transition: background 0.15s; }
.mm-link:hover { background: var(--mid); }
.mm-link-ico { width: 34px; height: 34px; border-radius: 9px; background: var(--purple-bg); border: 1px solid var(--purple-border); display: flex; align-items: center; justify-content: center; color: var(--purple-light); font-size: 0.95rem; flex-shrink: 0; }
.mm-link-tt { display: block; font-size: 0.84rem; font-weight: 600; color: #fff; margin-bottom: 3px; }
.mm-link-ds { display: block; font-size: 0.72rem; color: var(--text-muted); line-height: 1.4; }
.mm-promo { display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; background: var(--mid); border: 1px solid var(--border-dim); }
.mm-promo-media { aspect-ratio: 16/10; background: var(--surface); display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 1.7rem; position: relative; }
.mm-promo-media video, .mm-promo-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mm-promo-body { padding: 14px; }
.mm-promo-tag { font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--purple-light); margin-bottom: 6px; }
.mm-promo-tt { font-size: 0.9rem; font-weight: 700; color: #fff; margin-bottom: 8px; line-height: 1.25; }
.mm-promo-link { font-size: 0.76rem; font-weight: 600; color: var(--yellow); text-decoration: none; display: inline-flex; align-items: center; gap: 5px; }
.mm-cta { background: var(--yellow); color: var(--black); font-weight: 700; font-size: 0.84rem; padding: 9px 18px; border-radius: 10px; text-decoration: none; white-space: nowrap; }
.mm-burger { display: none; background: transparent; border: none; color: #fff; font-size: 1.4rem; cursor: pointer; }
@media (max-width: 880px) {
    .mm-links { display: none; }
    .mm-burger { display: block; }
}

/* ── SITE FOOTER (universal, multi-column) ───────────── */
.site-footer { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 44px 40px 28px; }
.sf-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--border-dim); }
.sf-brand-logo { font-size: 1.3rem; font-weight: 800; color: var(--yellow); letter-spacing: -0.03em; margin-bottom: 12px; }
.sf-brand-tag { font-size: 0.84rem; color: var(--text-dim); line-height: 1.6; max-width: 260px; margin-bottom: 16px; }
.sf-social { display: flex; gap: 10px; }
.sf-social a { width: 34px; height: 34px; border-radius: 9px; background: var(--mid); border: 1px solid var(--border-dim); display: flex; align-items: center; justify-content: center; color: var(--text-dim); transition: all 0.15s; text-decoration: none; }
.sf-social a:hover { color: var(--yellow); border-color: rgba(255,229,0,0.3); }
.sf-col-title { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 14px; }
.sf-col a { display: block; font-size: 0.84rem; color: var(--text-dim); text-decoration: none; padding: 5px 0; transition: color 0.15s; }
.sf-col a:hover { color: #fff; }
.sf-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 22px; }
.sf-copy { font-size: 0.76rem; color: var(--text-muted); }
.sf-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.sf-legal a { font-size: 0.76rem; color: var(--text-muted); text-decoration: none; }
.sf-legal a:hover { color: var(--text-dim); }
@media (max-width: 720px) { .sf-top { grid-template-columns: 1fr 1fr; gap: 24px; } }

/* ── NEWSLETTER SIGNUP ───────────────────────────────── */
.newsletter { background: var(--mid); border: 1px solid var(--border-dim); border-radius: 18px; padding: 32px; text-align: center; max-width: 620px; margin: 0 auto; }
.nl-title { font-size: 1.5rem; font-weight: 800; color: #fff; letter-spacing: -0.02em; margin-bottom: 8px; }
.nl-sub { font-size: 0.9rem; color: var(--text-dim); line-height: 1.55; margin-bottom: 22px; }
.nl-form { display: flex; gap: 8px; max-width: 460px; margin: 0 auto 12px; }
.nl-input { flex: 1; background: var(--surface); border: 1.5px solid var(--border); border-radius: 12px; padding: 13px 16px; color: #fff; font-family: inherit; font-size: 0.9rem; outline: none; transition: border-color 0.2s; }
.nl-input::placeholder { color: var(--text-muted); }
.nl-input:focus { border-color: var(--yellow); }
.nl-btn { background: var(--yellow); color: var(--black); border: none; border-radius: 12px; padding: 13px 24px; font-family: inherit; font-size: 0.88rem; font-weight: 700; cursor: pointer; white-space: nowrap; transition: opacity 0.15s; }
.nl-btn:hover { opacity: 0.9; }
.nl-consent { font-size: 0.72rem; color: var(--text-muted); line-height: 1.5; }
.nl-consent a { color: var(--purple-light); text-decoration: underline; }
@media (max-width: 540px) { .nl-form { flex-direction: column; } }

/* ── BRANDS CAROUSEL (auto-scroll marquee) ───────────── */
.brands { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.brands-track { display: flex; gap: 56px; width: max-content; animation: brandsScroll 34s linear infinite; }
.brands:hover .brands-track { animation-play-state: paused; }
.brand-logo { display: flex; align-items: center; gap: 9px; font-size: 1.1rem; font-weight: 700; color: var(--text-muted); white-space: nowrap; transition: color 0.2s; }
.brand-logo:hover { color: var(--text-dim); }
.brand-logo i { font-size: 1.4rem; }
@keyframes brandsScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .brands-track { animation: none; } }

/* ── CONTACT FORM ────────────────────────────────────── */
.contact-form { background: var(--mid); border: 1px solid var(--border-dim); border-radius: 18px; padding: 30px; max-width: 600px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.cf-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.cf-label { font-size: 0.76rem; font-weight: 600; color: var(--text-dim); }
.cf-input, .cf-textarea { background: var(--surface); border: 1.5px solid var(--border); border-radius: 11px; padding: 12px 14px; color: #fff; font-family: inherit; font-size: 0.9rem; outline: none; transition: border-color 0.2s; width: 100%; }
.cf-input::placeholder, .cf-textarea::placeholder { color: var(--text-muted); }
.cf-input:focus, .cf-textarea:focus { border-color: var(--yellow); }
.cf-textarea { resize: vertical; min-height: 120px; }
.cf-consent { display: flex; align-items: flex-start; gap: 9px; font-size: 0.76rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 18px; }
.cf-consent input { margin-top: 3px; accent-color: var(--purple); flex-shrink: 0; }
.cf-consent a { color: var(--purple-light); text-decoration: underline; }
.cf-submit { background: var(--purple); color: #fff; border: none; border-radius: 12px; padding: 14px 28px; font-family: inherit; font-size: 0.92rem; font-weight: 700; cursor: pointer; transition: opacity 0.15s; }
.cf-submit:hover { opacity: 0.9; }
@media (max-width: 540px) { .cf-row { grid-template-columns: 1fr; } }

/* Contact layout + info cards (contato page) */
.ct-grid { display: grid; grid-template-columns: 1fr 0.85fr; gap: 36px; max-width: 1020px; margin: 0 auto; align-items: start; }
.ct-info { display: flex; flex-direction: column; gap: 14px; }
.ct-item { display: flex; gap: 13px; align-items: flex-start; background: var(--mid); border: 1px solid var(--border-dim); border-radius: 14px; padding: 18px 20px; }
.ct-item-ico { width: 40px; height: 40px; border-radius: 10px; background: var(--purple-bg); border: 1px solid var(--purple-border); display: flex; align-items: center; justify-content: center; color: var(--purple-light); font-size: 1.05rem; flex-shrink: 0; }
.ct-item-tt { font-size: 0.92rem; font-weight: 700; color: #fff; margin-bottom: 3px; }
.ct-item-ds { font-size: 0.82rem; color: var(--text-dim); line-height: 1.5; }
.ct-item-ds a { color: var(--purple-light); text-decoration: none; }
@media (max-width: 760px) { .ct-grid { grid-template-columns: 1fr; } }

/* About page: stat cards + team grid (sobre) */
.ab-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 760px; margin: 0 auto; }
.ab-stat { background: var(--mid); border: 1px solid var(--border-dim); border-radius: 16px; padding: 24px; text-align: center; }
.ab-stat-num { font-size: 2.2rem; font-weight: 900; color: var(--yellow); letter-spacing: -0.03em; line-height: 1; }
.ab-stat-lbl { font-size: 0.82rem; color: var(--text-dim); margin-top: 6px; }
.ab-team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 900px; margin: 0 auto; }
.ab-member { text-align: center; }
.ab-avatar { width: 84px; height: 84px; border-radius: 50%; background: var(--purple); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.6rem; font-weight: 700; margin: 0 auto 12px; }
.ab-name { font-size: 0.95rem; font-weight: 700; color: #fff; }
.ab-role { font-size: 0.78rem; color: var(--text-muted); }
@media (max-width: 760px) { .ab-stats { grid-template-columns: 1fr; } .ab-team { grid-template-columns: 1fr 1fr; } }

/* ════════════════════════════════════════════════════════════
   BLOG v1 — hub (post grid) + article (paper reading surface).
   Article body is light-on-paper = readable on any page theme.
   ════════════════════════════════════════════════════════════ */

/* ── Breadcrumb (shared: blog + conformidade) ────────── */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 0.78rem; color: var(--text-muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--text-dim); text-decoration: none; }
.breadcrumb a:hover { color: var(--yellow); }
.breadcrumb .sep { opacity: 0.5; }

/* ── Category chips ──────────────────────────────────── */
.blog-cats { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 36px; }
.blog-cat { padding: 7px 16px; border: 1.5px solid var(--border); border-radius: 100px; font-size: 0.8rem; font-weight: 600; color: var(--text-dim); background: transparent; cursor: pointer; text-decoration: none; transition: all 0.15s; }
.blog-cat:hover { border-color: rgba(255,229,0,0.5); color: var(--yellow); }
.blog-cat.active { background: var(--yellow); border-color: var(--yellow); color: var(--black); }

/* ── Post grid + cards ───────────────────────────────── */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card { display: flex; flex-direction: column; background: var(--mid); border: 1px solid var(--border-dim); border-radius: 16px; overflow: hidden; text-decoration: none; transition: transform 0.15s, border-color 0.15s; }
.post-card:hover { transform: translateY(-3px); border-color: var(--border); }
.post-thumb { aspect-ratio: 16/9; background: var(--surface); display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 1.8rem; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.post-cat { font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--purple-light); margin-bottom: 9px; }
.post-title { font-size: 1.05rem; font-weight: 700; color: #fff; line-height: 1.3; letter-spacing: -0.01em; margin-bottom: 8px; }
.post-dek { font-size: 0.84rem; color: var(--text-dim); line-height: 1.55; margin-bottom: 16px; flex: 1; }
.post-meta { display: flex; align-items: center; gap: 9px; font-size: 0.74rem; color: var(--text-muted); }
.post-meta .pm-avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--purple); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 0.7rem; font-weight: 700; flex-shrink: 0; }
.post-meta .pm-dot { opacity: 0.5; }
.post-card.featured { grid-column: span 3; flex-direction: row; }
.post-card.featured .post-thumb { aspect-ratio: auto; width: 52%; min-height: 280px; }
.post-card.featured .post-body { justify-content: center; padding: 32px; }
.post-card.featured .post-title { font-size: 1.7rem; }
.post-card.featured .post-dek { font-size: 0.95rem; flex: none; }
@media (max-width: 900px) { .post-grid { grid-template-columns: repeat(2, 1fr); } .post-card.featured { grid-column: span 2; flex-direction: column; } .post-card.featured .post-thumb { width: 100%; min-height: 0; } }
@media (max-width: 560px) { .post-grid { grid-template-columns: 1fr; } .post-card.featured { grid-column: span 1; } }

/* Pagination (blog category / listing pages) */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 36px; }
.pagination a { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: var(--mid); border: 1px solid var(--border-dim); color: var(--text-dim); text-decoration: none; font-weight: 600; font-size: 0.86rem; transition: all 0.15s; }
.pagination a.active { background: var(--yellow); border-color: var(--yellow); color: var(--black); }
.pagination a:hover:not(.active) { border-color: var(--border); color: #fff; }

/* ── Article header + byline (E-E-A-T) ───────────────── */
.article-head { max-width: 1020px; margin: 0 auto 28px; text-align: left; }
.article-cat { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--purple-light); margin-bottom: 14px; }
.article-h1 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; color: #fff; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 16px; }
.article-dek { font-size: 1.1rem; color: var(--text-dim); line-height: 1.6; margin-bottom: 24px; }
.byline { display: flex; align-items: center; gap: 12px; }
.byline-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--purple); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; flex-shrink: 0; }
.byline-name { font-size: 0.9rem; font-weight: 700; color: #fff; }
.byline-role { font-size: 0.76rem; color: var(--text-muted); }
.byline-meta { font-size: 0.76rem; color: var(--text-muted); margin-top: 2px; }
.article-hero { max-width: 980px; margin: 0 auto 36px; }
.article-hero-img { aspect-ratio: 21/9; background: var(--surface); border: 1px solid var(--border-dim); border-radius: 18px; display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 2rem; overflow: hidden; }
.article-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-hero-cap { font-size: 0.74rem; color: var(--text-muted); text-align: center; margin-top: 10px; }

/* ── Article layout: TOC + paper body ────────────────── */
.article-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; max-width: 1020px; margin: 0 auto; align-items: start; }
.toc { position: sticky; top: 90px; font-size: 0.84rem; }
.toc-title { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 12px; }
.toc a { display: block; color: var(--text-dim); text-decoration: none; padding: 6px 0 6px 12px; border-left: 2px solid var(--border); transition: all 0.15s; }
.toc a:hover, .toc a.active { color: var(--yellow); border-left-color: var(--yellow); }
@media (max-width: 880px) { .article-layout { grid-template-columns: 1fr; } .toc { display: none; } }

/* Paper reading surface — dark-on-light, theme-independent */
.article-body { background: #fbfbf9; color: #1f1d2b; border-radius: 18px; padding: 44px 52px; font-size: 1.04rem; line-height: 1.75; }
.article-body h2 { font-size: 1.6rem; font-weight: 800; color: #111; letter-spacing: -0.02em; margin: 38px 0 14px; }
.article-body h3 { font-size: 1.2rem; font-weight: 700; color: #111; margin: 28px 0 10px; }
.article-body p { margin-bottom: 18px; }
.article-body a { color: #520FF5; text-decoration: underline; font-weight: 500; }
.article-body ul, .article-body ol { margin: 0 0 18px 22px; }
.article-body li { margin-bottom: 8px; }
.article-body strong { color: #111; font-weight: 700; }
.article-body img { width: 100%; border-radius: 12px; margin: 22px 0; }
.article-body blockquote { border-left: 4px solid var(--purple); background: rgba(82,15,245,0.05); margin: 24px 0; padding: 16px 20px; border-radius: 0 10px 10px 0; font-style: italic; color: #333; }
.article-body > *:first-child { margin-top: 0; }
/* Silo reading-column measure — single source of truth (was scattered inline 760–980px). */
.sl-prose { max-width: 1020px; margin-left: auto; margin-right: auto; }
/* Page-hero H1 for full-sentence headings — base .hero-h1 (clamp 3–7.5rem, line-height .95) is tuned for the SHORT homepage display headline only. Was scattered inline as clamp(2.2rem,5vw,3.6rem). */
.hero-h1-page { font-size: 7.5rem; line-height: 1.1; letter-spacing: -0.03em; max-width: none; }
/* Compact plans CTA band (inc/ds-plans-cta.php) — teaser only; full matrix lives on /precos. */
.plans-cta-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 920px; margin: 30px auto 0; }
@media (max-width: 780px) { .plans-cta-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .plans-cta-grid { grid-template-columns: 1fr; } }
.plans-cta-card { position: relative; background: #fff; border: 1px solid rgba(0,0,0,0.10); border-radius: 16px; padding: 26px 18px; text-align: center; }
.plans-cta-card.is-featured { border-color: var(--purple); box-shadow: 0 8px 26px rgba(82,15,245,0.12); }
.plans-cta-badge { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--purple); color: #fff; font-size: 0.7rem; font-weight: 700; padding: 4px 12px; border-radius: 100px; white-space: nowrap; }
.plans-cta-name { font-weight: 800; font-size: 1.05rem; color: var(--black); }
.plans-cta-price { font-size: 1.7rem; font-weight: 900; color: var(--black); letter-spacing: -0.02em; margin: 6px 0 2px; }
.plans-cta-price span { font-size: 0.8rem; font-weight: 600; color: rgba(0,0,0,0.5); }
.plans-cta-tag { font-size: 0.85rem; color: rgba(0,0,0,0.6); }
.callout { background: #fff; border: 1px solid #ececec; border-left: 4px solid var(--yellow); border-radius: 0 12px 12px 0; padding: 18px 22px; margin: 26px 0; }
.callout-title { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: #777; margin-bottom: 10px; display: flex; align-items: center; gap: 7px; }
.callout-title i { color: #B8860B; }
.callout ul { margin: 0 0 0 20px; }
.callout li { margin-bottom: 6px; color: #333; }
.inline-cta { background: var(--black); color: #fff; border-radius: 14px; padding: 24px 28px; margin: 30px 0; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.inline-cta-tt { font-size: 1.05rem; font-weight: 700; color: #fff; }
.inline-cta-sub { font-size: 0.84rem; color: rgba(255,255,255,0.6); margin-top: 3px; }
.inline-cta a { background: var(--yellow); color: var(--black); font-weight: 700; font-size: 0.86rem; padding: 11px 20px; border-radius: 10px; text-decoration: none; white-space: nowrap; }
@media (max-width: 560px) { .article-body { padding: 28px 22px; } }

/* ════════════════════════════════════════════════════════════
   ARTICLE CONTENT COMPONENTS — shared vocabulary for blog bodies.
   Replaces per-article bespoke classes (.code-example, .parameter-card,
   .stats-grid, .cta-box, .variant-card, .timeline-*). Tuned for the
   light .article-body paper surface. Add markup, not per-article <style>.
   ════════════════════════════════════════════════════════════ */
.code-block { background: #1e293b; color: #e2e8f0; padding: 16px 18px; border-radius: 10px; margin: 22px 0; font-family: 'Monaco','Courier New',monospace; font-size: 0.88rem; line-height: 1.6; overflow-x: auto; white-space: pre-wrap; word-break: break-word; }
.param-card { background: #fff; border: 1px solid #ececec; border-radius: 12px; padding: 18px 20px; margin: 16px 0; }
.param-card h4 { font-size: 1rem; font-weight: 700; color: #111; margin: 0 0 8px; }
.param-card p:last-child { margin-bottom: 0; }
.art-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin: 24px 0; }
.art-stat { background: #fff; border: 1px solid #ececec; border-radius: 12px; padding: 18px; text-align: center; }
.art-stat-num { font-size: 1.9rem; font-weight: 900; color: var(--purple); letter-spacing: -0.02em; line-height: 1; }
.art-stat-label { font-size: 0.78rem; color: #777; margin-top: 6px; }
.art-cta { background: #f3f1fb; border: 1px solid #e2dcf5; border-radius: 14px; padding: 24px; margin: 28px 0; text-align: center; }
.art-cta h3 { margin: 0 0 8px; color: #111; font-size: 1.2rem; font-weight: 800; }
.art-cta p { margin: 0 0 16px; color: #444; }
.variant-card { background: #fff; border: 1px solid #ececec; border-radius: 12px; padding: 18px 20px; margin: 14px 0; }
.variant-card.winner { border-color: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,0.12); }
.variant-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.variant-name { font-weight: 700; color: #111; }
.variant-badge { font-size: 0.72rem; font-weight: 700; color: #15803d; background: #dcfce7; border-radius: 100px; padding: 3px 10px; }
.timeline { position: relative; margin: 22px 0; padding-left: 28px; border-left: 2px solid #e2dcf5; }
.timeline-item { position: relative; margin-bottom: 18px; }
.timeline-item::before { content: ''; position: absolute; left: -35px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--purple); border: 3px solid #fff; box-shadow: 0 0 0 1px #e2dcf5; }
.timeline-title { font-weight: 700; color: #111; margin-bottom: 3px; }

/* ── Author bio (E-E-A-T) + share + related ──────────── */
.author-bio { display: flex; gap: 18px; align-items: flex-start; background: var(--mid); border: 1px solid var(--border-dim); border-radius: 16px; padding: 24px; max-width: 1020px; margin: 36px auto 0; }
.author-bio-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--purple); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.3rem; font-weight: 700; flex-shrink: 0; }
.author-bio-name { font-size: 1rem; font-weight: 700; color: #fff; }
.author-bio-role { font-size: 0.78rem; color: var(--purple-light); margin-bottom: 8px; }
.author-bio-text { font-size: 0.86rem; color: var(--text-dim); line-height: 1.6; }
.author-bio-social { display: flex; gap: 12px; margin-top: 10px; }
.author-bio-social a { color: var(--text-muted); font-size: 0.95rem; text-decoration: none; }
.author-bio-social a:hover { color: var(--yellow); }
.share { display: flex; align-items: center; gap: 10px; max-width: 1020px; margin: 28px auto 0; }
.share-label { font-size: 0.76rem; color: var(--text-muted); }
.share a { width: 36px; height: 36px; border-radius: 9px; background: var(--mid); border: 1px solid var(--border-dim); display: flex; align-items: center; justify-content: center; color: var(--text-dim); text-decoration: none; transition: all 0.15s; }
.share a:hover { color: var(--yellow); border-color: rgba(255,229,0,0.3); }

/* ════════════════════════════════════════════════════════════
   CONFORMIDADE (legal pages) — reuses .article-body paper surface.
   Plain-language "Em resumo" boxes + rights table + DPO block.
   ════════════════════════════════════════════════════════════ */
.legal-updated { font-size: 0.8rem; color: var(--text-muted); margin-top: 10px; display: inline-flex; align-items: center; gap: 7px; }
.legal-updated i { color: var(--green); }
/* "Em resumo" plain-language box (lives inside the light .article-body) */
.legal-summary { background: rgba(82,15,245,0.05); border: 1px solid #e7e0fb; border-left: 4px solid var(--purple); border-radius: 0 12px 12px 0; padding: 15px 20px; margin: 18px 0 22px; }
.legal-summary-label { font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--purple); margin-bottom: 7px; display: flex; gap: 7px; align-items: center; }
.legal-summary p { margin: 0; color: #333; font-size: 0.95rem; line-height: 1.6; }
/* Rights table (LGPD "Seus direitos") */
.rights-table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 0.92rem; }
.rights-table th { text-align: left; background: #f3f1fb; color: #111; font-weight: 700; padding: 11px 14px; border-bottom: 2px solid #e2dcf5; }
.rights-table td { padding: 11px 14px; border-bottom: 1px solid #ececec; color: #333; vertical-align: top; }
.rights-table tr:last-child td { border-bottom: none; }
/* Encarregado / DPO contact block */
.dpo-box { background: #fff; border: 1px solid #ececec; border-radius: 12px; padding: 18px 20px; margin: 24px 0; }
.dpo-title { font-weight: 700; color: #111; margin-bottom: 6px; display: flex; gap: 8px; align-items: center; }
.dpo-title i { color: var(--purple); }
.dpo-box p { margin: 0; color: #444; font-size: 0.9rem; line-height: 1.65; }
.dpo-box a { color: #520FF5; text-decoration: underline; }

/* ════════════════════════════════════════════════════════════
   CONTENT COMPONENTS (from /conformidade review) — light-context,
   self-contained: trust pills · status tags · steps · comparison · notice.
   ════════════════════════════════════════════════════════════ */

/* Trust pills — trust-signal row (legal header, checkout, pricing) */
.trust-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-pill { display: inline-flex; align-items: center; gap: 7px; background: #fff; border: 1px solid #e5e7eb; border-radius: 100px; padding: 7px 14px; font-size: 0.82rem; font-weight: 600; color: #333; }
.trust-pill i { color: #16a34a; }

/* Status tags — success / warning / neutral */
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 0.74rem; font-weight: 700; padding: 4px 11px; border-radius: 100px; border: 1px solid; }
.tag.success { background: #dcfce7; color: #15803d; border-color: #bbf7d0; }
.tag.warning { background: #fef9c3; color: #854d0e; border-color: #fde68a; }
.tag.neutral { background: #f1f5f9; color: #475569; border-color: #e2e8f0; }
.tag.danger { background: #fee2e2; color: #b91c1c; border-color: #fecaca; }

/* Numbered steps — how-to (pairs with HowTo schema) */
.steps { display: flex; flex-direction: column; gap: 18px; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step-num { width: 38px; height: 38px; border-radius: 50%; background: var(--yellow); color: #111; display: flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0; }
.step-title { font-size: 1rem; font-weight: 700; color: #111; margin-bottom: 4px; }
.step-desc { font-size: 0.9rem; color: #555; line-height: 1.6; margin: 0; }

/* Comparison block — 2 columns (e.g., estático vs dinâmico) */
.compare-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 22px 0; }
.compare-col { background: #fff; border: 1px solid #ececec; border-radius: 14px; padding: 20px; }
.compare-col-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.compare-col-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; background: #f3f4f6; color: #555; }
.compare-col-title { font-size: 1.05rem; font-weight: 700; color: #111; margin: 0; }
.compare-col p { font-size: 0.9rem; color: #555; line-height: 1.6; margin: 0; }
@media (max-width: 560px) { .compare-cols { grid-template-columns: 1fr; } }

/* Notice / alert — info / warning / success */
.notice { border: 1px solid; border-radius: 12px; padding: 14px 18px; margin: 20px 0; display: flex; gap: 11px; align-items: flex-start; font-size: 0.9rem; line-height: 1.6; }
.notice i { font-size: 1.05rem; margin-top: 2px; flex-shrink: 0; }
.notice-info { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }
.notice-info i { color: #3b82f6; }
.notice-warning { background: #fffbeb; border-color: #fde68a; color: #854d0e; }
.notice-warning i { color: #d97706; }
.notice-success { background: #f0fdf4; border-color: #bbf7d0; color: #15803d; }
.notice-success i { color: #16a34a; }

/* ── SEQUENTIAL PAGER (prev/next) + RELATED LINKS ────── */
/* Dark cards → readable on any page theme / band. Reusable: legal · blog · guias. */
.page-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 1020px; margin: 36px auto 0; }
.pager-link { display: flex; flex-direction: column; gap: 6px; background: var(--mid); border: 1px solid var(--border-dim); border-radius: 14px; padding: 18px 20px; text-decoration: none; transition: border-color 0.15s, transform 0.15s; }
.pager-link:hover { border-color: var(--border); transform: translateY(-2px); }
.pager-link.next { text-align: right; align-items: flex-end; }
.pager-dir { font-size: 0.72rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; display: flex; align-items: center; gap: 6px; }
.pager-title { font-size: 0.95rem; font-weight: 700; color: #fff; line-height: 1.3; }
@media (max-width: 560px) { .page-pager { grid-template-columns: 1fr; } }

.related-links { max-width: 1020px; margin: 34px auto 0; }
.rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.rel-link { display: flex; align-items: center; gap: 12px; background: var(--mid); border: 1px solid var(--border-dim); border-radius: 12px; padding: 14px 16px; text-decoration: none; transition: border-color 0.15s; }
.rel-link:hover { border-color: var(--border); }
.rel-ico { width: 36px; height: 36px; border-radius: 9px; background: var(--purple-bg); border: 1px solid var(--purple-border); display: flex; align-items: center; justify-content: center; color: var(--purple-light); flex-shrink: 0; }
.rel-tt { display: block; font-size: 0.86rem; font-weight: 600; color: #fff; line-height: 1.25; }
.rel-sub { display: block; font-size: 0.72rem; color: var(--text-muted); }
@media (max-width: 720px) { .rel-grid { grid-template-columns: 1fr; } }

/* ── FAQ (PAA — answer-first, visible for AEO/featured snippets) ── */
.faq-list { display: flex; flex-direction: column; gap: 12px; margin: 0 auto; text-align: left; }
.faq-item { background: var(--mid); border: 1px solid var(--border-dim); border-radius: 14px; padding: 22px 24px; }
.faq-q { font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: 8px; display: flex; gap: 10px; align-items: flex-start; }
.faq-q i { color: var(--purple-light); font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.faq-a { font-size: 0.92rem; line-height: 1.65; color: var(--text-dim); }
.faq-a strong { color: rgba(255,255,255,0.85); font-weight: 600; }
.faq-a a { color: var(--purple-light); text-decoration: underline; }

/* ── AUTH (login / registrar / reset) — centered dark card ── */
.auth-wrap { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 72px 20px 48px; position: relative; z-index: 1; }
.auth-card { width: 100%; max-width: 420px; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 34px 30px; }
.auth-logo { display: block; text-align: center; font-size: 1.45rem; font-weight: 800; color: var(--yellow); letter-spacing: -0.03em; text-decoration: none; margin-bottom: 18px; }
.auth-title { text-align: center; font-size: 1.3rem; font-weight: 800; color: #fff; margin-bottom: 6px; letter-spacing: -0.02em; }
.auth-sub { text-align: center; font-size: 0.85rem; color: var(--text-dim); margin-bottom: 24px; }
.auth-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.auth-label { font-size: 0.78rem; font-weight: 600; color: var(--text-dim); }
.auth-input { background: var(--mid); border: 1.5px solid var(--border); border-radius: 11px; padding: 12px 14px; color: #fff; font-family: inherit; font-size: 0.92rem; outline: none; transition: border-color 0.2s; }
.auth-input::placeholder { color: var(--text-muted); }
.auth-input:focus { border-color: var(--yellow); }
.auth-row { display: flex; align-items: center; justify-content: space-between; font-size: 0.78rem; margin-bottom: 16px; }
.auth-row label { color: var(--text-dim); display: flex; align-items: center; gap: 6px; }
.auth-row a { color: var(--purple-light); text-decoration: none; font-weight: 600; }
.auth-btn { width: 100%; background: var(--yellow); color: var(--black); border: none; border-radius: 11px; padding: 13px; font-family: inherit; font-size: 0.92rem; font-weight: 700; cursor: pointer; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--text-muted); font-size: 0.74rem; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.auth-social { display: flex; flex-direction: column; gap: 10px; }
.auth-social-btn { display: flex; align-items: center; justify-content: center; gap: 9px; background: var(--mid); border: 1px solid var(--border); border-radius: 11px; padding: 11px; color: #fff; font-size: 0.86rem; font-weight: 600; text-decoration: none; transition: border-color 0.15s; }
.auth-social-btn:hover { border-color: var(--text-dim); }
.auth-alt { text-align: center; font-size: 0.84rem; color: var(--text-dim); margin-top: 20px; }
.auth-alt a { color: var(--purple-light); text-decoration: none; font-weight: 700; }
.auth-consent { font-size: 0.74rem; color: var(--text-muted); line-height: 1.5; margin: 4px 0 16px; }
.auth-consent a { color: var(--purple-light); }
.auth-back { position: absolute; top: 22px; left: 24px; color: rgba(0,0,0,0.6); text-decoration: none; font-size: 0.84rem; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.auth-back:hover { color: var(--black); }

/* ── ERROR PAGES (403/404/500) — giant glyph with QR tile ── */
.err-wrap { min-height: calc(100vh - 78px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 24px 64px; }
.err-eyebrow { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(0,0,0,0.45); margin-bottom: 8px; }
.err-glyph { display: flex; align-items: center; justify-content: center; gap: clamp(6px, 1.6vw, 22px); margin: 6px 0 22px; }
.err-digit { font-size: clamp(6rem, 24vw, 17rem); font-weight: 900; color: var(--black); line-height: 0.8; letter-spacing: -0.06em; }
.err-qr { position: relative; width: clamp(5rem, 19vw, 13.5rem); height: clamp(5rem, 19vw, 13.5rem); background: var(--black); border-radius: clamp(14px, 3vw, 34px); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transform: rotate(-4deg); box-shadow: 0 18px 50px rgba(0,0,0,0.25); transition: transform 0.25s; }
.err-qr:hover { transform: rotate(0deg) scale(1.03); }
.err-qr i { font-size: clamp(3.4rem, 13vw, 9.5rem); color: var(--yellow); }
.err-qr .err-badge { position: absolute; top: -10px; right: -10px; width: 38px; height: 38px; border-radius: 50%; background: var(--purple); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; border: 3px solid var(--yellow); }
.err-h1 { font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 800; color: var(--black); letter-spacing: -0.03em; line-height: 1.1; max-width: 640px; margin-bottom: 14px; }
.err-sub { font-size: clamp(0.95rem, 1.6vw, 1.1rem); color: rgba(0,0,0,0.6); line-height: 1.6; max-width: 500px; margin-bottom: 30px; }
.err-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 28px; }
.err-links { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.err-links a { font-size: 0.84rem; font-weight: 600; color: rgba(0,0,0,0.55); text-decoration: none; background: rgba(0,0,0,0.05); border: 1px solid rgba(0,0,0,0.12); border-radius: 100px; padding: 7px 15px; transition: all 0.15s; }
.err-links a:hover { color: var(--purple); border-color: var(--purple); }

/* ── Login-style split error layout (mirrors /login: white content pane + yellow-grid visual pane) ── */
.err-split { display: flex; min-height: 100vh; }
.err-pane-content { flex: 0 0 44%; background: #fff; display: flex; flex-direction: column; padding: 44px 56px; }
.err-pane-visual {
    flex: 0 0 56%;
    background-color: var(--yellow);
    background-image:
        linear-gradient(rgba(0,0,0,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden; padding: 40px;
}
.err-brand { display: inline-flex; align-items: center; gap: 9px; font-size: 1.5rem; font-weight: 800; color: var(--black); text-decoration: none; letter-spacing: -0.02em; }
.err-brand i { font-size: 1.4rem; }
.err-body { margin: auto 0; max-width: 460px; width: 100%; }
.err-btn { display: inline-flex; align-items: center; gap: 9px; background: var(--black); color: #fff; border: none; border-radius: 100px; padding: 13px 26px; font-size: 0.95rem; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; }
.err-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0,0,0,0.2); }
.err-btn-ghost { display: inline-flex; align-items: center; gap: 8px; color: var(--black); font-weight: 600; font-size: 0.9rem; text-decoration: none; padding: 13px 18px; transition: color 0.15s; }
.err-btn-ghost:hover { color: var(--purple); }
/* content pane reuses .err-eyebrow/.err-h1/.err-sub but left-aligned */
.err-pane-content .err-h1 { text-align: left; max-width: none; margin-bottom: 14px; }
.err-pane-content .err-sub { text-align: left; max-width: 440px; margin-bottom: 26px; }
.err-pane-content .err-actions { justify-content: flex-start; align-items: center; margin-bottom: 24px; }
.err-pane-content .err-links { justify-content: flex-start; }
@media (max-width: 768px) {
    .err-split { flex-direction: column; }
    .err-pane-visual { flex: 0 0 auto; min-height: 34vh; order: -1; }
    .err-pane-content { padding: 32px 24px 44px; }
    .err-brand { margin-bottom: 26px; }
}

/* ── FOOTER ────────────────────────────────────────── */
.page-footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 32px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-logo { font-size: 1.1rem; font-weight: 800; color: var(--yellow); letter-spacing: -0.02em; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-size: 0.78rem; color: rgba(255,255,255,0.28); text-decoration: none; transition: color 0.15s; }
.footer-links a:hover { color: rgba(255,255,255,0.65); }
.footer-copy { font-size: 0.72rem; color: rgba(255,255,255,0.18); }

/* ── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 960px) {
    .pain-grid { grid-template-columns: 1fr; }
    .feat-grid { grid-template-columns: 1fr; }
    .analytics-wrap { grid-template-columns: 1fr; }
    .a-dash { display: none; }
    .pricing-grid { grid-template-columns: 1fr; }
    .price-card.featured { transform: none; }
}
@media (max-width: 640px) {
    .page-sect { padding: 72px 16px; }
    .page-h2 { font-size: 2.2rem; }
    .page-footer { padding: 24px 20px; flex-direction: column; align-items: flex-start; }
    .footer-links { gap: 14px; }
    .cta-sect { padding: 80px 16px; }
    .cta-h2 { font-size: 2.4rem; }
}

        /* ════════ merged: Version C carousel ════════ */
/* ── VERSION C: pill/slide wrappers ─────────────────── */
.tc-pill-row{display:flex;gap:8px;overflow-x:auto;padding:4px 0 20px;scrollbar-width:none;}
.tc-pill-row::-webkit-scrollbar{display:none;}
.tc-pill{display:inline-flex;align-items:center;gap:6px;padding:8px 16px;border:1px solid var(--border);border-radius:100px;background:transparent;color:var(--text-dim);font-size:.84rem;font-weight:500;white-space:nowrap;cursor:pointer;transition:all .2s;flex-shrink:0;font-family:inherit;}
.tc-pill:hover{border-color:var(--purple-border);color:var(--white);background:var(--purple-bg);}
.tc-pill.tc-active{background:var(--yellow);border-color:var(--yellow);color:var(--black);}
.tc-slide{display:none;}
.tc-slide.tc-active{display:grid;grid-template-columns:1fr 1fr;gap:52px;align-items:center;padding:40px 0;animation:teFade .3s ease;}
.tc-left{display:flex;flex-direction:column;}
.tc-features{display:flex;flex-direction:column;gap:8px;margin-bottom:24px;}
.tc-feature{display:flex;align-items:center;gap:10px;font-size:.88rem;color:rgba(255,255,255,0.72);}
.tc-feature-dot{width:20px;height:20px;border-radius:50%;background:var(--purple-bg);border:1px solid var(--purple-border);display:flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--purple-light);font-size:.65rem;}
/* browser chrome inside phone */
.tc-browser-bar{background:#f0f0f0;padding:8px 10px;display:flex;align-items:center;gap:6px;border-bottom:1px solid #e0e0e0;}
.tc-browser-dots{display:flex;gap:4px;}
.tc-browser-dots span{width:8px;height:8px;border-radius:50%;}
.tc-browser-url{flex:1;background:#fff;border-radius:5px;padding:4px 8px;font-size:.65rem;color:#555;display:flex;align-items:center;gap:4px;min-width:0;overflow:hidden;white-space:nowrap;}
/* mini-website inside phone */
.tc-site-nav{display:flex;justify-content:space-between;align-items:center;padding:10px 14px;border-bottom:1px solid #eee;}
.tc-site-logo{font-weight:900;font-size:.9rem;color:#520FF5;}
.tc-site-navlinks{display:flex;gap:10px;font-size:.62rem;color:#444;}
.tc-site-hero{padding:14px 14px 10px;background:linear-gradient(135deg,#f8f5ff,#fff);}
.tc-site-eyebrow{font-size:.6rem;font-weight:700;color:#520FF5;letter-spacing:.06em;text-transform:uppercase;margin-bottom:4px;}
.tc-site-headline{font-size:.95rem;font-weight:800;color:#111;line-height:1.25;margin-bottom:6px;}
.tc-site-sub{font-size:.68rem;color:#444;line-height:1.45;margin-bottom:10px;}
.tc-site-cta{display:inline-block;background:#520FF5;color:#fff;font-size:.68rem;font-weight:700;padding:6px 12px;border-radius:20px;}
.tc-site-cards{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px;padding:10px 14px;}
.tc-site-card{background:#f8f8f8;border-radius:8px;padding:8px 6px;text-align:center;}
.tc-site-card-icon{font-size:1rem;margin-bottom:3px;}
.tc-site-card-label{font-size:.6rem;color:#444;font-weight:600;}
@media(max-width:720px){.tc-slide.tc-active{grid-template-columns:1fr;gap:28px;}.tc-left{order:1}.tb-phone{order:2}}

/* ── Uniform phone dimensions for ALL Version C slides ──────
   Root cause: global .tb-pcontent has min-height:510px which
   lets each slide grow to its content. Fix: lock both width and
   height on the phone frame so every slide is pixel-identical. */
#tc-slides .tb-phone{width:310px;max-width:310px;margin:0 auto;flex-shrink:0;}
#tc-slides .tb-screen{width:100%;height:574px;overflow:hidden;display:flex;flex-direction:column;}
#tc-slides .tb-island{position:absolute;}
#tc-slides .tb-statusbar{flex-shrink:0;}
#tc-slides .tb-pcontent{flex:1;min-height:unset;overflow:hidden;display:flex;flex-direction:column;}

/* Rich slides: stacked content, button pinned to bottom */
#tc-slides .tb-mheader{flex-shrink:0;}
#tc-slides .tb-mcard{flex-shrink:0;}
#tc-slides .tb-mbtn{margin-top:auto;flex-shrink:0;}

/* URL: browser bar fixed at top, website content scrolls below */
#tc-slides [data-tc-id="url"] .tb-pcontent{padding:0;}
#tc-slides [data-tc-id="url"] .tc-browser-bar{flex-shrink:0;}
#tc-slides [data-tc-id="url"] .tb-pcontent > div:not(.tc-browser-bar){flex:1;min-height:0;max-height:none;overflow-y:auto;}

/* WhatsApp: header bar fixed, chat bubble area fills remaining height */
#tc-slides [data-tc-id="whatsapp"] .tb-pcontent{padding:0;}
#tc-slides [data-tc-id="whatsapp"] .tb-pcontent > div:last-child{flex:1;min-height:0;}

        /* ════════ merged: sample dashboard ════════ */
    .sd-stage{position:relative;background:var(--surface);border:1px solid var(--border);border-radius:18px;padding:28px 28px 30px;overflow:hidden;margin-top:34px;}
    .sd-stage::before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 75% 0%,rgba(82,15,245,0.10) 0%,transparent 60%);pointer-events:none;}
    .sd-stage > *{position:relative;z-index:1;}

    .dashboard-label{display:flex;align-items:center;gap:10px;margin-bottom:20px;}
    .dash-label-text{font-size:0.72rem;font-weight:600;text-transform:uppercase;letter-spacing:0.09em;color:var(--text-dim);}
    .dash-label-line{flex:1;height:1px;background:var(--border);}
    .dash-pill{font-size:0.66rem;font-weight:700;color:var(--purple-light);background:var(--purple-bg);border:1px solid var(--purple-border);padding:3px 10px;border-radius:100px;white-space:nowrap;}

    .dash-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:12px;}
    .dash-stat{background:var(--mid);border:1px solid var(--border-dim);border-radius:12px;padding:14px 14px 12px;}
    .ds-label{font-size:0.65rem;font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:0.06em;margin-bottom:8px;}
    .ds-value{font-size:1.5rem;font-weight:800;color:#fff;line-height:1;margin-bottom:5px;letter-spacing:-0.02em;}
    .ds-trend{font-size:0.65rem;font-weight:600;display:flex;align-items:center;gap:3px;}
    .ds-trend.up{color:var(--green);}
    .ds-trend.teal{color:var(--teal);}

    .dash-mid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:12px;}
    .dash-card{background:var(--mid);border:1px solid var(--border-dim);border-radius:12px;padding:16px;}
    .dc-title{font-size:0.72rem;font-weight:600;color:var(--text-dim);text-transform:uppercase;letter-spacing:0.07em;margin-bottom:16px;}

    .bar-chart{display:flex;align-items:stretch;gap:6px;height:96px;}
    .bar-col{display:flex;flex-direction:column;align-items:center;gap:6px;flex:1;height:100%;}
    .bar-track{flex:1;width:100%;display:flex;align-items:flex-end;min-height:0;}
    .bar{width:100%;border-radius:4px 4px 0 0;transition:opacity 0.2s;}
    .bar:hover{opacity:0.8;}
    .bar-lbl{font-size:0.58rem;color:var(--text-muted);flex-shrink:0;}

    .qr-list{display:flex;flex-direction:column;gap:9px;}
    .qr-item{display:flex;align-items:center;gap:10px;padding:8px 10px;background:var(--surface);border-radius:8px;border:1px solid var(--border-dim);}
    .qr-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0;}
    .qr-item-name{flex:1;font-size:0.78rem;font-weight:500;color:rgba(255,255,255,0.75);}
    .qr-item-scans{font-size:0.7rem;font-weight:700;color:var(--text-muted);}
    .qr-item-badge{font-size:0.6rem;font-weight:700;padding:2px 7px;border-radius:100px;background:rgba(34,197,94,0.15);color:var(--green);}

    .loc-list{display:flex;flex-direction:column;gap:8px;}
    .loc-item{display:flex;flex-direction:column;gap:4px;}
    .loc-row{display:flex;align-items:center;justify-content:space-between;}
    .loc-city{font-size:0.72rem;font-weight:500;color:rgba(255,255,255,0.65);}
    .loc-pct{font-size:0.68rem;font-weight:700;color:var(--text-dim);}
    .loc-bar-wrap{background:rgba(255,255,255,0.06);border-radius:100px;height:4px;}
    .loc-bar{height:4px;border-radius:100px;background:var(--yellow);}

    .dash-bottom{display:grid;grid-template-columns:2fr 1fr;gap:10px;}

    .device-list{display:flex;flex-direction:column;gap:7px;}
    .device-item{display:flex;align-items:center;gap:9px;}
    .device-icon{width:28px;height:28px;border-radius:7px;display:flex;align-items:center;justify-content:center;font-size:0.85rem;flex-shrink:0;}
    .device-name{flex:1;font-size:0.72rem;color:rgba(255,255,255,0.55);}
    .device-pct{font-size:0.72rem;font-weight:700;color:rgba(255,255,255,0.7);}

    .preview-badge{position:absolute;top:18px;right:18px;background:var(--purple-bg);border:1px solid var(--purple-border);color:var(--text-dim);font-size:0.62rem;font-weight:700;padding:4px 10px;border-radius:6px;letter-spacing:0.06em;text-transform:uppercase;z-index:2;}

    @media (max-width:1100px){.dash-stats{grid-template-columns:repeat(2,1fr);}.dash-bottom{grid-template-columns:1fr;}}
    @media (max-width:760px){.dash-mid{grid-template-columns:1fr;}.dash-stats{grid-template-columns:repeat(2,1fr);}.sd-stage{padding:20px 16px 22px;}.preview-badge{position:static;display:inline-block;margin-bottom:14px;}}
