/* ==========================================================================
   MyReward — rediseño 2026
   Paleta de marca: morado #6700b0 → #a301c0, acento amarillo #ffc233
   ========================================================================== */

:root {
    --purple: #6700b0;
    --purple-2: #a301c0;
    --violet: #5d55c8;
    --magenta: #d208ff;
    --accent: #ffc233;
    --accent-dark: #1d1233;
    --ink: #1d1233;
    --muted: #6f6685;
    --bg: #ffffff;
    --bg-soft: #f8f5fd;
    --line: #ece5f7;
    --grad: linear-gradient(120deg, var(--purple) 0%, var(--purple-2) 60%, var(--magenta) 120%);
    --shadow-sm: 0 4px 16px rgba(103, 0, 176, .08);
    --shadow-md: 0 14px 40px rgba(103, 0, 176, .14);
    --shadow-lg: 0 24px 70px rgba(103, 0, 176, .22);
    --radius: 22px;
    --header-h: 76px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); text-decoration: none; transition: color .25s ease; }
ul, ol { list-style: none; }

.container {
    width: min(1160px, 100% - 48px);
    margin-inline: auto;
}

.section { padding: 110px 0; }
section[id] { scroll-margin-top: 64px; }
.bg-soft { background: var(--bg-soft); }
.mb-30 { margin-bottom: 30px; }

/* ---------- Tipografía ---------- */
h1, h2, h3, h4 { font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.25rem; }

.grad-text {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.eyebrow {
    display: inline-block;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--purple-2);
    background: rgba(163, 1, 192, .08);
    border: 1px solid rgba(163, 1, 192, .18);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 18px;
}

.section-heading {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}
.section-heading p { color: var(--muted); margin-top: 14px; font-size: 1.06rem; }
.section-heading.light h2 { color: #fff; }
.section-heading.light p { color: rgba(255, 255, 255, .78); }
.section-heading.light .eyebrow {
    color: var(--accent);
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .22);
}

/* ---------- Botones ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-weight: 700;
    font-size: .95rem;
    padding: 14px 30px;
    border-radius: 100px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: var(--grad);
    color: #fff;
    box-shadow: 0 10px 26px rgba(103, 0, 176, .35);
}
.btn-primary:hover { box-shadow: 0 14px 34px rgba(103, 0, 176, .45); color: #fff; }

.btn-accent {
    background: var(--accent);
    color: var(--accent-dark);
    box-shadow: 0 10px 26px rgba(255, 194, 51, .45);
}
.btn-accent:hover { background: #ffcf5c; box-shadow: 0 14px 34px rgba(255, 194, 51, .55); color: var(--accent-dark); }

.btn-outline {
    background: transparent;
    color: var(--purple);
    border-color: var(--purple);
}
.btn-outline:hover { background: var(--purple); color: #fff; box-shadow: 0 10px 26px rgba(103, 0, 176, .3); }

.btn-ghost { color: var(--ink); background: transparent; }
.btn-ghost:hover { color: var(--purple); }

.btn-sm { padding: 10px 22px; font-size: .88rem; }
.btn-block { width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    height: var(--header-h);
    display: flex;
    align-items: center;
    transition: background .3s ease, box-shadow .3s ease, height .3s ease;
}
.header.scrolled {
    background: rgba(255, 255, 255, .86);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 4px 24px rgba(29, 18, 51, .08);
    height: 64px;
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 38px; height: 38px; }
.brand-name {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -.02em;
    color: #fff;
    transition: color .3s ease;
}
.brand-name em { font-style: normal; color: var(--accent); transition: color .3s ease; }
.header.scrolled .brand-name { color: var(--ink); }
.header.scrolled .brand-name em { color: var(--purple); }

.nav-list { display: flex; gap: 6px; }
.nav-link {
    display: block;
    padding: 8px 16px;
    font-size: .92rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .85);
    border-radius: 100px;
    transition: color .25s ease, background .25s ease;
}
.nav-link:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.nav-link.active { color: #fff; background: rgba(255, 255, 255, .16); }
.header.scrolled .nav-link { color: var(--muted); }
.header.scrolled .nav-link:hover { color: var(--purple); background: rgba(103, 0, 176, .07); }
.header.scrolled .nav-link.active { color: var(--purple); background: rgba(103, 0, 176, .09); }

.nav-actions { display: flex; align-items: center; gap: 8px; }
.header:not(.scrolled) .btn-ghost { color: rgba(255, 255, 255, .9); }
.header:not(.scrolled) .btn-ghost:hover { color: #fff; }

/* Hamburguesa */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: transparent;
    border: 0;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    height: 2.5px;
    border-radius: 2px;
    background: #fff;
    transition: transform .3s ease, opacity .3s ease, background .3s ease;
}
.header.scrolled .nav-toggle span, .header.menu-open .nav-toggle span { background: var(--ink); }
.header.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.header.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.header.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-h) + 60px) 0 140px;
    background:
        radial-gradient(900px 600px at 85% -10%, rgba(210, 8, 255, .35), transparent 60%),
        radial-gradient(700px 500px at -10% 90%, rgba(93, 85, 200, .5), transparent 60%),
        linear-gradient(135deg, #4a0080 0%, var(--purple) 45%, var(--purple-2) 100%);
    color: #fff;
    overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: .5;
    animation: blob-float 14s ease-in-out infinite alternate;
}
.blob-1 { width: 420px; height: 420px; background: var(--magenta); top: -120px; right: -80px; }
.blob-2 { width: 340px; height: 340px; background: var(--violet); bottom: -60px; left: -100px; animation-delay: -5s; }
.blob-3 { width: 260px; height: 260px; background: var(--accent); opacity: .18; top: 40%; left: 55%; animation-delay: -9s; }

