/* ============================================================
   Touch Smart Messaging Service — Marketing Site Stylesheet
   Brand: #27A454 (primary) · #59C36A (accent) · #0F5B4B (deep) · #ffffff
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --green: #27A454;
  --green-light: #59C36A;
  --teal: #0F5B4B;
  --teal-deep: #0A4237;
  --ink: #0C231C;
  --body: #446056;
  --muted: #6B857C;
  --tint: #F2FAF5;
  --tint-strong: #E4F4EA;
  --line: #DFECE4;
  --white: #ffffff;

  --grad: linear-gradient(135deg, #27A454 0%, #59C36A 100%);
  --grad-deep: linear-gradient(150deg, #0F5B4B 0%, #0A4237 100%);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 2px 8px rgba(15, 91, 75, 0.08);
  --shadow: 0 10px 30px rgba(15, 91, 75, 0.12);
  --shadow-lg: 0 24px 60px rgba(15, 91, 75, 0.18);

  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --container: 1160px;
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 800;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1em; }

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--teal); }

ul { padding-left: 1.2em; }

:focus-visible {
  outline: 3px solid rgba(39, 164, 84, 0.55);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

section { padding: 88px 0; }

.section-tint { background: var(--tint); }

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--tint-strong);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 16px;
}

.lead { font-size: 1.13rem; color: var(--body); }
.lead-2 { font-size: 1.13rem; color: var(--tint); }
/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(39, 164, 84, 0.35);
}
.btn-primary:hover {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(39, 164, 84, 0.45);
}

.btn:active { transform: translateY(0) scale(0.98); }

/* ---------- Skip link (a11y) ---------- */
.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 200;
  background: var(--teal);
  color: var(--white);
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 0 0 12px 12px;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; color: var(--white); }

.btn-ghost {
  background: transparent;
  color: var(--teal);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--green); color: var(--green); }

.btn-white {
  background: var(--white);
  color: var(--teal);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}
.btn-white:hover { color: var(--green); transform: translateY(-2px); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}
.btn-outline-white:hover { color: var(--white); border-color: var(--white); }

.btn-lg { padding: 16px 34px; font-size: 1.08rem; }
.btn-sm { padding: 9px 18px; font-size: 0.92rem; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(15, 91, 75, 0.07);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; }
.brand img { height: 44px; width: auto; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--body);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 6px 2px;
  position: relative;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--green); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 3px;
  border-radius: 3px;
  background: var(--grad);
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.6px;
  border-radius: 3px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 110px;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(89, 195, 106, 0.16), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(15, 91, 75, 0.10), transparent 60%),
    var(--white);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero h1 { margin-bottom: 20px; }
.hero h1 .grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lead { font-size: 1.2rem; max-width: 34em; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }

.trust-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  box-shadow: var(--shadow-sm);
}
.chip svg { width: 15px; height: 15px; flex: none; }

/* ---------- Hero inbox mockup ---------- */
.inbox-mock {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 480px;
  margin-left: auto;
}

.inbox-mock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: var(--grad-deep);
  color: var(--white);
}
.inbox-mock-head .title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
}
.inbox-mock-head .title img { width: 24px; height: 24px; }
.ai-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 5px 11px;
}
.ai-toggle .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green-light);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(89, 195, 106, 0.7); }
  50% { box-shadow: 0 0 0 6px rgba(89, 195, 106, 0); }
}

