/* WhatsPlayer — Design system (sitio público) */
[x-cloak] { display: none !important; }

:root {
    --bg-base: #0b1120;
    --bg-elevated: #111827;
    --bg-surface: #151d2e;
    --bg-card: #151d2e;
    --border: rgba(148, 163, 184, 0.12);
    --border-strong: rgba(148, 163, 184, 0.2);
    --border-hover: rgba(16, 185, 129, 0.35);
    --text: #f1f5f9;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    --accent: #10b981;
    --accent-strong: #059669;
    --accent-muted: rgba(16, 185, 129, 0.12);
    --accent-glow: rgba(16, 185, 129, 0.08);
    --emerald: #34d399;
    --violet: #6366f1;
    --radius: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.625rem;
    --font-display: 'IBM Plex Sans', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, monospace;
    --container-max: 1380px;
    --container-narrow: 960px;
    --container-text: 720px;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.25);
}

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

html { scroll-behavior: smooth; }

body.site-body {
    background-color: var(--bg-base);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Fondo corporativo sutil */
.site-mesh {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.site-mesh::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.4) 0%, transparent 40%);
}

.site-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.025) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, black 0%, transparent 70%);
}

.site-content {
    position: relative;
    z-index: 1;
}

/* Top bar corporativa */
.site-topbar {
    border-bottom: 1px solid var(--border);
    background: var(--bg-elevated);
    font-size: 0.75rem;
    color: var(--text-dim);
}

.site-topbar-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.site-topbar-text {
    letter-spacing: 0.02em;
}

.site-topbar-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.15s;
}

.site-topbar-link:hover { color: var(--accent); }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    border-bottom: 1px solid var(--border);
    background: rgba(11, 17, 32, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.site-header.is-scrolled {
    background: rgba(11, 17, 32, 0.98);
    box-shadow: var(--shadow-md);
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: -0.01em;
    color: var(--text);
    text-decoration: none;
    transition: opacity 0.2s;
}

.site-logo-tagline {
    display: none;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-dim);
    padding-left: 0.75rem;
    border-left: 1px solid var(--border);
}

@media (min-width: 1024px) {
    .site-logo-tagline { display: block; }
}

.site-logo:hover { opacity: 0.9; }

.site-logo-mark {
    width: 2rem;
    height: 2rem;
    border-radius: var(--radius);
    background: var(--accent-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

.site-logo-mark svg { width: 1.1rem; height: 1.1rem; }

.site-nav-link {
    color: var(--text-muted);
    font-size: 0.8125rem;
    font-weight: 500;
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius);
    transition: color 0.15s, background 0.15s;
}

.site-nav-link:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
}

.site-nav-link.active {
    color: var(--accent);
    background: transparent;
    box-shadow: none;
}

.site-nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-size: 0.8125rem;
    font-weight: 600;
    color: #fff;
    background: var(--accent-strong);
    text-decoration: none;
    box-shadow: none;
    transition: background 0.15s;
}

.site-nav-cta:hover {
    background: var(--accent);
}

.site-nav-outline {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text);
    border: 1px solid var(--border-strong);
    text-decoration: none;
    transition: border-color 0.15s, background 0.15s;
}

.site-nav-outline:hover,
.site-nav-outline.active {
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.03);
}

.site-nav-user {
    display: inline-flex;
    text-decoration: none;
}

.site-nav-user-avatar {
    width: 2rem;
    height: 2rem;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6875rem;
    font-weight: 700;
    font-family: var(--font-display);
    color: var(--accent);
    background: var(--accent-muted);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.site-flash {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    margin-bottom: -0.5rem;
    padding: 0.875rem 1rem;
    border-radius: var(--radius);
    border: 1px solid rgba(16, 185, 129, 0.25);
    background: var(--accent-muted);
    color: var(--text-muted);
    font-size: 0.875rem;
}

.site-flash-close {
    background: none;
    border: none;
    color: var(--text-dim);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.25rem;
}

.site-flash-close:hover { color: var(--text); }

.corp-section-header.mx-auto {
    text-align: center;
}

.corp-section-header.mx-auto .section-label {
    padding-left: 0;
    border-left: none;
}

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.btn-primary {
    color: #fff;
    background: var(--accent-strong);
    box-shadow: none;
}

.btn-primary:hover {
    background: var(--accent);
}

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

.btn-secondary:hover {
    border-color: var(--text-dim);
    background: rgba(255, 255, 255, 0.03);
}

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

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

/* Tipografía de página */
.page-hero {
    text-align: center;
    padding: 3.5rem 1rem 2.5rem;
}

@media (min-width: 768px) {
    .page-hero { padding: 4.5rem 1rem 3rem; }
}

.page-body {
    padding-bottom: 4rem;
}

.section-label {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
    padding-left: 0.75rem;
    border-left: 2px solid var(--accent);
}

.section-label::before { display: none; }

.corp-section-header {
    max-width: 40rem;
    margin-bottom: 3rem;
}

.corp-section-header--center {
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.corp-section-header--center .section-label {
    padding-left: 0;
    border-left: none;
}

.display-title {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.08;
}

.text-gradient {
    color: var(--text);
    background: none;
    -webkit-text-fill-color: currentColor;
}

.text-accent { color: var(--accent); }

.section-title {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Cards */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: border-color 0.2s;
}

.glass-card:hover {
    border-color: var(--border-strong);
}

.glass-card-lift:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--border-hover);
}