@keyframes blob-float {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(40px, -30px) scale(1.15); }
}

.star {
    position: absolute;
    color: var(--accent);
    font-size: 1.1rem;
    opacity: .7;
    animation: twinkle 3.2s ease-in-out infinite;
}
.star-1 { top: 22%; left: 8%; }
.star-2 { top: 14%; right: 30%; animation-delay: -.9s; font-size: .8rem; }
.star-3 { bottom: 34%; left: 42%; animation-delay: -1.7s; font-size: .9rem; }
.star-4 { top: 48%; right: 6%; animation-delay: -2.4s; }

@keyframes twinkle {
    0%, 100% { opacity: .25; transform: scale(.8) rotate(0deg); }
    50%      { opacity: .9;  transform: scale(1.15) rotate(20deg); }
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 48px;
}

.hero-badge {
    display: inline-block;
    font-size: .85rem;
    font-weight: 600;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .25);
    backdrop-filter: blur(6px);
    padding: 8px 18px;
    border-radius: 100px;
    margin-bottom: 22px;
}

.hero h1 { margin-bottom: 20px; }
.hero h1 .grad-text {
    background: linear-gradient(100deg, var(--accent), #ffe29a);
    -webkit-background-clip: text;
    background-clip: text;
}

.hero-sub {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, .82);
    max-width: 520px;
    margin-bottom: 34px;
}

.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.store-btn {
    display: inline-block;
    border-radius: 12px;
    transition: transform .25s ease, box-shadow .25s ease;
}
.store-btn img { height: 52px; width: auto; }
.store-btn:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 14px 30px rgba(0, 0, 0, .3); }

.hero-checks { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 28px; }
.hero-checks li {
    font-size: .9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .85);
    display: flex;
    align-items: center;
    gap: 8px;
}
.hero-checks li::before {
    content: "✓";
    display: inline-grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--accent-dark);
    font-size: .7rem;
    font-weight: 800;
}

/* Visual del hero */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone-glow {
    position: absolute;
    inset: 12% 6%;
    background: radial-gradient(closest-side, rgba(255, 194, 51, .35), rgba(210, 8, 255, .25), transparent);
    filter: blur(50px);
    animation: glow-pulse 5s ease-in-out infinite;
}
@keyframes glow-pulse {
    0%, 100% { opacity: .7; transform: scale(1); }
    50%      { opacity: 1;  transform: scale(1.06); }
}

.hero-phone {
    position: relative;
    width: min(430px, 88%);
    filter: drop-shadow(0 40px 60px rgba(20, 0, 45, .5));
    animation: phone-float 6s ease-in-out infinite;
}
@keyframes phone-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%      { transform: translateY(-18px) rotate(-1.2deg); }
}

