/* ═══════════════════════════════════════════════
   TOKENS — Dark Mode (default)
═══════════════════════════════════════════════ */
:root {
    --bg-void: #080b12;
    --bg-base: #0c0f1a;
    --bg-surface: #111827;
    --bg-card: #141d2e;
    --bg-card2: #0f1623;

    --border: #1e2d45;
    --border-glow: #2563eb33;

    --blue: #3b82f6;
    --blue-dark: #2563eb;
    --blue-glow: #60a5fa;
    --cyan: #06b6d4;
    --cyan-glow: #22d3ee;

    --text-1: #f8fafc;
    --text-2: #cbd5e1;
    --text-3: #64748b;
    --text-4: #334155;

    --success: #10b981;
    --warn: #f59e0b;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;
    --shadow-card: 0 4px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 60px rgba(59, 130, 246, 0.12);

    --nav-bg: rgba(8, 11, 18, 0.85);
    --scan-color: #3b82f6;
}

[data-theme="light"] {
    --bg-void: #f0f4ff;
    --bg-base: #f8faff;
    --bg-surface: #ffffff;
    --bg-card: #ffffff;
    --bg-card2: #f1f5fb;

    --border: #dde3f0;
    --border-glow: #3b82f633;

    --blue: #2563eb;
    --blue-dark: #1d4ed8;
    --blue-glow: #3b82f6;
    --cyan: #0891b2;
    --cyan-glow: #06b6d4;

    --text-1: #0f172a;
    --text-2: #334155;
    --text-3: #64748b;
    --text-4: #94a3b8;

    --shadow-card: 0 4px 24px rgba(15, 23, 42, 0.08);
    --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.08);
    --nav-bg: rgba(248, 250, 255, 0.9);
    --scan-color: #2563eb;
}

/* ═══════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background: var(--bg-base);
    color: var(--text-2);
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 52px 52px;
    opacity: 0.18;
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.3s;
}

[data-theme="light"] body::before {
    opacity: 0.35;
}

img,
svg {
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

ul {
    list-style: none;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 48px);
}

/* ═══════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s;
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 18px;
    font-weight: 800;
    color: var(--text-1);
    letter-spacing: -0.04em;
}

.nav-logo-mark {
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 900;
    color: #fff;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-link {
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-3);
    transition: color 0.15s, background 0.15s;
}

.nav-link:hover {
    color: var(--text-1);
    background: var(--bg-card);
}

.nav-link.legal {
    color: var(--blue-glow);
    border: 1px solid var(--border-glow);
}

.nav-link.legal:hover {
    background: var(--bg-card);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-theme {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.15s, transform 0.12s;
}

.btn-theme:hover {
    border-color: var(--blue);
    transform: rotate(15deg);
}

.btn-theme svg {
    width: 17px;
    height: 17px;
}

.btn-theme .icon-moon {
    display: none;
}

[data-theme="light"] .btn-theme .icon-sun {
    display: none;
}

[data-theme="light"] .btn-theme .icon-moon {
    display: block;
}

.btn-nav-cta {
    padding: 8px 20px;
    border-radius: 10px;
    border: none;
    background: var(--blue);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    transition: filter 0.15s, transform 0.1s;
    white-space: nowrap;
}

.btn-nav-cta:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.nav-burger {
    display: none;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-2);
    align-items: center;
    justify-content: center;
}

.nav-burger svg {
    width: 18px;
    height: 18px;
}

.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 190;
    background: var(--bg-base);
    padding: 80px 24px 32px;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu .nav-link {
    padding: 14px 16px;
    font-size: 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-2);
    text-align: left;
}

.mobile-menu .btn-nav-cta {
    padding: 14px;
    border-radius: 12px;
    font-size: 16px;
    text-align: center;
    display: block;
    margin-top: 8px;
}

/* ═══════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════ */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 600px;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.15) 0%, transparent 65%);
    pointer-events: none;
}

[data-theme="light"] .hero::before {
    background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.08) 0%, transparent 65%);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--blue-glow);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    background: var(--cyan);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.7);
    }
}