.inbox-mock-body { padding: 18px; display: grid; gap: 12px; background: #FBFDFC; }

.msg {
  display: grid;
  gap: 6px;
  max-width: 88%;
  opacity: 0;
  transform: translateY(14px);
  animation: msg-in 0.55s ease forwards;
}
.msg.out { justify-self: end; }
.msg:nth-child(1) { animation-delay: 0.3s; }
.msg:nth-child(2) { animation-delay: 1.0s; }
.msg:nth-child(3) { animation-delay: 1.7s; }
.msg:nth-child(4) { animation-delay: 2.4s; }

@keyframes msg-in {
  to { opacity: 1; transform: translateY(0); }
}

.msg-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
}
.msg.out .msg-meta { justify-content: flex-end; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 2.5px 9px;
  letter-spacing: 0.02em;
}
.tag-sms { background: #E7F3FF; color: #1667AF; }
.tag-wa { background: #E4F7E9; color: #1B7A3D; }
.tag-web { background: #F1EAFB; color: #6B3FA0; }
.tag-ai { background: var(--grad); color: var(--white); }
.tag-pos { background: #E4F7E9; color: #1B7A3D; }
.tag-urg { background: #FDECEC; color: #C0392B; }

.msg-bubble {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  border-top-left-radius: 4px;
  padding: 10px 14px;
  font-size: 0.9rem;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.msg.out .msg-bubble {
  background: var(--grad);
  border: none;
  color: var(--white);
  border-radius: 14px;
  border-top-right-radius: 4px;
}

.hero-media { position: relative; max-width: 480px; margin-left: auto; }
.hero-media .inbox-mock { margin-left: 0; }

.hero-float {
  position: absolute;
  z-index: 2;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-float .num { font-size: 1.25rem; color: var(--green); }
.hero-float.f1 { top: -20px; right: -18px; animation: floaty 5s ease-in-out infinite; }
.hero-float.f2 { bottom: -20px; left: -18px; animation: floaty 6s ease-in-out 1.2s infinite; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ---------- Channel bar ---------- */
.channel-bar { padding: 44px 0; border-block: 1px solid var(--line); background: var(--white); }
.channel-bar .label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}
.channel-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.channel-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 20px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.channel-pill:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.channel-pill svg { width: 20px; height: 20px; flex: none; }

/* ---------- Stats strip ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  text-align: center;
}
.stat .stat-num {
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--teal);
}
.stat .stat-num .accent { color: var(--green); }
.stat .stat-label { font-weight: 600; color: var(--muted); font-size: 0.95rem; }

/* ---------- Steps ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.step-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 28px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.step-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--grad);
  color: var(--white);
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 18px;
  box-shadow: 0 8px 18px rgba(39, 164, 84, 0.35);
}
.step-card p { margin-bottom: 0; font-size: 0.98rem; }

/* ---------- Tabs (feature highlights) ---------- */
.tabs { max-width: 1000px; margin-inline: auto; }
.tab-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}
.tab-btn {
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--body);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 22px;
  cursor: pointer;
  transition: all 0.18s ease;
}
.tab-btn:hover { border-color: var(--green); color: var(--green); }
.tab-btn[aria-selected="true"] {
  background: var(--grad);
  border-color: transparent;
  color: var(--white);
  box-shadow: 0 8px 18px rgba(39, 164, 84, 0.3);
}

.tab-panel {
  display: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 44px;
}
.tab-panel.active { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: center; animation: fade-in 0.35s ease; }

@keyframes fade-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.tab-panel h3 { font-size: 1.5rem; }
.tab-panel ul { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 11px; }
.tab-panel ul li { display: flex; gap: 11px; align-items: flex-start; font-size: 0.99rem; }
.check {
  flex: none;
  width: 21px; height: 21px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--tint-strong);
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
}

.mini-mock {
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

/* generic bar rows used in mini mockups */
.mock-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}
.mock-row:last-child { margin-bottom: 0; }
.mock-bar {
  height: 9px;
  border-radius: 6px;
  background: var(--grad);
  flex: none;
}
.mock-dot {
  width: 34px; height: 34px;
  border-radius: 10px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--tint-strong);
  color: var(--green);
  font-weight: 800;
  font-size: 0.8rem;
}

/* ---------- Browser frame + product screenshots ---------- */
.browser-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  background: var(--white);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  background: #EAF3EE;
  border-bottom: 1px solid var(--line);
}
.browser-dots { display: flex; gap: 7px; flex: none; }
.browser-dots span { width: 11px; height: 11px; border-radius: 50%; background: #CBD9D2; }
.browser-dots span:nth-child(1) { background: #F0A9A0; }
.browser-dots span:nth-child(2) { background: #F3CE7E; }
.browser-dots span:nth-child(3) { background: #86CF9E; }
.browser-url {
  flex: 1;
  max-width: 440px;
  margin-inline: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.browser-frame img { display: block; width: 100%; height: auto; }
/* fixed-ratio crop for tall full-page shots */
.shot-viewport { aspect-ratio: 16 / 9; overflow: hidden; background: var(--tint); }
.shot-viewport img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* Screenshot tour tabs reuse [data-tabs]; override the grid panel styling */
.tab-panel.shot-panel { display: none; padding: 0; border: none; box-shadow: none; background: transparent; }
.tab-panel.shot-panel.active { display: block; animation: fade-in 0.35s ease; }
.shot-caption { text-align: center; margin: 20px auto 0; max-width: 640px; color: var(--body); }
.shot-caption strong { color: var(--ink); }

/* pricing note under plan cards */
.plans-note {
  text-align: center;
  max-width: 720px;
  margin: 30px auto 0;
  font-size: 0.92rem;
  color: var(--muted);
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 20px;
}
.plans-note strong { color: var(--teal); }

/* ---------- Dark AI band ---------- */
.band-dark {
  background: var(--grad-deep);
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  overflow: hidden;
}
.band-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 400px at 90% 0%, rgba(89, 195, 106, 0.18), transparent 60%);
  pointer-events: none;
}
.band-dark h2, .band-dark h3 { color: var(--white); }
.band-dark .kicker { background: rgba(255, 255, 255, 0.12); color: var(--green-light); }
.band-dark .container { position: relative; }

.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.ai-feature-list { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 16px; }
.ai-feature-list li { display: flex; gap: 14px; }
.ai-feature-list .ico {
  flex: none;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.10);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ai-feature-list .ico svg { width: 21px; height: 21px; }
.ai-feature-list strong { color: var(--white); display: block; margin-bottom: 2px; }
.ai-feature-list p { margin: 0; font-size: 0.94rem; }

.ai-chat-mock {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(4px);
}
.ai-chat-mock .msg { animation: none; opacity: 1; transform: none; }
.ai-chat-mock .msg + .msg { margin-top: 14px; }
.ai-chat-mock .msg-bubble { background: rgba(255, 255, 255, 0.95); border: none; }
.ai-chat-mock .msg.out .msg-bubble { background: var(--grad); color: var(--white); }
.ai-chat-mock .msg-meta { color: rgba(255, 255, 255, 0.6); }

/* ---------- QR / web chat section ---------- */
.qr-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.qr-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 34px;
  text-align: center;
  max-width: 360px;
  margin-inline: auto;
}
.qr-card svg { margin: 0 auto 18px; }
.qr-card .scan-label { font-weight: 700; color: var(--ink); font-size: 0.95rem; margin: 0; }
.qr-card .scan-sub { font-size: 0.85rem; color: var(--muted); margin: 4px 0 0; }

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.testimonial-card .stars { color: #F0A82E; font-size: 1rem; letter-spacing: 2px; }
.testimonial-card blockquote { margin: 0; font-size: 0.99rem; color: var(--ink); flex: 1; }
.testimonial-card .who { display: flex; align-items: center; gap: 12px; }
.testimonial-card .avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--grad);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  flex: none;
}
.testimonial-card .who strong { color: var(--ink); display: block; font-size: 0.95rem; }
.testimonial-card .who span { font-size: 0.85rem; color: var(--muted); }

/* ---------- Pricing ---------- */
.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 48px;
  font-weight: 700;
  color: var(--body);
}
.billing-toggle .save-badge {
  background: var(--tint-strong);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  border-radius: 999px;
  padding: 4px 11px;
}
.switch {
  position: relative;
  width: 56px; height: 30px;
  background: var(--line);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease;
  flex: none;
}
.switch::after {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}
.switch[aria-checked="true"] { background: var(--green); }
.switch[aria-checked="true"]::after { transform: translateX(26px); }

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}
.plan-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.plan-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.plan-card.featured {
  border: 2px solid var(--green);
  box-shadow: var(--shadow-lg);
}
.plan-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 6px 18px;
  box-shadow: 0 6px 14px rgba(39, 164, 84, 0.35);
  white-space: nowrap;
}
.plan-name { font-size: 1.2rem; margin-bottom: 4px; }
.plan-for { font-size: 0.9rem; color: var(--muted); margin-bottom: 22px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.plan-price .amount { font-size: 2.9rem; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; }
.plan-price .period { color: var(--muted); font-weight: 600; }
.plan-billed { font-size: 0.83rem; color: var(--muted); min-height: 1.4em; margin-bottom: 24px; }
.plan-features { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 11px; flex: 1; }
.plan-features li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; }
.plan-card .btn { width: 100%; }

