:root {
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --bg-dark: #0b1220;
  --bg-dark-card: #121c2f;
  --ink: #0b1220;
  --ink-muted: #4b5568;
  --ink-light: #94a3b8;
  --line: #e5eaf2;
  --line-dark: rgba(255, 255, 255, 0.1);
  --emerald: #10b981;
  --emerald-dark: #059669;
  --emerald-soft: #ecfdf5;
  --emerald-border: #a7f3d0;
  --wa-header: #075e54;
  --wa-bg: #efeae2;
  --wa-in: #ffffff;
  --wa-out: #d9fdd3;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(11, 18, 32, 0.05);
  --shadow-md: 0 12px 32px rgba(11, 18, 32, 0.08);
  --shadow-lg: 0 24px 60px rgba(11, 18, 32, 0.14);
  --max: 1140px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
}

p {
  margin: 0;
}

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

img,
svg {
  display: block;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.brand-mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.brand-dot {
  color: var(--emerald-dark);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-muted);
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

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

.btn-primary {
  background: var(--ink);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(11, 18, 32, 0.16);
}

.btn-primary:hover {
  background: #172238;
}

.btn-emerald {
  background: var(--emerald);
  color: #052e20;
  box-shadow: 0 8px 22px rgba(16, 185, 129, 0.28);
}

.btn-emerald:hover {
  background: #34d399;
}

.btn-secondary {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--line);
}

.btn-secondary:hover {
  border-color: #cbd5e1;
  background: var(--bg-soft);
}

.btn-sm {
  padding: 10px 16px;
  font-size: 14px;
  border-radius: 10px;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 68px 0 76px;
  background:
    radial-gradient(900px 460px at 85% -10%, rgba(16, 185, 129, 0.13), transparent 60%),
    radial-gradient(700px 420px at 10% 0%, rgba(15, 23, 42, 0.04), transparent 55%),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 52px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--emerald-soft);
  border: 1px solid var(--emerald-border);
  color: #065f46;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 22px;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--emerald);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.22);
}

.hero h1 {
  font-size: clamp(36px, 4.8vw, 56px);
  font-weight: 800;
  line-height: 1.06;
  margin-bottom: 20px;
}

.hero h1 .accent {
  color: var(--emerald-dark);
}

.hero-copy {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 540px;
  margin-bottom: 30px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13.5px;
  color: var(--ink-muted);
}

.trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.trust-check {
  color: var(--emerald-dark);
  font-weight: 700;
}

/* ============ INTERACTIVE WHATSAPP DEMO ============ */
.demo-shell {
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(15, 23, 42, 0.14);
}

.demo-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.06);
  padding: 5px;
  border-radius: 12px;
}

.demo-tab {
  flex: 1;
  border: 0;
  background: transparent;
  color: #cbd5e1;
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.demo-tab:hover {
  color: #ffffff;
}

.demo-tab[aria-selected="true"] {
  background: var(--emerald);
  color: #052e20;
}

.wa-card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--wa-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.wa-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--wa-header);
  color: #ffffff;
}

.wa-agent {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wa-avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  display: grid;
  place-items: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #ffffff;
}

.wa-name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.wa-status {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.82);
}

.wa-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.24);
  color: #d1fae5;
  border: 1px solid rgba(167, 243, 208, 0.3);
}

.wa-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 318px;
}

.msg {
  max-width: 86%;
  padding: 10px 13px;
  border-radius: 12px;
  font-size: 13.5px;
  line-height: 1.45;
  color: #111b21;
  box-shadow: 0 1px 1px rgba(11, 20, 26, 0.1);
}

.msg-in {
  align-self: flex-start;
  background: var(--wa-in);
  border-top-left-radius: 4px;
}

.msg-out {
  align-self: flex-end;
  background: var(--wa-out);
  border-top-right-radius: 4px;
}

.msg-meta {
  display: block;
  margin-top: 4px;
  text-align: right;
  font-size: 10.5px;
  color: #667781;
}

.wa-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: #f0f2f5;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 12px;
  color: #475569;
}

.wa-outcome {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #065f46;
}

/* ============ METRICS BAR ============ */
.metrics {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 36px 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px 0;
}

.metric-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(28px, 3.2vw, 36px);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.metric-label {
  font-size: 14px;
  color: var(--ink-muted);
}

/* ============ SECTIONS ============ */
.section {
  padding: 88px 0;
}

.section-soft {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 680px;
  margin-bottom: 48px;
}

.section-kicker {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--emerald-dark);
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
  margin-bottom: 14px;
}

.section-head p {
  font-size: 17px;
  color: var(--ink-muted);
}