.hero-title {
    font-size: clamp(36px, 5.5vw, 58px);
    font-weight: 800;
    color: var(--text-1);
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-title-accent {
    background: linear-gradient(90deg, var(--blue-glow), var(--cyan-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 17px;
    color: var(--text-3);
    line-height: 1.65;
    max-width: 480px;
    margin-bottom: 36px;
}

.hero-sub strong {
    color: var(--text-2);
}

.hero-stats {
    display: flex;
    gap: 32px;
    margin-bottom: 36px;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-num {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-1);
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
    font-family: 'SF Mono', 'Fira Code', monospace;
}

.stat-num span {
    color: var(--cyan);
}

.stat-label {
    font-size: 12px;
    color: var(--text-3);
    font-weight: 500;
}

.hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    border: none;
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 4px 24px rgba(59, 130, 246, 0.35);
    transition: filter 0.15s, transform 0.12s, box-shadow 0.15s;
}

.btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.5);
}

.btn-primary svg {
    width: 18px;
    height: 18px;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-2);
    font-size: 15px;
    font-weight: 600;
    transition: border-color 0.15s, color 0.15s, transform 0.12s;
}

.btn-ghost:hover {
    border-color: var(--blue);
    color: var(--text-1);
    transform: translateY(-2px);
}

.btn-ghost svg {
    width: 18px;
    height: 18px;
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.capture-demo {
    position: relative;
    width: 100%;
    max-width: 480px;
    background: var(--bg-card2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.capture-demo::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -30%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.demo-doc {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.demo-doc-line {
    height: 10px;
    background: var(--border);
    border-radius: 5px;
    opacity: 0.7;
}

.demo-doc-line:nth-child(1) {
    width: 90%;
}

.demo-doc-line:nth-child(2) {
    width: 75%;
}

.demo-doc-line:nth-child(3) {
    width: 85%;
}

.demo-doc-line:nth-child(4) {
    width: 60%;
}

[data-theme="light"] .demo-doc-line {
    background: #dde3f0;
    opacity: 1;
}

.demo-capture-box {
    position: relative;
    border: 2px solid var(--scan-color);
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 16px;
    background: rgba(59, 130, 246, 0.05);
}

.demo-capture-corner {
    position: absolute;
    width: 12px;
    height: 12px;
    border-color: var(--cyan);
    border-style: solid;
}

.demo-capture-corner.tl {
    top: -2px;
    left: -2px;
    border-width: 3px 0 0 3px;
}

.demo-capture-corner.tr {
    top: -2px;
    right: -2px;
    border-width: 3px 3px 0 0;
}

.demo-capture-corner.bl {
    bottom: -2px;
    left: -2px;
    border-width: 0 0 3px 3px;
}

.demo-capture-corner.br {
    bottom: -2px;
    right: -2px;
    border-width: 0 3px 3px 0;
}

.demo-scan-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--blue-glow), transparent);
    animation: scan 2.2s ease-in-out infinite;
    box-shadow: 0 0 12px var(--blue);
}

@keyframes scan {
    0% {
        top: 0;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

.demo-capture-text {
    font-size: 11px;
    color: var(--text-3);
    line-height: 1.6;
}

.demo-capture-text span {
    color: var(--blue-glow);
    font-weight: 600;
}

.demo-response {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 14px;
}

.demo-response-header {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 8px;
}

.demo-response-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse-dot 1.8s ease-in-out infinite;
}

.demo-response-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--success);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.demo-response-timer {
    margin-left: auto;
    font-size: 10px;
    font-family: monospace;
    color: var(--cyan);
    font-weight: 700;
}

.demo-response-lines {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.demo-response-line {
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    opacity: 0.6;
    animation: shimmer 2s ease-in-out infinite;
}

.demo-response-line:nth-child(1) {
    width: 95%;
    animation-delay: 0s;
}

.demo-response-line:nth-child(2) {
    width: 80%;
    animation-delay: 0.15s;
}

.demo-response-line:nth-child(3) {
    width: 70%;
    animation-delay: 0.3s;
}

@keyframes shimmer {

    0%,
    100% {
        opacity: 0.35;
    }

    50% {
        opacity: 0.8;
    }
}

[data-theme="light"] .demo-response-line {
    background: #dde3f0;
}

.demo-kbd-pill {
    position: absolute;
    top: -14px;
    right: 16px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-3);
    box-shadow: var(--shadow-card);
}

.demo-kbd-pill kbd {
    background: var(--border);
    color: var(--text-2);
    border-radius: 4px;
    padding: 1px 6px;
    font-family: monospace;
    font-size: 10px;
    font-weight: 800;
}

/* ═══════════════════════════════════════════════
   SECTION SHARED
═══════════════════════════════════════════════ */
section {
    position: relative;
    z-index: 1;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 14px;
}

.section-label::before {
    content: '';
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    border-radius: 2px;
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: var(--text-1);
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 14px;
}

.section-sub {
    font-size: 17px;
    color: var(--text-3);
    max-width: 540px;
    line-height: 1.65;
}

.section-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-center .section-sub {
    text-align: center;
}

/* ═══════════════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════════════ */
.how {
    padding: clamp(80px, 10vw, 120px) 0;
    border-top: 1px solid var(--border);
}

.how-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 64px;
    position: relative;
}

