/* ============================================================================
   STARBYTE ADULTOS — CYBER-NOIR EDITORIAL
   ----------------------------------------------------------------------------
   Dark base, neon accent. Designed to feel like an underground gallery, not
   a tube site. Generous spacing, refined glow, body text always legible.
   Fonts: Unbounded (display) + Manrope (body) + JetBrains Mono (data).
   ============================================================================ */

/* ----------------------------------------------------------------------------
   Design tokens
   ---------------------------------------------------------------------------- */
:root {
    /* Surfaces (depth scale) */
    --bg-0:        #06060c;
    --bg-1:        #0b0b14;
    --bg-2:        #12121d;
    --bg-3:        #1a1a28;

    /* Lines */
    --line:        #1c1c2a;
    --line-hi:     #2b2b42;
    --line-warm:   rgba(255, 42, 109, 0.35);
    --line-cool:   rgba(0, 240, 255, 0.32);

    /* Ink */
    --ink:         #f3f3f8;
    --ink-1:       #c8c8d8;
    --ink-2:       #8c8ca6;
    --ink-3:       #5a5a78;

    /* Neon accent palette (sharp, used as accents only) */
    --neon-pink:    #ff2a6d;
    --neon-pink-hi: #ff4d87;
    --neon-cyan:    #00f0ff;
    --neon-cyan-hi: #6cf6ff;
    --neon-purple:  #d946ef;
    --neon-amber:   #ffb547;

    /* Functional */
    --green:       #38e8a1;
    --error:       #ff5a72;

    /* Glow library (used SPARINGLY) */
    --glow-pink:    0 0 22px rgba(255, 42, 109, 0.45),  0 0 6px rgba(255, 42, 109, 0.6);
    --glow-cyan:    0 0 20px rgba(0, 240, 255, 0.4),    0 0 6px rgba(0, 240, 255, 0.55);
    --glow-purple:  0 0 18px rgba(217, 70, 239, 0.4);
    --glow-soft:    0 0 36px rgba(255, 42, 109, 0.18);

    /* Radii */
    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 22px;
    --r-pill: 999px;

    /* Easing */
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

    /* Type */
    --font-display: 'Unbounded', 'Manrope', system-ui, sans-serif;
    --font-body:    'Manrope', system-ui, sans-serif;
    --font-mono:    'JetBrains Mono', ui-monospace, monospace;
}

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

html {
    background: var(--bg-0);
    color-scheme: dark;
    scroll-behavior: smooth;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}
html, html.dark { background: var(--bg-0); }

body {
    background: var(--bg-0);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Cinematic backdrop — radial mesh, generated, low opacity */
body::before {
    content: "";
    position: fixed;
    inset: -10%;
    z-index: -2;
    background:
        radial-gradient(ellipse 60% 50% at 18% 8%,  rgba(255, 42, 109, 0.14), transparent 60%),
        radial-gradient(ellipse 50% 55% at 88% 14%, rgba(0, 240, 255, 0.10),  transparent 60%),
        radial-gradient(ellipse 45% 40% at 50% 95%, rgba(217, 70, 239, 0.10), transparent 60%);
    pointer-events: none;
    filter: blur(8px);
}

/* Subtle grain overlay */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='200' height='200' filter='url(%23n)' opacity='0.6'/></svg>");
    mix-blend-mode: overlay;
}

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

/* Defensive: SVGs without explicit width/height fall back to inline icon size.
   Prevents SVGs (which only carry viewBox) from expanding to 100% of parent. */
svg:not([width]):not([height]) {
    width: 1.25em;
    height: 1.25em;
    flex-shrink: 0;
}
:where(p, span, label, li, .file-meta, .file-size, button, a):not(.hero-cta):not(.btn-download) > svg:not([width]) {
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
}
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--neon-pink); color: white; }

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

/* ----------------------------------------------------------------------------
   Wrapper
   ---------------------------------------------------------------------------- */
.wrapper {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ----------------------------------------------------------------------------
   Hero
   ---------------------------------------------------------------------------- */
.hero {
    position: relative;
    padding: 56px 0 28px;
    overflow: hidden;
}
.hero::before {
    /* faint vertical line on left edge — editorial detail */
    content: "";
    position: absolute;
    top: 64px;
    bottom: 0;
    left: 50%;
    transform: translateX(-580px);
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--line) 18%, var(--line) 82%, transparent);
    pointer-events: none;
}
.hero-inner {
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 84px;
}