/* Hero landing */
.hero-section {
    position: relative;
    padding: 4rem 1rem 0;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg-base) 100%);
}

@media (min-width: 1024px) {
    .hero-section { padding: 5rem 1rem 0; }
}

.hero-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

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

@media (min-width: 1024px) {
    .hero-copy { text-align: left; }
}

.hero-visual {
    position: relative;
    max-width: 28rem;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .hero-visual { margin: 0 0 0 auto; }
}

.hero-mockup {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-strong);
    background: var(--bg-surface);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.hero-mockup-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.375rem;
    padding: 0.625rem 1rem;
    border-bottom: 1px solid var(--border);
    background: var(--bg-elevated);
}

.hero-mockup-dot { display: none; }

.hero-mockup-status {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
}

.hero-mockup-status::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.hero-mockup-body { padding: 1.25rem; }

.hero-stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.625rem;
    margin-bottom: 1rem;
}

.hero-stat-mini {
    padding: 0.75rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    text-align: center;
}

.hero-stat-mini .val {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--accent);
}

.hero-stat-mini .lbl {
    font-size: 0.625rem;
    color: var(--text-dim);
    margin-top: 0.125rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hero-chart-bar {
    display: flex;
    align-items: flex-end;
    gap: 0.375rem;
    height: 4rem;
    padding: 0.75rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
}

.hero-chart-bar span {
    flex: 1;
    border-radius: 0.25rem 0.25rem 0 0;
    background: linear-gradient(180deg, var(--accent), rgba(5, 150, 105, 0.3));
    opacity: 0.85;
}

.hero-chart-bar--animated span {
    height: var(--h, 50%);
    animation: heroBarGrow 0.9s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

@keyframes heroBarGrow {
    from { height: 0; opacity: 0; transform: scaleY(0.3); transform-origin: bottom; }
    to { height: var(--h, 50%); opacity: 0.85; transform: scaleY(1); }
}

.hero-glow-orb { display: none; }

/* Métricas corporativas */
.stats-band {
    max-width: none;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
    border-bottom: 1px solid var(--border);
    background: var(--bg-base);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    max-width: var(--container-max);
    margin: 0 auto;
}

@media (min-width: 640px) {
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
}

.stat-card {
    padding: 2rem 1.5rem;
    text-align: left;
    border-radius: 0;
    background: transparent;
    border: none;
    border-right: 1px solid var(--border);
    box-shadow: none;
}

.stat-card:last-child { border-right: none; }

@media (max-width: 639px) {
    .stat-card {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 1.5rem 1rem;
    }
    .stat-card:last-child { border-bottom: none; }
}

.stat-card .value {
    font-family: var(--font-mono);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
    color: var(--text);
}

.stat-card .label {
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-top: 0.5rem;
    letter-spacing: 0.02em;
}

/* Feature cards */
.feature-grid {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1280px) {
    .feature-grid { grid-template-columns: repeat(4, 1fr); }
}

.feature-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-icon--sky { background: rgba(16, 185, 129, 0.12); color: var(--accent); }
.feature-icon--emerald { background: rgba(52, 211, 153, 0.12); color: var(--emerald); }
.feature-icon--violet { background: rgba(99, 102, 241, 0.12); color: var(--violet); }
.feature-icon--amber { background: rgba(245, 158, 11, 0.12); color: #f59e0b; }
.feature-icon--slate { background: rgba(148, 163, 184, 0.12); color: #94a3b8; }

.feature-icon svg,
.trust-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.trust-icon {
    width: 2rem;
    height: 2rem;
    margin: 0 0 0.75rem;
    border-radius: var(--radius);
    background: var(--accent-muted);
    border: 1px solid rgba(16, 185, 129, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

/* Sports */
.sport-chip {
    padding: 1rem;
    text-align: center;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    transition: all 0.2s;
}

.sport-chip:hover {
    border-color: var(--border-hover);
    background: var(--accent-muted);
    transform: none;
}

.sport-chip .emoji { font-size: 1.75rem; margin-bottom: 0.375rem; display: block; }
.sport-chip .sport-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    margin: 0 auto 0.5rem;
    border-radius: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--accent);
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.15);
}
.sport-chip .name { font-size: 0.8125rem; font-weight: 600; color: var(--text-muted); }

/* Pricing */
.pricing-card {
    padding: 1.75rem;
    border-radius: var(--radius-xl);
    background: var(--bg-card);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.2s, border-color 0.2s;
}

.pricing-card:hover { border-color: var(--border-hover); }

.pricing-card.featured {
    border-color: rgba(16, 185, 129, 0.35);
    background: var(--bg-base);
    box-shadow: inset 3px 0 0 var(--accent);
}

.pricing-badge {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-glow);
    margin-bottom: 0.75rem;
}

/* FAQ */
.faq-item {
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
    transition: border-color 0.2s;
}

.faq-item:hover { border-color: rgba(148, 163, 184, 0.18); }

.faq-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.125rem 1.25rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--text);
    background: none;
    border: none;
    cursor: pointer;
}