.how-steps::before {
    content: '';
    position: absolute;
    top: 36px;
    left: calc(16.66% + 18px);
    right: calc(16.66% + 18px);
    height: 1px;
    background: linear-gradient(90deg, var(--blue), var(--cyan), var(--blue));
    opacity: 0.4;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 24px;
    gap: 18px;
}

.step-num-wrap {
    position: relative;
    width: 72px;
    height: 72px;
}

.step-num-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid var(--border-glow);
    animation: ring-spin 8s linear infinite;
}

@keyframes ring-spin {
    to {
        transform: rotate(360deg);
    }
}

.step-num {
    position: absolute;
    inset: 8px;
    background: linear-gradient(135deg, var(--bg-card), var(--bg-card2));
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 900;
    font-family: monospace;
    color: var(--text-1);
}

.step-icon {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 26px;
    height: 26px;
    background: var(--blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-base);
}

.step-icon svg {
    width: 12px;
    height: 12px;
    color: #fff;
}

.step h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-1);
    letter-spacing: -0.02em;
}

.step p {
    font-size: 14.5px;
    color: var(--text-3);
    line-height: 1.65;
}

/* ═══════════════════════════════════════════════
   FEATURES
═══════════════════════════════════════════════ */
.features {
    padding: clamp(80px, 10vw, 120px) 0;
    border-top: 1px solid var(--border);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

.feature-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.12);
}

.feature-card.accent-cyan::before {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.06) 0%, transparent 60%);
}

.feature-card.accent-cyan:hover {
    box-shadow: 0 12px 40px rgba(6, 182, 212, 0.12);
}

.feature-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 1px solid var(--border);
}

.feature-icon-wrap.blue {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0.05));
}

.feature-icon-wrap.cyan {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(6, 182, 212, 0.05));
}

.feature-icon-wrap.violet {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(139, 92, 246, 0.05));
}

.feature-icon-wrap.emerald {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.05));
}

.feature-icon-wrap svg {
    width: 26px;
    height: 26px;
}

.feature-icon-wrap.blue svg {
    color: var(--blue-glow);
}

.feature-icon-wrap.cyan svg {
    color: var(--cyan-glow);
}

.feature-icon-wrap.violet svg {
    color: #a78bfa;
}

.feature-icon-wrap.emerald svg {
    color: var(--success);
}

.feature-tag {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 8px;
}

.feature-tag.cyan {
    color: var(--cyan);
}

.feature-tag.violet {
    color: #a78bfa;
}

.feature-tag.emerald {
    color: var(--success);
}

.feature-card h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--text-1);
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14.5px;
    color: var(--text-3);
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════
   PRICING
═══════════════════════════════════════════════ */
.pricing {
    padding: clamp(80px, 10vw, 120px) 0;
    border-top: 1px solid var(--border);
}

