/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg: #0a0a0a;
  --bg-2: #121212;
  --panel: #141414;
  --panel-2: #1a1a1a;
  --ink: #f5f5f0;
  --ink-soft: #d8d8d2;
  --ink-mute: #96968f;
  --accent: #c6ff33;
  --accent-dim: #9fd91f;
  --danger: #ff4d4d;
  --danger-2: #e8352d;
  --border: rgba(245, 245, 240, 0.1);
  --border-strong: rgba(245, 245, 240, 0.18);

  --display: "Space Grotesk", "Inter", Arial, sans-serif;
  --sans: "Inter", Arial, sans-serif;
  --mono: "JetBrains Mono", "Courier New", monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-h: 74px;
  --bar-h: 76px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; tab-size: 2; scroll-behavior: smooth; overflow-x: clip; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
  padding-top: var(--nav-h);
  padding-bottom: var(--bar-h);
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 {
  font-family: var(--display);
  text-wrap: balance;
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 600;
}
::selection { background: var(--accent); color: #0a0a0a; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .7rem 1.1rem; background: var(--accent); color: #0a0a0a;
  border-radius: 8px; font-weight: 700;
  transition: top .3s var(--ease-out);
}
.skip-link:focus { top: 1rem; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: .78rem; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
[data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity .8s var(--ease-soft), transform .8s var(--ease-soft); }
[data-reveal].is-revealed { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }

/* =============================================================
   4. Typography
   ============================================================= */
.section-title { font-size: clamp(1.7rem, 4vw, 2.5rem); margin-bottom: 14px; }
.section-sub { color: var(--ink-mute); max-width: 620px; font-size: 1.02rem; }
.section-head { margin-bottom: 46px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .section-sub { margin-inline: auto; }

/* =============================================================
   5. Components
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 700; font-size: .95rem;
  padding: 16px 30px; border-radius: 999px;
  transition: transform .5s var(--ease-soft), box-shadow .5s var(--ease-soft);
}
.btn svg { width: 17px; height: 17px; fill: currentColor; flex-shrink: 0; }
.btn-primary {
  background: var(--accent); color: #0a0a0a;
  box-shadow: 0 0 0 0 rgba(198,255,51,.4);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 46px -14px rgba(198,255,51,.55); }
.btn-primary:active { transform: translateY(-1px); transition-duration: .12s; }
.btn-outline {
  background: transparent; color: var(--ink); border: 1.5px solid var(--border-strong);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); }
.btn-block { width: 100%; justify-content: center; }

.magnetic-inner { display: inline-flex; align-items: center; gap: inherit; will-change: transform; }
.has-magnetic { display: inline-flex; isolation: isolate; }

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px 26px;
  --rx: 0deg; --ry: 0deg;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform .5s var(--ease-soft), border-color .4s;
}
.card:hover { border-color: var(--border-strong); }

/* =============================================================
   6. Sections — Navbar
   ============================================================= */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 200;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(10,10,10,0);
  border-bottom: 1px solid transparent;
  transition: background-color .4s var(--ease-out), border-color .4s var(--ease-out), backdrop-filter .4s var(--ease-out);
}
.nav.is-scrolled {
  background: rgba(10,10,10,.86);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-color: var(--border);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 700; font-size: 1.02rem; }
.brand img { width: 34px; height: 34px; }
.brand span { color: var(--accent); }
.nav-links { display: none; align-items: center; gap: 30px; }
.nav-links a { font-size: .88rem; font-weight: 500; color: var(--ink-soft); position: relative; padding: .3rem 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { display: none; }
.burger {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; font-size: 1.4rem; color: var(--ink);
}
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .burger { display: none; }
}
.nav-mobile {
  position: fixed; inset: 0; z-index: 190; top: var(--nav-h);
  background: rgba(10,10,10,.98);
  display: flex; flex-direction: column; padding: 20px 24px 40px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .55s var(--ease-soft);
}
.nav-mobile.is-open { clip-path: inset(0 0 0 0); }
.nav-mobile a {
  padding: 18px 4px; font-family: var(--display); font-size: 1.4rem; font-weight: 600;
  border-bottom: 1px solid var(--border); color: var(--ink);
}
.nav-mobile .btn { margin-top: 24px; }
@media (min-width: 960px) { .nav-mobile { display: none; } }

/* =============================================================
   6. Sections — Hero
   ============================================================= */
.hero { position: relative; padding: 56px 0 72px; overflow: clip; isolation: isolate; min-height: 78svh; display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; z-index: -3; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 20%;
  animation: heroAmbientZoom 26s ease-in-out infinite;
}
@keyframes heroAmbientZoom {
  0%, 100% { transform: scale(1.04) translate3d(0,0,0); }
  50% { transform: scale(1.12) translate3d(-1%,-1%,0); }
}
.hero-tint {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(6,8,3,.55) 0%, rgba(8,10,4,.72) 46%, rgba(10,10,10,.96) 100%),
    linear-gradient(90deg, rgba(6,8,3,.7) 0%, rgba(8,10,4,.35) 55%, rgba(8,10,4,.15) 100%);
}
.hero-grain {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
}
.hero-inner { max-width: 640px; }
.hero h1 {
  font-size: clamp(2.6rem, 8vw, 5.2rem);
  text-transform: uppercase;
  margin: 22px 0 20px;
  text-shadow: 0 4px 30px rgba(0,0,0,.5);
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.sub { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--ink-soft); max-width: 560px; margin-bottom: 12px; }
.hero p.note { color: var(--ink-mute); font-size: .95rem; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.hero-trust { display: flex; align-items: center; gap: 10px; margin-top: 34px; font-family: var(--mono); font-size: .85rem; color: var(--ink-mute); max-width: 480px; }
.hero-trust strong { color: var(--accent); font-weight: 600; }

.spots-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,77,77,.1); border: 1px solid var(--danger-2);
  border-radius: 999px; padding: 9px 18px; margin-top: 22px;
  color: #ffb3b3; font-family: var(--mono); font-weight: 500; font-size: .84rem;
}
.spots-badge span { color: #fff; font-weight: 700; font-size: 1rem; }
@keyframes spotsPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(255,77,77,.45); } 50% { box-shadow: 0 0 0 9px rgba(255,77,77,0); } }
.spots-badge { animation: spotsPulse 2s ease-in-out infinite; }