.hero-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hero-logo-wrap {
    width: 44px;
    height: 44px;
    border-radius: var(--r-md);
    background: var(--bg-2);
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.hero-logo-wrap:hover {
    border-color: var(--line-cool);
    box-shadow: var(--glow-cyan);
}
.hero-logo { width: 28px; height: 28px; }

.hero-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.hero-brand-name {
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 0.98rem;
    letter-spacing: 0.02em;
    color: var(--ink);
    text-shadow: 0 0 12px rgba(0, 240, 255, 0.45);
}

.hero-brand-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--ink-2);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-top: 3px;
}

/* Theme toggle kept for HTML compatibility (single dark theme) */
.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: var(--r-md);
    border: 1px solid var(--line);
    background: var(--bg-1);
    color: var(--ink-2);
    display: grid;
    place-items: center;
    transition: border-color 0.25s, color 0.25s;
}
.theme-toggle:hover { border-color: var(--line-hi); color: var(--ink); }
.sun-icon, .moon-icon { width: 18px; height: 18px; }
.sun-icon { display: none; }
.moon-icon { display: block; }

/* Eyebrow chip */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: var(--r-pill);
    border: 1px solid var(--line-warm);
    background: rgba(255, 42, 109, 0.08);
    color: var(--neon-pink-hi);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 32px;
    backdrop-filter: blur(6px);
}
.hero-eyebrow svg { width: 14px; height: 14px; flex-shrink: 0; }

.hero-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.5rem, 5.8vw, 4.5rem);
    line-height: 1.02;
    letter-spacing: -0.025em;
    color: var(--ink);
    max-width: 18ch;
    margin-bottom: 24px;
}
.hero-title .hero-accent {
    color: var(--neon-cyan);
    text-shadow:
        0 0 28px rgba(0, 240, 255, 0.6),
        0 0 8px rgba(0, 240, 255, 0.8);
    font-style: normal;
}

.hero-sub {
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.65;
    color: var(--ink-1);
    max-width: 60ch;
    margin-bottom: 40px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    border-radius: var(--r-pill);
    background: var(--neon-pink);
    color: white;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08) inset,
        var(--glow-pink);
    transition: transform 0.25s var(--ease), box-shadow 0.3s var(--ease), background 0.25s;
    position: relative;
}
.hero-cta:hover {
    transform: translateY(-1px);
    background: var(--neon-pink-hi);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.12) inset,
        0 0 32px rgba(255, 42, 109, 0.65),
        0 0 8px rgba(255, 42, 109, 0.8);
}
.hero-cta:active { transform: translateY(0); }
.hero-cta svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Proof row */
.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 40px;
}
.hero-proof-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: var(--r-pill);
    border: 1px solid var(--line);
    background: var(--bg-1);
    color: var(--ink-1);
    font-size: 0.85rem;
    font-weight: 500;
    transition: border-color 0.25s, color 0.25s;
}
.hero-proof-item:hover { border-color: var(--line-hi); color: var(--ink); }
.hero-proof-item svg { width: 14px; height: 14px; color: var(--green); flex-shrink: 0; }

/* ----------------------------------------------------------------------------
   Section divider — thin line with center neon dot
   ---------------------------------------------------------------------------- */
.section-divider {
    position: relative;
    max-width: 1180px;
    height: 1px;
    margin: 28px auto;
    background: linear-gradient(to right, transparent, var(--line) 20%, var(--line) 80%, transparent);
}
.section-divider::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 6px;
    height: 6px;
    transform: translate(-50%, -50%);
    background: var(--neon-cyan);
    border-radius: 50%;
    box-shadow: var(--glow-cyan);
}

/* ----------------------------------------------------------------------------
   Features section
   ---------------------------------------------------------------------------- */
.features-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 28px 24px;
    max-width: 1180px;
    margin: 0 auto;
}
@media (min-width: 700px) {
    .features-section { grid-template-columns: repeat(2, 1fr); padding: 36px 24px; }
}
@media (min-width: 1000px) {
    .features-section { grid-template-columns: repeat(4, 1fr); padding: 44px 24px; }
}

