:root {
  --bg: #0b1120;
  --bg-soft: #111a2e;
  --card: #16213a;
  --primary: #25d366;
  --primary-dark: #1ea952;
  --accent: #6366f1;
  --text: #e6edf7;
  --muted: #97a3b6;
  --border: #233149;
  --radius: 16px;
  --max: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--primary); color: #042713; box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3); }
.btn--primary:hover { background: var(--primary-dark); }
.btn--ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn--lg { padding: 14px 26px; font-size: 1.05rem; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 17, 32, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-weight: 800; font-size: 1.3rem; letter-spacing: -0.5px; }
.logo span { color: var(--primary); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a:not(.btn) { color: var(--muted); font-weight: 500; }
.nav a:not(.btn):hover { color: var(--text); }

/* Hero */
.hero { padding: 80px 0 60px; background: radial-gradient(1200px 500px at 80% -10%, rgba(99, 102, 241, 0.18), transparent), var(--bg); }
.hero__inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.badge {
  display: inline-block;
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.hero h1 { font-size: 2.8rem; line-height: 1.15; letter-spacing: -1px; margin-bottom: 18px; }
.hero p { color: var(--muted); font-size: 1.1rem; max-width: 540px; }
.hero__actions { display: flex; gap: 14px; margin: 28px 0 18px; flex-wrap: wrap; }
.hero__note { font-size: 0.85rem; color: var(--muted); }

.hero__card {
  background: linear-gradient(160deg, var(--card), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}
.chat { display: flex; flex-direction: column; gap: 12px; }
.chat__bubble {
  background: #1f2d49;
  padding: 14px 16px;
  border-radius: 16px 16px 16px 4px;
  max-width: 85%;
  font-size: 0.95rem;
}
.chat__bubble--in {
  background: var(--primary);
  color: #042713;
  align-self: flex-end;
  border-radius: 16px 16px 4px 16px;
  font-weight: 500;
}
.chat__meta { color: var(--muted); font-size: 0.78rem; text-align: center; margin-top: 6px; }

/* Stats */
.stats { padding: 36px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-soft); }
.stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.stat strong { display: block; font-size: 2.4rem; color: var(--primary); }
.stat span { color: var(--muted); font-size: 0.95rem; }

/* Sections */
.section-title { font-size: 2rem; text-align: center; letter-spacing: -0.5px; }
.section-sub { text-align: center; color: var(--muted); margin: 10px auto 40px; max-width: 560px; }

.modules { padding: 80px 0; }
.modules__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-6px); border-color: var(--primary); }
.card__icon { font-size: 2rem; margin-bottom: 12px; }
.card h3 { margin-bottom: 8px; font-size: 1.2rem; }
.card p { color: var(--muted); font-size: 0.95rem; }

/* How */
.how { padding: 80px 0; background: var(--bg-soft); }
.how__steps { list-style: none; max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.how__steps li { display: flex; gap: 18px; align-items: flex-start; }
.how__steps span {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--primary);
  color: #042713;
  border-radius: 50%;
  font-weight: 700;
}
.how__steps h3 { font-size: 1.1rem; }
.how__steps p { color: var(--muted); }

/* Pricing */
.pricing { padding: 80px 0; }
.pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
}
.plan--featured { border-color: var(--primary); box-shadow: 0 20px 50px rgba(37, 211, 102, 0.15); transform: scale(1.03); }
.plan__tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #042713;
  padding: 4px 14px; border-radius: 999px; font-size: 0.78rem; font-weight: 700;
}
.plan h3 { font-size: 1.3rem; }
.plan__price { font-size: 2.2rem; font-weight: 800; margin: 10px 0 18px; }
.plan__price span { font-size: 1rem; color: var(--muted); font-weight: 500; }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; flex: 1; }
.plan li { color: var(--muted); padding-left: 24px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 700; }

/* CTA */
.cta { padding: 80px 0; }
.cta__inner {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  border-radius: 28px;
  padding: 56px 32px;
  text-align: center;
  color: #04130a;
}
.cta h2 { font-size: 2rem; color: #fff; }
.cta p { color: rgba(255, 255, 255, 0.9); margin: 12px 0 26px; }
.cta .btn--primary { background: #fff; color: #042713; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 40px 0; background: var(--bg-soft); }
.footer__inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer p { color: var(--muted); font-size: 0.9rem; margin-top: 8px; }
.footer__legal { text-align: right; }

/* Responsivo */
@media (max-width: 880px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.1rem; }
  .nav a:not(.btn) { display: none; }
  .modules__grid, .pricing__grid, .stats__grid { grid-template-columns: 1fr; }
  .plan--featured { transform: none; }
  .footer__legal { text-align: left; }
}
