/* MaestroOK website */
:root {
    --brand: #ffb300;
    --brand-2: #ff6d00;
    --grad: linear-gradient(120deg, #ffc93c 0%, #ff8a00 50%, #ff4d1f 100%);
    --ink: #0f172a;
    --ink-2: #334155;
    --muted: #64748b;
    --line: #e7eaf3;
    --bg: #ffffff;
    --soft: #f6f7fb;
    --night-1: #0b1023;
    --night-2: #1b1546;
    --violet: #7c3aed;
    --teal: #0d9488;
    --sky: #2563eb;
    --radius: 22px;
    --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 12px 32px rgba(15, 23, 42, .08);
    --shadow-lg: 0 30px 60px -20px rgba(15, 23, 42, .35);
    --ease: cubic-bezier(.2, .8, .2, 1);
    --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
    color: var(--ink-2);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); margin: 0 0 .5em; line-height: 1.12; letter-spacing: -.02em; }
h2 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0 0 1em; }
::selection { background: rgba(255, 179, 0, .35); }

.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(860px, 100% - 40px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 8px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 12px 20px; border-radius: 14px; font-weight: 700; font-size: 15px;
    border: 0; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
    will-change: transform;
}
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 12px; }
.btn-lg { padding: 16px 26px; font-size: 16px; border-radius: 16px; }
.btn-brand { background: var(--grad); color: #1a1204; box-shadow: 0 14px 30px -10px rgba(255, 109, 0, .7); background-size: 160% 160%; animation: shine 6s ease infinite; }
.btn-brand:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -12px rgba(255, 109, 0, .8); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; box-shadow: 0 14px 30px -12px rgba(15, 23, 42, .6); }
.btn-dark:hover { transform: translateY(-2px); background: #1e293b; }

/* ---------- Nav ---------- */
.nav {
    position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 50;
    transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav.scrolled { background: rgba(11, 16, 35, .78); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); box-shadow: 0 10px 30px rgba(0, 0, 0, .2); }
.nav-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: #fff; letter-spacing: -.01em; }
.brand img { width: 40px; height: 40px; border-radius: 12px; box-shadow: 0 8px 20px rgba(255, 138, 0, .4); }
.brand b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a { color: rgba(255, 255, 255, .8); font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 10px; transition: color .2s, background .2s; }
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; background: rgba(255, 255, 255, .1); border-radius: 12px; padding: 3px; }
.lang a { color: rgba(255, 255, 255, .7); font-weight: 700; font-size: 13px; padding: 5px 10px; border-radius: 9px; transition: background .2s, color .2s; }
.lang a.on { background: #fff; color: var(--ink); }
.menu-btn { display: none; width: 42px; height: 42px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .1); cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), top .3s; }
.menu-btn span:first-child { top: 16px; }
.menu-btn span:last-child { top: 24px; }
.nav.open .menu-btn span:first-child { top: 20px; transform: rotate(45deg); }
.nav.open .menu-btn span:last-child { top: 20px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden; color: #fff;
    background: radial-gradient(1200px 600px at 80% -10%, #2a1d6b 0%, transparent 60%), linear-gradient(165deg, var(--night-1) 0%, var(--night-2) 100%);
    padding: calc(var(--nav-h) + 56px) 0 100px;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.b1 { width: 520px; height: 520px; background: #ff9f1c; top: -160px; left: -160px; }
.b2 { width: 460px; height: 460px; background: #7c3aed; bottom: -200px; right: -120px; animation-delay: -6s; }
.b3 { width: 300px; height: 300px; background: #ff4d1f; top: 40%; left: 45%; opacity: .25; animation-delay: -11s; }
.grid-lines {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.kicker {
    display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    color: #b45309; background: #fff4dc; padding: 7px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero .kicker, .kicker-light { color: #ffd479; background: rgba(255, 179, 0, .12); border: 1px solid rgba(255, 179, 0, .3); }
.kicker-dark { color: #fff; background: rgba(15, 23, 42, .9); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: pulse 2s infinite; }
.hero h1 { font-size: clamp(40px, 6.4vw, 76px); font-weight: 800; color: #fff; margin-bottom: 22px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 200%; animation: shine 6s ease infinite; }
/* The changing trade always has its own line under "El maestro", so the headline never reflows. */
.rotator { display: block; position: relative; color: var(--brand); white-space: nowrap; height: 1.12em; overflow: hidden; }
.rotator-word { display: inline-block; animation: word-in .55s var(--ease) both; }
.rotator-word.out { animation: word-out .4s var(--ease) both; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: rgba(226, 232, 240, .82); max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 34px; }
.trust { display: flex; flex-wrap: wrap; gap: 22px; }
.trust-item { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 14px; }
.trust-item small { color: rgba(226, 232, 240, .65); }
.ico { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; font-size: 15px; }
.ico-green { background: rgba(34, 197, 94, .18); color: #4ade80; }
.ico-blue { background: rgba(56, 189, 248, .16); }

/* Phone mock-up */
.hero-visual { position: relative; height: 690px; display: grid; place-items: center; perspective: 1200px; }
.phone {
    position: relative; width: 300px; height: 600px; border-radius: 46px; padding: 12px;
    background: linear-gradient(145deg, #2b2f3a, #0d1017); box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255, 255, 255, .08);
    transform-style: preserve-3d; animation: float 7s ease-in-out infinite; z-index: 2;
}
.phone-notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 92px; height: 24px; border-radius: 20px; background: #05070c; z-index: 3; }
.phone-screen { height: 100%; border-radius: 36px; overflow: hidden; background: #f6f7fb; color: var(--ink); }
.ph-header { background: var(--grad); padding: 54px 18px 18px; border-radius: 0 0 24px 24px; }
.ph-header small { display: block; font-weight: 600; opacity: .8; }
.ph-header strong { display: block; font-size: 18px; line-height: 1.2; margin: 2px 0 12px; }
.ph-search { background: #fff; border-radius: 12px; padding: 10px 12px; font-size: 13px; color: var(--muted); box-shadow: 0 6px 14px rgba(0, 0, 0, .08); }
.ph-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 16px 14px 10px; }
.ph-tile { background: #fff; border-radius: 16px; padding: 10px 6px; text-align: center; box-shadow: 0 2px 8px rgba(15, 23, 42, .06); }
.ph-tile img { width: 44px; height: 44px; margin: 0 auto 6px; border-radius: 12px; }
.ph-tile span { font-size: 10.5px; font-weight: 700; line-height: 1.2; display: block; height: 3.6em; overflow: hidden; }
.ph-card { margin: 8px 14px; display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 16px; padding: 12px; box-shadow: 0 10px 24px rgba(15, 23, 42, .12); animation: pop-in .8s 1.2s var(--ease) both; }
.ph-check { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #dcfce7; color: #15803d; font-weight: 800; }
.ph-card b { display: block; font-size: 13px; }
.ph-card small { color: var(--muted); font-size: 12px; }
.float-card {
    position: absolute; z-index: 3; display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-radius: 18px;
    background: rgba(255, 255, 255, .95); color: var(--ink); box-shadow: var(--shadow-lg); animation: float 6s ease-in-out infinite;
}
.float-card span { font-size: 22px; }
.float-card b { display: block; font-size: 15px; }
.float-card small { color: var(--muted); font-size: 12px; }
/* Cards hug the phone's top-left and bottom-right corners, clear of its screen content. */
.fc1 { top: 0; left: max(0px, calc(50% - 260px)); animation-delay: -2s; }
.fc2 { bottom: 0; right: max(0px, calc(50% - 260px)); animation-delay: -4s; }
.orbit { position: absolute; width: 520px; height: 520px; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .14); animation: spin 60s linear infinite; }
.orbit-icon { position: absolute; width: 64px; height: 64px; border-radius: 18px; box-shadow: 0 12px 26px rgba(0, 0, 0, .35); animation: spin 60s linear infinite reverse; }
.o0 { top: -32px; left: calc(50% - 32px); }
.o1 { top: 18%; right: -20px; }
.o2 { bottom: 18%; right: -20px; }
.o3 { bottom: -32px; left: calc(50% - 32px); }
.o4 { bottom: 18%; left: -20px; }
.o5 { top: 18%; left: -20px; }

/* ---------- Stats ---------- */
.stats { position: relative; margin-top: -54px; z-index: 5; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 26px; box-shadow: var(--shadow-lg); padding: 10px; }
.stat { text-align: center; padding: 22px 10px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat-value { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; color: var(--ink); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { color: var(--muted); font-weight: 600; font-size: 14px; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.section-soft { background: var(--soft); }
.section-dark { background: linear-gradient(165deg, var(--night-1), var(--night-2)); color: rgba(226, 232, 240, .85); overflow: hidden; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head p { font-size: 18px; }

/* Trades */
.trades { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trade {
    display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 20px; background: #fff;
    border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.trade:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(255, 179, 0, .5); }
.trade-img { flex: none; width: 60px; height: 60px; border-radius: 16px; overflow: hidden; transition: transform .45s var(--ease); }
.trade:hover .trade-img { transform: rotate(-6deg) scale(1.08); }
.trade-name { flex: 1; font-weight: 700; color: var(--ink); font-size: 15px; line-height: 1.3; }
.trade-arrow { color: var(--brand-2); font-weight: 800; opacity: 0; transform: translateX(-6px); transition: .3s var(--ease); }
.trade:hover .trade-arrow { opacity: 1; transform: none; }

.marquee { margin-top: 56px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.chip { white-space: nowrap; padding: 10px 18px; border-radius: 999px; background: #fff4dc; color: #92400e; font-weight: 700; font-size: 14px; }
.chip:nth-child(3n) { background: #ede9fe; color: #5b21b6; }
.chip:nth-child(3n+1) { background: #e0f2fe; color: #075985; }

/* Steps */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.steps-line { position: absolute; top: 46px; left: 16%; right: 16%; height: 3px; background: rgba(255, 255, 255, .1); border-radius: 3px; overflow: hidden; }
.steps-line span { display: block; height: 100%; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) .3s; }
.steps.in .steps-line span { transform: scaleX(1); }
.step { text-align: center; position: relative; }
.step-icon {
    position: relative; width: 94px; height: 94px; margin: 0 auto 22px; border-radius: 28px; display: grid; place-items: center; font-size: 38px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04)); border: 1px solid rgba(255, 255, 255, .14);
    backdrop-filter: blur(10px); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .6);
}
.step-icon b { position: absolute; top: -10px; right: -10px; width: 32px; height: 32px; border-radius: 50%; background: var(--grad); color: #1a1204; font-size: 15px; display: grid; place-items: center; box-shadow: 0 8px 18px rgba(255, 109, 0, .5); }
.step p { max-width: 300px; margin-inline: auto; }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { padding: 28px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s; transform-style: preserve-3d; }
.feature:hover { box-shadow: var(--shadow-lg); }
.feature-icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; font-size: 26px; margin-bottom: 18px; }
.f-amber { background: #fff4dc; }
.f-violet { background: #ede9fe; }
.f-teal { background: #ccfbf1; }
.f-sky { background: #e0f2fe; }

/* Pros */
.pros {
    position: relative; overflow: hidden; display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center;
    padding: 60px; border-radius: 34px; background: var(--grad); color: #1a1204; box-shadow: 0 40px 80px -30px rgba(255, 109, 0, .6);
}
.pros h2 { color: #1a1204; }
.pros p { font-size: 18px; max-width: 520px; }
.checks { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: center; font-weight: 700; }
.checks li::before { content: "✓"; flex: none; width: 28px; height: 28px; border-radius: 50%; background: rgba(15, 23, 42, .9); color: #ffd479; display: grid; place-items: center; font-size: 14px; }
.pros-visual { position: relative; height: 340px; }
.earn-card {
    position: absolute; inset: 30px 20px auto auto; width: 280px; padding: 22px; border-radius: 24px; background: #0f172a; color: #fff;
    box-shadow: var(--shadow-lg); animation: float 7s ease-in-out infinite;
}
.earn-card small { color: rgba(255, 255, 255, .6); }
.earn-card b { display: block; font-size: 30px; margin: 4px 0 16px; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 90px; }
.bars i { flex: 1; height: var(--h); border-radius: 8px 8px 4px 4px; background: var(--grad); transform-origin: bottom; transform: scaleY(0); transition: transform 1s var(--ease); }
.pros.in .bars i { transform: scaleY(1); }
.pros.in .bars i:nth-child(2) { transition-delay: .08s; } .pros.in .bars i:nth-child(3) { transition-delay: .16s; }
.pros.in .bars i:nth-child(4) { transition-delay: .24s; } .pros.in .bars i:nth-child(5) { transition-delay: .32s; }
.pros.in .bars i:nth-child(6) { transition-delay: .40s; } .pros.in .bars i:nth-child(7) { transition-delay: .48s; }
.job-card { position: absolute; display: flex; gap: 12px; align-items: center; padding: 12px 16px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-lg); animation: float 6s ease-in-out infinite; }
.job-card span { font-size: 22px; }
.job-card b { display: block; color: var(--ink); font-size: 14px; }
.job-card small { color: var(--muted); font-size: 12px; }
.jc1 { left: 0; top: 0; animation-delay: -2s; }
.jc2 { left: 30px; bottom: 10px; animation-delay: -4s; }

/* Quotes */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { margin: 0; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.quote blockquote { margin: 0 0 14px; font-size: 17px; color: var(--ink); }
.quote figcaption { font-weight: 700; color: var(--brand-2); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(15, 23, 42, .04); transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; font-weight: 700; color: var(--ink); font-size: 17px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.plus { flex: none; width: 30px; height: 30px; border-radius: 50%; background: #fff4dc; position: relative; transition: transform .35s var(--ease), background .3s; }
.plus::before, .plus::after { content: ""; position: absolute; left: 9px; right: 9px; top: 14px; height: 2px; background: #b45309; border-radius: 2px; }
.plus::after { transform: rotate(90deg); transition: transform .35s var(--ease); }
details[open] .plus { background: var(--brand); transform: rotate(180deg); }
details[open] .plus::after { transform: rotate(0); }
.answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
details[open] .answer { grid-template-rows: 1fr; }
.answer > p { overflow: hidden; margin: 0; padding: 0 22px; color: var(--muted); }
details[open] .answer > p { padding-bottom: 20px; }

/* Download */
.download {
    position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap;
    padding: 56px 60px; border-radius: 34px; color: #fff; background: linear-gradient(135deg, var(--night-1), var(--night-2));
}
.download h2 { color: #fff; font-size: clamp(28px, 3.6vw, 42px); }
.download p { color: rgba(226, 232, 240, .8); font-size: 18px; margin: 0; }
.dl-glow { position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 159, 28, .55), transparent 65%); animation: drift 12s ease-in-out infinite alternate; }
.store-badge { position: relative; display: inline-flex; align-items: center; gap: 12px; padding: 14px 24px; border-radius: 18px; background: #fff; color: var(--ink); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .6); transition: transform .3s var(--ease); }
.store-badge:hover { transform: translateY(-3px) scale(1.02); }
.store-badge svg { width: 30px; height: 30px; fill: #0f172a; }
.store-badge small { display: block; font-size: 12px; color: var(--muted); }
.store-badge b { font-size: 20px; }

/* Footer */
.footer { background: #070b18; color: rgba(226, 232, 240, .75); padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer a { display: block; padding: 4px 0; transition: color .2s; }
.footer a:hover { color: var(--brand); }
.footer .muted { color: rgba(148, 163, 184, .8); }
.brand-light { margin-bottom: 14px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); transition: background .25s, transform .25s; }
.socials a:hover { background: var(--brand); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.socials a:hover svg { fill: #1a1204; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14px; }

.wa-float {
    position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
    background: #25d366; box-shadow: 0 14px 30px -8px rgba(37, 211, 102, .7); animation: wa 2.6s ease-in-out infinite; transition: transform .25s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Legal pages ---------- */
.legal-hero { position: relative; overflow: hidden; color: #fff; padding: calc(var(--nav-h) + 50px) 0 60px; background: linear-gradient(165deg, var(--night-1), var(--night-2)); }
.legal-hero h1 { color: #fff; font-size: clamp(32px, 5vw, 52px); font-weight: 800; position: relative; }
.legal-hero .wrap { position: relative; }
.back { display: inline-block; color: rgba(226, 232, 240, .75); font-weight: 600; margin-bottom: 18px; }
.back:hover { color: var(--brand); }
.note { display: inline-block; background: rgba(255, 179, 0, .14); border: 1px solid rgba(255, 179, 0, .35); color: #ffd479; border-radius: 12px; padding: 8px 14px; font-size: 14px; }
.legal-body { padding: 60px 0 100px; }
.prose { color: var(--ink-2); font-size: 16.5px; }
.prose h1, .prose h2, .prose h3, .prose h4 { margin-top: 1.6em; font-size: 22px; }
.prose p { margin: 0 0 1em; }
.prose b, .prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose a { color: var(--brand-2); text-decoration: underline; }
.prose table { border-collapse: collapse; width: 100%; margin: 1em 0; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px; }
.lead-dark { font-size: 19px; color: var(--ink); }
.legal-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin: 26px 0; }
.legal-card { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .3s var(--ease); }
.legal-card.link:hover { transform: translateY(-4px); }
.legal-card p { word-break: break-word; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(80px, 50px) scale(1.15); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shine { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); } 70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
@keyframes word-in { from { transform: translateY(100%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes word-out { to { transform: translateY(-100%); opacity: 0; } }
@keyframes pop-in { from { opacity: 0; transform: translateY(20px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes wa { 0%, 100% { box-shadow: 0 14px 30px -8px rgba(37, 211, 102, .7), 0 0 0 0 rgba(37, 211, 102, .5); } 50% { box-shadow: 0 14px 30px -8px rgba(37, 211, 102, .7), 0 0 0 14px rgba(37, 211, 102, 0); } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .orbit { width: 440px; height: 440px; }
    .trades { grid-template-columns: repeat(3, 1fr); }
    .features { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
    :root { --nav-h: 64px; }
    .menu-btn { display: block; }
    .nav-links {
        position: fixed; top: var(--nav-h); left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; padding: 12px 20px 24px;
        background: rgba(11, 16, 35, .97); backdrop-filter: blur(16px); transform: translateY(-120%); opacity: 0;
        transition: transform .4s var(--ease), opacity .3s; pointer-events: none;
    }
    .nav-links a { padding: 14px 8px; font-size: 17px; border-bottom: 1px solid rgba(255, 255, 255, .06); border-radius: 0; }
    .nav.open { background: rgba(11, 16, 35, .97); }
    .nav.open .nav-links { transform: none; opacity: 1; pointer-events: auto; }
    .nav-actions { margin-left: auto; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-copy { display: flex; flex-direction: column; align-items: center; }
    .lead { margin-inline: auto; }
    .hero-ctas, .trust { justify-content: center; }
    .hero-visual { height: 690px; margin-top: 10px; }
    .orbit { width: 440px; height: 440px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(2) { border-right: 0; }
    .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .steps { grid-template-columns: 1fr; gap: 44px; }
    .steps-line { display: none; }
    .pros { grid-template-columns: 1fr; padding: 40px 28px; }
    .pros-visual { height: 300px; }
    .quotes { grid-template-columns: 1fr; }
    .section { padding: 80px 0; }
}
@media (max-width: 640px) {
    .nav-actions .btn-sm { display: none; }
    .trades { grid-template-columns: 1fr 1fr; gap: 10px; }
    .trade { flex-direction: column; text-align: center; gap: 8px; padding: 14px 10px; }
    .trade-arrow { display: none; }
    .trade-name { font-size: 13.5px; }
    .features { grid-template-columns: 1fr; }
    .hero-visual { transform: scale(.88); margin: -30px 0 -50px; }
    .orbit { display: none; } /* no room beside the phone mock-up on small screens */
    .download { padding: 40px 26px; text-align: center; justify-content: center; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .earn-card { right: 0; width: 240px; }
    .btn-lg { width: 100%; justify-content: center; }
}

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