/* ==========================================================================
   Pulsechat Marketing Site — Design System
   ========================================================================== */

:root {
  /* Color — brand green, fresh/growth, bold & vibrant */
  --green-50:  #EEFBF3;
  --green-100: #D7F6E3;
  --green-200: #AEEBC7;
  --green-300: #79DBA6;
  --green-400: #46CB88;
  --green-500: #1DB876;
  --green-600: #159660;
  --green-700: #0F7A4E;
  --green-900: #0A4A31;

  --lime-300: #DDF77A;
  --lime-400: #C6F135;
  --lime-500: #ADD91F;

  --ink-900: #081310;
  --ink-800: #0C1A16;
  --ink-700: #12241E;
  --ink-600: #1A342B;

  --gray-50:  #F7FAF8;
  --gray-100: #EEF3F0;
  --gray-200: #E1E9E4;
  --gray-300: #C9D3CE;
  --gray-500: #7C8B84;
  --gray-600: #5A6B63;
  --gray-700: #3E4A45;
  --gray-900: #131D19;

  --white: #FFFFFF;

  --gradient-primary: linear-gradient(135deg, #1DB876 0%, #59C93C 55%, #C6F135 100%);
  --gradient-dark: linear-gradient(180deg, #0A1512 0%, #12241E 100%);
  --gradient-mesh: radial-gradient(60% 60% at 20% 20%, rgba(198,241,53,0.35) 0%, rgba(198,241,53,0) 60%),
                    radial-gradient(50% 50% at 85% 15%, rgba(29,184,118,0.45) 0%, rgba(29,184,118,0) 60%),
                    radial-gradient(60% 60% at 75% 85%, rgba(29,184,118,0.35) 0%, rgba(29,184,118,0) 60%);

  /* Type */
  --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --fs-hero: clamp(2.6rem, 4vw + 1.4rem, 4.6rem);
  --fs-h1: clamp(2.1rem, 2.4vw + 1.3rem, 3.1rem);
  --fs-h2: clamp(1.7rem, 1.4vw + 1.2rem, 2.4rem);
  --fs-h3: clamp(1.25rem, 0.6vw + 1.05rem, 1.5rem);
  --fs-body-lg: clamp(1.05rem, 0.3vw + 1rem, 1.25rem);
  --fs-body: 1rem;
  --fs-sm: 0.875rem;
  --fs-xs: 0.75rem;

  /* Spacing (4px base) */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;
  --sp-32: 128px;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --radius-full: 999px;

  --shadow-sm: 0 2px 8px rgba(10, 25, 20, 0.06);
  --shadow-md: 0 8px 24px rgba(10, 25, 20, 0.10);
  --shadow-lg: 0 20px 60px rgba(10, 25, 20, 0.16);
  --shadow-glow: 0 12px 40px rgba(29, 184, 118, 0.35);

  --container: 1200px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* Semantic surface/text tokens — themeable via [data-theme] */
  --bg: var(--white);
  --bg-alt: var(--gray-50);
  --surface: var(--white);
  --text-primary: var(--gray-900);
  --text-secondary: var(--gray-600);
  --text-muted: var(--gray-500);
  --border-color: var(--gray-200);
  --border-color-soft: var(--gray-100);
  --header-bg: rgba(255, 255, 255, 0.82);
}

:root[data-theme="dark"] {
  --bg: var(--ink-900);
  --bg-alt: var(--ink-700);
  --surface: var(--ink-800);
  --text-primary: #F1FBF5;
  --text-secondary: rgba(241, 251, 245, 0.66);
  --text-muted: rgba(241, 251, 245, 0.5);
  --border-color: rgba(241, 251, 245, 0.14);
  --border-color-soft: rgba(241, 251, 245, 0.08);
  --header-bg: rgba(8, 19, 16, 0.82);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: var(--ink-900);
    --bg-alt: var(--ink-700);
    --surface: var(--ink-800);
    --text-primary: #F1FBF5;
    --text-secondary: rgba(241, 251, 245, 0.66);
    --text-muted: rgba(241, 251, 245, 0.5);
    --border-color: rgba(241, 251, 245, 0.14);
    --border-color-soft: rgba(241, 251, 245, 0.08);
    --header-bg: rgba(8, 19, 16, 0.82);
  }
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--sp-6); }
section { position: relative; }

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

