:root {
  --brand: #10B981;
  --brand-deep: #0B7A56;
  --neon: #00FF66;
  --bg: #07090A;
  --surface: #0E1210;
  --mist: #F5F6F5;
  --line: rgba(245, 246, 245, 0.1);
  --line-strong: rgba(245, 246, 245, 0.2);
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--brand) transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  cursor: default;
  background: var(--bg);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* ---------- Scroll progress ---------- */

#scroll-progress {
  box-shadow: 0 0 12px 1px rgba(16, 185, 129, 0.6);
  transition: width 0.1s linear;
}

/* ---------- Cursor glow ---------- */

#cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 520px;
  height: 520px;
  pointer-events: none;
  z-index: 1;
  transform: translate(calc(var(--x, 50vw) - 260px), calc(var(--y, 40vh) - 260px));
  background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.04) 40%, transparent 72%);
  opacity: 0;
  transition: opacity 0.6s ease;
  will-change: transform;
}

#cursor-glow.is-active {
  opacity: 1;
}

@media (hover: none) {
  #cursor-glow {
    display: none;
  }
}

/* ---------- Nav ---------- */

.glass-nav {
  background: rgba(7, 9, 10, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line);
}

#site-nav.nav-scrolled .glass-nav {
  background: rgba(7, 9, 10, 0.82);
  border-color: var(--line-strong);
  box-shadow: 0 8px 30px -12px rgba(0, 0, 0, 0.5);
}

.nav-link {
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--neon);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--mist);
}

.nav-link:hover::after {
  width: 100%;
}

/* ---------- Buttons ---------- */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 1.9rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--bg);
  background: var(--mist);
  border: 1px solid var(--mist);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
  background: var(--neon);
  border-color: var(--neon);
  color: #06110B;
  transform: translateY(-1px);
  box-shadow: 0 0 24px 2px rgba(0, 255, 102, 0.35);
}

.btn-primary-sm {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.3rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #06110B;
  background: var(--mist);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary-sm:hover {
  background: var(--neon);
  box-shadow: 0 0 18px 1px rgba(0, 255, 102, 0.35);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.9rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--mist);
  background: transparent;
  border: 1px solid var(--line-strong);
  transition: all 0.3s ease;
}

.btn-ghost:hover {
  border-color: rgba(16, 185, 129, 0.6);
  background: rgba(16, 185, 129, 0.06);
}

[data-magnetic] {
  will-change: transform;
}

/* ---------- Type helpers ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 246, 245, 0.55);
}

.eyebrow::before {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--neon);
}

.eyebrow-static {
  color: rgba(245, 246, 245, 0.55);
}

.eyebrow-static::before {
  background: var(--neon);
}

.text-gradient-green {
  background: linear-gradient(90deg, var(--neon) 0%, var(--brand) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Hero ---------- */

#hero-canvas {
  z-index: 0;
}

.hero-vignette {
  background: radial-gradient(ellipse 80% 60% at 30% 20%, rgba(16, 185, 129, 0.08) 0%, transparent 55%);
}

.hero-fade {
  background: linear-gradient(180deg, transparent 55%, var(--bg) 98%);
}

.pill {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(245, 246, 245, 0.6);
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  background: rgba(245, 246, 245, 0.03);
  border: 1px solid var(--line);
}

.pill--highlight {
  color: var(--neon);
  font-weight: 600;
  background: rgba(0, 255, 102, 0.08);
  border-color: rgba(0, 255, 102, 0.35);
}

/* ---------- Stat strip (hero) ---------- */

.stat-strip {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 1rem;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

@media (min-width: 768px) {
  .stat-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.stat-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.4rem 1.6rem;
  background: rgba(7, 9, 10, 0.7);
  transition: background 0.4s ease;
}

.stat-card:hover {
  background: rgba(14, 18, 16, 0.9);
}

.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.6rem;
  color: var(--mist);
  letter-spacing: -0.01em;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(245, 246, 245, 0.5);
  line-height: 1.4;
}

.stat-card--cta {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: var(--brand);
  color: #06150E;
  font-weight: 600;
  font-size: 0.92rem;
  transition: background 0.3s ease;
}

.stat-card--cta:hover {
  background: var(--neon);
}

.stat-card--cta svg {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.stat-card--cta:hover svg {
  transform: translateX(3px);
}

/* ---------- Niche cards ---------- */

.niche-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.6rem 1rem;
  border-radius: 0.5rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  text-align: center;
  color: var(--mist);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.niche-pill:hover {
  transform: translateY(-3px);
  border-color: var(--brand);
  box-shadow: 0 0 20px -6px rgba(16, 185, 129, 0.5);
}

/* ---------- Grid noise / bento ---------- */

.grid-noise {
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 0%, transparent 75%);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .bento-card--lg {
    grid-column: span 2;
    grid-row: span 2;
  }
  .bento-card--wide {
    grid-column: span 2;
  }
}

.bento-card {
  position: relative;
  padding: 2.25rem;
  background: var(--bg);
  overflow: hidden;
  transition: background 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
}