/* ---------- Comparison table ---------- */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
table.compare {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.95rem;
}
table.compare th, table.compare td {
  padding: 14px 18px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
table.compare th { background: var(--tint); color: var(--ink); font-weight: 800; }
table.compare td:first-child, table.compare th:first-child { text-align: left; color: var(--ink); font-weight: 600; }
table.compare tr:last-child td { border-bottom: none; }
table.compare .group-row td {
  background: var(--tint);
  font-weight: 800;
  color: var(--teal);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.yes { color: var(--green); font-weight: 800; }
.no { color: #C8D8CF; font-weight: 700; }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 780px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}
.faq-item.open { box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  background: none;
  border: none;
  text-align: left;
  padding: 20px 24px;
  cursor: pointer;
}
.faq-q .faq-icon {
  flex: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--tint-strong);
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  transition: transform 0.25s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-a-inner { padding: 0 24px 22px; font-size: 0.97rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--grad-deep);
  position: relative;
  overflow: hidden;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 15% 100%, rgba(89, 195, 106, 0.22), transparent 60%),
    radial-gradient(600px 300px at 85% 0%, rgba(39, 164, 84, 0.18), transparent 60%);
  pointer-events: none;
}
.cta-band .container { position: relative; }
.cta-band h2 { color: var(--white); max-width: 18em; margin-inline: auto; }
.cta-band .lead { max-width: 36em; margin-inline: auto; }
.cta-band .hero-ctas { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--teal-deep);
  color: rgba(255, 255, 255, 0.72);
  padding: 64px 0 32px;
  font-size: 0.94rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 44px;
}
.footer-brand img { height: 54px; width: auto; margin-bottom: 14px; }
.footer-brand p { max-width: 26em; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.footer-badges .chip {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.85);
  box-shadow: none;
}
.site-footer h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-links a { color: rgba(255, 255, 255, 0.72); }
.footer-links a:hover { color: var(--green-light); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; flex: none; margin-top: 4px; color: var(--green-light); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.65); }
.footer-bottom a:hover { color: var(--green-light); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease;
}
.wa-float:hover { transform: scale(1.08); color: var(--white); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 94px;
  z-index: 90;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--teal);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: var(--green); border-color: var(--green); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 80px 0 64px;
  text-align: center;
  background:
    radial-gradient(800px 400px at 50% -20%, rgba(89, 195, 106, 0.14), transparent 60%),
    var(--tint);
  border-bottom: 1px solid var(--line);
}
.page-hero .lead { max-width: 42em; margin-inline: auto; }

