:root {
  --wa-forest: #062922;
  --wa-deep: #073B32;
  --wa-teal: #008069;
  --wa-teal-light: #00A884;
  --wa-green: #25D366;
  --wa-green-hover: #1EBE5A;
  --wa-mint: #D9FDD3;
  --wa-wallpaper: #EFEAE2;
  --ink: #0F1D19;
  --ink-soft: #435750;
  --surface-light: #F5F8F6;
  --surface-white: #FFFFFF;
  --border-light: #D7E3DD;
  --border-dark: rgba(255, 255, 255, 0.14);
  --danger-bg: #FEE2E2;
  --danger-ink: #991B1B;
  --safe-bg: #DCFCE7;
  --safe-ink: #166534;
  --warn-bg: #FEF3C7;
  --warn-ink: #92400E;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Heebo', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--surface-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img, svg { display: block; max-width: 100%; }

:focus-visible {
  outline: 3px solid var(--wa-green);
  outline-offset: 3px;
  border-radius: 6px;
}

.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;
}

.skip-link {
  position: fixed;
  top: -100px;
  right: 16px;
  z-index: 300;
  background: var(--wa-green);
  color: var(--wa-forest);
  font-weight: 800;
  padding: 10px 18px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.skip-link:focus { top: 12px; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* HEADER & NAVIGATION */
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  background: rgba(6, 41, 34, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-dark);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--wa-green), var(--wa-teal-light));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--wa-forest);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.28);
  flex-shrink: 0;
}

.brand-badge {
  font: 600 0.7rem/1 'IBM Plex Mono', monospace;
  background: rgba(37, 211, 102, 0.16);
  color: var(--wa-green);
  border: 1px solid rgba(37, 211, 102, 0.35);
  padding: 5px 8px;
  border-radius: 6px;
}

.nav-links {
  display: flex;
  gap: 18px;
  list-style: none;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  font-size: 0.9rem;
}

.nav-links li {
  white-space: nowrap;
}

.nav-links a {
  padding: 6px 2px;
  white-space: nowrap;
  transition: color 0.18s;
}
.nav-links a:hover { color: var(--wa-green); }

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--wa-green);
  color: var(--wa-forest);
  font-weight: 800;
  font-size: 0.92rem;
  padding: 10px 18px;
  border-radius: 999px;
  white-space: nowrap;
  transition: transform 0.15s, background 0.2s;
}
.nav-cta:hover { background: var(--wa-green-hover); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

.mobile-menu {
  background: var(--wa-forest);
  border-top: 1px solid var(--border-dark);
  padding: 16px 24px 22px;
}
.mobile-menu[hidden] { display: none; }

.mobile-menu ul {
  list-style: none;
  display: grid;
  gap: 6px;
}

.mobile-menu a {
  display: block;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 11px 12px;
  border-radius: 10px;
}
.mobile-menu a:hover { background: rgba(255, 255, 255, 0.08); color: var(--wa-green); }

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  padding: 112px 0 72px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 18%, rgba(37, 211, 102, 0.2), transparent 44%),
    radial-gradient(circle at 15% 85%, rgba(0, 168, 132, 0.22), transparent 48%),
    linear-gradient(125deg, #041D18 0%, #073B32 52%, #05221C 100%);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    rgba(4, 29, 24, 0.78) 0%,
    rgba(7, 59, 50, 0.68) 52%,
    rgba(5, 34, 28, 0.80) 100%
  );
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.hero-video.is-ready {
  opacity: 0.55;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 48px;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(37, 211, 102, 0.35);
  color: var(--wa-mint);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wa-green);
  box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.22);
  flex-shrink: 0;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.3vw, 3.45rem);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  text-wrap: balance;
}

.hero h1 .accent {
  color: var(--wa-green);
  display: block;
}

.hero-sub {
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 520px;
  line-height: 1.62;
  margin-bottom: 24px;
}

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

.btn-wa-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--wa-green);
  color: var(--wa-forest);
  font-weight: 800;
  font-size: 1.02rem;
  padding: 14px 26px;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.26);
  transition: transform 0.15s, background 0.2s;
  border: 0;
  cursor: pointer;
}
.btn-wa-primary:hover { background: var(--wa-green-hover); transform: translateY(-2px); }

.btn-wa-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.26);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 22px;
  border-radius: 999px;
  transition: background 0.2s;
}
.btn-wa-ghost:hover { background: rgba(255, 255, 255, 0.16); }

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  max-width: 540px;
}

.hero-highlights b {
  display: block;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--wa-green);
  line-height: 1.25;
}

