:root {
  --background: #ffffff;
  --foreground: #1e2433;
  --muted-foreground: #6b7280;
  --border: #e6e8ef;
  --surface: #f6f7fb;
  --secondary: #f1f3f9;
  --brand: #2f5fe0;
  --violet: #7c3aed;
  --accent: #eee9fd;
  --accent-foreground: #5b21b6;
  --gradient-brand: linear-gradient(135deg, #2f5fe0, #7c3aed);
  --shadow-card: 0 1px 2px rgba(30, 36, 51, 0.06), 0 12px 32px -18px rgba(30, 36, 51, 0.28);
  --shadow-lift: 0 24px 60px -28px rgba(60, 50, 160, 0.45);
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--foreground);
  background: var(--background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: "Poppins", "Inter", sans-serif; letter-spacing: -0.02em; line-height: 1.15; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 760px; }
.section { padding: 64px 0; }
.section-surface { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.muted { color: var(--muted-foreground); font-size: 0.9rem; margin-top: 16px; }
.muted-xs { color: var(--muted-foreground); font-size: 0.72rem; }
.strong { font-weight: 600; }
.gradient-text { background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark {
  display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0;
  border-radius: 12px; background: var(--gradient-brand); color: #fff; font-weight: 700; font-size: 0.8rem;
}
.brand-name { font-family: "Poppins", sans-serif; font-weight: 600; font-size: 1.05rem; }
.main-nav { display: none; gap: 28px; font-size: 0.9rem; color: var(--muted-foreground); }
.main-nav a { transition: color 0.2s ease; }
.main-nav a:hover { color: var(--foreground); }

/* Buttons */
.btn {
  display: inline-block; border-radius: var(--radius); padding: 14px 24px;
  font-size: 0.9rem; font-weight: 600; transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.btn-sm { padding: 10px 16px; }
.btn-primary { background: var(--gradient-brand); color: #fff; box-shadow: var(--shadow-card); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn-outline { border: 1px solid var(--border); background: #fff; }
.btn-outline:hover { background: var(--secondary); }
.btn-light { background: #fff; color: var(--foreground); }
.btn-light:hover { transform: translateY(-2px); }
.btn-ghost { border: 1px solid rgba(255, 255, 255, 0.45); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn-row.center { justify-content: center; }

/* Hero */
.hero { padding: 64px 0; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
.badge {
  display: inline-block; border: 1px solid var(--border); background: #fff;
  border-radius: 999px; padding: 6px 14px; font-size: 0.75rem; color: var(--muted-foreground);
}
.hero h1 { margin-top: 20px; font-size: clamp(2.1rem, 6vw, 3.1rem); font-weight: 700; }
.lead { margin-top: 20px; max-width: 36rem; color: var(--muted-foreground); font-size: 1.02rem; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); max-width: 32rem; }
.hero-stats dt { font-family: "Poppins", sans-serif; font-weight: 700; font-size: 1.25rem; }
.hero-stats dd { margin-top: 4px; font-size: 0.75rem; color: var(--muted-foreground); }

/* Mockup */
.mockup { border: 1px solid var(--border); background: #fff; border-radius: 22px; padding: 18px; box-shadow: var(--shadow-lift); }
.mockup-bar { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.dots { display: flex; gap: 6px; }
.dots span { width: 10px; height: 10px; border-radius: 50%; background: #d8dced; }
.dots span:first-child { background: #f3b0ac; }
.dots span:nth-child(2) { background: #b6c6f5; }
.dots span:last-child { background: #cdbaf7; }
.mockup-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.kpi { border: 1px solid var(--border); background: var(--surface); border-radius: 12px; padding: 12px; }
.kpi strong { display: block; font-family: "Poppins", sans-serif; font-size: 1.1rem; }
.kpi span { display: block; margin-top: 4px; font-size: 0.68rem; color: var(--muted-foreground); line-height: 1.3; }
.mockup-chart { margin-top: 12px; border: 1px solid var(--border); background: var(--surface); border-radius: 12px; padding: 16px; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 112px; margin-top: 16px; }
.bars span { flex: 1; border-radius: 6px 6px 0 0; background: var(--gradient-brand); transition: opacity 0.3s ease; }
.bars span:hover { opacity: 0.75; }
.mockup-list { margin-top: 12px; display: grid; gap: 8px; }
.mockup-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border: 1px solid var(--border); background: var(--surface); border-radius: 12px; padding: 10px 12px;
}
.mockup-list span { font-size: 0.75rem; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mockup-list em {
  flex-shrink: 0; font-style: normal; font-size: 0.68rem; font-weight: 500;
  background: var(--accent); color: var(--accent-foreground); border-radius: 999px; padding: 4px 10px;
}

/* Sections */
.section-head { max-width: 44rem; }
.eyebrow { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brand); }
.section-head h2 { margin-top: 12px; font-size: clamp(1.7rem, 4vw, 2.3rem); font-weight: 700; }
.section-head p { margin-top: 14px; color: var(--muted-foreground); }

.grid { display: grid; gap: 20px; margin-top: 44px; }
.card {
  position: relative; background: #fff; border: 1px solid var(--border);
  border-radius: 18px; padding: 24px; box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card h3 { margin-top: 14px; font-size: 1.05rem; font-weight: 600; }
.card p { margin-top: 8px; font-size: 0.9rem; color: var(--muted-foreground); }
.icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent); font-size: 1.25rem; }
.card-title { display: flex; align-items: center; gap: 12px; }
.card-title h3 { margin-top: 0; }
.num { background: var(--gradient-brand); color: #fff; border-radius: 8px; padding: 3px 10px; font-size: 0.72rem; font-weight: 600; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tags li { border: 1px solid var(--border); background: var(--secondary); border-radius: 999px; padding: 4px 12px; font-size: 0.72rem; }
.steps .step { font-family: "Poppins", sans-serif; font-size: 2.2rem; font-weight: 700; }
.bar { display: block; width: 40px; height: 4px; border-radius: 999px; background: var(--gradient-brand); }

/* FAQ */
.faq { margin-top: 36px; border: 1px solid var(--border); border-radius: 18px; background: #fff; box-shadow: var(--shadow-card); overflow: hidden; }
.faq-item + .faq-item { border-top: 1px solid var(--border); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: 0; cursor: pointer; text-align: left; padding: 20px 24px;
  font: inherit; font-weight: 600; font-size: 0.95rem; transition: background-color 0.2s ease;
}
.faq-q:hover { background: var(--secondary); }
.plus { font-size: 1.25rem; color: var(--muted-foreground); transition: transform 0.3s ease; }
.faq-item.is-open .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.is-open .faq-a { max-height: 240px; }
.faq-a p { padding: 0 24px 20px; font-size: 0.9rem; color: var(--muted-foreground); }

/* CTA */
.cta-section { padding: 0 0 72px; }
.cta { background: var(--gradient-brand); border-radius: 26px; padding: 56px 24px; text-align: center; color: #fff; box-shadow: var(--shadow-lift); }
.cta h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); font-weight: 700; max-width: 36rem; margin: 0 auto; }
.cta p { margin: 16px auto 0; max-width: 32rem; color: rgba(255, 255, 255, 0.85); font-size: 0.98rem; }

/* Footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); }
.footer-grid { display: grid; gap: 32px; padding-top: 48px; padding-bottom: 48px; }
.site-footer h3 { font-size: 0.9rem; font-weight: 600; }
.site-footer ul { margin-top: 16px; display: grid; gap: 8px; font-size: 0.88rem; color: var(--muted-foreground); }
.site-footer ul a { transition: color 0.2s ease; }
.site-footer ul a:hover { color: var(--foreground); }
.footer-bottom { border-top: 1px solid var(--border); padding: 22px 0; text-align: center; font-size: 0.75rem; color: var(--muted-foreground); }

/* Responsive */
@media (min-width: 640px) {
  .grid-3, .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .cta { padding: 56px 48px; }
}

@media (min-width: 900px) {
  .section, .hero { padding: 92px 0; }
  .main-nav { display: flex; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-5 { grid-template-columns: repeat(5, 1fr); }
  .card-wide { grid-column: span 2; }
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
}
