/* ─── Reset + base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --brand: #FF6A1A;
    --brand-hover: #FF7E33;
    --brand-soft: #FF6A1A20;
    --bg: #0E0F13;
    --bg-elev: #16181F;
    --bg-card: #1A1D26;
    --border: #2A2E3A;
    --text: #FFFFFF;
    --text-mute: #A0A4B0;
    --text-soft: #6E7280;
    --whatsapp: #25D366;
    --whatsapp-hover: #28E76E;
    --radius: 12px;
    --radius-lg: 20px;
    --max-w: 1100px;
}

html { scroll-behavior: smooth; }

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

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

/* ─── HERO ─────────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px 60px;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--brand-soft) 0%, transparent 60%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
    text-align: center;
}

.wordmark {
    width: 100%;
    max-width: 520px;
    margin: 0 auto 40px;
}

.tagline {
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.subtagline {
    font-size: clamp(16px, 2vw, 18px);
    color: var(--text-mute);
    margin-bottom: 40px;
}

.cta-row {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ─── Botones ──────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.btn-primary {
    background: var(--brand);
    color: white;
    box-shadow: 0 8px 24px -8px var(--brand);
}

.btn-primary:hover {
    background: var(--brand-hover);
    transform: translateY(-1px);
    box-shadow: 0 12px 30px -8px var(--brand);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--brand);
    background: var(--brand-soft);
    color: var(--brand);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: white;
    padding: 16px 32px;
    font-size: 17px;
    box-shadow: 0 8px 24px -8px var(--whatsapp);
}

.btn-whatsapp:hover {
    background: var(--whatsapp-hover);
    transform: translateY(-1px);
    box-shadow: 0 12px 30px -8px var(--whatsapp);
}

/* ─── INSTALL ──────────────────────────────────────────────── */
.install {
    padding: 80px 24px;
    max-width: var(--max-w);
    margin: 0 auto;
}

.section-title {
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 700;
    letter-spacing: -0.02em;
    text-align: center;
    margin-bottom: 12px;
}

.section-sub {
    font-size: 17px;
    color: var(--text-mute);
    text-align: center;
    margin-bottom: 48px;
}

/* ─── Chips de dispositivos compatibles ─── */
.device-chips {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--bg-elev);
    border: 1px solid var(--border);
    color: var(--text-mute);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
}

/* ─── Lista de tiendas dentro del paso 1 ─── */
.store-list {
    list-style: none;
    margin: 12px 0;
    padding: 12px 16px;
    background: var(--bg);
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-mute);
}

.store-list li { padding: 4px 0; }
.store-list strong { color: var(--text); }

.muted {
    color: var(--text-soft);
    font-size: 13px;
    margin-top: 8px;
}

/* ─── Método alternativo colapsable ─── */
.alt-method {
    max-width: 720px;
    margin: 32px auto 0;
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.alt-method summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 15px;
    color: var(--text-mute);
    transition: background 0.2s ease;
    user-select: none;
}

.alt-method summary::-webkit-details-marker { display: none; }
.alt-method summary:hover { background: var(--bg-card); color: var(--text); }

.alt-method .chevron {
    font-size: 22px;
    transition: transform 0.25s ease;
    line-height: 1;
}

.alt-method[open] .chevron { transform: rotate(90deg); }

.alt-body {
    padding: 0 24px 24px;
    color: var(--text-mute);
    font-size: 14px;
}

.alt-body > p { margin-bottom: 20px; }

.steps-compact { gap: 12px; }
.steps-compact li { padding: 16px 20px; }
.steps-compact .step-body h3 { font-size: 15px; }
.steps-compact .step-body p { font-size: 13.5px; }
.steps-compact .step-num { width: 30px; height: 30px; font-size: 13px; }

.steps {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 720px;
    margin: 0 auto;
}

.steps li {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color 0.2s ease;
}

.steps li:hover { border-color: var(--brand); }

.step-num {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--brand);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.step-body h3 {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.step-body p {
    color: var(--text-mute);
    font-size: 15px;
    line-height: 1.6;
}

.step-body em {
    color: var(--brand);
    font-style: normal;
    font-weight: 600;
}

.step-body strong { color: var(--text); }

.url-box {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 16px;
    background: var(--bg);
    border: 1px solid var(--brand);
    border-radius: 8px;
    color: var(--brand);
    font-family: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s ease;
}

.url-box:hover { background: var(--brand-soft); }

/* ─── FEATURES ─────────────────────────────────────────────── */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: var(--max-w);
    margin: 40px auto;
    padding: 0 24px;
}

.feature {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
}

.feature-num {
    font-size: 36px;
    font-weight: 800;
    color: var(--brand);
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    line-height: 1;
}

.feature-text {
    color: var(--text-mute);
    font-size: 15px;
    line-height: 1.5;
}

/* ─── SOPORTE ──────────────────────────────────────────────── */
.support {
    padding: 80px 24px;
    text-align: center;
}

.support .section-sub { margin-bottom: 32px; }

.btn-whatsapp svg { flex-shrink: 0; }

/* ─── FOOTER ───────────────────────────────────────────────── */
.footer {
    padding: 40px 24px;
    text-align: center;
    border-top: 1px solid var(--border);
    color: var(--text-soft);
    font-size: 14px;
}

.footer-mark {
    width: 36px;
    height: 36px;
    margin: 0 auto 12px;
    opacity: 0.6;
}

/* ─── Responsive ───────────────────────────────────────────── */
@media (max-width: 600px) {
    .hero { padding: 60px 20px 40px; }
    .install, .support { padding: 60px 20px; }
    .device-tab { padding: 12px 18px; font-size: 14px; }
    .steps li { padding: 20px; gap: 14px; }
    .step-num { width: 34px; height: 34px; font-size: 14px; }
    .step-body h3 { font-size: 17px; }
    .url-box { font-size: 13px; padding: 8px 12px; }
}