.faq-icon {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 0.375rem;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    font-size: 1rem;
    transition: transform 0.2s, background 0.2s;
}

.faq-item[data-open="true"] .faq-icon {
    transform: rotate(45deg);
    background: var(--accent-glow);
    color: var(--accent);
}

.faq-item[data-open="true"] {
    border-color: rgba(16, 185, 129, 0.2);
    background: rgba(16, 185, 129, 0.03);
}

.faq-answer {
    padding: 0 1.25rem 1.125rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.65;
    border-top: 1px solid var(--border);
    padding-top: 0.875rem;
}

/* CTA band */
.cta-band {
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    background: var(--bg-elevated);
    border: 1px solid var(--border-strong);
    position: relative;
}

.cta-band::before { display: none; }

/* Footer */
.site-footer {
    border-top: 1px solid var(--border);
    background: var(--bg-elevated);
    margin-top: auto;
}

.site-footer-main {
    padding: 3rem 1rem 2rem;
}

.site-footer-bottom {
    border-top: 1px solid var(--border);
    padding: 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.5rem;
    font-size: 0.75rem;
    color: var(--text-dim);
}

.site-footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.site-footer-bottom-links a {
    color: var(--text-dim);
    text-decoration: none;
}

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

.site-footer-col-title {
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.site-footer a {
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.15s;
}

.site-footer a:hover { color: var(--accent); }

/* Formularios */
.site-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    font-size: 0.9375rem;
    color: var(--text);
    background: var(--bg-surface);
    border: 1px solid var(--border-strong);
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.site-input:focus {
    outline: none;
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

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

/* Steps (cómo funciona) */
.step-card {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
    transition: border-color 0.2s;
}

.step-card:hover { border-color: var(--border-hover); }

.step-num {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.125rem;
}

.step-num--1 { background: rgba(5, 150, 105, 0.15); color: #34d399; }
.step-num--2 { background: rgba(52, 211, 153, 0.15); color: #34d399; }
.step-num--3 { background: rgba(251, 191, 36, 0.15); color: #fbbf24; }

/* Secciones */
.site-section {
    padding: 5rem 1rem;
}

.site-section--alt {
    background: var(--bg-elevated);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.site-section--border {
    border-top: 1px solid var(--border);
}

.site-container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.site-container--narrow {
    max-width: var(--container-narrow);
    margin: 0 auto;
}

.site-container--text {
    max-width: var(--container-text);
    margin: 0 auto;
}

/* Login */
.login-wrap {
    min-height: calc(100vh - 12rem);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.login-page {
    display: grid;
    min-height: calc(100vh - 4rem);
}

@media (min-width: 1024px) {
    .login-page {
        grid-template-columns: 1fr 34rem;
        max-width: var(--container-max);
        margin: 0 auto;
        gap: 4rem;
        align-items: center;
        padding: 2rem 1.5rem 3rem;
    }
}

.login-aside {
    display: none;
    padding: 2rem 1.5rem;
}

@media (min-width: 1024px) {
    .login-aside {
        display: block;
    }
}

.login-aside-inner {
    max-width: 22rem;
}

.login-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.login-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
}

.login-benefit-icon {
    flex-shrink: 0;
    font-size: 1rem;
}

.login-main {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem 3rem;
}

.page-login .site-footer {
    margin-top: 0;
}

.page-login .site-footer-main {
    display: none;
}

.page-login .site-footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

.login-card {
    width: 100%;
    max-width: 24rem;
    padding: 2rem;
    border-radius: var(--radius-xl);
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}

/* Animación suave entrada */
@keyframes fade-up {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-in {
    animation: fade-up 0.6s ease-out both;
}

.animate-in-delay-1 { animation-delay: 0.08s; }
.animate-in-delay-2 { animation-delay: 0.16s; }

/* Scroll reveal — solo opacidad para evitar solapamiento con header sticky */
.reveal {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.reveal.is-visible {
    opacity: 1;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Trust strip */
.trust-strip {
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--border);
    background: var(--bg-elevated);
}

.trust-item {
    text-align: left;
    padding: 1rem 1.25rem;
    border-left: 1px solid var(--border);
}

.trust-item:first-child { border-left: none; }

.trust-item .text {
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.01em;
}

/* Workflow timeline */
.workflow-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .workflow-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

.workflow-step {
    position: relative;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--bg-base);
}

@media (min-width: 768px) {
    .workflow-step:not(:last-child)::after {
        content: '';
        position: absolute;
        right: -0.625rem;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 60%;
        background: var(--border);
    }
}

.workflow-step-num {
    display: inline-flex;
    width: 1.75rem;
    height: 1.75rem;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.6875rem;
    background: var(--accent-muted);
    color: var(--accent);
    margin-bottom: 0.75rem;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.text-violet-400 { color: #a78bfa; }

/* Testimonials */
.testimonial-grid {
    display: grid;
    gap: 1rem;
    max-width: 64rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .testimonial-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

.testimonial-card {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--bg-base);
    border-left: 3px solid var(--accent);
    margin: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    transition: border-color 0.2s;
}

.testimonial-card:hover {
    border-color: var(--border-strong);
    border-left-color: var(--accent);
    transform: none;
}

.testimonial-role {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.testimonial-quote {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--text-muted);
    flex: 1;
    margin-bottom: 1.25rem;
    position: relative;
}

.testimonial-quote::before {
    content: '\201C';
    position: absolute;
    top: -0.5rem;
    left: -0.25rem;
    font-size: 2.5rem;
    line-height: 1;
    font-family: Georgia, serif;
    color: rgba(16, 185, 129, 0.15);
    pointer-events: none;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.testimonial-avatar {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6875rem;
    font-weight: 700;
    font-family: var(--font-display);
    background: rgba(5, 150, 105, 0.2);
    color: var(--accent);
    flex-shrink: 0;
}

.testimonial-avatar--emerald {
    background: rgba(52, 211, 153, 0.2);
    color: var(--emerald);
}

.testimonial-avatar--violet {
    background: rgba(167, 139, 250, 0.2);
    color: var(--violet);
}

.testimonial-avatar--slate {
    background: rgba(148, 163, 184, 0.15);
    color: #cbd5e1;
    border-color: rgba(148, 163, 184, 0.25);
}

/* Pricing comparison table */
.compare-table-wrap {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
}

.compare-table {
    width: 100%;
    font-size: 0.875rem;
    border-collapse: collapse;
}

.compare-table th,
.compare-table td {
    padding: 0.875rem 1rem;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.compare-table th:first-child,
.compare-table td:first-child {
    text-align: left;
    color: var(--text-muted);
}

.compare-table thead th {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--text);
    background: rgba(255, 255, 255, 0.03);
}

.compare-table tbody tr:last-child td {
    border-bottom: none;
}

.compare-yes {
    color: var(--emerald);
    font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .animate-in { animation: none; }
}

/* Sectores / clientes */
.logo-strip {
    padding: 3rem 1rem;
    border-bottom: 1px solid var(--border);
    background: var(--bg-elevated);
}

.logo-strip-label {
    text-align: left;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-dim);
    margin-bottom: 1.25rem;
}

.client-sectors {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .client-sectors { grid-template-columns: repeat(3, 1fr); }
}

.client-sector {
    padding: 1rem 1.25rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--bg-base);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.logo-strip-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.5rem;
}

.logo-strip-items span {
    font-size: 0.8125rem;
    color: var(--text-muted);
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
}

/* Accesibilidad */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100;
    padding: 0.75rem 1rem;
    background: var(--accent-strong);
    color: #041018;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 0 0 0.5rem 0.5rem;
    text-decoration: none;
}

.skip-link:focus {
    left: 1rem;
    top: 0;
}

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 40;
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    border: 1px solid var(--border-hover);
    background: rgba(12, 16, 25, 0.92);
    color: var(--accent);
    cursor: pointer;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity 0.25s, transform 0.25s, background 0.15s;
}

.back-to-top.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.back-to-top:hover {
    background: rgba(5, 150, 105, 0.15);
}

.back-to-top[hidden] { display: flex; }

/* Login demo hint */
.login-demo,
.login-demo-collapsed {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

.login-demo summary,
.login-demo-collapsed summary {
    font-size: 0.8125rem;
    color: var(--text-dim);
    cursor: pointer;
    list-style: none;
}

.login-demo summary::-webkit-details-marker,
.login-demo-collapsed summary::-webkit-details-marker { display: none; }

.login-demo summary:hover,
.login-demo-collapsed summary:hover { color: var(--text-muted); }

.login-demo-collapsed summary {
    font-size: 0.75rem;
}

.login-demo-body {
    margin-top: 0.75rem;
    font-size: 0.75rem;
    color: var(--text-dim);
    line-height: 1.6;
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.login-demo-body code {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    color: var(--accent);
}

/* v7 — Mejoras visuales */

::selection {
    background: rgba(16, 185, 129, 0.25);
    color: var(--text);
}

.site-body :focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Page hero con orb */
.page-hero-wrap {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
    background: var(--bg-elevated);
}

.page-hero-wrap::before { display: none; }

.page-hero-wrap .page-hero {
    position: relative;
    z-index: 1;
}

/* Comparativa categoría vs días */
.compare-visual {
    background: var(--bg-elevated);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.compare-visual-grid {
    display: grid;
    gap: 1.25rem;
    max-width: 52rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .compare-visual-grid { grid-template-columns: 1fr 1fr; }
}

.compare-card {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--bg-base);
}

.compare-card--legacy {
    border-color: var(--border-strong);
    background: var(--bg-base);
}

.compare-card--wp {
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: none;
}

.compare-card-badge {
    display: inline-block;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.125rem 0;
    border-radius: 0;
    background: none;
    color: var(--text-dim);
    border: none;
    margin-bottom: 0.75rem;
}

.compare-card--wp .compare-card-badge {
    color: var(--accent);
}

.compare-card-badge--muted {
    background: rgba(148, 163, 184, 0.08);
    color: var(--text-dim);
    border-color: var(--border);
}

.compare-age-bars {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    margin-bottom: 1rem;
}

.compare-age-row {
    display: grid;
    grid-template-columns: 7rem 1fr 3rem;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.75rem;
}

.compare-age-name {
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.compare-age-track {
    height: 0.5rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.compare-age-fill {
    display: block;
    height: 100%;
    border-radius: 9999px;
    background: linear-gradient(90deg, rgba(251, 191, 36, 0.5), rgba(251, 191, 36, 0.8));
    transition: width 1s ease-out;
}

.compare-age-fill--long {
    background: linear-gradient(90deg, rgba(248, 113, 113, 0.5), rgba(248, 113, 113, 0.85));
}

.compare-age-fill--cyan {
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.4), rgba(5, 150, 105, 0.85));
}

.compare-age-fill--emerald {
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.55), rgba(5, 150, 105, 0.95));
}

.compare-age-days {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    color: var(--text-dim);
    text-align: right;
}

.compare-card-note {
    font-size: 0.8125rem;
    font-weight: 500;
}

.logo-marquee { display: none; }

/* Footer CTA */
.footer-cta {
    border-top: 1px solid var(--border);
    background: var(--bg-surface);
}

.footer-cta-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 3rem 1rem;
}

@media (min-width: 768px) {
    .footer-cta-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 3.5rem 1rem;
    }
}

.footer-cta-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 0.375rem;
}

.footer-cta-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
}

@media (min-width: 768px) {
    .footer-cta-title { font-size: 1.75rem; }
}

.footer-cta-sub {
    font-size: 0.875rem;
    color: var(--text-dim);
    margin-top: 0.375rem;
}

.footer-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    width: 100%;
}

@media (min-width: 768px) {
    .footer-cta-actions { width: auto; }
}

/* Contacto layout */
.contact-layout {
    display: grid;
    gap: 2rem;
    max-width: var(--container-max);
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .contact-layout {
        grid-template-columns: minmax(260px, 22rem) minmax(0, 1fr);
        gap: 2.5rem;
        align-items: start;
    }
}

.contact-aside {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-info-card {
    position: relative;
    padding: 1.25rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.contact-info-card h2 {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.contact-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .contact-form-card { padding: 2rem; }
}

.contact-form-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .contact-form-grid--2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.contact-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.25rem;
}

.contact-form-footnote {
    text-align: center;
    color: var(--text-dim);
    font-size: 0.8125rem;
    margin-top: 1rem;
}

.contact-form-footnote a {
    color: var(--accent);
    font-weight: 500;
    text-decoration: none;
}

.contact-form-footnote a:hover { color: var(--emerald); }

.contact-checklist li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (prefers-reduced-motion: reduce) {
    .logo-marquee-track,
    .hero-chart-bar--animated span {
        animation: none;
    }
    .hero-chart-bar--animated span {
        height: var(--h, 50%);
        opacity: 0.85;
    }
    .testimonial-card:hover {
        transform: none;
    }
}

/* v8 — Login, FAQ, 404, utilidades */

.input-password-wrap {
    position: relative;
}

.input-password-wrap .site-input {
    padding-right: 2.75rem;
}

.password-toggle {
    position: absolute;
    right: 0.625rem;
    top: 50%;
    transform: translateY(-50%);
    padding: 0.375rem;
    border: none;
    background: none;
    color: var(--text-dim);
    cursor: pointer;
    border-radius: 0.375rem;
    transition: color 0.15s;
}

.password-toggle:hover {
    color: var(--text-muted);
}

.login-demo-cards {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

.login-demo-label {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-dim);
    margin-bottom: 0.75rem;
}

.demo-credential-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    border-radius: 0.625rem;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
    margin-bottom: 0.5rem;
}

.demo-credential-role {
    display: block;
    font-size: 0.6875rem;
    color: var(--text-dim);
    margin-bottom: 0.125rem;
}

.demo-credential-value {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent);
}