/* ---- Type utilities ---- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-600);
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gradient-primary);
}
.eyebrow.on-dark { color: var(--lime-400); }

.section-head { max-width: 640px; margin-bottom: var(--sp-12); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: var(--sp-3); }
.section-head p { margin-top: var(--sp-4); font-size: var(--fs-body-lg); color: var(--gray-600); }

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 15px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-sm);
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn-primary {
  background: var(--gradient-primary);
  background-size: 160% 160%;
  background-position: 0% 50%;
  color: var(--ink-900);
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { background-position: 100% 50%; transform: translateY(-2px); box-shadow: 0 16px 46px rgba(29,184,118,0.45); }
.btn-dark {
  background: var(--ink-900);
  color: var(--white);
}
.btn-dark:hover { background: var(--green-700); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-color);
}
.btn-ghost:hover { border-color: var(--green-500); color: var(--green-700); }
.btn-ghost.on-dark { color: var(--white); border-color: rgba(255,255,255,0.25); }
.btn-ghost.on-dark:hover { border-color: var(--lime-400); color: var(--lime-400); }
.btn-lg { padding: 18px 34px; font-size: var(--fs-body); }
.btn-block { width: 100%; }

/* ---- Theme toggle ---- */
.theme-toggle {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-color);
  color: var(--text-primary);
  flex-shrink: 0;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.theme-toggle:hover { border-color: var(--green-500); color: var(--green-600); transform: translateY(-1px); }
.theme-toggle svg { width: 19px; height: 19px; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}
.mobile-drawer .theme-toggle { align-self: flex-start; margin-top: -8px; }

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: var(--sp-4) 0;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), padding 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(19,29,25,0.08);
  padding: var(--sp-3) 0;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-6); }

.brand { display: flex; align-items: center; gap: var(--sp-2); font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--text-primary); }
.brand .logo-mark { width: 34px; height: 34px; border-radius: 22%; display: block; }

.nav-links { display: flex; align-items: center; gap: var(--sp-8); }
.nav-links a {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding-block: var(--sp-1);
  transition: color 0.25s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: right 0.3s var(--ease);
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.nav-links a.active { color: var(--text-primary); }

.header-actions { display: flex; align-items: center; gap: var(--sp-4); }
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-color);
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block;
  width: 18px; height: 2px; background: var(--text-primary);
  position: relative; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-drawer {
  display: none;
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 99;
  padding: 100px var(--sp-6) var(--sp-10);
  flex-direction: column;
  gap: var(--sp-6);
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease);
}
.mobile-drawer.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-drawer a { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--text-primary); }
.mobile-drawer .btn { margin-top: var(--sp-4); align-self: flex-start; }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .header-actions .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-drawer { display: flex; }
}

/* ---- Hero ---- */
.hero {
  padding: var(--sp-16) 0 var(--sp-24);
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -10% -10% auto -10%;
  height: 900px;
  background: var(--gradient-mesh);
  filter: blur(10px);
  z-index: -1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--sp-16);
  align-items: center;
}
.hero-copy h1 { font-size: var(--fs-hero); margin-top: var(--sp-4); }
.hero-copy p { font-size: var(--fs-body-lg); color: var(--text-secondary); margin-top: var(--sp-5); max-width: 520px; }
.hero-actions { display: flex; gap: var(--sp-4); margin-top: var(--sp-8); flex-wrap: wrap; }
.hero-proof { display: flex; align-items: center; gap: var(--sp-4); margin-top: var(--sp-10); }
.avatar-stack { display: flex; }
.avatar-stack .avatar { width: 36px; height: 36px; border-radius: 50%; border: 2.5px solid var(--bg); margin-left: -10px; box-shadow: var(--shadow-sm); }
.avatar-stack .avatar:first-child { margin-left: 0; }
.hero-proof-text { font-size: var(--fs-sm); color: var(--text-secondary); }
.hero-proof-text strong { color: var(--text-primary); }

.hero-visual { position: relative; display: flex; justify-content: center; }

