:root {
  color-scheme: dark;
  --bg: #020202;
  --bg-2: #050805;
  --panel: rgba(10, 11, 10, 0.88);
  --panel-strong: rgba(13, 15, 13, 0.96);
  --line: rgba(188, 255, 0, 0.24);
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #f6f8ef;
  --muted: #9ba48b;
  --muted-2: #778064;
  --accent: #b7ff1a;
  --accent-2: #7cd400;
  --accent-glow: rgba(183, 255, 26, 0.28);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  color: var(--text);
  font-family: "Manrope", system-ui, sans-serif;
  background:
    radial-gradient(circle at 50% 25%, rgba(131, 255, 0, 0.18), transparent 18%),
    radial-gradient(circle at 12% 20%, rgba(107, 201, 0, 0.12), transparent 26%),
    radial-gradient(circle at 88% 35%, rgba(176, 255, 0, 0.1), transparent 24%),
    linear-gradient(180deg, #020202 0%, #050705 45%, #040404 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 90%);
  opacity: 0.25;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.page-shell {
  width: min(1200px, calc(100% - 28px));
  margin: 0 auto;
  padding: 22px 0 30px;
  position: relative;
  z-index: 1;
}

.topbar, .footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.topbar {
  margin-bottom: 20px;
  padding: 12px 14px;
  border-radius: 24px;
  background: rgba(8, 10, 8, 0.72);
  border: 1px solid rgba(188, 255, 0, 0.16);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.brand strong,
.hero h1,
.card h1,
.card h2,
.nav a,
.button {
  font-family: "Space Grotesk", "Manrope", system-ui, sans-serif;
}
.brand-logo {
  width: 62px;
  height: 62px;
  object-fit: contain;
  flex: 0 0 auto;
  filter:
    drop-shadow(0 0 10px rgba(183, 255, 26, 0.2))
    drop-shadow(0 0 24px rgba(183, 255, 26, 0.12));
}
.brand-copy strong {
  display: block;
  font-size: 0.98rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.brand-copy small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav, .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.nav a, .footer-links a, .language-toggle {
  color: var(--muted);
  font-size: 0.94rem;
  letter-spacing: 0.02em;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: color .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Space Grotesk", "Manrope", system-ui, sans-serif;
  background: rgba(188, 255, 0, 0.07);
  border-color: rgba(188, 255, 0, 0.18);
  cursor: pointer;
}
.nav a:hover, .footer-links a:hover, .language-toggle:hover {
  color: var(--text);
  border-color: rgba(188, 255, 0, 0.22);
  background: rgba(188, 255, 0, 0.05);
  box-shadow: 0 0 0 1px rgba(188, 255, 0, 0.04) inset;
}

.hero, .grid.two-up, .contact-grid {
  display: grid;
}
.card {
  background: linear-gradient(180deg, var(--panel), rgba(6, 7, 6, 0.94));
  border: 1px solid rgba(188, 255, 0, 0.18);
  border-radius: 30px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero {
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: center;
  padding: 30px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 999px;
  pointer-events: none;
}
.hero::before {
  width: 280px;
  height: 280px;
  right: -100px;
  top: -120px;
  background: radial-gradient(circle, rgba(183, 255, 26, 0.16), transparent 65%);
  filter: blur(10px);
}
.hero::after {
  width: 380px;
  height: 380px;
  left: -160px;
  bottom: -190px;
  background: radial-gradient(circle, rgba(183, 255, 26, 0.12), transparent 64%);
  filter: blur(18px);
}
.hero-copy {
  position: relative;
  z-index: 1;
}
.eyebrow,
.section-label,
.updated {
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  font-weight: 700;
}
.hero h1 {
  margin: 12px 0 12px;
  font-size: clamp(3.3rem, 8vw, 6.4rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
}
.lead,
.info-card p,
.notice p,
.legal p,
.legal li {
  color: #dfe6d2;
  line-height: 1.85;
}
.lead {
  max-width: 60ch;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(188, 255, 0, 0.18);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}
.button.primary {
  background: linear-gradient(135deg, var(--accent) 0%, #d7ff6a 100%);
  color: #081000;
  font-weight: 800;
  box-shadow: 0 0 0 1px rgba(183, 255, 26, 0.2) inset, 0 0 28px rgba(183, 255, 26, 0.18);
}
.button.wide {
  width: 100%;
}
.button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.hero-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  align-items: center;
  justify-items: center;
  padding: 14px;
}
.support-hero {
  align-items: stretch;
}
.support-panel {
  align-content: center;
  justify-items: stretch;
}
.hero-logo-wrap {
  position: relative;
  width: min(100%, 470px);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}
.hero-logo-glow {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(183, 255, 26, 0.32), transparent 60%);
  filter: blur(26px);
}
.hero-logo {
  position: relative;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 0 28px rgba(183, 255, 26, 0.34))
    drop-shadow(0 0 60px rgba(183, 255, 26, 0.14));
}
.panel-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(188, 255, 0, 0.14);
  color: var(--muted);
  font-size: 0.9rem;
}
.panel-chip strong { color: var(--text); }

.grid.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 20px;
}
.info-card, .notice, .legal {
  padding: 28px;
}
.info-card h2, .notice h2, .legal h1 {
  margin: 8px 0 12px;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.check-list, .legal-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}
.code-block {
  display: block;
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(188, 255, 0, 0.12);
  color: #d6ff67;
  overflow-x: auto;
  white-space: pre-wrap;
}
.notice {
  margin-bottom: 20px;
  border-color: rgba(183, 255, 26, 0.22);
}
.success-panel {
  max-width: 820px;
  margin: 0 auto 20px;
}
.success-panel h1 {
  margin: 8px 0 12px;
  font-family: "Space Grotesk", "Manrope", system-ui, sans-serif;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 0.95;
}

.plans-hero {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.66fr);
}
.plans-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
  margin-bottom: 20px;
}
.plans-main,
.plan-form-card {
  min-width: 0;
}
.plans-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 2px 0 16px;
}
.plans-toolbar h2 {
  margin: 8px 0 0;
  font-family: "Space Grotesk", "Manrope", system-ui, sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1;
}
.plan-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  color: #d7ff6a;
  background: rgba(183, 255, 26, 0.08);
  border: 1px solid rgba(183, 255, 26, 0.16);
  font-size: 0.88rem;
  font-weight: 800;
  white-space: nowrap;
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.plan-card {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 24px;
  border-radius: 24px;
}
.pricing-card {
  min-height: 100%;
  grid-template-rows: auto auto auto 1fr auto;
  position: relative;
  overflow: hidden;
}
.pricing-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, rgba(183, 255, 26, 0.92), rgba(124, 212, 0, 0.32));
  opacity: 0.55;
}
.plan-card.is-featured {
  border-color: rgba(183, 255, 26, 0.36);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.54), 0 0 40px rgba(183, 255, 26, 0.08);
}
.plan-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.plan-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #081000;
  background: linear-gradient(135deg, #d7ff6a, var(--accent));
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-family: "Space Grotesk", "Manrope", system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(183, 255, 26, 0.14);
}
.plan-icon-p {
  background: linear-gradient(135deg, #f6f8ef, #b7ff1a);
}
.plan-icon-u {
  background: linear-gradient(135deg, #b7ff1a, #6bbf00);
}
.plan-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  color: #081000;
  background: var(--accent);
  font-size: 0.76rem;
  font-weight: 900;
}
.plan-badge.ghost {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(188, 255, 0, 0.12);
}
.plan-card h3,
.plan-form h2 {
  margin: 0;
  font-family: "Space Grotesk", "Manrope", system-ui, sans-serif;
  font-size: 1.55rem;
  line-height: 1.05;
}
.plan-price {
  display: grid;
  gap: 3px;
}
.plan-price strong {
  font-family: "Space Grotesk", "Manrope", system-ui, sans-serif;
  font-size: 2.4rem;
  line-height: 0.96;
}
.plan-price span,
.fine-print {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}
.plans-access-panel,
.selected-plan-box {
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(188, 255, 0, 0.13);
}
.number-list {
  margin: 14px 0;
  padding-left: 22px;
  display: grid;
  gap: 12px;
  color: #dfe6d2;
  line-height: 1.6;
}
.plan-form-card {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 24px;
  border-radius: 24px;
}
.plan-form {
  display: grid;
  gap: 16px;
}
.plan-form label {
  display: grid;
  gap: 8px;
}
.plan-form label span {
  color: #dfe6d2;
  font-weight: 700;
  font-size: 0.94rem;
}
.plan-form input[type="email"],
.plan-form input[type="text"] {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 16px;
  border: 1px solid rgba(188, 255, 0, 0.18);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font: inherit;
  outline: none;
}
.plan-form input[type="email"]:focus,
.plan-form input[type="text"]:focus {
  border-color: rgba(183, 255, 26, 0.54);
  box-shadow: 0 0 0 3px rgba(183, 255, 26, 0.12);
}
.checkbox-row {
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
}
.checkbox-row input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--accent);
}
.selected-plan-box {
  color: #dfe6d2;
  line-height: 1.55;
}
.selected-plan-box strong {
  color: var(--text);
}
.status-message {
  min-height: 22px;
  margin: 0;
  color: #d7ff6a;
  font-size: 0.94rem;
  line-height: 1.45;
}
.status-message.is-error {
  color: #ffb4a8;
}
.checkout-open {
  overflow: hidden;
}
.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 18px;
}
.checkout-modal.is-open {
  display: grid;
}
.checkout-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(12px);
}
.checkout-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 1080px);
  max-height: min(92vh, 940px);
  overflow: auto;
  padding: 14px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
}
.checkout-close {
  position: sticky;
  top: 0;
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  color: #111111;
  background: rgba(0, 0, 0, 0.06);
  font: inherit;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}