.demo-copy-btn {
    flex-shrink: 0;
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 0.25rem 0.625rem;
    border-radius: 0.375rem;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.demo-copy-btn:hover {
    border-color: rgba(16, 185, 129, 0.3);
    color: var(--accent);
}

.demo-copy-btn.is-copied {
    border-color: rgba(52, 211, 153, 0.4);
    color: var(--emerald);
}

.demo-copy-btn--inline {
    margin-left: 0.375rem;
    vertical-align: middle;
}

.login-demo-passwords {
    margin-top: 0.75rem;
}

.login-demo-passwords summary {
    font-size: 0.75rem;
    color: var(--text-dim);
    cursor: pointer;
    list-style: none;
}

.login-demo-passwords summary::-webkit-details-marker { display: none; }

.login-demo-passwords summary:hover { color: var(--text-muted); }

.site-header .md\:hidden a.active {
    color: var(--accent);
    background: var(--accent-glow);
}

.error-page {
    position: relative;
    z-index: 1;
}

.error-code {
    font-family: var(--font-display);
    font-size: clamp(4rem, 15vw, 7rem);
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--accent), var(--violet));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
}

.error-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1.5rem;
    margin-top: 3rem;
    font-size: 0.875rem;
}

.error-links a {
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.15s;
}

.error-links a:hover {
    color: var(--accent);
}