/* Phone mockup */
.phone {
  width: 300px;
  border-radius: 46px;
  background: var(--ink-900);
  padding: 14px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
  animation: float 6s ease-in-out infinite;
}
.phone-screen {
  background: linear-gradient(180deg, #F4FBF6 0%, #E9F8EF 100%);
  border-radius: 32px;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  flex-direction: column;
}
.phone-notch { height: 26px; display: flex; align-items: center; justify-content: center; }
.phone-notch::before { content: ""; width: 90px; height: 18px; background: var(--ink-900); border-radius: var(--radius-full); }
.phone-topbar { padding: var(--sp-4) var(--sp-5) var(--sp-3); display: flex; align-items: center; gap: var(--sp-3); }
.phone-topbar .pt-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--gradient-primary); }
.phone-topbar .pt-name { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; color: var(--ink-900); }
.phone-topbar .pt-status { font-size: 0.72rem; color: var(--green-600); display: flex; align-items: center; gap: 5px; }
.phone-topbar .pt-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green-500); }

.chat-thread { flex: 1; padding: var(--sp-3) var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3); }
.bubble { max-width: 78%; padding: 11px 15px; border-radius: 18px; font-size: 0.82rem; line-height: 1.4; box-shadow: var(--shadow-sm); animation: pop 0.5s var(--ease) both; }
.bubble.in { align-self: flex-start; background: var(--white); color: var(--gray-900); border-bottom-left-radius: 4px; }
.bubble.out { align-self: flex-end; background: var(--gradient-primary); color: var(--ink-900); border-bottom-right-radius: 4px; }
.bubble.delay1 { animation-delay: 0.15s; } .bubble.delay2 { animation-delay: 0.35s; } .bubble.delay3 { animation-delay: 0.55s; } .bubble.delay4 { animation-delay: 0.75s; }
.typing-row { align-self: flex-start; display: flex; gap: 4px; background: var(--white); padding: 12px 16px; border-radius: 18px; border-bottom-left-radius: 4px; box-shadow: var(--shadow-sm); }
.typing-row span { width: 6px; height: 6px; border-radius: 50%; background: var(--gray-500); animation: blink 1.2s infinite ease-in-out; }
.typing-row span:nth-child(2) { animation-delay: 0.2s; }
.typing-row span:nth-child(3) { animation-delay: 0.4s; }
.phone-inputbar { margin: var(--sp-3) var(--sp-5) var(--sp-5); height: 42px; border-radius: var(--radius-full); background: var(--white); box-shadow: var(--shadow-sm); display: flex; align-items: center; padding: 0 var(--sp-2) 0 var(--sp-4); justify-content: space-between; }
.phone-inputbar span { font-size: 0.78rem; color: var(--gray-500); }
.phone-inputbar .send-dot { width: 30px; height: 30px; border-radius: 50%; background: var(--gradient-primary); }

.floating-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--sp-3) var(--sp-4);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  z-index: 3;
}
.floating-card.card-pulse { top: 8%; left: -6%; animation: float 5s ease-in-out infinite; }
.floating-card.card-reaction { bottom: 12%; right: -8%; animation: float 5.5s ease-in-out infinite 0.4s; }
.floating-card .fc-icon { width: 38px; height: 38px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--green-50); flex-shrink: 0; }
.floating-card .fc-icon svg { width: 20px; height: 20px; }
.floating-card .fc-title { font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; color: var(--ink-900); }
.floating-card .fc-sub { font-size: 0.72rem; color: var(--gray-500); }

.blob { position: absolute; border-radius: 50%; filter: blur(50px); z-index: 0; opacity: 0.55; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(0.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes blink { 0%, 60%, 100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-copy p { margin-inline: auto; }
  .hero-actions, .hero-proof { justify-content: center; }
  .hero-visual { margin-top: var(--sp-10); }
  .floating-card { display: none; }
}

/* ---- Logo strip ---- */
.logo-strip { padding: var(--sp-10) 0; border-top: 1px solid var(--border-color-soft); border-bottom: 1px solid var(--border-color-soft); }
.logo-strip p { text-align: center; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: var(--sp-8); }
.logo-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--sp-8); opacity: 0.55; }
.logo-row span { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--text-secondary); }