.bento-card:hover {
  background: var(--surface);
  box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.3);
}

.bento-index {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: rgba(0, 255, 102, 0.7);
  margin-bottom: 2rem;
}

.bento-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--mist);
  margin-bottom: 0.7rem;
  letter-spacing: -0.01em;
}

.bento-text {
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(245, 246, 245, 0.5);
}

.bento-chart {
  margin-top: auto;
  padding-top: 1.75rem;
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  height: 90px;
}

.bento-chart span {
  flex: 1;
  height: var(--h);
  background: rgba(16, 185, 129, 0.55);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.bento-card--lg.is-visible .bento-chart span {
  transform: scaleY(1);
}

.bento-chart span:nth-child(1) { transition-delay: 0.05s; }
.bento-chart span:nth-child(2) { transition-delay: 0.1s; }
.bento-chart span:nth-child(3) { transition-delay: 0.15s; }
.bento-chart span:nth-child(4) { transition-delay: 0.2s; }
.bento-chart span:nth-child(5) { transition-delay: 0.25s; }
.bento-chart span:nth-child(6) { transition-delay: 0.3s; }
.bento-chart span:nth-child(7) { transition-delay: 0.35s; }
.bento-chart span:nth-child(8) { transition-delay: 0.4s; }

/* ---------- Números / prova social ---------- */

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .numbers-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.number-block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 2rem 1.75rem;
  background: rgba(7, 9, 10, 0.6);
}

.number-value {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 2.75rem;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--neon) 0%, var(--brand) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.number-label {
  font-size: 0.85rem;
  color: rgba(245, 246, 245, 0.5);
  line-height: 1.4;
}

.testimonial-card {
  padding: 2rem;
  border-radius: 0.75rem;
  background: rgba(7, 9, 10, 0.6);
  border: 1px solid var(--line);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.testimonial-card:hover {
  border-color: rgba(16, 185, 129, 0.4);
  transform: translateY(-2px);
}

.testimonial-quote {
  font-size: 0.98rem;
  line-height: 1.65;
  color: rgba(245, 246, 245, 0.75);
}

.testimonial-footer {
  margin-top: 1.25rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(245, 246, 245, 0.4);
}

/* ---------- Founder offer ---------- */

.founder-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.1rem 1.5rem;
  border-radius: 0.75rem;
  background: rgba(0, 255, 102, 0.06);
  border: 1px solid rgba(0, 255, 102, 0.25);
  font-size: 0.9rem;
  color: rgba(245, 246, 245, 0.7);
  line-height: 1.55;
}

.founder-banner-icon {
  flex-shrink: 0;
  color: var(--neon);
  font-size: 1.1rem;
  line-height: 1.55;
}

.founder-banner strong {
  color: var(--mist);
  font-weight: 600;
}

.founder-chip {
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--neon);
  background: rgba(0, 255, 102, 0.1);
  border: 1px solid rgba(0, 255, 102, 0.3);
  padding: 0.3rem 0.7rem;
  border-radius: 9999px;
}

.price-future-note {
  margin-top: 0.9rem;
  font-size: 0.78rem;
  line-height: 1.55;
  color: rgba(245, 246, 245, 0.4);
}

.price-future-note strong {
  color: rgba(0, 255, 102, 0.85);
  font-weight: 600;
}

/* ---------- Pricing ---------- */

.price-card {
  position: relative;
  padding: 2.75rem;
  border-radius: 0.75rem;
  background: var(--bg);
  border: 1px solid var(--line);
}

.price-card--featured {
  border: 1px solid rgba(16, 185, 129, 0.5);
  box-shadow: 0 0 40px -14px rgba(16, 185, 129, 0.35);
}

.price-badge {
  display: inline-flex;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(0, 255, 102, 0.75);
}

.price-badge--muted {
  color: rgba(245, 246, 245, 0.4);
}

.price-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: rgba(245, 246, 245, 0.65);
  line-height: 1.5;
}

.price-item::before {
  content: "";
  flex-shrink: 0;
  width: 14px;
  height: 1px;
  margin-top: 11px;
  background: var(--neon);
}

/* ---------- Contacto ---------- */

.contact-panel {
  position: relative;
  padding: 3.5rem 2.5rem;
  border-radius: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}

.contact-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 15%, rgba(16, 185, 129, 0.14) 0%, transparent 55%);
  pointer-events: none;
}

@media (min-width: 1024px) {
  .contact-panel {
    padding: 4.5rem;
  }
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(245, 246, 245, 0.6);
  transition: color 0.3s ease;
}

.contact-link:not(.contact-link--static):hover {
  color: var(--neon);
}

.contact-link svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.hours-card {
  position: relative;
  padding: 2.25rem;
  border-radius: 0.75rem;
  background: rgba(7, 9, 10, 0.6);
  border: 1px solid var(--line);
  align-self: start;
}

.hours-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.hours-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  color: rgba(245, 246, 245, 0.7);
}

.hours-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hours-time {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  color: var(--mist);
  letter-spacing: -0.01em;
}

/* ---------- Scroll reveal ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