.embedded-checkout {
  min-height: 680px;
}
.home-plans-section {
  margin: 0 0 20px;
}

.legal {
  max-width: 920px;
  margin: 0 auto 20px;
}
.legal h2 { margin: 0 0 10px; font-size: 1.2rem; }
.legal section + section { margin-top: 24px; }
.updated { margin-top: 4px; }
.lang-en { display: none; }
html[lang="en"] .lang-es { display: none; }
html[lang="en"] .lang-en { display: block; }

.contact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.contact-box,
.panel-item {
  padding: 16px 16px 15px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(188, 255, 0, 0.12);
}
.contact-box span, .panel-item span {
  display: block;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
}
.contact-box strong, .panel-item strong {
  display: block;
  margin-top: 8px;
  color: var(--text);
  line-height: 1.45;
}

.footer {
  margin-top: 10px;
  padding: 6px 2px 0;
  color: var(--muted);
}

@media (max-width: 980px) {
  .hero,
  .grid.two-up,
  .contact-grid,
  .plans-hero,
  .plans-layout {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 22px;
  }
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .nav {
    width: 100%;
  }
  .plan-form-card {
    position: static;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: min(100% - 18px, 1200px);
    padding-top: 10px;
  }
  .topbar,
  .hero,
  .info-card,
  .notice,
  .legal,
  .plan-card,
  .plan-form-card {
    border-radius: 24px;
  }
  .hero h1 {
    font-size: clamp(2.7rem, 14vw, 4.3rem);
  }
  .lead {
    font-size: 1rem;
  }
  .nav a {
    padding: 8px 10px;
    font-size: 0.88rem;
  }
  .language-toggle {
    padding: 8px 10px;
    font-size: 0.88rem;
  }
  .plans-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .plan-grid {
    grid-template-columns: 1fr;
  }
  .plan-price strong {
    font-size: 2rem;
  }
  .checkout-modal {
    padding: 8px;
  }
  .checkout-dialog {
    max-height: 96vh;
    padding: 10px;
    border-radius: 18px;
  }
  .embedded-checkout {
    min-height: 720px;
  }
}