.feature-card {
    padding: 28px 24px;
    background: linear-gradient(180deg, var(--bg-1), var(--bg-0));
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    transition: border-color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: "";
    position: absolute;
    top: 0; left: 24px; right: 24px;
    height: 1px;
    background: transparent;
    transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.feature-card:hover {
    border-color: var(--line-cool);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px -20px rgba(0, 240, 255, 0.45);
}
.feature-card:hover::before {
    background: var(--neon-cyan);
    box-shadow: 0 0 14px var(--neon-cyan);
}

.feature-card-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--r-sm);
    background: var(--bg-2);
    border: 1px solid var(--line);
    color: var(--neon-cyan);
    display: grid;
    place-items: center;
    margin-bottom: 18px;
}
.feature-card-icon svg { width: 22px; height: 22px; }

.feature-card h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--ink);
    margin-bottom: 8px;
    letter-spacing: -0.005em;
}
.feature-card p {
    font-size: 0.95rem;
    color: var(--ink-2);
    line-height: 1.55;
}

/* ----------------------------------------------------------------------------
   Downloader section
   ---------------------------------------------------------------------------- */
#downloader {
    padding: 56px 24px 28px;
    max-width: 1180px;
    margin: 0 auto;
}

.downloader-hd {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.75rem, 3.6vw, 2.5rem);
    color: var(--ink);
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.section-sub {
    font-size: 1rem;
    color: var(--ink-2);
    max-width: 56ch;
    margin: 0 auto;
}

.age-notice {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 8px 14px;
    border-radius: var(--r-pill);
    border: 1px solid rgba(255, 181, 71, 0.25);
    background: rgba(255, 181, 71, 0.07);
    color: var(--neon-amber);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}
.age-notice svg { width: 14px; height: 14px; }

/* ----------------------------------------------------------------------------
   Platform cards
   ---------------------------------------------------------------------------- */
.platform-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}
@media (min-width: 640px)  { .platform-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .platform-grid { grid-template-columns: repeat(3, 1fr); } }

.platform-card {
    background: linear-gradient(180deg, var(--bg-1), var(--bg-0) 130%);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 28px 24px;
    transition: border-color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
    position: relative;
    overflow: hidden;
}
.platform-card::before {
    content: "";
    position: absolute;
    top: -40%;
    right: -20%;
    width: 60%;
    height: 80%;
    background: radial-gradient(circle, rgba(255, 42, 109, 0.18), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s var(--ease);
    pointer-events: none;
}
.platform-card:hover {
    border-color: var(--line-warm);
    transform: translateY(-3px);
    box-shadow: 0 18px 40px -28px rgba(255, 42, 109, 0.55);
}
.platform-card:hover::before { opacity: 1; }

.card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.card-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    background: var(--bg-2);
    border: 1px solid var(--line);
    color: var(--neon-pink);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.05rem;
}
.card-icon svg { width: 22px; height: 22px; }

.card-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--ink);
    letter-spacing: -0.005em;
}

.card-badge {
    margin-left: auto;
    padding: 4px 10px;
    border-radius: var(--r-pill);
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.25);
    color: var(--neon-cyan);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Download form */
.download-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.url-input {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    color: var(--ink);
    font-family: var(--font-mono);
    font-size: 0.92rem;
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.url-input::placeholder { color: var(--ink-3); }
.url-input:hover { border-color: var(--line-hi); }
.url-input:focus {
    outline: none;
    border-color: var(--neon-cyan);
    background: var(--bg-2);
    box-shadow:
        0 0 0 3px rgba(0, 240, 255, 0.12),
        var(--glow-cyan);
}

.btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 22px;
    background: var(--neon-pink);
    border-radius: var(--r-md);
    color: white;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.2s var(--ease), background 0.25s, box-shadow 0.3s;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.06) inset,
        0 6px 20px -10px rgba(255, 42, 109, 0.6);
}
.btn-download:hover {
    background: var(--neon-pink-hi);
    transform: translateY(-1px);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.12) inset,
        0 0 28px rgba(255, 42, 109, 0.55),
        0 0 4px rgba(255, 42, 109, 0.7);
}
.btn-download:active { transform: translateY(0); }
.btn-download:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}
.btn-icon svg { width: 100%; height: 100%; }
.btn-text { font-weight: 600; }

/* Message area */
.message {
    margin-top: 4px;
    padding: 0;
    border-radius: var(--r-sm);
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--ink-2);
    transition: padding 0.2s, background 0.2s, border 0.2s;
}
.message:not(:empty) {
    padding: 10px 14px;
    background: rgba(255, 90, 114, 0.08);
    border: 1px solid rgba(255, 90, 114, 0.25);
    color: var(--error);
    margin-top: 10px;
}

