:root {
  --bg: #06130f;
  --bg-2: #0a1d16;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-strong: rgba(255, 255, 255, 0.13);
  --card: rgba(255, 255, 255, 0.9);
  --card-soft: rgba(255, 255, 255, 0.72);
  --text: #eafff6;
  --text-dark: #10231b;
  --muted: #b6d6c9;
  --muted-dark: #5b7168;
  --line: rgba(255, 255, 255, 0.16);
  --line-dark: rgba(10, 29, 22, 0.12);
  --green: #34d399;
  --green-2: #10b981;
  --teal: #14b8a6;
  --lime: #bef264;
  --amber: #fbbf24;
  --danger: #ef4444;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@keyframes float {
  0%, 100% { transform: rotate(1.2deg) translateY(0); }
  50% { transform: rotate(1.2deg) translateY(-8px); }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 8%, rgba(52, 211, 153, 0.22), transparent 27rem),
    radial-gradient(circle at 86% 18%, rgba(20, 184, 166, 0.18), transparent 28rem),
    linear-gradient(135deg, var(--bg), var(--bg-2) 45%, #04100c);
}

body.light-page {
  color: var(--text-dark);
  background:
    radial-gradient(circle at 10% 10%, rgba(52, 211, 153, 0.18), transparent 28rem),
    radial-gradient(circle at 90% 12%, rgba(20, 184, 166, 0.14), transparent 30rem),
    #f4fbf7;
}

a { color: inherit; text-decoration: none; }

img, svg { max-width: 100%; }

.site-shell { overflow: hidden; position: relative; }

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.glass {
  background: linear-gradient(135deg, rgba(255,255,255,0.13), rgba(255,255,255,0.05));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.light-page .glass {
  background: rgba(255,255,255,0.72);
  border-color: rgba(15, 118, 110, 0.12);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background: rgba(6, 19, 15, 0.72);
  backdrop-filter: blur(18px);
}

.light-page .nav { background: rgba(244, 251, 247, 0.78); border-color: rgba(12, 68, 48, 0.12); }

.nav-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
  letter-spacing: -0.04em;
  font-size: 1.2rem;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #052016;
  background: linear-gradient(135deg, var(--green), var(--teal));
  box-shadow: 0 14px 38px rgba(16, 185, 129, 0.32);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 0.94rem;
}

.light-page .nav-links { color: var(--muted-dark); }

.nav-links a {
  position: relative;
  transition: color .2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  border-radius: 99px;
  background: var(--green);
  transition: width .22s ease;
}

.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.light-page .nav-links a:hover { color: var(--text-dark); }

.nav-links a[aria-current="page"] { color: var(--green); }
.nav-links a[aria-current="page"]::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  padding: 0 20px;
  font-weight: 800;
  font-size: 0.94rem;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  color: #052016;
  background: linear-gradient(135deg, var(--green), var(--lime));
  box-shadow: 0 18px 45px rgba(52, 211, 153, 0.32);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255,255,255,0.09);
  border: 1px solid var(--line);
}

.light-page .btn-secondary { color: var(--text-dark); background: rgba(255,255,255,0.75); border-color: var(--line-dark); }

.btn-dark {
  color: white;
  background: #071711;
  box-shadow: 0 16px 40px rgba(7, 23, 17, 0.22);
}