.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, .95);
    color: var(--ink);
    border-radius: 16px;
    padding: 12px 18px;
    box-shadow: var(--shadow-lg);
    animation: card-bob 5s ease-in-out infinite;
}
.float-card strong { display: block; font-size: .85rem; }
.float-card small { color: var(--muted); font-size: .75rem; }
.fc-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(103, 0, 176, .1);
    font-size: 1.2rem;
}
.float-card-1 { top: 12%; left: -4%; animation-delay: -1.5s; }
.float-card-2 { bottom: 14%; right: -4%; }

@keyframes card-bob {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-12px); }
}

.hero-wave {
    position: absolute;
    inset: auto 0 -1px;
    line-height: 0;
}
.hero-wave svg { width: 100%; height: 110px; display: block; }

/* ==========================================================================
   Features
   ========================================================================== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.feature-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: left;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}
.feature-card h3 { margin: 22px 0 10px; font-size: 1.12rem; }
.feature-card p { color: var(--muted); font-size: .94rem; }

.f-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    transition: transform .3s ease;
}
.f-icon svg { width: 26px; height: 26px; }
.feature-card:hover .f-icon { transform: scale(1.08) rotate(-4deg); }

.f-icon-1 { background: rgba(103, 0, 176, .1); color: var(--purple); }
.f-icon-2 { background: rgba(210, 8, 255, .1); color: var(--magenta); }
.f-icon-3 { background: rgba(93, 85, 200, .12); color: var(--violet); }
.f-icon-4 { background: rgba(255, 194, 51, .18); color: #b07900; }

/* ==========================================================================
   How it works
   ========================================================================== */
.how-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
}

.how-visual { position: relative; }
.how-img-glow {
    position: absolute;
    inset: 8%;
    background: radial-gradient(closest-side, rgba(163, 1, 192, .18), transparent);
    filter: blur(40px);
}
.how-visual img { position: relative; }

.how-content h2 { margin-bottom: 18px; }
.how-content > p { color: var(--muted); }

.steps { margin: 34px 0 38px; display: grid; gap: 22px; }
.steps li { display: flex; gap: 18px; align-items: flex-start; }
.steps h4 { font-size: 1.05rem; margin-bottom: 2px; }
.steps p { color: var(--muted); font-size: .92rem; }

.step-num {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--grad);
    color: #fff;
    font-weight: 800;
    font-size: 1.05rem;
    box-shadow: 0 8px 20px rgba(103, 0, 176, .3);
}

/* ==========================================================================
   Screenshots — carrusel
   ========================================================================== */
.carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
}

.car-track {
    display: flex;
    gap: 26px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 18px 6px 28px;
    scrollbar-width: none;
    flex: 1;
}
.car-track::-webkit-scrollbar { display: none; }

.shot {
    flex: 0 0 auto;
    width: min(250px, 62vw);
    scroll-snap-align: center;
    border-radius: 28px;
    overflow: hidden;
    border: 6px solid var(--ink);
    box-shadow: var(--shadow-md);
    transition: transform .35s ease, box-shadow .35s ease;
    background: #fff;
}
.shot:hover { transform: translateY(-10px) scale(1.02); box-shadow: var(--shadow-lg); }
.shot img { width: 100%; }

.car-btn {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--purple);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: background .25s ease, color .25s ease, transform .25s ease;
    z-index: 2;
}
.car-btn svg { width: 22px; height: 22px; }
.car-btn:hover { background: var(--purple); color: #fff; transform: scale(1.08); }

.car-dots { display: flex; justify-content: center; gap: 10px; margin-top: 6px; }
.car-dot {
    width: 10px;
    height: 10px;
    border-radius: 100px;
    border: 0;
    background: var(--line);
    cursor: pointer;
    padding: 0;
    transition: background .3s ease, width .3s ease;
}
.car-dot.active { background: var(--purple); width: 28px; }

/* ==========================================================================
   Reviews
   ========================================================================== */
.reviews {
    position: relative;
    background:
        radial-gradient(800px 500px at 110% 10%, rgba(210, 8, 255, .3), transparent 60%),
        linear-gradient(135deg, #3f006b 0%, var(--purple) 55%, var(--purple-2) 100%);
    overflow: hidden;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.review-card {
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .14);
    backdrop-filter: blur(8px);
    border-radius: var(--radius);
    padding: 34px 30px;
    color: #fff;
    transition: transform .3s ease, background .3s ease;
}
.review-card:hover { transform: translateY(-8px); background: rgba(255, 255, 255, .11); }

.stars { color: var(--accent); letter-spacing: 4px; font-size: 1.05rem; margin-bottom: 16px; }
.review-card > p { color: rgba(255, 255, 255, .88); font-size: .96rem; margin-bottom: 26px; }

.review-card footer { display: flex; align-items: center; gap: 14px; }
.review-card footer img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
    padding: 4px;
}
.review-card footer strong { display: block; font-size: .95rem; }
.review-card footer small { color: rgba(255, 255, 255, .6); font-size: .8rem; }

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
}

