/* ============================================================
   RLATINO — Landing  |  Void Cinema Dark
   ============================================================ */

:root {
    --void:     #020409;
    --dark-1:   #080d1a;
    --dark-2:   #0d1428;
    --border:   rgba(255,255,255,0.09);
    --accent:   #0ea5e9;
    --accent-2: #a855f7;
    --accent-3: #10b981;
    --text-1:   #f0f6ff;
    --text-2:   #94a3b8;
}

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

html, body { width: 100%; min-height: 100%; }

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--void);
    color: var(--text-1);
    overflow: hidden;
    position: relative;
}

/* Capas de luz de fondo */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 55% at 20% 20%, rgba(14,165,233,.11), transparent),
        radial-gradient(ellipse 60% 50% at 80% 80%, rgba(168,85,247,.10), transparent),
        radial-gradient(ellipse 40% 40% at 50% 50%, rgba(16,185,129,.05), transparent);
    pointer-events: none;
    z-index: 0;
}

.bg-layer {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255,255,255,.03), transparent 50%);
    pointer-events: none;
    z-index: 0;
}

#fireflies-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-wrap {
    position: relative;
    z-index: 2;
    min-height: 100vh;
}

/* ── LANDING CARD ────────────────────────────────────────── */
.landing-card {
    position: relative;
    padding: 42px 34px;
    border-radius: 24px;
    background: var(--dark-1);
    border: 1px solid var(--border);
    box-shadow: 0 40px 100px rgba(0,0,0,.5);
    animation: cardEntry .9s cubic-bezier(.22,1,.36,1) both;
    overflow: hidden;
}

/* Top accent line */
.landing-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3));
}

/* Subtle inner highlight */
.landing-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,.04), transparent 40%);
    pointer-events: none;
}

@keyframes cardEntry {
    0% {
        opacity: 0;
        transform: translateY(36px) scale(.97);
        filter: blur(6px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* ── BRAND ───────────────────────────────────────────────── */
.brand-wrap { margin-bottom: 20px; }

.brand-icon-wrap {
    position: relative;
    width: 82px;
    height: 82px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-icon {
    position: relative;
    z-index: 2;
    font-size: 36px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 14px rgba(14,165,233,.5));
    animation: floatLogo 3.5s ease-in-out infinite;
}

.pulse-ring {
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    border: 1px solid rgba(14,165,233,.3);
    box-shadow: 0 0 20px rgba(14,165,233,.15);
    animation: pulseRing 2.8s ease-out infinite;
}

@keyframes floatLogo {
    0%,100% { transform: translateY(0) scale(1); }
    50%      { transform: translateY(-6px) scale(1.04); }
}

@keyframes pulseRing {
    0%   { transform: scale(.85); opacity: .9; }
    70%  { transform: scale(1.22); opacity: 0; }
    100% { transform: scale(1.22); opacity: 0; }
}

.brand-title {
    margin: 0;
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    font-weight: 800;
    letter-spacing: .05em;
    color: #fff;
    text-shadow: 0 0 30px rgba(14,165,233,.15);
    animation: titleReveal 1.1s ease both;
}

.brand-line {
    width: 68px;
    height: 3px;
    margin: 10px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--accent), var(--accent-2), transparent);
    box-shadow: 0 0 16px rgba(14,165,233,.25);
}

@keyframes titleReveal {
    from { opacity: 0; transform: translateY(10px); letter-spacing: .16em; }
    to   { opacity: 1; transform: translateY(0); letter-spacing: .05em; }
}

/* ── TEXTOS ──────────────────────────────────────────────── */
.hero-title {
    font-size: clamp(1.1rem, 2.5vw, 1.55rem);
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-1);
}

.hero-text {
    margin: 0 auto;
    max-width: 500px;
    color: var(--text-2);
    font-size: .97rem;
    line-height: 1.65;
}

/* ── BOTONES ─────────────────────────────────────────────── */
.btn-rla-primary,
.btn-rla-secondary {
    border-radius: 14px;
    padding: 14px 20px;
    font-weight: 700;
    font-size: .97rem;
    border: none;
    transition: all .26s ease;
    text-decoration: none;
    display: block;
}

.btn-rla-primary {
    color: #fff;
    background: linear-gradient(135deg, #0ea5e9, #2563eb, #7c3aed);
    box-shadow: 0 8px 25px rgba(37,99,235,.28), inset 0 1px 0 rgba(255,255,255,.15);
}

.btn-rla-primary:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(37,99,235,.38), 0 0 16px rgba(14,165,233,.18);
}

.btn-rla-secondary {
    color: var(--text-1);
    background: rgba(255,255,255,.06);
    border: 1px solid var(--border);
}

.btn-rla-secondary:hover {
    color: #fff;
    transform: translateY(-3px);
    background: rgba(255,255,255,.1);
    box-shadow: 0 10px 28px rgba(0,0,0,.2);
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 767.98px) {
    body { overflow: auto; }

    .landing-card {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .brand-icon-wrap {
        width: 70px;
        height: 70px;
    }

    .brand-icon { font-size: 30px; }

    .hero-text { font-size: .93rem; }

    .btn-rla-primary,
    .btn-rla-secondary { padding: 13px 16px; font-size: .93rem; }
}