/* ---- Stats ---- */
.stats-band { padding: var(--sp-16) 0; background: var(--ink-900); color: var(--white); position: relative; overflow: hidden; }
.stats-band::before { content: ""; position: absolute; inset: 0; background: var(--gradient-mesh); opacity: 0.5; }
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-8); text-align: center; }
.stat-num { font-family: var(--font-display); font-size: clamp(2rem, 3vw, 3rem); font-weight: 700; }
.stat-label { font-size: var(--fs-sm); color: rgba(255,255,255,0.6); margin-top: var(--sp-2); }
@media (max-width: 780px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---- Features grid ---- */
.features { padding: var(--sp-24) 0; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
.feature-card {
  padding: var(--sp-8);
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
  border: 1px solid var(--border-color-soft);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); background: var(--surface); }
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--gradient-primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-5);
}
.feature-icon svg { width: 26px; height: 26px; color: var(--ink-900); }
.feature-card h3 { margin-bottom: var(--sp-2); }
.feature-card p { color: var(--text-secondary); font-size: var(--fs-sm); }
.feature-card.span-2 { grid-column: span 2; }
@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2, 1fr); } .feature-card.span-2 { grid-column: span 2; } }
@media (max-width: 620px) { .features-grid { grid-template-columns: 1fr; } .feature-card.span-2 { grid-column: span 1; } }

/* ---- Split/showcase section ---- */
.showcase { padding: var(--sp-20) 0; }
.showcase-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-16); align-items: center; }
.showcase-row.reverse .showcase-visual { order: 2; }
.showcase-row.reverse .showcase-copy { order: 1; }
.showcase-copy h2 { margin-top: var(--sp-3); }
.showcase-copy p { color: var(--text-secondary); font-size: var(--fs-body-lg); margin-top: var(--sp-4); }
.showcase-list { margin-top: var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-3); }
.showcase-list li { display: flex; align-items: flex-start; gap: var(--sp-3); font-size: var(--fs-sm); color: var(--text-secondary); }
.showcase-list .check { width: 22px; height: 22px; border-radius: 50%; background: var(--green-100); color: var(--green-700); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.showcase-list .check svg { width: 12px; height: 12px; }
.showcase-visual { position: relative; display: flex; justify-content: center; }
.showcase-panel { width: 100%; max-width: 460px; border-radius: var(--radius-lg); background: var(--bg-alt); border: 1px solid var(--border-color-soft); padding: var(--sp-8); box-shadow: var(--shadow-md); }
.showcase-panel h3, .showcase-panel h4 { color: var(--text-primary); }
.showcase-panel > p, .showcase-panel .panel-text { color: var(--text-secondary); }
@media (max-width: 900px) {
  .showcase-row, .showcase-row.reverse { grid-template-columns: 1fr; }
  .showcase-row.reverse .showcase-visual, .showcase-row.reverse .showcase-copy { order: initial; }
}

/* ---- Steps / how it works ---- */
.steps { padding: var(--sp-24) 0; background: var(--bg-alt); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-8); position: relative; }
.step { position: relative; }
.step-num { font-family: var(--font-display); font-size: 3rem; font-weight: 700; color: transparent; -webkit-text-stroke: 1.5px var(--green-300); margin-bottom: var(--sp-4); }
.step h3 { margin-bottom: var(--sp-2); }
.step p { color: var(--text-secondary); font-size: var(--fs-sm); }
@media (max-width: 780px) { .steps-grid { grid-template-columns: 1fr; gap: var(--sp-10); } }

/* ---- Testimonials ---- */
.testimonials { padding: var(--sp-24) 0; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
.testimonial-card { padding: var(--sp-8); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border-color-soft); box-shadow: var(--shadow-sm); }
.testimonial-stars { display: flex; gap: 3px; margin-bottom: var(--sp-4); color: var(--lime-500); }
.testimonial-stars svg { width: 16px; height: 16px; }
.testimonial-card p.quote { font-size: var(--fs-body); color: var(--text-secondary); margin-bottom: var(--sp-6); }
.testimonial-author { display: flex; align-items: center; gap: var(--sp-3); }
.testimonial-author .avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--gradient-primary); }
.testimonial-author .t-name { font-weight: 700; font-size: var(--fs-sm); }
.testimonial-author .t-role { font-size: var(--fs-xs); color: var(--text-muted); }
@media (max-width: 900px) { .testimonial-grid { grid-template-columns: 1fr; } }