/* ── Grid ── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
    gap: 24px;
    margin-top: 60px;
}

/* ── Card base ── */
.plan-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
}

.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

/* ── Featured card (desktop only scale) ── */
.plan-card.featured {
    background: linear-gradient(160deg, #1a2640 0%, var(--bg-card) 100%);
    border-color: var(--blue);
    box-shadow: 0 0 0 1px var(--border-glow), var(--shadow-card);
    transform: scale(1.03);
}

[data-theme="light"] .plan-card.featured {
    background: linear-gradient(160deg, #eff6ff 0%, #fff 100%);
}

.plan-card.featured:hover {
    transform: scale(1.03) translateY(-4px);
}

/* ── Badge ── */
.plan-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 16px;
    border-radius: 999px;
    white-space: nowrap;
}

/* ── Plan top: nombre + precio en fila (mobile) / columna (desktop) ── */
.plan-top {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 4px;
}

.plan-name {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: 12px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 4px;
}

.plan-currency {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-3);
}

.plan-amount {
    font-size: 44px;
    font-weight: 900;
    color: var(--text-1);
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
}

.plan-credits {
    font-size: 13px;
    color: var(--blue-glow);
    font-weight: 600;
    margin-bottom: 24px;
}

.plan-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 0 0 24px;
}

.plan-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
    flex: 1;
}

.plan-feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.45;
}

.plan-check {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.plan-check svg {
    width: 10px;
    height: 10px;
    color: var(--success);
}

.btn-plan {
    width: 100%;
    padding: 13px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--bg-surface);
    color: var(--text-2);
    font-size: 14px;
    font-weight: 700;
    margin-top: auto;
    transition: border-color 0.15s, background 0.15s, color 0.15s, transform 0.1s;
}

.btn-plan:hover {
    border-color: var(--blue);
    background: rgba(59, 130, 246, 0.06);
    color: var(--text-1);
    transform: translateY(-1px);
}

.plan-card.featured .btn-plan {
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

.plan-card.featured .btn-plan:hover {
    filter: brightness(1.1);
    color: #fff;
}

/* ── Payment strip ── */
.payment-strip {
    margin-top: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.payment-label {
    font-size: 12px;
    color: var(--text-4);
    font-weight: 500;
}

.payment-badges {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.payment-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 5px 11px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-3);
}

.payment-badge svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
    padding: 48px 0 32px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 28px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-3);
    line-height: 1.7;
    margin-top: 12px;
    max-width: 280px;
}

.footer-col h4 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-link {
    font-size: 14px;
    color: var(--text-3);
    transition: color 0.15s;
}

.footer-link:hover {
    color: var(--blue-glow);
}

