:root {
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --accent: #0ea5e9;
  --bg: #f8fafc;
  --bg-dark: #0f172a;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --success: #16a34a;
  --radius: 14px;
  --shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.12);
  --max: 1120px;
}

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

html { scroll-behavior: smooth; }

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

img { max-width: 100%; height: auto; display: block; }

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

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand img { width: 42px; height: 42px; }

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-desktop a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-desktop a:hover,
.nav-desktop a.active { color: var(--primary); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1.15rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.28);
}

.btn-primary:hover { box-shadow: 0 12px 28px rgba(37, 99, 235, 0.35); }

.btn-outline {
  background: #fff;
  color: var(--primary);
  border: 1.5px solid var(--border);
}

.btn-outline:hover { border-color: var(--primary); }

.btn-whatsapp {
  background: #25d366;
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  padding-inline: 0.5rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.35rem;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.2s;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0 0 1rem;
  border-top: 1px solid var(--border);
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  padding: 0.65rem 0;
  color: var(--text);
  font-weight: 500;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 5rem;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(37, 99, 235, 0.18), transparent),
    linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary-dark);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.stat strong {
  display: block;
  font-size: 1.35rem;
  color: var(--text);
}

.stat span { font-size: 0.85rem; color: var(--muted); }

.hero-visual {
  position: relative;
}

.dashboard-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem;
}

.dashboard-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.dots { display: flex; gap: 6px; }

.dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}

.dots span:first-child { background: #f87171; }
.dots span:nth-child(2) { background: #fbbf24; }
.dots span:nth-child(3) { background: #4ade80; }

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.metric {
  background: var(--bg);
  border-radius: 10px;
  padding: 0.85rem;
}

.metric label {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.metric strong { font-size: 1.1rem; }

.metric.up strong { color: var(--success); }

.chart-bar {
  margin-top: 1rem;
  height: 80px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
}

.chart-bar span {
  flex: 1;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  border-radius: 4px 4px 0 0;
  opacity: 0.85;
}

.floating-tag {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.65rem 0.85rem;
  box-shadow: var(--shadow);
  font-size: 0.82rem;
  font-weight: 600;
}

.floating-tag.one { top: -12px; right: -8px; }
.floating-tag.two { bottom: 20px; left: -16px; color: var(--success); }

/* Sections */
section { padding: 4.5rem 0; }

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.section-head h2 {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.section-head p { color: var(--muted); margin: 0; font-size: 1.05rem; }

.benefits-grid,
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.card h3 { margin: 0 0 0.5rem; font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Plans */
.plans { background: #fff; }

.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.plan-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
}

.plan-card.featured {
  background: linear-gradient(180deg, #eff6ff 0%, #fff 100%);
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), var(--shadow);
  transform: scale(1.02);
}

.plan-badge {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary);
  background: rgba(37, 99, 235, 0.12);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.plan-card h3 { margin: 0 0 0.35rem; }
.plan-price { font-size: 1.5rem; font-weight: 800; margin-bottom: 1rem; }
.plan-price small { font-size: 0.85rem; font-weight: 500; color: var(--muted); }

.plan-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  flex: 1;
}

.plan-card li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.55rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.plan-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact-info h3 { margin-top: 0; }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.contact-list li { margin-bottom: 0.85rem; color: var(--muted); }
.contact-list strong { color: var(--text); }

.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
  margin-bottom: 1rem;
  background: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: 2px solid rgba(37, 99, 235, 0.25);
  border-color: var(--primary);
}

.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 0.5rem; }

/* Footer */
.site-footer {
  background: var(--bg-dark);
  color: #cbd5e1;
  padding: 2.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-grid h4 { color: #fff; margin: 0 0 0.75rem; }
.footer-grid a { color: #94a3b8; font-size: 0.92rem; }
.footer-grid a:hover { color: #fff; }
.footer-links { display: flex; flex-direction: column; gap: 0.45rem; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
  font-size: 0.85rem;
  color: #64748b;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .benefits-grid,
  .features-grid,
  .plans-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .plans-grid .plan-card.featured { transform: none; }

  .hero-visual { order: -1; max-width: 420px; margin-inline: auto; }

  .nav-desktop,
  .header-actions .btn-ghost { display: none; }

  .menu-toggle { display: block; }

  .header-actions .btn-primary { display: none; }
}

@media (max-width: 640px) {
  .hero { padding-top: 3rem; }
  .hero-cta .btn { width: 100%; }
  .metric-grid { grid-template-columns: 1fr; }
}