/* v9 — Precios y deportes */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.pricing-trust {
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
    padding: 1.25rem 0;
}

.pricing-trust-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.pricing-trust-list li {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.pricing-trust-icon {
    color: var(--emerald);
    font-weight: 700;
}

.pricing-toolbar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .pricing-toolbar {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.billing-toggle {
    display: inline-flex;
    padding: 0.25rem;
    border-radius: 9999px;
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.2);
}

.billing-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-dim);
    background: transparent;
    cursor: pointer;
    transition: color 0.15s, background 0.15s;
}

.billing-toggle-btn.is-active {
    color: var(--text);
    background: var(--accent-glow);
    box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.2);
}

.billing-save-badge {
    font-size: 0.625rem;
    font-weight: 700;
    padding: 0.125rem 0.375rem;
    border-radius: 9999px;
    background: rgba(52, 211, 153, 0.15);
    color: var(--emerald);
}

.pricing-card.featured {
    transform: scale(1);
}

@media (min-width: 1024px) {
    .pricing-card.featured {
        transform: scale(1.03);
    }
}

.premium-addon {
    display: grid;
    gap: 2rem;
    padding: 2rem;
    max-width: 48rem;
    border-color: rgba(52, 211, 153, 0.15);
}

@media (min-width: 768px) {
    .premium-addon {
        grid-template-columns: 1fr auto;
        align-items: start;
    }
}