/* ============ STEPS ============ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.step-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--emerald-soft);
  border: 1px solid var(--emerald-border);
  color: #065f46;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 18px;
}

.step-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 15px;
  color: var(--ink-muted);
}

/* ============ FEATURES ============ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.feature-card:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--emerald-dark);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 17.5px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14.5px;
  color: var(--ink-muted);
}

/* ============ USE CASES ============ */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.case-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.case-tag {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--ink);
}

.case-card h3 {
  font-size: 20px;
  font-weight: 700;
}

.case-card p {
  font-size: 15px;
  color: var(--ink-muted);
}

.case-bullets {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 14px;
  color: var(--ink);
}

.case-bullets li::before {
  content: '✓';
  color: var(--emerald-dark);
  font-weight: 700;
  margin-right: 8px;
}

/* ============ PRICING ============ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.plan-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.plan-featured {
  background: var(--bg-dark);
  color: #ffffff;
  border-color: var(--bg-dark);
  box-shadow: var(--shadow-lg);
}

.plan-featured h3,
.plan-featured .plan-price {
  color: #ffffff;
}

.plan-featured .plan-desc,
.plan-featured .plan-list {
  color: #cbd5e1;
}

.plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.plan-pill {
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--emerald);
  color: #052e20;
}

.plan-card h3 {
  font-size: 21px;
  font-weight: 800;
}

.plan-desc {
  font-size: 14.5px;
  color: var(--ink-muted);
}

.plan-price {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.plan-price span {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-light);
}

.plan-list {
  list-style: none;
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink-muted);
  flex: 1;
}

.plan-featured .plan-list {
  border-top-color: var(--line-dark);
}

.plan-list li::before {
  content: '✓';
  color: var(--emerald);
  font-weight: 700;
  margin-right: 9px;
}

/* ============ FAQ ============ */
.faq-list {
  max-width: 780px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 24px;
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 16.5px;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-plus {
  font-size: 20px;
  line-height: 1;
  color: var(--emerald-dark);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-plus {
  transform: rotate(45deg);
}

.faq-item p {
  margin-top: 12px;
  font-size: 15px;
  color: var(--ink-muted);
}

/* ============ CONTACT / CTA ============ */
.cta-box {
  background: var(--bg-dark);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 52px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
  box-shadow: var(--shadow-lg);
}

.cta-box h2 {
  color: #ffffff;
  font-size: clamp(28px, 3.4vw, 38px);
  margin-bottom: 14px;
}

.cta-copy {
  color: #cbd5e1;
  font-size: 16px;
  margin-bottom: 24px;
}

.cta-direct {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14.5px;
  color: #cbd5e1;
}

.cta-direct a {
  color: #6ee7b7;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-form {
  background: var(--bg-dark-card);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 13px;
  font-weight: 600;
  color: #e2e8f0;
}

.field input,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #94a3b8;
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--emerald);
  outline-offset: 1px;
  border-color: transparent;
}

.form-note {
  font-size: 12.5px;
  color: #94a3b8;
}

.form-status {
  font-size: 13.5px;
  color: #6ee7b7;
  min-height: 20px;
}

/* ============ FOOTER ============ */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: 48px 0 40px;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.footer-brand {
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-tag {
  font-size: 14px;
  color: var(--ink-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  font-size: 14px;
  color: var(--ink-muted);
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-muted);
}

.footer-legal {
  font-weight: 500;
  color: var(--ink);
}

/* ============ LEGAL PAGES ============ */
.legal-main {
  padding: 56px 0 72px;
}

.legal-card {
  max-width: 780px;
}

.legal-card h1 {
  font-size: clamp(28px, 4vw, 38px);
  margin-bottom: 10px;
}

.legal-date {
  font-size: 14px;
  color: var(--ink-muted);
  margin-bottom: 32px;
}

.legal-card h2 {
  font-size: 20px;
  margin: 30px 0 10px;
}

.legal-card p,
.legal-card li {
  color: var(--ink-muted);
  margin-bottom: 12px;
}

.legal-card ul {
  padding-left: 20px;
  margin: 0 0 16px;
}

.legal-card a {
  color: var(--emerald-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .hero-grid,
  .cta-box {
    grid-template-columns: 1fr;
  }

  .steps-grid,
  .features-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .nav-links,
  .nav-actions .btn-desktop {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-header.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 18px 24px 24px;
    gap: 16px;
    box-shadow: var(--shadow-md);
  }

  .hero {
    padding: 44px 0 56px;
  }

  .section {
    padding: 64px 0;
  }

  .metrics-grid,
  .steps-grid,
  .features-grid,
  .cases-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 30px 22px;
  }
}