/* =============================================================
   6. Sections — Features
   ============================================================= */
.features-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 640px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(4, 1fr); } }
.feature-card .icon {
  width: 50px; height: 50px; border-radius: 12px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(198,255,51,.1); border: 1px solid rgba(198,255,51,.25);
}
.feature-card .icon svg { width: 24px; height: 24px; stroke: var(--accent); fill: none; stroke-width: 1.7; }
.feature-card h3 { font-size: 1.08rem; margin-bottom: 10px; font-weight: 600; text-transform: none; }
.feature-card p { color: var(--ink-mute); font-size: .92rem; }
.center-cta { text-align: center; margin-top: 44px; }

/* =============================================================
   6. Sections — About
   ============================================================= */
.about { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.about-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 800px) { .about-grid { grid-template-columns: 260px 1fr; } }
.about-avatar { border-radius: 18px; overflow: hidden; border: 1px solid var(--border-strong); max-width: 260px; margin: 0 auto; }
.about-avatar img { width: 100%; object-fit: cover; }
.about h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin-bottom: 18px; }
.about p { color: var(--ink-mute); margin-bottom: 14px; font-size: .98rem; }
.about strong { color: var(--ink); }

/* =============================================================
   6. Sections — Stats
   ============================================================= */
.stats-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 720px) { .stats-grid { grid-template-columns: repeat(3, 1fr); } }
.stat-card { text-align: center; padding: 40px 24px; }
.stat-card .big { font-family: var(--mono); font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 700; color: var(--accent); }
.stat-card p { color: var(--ink-mute); margin-top: 10px; font-size: .9rem; }

/* =============================================================
   6. Sections — Opiniones
   ============================================================= */
.opiniones-grid { column-count: 4; column-gap: 16px; }
.opiniones-grid img { width: 100%; margin-bottom: 16px; border-radius: 12px; border: 1px solid var(--border); break-inside: avoid; }
@media (max-width: 960px) { .opiniones-grid { column-count: 3; } }
@media (max-width: 640px) { .opiniones-grid { column-count: 2; column-gap: 10px; } .opiniones-grid img { margin-bottom: 10px; border-radius: 8px; } }
.social-row { display: flex; justify-content: center; gap: 14px; margin-top: 40px; }
.social-row a {
  width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center; color: var(--ink);
  transition: border-color .3s, color .3s, transform .3s var(--ease-soft);
}
.social-row a:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); }
.social-row svg { width: 19px; height: 19px; fill: currentColor; }

/* =============================================================
   6. Sections — Telegram preview
   ============================================================= */