.premium-addon-price {
    text-align: left;
    padding: 1.25rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
}

@media (min-width: 768px) {
    .premium-addon-price {
        min-width: 14rem;
        text-align: center;
    }
}

.compare-col-featured {
    background: rgba(16, 185, 129, 0.04);
}

.compare-table thead th.compare-col-featured {
    color: var(--accent);
}

.pricing-faq-grid {
    display: grid;
    gap: 1rem;
    max-width: 48rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .pricing-faq-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.sports-hero-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.sports-hero-pill {
    font-size: 0.75rem;
    color: var(--text-muted);
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
}

.sports-hero-pill strong {
    color: var(--accent);
    font-family: var(--font-mono);
}

.sports-toolbar {
    margin-bottom: 1.5rem;
    max-width: 24rem;
}

.sports-search-wrap {
    position: relative;
}

.sports-search-icon {
    position: absolute;
    left: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
    pointer-events: none;
}

.sports-search-input {
    padding-left: 2.5rem;
}

.sports-search-hint {
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-top: 0.5rem;
}

.sport-card {
    display: flex;
    flex-direction: column;
}

.sport-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-top: auto;
    padding-top: 0.5rem;
}

.sport-tag {
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 9999px;
    color: var(--text-dim);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
}

/* v10 — Cómo funciona y contacto */

.process-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
}