.footer-link.legal-link {
    color: var(--blue-glow);
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.footer-link.legal-link::before {
    content: '›';
}

.footer-link.legal-link:hover {
    color: var(--cyan);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copy {
    font-size: 13px;
    color: var(--text-4);
}

.footer-copy a {
    color: var(--text-3);
}

.footer-copy a:hover {
    color: var(--blue);
}

.footer-legal-row {
    display: flex;
    gap: 20px;
}

.footer-legal-link {
    font-size: 12px;
    color: var(--text-4);
    transition: color 0.15s;
}

.footer-legal-link:hover {
    color: var(--blue-glow);
}

/* ═══════════════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — 900px
═══════════════════════════════════════════════ */
@media (max-width: 900px) {

    .nav-links {
        display: none;
    }

    .nav-burger {
        display: flex;
    }

    .btn-nav-cta {
        display: none;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .hero-badge {
        align-self: center;
    }

    .hero-sub {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .capture-demo {
        max-width: 380px;
        margin: 0 auto;
    }

    .how-steps {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .how-steps::before {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    /* ── PRICING FIX MÓVIL ── */
    .pricing-grid {
        grid-template-columns: 1fr;

        margin-left: auto;
        margin-right: auto;
        gap: 20px;
    }

    .plan-card {
        padding: 24px 20px 20px;
    }

    /* Nombre + precio en fila horizontal */
    .plan-top {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 0;
    }

    .plan-name {
        margin-bottom: 4px;
    }

    .plan-price {
        margin-bottom: 0;
    }

    .plan-amount {
        font-size: 36px;
    }

    /* Quita el scale que rompe el layout */
    .plan-card.featured {
        transform: none;
    }

    .plan-card.featured:hover {
        transform: translateY(-4px);
    }

    /* Footer */
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — 600px
═══════════════════════════════════════════════ */
@media (max-width: 600px) {

    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary,
    .btn-ghost {
        width: 100%;
        justify-content: center;
    }

    .payment-strip {
        flex-direction: column;
        gap: 12px;
    }

    .payment-badges {
        justify-content: center;
    }
}

/* ═══════════════════════════════════════════════
   REDUCED MOTION
═══════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ── Variante dorada para el plan destacado ── */
.plan-card.featured-gold {
    border-color: #D4AF37;
    box-shadow: 0 0 0 1px #D4AF37, 0 8px 24px rgba(212, 175, 55, 0.25);
}

.plan-badge-gold {
    background: linear-gradient(135deg, #D4AF37, #F4D03F);
    color: #1a1a1a;
}

.plan-card.featured-gold .btn-plan {
    background: linear-gradient(135deg, #D4AF37, #F4D03F);
    color: #1a1a1a;
}

.plan-card.featured-gold .btn-plan:hover {
    filter: brightness(1.05);
}


/* ── Pricing: en PC fila con scroll horizontal, en mobile apilado normal ── */
.pricing-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 8px;
    scrollbar-width: none;
    padding-top: 20px;
    padding-bottom: 20px;
}

.pricing-grid::-webkit-scrollbar {
    display: none;
}

.pricing-grid .plan-card {
    flex: 0 0 320px;
    /* ancho fijo de cada tarjeta en PC, ajusta a tu gusto */
    scroll-snap-align: start;
}

/* ── En mobile: vuelve a apilarse, una abajo de la otra ── */
@media (max-width: 768px) {
    .pricing-grid {
        flex-direction: column;
        overflow-x: visible;
        flex-wrap: wrap;
    }

    .pricing-grid .plan-card {
        flex: 1 1 auto;
        scroll-snap-align: none;
    }
}

.icon-creditos {
    width: 30px;
    height: 30px;
    vertical-align: middle;
    margin-left: 2px;
    display: inline-block;
}



/* ── Sección: Cuenta gratis ── */
.free-trial {
    padding: 64px 16px;
}

.free-trial-card {
    position: relative;
    margin: 0 auto;
    text-align: center;
    padding: 48px 32px;
    border-radius: 24px;
    background: linear-gradient(160deg, rgba(59, 130, 246, .14), var(--bg-card));
    border: 1px solid rgba(59, 130, 246, .25);
    overflow: hidden;
    isolation: isolate;
}

.free-trial-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(59, 130, 246, .28), transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.free-trial-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(59, 130, 246, .12);
    border: 1px solid rgba(59, 130, 246, .35);
    color: var(--blue-glow);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .02em;
    margin-bottom: 24px;
    white-space: nowrap;
}

.free-trial-badge svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}

.free-trial-title {
    font-size: clamp(1.5rem, 5vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.25;
    margin: 0 0 16px;
    color: var(--text-1);
}

.free-trial-highlight {
    display: block;
    margin-top: 4px;
    background: linear-gradient(135deg, var(--blue-glow), var(--cyan-glow));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.free-trial-sub {
    max-width: 440px;
    margin: 0 auto 28px;
    color: #a1a1ad;
    font-size: .95rem;
    line-height: 1.65;
}

.btn-free-trial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 28px;
    border-radius: 14px;
    color: #fff;
    font-weight: 700;
    font-size: .98rem;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(0, 86, 179, .32);
    transition: transform .2s ease, box-shadow .2s ease;
    max-width: 100%;
}

.btn-free-trial svg {
    flex-shrink: 0;
}

.btn-free-trial span {
    white-space: nowrap;
}

.btn-free-trial:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 86, 179, .32);
}

.free-trial-footnote {
    margin: 18px 0 0;
    font-size: .8rem;
    color: var(--text-3);
}

/* ── Responsive ── */
@media (max-width: 600px) {
    .free-trial-card {
        padding: 36px 20px;
        border-radius: 20px;
    }

    .free-trial-badge {
        font-size: .72rem;
        padding: 6px 12px;
    }

    .btn-free-trial {
        width: 100%;
        padding: 14px 18px;
        font-size: .92rem;
    }

    .btn-free-trial span {
        white-space: normal;
    }
}

@media (max-width: 380px) {
    .free-trial-title {
        font-size: 1.35rem;
    }
}

* {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

/* Opcional: si tampoco quieres que se pueda seleccionar texto al tocar */
button,
a,
.clickable {
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
    outline: none;
}


/* ── Extensión Chrome ── */
.ext-card {
    display: flex;
    align-items: center;
    gap: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin: 32px auto 0;
    position: relative;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.ext-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.ext-card:hover {
    border-color: var(--border-glow);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.12);
}


.ext-img-wrap img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    display: block;
}

.ext-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ext-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 24px;
}

.ext-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-3);
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 5px 13px;
    transition: border-color 0.15s, color 0.15s;
}

.ext-pill:hover {
    border-color: var(--blue);
    color: var(--text-2);
}

.ext-pill-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--cyan);
    flex-shrink: 0;
}

