:root {
  --bg: #f7f9fb;
  --surface: #ffffff;
  --ink: #1e293b;
  --muted: #64748b;
  --line: #d9e2ec;
  --brand: #0f766e;
  --brand-dark: #0f4f4a;
  --accent: #6d28d9;
  --whatsapp: #25d366;
  --danger: #b91c1c;
  --ok: #166534;
  --radius: 8px;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); }
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--brand);
}
.site-nav { display: flex; align-items: center; gap: 18px; font-size: 0.95rem; }
.nav-toggle { display: none; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 48px;
  align-items: center;
  padding: clamp(56px, 8vw, 110px) clamp(18px, 5vw, 72px);
  background: linear-gradient(135deg, #eff6f5 0%, #ffffff 55%, #eef2f7 100%);
}
.hero h1, .page-hero h1 { margin: 0; font-size: clamp(2rem, 5vw, 4rem); line-height: 1.05; letter-spacing: 0; }
.hero-subtitle, .page-hero p { max-width: 760px; color: var(--muted); font-size: 1.15rem; }
.eyebrow { color: var(--brand); font-weight: 800; text-transform: uppercase; letter-spacing: 0; font-size: 0.78rem; }
.actions, .card-actions, .admin-heading { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--brand);
  color: #fff;
  background: var(--brand);
  font-weight: 700;
  cursor: pointer;
}
.btn:hover { background: var(--brand-dark); color: #fff; }
.btn-outline { color: var(--brand); background: transparent; }
.btn-outline:hover { background: #e9f5f3; color: var(--brand-dark); }
.btn-small { min-height: 34px; padding: 7px 12px; font-size: 0.9rem; }
.btn-whatsapp { border-color: var(--whatsapp); background: var(--whatsapp); color: #063b1b; }
.btn-whatsapp:hover { background: #1fb85a; color: #062914; }

.hero-panel {
  display: grid;
  gap: 14px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-commerce { grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr); }
.hero-visual { position: relative; min-height: 360px; }
.browser-mock, .chat-mock {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.browser-mock { padding: 14px; min-height: 280px; }
.browser-top { display: flex; gap: 7px; margin-bottom: 16px; }
.browser-top span { width: 10px; height: 10px; border-radius: 999px; background: var(--line); }
.mock-hero { height: 86px; border-radius: var(--radius); background: linear-gradient(135deg, #0f766e, #6d28d9); margin-bottom: 18px; }
.mock-lines { display: grid; gap: 10px; }
.mock-lines b { display: block; height: 16px; border-radius: 999px; background: #e2e8f0; }
.mock-lines b:nth-child(2) { width: 78%; }
.mock-lines b:nth-child(3) { width: 52%; }
.chat-mock { position: absolute; right: 0; bottom: 10px; width: min(280px, 90%); padding: 18px; }
.chat-mock p { margin: 10px 0 0; padding: 10px; border-radius: var(--radius); background: #eef2f7; }
.chat-mock .reply { background: #dcfce7; }
.launch-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 16px clamp(18px, 5vw, 72px);
  color: #fff;
  background: #172554;
}
.metric { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); }
.metric span { display: block; font-size: 2rem; font-weight: 900; color: var(--brand-dark); }
.metric small { color: var(--muted); }

.page-hero { padding: 56px clamp(18px, 5vw, 72px) 36px; background: #fff; border-bottom: 1px solid var(--line); }
.section { padding: 56px clamp(18px, 5vw, 72px); }
.section-muted { background: #eef5f4; }
.section-heading { max-width: 760px; margin-bottom: 28px; }
.section-heading h2 { margin: 0; font-size: clamp(1.65rem, 3vw, 2.4rem); }

.feature-grid, .plans-grid, .testimonial-grid, .bank-grid, .stat-grid, .trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.feature-card, .plan-card, .testimonial, .bank-card, .panel, .form-card, .stat-card, .service-band, .trust-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}
.feature-grid.compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-grid.compact .feature-card { padding: 16px; }
.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius);
  background: #eef5f4;
  color: var(--brand-dark);
  font-weight: 900;
}
.service-band { min-height: 220px; display: grid; align-content: center; gap: 12px; }
.plan-card { display: flex; flex-direction: column; gap: 14px; }
.plan-card ul { padding-left: 20px; margin: 0; }
.price { font-size: 1.6rem; font-weight: 900; color: var(--brand-dark); }
.monthly { margin: 0; color: var(--muted); font-weight: 800; }
.badge, .plan-category {
  display: inline-flex;
  width: fit-content;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  background: #ede9fe;
  color: #4c1d95;
}
.plan-category { background: #e0f2fe; color: #075985; }
.muted, small { color: var(--muted); }
.faq-list { display: grid; gap: 12px; max-width: 920px; }
details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
summary { cursor: pointer; font-weight: 800; }

.form-section { display: flex; justify-content: center; }
.form-card { width: min(980px, 100%); display: grid; gap: 16px; }
.form-card.narrow { max-width: 460px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
label { display: grid; gap: 6px; font-weight: 700; }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 11px 12px;
  font: inherit;
  background: #fff;
  color: var(--ink);
}
textarea { resize: vertical; }
.notice { border-left: 4px solid var(--accent); padding: 12px 14px; background: #fff8eb; border-radius: 0 var(--radius) var(--radius) 0; }
.two-column { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.summary-list { display: grid; grid-template-columns: 150px 1fr; gap: 10px 16px; }
.summary-list dt { color: var(--muted); font-weight: 800; }
.summary-list dd { margin: 0; }
.status { display: inline-flex; padding: 4px 9px; border-radius: 999px; background: #edf7f5; color: var(--brand-dark); font-weight: 800; font-size: 0.85rem; }

.flash-wrap { padding: 14px clamp(18px, 5vw, 72px) 0; }
.alert { padding: 12px 14px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.alert-success { border-color: #b6e0cc; color: var(--ok); }
.alert-danger { border-color: #fecaca; color: var(--danger); }
.alert-warning { border-color: #fde68a; color: #854d0e; }
.alert-info { border-color: #bfdbfe; color: #1d4ed8; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 5vw, 72px);
  background: #102a27;
  color: #dce8e6;
}
.site-footer a { color: #dce8e6; }
.footer-links { display: grid; gap: 8px; }
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  border-radius: 999px;
  background: #25d366;
  color: #053b1d;
  font-weight: 900;
  padding: 12px 18px;
  box-shadow: var(--shadow);
}

.admin-layout { display: grid; grid-template-columns: 260px 1fr; min-height: calc(100vh - 74px); }
.admin-sidebar { background: #0f2724; color: #fff; padding: 22px; display: grid; align-content: start; gap: 8px; }
.admin-sidebar a { color: #dce8e6; padding: 9px 10px; border-radius: var(--radius); }
.admin-sidebar a:hover { background: rgba(255,255,255,0.08); color: #fff; }
.admin-content { padding: 32px; overflow-x: auto; }
.admin-heading { justify-content: space-between; margin-bottom: 18px; }
.stat-card { color: var(--ink); }
.stat-card span { display: block; font-size: 2rem; font-weight: 900; color: var(--brand); }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: #f4f7fa; color: var(--muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0; }
.filter-bar { display: flex; gap: 10px; margin-bottom: 16px; }
.check-row { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.check-row input { width: auto; }
.stack { display: grid; gap: 14px; }
.legal { max-width: 900px; }
.log-pre {
  max-height: 220px;
  overflow: auto;
  padding: 12px;
  background: #0f172a;
  color: #e2e8f0;
  border-radius: var(--radius);
  white-space: pre-wrap;
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; border: 1px solid var(--line); background: #fff; border-radius: var(--radius); padding: 8px 10px; }
  .site-nav { display: none; position: absolute; left: 18px; right: 18px; top: 64px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); flex-direction: column; align-items: stretch; }
  .site-nav.is-open { display: flex; }
  .hero, .two-column, .admin-layout { grid-template-columns: 1fr; }
  .feature-grid, .plans-grid, .testimonial-grid, .bank-grid, .stat-grid, .trust-grid, .feature-grid.compact { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; }
  .admin-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .summary-list { grid-template-columns: 1fr; }
}