.process-nav-link {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.5rem 0.875rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-strong);
    color: var(--text-muted);
    text-decoration: none;
    background: var(--bg-surface);
    transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.process-nav-link:hover {
    color: var(--accent);
    border-color: rgba(16, 185, 129, 0.3);
    background: var(--accent-glow);
}

.process-timeline {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 40rem;
    margin: 0 auto 3rem;
    position: relative;
}

@media (min-width: 768px) {
    .process-timeline::before {
        content: '';
        position: absolute;
        left: 1.5rem;
        top: 2rem;
        bottom: 2rem;
        width: 2px;
        background: linear-gradient(180deg, rgba(5, 150, 105, 0.4), rgba(52, 211, 153, 0.4), rgba(251, 191, 36, 0.4));
        border-radius: 9999px;
    }
}

.step-body {
    flex: 1;
    min-width: 0;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.step-icon {
    font-size: 1.25rem;
}

.step-icon--svg,
.how-outcome-icon--svg {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
    color: var(--accent);
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.step-icon--svg svg,
.how-outcome-icon--svg svg {
    width: 1.125rem;
    height: 1.125rem;
}

.step-features {
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem 0.75rem;
}

.step-features li {
    font-size: 0.75rem;
    color: var(--text-dim);
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
}

.step-features li::before {
    content: '·';
    margin-right: 0.375rem;
    color: var(--accent);
}

.how-outcomes {
    margin: 3rem 0;
}

.how-outcomes-grid {
    display: grid;
    gap: 1rem;
    max-width: 48rem;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .how-outcomes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.how-outcome-card {
    transition: border-color 0.2s, transform 0.2s;
}

.how-outcome-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.how-outcome-icon {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.75rem;
}

.how-compare {
    max-width: 40rem;
    margin: 0 auto;
    padding: 0;
    background: none;
}

.how-compare-inner {
    border-color: rgba(16, 185, 129, 0.12);
}

.how-compare-row {
    display: grid;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 640px) {
    .how-compare-row {
        grid-template-columns: 1fr auto 1fr;
    }
}

.how-compare-col--bad {
    padding: 1rem;
    border-radius: var(--radius);
    border: 1px solid rgba(251, 191, 36, 0.15);
    background: rgba(251, 191, 36, 0.04);
}

.how-compare-col--good {
    padding: 1rem;
    border-radius: var(--radius);
    border: 1px solid rgba(16, 185, 129, 0.2);
    background: rgba(16, 185, 129, 0.04);
}

.how-compare-arrow {
    text-align: center;
    font-size: 1.5rem;
    color: var(--text-dim);
}

.contact-info-icon {
    font-size: 1.25rem;
    display: block;
    margin-bottom: 0.5rem;
}

.contact-type-fieldset {
    border: none;
    padding: 0;
    margin: 0 0 0.25rem;
}

.contact-type-fieldset legend {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 0.625rem;
}

.contact-type-pills {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

@media (min-width: 640px) {
    .contact-type-pills { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.contact-type-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.625rem 0.75rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-strong);
    background: var(--bg-surface);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    text-align: center;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.contact-type-pill:hover {
    border-color: var(--border-hover);
    color: var(--text);
}

.contact-type-pill.is-active {
    border-color: rgba(16, 185, 129, 0.35);
    background: var(--accent-glow);
    color: var(--accent);
}

.contact-success {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.75rem;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(52, 211, 153, 0.25);
    background: linear-gradient(145deg, rgba(52, 211, 153, 0.08), rgba(14, 20, 33, 0.6));
    margin-bottom: 1.5rem;
}

.contact-success-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--emerald);
    background: rgba(52, 211, 153, 0.15);
    border: 1px solid rgba(52, 211, 153, 0.3);
}

@media (prefers-reduced-motion: reduce) {
    .how-outcome-card:hover {
        transform: none;
    }
}

/* v11 — Privacidad y chips deporte */

.sport-chip-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s;
}

.sport-chip-link:hover .name {
    color: var(--accent);
}

.sport-chip:has(.sport-chip-link:hover) {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.legal-content {
    max-width: var(--container-text);
    margin-left: auto;
    margin-right: auto;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-heading {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.legal-text {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.legal-list {
    margin: 0;
    padding-left: 1.25rem;
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--text-muted);
}

.legal-list li {
    margin-bottom: 0.375rem;
}

.legal-list strong {
    color: var(--text);
    font-weight: 600;
}

/* Registro */
.login-page--register {
    min-height: calc(100vh - 5rem);
}

@media (min-width: 1024px) {
    .login-page--register {
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
        gap: 3rem;
        align-items: start;
        padding: 2.5rem 1.5rem 3rem;
    }

    .login-page--register .login-aside {
        position: sticky;
        top: 5.5rem;
        padding: 0;
    }

    .login-page--register .login-aside-inner {
        max-width: none;
    }

    .login-page--register .login-main {
        align-items: flex-start;
        padding: 0 0 2rem;
    }
}

.register-mobile-head {
    width: 100%;
    max-width: 42rem;
    margin-bottom: 1.25rem;
    padding: 0 0.25rem;
}

@media (min-width: 1024px) {
    .register-mobile-head { display: none; }
}

.register-main {
    flex-direction: column;
    align-items: stretch;
}

.register-card {
    max-width: none;
    width: 100%;
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .register-card { padding: 2rem 2.25rem; }
}

.register-card-head {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.register-card-logo {
    flex-shrink: 0;
}

@media (min-width: 1024px) {
    .register-card-logo { display: none; }
}

.register-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.register-trust-item {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-dim);
    padding: 0.375rem 0.625rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-surface);
}

.register-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.register-section {
    padding: 1.25rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.015);
}

@media (min-width: 768px) {
    .register-section { padding: 1.5rem; }
}

.register-section-head {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    margin-bottom: 1.25rem;
}

.register-section-num {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--accent);
    background: var(--accent-muted);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius);
}

.register-section-title {
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text);
}