/* ----------------------------------------------------------------------------
   Progress
   ---------------------------------------------------------------------------- */
/* Progress: hidden by default, JS adds .show to display.
   The HTML inline content ("Conectando...", "Estableciendo conexión...")
   only becomes visible AFTER user clicks Download. */
.progress-inline {
    display: none;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    margin-top: 10px;
}
.progress-inline.show { display: flex; }

.progress-bar-wrapper {
    width: 100%;
    height: 6px;
    background: var(--bg-3);
    border-radius: var(--r-pill);
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--neon-pink), var(--neon-cyan));
    border-radius: var(--r-pill);
    transition: width 0.4s var(--ease);
    box-shadow: 0 0 16px rgba(255, 42, 109, 0.5);
}

.progress-percentage {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--neon-cyan);
}

.progress-description {
    font-size: 0.88rem;
    color: var(--ink-2);
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    margin-top: 4px;
}

.step {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-3);
}

.step-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--bg-3);
    border: 1px solid var(--line);
}
.step.active { color: var(--neon-cyan); }
.step.active .step-dot { background: var(--neon-cyan); box-shadow: 0 0 10px var(--neon-cyan); border-color: var(--neon-cyan); }
.step.done { color: var(--green); }
.step.done .step-dot { background: var(--green); border-color: var(--green); }

.spinner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.spinner-icon {
    width: 14px;
    height: 14px;
    border: 2px solid var(--bg-3);
    border-top-color: var(--neon-cyan);
    border-radius: 50%;
    animation: sb-spin 0.8s linear infinite;
}
.status-indicator.processing { color: var(--neon-cyan); }
@keyframes sb-spin { to { transform: rotate(360deg); } }

.error-icon { color: var(--error); }
.check-icon { color: var(--green); }

/* ----------------------------------------------------------------------------
   File info card
   ---------------------------------------------------------------------------- */
.file-info-card {
    margin-top: 14px;
    padding: 16px;
    background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
    border: 1px solid var(--line);
    border-radius: var(--r-md);
}

.pi-header { display: flex; align-items: center; gap: 12px; }
.pi-icon { width: 36px; height: 36px; border-radius: 8px; background: var(--bg-3); display: grid; place-items: center; color: var(--neon-cyan); }
.pi-icon svg, .fi-icon { width: 18px; height: 18px; }
.pi-text { display: flex; flex-direction: column; }
.pi-right { margin-left: auto; }

.file-details { display: flex; flex-direction: column; gap: 2px; }
.file-name { font-family: var(--font-mono); font-size: 0.9rem; color: var(--ink); word-break: break-all; }
.file-meta { display: flex; gap: 10px; font-size: 0.78rem; color: var(--ink-2); font-family: var(--font-mono); }
.file-size, .file-type { color: var(--ink-2); }

/* ----------------------------------------------------------------------------
   FAQ
   ---------------------------------------------------------------------------- */
.faq-section { padding: 56px 24px; max-width: 980px; margin: 0 auto; }
.faq-hd { text-align: center; margin-bottom: 36px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }

.faq-item {
    background: var(--bg-1);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: border-color 0.3s var(--ease);
}
.faq-item:hover { border-color: var(--line-hi); }
.faq-item[open] {
    border-color: var(--line-cool);
    background: var(--bg-2);
}

.faq-question {
    list-style: none;
    cursor: pointer;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    color: var(--ink);
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question span { flex: 1; }

.faq-icon {
    width: 18px;
    height: 18px;
    color: var(--ink-2);
    transition: transform 0.35s var(--ease), color 0.25s;
    flex-shrink: 0;
}
.faq-item[open] .faq-icon { transform: rotate(180deg); color: var(--neon-cyan); }

.faq-answer {
    padding: 4px 22px 22px;
    color: var(--ink-1);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* ----------------------------------------------------------------------------
   Legal
   ---------------------------------------------------------------------------- */
.legal-section {
    padding: 32px 24px 56px;
    max-width: 980px;
    margin: 0 auto;
}

.legal-card {
    padding: 32px 28px;
    background: linear-gradient(180deg, var(--bg-1), var(--bg-0));
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
}

.legal-card h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--ink);
    margin-bottom: 14px;
}

.legal-card p {
    color: var(--ink-1);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 14px;
}