/* ---- CTA band ---- */
.cta-band {
  margin: 0 var(--sp-6) var(--sp-24);
  border-radius: var(--radius-xl);
  background: var(--ink-900);
  padding: var(--sp-24) var(--sp-8);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before { content: ""; position: absolute; inset: 0; background: var(--gradient-mesh); }
.cta-band .container { position: relative; max-width: 640px; }
.cta-band h2 { color: var(--white); font-size: var(--fs-h1); }
.cta-band p { color: rgba(255,255,255,0.7); margin-top: var(--sp-4); font-size: var(--fs-body-lg); }
.cta-actions { display: flex; gap: var(--sp-4); justify-content: center; margin-top: var(--sp-8); flex-wrap: wrap; }

/* ---- Footer ---- */
.site-footer { background: var(--ink-900); color: rgba(255,255,255,0.65); padding: var(--sp-16) 0 var(--sp-8); }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--sp-10); padding-bottom: var(--sp-12); }
.footer-brand .brand { color: var(--white); }
.footer-brand p { margin-top: var(--sp-4); max-width: 280px; font-size: var(--fs-sm); }
.footer-social { display: flex; gap: var(--sp-3); margin-top: var(--sp-6); }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; transition: background 0.3s var(--ease), border-color 0.3s var(--ease); }
.footer-social a:hover { background: var(--green-500); border-color: var(--green-500); }
.footer-social svg { width: 16px; height: 16px; }
.footer-col h4 { font-family: var(--font-display); color: var(--white); font-size: var(--fs-sm); margin-bottom: var(--sp-4); }
.footer-col ul { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-col a { font-size: var(--fs-sm); transition: color 0.25s var(--ease); }
.footer-col a:hover { color: var(--lime-400); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: var(--sp-6); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--sp-4); font-size: var(--fs-xs); }
.footer-bottom .legal-links { display: flex; gap: var(--sp-6); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* ---- Reveal on scroll ---- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ---- Page hero (inner pages) ---- */
.page-hero { padding: var(--sp-16) 0 var(--sp-12); text-align: center; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: -10% -10% auto -10%; height: 500px; background: var(--gradient-mesh); z-index: -1; }
.page-hero h1 { margin-top: var(--sp-4); }
.page-hero p { max-width: 640px; margin: var(--sp-5) auto 0; font-size: var(--fs-body-lg); color: var(--text-secondary); }

/* ---- Generic content blocks ---- */
.pill-tag { display: inline-block; padding: 6px 14px; border-radius: var(--radius-full); background: var(--green-50); color: var(--green-700); font-size: var(--fs-xs); font-weight: 700; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-16); align-items: center; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }

/* Download page specifics */
.store-badges { display: flex; gap: var(--sp-4); flex-wrap: wrap; }
.store-badge { display: flex; align-items: center; gap: var(--sp-3); background: var(--ink-900); color: var(--white); padding: 12px 22px; border-radius: 14px; transition: transform 0.3s var(--ease); }
.store-badge:hover { transform: translateY(-3px); }
.store-badge svg { width: 26px; height: 26px; }
.store-badge .sb-sub { font-size: 0.65rem; opacity: 0.7; display: block; }
.store-badge .sb-main { font-size: 0.95rem; font-weight: 700; font-family: var(--font-display); }

.qr-card { display: flex; align-items: center; gap: var(--sp-5); background: var(--bg-alt); border: 1px solid var(--border-color-soft); border-radius: var(--radius-lg); padding: var(--sp-6); margin-top: var(--sp-8); max-width: 420px; }
.qr-card > div:last-child { color: var(--text-secondary); }
.qr-card > div:last-child div:first-child { color: var(--text-primary); }
.qr-box { width: 84px; height: 84px; border-radius: 12px; background: var(--white); border: 1px solid var(--gray-200); flex-shrink: 0; }

.screens-carousel { display: flex; gap: var(--sp-6); overflow-x: auto; padding: var(--sp-4) 0 var(--sp-10); scrollbar-width: none; }
.screens-carousel::-webkit-scrollbar { display: none; }
.screens-carousel .phone { flex-shrink: 0; width: 240px; animation: none; }
.screens-carousel .phone-screen { min-height: 460px; }

/* About page */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-6); }
@media (max-width: 900px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .value-grid { grid-template-columns: 1fr; } }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-6); }
.team-card { text-align: center; }
.team-avatar { width: 100%; aspect-ratio: 1; border-radius: var(--radius-lg); background: var(--gradient-primary); margin-bottom: var(--sp-4); position: relative; overflow: hidden; }
.team-card h4 { font-size: var(--fs-body); }
.team-card p { font-size: var(--fs-xs); color: var(--gray-500); margin-top: 2px; }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }

.timeline { display: flex; flex-direction: column; gap: 0; border-left: 2px solid var(--border-color); margin-left: 8px; }
.timeline-item { position: relative; padding: 0 0 var(--sp-10) var(--sp-8); }
.timeline-item::before { content: ""; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--gradient-primary); box-shadow: 0 0 0 4px var(--bg-alt); }
.timeline-item .t-year { font-family: var(--font-display); font-weight: 700; color: var(--green-600); font-size: var(--fs-sm); }
.timeline-item h4 { margin-top: var(--sp-1); }
.timeline-item p { margin-top: var(--sp-2); color: var(--text-secondary); font-size: var(--fs-sm); }

/* ---- Business USP mockups: Orders, Ledger, Broadcasts ---- */
.badge-free {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--lime-400); color: var(--ink-900);
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-xs);
  padding: 5px 12px; border-radius: var(--radius-full);
}
.usp-strip { display: flex; gap: var(--sp-3); flex-wrap: wrap; margin-top: var(--sp-6); }
.usp-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); border: 1px solid var(--gray-200);
  padding: 8px 14px; border-radius: var(--radius-full);
  font-size: var(--fs-xs); font-weight: 600; color: var(--gray-700);
  box-shadow: var(--shadow-sm);
}
.usp-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-500); flex-shrink: 0; }

.order-card { background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: var(--sp-5); }
.order-card .oc-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: var(--sp-3); border-bottom: 1px dashed var(--gray-200); margin-bottom: var(--sp-3); }
.order-card .oc-head .oc-title { font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; }
.order-card .oc-head .oc-sub { font-size: 0.7rem; color: var(--gray-500); }
.order-card .oc-status { font-size: 0.65rem; font-weight: 700; padding: 3px 10px; border-radius: var(--radius-full); background: var(--green-50); color: var(--green-700); }
.order-card .oc-status.due { background: #FDECEC; color: #C23B3B; }
.oc-row { display: flex; justify-content: space-between; font-size: 0.78rem; padding: 6px 0; color: var(--gray-700); }
.oc-row .oc-qty { color: var(--gray-500); }
.oc-total { display: flex; justify-content: space-between; margin-top: var(--sp-3); padding-top: var(--sp-3); border-top: 1px solid var(--gray-200); font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; }
.oc-balance { margin-top: var(--sp-4); display: flex; align-items: center; justify-content: space-between; background: var(--gray-50); border-radius: var(--radius-sm); padding: 10px 14px; }
.oc-balance .oc-bal-label { font-size: 0.68rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.04em; }
.oc-balance .oc-bal-amt { font-family: var(--font-display); font-weight: 700; color: #C23B3B; }

.ledger-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border-color-soft); }
.ledger-row:last-child { border-bottom: none; }
.ledger-row .lr-avatar { width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; background: var(--gradient-primary); }
.ledger-row .lr-name { font-weight: 700; font-size: 0.85rem; color: var(--text-primary); }
.ledger-row .lr-sub { font-size: 0.7rem; color: var(--text-secondary); }
.ledger-row .lr-amt { margin-left: auto; font-family: var(--font-display); font-weight: 700; font-size: 0.88rem; }
.ledger-row .lr-amt.credit { color: var(--green-600); }
.ledger-row .lr-amt.debit { color: #C23B3B; }

.broadcast-mock .bm-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sp-4); }
.broadcast-mock .bm-recipients { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; color: var(--text-secondary); }
.broadcast-mock .bm-avatars { display: flex; }
.broadcast-mock .bm-avatars span { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--surface); margin-left: -8px; background: var(--gradient-primary); }
.broadcast-mock .bm-avatars span:first-child { margin-left: 0; }
.broadcast-mock .bm-msg { background: var(--surface); border-radius: var(--radius-sm); padding: 14px; font-size: 0.8rem; color: var(--text-secondary); margin-bottom: var(--sp-4); }
.broadcast-mock .bm-cost-row { display: flex; align-items: center; justify-content: space-between; }
.broadcast-mock .bm-cost-old { font-size: 0.72rem; color: var(--text-muted); text-decoration: line-through; }

/* Utility */
.mt-0 { margin-top: 0 !important; }
.text-center { text-align: center; }
.hide-mobile { display: block; }
@media (max-width: 780px) { .hide-mobile { display: none; } }