@media (max-width: 700px) {
    .ext-card {
        flex-direction: column;
        padding: 28px 20px;
        gap: 24px;
    }

    .ext-img-wrap {
        width: 100%;
        height: 180px;
    }
}
/* ═══════════════════════════════════════════════
   SCAG EN WHATSAPP
═══════════════════════════════════════════════ */
.whatsapp-banner {
    padding: 64px 16px;
}

.whatsapp-card {
    position: relative;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 40px;
    border-radius: 24px;
    background: linear-gradient(160deg, rgba(37, 211, 102, .14), var(--bg-card));
    border: 1px solid rgba(37, 211, 102, .3);
    overflow: hidden;
    isolation: isolate;
}

.whatsapp-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(37, 211, 102, .3), transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.whatsapp-img-wrap {
    position: relative;
    flex-shrink: 0;
    width: 130px;
    height: 130px;
}

.whatsapp-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #25D366;
    box-shadow: 0 8px 24px rgba(37, 211, 102, .3);
}

.whatsapp-status-dot {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    background: #25D366;
    border-radius: 50%;
    border: 3px solid var(--bg-card);
    animation: pulse-dot 2s ease-in-out infinite;
}

.whatsapp-content {
    flex: 1;
    text-align: left;
}

.whatsapp-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(37, 211, 102, .12);
    border: 1px solid rgba(37, 211, 102, .35);
    color: #25D366;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .02em;
    margin-bottom: 18px;
    white-space: nowrap;
}

.whatsapp-badge-dot {
    width: 6px;
    height: 6px;
    background: #25D366;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

.whatsapp-title {
    font-size: clamp(1.4rem, 4vw, 1.9rem);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.25;
    margin: 0 0 14px;
    color: var(--text-1);
}

.whatsapp-highlight {
    background: linear-gradient(135deg, #25D366, #128C7E);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.whatsapp-sub {
    max-width: 440px;
    margin: 0 0 24px;
    color: var(--text-3);
    font-size: .95rem;
    line-height: 1.65;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 14px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    font-weight: 700;
    font-size: .95rem;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(37, 211, 102, .35);
    transition: transform .2s ease, box-shadow .2s ease, filter .15s;
}

.btn-whatsapp svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow: 0 10px 26px rgba(37, 211, 102, .45);
}

.whatsapp-footnote {
    margin: 14px 0 0;
    font-size: .82rem;
    color: var(--text-3);
    font-weight: 600;
    letter-spacing: .02em;
}

@media (max-width: 700px) {
    .whatsapp-card {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
        gap: 24px;
    }

    .whatsapp-content {
        text-align: center;
    }

    .whatsapp-sub {
        margin-left: auto;
        margin-right: auto;
    }

    .btn-whatsapp {
        width: 100%;
    }
}