.legal-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}
.legal-list li {
    padding-left: 22px;
    position: relative;
    color: var(--ink-1);
    font-size: 0.94rem;
    line-height: 1.6;
}
.legal-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 8px;
    height: 1px;
    background: var(--neon-cyan);
    box-shadow: 0 0 6px var(--neon-cyan);
}

.legal-note {
    margin-top: 18px;
    padding: 14px 16px;
    border-left: 2px solid var(--neon-pink);
    background: rgba(255, 42, 109, 0.05);
    font-size: 0.88rem;
    color: var(--ink-2);
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

.title-text { color: var(--ink); }

/* ----------------------------------------------------------------------------
   Suggestion section — submit a new site
   ---------------------------------------------------------------------------- */
.suggest-section {
    padding: 32px 24px 8px;
    max-width: 980px;
    margin: 0 auto;
}

.suggest-card {
    position: relative;
    padding: 36px 32px;
    background: linear-gradient(180deg, var(--bg-1), var(--bg-0));
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
}
.suggest-card::before {
    content: "";
    position: absolute;
    top: -50%; right: -10%;
    width: 50%; height: 100%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.10), transparent 65%);
    pointer-events: none;
}
.suggest-card::after {
    content: "";
    position: absolute;
    bottom: -50%; left: -10%;
    width: 40%; height: 80%;
    background: radial-gradient(circle, rgba(255, 42, 109, 0.10), transparent 65%);
    pointer-events: none;
}

.suggest-hd {
    position: relative;
    margin-bottom: 24px;
}

.suggest-eyebrow {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--neon-cyan);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 10px;
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.4);
}

.suggest-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--ink);
    letter-spacing: -0.015em;
    margin-bottom: 10px;
    line-height: 1.15;
}

.suggest-sub {
    font-size: 0.95rem;
    color: var(--ink-2);
    line-height: 1.6;
    max-width: 56ch;
}

.suggest-form {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}
@media (min-width: 640px) {
    .suggest-form { grid-template-columns: 1fr auto; align-items: stretch; }
    .suggest-feedback, .suggest-form > .suggest-feedback { grid-column: 1 / -1; }
}

.suggest-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.suggest-icon {
    position: absolute;
    left: 14px;
    width: 18px;
    height: 18px;
    color: var(--ink-2);
    pointer-events: none;
    transition: color 0.25s;
}

.suggest-input {
    width: 100%;
    padding: 14px 16px 14px 42px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    color: var(--ink);
    font-family: var(--font-mono);
    font-size: 0.92rem;
    transition: border-color 0.2s, box-shadow 0.25s, background 0.2s;
}
.suggest-input::placeholder { color: var(--ink-3); }
.suggest-input:hover { border-color: var(--line-hi); }
.suggest-input:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.12), var(--glow-cyan);
}
.suggest-input:focus + .suggest-icon,
.suggest-input-wrap:focus-within .suggest-icon { color: var(--neon-cyan); }

.suggest-input[aria-invalid="true"] {
    border-color: var(--error);
    box-shadow: 0 0 0 3px rgba(255, 90, 114, 0.15);
}

.suggest-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--neon-pink);
    border-radius: var(--r-md);
    color: white;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.25s, transform 0.2s, box-shadow 0.3s, opacity 0.2s;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06) inset,
                0 6px 18px -8px rgba(255, 42, 109, 0.6);
    white-space: nowrap;
}
.suggest-btn:hover:not(:disabled) {
    background: var(--neon-pink-hi);
    transform: translateY(-1px);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset,
                0 0 24px rgba(255, 42, 109, 0.5),
                0 0 4px rgba(255, 42, 109, 0.7);
}
.suggest-btn:active { transform: translateY(0); }
.suggest-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.suggest-btn-icon { width: 16px; height: 16px; flex-shrink: 0; }

.suggest-feedback {
    grid-column: 1 / -1;
    min-height: 0;
    padding: 0;
    font-size: 0.9rem;
    border-radius: var(--r-sm);
    transition: padding 0.2s, opacity 0.2s, background 0.2s;
}
.suggest-feedback.is-error {
    padding: 10px 14px;
    background: rgba(255, 90, 114, 0.08);
    border: 1px solid rgba(255, 90, 114, 0.3);
    color: var(--error);
}
.suggest-feedback.is-success {
    padding: 10px 14px;
    background: rgba(56, 232, 161, 0.08);
    border: 1px solid rgba(56, 232, 161, 0.3);
    color: var(--green);
}