.hero-highlights span {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.35;
  display: block;
  margin-top: 3px;
}

/* INTERACTIVE WHATSAPP PHONE DEMO */
.phone-showcase {
  width: 100%;
  max-width: 430px;
  justify-self: end;
}

.role-switcher-label {
  text-align: center;
  font-size: 0.85rem;
  color: var(--wa-mint);
  margin-bottom: 8px;
  font-weight: 700;
}

.role-switcher {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  background: rgba(0, 0, 0, 0.36);
  padding: 5px;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  margin-bottom: 12px;
}

.role-btn {
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
  font-size: 0.86rem;
  padding: 9px 4px;
  border-radius: 9px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}

.role-btn[aria-selected="true"] {
  background: var(--wa-green);
  color: var(--wa-forest);
  font-weight: 800;
}

.wa-phone {
  background: #0D1412;
  border-radius: 30px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 26px 64px rgba(0, 0, 0, 0.45);
}

.wa-screen {
  background: var(--wa-wallpaper);
  border-radius: 22px;
  overflow: hidden;
  color: var(--ink);
  display: flex;
  flex-direction: column;
}

.wa-status-bar {
  background: #054D40;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 16px 4px;
  font-size: 0.72rem;
  font-weight: 700;
  direction: ltr;
}

.wa-status-icons {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.wa-topbar {
  background: var(--wa-deep);
  color: #fff;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.wa-topbar-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.wa-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}
.wa-avatar--suppliers { background: #115E59; }
.wa-avatar--staff { background: #0F766E; }
.wa-avatar--customers { background: #15803D; }
.wa-avatar--owner { background: #064E3B; border-color: rgba(37, 211, 102, 0.55); }

.wa-topbar-title {
  min-width: 0;
}

.wa-topbar-title b {
  display: block;
  font-size: 0.9rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wa-topbar-title small {
  display: block;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.78);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wa-role-tag {
  font-family: 'Heebo', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(37, 211, 102, 0.18);
  color: var(--wa-mint);
  border: 1px solid rgba(37, 211, 102, 0.35);
  padding: 4px 9px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.wa-chat-body {
  padding: 10px 11px;
  height: 385px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background-image: radial-gradient(rgba(7, 59, 50, 0.06) 1px, transparent 1px);
  background-size: 16px 16px;
  scrollbar-width: thin;
  scrollbar-color: rgba(7, 59, 50, 0.28) transparent;
}

.wa-chat-pane[hidden] { display: none; }

.wa-bubble {
  max-width: 90%;
  padding: 6px 10px 5px;
  border-radius: 11px;
  font-size: 0.82rem;
  line-height: 1.4;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  animation: bubbleIn 0.28s ease both;
}

.wa-bubble:nth-child(2) { animation-delay: 0.12s; }
.wa-bubble:nth-child(3) { animation-delay: 0.24s; }
.wa-bubble:nth-child(4) { animation-delay: 0.36s; }
.wa-bubble:nth-child(5) { animation-delay: 0.48s; }

@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.wa-bubble.user {
  align-self: flex-start;
  background: var(--wa-mint);
  border-top-right-radius: 3px;
}

.wa-bubble.agent {
  align-self: flex-end;
  background: #fff;
  border-top-left-radius: 3px;
}

.wa-bubble.approval {
  align-self: flex-end;
  background: #FFFBEB;
  border: 1px solid #F59E0B;
  border-top-left-radius: 3px;
}

.wa-bubble.blocked {
  align-self: flex-end;
  background: #FEF2F2;
  border: 1px solid #F87171;
  border-top-left-radius: 3px;
}

.wa-sender {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--wa-teal);
  margin-bottom: 2px;
}

.wa-bubble.blocked .wa-sender { color: var(--danger-ink); }
.wa-bubble.approval .wa-sender { color: var(--warn-ink); }

.wa-doc-card {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(7, 59, 50, 0.12);
  border-radius: 8px;
  padding: 5px 8px;
  margin: 2px 0 3px;
}

.wa-doc-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--wa-deep);
  color: var(--wa-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wa-doc-card small {
  color: var(--ink-soft);
  font-size: 0.74rem;
}

.wa-voice-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 128, 105, 0.12);
  padding: 5px 9px;
  border-radius: 8px;
  margin-bottom: 4px;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--wa-deep);
}

.wa-voice-waves {
  flex: 1;
  height: 12px;
  background: repeating-linear-gradient(
    90deg,
    var(--wa-teal) 0 2px,
    transparent 2px 5px
  );
  opacity: 0.65;
  border-radius: 2px;
}

.wa-time {
  display: block;
  text-align: left;
  font-size: 0.68rem;
  color: #5C7069;
  margin-top: 3px;
}

.wa-checks { color: #0284C7; font-weight: 700; }

.wa-input-bar {
  background: #F0F2F5;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.wa-input-field {
  flex: 1;
  background: #fff;
  color: #6B7C76;
  font-size: 0.8rem;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.07);
}

.wa-input-mic {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--wa-teal);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* SECTIONS & RHYTHM */
.sec-light { background: var(--surface-light); padding: 80px 0; }
.sec-white { background: var(--surface-white); padding: 80px 0; }
.sec-dark {
  background: linear-gradient(155deg, var(--wa-forest) 0%, #07322A 100%);
  color: #fff;
  padding: 80px 0;
}

.sec-header {
  max-width: 700px;
  margin: 0 auto 44px;
  text-align: center;
}

.sec-header--split {
  max-width: none;
  margin: 0 0 40px;
  text-align: right;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: end;
}

.sec-tag {
  display: inline-flex;
  align-items: center;
  font-family: 'Heebo', sans-serif;
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--wa-teal);
  background: rgba(0, 128, 105, 0.1);
  border: 1px solid rgba(0, 128, 105, 0.22);
  padding: 5px 13px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.sec-dark .sec-tag {
  color: var(--wa-mint);
  background: rgba(37, 211, 102, 0.14);
  border-color: rgba(37, 211, 102, 0.3);
}

.sec-header h2,
.sec-header--split h2 {
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.sec-header p,
.sec-header--split p {
  color: var(--ink-soft);
  font-size: 1.02rem;
  margin-top: 10px;
}

.sec-header--split p { margin-top: 0; }
.sec-dark .sec-header p,
.sec-dark .sec-header--split p { color: rgba(255, 255, 255, 0.82); }

/* ROLE CARDS WITH CHAT MOCKUPS */
.roles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.role-card {
  background: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(6, 41, 34, 0.04);
}

.role-chat-preview {
  background: var(--wa-wallpaper);
  border-bottom: 1px solid var(--border-light);
}

.role-photo-wrap {
  position: relative;
  height: 176px;
  overflow: hidden;
  background: var(--wa-deep);
}

.role-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 0.4s ease;
}

.role-card:hover .role-photo {
  transform: scale(1.03);
}

.role-photo-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  color: #fff;
  background: linear-gradient(180deg, rgba(6, 41, 34, 0.08) 25%, rgba(6, 41, 34, 0.88) 100%);
}

.role-chat-head-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.role-photo-overlay h3 {
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.role-badge {
  font-family: 'Heebo', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  background: rgba(6, 41, 34, 0.72);
  color: var(--wa-mint);
  border: 1px solid rgba(37, 211, 102, 0.4);
  backdrop-filter: blur(6px);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.role-chat-msgs {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-height: 126px;
  justify-content: center;
  background-image: radial-gradient(rgba(7, 59, 50, 0.05) 1px, transparent 1px);
  background-size: 14px 14px;
}

.mini-msg {
  max-width: 88%;
  padding: 8px 11px;
  border-radius: 11px;
  font-size: 0.85rem;
  line-height: 1.45;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07);
}

.mini-msg--in {
  align-self: flex-start;
  background: var(--wa-mint);
  border-top-right-radius: 3px;
}

.mini-msg--out {
  align-self: flex-end;
  background: #fff;
  border-top-left-radius: 3px;
}

.mini-msg--warn {
  align-self: flex-end;
  background: #FFFBEB;
  border: 1px solid #F59E0B;
  border-top-left-radius: 3px;
}

.role-card-body {
  padding: 20px 22px 22px;
}

.role-card-body p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.roles-custom-note {
  margin-top: 22px;
  background: var(--surface-white);
  border: 1px dashed var(--wa-teal);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  text-align: center;
  font-size: 0.96rem;
  color: var(--ink);
}

/* BUSINESS CAROUSEL */
.biz-carousel {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.biz-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 2px 12px;
  scrollbar-width: none;
}
.biz-track::-webkit-scrollbar { display: none; }

.biz-card {
  flex: 0 0 calc((100% - 36px) / 3);
  scroll-snap-align: start;
  background: var(--surface-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.biz-head {
  display: flex;
  align-items: center;
  gap: 11px;
}

.biz-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(0, 128, 105, 0.12);
  color: var(--wa-teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.biz-head h3 {
  font-size: 1.06rem;
  font-weight: 800;
  line-height: 1.25;
}

.day-timeline {
  display: grid;
  gap: 9px;
}

.day-item {
  background: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.87rem;
  color: var(--ink-soft);
}

.day-item b { color: var(--ink); }

.biz-nav {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: var(--surface-white);
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, border-color 0.18s;
}
.biz-nav:hover:not(:disabled) { background: var(--wa-mint); border-color: var(--wa-teal); }
.biz-nav:disabled { opacity: 0.35; cursor: not-allowed; }

.biz-dots {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 14px;
}

.biz-dot-btn {
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.biz-dot-btn::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #C4D4CE;
  transition: width 0.2s, background 0.2s;
}

.biz-dot-btn[aria-current="true"]::before {
  width: 22px;
  background: var(--wa-teal);
}

.sec-cta-center {
  text-align: center;
  margin-top: 26px;
}

/* ONBOARDING STEPS */
.steps-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  position: relative;
}

.step-card {
  background: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--wa-deep);
  color: var(--wa-green);
  font: 600 1rem/1 'IBM Plex Mono', monospace;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.step-card h3 {
  font-size: 1.12rem;
  font-weight: 800;
}

.step-card p {
  color: var(--ink-soft);
  font-size: 0.94rem;
}

/* SECURITY & PERMISSION MATRIX (DARK) */
.matrix-scroll-hint {
  display: none;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--wa-mint);
  margin-bottom: 8px;
  text-align: center;
}

.matrix-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-dark);
  background: rgba(255, 255, 255, 0.04);
  scrollbar-width: thin;
  scrollbar-color: rgba(37, 211, 102, 0.45) rgba(255, 255, 255, 0.08);
}
.matrix-wrap::-webkit-scrollbar { height: 7px; }
.matrix-wrap::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.08); border-radius: 0 0 12px 12px; }
.matrix-wrap::-webkit-scrollbar-thumb { background: rgba(37, 211, 102, 0.45); border-radius: 999px; }

.perm-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  text-align: right;
  font-size: 0.92rem;
}

.perm-table th,
.perm-table td {
  padding: 15px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.perm-table thead th {
  background: rgba(0, 0, 0, 0.25);
  color: var(--wa-mint);
  font-weight: 800;
  font-size: 0.88rem;
}

.perm-table tbody tr:last-child td,
.perm-table tbody tr:last-child th {
  border-bottom: 0;
}

.perm-table tbody th {
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
}

.pill-allow,
.pill-deny,
.pill-approve {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.pill-allow { background: rgba(37, 211, 102, 0.18); color: #86EFAC; }
.pill-deny { background: rgba(248, 113, 113, 0.16); color: #FCA5A5; }
.pill-approve { background: rgba(251, 191, 36, 0.18); color: #FDE68A; }

.security-footnote {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.82);
}

.approval-callout {
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.3);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--wa-mint);
  font-weight: 600;
}

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

.p-card {
  background: var(--surface-white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.p-card--recommended {
  border: 2px solid var(--wa-teal);
  box-shadow: 0 18px 40px rgba(0, 128, 105, 0.11);
}

.p-ribbon {
  position: absolute;
  top: -13px;
  right: 22px;
  background: var(--wa-teal);
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 4px 14px;
  border-radius: 999px;
}

.p-card h3 {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 4px;
}

.p-sub {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-bottom: 18px;
  min-height: 44px;
}

.p-price-box {
  background: var(--surface-light);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 20px;
}

.p-monthly {
  font-size: 2.15rem;
  font-weight: 900;
  color: var(--ink);
  line-height: 1.05;
}

.p-monthly small {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.p-setup {
  margin-top: 7px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--wa-teal);
}

.p-extra {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--border-light);
  font-size: 0.8rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

.p-features {
  list-style: none;
  margin-bottom: 22px;
  display: grid;
  gap: 10px;
}

.p-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.93rem;
}

.p-features li svg {
  width: 18px;
  height: 18px;
  color: var(--wa-teal);
  flex: none;
  margin-top: 3px;
}

.p-features li.p-inherit {
  color: var(--wa-teal);
  font-weight: 800;
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--border-light);
}

.btn-card-main {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background: var(--wa-teal);
  color: #fff;
  font-weight: 800;
  font-size: 0.98rem;
  padding: 14px 18px;
  border-radius: 12px;
  transition: background 0.2s;
}
.btn-card-main:hover { background: var(--wa-deep); }

.p-card--recommended .btn-card-main {
  background: var(--wa-green);
  color: var(--wa-forest);
}
.p-card--recommended .btn-card-main:hover { background: var(--wa-green-hover); }

.pricing-note {
  margin-top: 22px;
  background: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: 0.91rem;
  color: var(--ink-soft);
}
.pricing-note b { color: var(--ink); }

/* FAQ ACCORDION */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--surface-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  font-size: 1.03rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--wa-teal);
  flex-shrink: 0;
  transition: transform 0.2s;
}

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

.faq-answer {
  padding: 0 20px 18px;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.65;
}

/* FINAL CTA BANNER */
.cta-banner {
  background: linear-gradient(125deg, #05261F 0%, #07443A 100%);
  color: #fff;
  padding: 64px 0;
}

.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-banner h2 {
  font-size: clamp(1.65rem, 2.8vw, 2.2rem);
  font-weight: 900;
  line-height: 1.2;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.84);
  margin-top: 6px;
  font-size: 1rem;
}

/* FOOTER */
.site-footer {
  background: var(--wa-forest);
  color: rgba(255, 255, 255, 0.78);
  padding: 36px 0;
  font-size: 0.9rem;
  border-top: 1px solid var(--border-dark);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 2px;
}
.footer-links a:hover { color: var(--wa-green); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 960px) {
  .hero-grid,
  .sec-header--split,
  .roles-grid,
  .steps-timeline,
  .pricing-cards {
    grid-template-columns: 1fr;
  }

  .phone-showcase {
    justify-self: center;
    max-width: 440px;
  }

  .p-card--recommended { order: -1; }
  .p-sub { min-height: auto; }

  .biz-card { flex: 0 0 calc((100% - 18px) / 2); }
}

@media (max-width: 760px) {
  .matrix-scroll-hint { display: block; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .nav { height: 60px; }
  .brand { font-size: 1.15rem; }
  .brand-badge { display: none; }
  .nav-cta { font-size: 0.84rem; padding: 8px 13px; }

  .hero { padding: 74px 0 36px; }
  .hero-grid { gap: 20px; }
  .hero-kicker { font-size: 0.78rem; padding: 4px 11px; margin-bottom: 10px; }
  .hero h1 { font-size: 1.78rem; margin-bottom: 8px; }
  .hero-sub { font-size: 0.94rem; line-height: 1.5; margin-bottom: 14px; }
  .hero-actions { flex-direction: column; gap: 8px; margin-bottom: 14px; }
  .btn-wa-primary, .btn-wa-ghost { width: 100%; padding: 11px 18px; font-size: 0.95rem; }

  .hero-highlights {
    gap: 8px;
    padding-top: 12px;
  }
  .hero-highlights b { font-size: 0.86rem; }
  .hero-highlights span { font-size: 0.78rem; }

  .role-switcher-label { font-size: 0.8rem; margin-bottom: 6px; }
  .role-switcher { margin-bottom: 8px; }
  .role-btn { font-size: 0.82rem; padding: 7px 4px; }
  .wa-chat-body { height: 392px; padding: 9px 10px; }

  .sec-light, .sec-white, .sec-dark { padding: 44px 0; }
  .sec-header { margin-bottom: 24px; }
  .sec-header--split { margin-bottom: 22px; gap: 10px; }

  .roles-grid { gap: 14px; }
  .role-photo-wrap { height: 144px; }
  .role-photo-overlay { padding: 10px 12px; }
  .role-chat-msgs { padding: 10px 12px; min-height: auto; gap: 6px; }
  .role-card-body { padding: 13px 15px 15px; }
  .roles-custom-note { margin-top: 14px; padding: 12px 14px; font-size: 0.9rem; }

  .biz-carousel { grid-template-columns: 1fr; }
  .biz-nav { display: none; }
  .biz-card { flex: 0 0 88%; padding: 16px; gap: 10px; }

  .steps-timeline { gap: 12px; }
  .step-card { padding: 18px 16px; gap: 8px; }

  .pricing-cards { gap: 16px; }
  .p-card { padding: 20px 16px; }
  .p-sub { margin-bottom: 12px; font-size: 0.88rem; }
  .p-price-box { padding: 12px 14px; margin-bottom: 14px; }
  .p-monthly { font-size: 1.85rem; }
  .p-features { gap: 7px; margin-bottom: 16px; }
  .p-features li { font-size: 0.89rem; }
  .btn-card-main { padding: 12px 16px; font-size: 0.94rem; }
  .pricing-note { margin-top: 16px; padding: 13px 15px; font-size: 0.87rem; }

  .faq-item summary { padding: 14px 16px; font-size: 0.96rem; }
  .faq-answer { padding: 0 16px 14px; font-size: 0.9rem; }

  .cta-banner { padding: 40px 0; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
