/* ===== Tokens ===== */
:root {
  --bg: #0a0f0d;
  --bg-alt: #0e1512;
  --surface: #121a16;
  --surface-2: #16201b;
  --line: #21302a;
  --text: #e8f0ec;
  --muted: #9bb0a8;
  --brand: #2bd576;
  --brand-2: #19b85f;
  --brand-ink: #04140c;
  --accent: #7af0c0;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);
  --maxw: 1140px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 800px; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}
.grad {
  background: linear-gradient(100deg, var(--brand), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h1, h2, h3 { line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }

/* ===== Buttons ===== */
.btn {
  --pad: 14px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: var(--pad);
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s var(--ease), background .2s, box-shadow .2s, border-color .2s;
  font-family: inherit;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
  color: var(--brand-ink);
  box-shadow: 0 8px 24px -8px rgba(43, 213, 118, .6);
}
.btn--primary:hover { box-shadow: 0 12px 30px -8px rgba(43, 213, 118, .8); transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--sm { --pad: 9px 18px; font-size: .9rem; }
.btn--lg { --pad: 16px 30px; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 15, 13, .7);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); background: rgba(10, 15, 13, .92); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.25rem; font-weight: 700; }
.brand__mark {
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: 10px;
  color: var(--brand-ink);
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
}
.brand__text strong { color: var(--brand); font-weight: 800; }

.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { font-size: .95rem; color: var(--muted); transition: color .2s; }
.nav__links a:hover { color: var(--text); }
.nav__links .nav__cta { color: var(--brand-ink); }
.nav__cta:hover { color: var(--brand-ink) !important; }

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

/* ===== Hero ===== */
.hero { position: relative; padding: clamp(48px, 8vw, 96px) 0; overflow: hidden; }
.hero__glow {
  position: absolute; inset: -20% 30% auto -10%;
  height: 600px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(43, 213, 118, .22), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 20px; }
.hero__lead { font-size: 1.15rem; color: var(--muted); max-width: 32em; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 42px; }

.hero__stats { display: flex; gap: 36px; flex-wrap: wrap; }
.stat__num {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.02em;
}
.stat__label { font-size: .85rem; color: var(--muted); }

/* Hero visual (court) */
.hero__visual { display: grid; place-items: center; }
.court {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  background: linear-gradient(160deg, #11463a, #0c2f29);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.court::before {
  content: "";
  position: absolute; inset: 16px;
  border: 2px solid rgba(255, 255, 255, .25);
  border-radius: 8px;
}
.court__lines { position: absolute; inset: 16px; }
.court__net {
  position: absolute; top: 50%; left: 0; right: 0;
  height: 2px; background: rgba(255, 255, 255, .5);
  transform: translateY(-50%);
}
.court__service { position: absolute; left: 0; right: 0; height: 1px; background: rgba(255, 255, 255, .22); }
.court__service--l { top: 28%; }
.court__service--r { top: 72%; }
.court__cam {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(10, 15, 13, .8);
  color: var(--brand);
  border: 1px solid var(--line);
  z-index: 2;
}
.court__ball {
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #e7ff7a, #b6e02f);
  box-shadow: 0 0 14px rgba(214, 255, 90, .7);
  top: 40%; left: 46%;
  animation: ball 3.4s var(--ease) infinite;
}
@keyframes ball {
  0%   { top: 30%; left: 30%; }
  25%  { top: 64%; left: 60%; }
  50%  { top: 44%; left: 70%; }
  75%  { top: 70%; left: 35%; }
  100% { top: 30%; left: 30%; }
}
.court__badge {
  position: absolute; bottom: 14px; left: 14px;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .75rem; font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(10, 15, 13, .82);
  border: 1px solid var(--line);
  color: var(--text);
}
.court__rec { width: 8px; height: 8px; border-radius: 50%; background: #ff4d4d; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .25; } }

/* ===== Proof ===== */
.proof { padding: 36px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.proof__title { text-align: center; color: var(--muted); font-size: .95rem; margin-bottom: 22px; }
.proof__logos {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 14px 40px;
}
.proof__logos span {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--muted);
  opacity: .55;
  letter-spacing: .02em;
  transition: opacity .2s, color .2s;
}
.proof__logos span:hover { opacity: 1; color: var(--text); }

/* ===== Sections ===== */
.section { padding: clamp(60px, 9vw, 110px) 0; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section__sub { color: var(--muted); font-size: 1.1rem; margin-top: 14px; }

/* Grid + cards */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .2s var(--ease), border-color .2s, background .2s;
}
.card:hover { transform: translateY(-4px); border-color: var(--brand); background: var(--surface-2); }
.card__icon { font-size: 1.9rem; margin-bottom: 14px; }
.card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .98rem; }
.card--benefit h3 { font-size: 1.1rem; }

/* Steps */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
}
.step__num {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  font-weight: 800; font-size: 1.2rem;
  color: var(--brand-ink);
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
  margin-bottom: 18px;
}
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .98rem; }

