@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg-body: #090d16;
  --bg-surface: rgba(15, 23, 42, 0.85);
  --bg-surface-solid: #0d1424;
  --bg-hover: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);

  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --ink-on-accent: #052e1f;

  --green: #10b981;
  --green-dark: #059669;
  --green-light: #34d399;
  --green-pale: rgba(16, 185, 129, 0.15);

  --gold: #f59e0b;
  --gold-bg: rgba(245, 158, 11, 0.12);

  /* Tons claros usados só dentro do mockup do preview (representa o app real, que continua claro) */
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;

  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== NAVBAR ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--bg-surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}
.nav-logo-icon {
  width: 36px; height: 36px;
  color: var(--green);
  flex-shrink: 0;
}
.nav-logo-name {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--green-light); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.btn-ghost {
  background: none;
  border: none;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.btn-ghost:hover { background: var(--bg-hover); color: var(--text-primary); }
.btn-primary-nav {
  background: var(--green);
  color: white;
  border: none;
  padding: 9px 22px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}
.btn-primary-nav:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
}

/* ===== HERO ===== */
.hero {
  padding: 140px 24px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.08) 0%, var(--bg-body) 60%);
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.14) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-pale);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--green-light);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 28px;
  letter-spacing: 0.3px;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -2px;
  color: var(--text-primary);
  margin-bottom: 24px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.hero h1 .highlight {
  color: var(--green-light);
  position: relative;
}
.hero p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.btn-hero-primary {
  background: var(--green);
  color: white;
  border: none;
  padding: 15px 32px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.35);
  transition: all 0.2s;
}
.btn-hero-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(16, 185, 129, 0.45);
}
.btn-hero-secondary {
  background: var(--bg-surface);
  color: var(--text-secondary);
  border: 1.5px solid var(--border);
  padding: 14px 30px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}
.btn-hero-secondary:hover {
  border-color: var(--green);
  color: var(--green-light);
  transform: translateY(-1px);
}

/* Dashboard Preview — mostra o app real (que continua claro), emoldurado dentro da LP escura */
.hero-preview {
  max-width: 960px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: 0 40px 100px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.06);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  font-family: 'Outfit', sans-serif;
}
.preview-bar {
  background: var(--slate-100);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--slate-200);
}
.preview-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.preview-dot:nth-child(1) { background: #ef4444; }
.preview-dot:nth-child(2) { background: #f59e0b; }
.preview-dot:nth-child(3) { background: #10b981; }
.preview-url {
  flex: 1;
  background: white;
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 12px;
  color: var(--slate-500);
  margin: 0 8px;
}
.preview-content {
  display: flex;
  height: 380px;
}
.preview-sidebar {
  width: 200px;
  background: var(--white);
  border-right: 1px solid var(--slate-200);
  padding: 16px 12px;
  flex-shrink: 0;
}
.preview-sidebar-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  margin-bottom: 20px;
}
.preview-sidebar-logo svg {
  width: 22px; height: 22px;
  color: var(--green);
}
.preview-sidebar-logo span {
  font-size: 14px;
  font-weight: 800;
  color: var(--slate-900);
}
.preview-nav-item {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  color: var(--slate-600);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: default;
}
.preview-nav-item.active {
  background: var(--green-pale);
  color: var(--green-dark);
  font-weight: 600;
}
.preview-nav-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.6;
}
.preview-main {
  flex: 1;
  background: var(--slate-50);
  padding: 24px;
  overflow: hidden;
}
.preview-topbar {
  background: white;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}
.preview-topbar-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--slate-900);
}
.preview-btn {
  background: var(--green);
  color: white;
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
}
.preview-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.preview-kpi {
  background: white;
  border-radius: 10px;
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
}
.preview-kpi-val {
  font-size: 18px;
  font-weight: 800;
  color: var(--slate-900);
}
.preview-kpi-label {
  font-size: 10px;
  color: var(--slate-500);
  margin-top: 2px;
}
.preview-table-row {
  background: white;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-sm);
}
.preview-badge {
  padding: 3px 8px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 600;
}
.preview-badge.green { background: var(--green-pale); color: var(--green-dark); }
.preview-badge.yellow { background: #fefce8; color: #854d0e; }
.preview-badge.blue { background: #eff6ff; color: #1d4ed8; }
.preview-row-text {
  font-size: 11px;
  color: var(--slate-700);
  font-weight: 500;
}
.preview-row-sub {
  font-size: 10px;
  color: var(--slate-400);
}

/* ===== STATS ===== */
.stats {
  padding: 56px 24px;
  background: var(--bg-surface-solid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-inner {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-value {
  font-family: 'Outfit', sans-serif;
  font-size: 36px;
  font-weight: 900;
  color: var(--green-light);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

/* ===== FEATURES ===== */
.features {
  padding: 100px 24px;
  background: var(--bg-body);
}
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  display: inline-block;
  background: var(--green-pale);
  color: var(--green-light);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.3px;
}
.section-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.section-header p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}
.features-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg-surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.feature-card:hover {
  border-color: var(--green);
  box-shadow: 0 8px 32px rgba(16, 185, 129, 0.18);
  transform: translateY(-3px);
}
.feature-icon {
  width: 48px; height: 48px;
  background: var(--green-pale);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
  color: var(--green-light);
}
.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ===== HOW IT WORKS ===== */
.how {
  padding: 100px 24px;
  background: var(--bg-surface-solid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.how-steps {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}
.how-step-num {
  font-family: 'Outfit', sans-serif;
  width: 52px; height: 52px;
  background: var(--green);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
}
.how-step h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.how-step p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ===== PRICING ===== */
.pricing {
  padding: 100px 24px;
  background: var(--bg-body);
}
.pricing-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pricing-card {
  background: var(--bg-surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  transition: all 0.25s;
}
.pricing-card.featured {
  border-color: var(--green);
  box-shadow: 0 8px 32px rgba(16, 185, 129, 0.2);
}
.pricing-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: white;
  padding: 4px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
}
.pricing-plan {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.pricing-price {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-style: italic;
}
.pricing-features-list {
  list-style: none;
  margin-bottom: 32px;
}
.pricing-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 6px 0;
}
.pricing-features-list li::before {
  content: '✓';
  color: var(--green-light);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.btn-pricing {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-pricing-outline {
  border: 1.5px solid var(--border);
  color: var(--text-secondary);
  background: transparent;
}
.btn-pricing-outline:hover { border-color: var(--green); color: var(--green-light); }
.btn-pricing-solid {
  background: var(--green);
  color: white;
  border: none;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}
.btn-pricing-solid:hover { background: var(--green-dark); }

/* ===== CTA FINAL ===== */
.cta-final {
  padding: 100px 24px;
  background: var(--bg-surface-solid);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
}
.cta-final h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  color: white;
  letter-spacing: -1px;
  margin-bottom: 16px;
  position: relative;
}
.cta-final p {
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 40px;
  position: relative;
}
.btn-cta {
  background: var(--green);
  color: white;
  border: none;
  padding: 16px 40px;
  border-radius: var(--radius);
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 24px rgba(16, 185, 129, 0.4);
  transition: all 0.2s;
  position: relative;
}
.btn-cta:hover {
  background: var(--green-light);
  color: var(--ink-on-accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(16, 185, 129, 0.5);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-surface-solid);
  border-top: 1px solid var(--border);
  padding: 48px 24px 32px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand-name {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: white;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-brand-name svg { width: 24px; height: 24px; color: var(--green); }
.footer-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  max-width: 260px;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--green-light); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copyright {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}
.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .preview-sidebar { display: none; }
  .preview-kpis { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; text-align: center; }
}