.suggest-note {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    font-size: 0.82rem;
    color: var(--ink-3);
    line-height: 1.55;
}
.suggest-note svg { width: 14px; height: 14px; color: var(--ink-3); flex-shrink: 0; margin-top: 2px; }

@media (max-width: 640px) {
    .suggest-card { padding: 28px 22px; }
    .suggest-section { padding: 24px 16px 0; }
}

/* ----------------------------------------------------------------------------
   Footer
   ---------------------------------------------------------------------------- */
.footer {
    margin-top: 80px;
    padding: 48px 24px 32px;
    background: var(--bg-1);
    border-top: 1px solid var(--line);
    position: relative;
}
.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(80%, 480px);
    height: 1px;
    background: linear-gradient(to right, transparent, var(--neon-cyan), var(--neon-pink), transparent);
    opacity: 0.5;
}

.footer-container {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    gap: 28px;
}
@media (min-width: 720px) {
    .footer-container {
        grid-template-columns: 1fr auto;
        align-items: center;
    }
}

.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-logo { width: 32px; height: 32px; }
.footer-brand-info { display: flex; flex-direction: column; line-height: 1.1; }
.footer-brand-name {
    font-family: var(--font-mono);
    font-weight: 500;
    color: var(--ink);
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}
.footer-brand-tagline {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--ink-3);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-top: 3px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.footer-link {
    color: var(--ink-2);
    font-size: 0.88rem;
    transition: color 0.2s;
    position: relative;
}
.footer-link:hover { color: var(--neon-cyan); }
.footer-link:hover::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--neon-cyan);
    box-shadow: 0 0 6px var(--neon-cyan);
}

.footer-bottom {
    grid-column: 1 / -1;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    color: var(--ink-3);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.footer-copyright, .footer-developer { margin: 0; }

/* ----------------------------------------------------------------------------
   JuicyAds slots — dark-themed refinement
   (Overrides the inline <style> in <head>)
   ---------------------------------------------------------------------------- */
.jads-slot {
    padding: 40px 16px !important;
    margin: 8px auto;
    max-width: 100%;
    position: relative;
    transition: opacity 0.3s;
}

/* Editorial label above the ad — honest, refined */
.jads-slot::before {
    content: "Publicidad";
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-mono);
    font-size: 0.62rem;
    color: var(--ink-3);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    opacity: 0.6;
}

.jads-slot ins { max-width: 100%; }

/* Sticky bottom — dark-themed */
.jads-sticky {
    background: rgba(6, 6, 12, 0.94) !important;
    backdrop-filter: blur(12px) !important;
    border-top: 1px solid var(--line-cool) !important;
    box-shadow:
        0 -10px 30px -20px rgba(0, 240, 255, 0.35),
        0 -2px 16px rgba(0, 0, 0, 0.4) !important;
}

.jads-sticky-close {
    background: rgba(0, 240, 255, 0.12) !important;
    color: var(--neon-cyan) !important;
    border: 1px solid rgba(0, 240, 255, 0.3) !important;
}
.jads-sticky-close:hover {
    background: rgba(0, 240, 255, 0.22) !important;
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.5);
}

/* ----------------------------------------------------------------------------
   Hero entrance — subtle stagger
   ---------------------------------------------------------------------------- */
@keyframes hero-rise {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow,
.hero-title,
.hero-sub,
.hero-cta,
.hero-proof {
    animation: hero-rise 0.8s var(--ease-out) both;
}
.hero-title { animation-delay: 0.08s; }
.hero-sub   { animation-delay: 0.16s; }
.hero-cta   { animation-delay: 0.24s; }
.hero-proof { animation-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ----------------------------------------------------------------------------
   Responsive
   ---------------------------------------------------------------------------- */
@media (max-width: 700px) {
    .hero { padding-top: 40px; }
    .hero-nav { margin-bottom: 56px; }
    .hero-title { letter-spacing: -0.02em; }
    .hero-sub { font-size: 1.04rem; }
    .features-section { padding: 24px 16px; }
    .platform-card { padding: 22px 18px; }
    #downloader { padding: 40px 16px 16px; }
    .faq-section, .legal-section { padding: 36px 16px; }
    .footer { padding: 36px 16px 24px; margin-top: 56px; }
    .hero-eyebrow { font-size: 0.66rem; padding: 6px 12px; }
}