.register-section-desc {
    font-size: 0.8125rem;
    color: var(--text-dim);
    margin-top: 0.125rem;
}

.login-card--wide {
    max-width: 36rem;
}

.page-register .login-card--wide {
    max-width: 42rem;
}

@media (min-width: 1024px) {
    .page-register .login-card--wide {
        max-width: none;
    }
}

.login-benefit-dot {
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    margin-top: 0.45rem;
    border-radius: 50%;
    background: var(--accent);
}

.form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 0.375rem;
}

.auth-alert {
    padding: 0.875rem 1rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.auth-alert--error {
    border: 1px solid rgba(248, 113, 113, 0.3);
    background: rgba(248, 113, 113, 0.08);
    color: #fca5a5;
}

.register-fieldset {
    border: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
    background: transparent;
}

.register-legend {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dim);
    padding: 0 0.25rem;
}

.register-plan-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.625rem;
}

@media (min-width: 768px) {
    .register-plan-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.register-plan-option {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-height: 6.5rem;
    padding: 0.875rem 0.75rem;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    background: var(--bg-surface);
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.register-plan-option:hover {
    border-color: var(--border-hover);
}

.register-plan-option:has(input:checked),
.register-plan-option.is-selected {
    border-color: rgba(16, 185, 129, 0.45);
    background: var(--accent-muted);
    box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.15);
}

.register-plan-option--featured:has(input:checked),
.register-plan-option--featured.is-selected {
    border-color: rgba(16, 185, 129, 0.55);
}

.register-plan-badge {
    position: absolute;
    top: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.5625rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    background: var(--accent-strong);
    padding: 0.125rem 0.5rem;
    border-radius: var(--radius);
    white-space: nowrap;
}

.register-plan-name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text);
    padding-top: 0.25rem;
}

.register-plan-price {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent);
}

.register-plan-price span {
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--text-dim);
}

.register-plan-meta {
    font-size: 0.6875rem;
    color: var(--text-dim);
    line-height: 1.35;
}

.register-billing-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.register-billing-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-muted);
}

.billing-toggle--register {
    display: inline-flex;
    padding: 0.2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-strong);
    background: var(--bg-base);
}

.billing-toggle--register .billing-toggle-btn {
    border-radius: calc(var(--radius) - 2px);
    padding: 0.4375rem 0.875rem;
}

.register-payment-note {
    margin-top: 0.875rem;
    font-size: 0.75rem;
    color: var(--text-dim);
    line-height: 1.5;
    padding: 0.625rem 0.75rem;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
}

.register-grid-2 {
    display: grid;
    gap: 1rem;
}

@media (min-width: 640px) {
    .register-grid-2 { grid-template-columns: 1fr 1fr; }
}

.register-legal {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.5;
    cursor: pointer;
}

.register-submit-block {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 0.25rem;
}

.register-submit-btn {
    padding-top: 0.875rem;
    padding-bottom: 0.875rem;
    font-size: 0.9375rem;
}

.register-form-footnote {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--text-dim);
}

.register-form-footnote a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.15s;
}

.register-form-footnote a:hover {
    color: var(--accent);
}

.register-checkbox {
    margin-top: 0.2rem;
    accent-color: var(--accent);
}

.billing-toggle--compact {
    display: inline-flex;
}

.site-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.25rem;
}

.pricing-single {
    max-width: 28rem;
    margin: 0 auto;
}

.pricing-card--single {
    padding: 2rem;
}

.register-license-preview {
    padding: 1.25rem;
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: var(--radius-lg);
    background: var(--accent-muted);
}

.register-license-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.register-license-amount {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
}

.register-license-period {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.register-license-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.register-license-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