.btn-ghost { color: var(--green); background: transparent; border: 1px solid rgba(52,211,153,0.35); }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  background: transparent;
  border: 1.5px solid rgba(52, 211, 153, 0.4);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.btn-whatsapp:hover {
  background: rgba(52, 211, 153, 0.1);
  border-color: var(--green);
  transform: translateY(-2px);
}
.light-page .btn-whatsapp { color: #047857; border-color: rgba(4, 120, 87, 0.4); }
.light-page .btn-whatsapp:hover { background: rgba(4, 120, 87, 0.08); border-color: #047857; }

.hero {
  position: relative;
  padding: 84px 0 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 42px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  color: #d9fff0;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.28);
  font-size: 0.82rem;
  font-weight: 800;
}

.light-page .eyebrow { color: #047857; background: rgba(16, 185, 129, 0.1); }

.eyebrow-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}

.gradient-text {
  background: linear-gradient(135deg, var(--green), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.cta-hint {
  font-size: 0.76rem;
  color: var(--muted);
  padding-left: 4px;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin: 24px 0 22px;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.hero-copy p {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.34rem);
  line-height: 1.7;
  max-width: 660px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero-proof {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.proof-pill {
  border-radius: 18px;
  padding: 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
  cursor: default;
}

.proof-pill:hover {
  border-color: rgba(52, 211, 153, 0.45);
  background: rgba(52, 211, 153, 0.08);
  transform: translateY(-2px);
}

.proof-pill strong { display: block; color: white; font-size: 1rem; margin-bottom: 4px; }

.app-frame {
  position: relative;
  padding: 18px;
  border-radius: 36px;
  animation: float 4s ease-in-out infinite;
}

.dashboard-card {
  border-radius: 28px;
  overflow: hidden;
  color: var(--text-dark);
  background: rgba(255,255,255,0.92);
  box-shadow: 0 30px 90px rgba(0,0,0,0.28);
}

.dash-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid rgba(16, 185, 129, 0.15);
}

.dash-logo { display: flex; align-items: center; gap: 10px; font-weight: 900; }

.dash-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 18px; padding: 20px; }

.metric {
  padding: 16px;
  border-radius: 20px;
  background: linear-gradient(135deg, #ecfdf5, #ccfbf1);
}

.metric span { color: #047857; font-size: 0.78rem; font-weight: 800; text-transform: uppercase; }
.metric strong { display: block; margin-top: 10px; font-size: 1.7rem; letter-spacing: -0.04em; }

.list-card {
  padding: 16px;
  border-radius: 20px;
  background: #f8fffb;
  border: 1px solid rgba(16, 185, 129, 0.13);
}

.mini-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #e4f5ee; color: #315246; }
.mini-row:last-child { border-bottom: 0; }

.orb-svg {
  position: absolute;
  inset: auto -70px -75px auto;
  width: 250px;
  opacity: 0.88;
  pointer-events: none;
}

.section { padding: 78px 0; }

.section-head {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

h2 {
  font-size: clamp(2.2rem, 4vw, 4.3rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
  margin-bottom: 18px;
}

.section-head p, .muted { color: var(--muted); line-height: 1.75; }
.light-page .section-head p, .light-page .muted { color: var(--muted-dark); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.feature-card {
  position: relative;
  min-height: 245px;
  padding: 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 90px rgba(0,0,0,0.34), 0 0 0 1px rgba(52, 211, 153, 0.28);
}

.feature-card h3 { font-size: 1.25rem; letter-spacing: -0.025em; }
.feature-card p { color: var(--muted); line-height: 1.65; }
.light-page .feature-card p { color: var(--muted-dark); }

.icon-box {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #052016;
  background: linear-gradient(135deg, var(--green), var(--lime));
  margin-bottom: 28px;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 26px;
  align-items: stretch;
}

.panel {
  border-radius: var(--radius-xl);
  padding: 30px;
}

.steps { display: grid; gap: 14px; }

.step {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--line);
  transition: transform .2s ease, border-color .2s ease;
}

.step:hover {
  transform: translateX(4px);
  border-color: rgba(52, 211, 153, 0.4);
}

.light-page .step { background: rgba(255,255,255,0.7); border-color: var(--line-dark); }

.step-num {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #052016;
  background: var(--green);
  font-weight: 900;
  animation: pulse-ring 2.5s ease-out infinite;
}

.country-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }

.country-card {
  padding: 26px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--line);
}

.country-card ul, .plan-card ul { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.country-card li, .plan-card li, .check-list li { position: relative; padding-left: 26px; color: var(--muted); line-height: 1.55; }
.country-card li::before, .plan-card li::before, .check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(52,211,153,0.13);
}

.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.pricing-toggle {
  display: inline-grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  border: 1px solid var(--line);
}

.light-page .pricing-toggle { background: rgba(255,255,255,0.75); border-color: var(--line-dark); }

.toggle-option {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  color: inherit;
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.toggle-option.active { color: #052016; background: var(--green); }

.plan-card {
  padding: 30px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.08);
}

.plan-card.featured {
  background: linear-gradient(145deg, rgba(52,211,153,0.22), rgba(255,255,255,0.08));
  border-color: rgba(52,211,153,0.36);
}

.light-page .plan-card { background: rgba(255,255,255,0.86); border-color: var(--line-dark); }

.plan-meta { color: var(--green); font-weight: 850; text-transform: uppercase; font-size: 0.78rem; letter-spacing: 0.08em; display: flex; align-items: center; gap: 8px; }

.badge-recommended {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #052016;
  background: linear-gradient(135deg, var(--green), var(--lime));
}
.plan-title { display: flex; justify-content: space-between; gap: 16px; align-items: start; margin: 8px 0 14px; }
.plan-title h3 { font-size: 2rem; margin: 0; letter-spacing: -0.05em; }
.price-placeholder { color: var(--muted); font-weight: 800; }

.form-card {
  border-radius: 30px;
  padding: 28px;
  color: var(--text-dark);
  background: var(--card);
  box-shadow: var(--shadow);
}

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }

.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { color: #315246; font-size: 0.82rem; font-weight: 850; }
input, select, textarea {
  width: 100%;
  border: 1px solid rgba(16, 88, 64, 0.17);
  border-radius: 16px;
  padding: 13px 14px;
  color: var(--text-dark);
  background: #f8fffb;
  font: inherit;
  outline: 0;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--green-2); box-shadow: 0 0 0 4px rgba(16,185,129,0.12); }

.footer {
  padding: 44px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.light-page .footer { border-color: var(--line-dark); color: var(--muted-dark); }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }

.page-hero { padding: 72px 0 42px; }
.page-hero h1 { font-size: clamp(3rem, 6vw, 5.6rem); }

.calculator-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 24px; align-items: start; }
.result-card { border-radius: 30px; padding: 28px; background: #071711; color: white; box-shadow: var(--shadow); position: sticky; top: 98px; }
.result-list { display: grid; gap: 12px; margin: 24px 0; }
.result-row { display: flex; justify-content: space-between; gap: 16px; padding: 14px; border-radius: 18px; background: rgba(255,255,255,0.08); }
.result-row span { color: var(--muted); }
.result-row strong { text-align: right; }
.notice { padding: 14px 16px; border-radius: 18px; background: rgba(251,191,36,0.13); color: #ffe8ad; border: 1px solid rgba(251,191,36,0.25); line-height: 1.55; }
.light-page .notice { color: #76520a; background: rgba(251,191,36,0.16); }

.faq { display: grid; gap: 14px; }
.faq details { border-radius: 20px; padding: 18px 20px; background: rgba(255,255,255,0.08); border: 1px solid var(--line); }
.light-page .faq details { background: rgba(255,255,255,0.78); border-color: var(--line-dark); }
.faq summary { cursor: pointer; font-weight: 850; }
.faq p { margin: 14px 0 0; color: var(--muted); line-height: 1.6; }
.light-page .faq p { color: var(--muted-dark); }

.mobile-menu-button { display: none; }

@media (max-width: 940px) {
  .mobile-menu-button { display: inline-flex; }
  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border-radius: 22px;
    background: rgba(6, 19, 15, 0.96);
    border: 1px solid var(--line);
  }
  .light-page .nav-links { background: rgba(244,251,247,0.98); }
  .nav-links.open { display: flex; }
  .nav-actions .btn-secondary { display: none; }
  .hero-grid, .split, .calculator-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .result-card { position: static; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, var(--max)); }
  .hero { padding-top: 54px; }
  h1 { font-size: clamp(3rem, 17vw, 4.3rem); }
  .hero-proof, .cards, .country-grid, .pricing-grid, .form-grid { grid-template-columns: 1fr; }
  .dash-grid { grid-template-columns: 1fr; }
  .nav-actions .btn-primary { padding: 0 14px; }
  .panel, .form-card, .plan-card { padding: 22px; }
}