/* ---------- Features page ---------- */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.icon-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.icon-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.icon-card .ico {
  width: 50px; height: 50px;
  border-radius: 14px;
  background: var(--tint-strong);
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.icon-card .ico svg { width: 24px; height: 24px; }
.icon-card h3 { font-size: 1.1rem; }
.icon-card p { margin: 0; font-size: 0.94rem; }
.icon-card ul { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 7px; font-size: 0.9rem; }
.icon-card ul li { display: flex; gap: 9px; align-items: flex-start; }
.icon-card ul .check { width: 18px; height: 18px; font-size: 0.62rem; margin-top: 2px; }

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
}
.feature-block + .feature-block { border-top: 1px solid var(--line); }
.feature-block.reverse .fb-media { order: 2; }
.feature-block h3 { font-size: 1.55rem; }
.feature-block ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 11px; }
.feature-block ul li { display: flex; gap: 11px; align-items: flex-start; font-size: 0.98rem; }
.fb-media {
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
}

/* role table */
table.roles {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.95rem;
}
table.roles th, table.roles td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}
table.roles th { background: var(--tint); color: var(--ink); font-weight: 800; }
table.roles td:first-child, table.roles th:first-child { text-align: left; font-weight: 600; color: var(--ink); }
table.roles tr:last-child td { border-bottom: none; }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: start;
}
.contact-cards { display: grid; gap: 18px; }
.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}
.contact-card .ico {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--tint-strong);
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.contact-card .ico svg { width: 22px; height: 22px; }
.contact-card h3 { font-size: 1.02rem; margin-bottom: 3px; }
.contact-card p { margin: 0; font-size: 0.94rem; }
.contact-card a { font-weight: 700; }

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 38px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: grid; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 700; font-size: 0.9rem; color: var(--ink); }
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font);
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--tint);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 15px;
  transition: border-color 0.18s ease, background 0.18s ease;
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--green);
  background: var(--white);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.field-label { font-weight: 700; font-size: 0.9rem; color: var(--ink); }