.price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: 40px 34px;
    transition: transform .3s ease, box-shadow .3s ease;
}
.price-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }

.price-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.price-desc { color: var(--muted); font-size: .88rem; min-height: 2.6em; }

.price { display: flex; align-items: baseline; gap: 8px; margin: 18px 0 26px; }
.price .amount {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -.03em;
}
.price .period { color: var(--muted); font-size: .9rem; font-weight: 600; }

.price-list { display: grid; gap: 12px; margin-bottom: 34px; flex: 1; }
.price-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .93rem;
    color: #4a415e;
}
.price-list li::before {
    content: "✓";
    flex-shrink: 0;
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(103, 0, 176, .09);
    color: var(--purple);
    font-size: .72rem;
    font-weight: 800;
}

/* Plan destacado */
.price-card.featured {
    background: linear-gradient(160deg, #4a0080 0%, var(--purple) 55%, var(--purple-2) 100%);
    color: #fff;
    border: 0;
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
    z-index: 1;
}
.price-card.featured:hover { transform: scale(1.05) translateY(-8px); }
.price-card.featured .price-desc { color: var(--accent); font-weight: 600; }
.price-card.featured .period { color: rgba(255, 255, 255, .7); }
.price-card.featured .price-list li { color: rgba(255, 255, 255, .9); }
.price-card.featured .price-list li::before { background: rgba(255, 255, 255, .16); color: var(--accent); }

.badge-popular {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--accent-dark);
    font-size: .78rem;
    font-weight: 800;
    padding: 7px 20px;
    border-radius: 100px;
    box-shadow: 0 8px 20px rgba(255, 194, 51, .5);
    white-space: nowrap;
    animation: badge-pulse 2.4s ease-in-out infinite;
}
@keyframes badge-pulse {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50%      { transform: translateX(-50%) scale(1.06); }
}

.badge-save {
    position: absolute;
    top: 22px;
    right: 22px;
    background: rgba(103, 0, 176, .08);
    color: var(--purple);
    font-size: .72rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 100px;
}

.pricing-note {
    text-align: center;
    color: var(--muted);
    font-size: .92rem;
    margin-top: 44px;
}

/* ==========================================================================
   Download CTA
   ========================================================================== */