/* Analytic */
.analytic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.ticklist { list-style: none; display: grid; gap: 12px; margin-top: 22px; }
.ticklist li { position: relative; padding-left: 30px; color: var(--text); }
.ticklist li::before {
  content: "";
  position: absolute; left: 0; top: 7px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(43, 213, 118, .15);
  border: 1px solid var(--brand);
}
.ticklist li::after {
  content: "";
  position: absolute; left: 6px; top: 11px;
  width: 6px; height: 9px;
  border: solid var(--brand);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.panel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.panel__head span:first-child { font-weight: 700; font-size: 1.1rem; }
.panel__tag {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  color: var(--brand-ink);
  background: var(--brand);
  padding: 3px 10px; border-radius: 999px;
}
.metric { margin-bottom: 18px; }
.metric__row { display: flex; justify-content: space-between; font-size: .92rem; margin-bottom: 7px; color: var(--muted); }
.metric__row b { color: var(--text); }
.bar { height: 8px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.bar i {
  display: block; height: 100%;
  width: var(--w);
  background: linear-gradient(90deg, var(--brand-2), var(--accent));
  border-radius: 999px;
  transform-origin: left;
  animation: grow 1.1s var(--ease) both;
}
@keyframes grow { from { transform: scaleX(0); } }

.heat { margin-top: 24px; }
.heat__title { font-size: .85rem; color: var(--muted); display: block; margin-bottom: 10px; }
.heat__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.heat__grid i {
  aspect-ratio: 1.4;
  border-radius: 6px;
  background: rgba(43, 213, 118, calc(var(--h) * .85 + .08));
}

/* Plans */
.plans { align-items: stretch; }
.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.plan--featured {
  border-color: var(--brand);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: var(--shadow);
}
.plan__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand-ink);
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
  padding: 5px 16px; border-radius: 999px;
  white-space: nowrap;
}
.plan__name { font-size: 1.35rem; margin-bottom: 6px; }
.plan__desc { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.plan .ticklist { margin: 0 0 26px; flex: 1; }
.plan .ticklist li { font-size: .95rem; }
.plans__note { text-align: center; color: var(--muted); margin-top: 26px; font-size: .95rem; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--brand);
  transition: transform .25s var(--ease);
  line-height: 1;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__body { padding: 0 24px 20px; color: var(--muted); }

/* CTA */
.cta { padding: clamp(60px, 9vw, 110px) 0; background: var(--bg-alt); border-top: 1px solid var(--line); }
.cta__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.cta__copy h2 { margin-bottom: 16px; }
.cta__copy p { color: var(--muted); font-size: 1.1rem; }
.cta__contact { list-style: none; margin-top: 26px; display: grid; gap: 12px; }
.cta__contact a { color: var(--brand); font-weight: 600; }
.cta__contact a:hover { text-decoration: underline; }

.form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  display: grid;
  gap: 16px;
  box-shadow: var(--shadow);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 7px; font-size: .9rem; font-weight: 600; color: var(--muted); }
.form input, .form select, .form textarea {
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: border-color .2s, box-shadow .2s;
}
.form input::placeholder, .form textarea::placeholder { color: #5e716a; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(43, 213, 118, .15);
}
.form textarea { resize: vertical; }
.form__hint { font-size: .85rem; color: var(--muted); text-align: center; }
.form__hint.is-error { color: #ff6b6b; }
.form__hint.is-ok { color: var(--brand); }

/* Footer */
.footer { background: var(--bg); padding-top: 56px; }
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 40px;
}
.footer__brand { max-width: 320px; }
.footer__brand .brand__text { font-size: 1.3rem; font-weight: 700; }
.footer__brand p { color: var(--muted); margin-top: 10px; font-size: .95rem; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }
.footer__nav a { color: var(--muted); transition: color .2s; }
.footer__nav a:hover { color: var(--brand); }
.footer__bar { border-top: 1px solid var(--line); padding: 22px 0; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .9rem; }

/* WhatsApp float */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 60;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 30px -6px rgba(37, 211, 102, .6);
  transition: transform .2s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }

/* Reveal animation */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 920px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { order: -1; }
  .court { max-width: 300px; }
  .analytic, .cta__inner { grid-template-columns: 1fr; gap: 36px; }
  .grid--3, .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed;
    top: 70px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--line);
    padding: 16px 24px 24px;
    transform: translateY(-120%);
    transition: transform .3s var(--ease);
    box-shadow: var(--shadow);
  }
  .nav.is-open .nav__links { transform: translateY(0); }
  .nav__links a { padding: 12px 4px; }
  .nav__links .nav__cta { text-align: center; margin-top: 8px; }
}
@media (max-width: 560px) {
  .grid--3, .steps, .form__row { grid-template-columns: 1fr; }
  .hero__stats { gap: 24px; }
  .footer__inner { flex-direction: column; }
}

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