/* =========================================================
   Sirio Express — Landing page
   Paleta inspirada en el logo: azul noche + cian/celeste
   ========================================================= */

:root {
    --bg-dark: #070b1a;
    --bg-navy: #0b1330;
    --bg-navy-2: #0f1a3d;
    --card: rgba(18, 30, 64, 0.55);
    --card-border: rgba(94, 233, 245, 0.18);
    --cyan: #2bd4e8;
    --cyan-bright: #5ee9f5;
    --cyan-deep: #16a9bd;
    --green: #25d366;
    --green-dark: #1da851;
    --text: #eaf1fb;
    --text-muted: #98a7c7;
    --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7);
    --radius: 18px;
    --maxw: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    position: relative;
}

/* Layered cosmic gradient on top of starfield canvas */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(900px 600px at 80% -10%, rgba(43, 212, 232, 0.18), transparent 60%),
        radial-gradient(700px 500px at 0% 100%, rgba(43, 212, 232, 0.10), transparent 55%),
        linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-navy) 45%, var(--bg-dark) 100%);
}

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

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ============== Buttons ============== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    white-space: nowrap;
    line-height: 1;
}
.btn-sm  { padding: 10px 20px; font-size: .9rem; }
.btn-lg  { padding: 16px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; padding: 15px 24px; font-size: 1rem; }

.btn-cyan {
    background: linear-gradient(135deg, var(--cyan-bright), var(--cyan-deep));
    color: #042027;
    box-shadow: 0 10px 28px -8px rgba(43, 212, 232, 0.6);
}
.btn-cyan:hover { transform: translateY(-3px); box-shadow: 0 16px 36px -8px rgba(43, 212, 232, 0.8); }

.btn-green {
    background: linear-gradient(135deg, #34e07a, var(--green-dark));
    color: #042611;
    box-shadow: 0 10px 28px -8px rgba(37, 211, 102, 0.55);
}
.btn-green:hover { transform: translateY(-3px); box-shadow: 0 16px 36px -8px rgba(37, 211, 102, 0.75); }

.btn-ghost {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    border: 1px solid var(--card-border);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--cyan); background: rgba(43, 212, 232, 0.08); }

.wa-icon { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }

/* ============== Navbar ============== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
    padding: 18px 0;
}
.navbar.scrolled {
    background: rgba(7, 11, 26, 0.82);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 30px -12px rgba(0, 0, 0, 0.6);
    padding: 10px 0;
    border-bottom: 1px solid rgba(94, 233, 245, 0.1);
}
.nav-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 44px; height: 44px; object-fit: contain; border-radius: 10px; }
.brand-name { font-weight: 700; font-size: 1.25rem; letter-spacing: .3px; }
.brand-name .accent { color: var(--cyan); }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--text-muted); font-weight: 500; font-size: .98rem; transition: color .2s ease; }
.nav-links a:hover { color: var(--cyan-bright); }
.nav-links a.btn { color: #042027; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.nav-toggle span {
    width: 26px; height: 2.5px;
    background: var(--text);
    border-radius: 2px;
    transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============== Hero ============== */