.download { padding-bottom: 0; overflow: hidden; }
.download-inner {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 40px;
    background:
        radial-gradient(600px 400px at 90% 0%, rgba(210, 8, 255, .35), transparent 60%),
        linear-gradient(135deg, #4a0080, var(--purple) 55%, var(--purple-2));
    border-radius: 34px;
    padding: 0 60px;
    color: #fff;
    box-shadow: var(--shadow-lg);
}
.download-content { padding: 70px 0; }
.download-content h2 { margin-bottom: 14px; }
.download-content p { color: rgba(255, 255, 255, .8); margin-bottom: 30px; }

.download-visual { align-self: end; display: flex; justify-content: center; }
.download-visual img {
    max-height: 400px;
    width: auto;
    filter: drop-shadow(0 30px 40px rgba(20, 0, 45, .45));
    animation: phone-float 7s ease-in-out infinite;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { text-align: center; }

.subscribe-form {
    display: flex;
    gap: 12px;
    max-width: 520px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 100px;
    padding: 8px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .3s ease, border-color .3s ease;
}
.subscribe-form:focus-within { border-color: var(--purple-2); box-shadow: var(--shadow-md); }

.form-input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    font-family: inherit;
    font-size: .98rem;
    padding: 10px 20px;
    color: var(--ink);
}
.form-input::placeholder { color: #a99fbf; }

.subscribe-result { margin-top: 18px; font-weight: 600; min-height: 1.6em; }
.subscribe-result.ok { color: #1c9e5f; }
.subscribe-result.error { color: #d33; }

.social-share {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 36px;
}
.social-share a {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(103, 0, 176, .08);
    color: var(--purple);
    transition: background .25s ease, color .25s ease, transform .25s ease;
}
.social-share svg { width: 22px; height: 22px; }
.social-share a:hover { background: var(--grad); color: #fff; transform: translateY(-4px); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: #22103a;
    color: rgba(255, 255, 255, .7);
    padding: 34px 0;
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.footer .brand-name { color: #fff; font-size: 1.05rem; }
.footer .brand-name em { color: var(--accent); }
.footer .brand-mark { width: 30px; height: 30px; }
.footer p { font-size: .88rem; }
.footer p a { color: #fff; font-weight: 700; }
.footer p a:hover { color: var(--accent); }
.footer-link { color: rgba(255, 255, 255, .7); font-size: .88rem; font-weight: 600; }
.footer-link:hover { color: var(--accent); }

/* ---------- Scroll to top ---------- */
#scroll-to-top {
    position: fixed;
    bottom: 26px;
    right: 26px;
    z-index: 90;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--grad);
    color: #fff;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
#scroll-to-top svg { width: 20px; height: 20px; }
#scroll-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
#scroll-to-top:hover { transform: translateY(-4px); }

/* ==========================================================================
   Animaciones de entrada (IntersectionObserver)
   ========================================================================== */
.anim {
    opacity: 0;
    transition: opacity .8s cubic-bezier(.22, .61, .36, 1), transform .8s cubic-bezier(.22, .61, .36, 1);
    will-change: opacity, transform;
}
.anim-up { transform: translateY(36px); }
.anim-left { transform: translateX(-40px); }
.anim-right { transform: translateX(40px); }
.anim.in { opacity: 1; transform: none; }

.d-1 { transition-delay: .12s; }
.d-2 { transition-delay: .24s; }
.d-3 { transition-delay: .36s; }
.d-4 { transition-delay: .48s; }

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

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .section { padding: 90px 0; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-content { display: flex; flex-direction: column; align-items: center; }
    .hero-visual { max-width: 480px; margin: 20px auto 0; }
    .how-wrap { grid-template-columns: 1fr; gap: 50px; }
    .how-visual { max-width: 520px; margin-inline: auto; }
    .review-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; gap: 40px; }
    .price-card.featured { transform: none; }
    .price-card.featured:hover { transform: translateY(-8px); }
    .download-inner { grid-template-columns: 1fr; text-align: center; padding: 0 34px; }
    .download-content { padding: 60px 0 0; }
    .download-content .hero-btns { justify-content: center; }
    .download-visual { margin-top: 30px; }
}

@media (max-width: 768px) {
    :root { --header-h: 66px; }
    .section { padding: 70px 0; }
    .container { width: min(1160px, 100% - 40px); }

    .nav-toggle { display: flex; }
    .nav-actions .btn-ghost { display: none; }

    .mainmenu {
        position: fixed;
        top: 0;
        right: 0;
        height: 100dvh;
        width: min(320px, 82vw);
        background: #fff;
        box-shadow: -20px 0 60px rgba(29, 18, 51, .18);
        padding: 100px 28px 28px;
        transform: translateX(100%);
        transition: transform .35s cubic-bezier(.22, .61, .36, 1);
        z-index: -1;
    }
    .header.menu-open .mainmenu { transform: translateX(0); }
    .nav-list { flex-direction: column; gap: 4px; }
    .nav-link { color: var(--ink) !important; font-size: 1.05rem; padding: 12px 16px; }
    .nav-link:hover, .nav-link.active { color: var(--purple) !important; background: rgba(103, 0, 176, .07); }

    .hero { padding-bottom: 120px; }
    .float-card-1 { left: 0; }
    .float-card-2 { right: 0; }
    .feature-grid { grid-template-columns: 1fr; }
    .car-btn { display: none; }
    .store-btn img { height: 46px; }
    .footer-inner { justify-content: center; text-align: center; }
}

@media (max-width: 420px) {
    .float-card { display: none; }
    .subscribe-form { flex-direction: column; border-radius: 24px; }
    .subscribe-form .btn { width: 100%; }
}