.field-label .optional { font-weight: 500; color: var(--muted); }

.channel-checks { display: flex; flex-wrap: wrap; gap: 10px; }
.channel-checks label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--body);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px 9px 12px;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.channel-checks label:hover { border-color: var(--green-light); color: var(--ink); }
/* visually hide the native checkbox but keep it accessible/focusable */
.channel-checks input {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
  margin: 0;
}
/* custom tick indicator */
.channel-checks .tick {
  flex: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.channel-checks .tick::after {
  content: "";
  width: 5px; height: 9px;
  border: solid transparent;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-0.5px, -1px);
  transition: border-color 0.15s ease;
}
/* Selected state — driven by a JS-toggled .is-checked class so it works in
   every browser. NOTE: keep these rules SEPARATE from any :has() rule below —
   grouping an unsupported :has() selector in the same list would invalidate
   the whole rule in engines that don't support :has(). */
.channel-checks label.is-checked {
  background: var(--tint-strong);
  border-color: var(--green);
  color: var(--teal);
  box-shadow: 0 2px 8px rgba(39, 164, 84, 0.18);
}
.channel-checks label.is-checked .tick {
  background: var(--green);
  border-color: var(--green);
}
.channel-checks label.is-checked .tick::after { border-color: var(--white); }
.channel-checks label.has-focus {
  outline: 3px solid rgba(39, 164, 84, 0.5);
  outline-offset: 2px;
}
/* Progressive enhancement for engines with native :has() support (kept in
   their own blocks so an unsupported selector never drops the rules above). */
.channel-checks label:has(input:checked) {
  background: var(--tint-strong);
  border-color: var(--green);
  color: var(--teal);
  box-shadow: 0 2px 8px rgba(39, 164, 84, 0.18);
}
.channel-checks label:has(input:checked) .tick {
  background: var(--green);
  border-color: var(--green);
}
.channel-checks label:has(input:checked) .tick::after { border-color: var(--white); }
.channel-checks label:has(input:focus-visible) {
  outline: 3px solid rgba(39, 164, 84, 0.5);
  outline-offset: 2px;
}
.form-note { font-size: 0.87rem; color: var(--muted); margin: 14px 0 0; }
.form-status { font-weight: 700; color: var(--green); margin: 14px 0 0; display: none; }
.form-status.show { display: block; }

/* ---------- Legal pages ---------- */
.legal {
  max-width: 820px;
  margin-inline: auto;
  padding: 64px 24px 96px;
}
.legal h1 { font-size: 2.2rem; }
.legal .updated { color: var(--muted); font-size: 0.92rem; margin-bottom: 40px; }
.legal h2 { font-size: 1.35rem; margin-top: 44px; }
.legal h3 { font-size: 1.08rem; margin-top: 28px; }
.legal ul { margin-bottom: 1em; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

@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;
  }
  .reveal { opacity: 1; transform: none; }
  .msg { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > :last-child { grid-column: 1 / -1; }
}

@media (max-width: 940px) {
  section { padding: 68px 0; }

  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 18px 24px 26px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .nav-open .nav-menu { display: flex; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-links a { display: block; padding: 11px 6px; font-size: 1.05rem; }
  .nav-links a.active::after { display: none; }
  .nav-cta { flex-direction: column; align-items: stretch; }

  .hero { padding: 64px 0 76px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-media { margin-inline: auto; }
  .inbox-mock { margin-inline: auto; }
  .hero-float { display: none; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .tab-panel.active { grid-template-columns: 1fr; gap: 30px; padding: 30px; }
  .ai-grid, .qr-grid { grid-template-columns: 1fr; gap: 40px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .icon-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-block { grid-template-columns: 1fr; gap: 30px; }
  .feature-block.reverse .fb-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .container { padding-inline: 18px; }
  .hero-ctas .btn { width: 100%; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .icon-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 26px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .tab-panel.active { padding: 22px; }
  .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .to-top { right: 16px; bottom: 80px; width: 42px; height: 42px; }
  .brand img { height: 38px; }
}
