:root {
  --dark:    #0f172a;
  --dark2:   #1e293b;
  --dark3:   #334155;
  --blue:    #2563eb;
  --blue2:   #3b82f6;
  --blue3:   #93c5fd;
  --text:    #f1f5f9;
  --muted:   #94a3b8;
  --muted2:  #64748b;
  --green:   #10b981;
  --radius:  12px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ── NAV ─────────────────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 68px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(51, 65, 85, 0.5);
  transition: background .3s;
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.25rem; font-weight: 700;
}

.nav-logo svg { color: var(--blue2); }

.nav-links { display: flex; align-items: center; gap: 32px; }

.nav-links a {
  font-size: .9rem; color: var(--muted);
  transition: color .2s;
}
.nav-links a:hover { color: var(--text); }

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

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: 8px;
  font-size: .9rem; font-weight: 600;
  cursor: pointer; transition: all .2s; border: none;
}

.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #1d4ed8; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(37,99,235,.35); }

.btn-outline {
  background: transparent; color: var(--text);
  border: 1px solid var(--dark3);
}
.btn-outline:hover { background: var(--dark2); }

.btn-lg { padding: 14px 32px; font-size: 1rem; border-radius: 10px; }

/* ── HERO ────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 120px 5% 80px;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(37,99,235,.18) 0%, transparent 70%);
  position: relative; overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232563eb' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 999px; font-size: .8rem; font-weight: 500;
  background: rgba(37,99,235,.15); color: var(--blue3);
  border: 1px solid rgba(37,99,235,.25);
  margin-bottom: 28px;
}

.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue2); animation: pulse 2s infinite; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -.03em;
  max-width: 820px; margin-bottom: 24px;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--blue2) 0%, var(--blue3) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted); max-width: 580px; margin-bottom: 40px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

.hero-stats {
  display: flex; gap: 48px; margin-top: 72px;
  padding-top: 40px; border-top: 1px solid var(--dark3);
  flex-wrap: wrap; justify-content: center;
}

.stat strong { display: block; font-size: 2rem; font-weight: 800; color: var(--blue2); }
.stat span { font-size: .85rem; color: var(--muted); }

/* ── SEÇÕES ──────────────────────────────────────────────────────────── */
section { padding: 96px 5%; }

.section-label {
  display: inline-block; font-size: .8rem; font-weight: 600;
  color: var(--blue2); text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800; line-height: 1.2;
  letter-spacing: -.02em; margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem; color: var(--muted);
  max-width: 560px; margin: 0 auto 56px;
}

.text-center { text-align: center; }

/* ── FEATURES ────────────────────────────────────────────────────────── */
.features { background: var(--dark2); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px; margin-top: 56px;
}

.feature-card {
  padding: 32px; border-radius: var(--radius);
  background: var(--dark);
  border: 1px solid var(--dark3);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37,99,235,.4);
  box-shadow: 0 12px 32px rgba(37,99,235,.12);
}

.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 1.5rem;
  background: rgba(37,99,235,.15);
}

.feature-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.feature-card p  { font-size: .9rem; color: var(--muted); line-height: 1.65; }

/* ── COMO FUNCIONA ───────────────────────────────────────────────────── */
.steps { position: relative; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px; margin-top: 56px;
  position: relative;
}

.step {
  text-align: center; padding: 32px 24px;
  border-radius: var(--radius);
  background: var(--dark2);
  border: 1px solid var(--dark3);
}

.step-num {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 800;
  background: var(--blue); color: #fff;
  margin: 0 auto 20px;
}

.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.step p  { font-size: .875rem; color: var(--muted); }

/* ── PLANOS ──────────────────────────────────────────────────────────── */
.plans { background: var(--dark2); }

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px; max-width: 960px; margin: 56px auto 0;
}

.plan-card {
  padding: 36px; border-radius: var(--radius);
  background: var(--dark);
  border: 1px solid var(--dark3);
  transition: transform .2s;
}

.plan-card.featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue), 0 16px 48px rgba(37,99,235,.2);
  position: relative; transform: scale(1.03);
}

.plan-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: #fff;
  font-size: .75rem; font-weight: 700; padding: 4px 16px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: .05em;
}

.plan-name  { font-size: .85rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.plan-price { font-size: 2.8rem; font-weight: 800; line-height: 1; margin-bottom: 4px; }
.plan-price sup { font-size: 1.2rem; font-weight: 700; vertical-align: top; margin-top: 10px; }
.plan-price small { font-size: .9rem; font-weight: 400; color: var(--muted); }
.plan-desc { font-size: .875rem; color: var(--muted); margin: 12px 0 28px; }

.plan-features { list-style: none; margin-bottom: 32px; }
.plan-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .9rem; padding: 8px 0;
  border-bottom: 1px solid var(--dark3);
}
.plan-features li:last-child { border-bottom: none; }
.plan-features li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }

.plan-card .btn { width: 100%; justify-content: center; }

/* ── FAQ ─────────────────────────────────────────────────────────────── */
.faq-list { max-width: 720px; margin: 56px auto 0; }

.faq-item {
  border-bottom: 1px solid var(--dark3);
  overflow: hidden;
}

.faq-question {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0; text-align: left;
  font-size: 1rem; font-weight: 600; color: var(--text);
}

.faq-icon {
  width: 24px; height: 24px; flex-shrink: 0;
  border-radius: 50%; background: var(--dark3);
  display: flex; align-items: center; justify-content: center;
  transition: transform .25s, background .25s;
  font-size: .75rem;
}

.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--blue); }

.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease, padding .3s;
}

.faq-item.open .faq-answer { max-height: 300px; }

.faq-answer p { padding-bottom: 20px; font-size: .95rem; color: var(--muted); }

/* ── CTA FINAL ───────────────────────────────────────────────────────── */
.cta-section {
  text-align: center;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(37,99,235,.15) 0%, transparent 70%);
}

.cta-section h2 { max-width: 600px; margin: 0 auto 16px; }
.cta-section p  { color: var(--muted); margin-bottom: 40px; }

/* ── FOOTER ──────────────────────────────────────────────────────────── */
footer {
  padding: 40px 5%;
  background: var(--dark2);
  border-top: 1px solid var(--dark3);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}

.footer-logo { display: flex; align-items: center; gap: 8px; font-weight: 700; }
footer p { font-size: .85rem; color: var(--muted2); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: .85rem; color: var(--muted2); transition: color .2s; }
.footer-links a:hover { color: var(--text); }

/* ── MOBILE ──────────────────────────────────────────────────────────── */
.hamburger { display: none; background: none; border: none; cursor: pointer; color: var(--text); }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta .btn-outline { display: none; }
  .hamburger { display: flex; }

  .hero { padding-top: 100px; }

  .hero-stats { gap: 32px; }

  .plan-card.featured { transform: none; }
  .plans-grid { grid-template-columns: 1fr; max-width: 400px; }

  footer { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