.telegram-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 860px) { .telegram-grid { grid-template-columns: 1fr 300px; } }
.telegram-grid .phone-shot { border-radius: 18px; overflow: hidden; border: 1px solid var(--border-strong); max-width: 280px; margin: 0 auto; }
@media (min-width: 860px) { .telegram-grid .phone-shot { order: 2; } }
.list-check { list-style: none; max-width: 480px; }
.list-check li { padding: 12px 0 12px 32px; position: relative; color: var(--ink-soft); border-bottom: 1px solid var(--border); font-size: .96rem; }
.list-check li:before { content: "✓"; color: var(--accent); font-weight: 700; position: absolute; left: 0; top: 12px; font-family: var(--mono); }
.telegram-closing { color: var(--ink-mute); max-width: 560px; margin: 30px auto 0; text-align: center; }
.telegram-closing strong { color: var(--ink); }

/* =============================================================
   6. Sections — FAQ
   ============================================================= */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: 14px; margin-bottom: 12px; overflow: hidden; background: var(--panel); }
.faq-item summary {
  padding: 20px 24px; cursor: pointer; font-weight: 600; color: var(--ink);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--accent); font-size: 1.6rem; font-weight: 400; flex-shrink: 0; transition: transform .3s var(--ease-out); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 24px 22px; color: var(--ink-mute); font-size: .95rem; }

/* =============================================================
   6. Sections — Final CTA & Footer
   ============================================================= */
.final-cta { text-align: center; background: var(--bg-2); border-top: 1px solid var(--border); }
.final-cta h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); margin-bottom: 14px; text-transform: uppercase; }
.final-cta p { color: var(--ink-mute); margin-bottom: 30px; }
.final-cta-note { color: var(--ink-mute) !important; font-family: var(--mono); font-size: .78rem; margin: 18px 0 0 !important; letter-spacing: .04em; }

footer { padding: 44px 0 30px; text-align: center; }
footer .foot-logo { width: 56px; margin: 0 auto 18px; opacity: .9; }
footer p.legal { color: #6b6b64; font-size: .78rem; max-width: 600px; margin: 0 auto 8px; line-height: 1.7; }
footer p.copy { color: #55554f; font-size: .78rem; margin-top: 14px; }

/* =============================================================
   6. Sections — Sticky bottom bar & activity toasts
   ============================================================= */
.sticky-bar {
  position: fixed; bottom: 0; inset-inline: 0; z-index: 150;
  background: var(--accent); box-shadow: 0 -6px 26px rgba(0,0,0,.3);
}
.sticky-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 24px; }
.sticky-bar .msg { font-weight: 700; color: #0a0a0a; text-transform: uppercase; font-size: .82rem; letter-spacing: .01em; }
@keyframes timerPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.07); } }
.sticky-bar .timer {
  display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-weight: 700; color: #fff; font-size: 1.25rem;
  background: var(--danger-2); border-radius: 8px; padding: 6px 14px; font-variant-numeric: tabular-nums;
  white-space: nowrap; box-shadow: 0 0 0 2px #0a0a0a, 0 4px 14px rgba(232,53,45,.5);
  animation: timerPulse 1s ease-in-out infinite;
}
.sticky-bar .btn-sticky {
  background: #0a0a0a; color: var(--accent); font-weight: 700; text-transform: uppercase;
  padding: 12px 22px; border-radius: 999px; font-size: .8rem; white-space: nowrap;
}
@media (max-width: 640px) { .sticky-bar .msg { display: none; } .sticky-bar .wrap { justify-content: center; padding: 11px 16px; } }

.activity-toast-container {
  position: fixed; right: 16px; bottom: calc(var(--bar-h) + 18px); z-index: 140;
  display: flex; flex-direction: column-reverse; align-items: flex-end; gap: 10px; pointer-events: none;
}
.activity-toast {
  display: flex; align-items: center; gap: 12px;
  background: rgba(20,20,20,.7); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--border-strong); border-radius: 12px; padding: 12px 16px;
  box-shadow: 0 14px 34px rgba(0,0,0,.4); width: 240px; max-width: 70vw;
  opacity: 0; transform: translateY(14px); transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
}
.activity-toast.show { opacity: 1; transform: translateY(0); }
.activity-toast .avatar {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent); color: #0a0a0a;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .88rem; font-family: var(--mono);
}
.activity-toast .text { font-size: .82rem; color: var(--ink-soft); line-height: 1.35; }
.activity-toast .text strong { color: var(--accent); }
.activity-toast .text small { display: block; color: var(--ink-mute); margin-top: 2px; font-family: var(--mono); }
@media (max-width: 640px) { .activity-toast-container { right: 10px; } .activity-toast { width: 190px; max-width: 65vw; padding: 10px 12px; } }

/* =============================================================
   8. Responsive helpers
   ============================================================= */
section { padding: 76px 0; position: relative; }
@media (min-width: 720px) { section { padding: 96px 0; } }

/* =============================================================
   9. Reduced-motion (only intrusive)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .spots-badge, .sticky-bar .timer { animation: none; }
}