.hero {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 160px 24px 80px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 50px;
    min-height: 100vh;
}
.eyebrow {
    display: inline-block;
    background: rgba(43, 212, 232, 0.12);
    border: 1px solid var(--card-border);
    color: var(--cyan-bright);
    padding: 7px 16px;
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 500;
    margin-bottom: 22px;
}
.hero h1 {
    font-size: clamp(2.3rem, 5vw, 3.8rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -1px;
}
.gradient-text {
    background: linear-gradient(120deg, var(--cyan-bright), #8af6ff 60%, var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-sub {
    color: var(--text-muted);
    font-size: 1.15rem;
    margin: 22px 0 32px;
    max-width: 540px;
}
.hero-sub strong { color: var(--text); }

.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-badges {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 40px;
}
.hero-badges li { color: var(--text-muted); font-size: .95rem; }
.hero-badges strong { display: block; color: var(--cyan-bright); font-size: 1.4rem; font-weight: 700; }

/* Hero visual / logo glow */
.hero-visual { display: flex; justify-content: center; }
.logo-glow { position: relative; }
.logo-glow::after {
    content: "";
    position: absolute;
    inset: -10%;
    background: radial-gradient(circle, rgba(43, 212, 232, 0.35), transparent 65%);
    filter: blur(30px);
    z-index: -1;
    animation: pulse 5s ease-in-out infinite;
}
.hero-logo {
    width: 100%;
    max-width: 460px;
    border-radius: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--card-border);
    animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes pulse { 0%,100% { opacity: .55; } 50% { opacity: 1; } }

/* ============== Sections ============== */
.section { max-width: var(--maxw); margin: 0 auto; padding: 90px 24px; }
.section-alt { position: relative; }
.section-alt::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(11, 19, 48, 0.5);
    border-block: 1px solid rgba(94, 233, 245, 0.08);
}

.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.kicker {
    color: var(--cyan);
    font-weight: 600;
    font-size: .85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.section-head h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    margin: 12px 0 16px;
    line-height: 1.2;
}
.section-head p { color: var(--text-muted); font-size: 1.1rem; }

/* ============== Steps ============== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 38px 30px;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    position: relative;
    transition: transform .3s ease, border-color .3s ease;
}
.step:hover { transform: translateY(-6px); border-color: var(--cyan); }
.step-num {
    width: 50px; height: 50px;
    display: grid; place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--cyan-bright), var(--cyan-deep));
    color: #042027;
    font-weight: 800;
    font-size: 1.4rem;
    margin-bottom: 20px;
}
.step h3 { font-size: 1.25rem; margin-bottom: 10px; }
.step p { color: var(--text-muted); }

/* ============== Pillars (Filosofía) ============== */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pillar {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 36px 30px;
    text-align: center;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    transition: transform .3s ease, border-color .3s ease;
}
.pillar:hover { transform: translateY(-6px); border-color: var(--cyan); }
.pillar-icon { font-size: 2.4rem; display: block; margin-bottom: 14px; }
.pillar h3 { font-size: 1.3rem; margin-bottom: 12px; color: var(--cyan-bright); }
.pillar p { color: var(--text-muted); }

/* ============== Values ============== */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value {
    background: linear-gradient(160deg, rgba(43,212,232,0.08), rgba(18,30,64,0.4));
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 30px 24px;
    transition: transform .3s ease;
}
.value:hover { transform: translateY(-6px); }
.value h3 { font-size: 1.15rem; margin-bottom: 10px; }
.value h3::before { content: "✦ "; color: var(--cyan); }
.value p { color: var(--text-muted); font-size: .95rem; }

/* ============== Audience ============== */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.aud-card {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 36px 30px;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    transition: transform .3s ease, border-color .3s ease;
}
.aud-card:hover { transform: translateY(-6px); border-color: var(--cyan); }
.aud-emoji { font-size: 2.6rem; display: block; margin-bottom: 16px; }
.aud-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.aud-card p { color: var(--text-muted); }

/* ============== CTA final ============== */
.cta-final { padding: 90px 24px; }
.cta-box {
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(150deg, rgba(43,212,232,0.14), rgba(11,19,48,0.7));
    border: 1px solid var(--card-border);
    border-radius: 28px;
    padding: 56px 32px;
    box-shadow: var(--shadow);
}
.cta-box > h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: 10px; }
.cta-box > p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 40px; }

.cta-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.cta-card {
    background: rgba(7, 11, 26, 0.5);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 34px 28px;
    text-align: left;
    display: flex;
    flex-direction: column;
}
.cta-card-driver { border-color: rgba(37, 211, 102, 0.3); }
.cta-icon { font-size: 2.4rem; }
.cta-card h3 { font-size: 1.4rem; margin: 12px 0 8px; }
.cta-card p { color: var(--text-muted); margin-bottom: 22px; flex-grow: 1; }

/* ============== Footer ============== */
.footer {
    border-top: 1px solid rgba(94, 233, 245, 0.12);
    padding: 50px 24px 30px;
    background: rgba(7, 11, 26, 0.6);
}
.footer-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-logo { width: 56px; height: 56px; object-fit: contain; border-radius: 12px; }
.slogan { color: var(--cyan-bright); font-style: italic; font-weight: 300; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--text-muted); transition: color .2s ease; }
.footer-links a:hover { color: var(--cyan-bright); }
.copyright {
    max-width: var(--maxw);
    margin: 36px auto 0;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
    color: var(--text-muted);
    font-size: .88rem;
}

/* ============== Floating WhatsApp ============== */
.float-wa {
    position: fixed;
    bottom: 24px; right: 24px;
    width: 60px; height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #34e07a, var(--green-dark));
    display: grid; place-items: center;
    box-shadow: 0 10px 28px -6px rgba(37, 211, 102, 0.6);
    z-index: 90;
    animation: bob 2.6s ease-in-out infinite;
    transition: transform .2s ease;
}
.float-wa:hover { transform: scale(1.1); }
.float-wa svg { width: 32px; height: 32px; fill: #fff; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ============== Scroll reveal ============== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============== Responsive ============== */
@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; text-align: center; padding-top: 130px; min-height: 0; }
    .hero-sub { margin-inline: auto; }
    .hero-cta, .hero-badges { justify-content: center; }
    .hero-visual { order: -1; margin-bottom: 20px; }
    .hero-logo { max-width: 340px; }
    .steps, .pillars, .audience { grid-template-columns: 1fr; }
    .values { grid-template-columns: repeat(2, 1fr); }

    .nav-toggle { display: flex; }
    .nav-links {
        position: fixed;
        top: 0; right: 0;
        height: 100vh;
        width: min(78vw, 320px);
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 26px;
        padding: 40px;
        background: rgba(9, 14, 33, 0.97);
        -webkit-backdrop-filter: blur(16px);
        backdrop-filter: blur(16px);
        border-left: 1px solid var(--card-border);
        transform: translateX(100%);
        transition: transform .35s ease;
    }
    .nav-links.open { transform: translateX(0); }
    .nav-links a { font-size: 1.1rem; }
}

@media (max-width: 560px) {
    .values { grid-template-columns: 1fr; }
    .cta-cards { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; text-align: center; }
    .footer-brand { flex-direction: column; }
    .btn-lg { width: 100%; }
    .cta-box { padding: 40px 20px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; }
}
