/* ============================================================================
 * Symbiotech Marketing — Extra Styles
 * Site-wide nav + footer, new home-page sections, RTL overrides, marquee,
 * specialty selector, WhatsApp AI demo, clinic logos rail, testimonial cards.
 * Builds on marketing.css (the master design system).
 * ============================================================================ */

/* ──────────────────────────────────────────────────────────────────────────
 * GLOBAL TYPE — Inter (LTR) / IBM Plex Sans Arabic (RTL)
 * ────────────────────────────────────────────────────────────────────────── */
:root {
  --font-en: 'Inter', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --font-ar: 'IBM Plex Sans Arabic', 'Inter', system-ui, sans-serif;

  --c-ink: #0c1228;
  --c-ink-2: #2a3056;
  --c-ink-3: #4a4f70;
  --c-mute: #6b7090;
  --c-line: rgba(12,18,40,0.08);
  --c-line-2: rgba(12,18,40,0.14);
  --c-bg: #fafbff;
  --c-bg-elev: #ffffff;
  --c-accent-1: #0150ff;
  --c-accent-2: #7c3aed;
  --c-accent-3: #ec4899;
  --c-success: #16a34a;
  --c-wa: #25d366;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(12,18,40,0.04), 0 1px 1px rgba(12,18,40,0.02);
  --shadow-md: 0 4px 14px rgba(12,18,40,0.06), 0 2px 4px rgba(12,18,40,0.04);
  --shadow-lg: 0 20px 60px rgba(12,18,40,0.10), 0 8px 18px rgba(12,18,40,0.06);
  --shadow-xl: 0 40px 100px rgba(12,18,40,0.16), 0 16px 40px rgba(12,18,40,0.08);
}

html { font-family: var(--font-en); }
html[lang="ar"], html[dir="rtl"] { font-family: var(--font-ar); }
html[dir="rtl"] body { letter-spacing: 0; }

/* ──────────────────────────────────────────────────────────────────────────
 * SITE NAV — sticky, glassy, full-width
 * ────────────────────────────────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0; z-index: 100;
  background: rgba(250,251,255,0.78);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--c-line);
}
.site-nav .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 24px;
}
.site-nav .brand {
  display: inline-flex;
  align-items: center;
  color: var(--c-ink);
  text-decoration: none;
  line-height: 0; /* prevents extra inline space affecting visual alignment */
}
.brand-lockup {
  height: 22px;
  width: auto;
  display: block;
  color: var(--c-ink);
  transition: opacity 0.2s ease;
}
.site-nav .brand:hover .brand-lockup { opacity: 0.78; }
.brand-lockup-lg { height: 26px; }

/* Legacy classes kept for hero/footer compatibility — not used in nav now */
.brand-mark { width: 26px; height: 26px; color: var(--c-accent-1); display: inline-flex; }
.brand-wordmark { font-weight: 800; letter-spacing: 0.06em; }

/* ──────────────────────────────────────────────────────────────────────────
 * Floating WhatsApp bubble — follows the prospect everywhere
 * ────────────────────────────────────────────────────────────────────────── */
.wa-fab {
  position: fixed;
  bottom: 22px;
  inset-inline-end: 22px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px 14px 16px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow: 0 12px 36px rgba(18, 140, 126, 0.45), 0 4px 14px rgba(18, 140, 126, 0.30);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease;
  animation: waFabIn 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) 1.6s both;
}
.wa-fab:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 18px 48px rgba(18, 140, 126, 0.55), 0 6px 18px rgba(18, 140, 126, 0.35);
}
.wa-fab:active { transform: translateY(0) scale(0.98); }
.wa-fab svg { flex-shrink: 0; }
.wa-fab-label { display: inline-block; }
.wa-fab-pulse {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(37, 211, 102, 0.55);
  z-index: -1;
  animation: waFabPulse 2.4s ease-out infinite;
}
@keyframes waFabPulse {
  0%   { transform: scale(1);    opacity: 0.7; }
  70%  { transform: scale(1.45); opacity: 0;   }
  100% { transform: scale(1.45); opacity: 0;   }
}
@keyframes waFabIn {
  from { opacity: 0; transform: translateY(20px) scale(0.85); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@media (max-width: 640px) {
  .wa-fab { padding: 12px 14px; bottom: 16px; inset-inline-end: 16px; }
  .wa-fab-label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-fab-pulse { animation: none; }
  .wa-fab { animation: none; }
}

/* ──────────────────────────────────────────────────────────────────────────
 * Derma annotator — patient name chip
 * ────────────────────────────────────────────────────────────────────────── */
.annotator-patient {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 7px 14px;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--c-ink);
  box-shadow: 0 2px 12px rgba(12,18,40,0.08);
  white-space: nowrap;
  z-index: 4;
  pointer-events: none;
}
.annotator { position: relative; }

/* ──────────────────────────────────────────────────────────────────────────
 * Annotator procedure picker — appears when user taps the face
 * ────────────────────────────────────────────────────────────────────────── */
.anno-picker {
  position: absolute;
  width: 240px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 18px;
  box-shadow:
    0 20px 60px rgba(12, 18, 40, 0.18),
    0 6px 18px rgba(12, 18, 40, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  padding: 16px;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.92) translateY(4px);
  transition: opacity 0.18s cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1),
              visibility 0.18s;
  transform-origin: left center;
}
.anno-picker.is-open {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
}
.anno-picker-header {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-mute);
  margin-bottom: 12px;
  text-align: center;
}
.anno-picker-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}
.anno-picker-btn {
  appearance: none;
  background: linear-gradient(180deg, #fff 0%, #fafbff 100%);
  border: 1px solid var(--c-line);
  border-radius: 12px;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  font-family: inherit;
}
.anno-picker-btn:hover {
  transform: translateY(-2px);
  border-color: var(--c-accent-1);
  box-shadow: 0 6px 16px rgba(1, 80, 255, 0.12);
}
.anno-picker-btn:active { transform: translateY(0); }
.anno-picker-swatch {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  margin-bottom: 2px;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.8), 0 4px 8px rgba(12, 18, 40, 0.08);
}
.anno-picker-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-ink);
  letter-spacing: -0.01em;
}
.anno-picker-unit {
  font-size: 11px;
  color: var(--c-mute);
  font-weight: 500;
}
.anno-picker-cancel {
  appearance: none;
  background: transparent;
  border: none;
  width: 100%;
  padding: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--c-mute);
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
  font-family: inherit;
}
.anno-picker-cancel:hover { background: rgba(12, 18, 40, 0.05); color: var(--c-ink); }

/* ──────────────────────────────────────────────────────────────────────────
 * Odontogram action picker — tap tooth → choose procedure → apply
 * ────────────────────────────────────────────────────────────────────────── */
.odo-picker {
  position: absolute;
  width: 280px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  box-shadow:
    0 20px 60px rgba(12, 18, 40, 0.20),
    0 8px 20px rgba(12, 18, 40, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  padding: 14px 14px 12px;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.94) translateY(-4px);
  transition: opacity 0.18s cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1),
              visibility 0.18s;
}
.odo-picker.is-open {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
}
.odo-picker-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 6px 4px 12px;
  border-bottom: 1px solid var(--c-line);
  margin-bottom: 10px;
}
.odo-picker-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-ink-2);
  letter-spacing: 0.02em;
}
.odo-picker-title b {
  font-size: 17px;
  font-weight: 800;
  color: var(--c-ink);
  margin-inline-start: 4px;
  letter-spacing: -0.02em;
}
.odo-picker-sub {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--c-mute);
}
.odo-picker-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 8px;
}
.odo-picker-btn {
  appearance: none;
  background: linear-gradient(180deg, #fff 0%, #fafbff 100%);
  border: 1px solid var(--c-line);
  border-radius: 10px;
  padding: 10px 10px;
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  transition: transform 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease;
  font-family: inherit;
  text-align: start;
}
.odo-picker-btn:hover {
  transform: translateY(-1px);
  border-color: var(--c-accent-1);
  box-shadow: 0 4px 12px rgba(1, 80, 255, 0.10);
}
.odo-picker-btn:active { transform: translateY(0); }
.odo-picker-btn[data-action="clear"] { grid-column: 1 / -1; justify-content: center; background: rgba(148,163,184,0.06); }
.odo-picker-swatch {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.7), 0 2px 4px rgba(12,18,40,0.10);
}
.odo-picker-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--c-ink);
  letter-spacing: -0.01em;
}
.odo-picker-close {
  appearance: none;
  background: transparent;
  border: none;
  width: 100%;
  padding: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--c-mute);
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
  font-family: inherit;
}
.odo-picker-close:hover { background: rgba(12, 18, 40, 0.05); color: var(--c-ink); }

@media (max-width: 540px) {
  .odo-picker { width: 240px; }
  .odo-picker-actions { grid-template-columns: 1fr; }
  .odo-picker-btn[data-action="clear"] { grid-column: auto; }
}
.site-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.site-nav .nav-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--c-ink-3);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s ease;
}
.site-nav .nav-link:hover { color: var(--c-ink); background: rgba(12,18,40,0.04); }
.site-nav .nav-link.active {
  color: var(--c-ink);
  background: linear-gradient(135deg, rgba(1,80,255,0.10), rgba(124,58,237,0.10));
}
.site-nav .nav-tools { display: flex; align-items: center; gap: 8px; }
.site-nav .nav-lang {
  padding: 8px 12px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--c-line-2);
  color: var(--c-ink-2);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}
.site-nav .nav-lang:hover { border-color: var(--c-ink); }
.site-nav .nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(37,211,102,0.32);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.site-nav .nav-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(37,211,102,0.4); }
.site-nav .nav-burger {
  display: none;
  width: 36px; height: 36px;
  background: transparent; border: 1px solid var(--c-line-2);
  border-radius: 10px;
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: 4px;
  cursor: pointer;
}
.site-nav .nav-burger span {
  display: block;
  width: 16px; height: 1.5px;
  background: var(--c-ink);
  transition: all 0.3s ease;
}
.site-nav.menu-open .nav-burger span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.site-nav.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
.site-nav.menu-open .nav-burger span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.nav-mobile {
  position: fixed;
  inset: 64px 0 0 0;
  background: rgba(250,251,255,0.98);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  z-index: 99;
  display: none;
  flex-direction: column;
  padding: 40px 24px;
  animation: navMobileIn 0.3s ease;
}
.nav-mobile-inner { display: flex; flex-direction: column; gap: 4px; max-width: 480px; margin: 0 auto; width: 100%; }
.nav-mobile-link {
  display: block;
  padding: 18px 20px;
  border-radius: 16px;
  color: var(--c-ink);
  text-decoration: none;
  font-size: 20px;
  font-weight: 600;
  transition: background 0.2s ease;
}
.nav-mobile-link:hover { background: rgba(12,18,40,0.04); }
.nav-mobile-link.nav-mobile-lang { color: var(--c-mute); font-size: 16px; padding-top: 24px; border-top: 1px solid var(--c-line); margin-top: 12px; }
.site-nav.menu-open .nav-mobile { display: flex; }
@keyframes navMobileIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 860px) {
  .site-nav .nav-links { display: none; }
  .site-nav .nav-lang { display: none; }
  .site-nav .nav-burger { display: inline-flex; }
}

/* ──────────────────────────────────────────────────────────────────────────
 * SITE FOOTER — replaces the thin original
 * ────────────────────────────────────────────────────────────────────────── */
.site-footer {
  margin-top: 96px;
  background: linear-gradient(180deg, #fafbff 0%, #f1f3fb 100%);
  border-top: 1px solid var(--c-line);
}
.site-footer .site-footer-inner { max-width: 1280px; margin: 0 auto; padding: 64px 24px 32px; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}
.foot-brand .brand { color: var(--c-ink); text-decoration: none; }
.foot-brand .brand-mark { color: var(--c-accent-1); }
.foot-tagline { color: var(--c-mute); margin-top: 14px; max-width: 320px; font-size: 14px; line-height: 1.6; }
.foot-col h4 { color: var(--c-ink); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.foot-col a {
  display: block;
  color: var(--c-ink-3);
  text-decoration: none;
  font-size: 14px;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.foot-col a:hover { color: var(--c-accent-1); }
.foot-wa { display: inline-flex !important; align-items: center; gap: 8px; color: var(--c-success) !important; font-weight: 600; }
.foot-address { display: block; color: var(--c-mute); font-size: 13px; margin-top: 8px; line-height: 1.6; max-width: 220px; }
.foot-founders {
  padding: 24px 0;
  border-top: 1px solid var(--c-line);
  text-align: center;
  font-size: 14px;
  color: var(--c-ink-3);
  line-height: 1.6;
}
.foot-founders b { color: var(--c-ink); font-weight: 700; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--c-line);
  font-size: 13px;
  color: var(--c-mute);
}
.foot-lang { color: var(--c-ink-2); text-decoration: none; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--c-line-2); }
.foot-lang:hover { border-color: var(--c-ink); }

@media (max-width: 760px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* ──────────────────────────────────────────────────────────────────────────
 * HOME HERO — Specialty selector
 * ────────────────────────────────────────────────────────────────────────── */
.home-hero {
  position: relative;
  padding: 96px 24px 80px;
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
  overflow: hidden;
}
.home-hero::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 1200px; height: 1200px;
  background: radial-gradient(closest-side, rgba(124,58,237,0.10), rgba(1,80,255,0.06) 35%, transparent 70%);
  z-index: -1;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(8px);
  border: 1px solid var(--c-line-2);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-ink-2);
  margin-bottom: 28px;
}
.hero-eyebrow .pulse-dot {
  width: 6px; height: 6px;
  background: var(--c-success);
  border-radius: 50%;
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(22,163,74,0); }
}

.home-hero h1.display {
  font-size: clamp(40px, 7vw, 88px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--c-ink);
  /* Centered + override the h1.display max-width:16ch inherited from base CSS */
  max-width: 18ch;
  margin: 0 auto 24px;
  text-align: center;
}
html[lang="ar"] .home-hero h1.display { line-height: 1.15; letter-spacing: -0.02em; max-width: 24ch; }
.home-hero .hero-eyebrow { margin-inline: auto; }
.home-hero .gradient-text {
  background: linear-gradient(135deg, #0150ff 0%, #7c3aed 60%, #ec4899 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.home-hero .hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.55;
  color: var(--c-ink-3);
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
  margin: 0 auto 40px;
}

/* Specialty selector cards */
.specialty-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto 40px;
}
.specialty-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 32px 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, #fff 0%, #fafbff 100%);
  border: 1px solid var(--c-line);
  text-align: start;
  text-decoration: none;
  color: var(--c-ink);
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease, border-color 0.3s ease;
  /* Reset for <button> variant */
  font: inherit;
  width: 100%;
  appearance: none;
}
/* Make the no-redirect button visually identical to the <a> cards */
button.specialty-card { font-family: inherit; }
.specialty-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--card-glow, radial-gradient(closest-side at 70% 20%, rgba(1,80,255,0.10), transparent));
  opacity: 0; transition: opacity 0.4s ease;
  pointer-events: none;
}
.specialty-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--shadow-xl);
}
.specialty-card:hover::after { opacity: 1; }
.specialty-card[data-specialty="dental"] { --card-glow: radial-gradient(closest-side at 70% 20%, rgba(6,182,212,0.18), transparent); }
.specialty-card[data-specialty="derma"] { --card-glow: radial-gradient(closest-side at 70% 20%, rgba(236,72,153,0.18), transparent); }
.specialty-card[data-specialty="clinic"] { --card-glow: radial-gradient(closest-side at 70% 20%, rgba(124,58,237,0.18), transparent); }

.specialty-card .sc-icon {
  width: 56px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(1,80,255,0.10), rgba(124,58,237,0.10));
  border-radius: 16px;
}
.specialty-card[data-specialty="dental"] .sc-icon { background: linear-gradient(135deg, rgba(6,182,212,0.18), rgba(20,184,166,0.18)); color: #0891b2; }
.specialty-card[data-specialty="derma"] .sc-icon { background: linear-gradient(135deg, rgba(236,72,153,0.18), rgba(244,114,182,0.18)); color: #db2777; }
.specialty-card[data-specialty="clinic"] .sc-icon { background: linear-gradient(135deg, rgba(124,58,237,0.18), rgba(1,80,255,0.18)); color: #6d28d9; }
.sc-icon svg { width: 30px; height: 30px; }
.specialty-card .sc-tag { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-mute); }
.specialty-card .sc-title { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.specialty-card .sc-feature {
  margin-top: auto;
  padding: 12px 14px;
  width: 100%;
  background: rgba(12,18,40,0.04);
  border-radius: 12px;
  font-size: 13px;
  color: var(--c-ink-2);
  display: flex; align-items: center; gap: 10px;
}
.specialty-card .sc-feature svg { width: 14px; height: 14px; color: var(--c-accent-1); flex-shrink: 0; }
.specialty-card .sc-arrow {
  position: absolute;
  top: 24px; inset-inline-end: 24px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(1, 80, 255, 0.08);
  color: var(--c-accent-1);
  border: 1px solid rgba(1, 80, 255, 0.18);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.specialty-card:hover .sc-arrow {
  background: var(--c-accent-1);
  color: #fff;
  border-color: var(--c-accent-1);
  transform: translateX(4px) scale(1.06);
}
html[dir="rtl"] .specialty-card .sc-arrow svg { transform: rotate(180deg); }
html[dir="rtl"] .specialty-card:hover .sc-arrow { transform: translateX(-4px) scale(1.06); }
/* Down-arrow trigger (multi-specialty) — keeps the down arrow direction in RTL */
html[dir="rtl"] button.specialty-card .sc-arrow svg { transform: none; }
button.specialty-card:hover .sc-arrow,
button.specialty-card:hover .sc-arrow { transform: translateY(3px) scale(1.06); }
html[dir="rtl"] button.specialty-card:hover .sc-arrow { transform: translateY(3px) scale(1.06); }

@media (max-width: 860px) {
  .specialty-grid { grid-template-columns: 1fr; gap: 14px; }
  .specialty-card { flex-direction: row; align-items: center; padding: 20px; }
  .specialty-card .sc-icon { width: 48px; height: 48px; }
  .specialty-card .sc-feature { display: none; }
  .specialty-card .sc-arrow { top: 50%; transform: translateY(-50%); width: 32px; height: 32px; }
  .specialty-card:hover .sc-arrow { transform: translateY(-50%) translateX(4px); }
}

/* ──────────────────────────────────────────────────────────────────────────
 * SOCIAL PROOF STRIP — directly under specialty selector
 * ────────────────────────────────────────────────────────────────────────── */
.proof-strip {
  margin: 32px auto 0;
  padding: 16px 24px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--c-line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--c-ink-2);
}
.proof-strip .stars { color: #f59e0b; letter-spacing: 0.05em; font-size: 14px; }
.proof-strip .pipe { color: var(--c-line-2); }
.proof-strip strong { color: var(--c-ink); font-weight: 700; }
.proof-strip .pulse-dot {
  width: 6px; height: 6px;
  background: var(--c-success);
  border-radius: 50%;
  animation: pulseDot 2s ease-in-out infinite;
}

/* ──────────────────────────────────────────────────────────────────────────
 * TRUST STRIP — price floor + Kuwait/MOH/security reassurance under hero
 * ────────────────────────────────────────────────────────────────────────── */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 28px auto 0;
  max-width: 900px;
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--c-line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--c-ink-2);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.trust-pill:hover { transform: translateY(-1px); border-color: var(--c-line-2); }
.trust-pill svg { color: var(--c-accent-1); flex-shrink: 0; }
.trust-pill b { color: var(--c-ink); font-weight: 700; }
.trust-price { background: linear-gradient(135deg, rgba(22, 163, 74, 0.10), rgba(1, 80, 255, 0.10)); border-color: rgba(22,163,74,0.20); }
.trust-price svg { color: var(--c-success); }
@media (max-width: 640px) {
  .trust-pill { font-size: 12px; padding: 9px 12px; }
}

/* ──────────────────────────────────────────────────────────────────────────
 * CLINIC LOGOS — static row, large logos, no duplicates
 * ────────────────────────────────────────────────────────────────────────── */
.clients-section {
  padding: 64px 0 56px;
  background: linear-gradient(180deg, #ffffff 0%, #fafbff 100%);
  border-block: 1px solid var(--c-line);
}
.clients-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.clients-label {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--c-mute);
  margin-bottom: 40px;
}
.clients-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 40px;
  align-items: center;
  justify-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.clients-logo {
  width: 100%;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.clients-logo img {
  max-width: 100%;
  max-height: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.78;
  transition: filter 0.35s ease, opacity 0.35s ease, transform 0.35s ease;
}
.clients-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}
@media (max-width: 900px) {
  .clients-row { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .clients-logo, .clients-logo img { height: 110px; max-height: 110px; }
}
@media (max-width: 480px) {
  .clients-row { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .clients-logo, .clients-logo img { height: 80px; max-height: 80px; }
  .clients-label { font-size: 11px; margin-bottom: 28px; }
}

/* ──────────────────────────────────────────────────────────────────────────
 * LIVE INTERACTIVE SWITCHER — home page centerpiece
 * ────────────────────────────────────────────────────────────────────────── */
.live-demo {
  position: relative;
  padding: 96px 24px;
  max-width: 1280px;
  margin: 0 auto;
}
.live-demo .section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.live-demo .section-kicker {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--c-accent-1);
  padding: 6px 14px; background: rgba(1,80,255,0.08); border-radius: 999px; margin-bottom: 16px;
}
.live-demo .section-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--c-ink);
  line-height: 1.1;
  margin: 0 0 16px;
}
.live-demo .section-lead { font-size: 17px; color: var(--c-ink-3); line-height: 1.6; }

.demo-switcher {
  display: inline-flex;
  padding: 4px;
  background: rgba(12,18,40,0.05);
  border-radius: 999px;
  margin: 0 auto 32px;
}
.demo-switcher button {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-ink-3);
  cursor: pointer;
  transition: all 0.2s ease;
}
.demo-switcher button.active {
  background: #fff;
  color: var(--c-ink);
  box-shadow: var(--shadow-sm);
}
.demo-stage { position: relative; min-height: 420px; }
.demo-panel { display: none; animation: panelIn 0.4s ease; }
.demo-panel.active { display: block; }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ──────────────────────────────────────────────────────────────────────────
 * WHATSAPP AI DEMO — fake conversation that types itself
 * ────────────────────────────────────────────────────────────────────────── */
.wa-demo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1080px;
  margin: 96px auto;
  padding: 0 24px;
  align-items: center;
}
.wa-demo-text { padding: 16px; }
.wa-demo-text .section-kicker {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--c-success);
  padding: 6px 14px; background: rgba(22,163,74,0.08); border-radius: 999px; margin-bottom: 16px;
}
.wa-demo-text h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  line-height: 1.1;
}
.wa-demo-text p { color: var(--c-ink-3); font-size: 17px; line-height: 1.6; margin-bottom: 24px; }
.wa-demo-text .bullets { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.wa-demo-text .bullets li {
  display: flex; align-items: flex-start; gap: 12px;
  color: var(--c-ink-2); font-size: 15px;
}
.wa-demo-text .bullets li::before {
  content: '';
  flex-shrink: 0;
  margin-top: 6px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-success), #128c7e);
}

.wa-phone {
  position: relative;
  width: 100%;
  max-width: 340px;
  /* FIXED height so messages don't push the phone larger as they populate */
  height: 720px;
  margin: 0 auto;
  border-radius: 36px;
  background: linear-gradient(180deg, #0c1228 0%, #2a3056 100%);
  padding: 14px;
  box-shadow: var(--shadow-xl);
  flex-shrink: 0;
}
.wa-phone-screen {
  width: 100%;
  height: 100%;
  background: #efeae2;
  border-radius: 26px;
  overflow: hidden;
  display: flex; flex-direction: column;
  position: relative;
}
.wa-phone-screen::before {
  content: '';
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><circle cx="20" cy="20" r="0.8" fill="%23d4ccc1"/><circle cx="40" cy="40" r="0.8" fill="%23d4ccc1"/></svg>');
  position: absolute; inset: 0;
  opacity: 0.5;
  pointer-events: none;
}
.wa-header {
  background: #075e54;
  color: #fff;
  padding: 12px 14px;
  display: flex; align-items: center; gap: 12px;
  flex-shrink: 0;
  z-index: 2;
}
.wa-header-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0150ff, #7c3aed);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700;
  font-size: 13px;
}
.wa-header-name { font-size: 14px; font-weight: 600; }
.wa-header-status { font-size: 11px; opacity: 0.8; display: block; }
.wa-messages {
  flex: 1;
  padding: 16px 14px;
  display: flex; flex-direction: column; gap: 8px;
  overflow-y: auto;
  z-index: 1;
}
.wa-msg {
  max-width: 78%;
  padding: 7px 10px 8px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.35;
  position: relative;
  opacity: 0;
  transform: translateY(8px);
  animation: msgIn 0.4s ease forwards;
}
.wa-msg.incoming {
  background: #fff;
  align-self: flex-start;
  border-top-left-radius: 2px;
}
html[dir="rtl"] .wa-msg.incoming { align-self: flex-end; border-top-left-radius: 10px; border-top-right-radius: 2px; }
.wa-msg.outgoing {
  background: #d9fdd3;
  align-self: flex-end;
  border-top-right-radius: 2px;
}
html[dir="rtl"] .wa-msg.outgoing { align-self: flex-start; border-top-right-radius: 10px; border-top-left-radius: 2px; }
.wa-msg .time {
  display: inline-block;
  font-size: 10px;
  color: rgba(0,0,0,0.45);
  margin-inline-start: 6px;
  vertical-align: bottom;
}
.wa-msg .ai-tag {
  display: inline-block;
  font-size: 9px;
  background: linear-gradient(135deg, #0150ff, #7c3aed);
  color: #fff;
  padding: 2px 5px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-inline-end: 4px;
  vertical-align: middle;
}
.wa-typing {
  background: #fff;
  align-self: flex-start;
  padding: 10px 14px;
  border-radius: 10px;
  border-top-left-radius: 2px;
  display: inline-flex; align-items: center; gap: 4px;
}
.wa-typing span {
  width: 6px; height: 6px;
  background: #999;
  border-radius: 50%;
  animation: typingDot 1.4s ease-in-out infinite;
}
.wa-typing span:nth-child(2) { animation-delay: 0.2s; }
.wa-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingDot {
  0%, 80%, 100% { opacity: 0.3; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}
@keyframes msgIn { to { opacity: 1; transform: translateY(0); } }

@media (max-width: 760px) {
  .wa-demo { grid-template-columns: 1fr; gap: 32px; }
  .wa-phone { max-width: 320px; }
}

/* ──────────────────────────────────────────────────────────────────────────
 * OPERATIONS — Doctors App, HR/Payroll, Accounting (3 alternating blocks)
 * ────────────────────────────────────────────────────────────────────────── */
.operations {
  padding: 96px 24px;
  max-width: 1280px;
  margin: 0 auto;
}
.operations .section-head { margin-bottom: 64px; }

.op-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 96px;
}
.op-block:last-child { margin-bottom: 0; }
.op-block-reverse .op-visual { order: 2; }
.op-block-reverse .op-text { order: 1; }

@media (max-width: 900px) {
  .op-block { grid-template-columns: 1fr; gap: 32px; margin-bottom: 64px; }
  .op-block-reverse .op-visual,
  .op-block-reverse .op-text { order: initial; }
}

/* Text side */
.op-text { padding: 16px; max-width: 520px; }
.op-kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-ink-2);
  letter-spacing: 0.04em;
  padding: 6px 14px;
  background: rgba(12, 18, 40, 0.05);
  border-radius: 999px;
  margin-bottom: 20px;
}
.op-title {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: var(--c-ink);
  margin: 0 0 16px;
}
.op-body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-ink-3);
  margin: 0 0 24px;
}
.op-bullets {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}
.op-bullets li {
  position: relative;
  padding-inline-start: 22px;
  font-size: 14px;
  color: var(--c-ink-2);
  line-height: 1.5;
}
.op-bullets li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: rgba(22, 163, 74, 0.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 9px;
}
@media (max-width: 540px) {
  .op-bullets { grid-template-columns: 1fr; }
}

/* Visual side — common */
.op-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
  padding: 16px;
}
.op-visual::before {
  content: '';
  position: absolute;
  inset: 20px;
  background: radial-gradient(ellipse at center, rgba(124,58,237,0.10) 0%, transparent 65%);
  z-index: -1;
}

/* ──────── DOCTORS APP — phone mockup ──────── */
.op-visual-doctorsapp::before { background: radial-gradient(ellipse at center, rgba(1,80,255,0.12) 0%, transparent 65%); }
.op-phone {
  width: 320px;
  height: 640px;
  background: linear-gradient(180deg, #0c1228 0%, #2a3056 100%);
  border-radius: 44px;
  padding: 12px;
  box-shadow:
    0 40px 80px rgba(12, 18, 40, 0.18),
    0 16px 32px rgba(12, 18, 40, 0.10);
  transform: rotate(-2deg);
}
.op-phone-screen {
  width: 100%; height: 100%;
  background: linear-gradient(180deg, #fafbff 0%, #f1f3ff 100%);
  border-radius: 32px;
  padding: 24px 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.op-app-header {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--c-line);
}
.op-app-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0150ff, #7c3aed);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 14px;
}
.op-app-name { font-size: 15px; font-weight: 700; color: var(--c-ink); }
.op-app-sub { font-size: 11px; color: var(--c-mute); margin-top: 2px; }
.op-app-section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--c-mute);
}
.op-app-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 14px;
}
.op-app-card-active {
  background: linear-gradient(135deg, rgba(1,80,255,0.06) 0%, rgba(124,58,237,0.06) 100%);
  border-color: rgba(1,80,255,0.25);
  box-shadow: 0 4px 12px rgba(1,80,255,0.10);
}
.op-app-time {
  font-size: 14px;
  font-weight: 800;
  color: var(--c-ink);
  letter-spacing: -0.01em;
}
.op-app-time span { font-size: 10px; font-weight: 600; color: var(--c-mute); margin-inline-start: 2px; }
.op-app-patient { font-size: 13px; font-weight: 700; color: var(--c-ink); }
.op-app-meta { font-size: 11px; color: var(--c-mute); margin-top: 2px; }
.op-app-status { color: var(--c-success); font-size: 12px; }
.op-app-quick {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.op-q {
  appearance: none;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 10px;
  padding: 10px 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--c-ink-2);
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  cursor: default;
  font-family: inherit;
}
.op-q svg { color: var(--c-accent-1); }

/* ──────── HR / PAYROLL — dashboard card mockup ──────── */
.op-visual-hr::before { background: radial-gradient(ellipse at center, rgba(245,158,11,0.10) 0%, transparent 65%); }
.op-hr-card {
  width: 100%;
  max-width: 460px;
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  box-shadow:
    0 30px 70px rgba(12, 18, 40, 0.12),
    0 10px 20px rgba(12, 18, 40, 0.06);
  transform: rotate(1.5deg);
  border: 1px solid var(--c-line);
}
.op-hr-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 18px;
}
.op-hr-title { font-size: 16px; font-weight: 800; color: var(--c-ink); letter-spacing: -0.01em; }
.op-hr-sub { font-size: 12px; color: var(--c-mute); margin-top: 4px; }
.op-hr-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  background: linear-gradient(135deg, rgba(22,163,74,0.10), rgba(1,80,255,0.10));
  color: var(--c-success);
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.op-hr-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}
.op-hr-stat {
  padding: 12px 10px;
  background: linear-gradient(180deg, #fff 0%, #fafbff 100%);
  border: 1px solid var(--c-line);
  border-radius: 12px;
  text-align: center;
}
.op-hr-stat-value {
  font-size: 18px;
  font-weight: 800;
  color: var(--c-ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.op-hr-stat-value small { font-size: 11px; font-weight: 700; color: var(--c-mute); margin-inline-start: 2px; }
.op-hr-stat-label { font-size: 10px; font-weight: 600; color: var(--c-mute); margin-top: 4px; }
.op-hr-list { display: flex; flex-direction: column; gap: 8px; }
.op-hr-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 12px;
}
.op-hr-row-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px;
  font-weight: 800;
}
.op-hr-row-name { font-size: 13px; font-weight: 700; color: var(--c-ink); }
.op-hr-row-role { font-size: 11px; color: var(--c-mute); margin-top: 1px; }
.op-hr-row-status {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.op-hr-row-status.status-in { color: var(--c-success); }
.op-hr-row-status.status-leave { color: #f59e0b; }
.op-hr-row-time { font-size: 12px; font-weight: 600; color: var(--c-ink-2); font-variant-numeric: tabular-nums; }

/* ──────── ACCOUNTING — P&L card mockup ──────── */
.op-visual-acct::before { background: radial-gradient(ellipse at center, rgba(22,163,74,0.10) 0%, transparent 65%); }
.op-acct-card {
  width: 100%;
  max-width: 460px;
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  box-shadow:
    0 30px 70px rgba(12, 18, 40, 0.12),
    0 10px 20px rgba(12, 18, 40, 0.06);
  transform: rotate(-1.5deg);
  border: 1px solid var(--c-line);
}
.op-acct-header { margin-bottom: 20px; }
.op-acct-title { font-size: 16px; font-weight: 800; color: var(--c-ink); letter-spacing: -0.01em; }
.op-acct-sub { font-size: 12px; color: var(--c-mute); margin-top: 4px; }
.op-acct-sub-sync { display: inline-flex; align-items: center; gap: 6px; }
.op-acct-sync-dot {
  width: 7px; height: 7px;
  background: var(--c-success);
  border-radius: 50%;
  animation: pulseDot 2s ease-in-out infinite;
}
.op-acct-pl {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 0;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  margin-bottom: 18px;
}
.op-acct-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  align-items: center;
}
.op-acct-label { font-size: 13px; color: var(--c-ink-3); font-weight: 600; }
.op-acct-value {
  font-size: 16px;
  font-weight: 800;
  color: var(--c-ink);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.op-acct-value small { font-size: 11px; font-weight: 700; color: var(--c-mute); margin-inline-start: 4px; }
.op-acct-row-total {
  padding-top: 10px;
  border-top: 1px dashed var(--c-line);
}
.op-acct-row-total .op-acct-label { font-size: 13px; font-weight: 700; color: var(--c-ink); }
.op-acct-big {
  font-size: 22px;
  background: linear-gradient(135deg, #16a34a, #0150ff);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.op-acct-delta {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  background: rgba(22,163,74,0.10);
  color: var(--c-success);
  border-radius: 6px;
  letter-spacing: 0.02em;
}
.op-acct-delta-down { background: rgba(239, 68, 68, 0.10); color: #ef4444; }
.op-acct-delta-up { background: rgba(22,163,74,0.15); }
.op-acct-breakdown { display: flex; flex-direction: column; gap: 10px; }
.op-acct-bar {
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  display: flex;
  background: var(--c-line);
}
.op-acct-bar-segment {
  height: 100%;
}
.op-acct-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-size: 11px;
  color: var(--c-ink-2);
  font-weight: 600;
}
.op-acct-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.op-acct-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: inline-block;
}

/* ──────────────────────────────────────────────────────────────────────────
 * PAYMENTS RAIL — Kuwait gateway showcase
 * ────────────────────────────────────────────────────────────────────────── */
.payments-rail {
  padding: 80px 24px;
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}
.payments-rail .section-kicker {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: #d4af37;
  padding: 6px 14px; background: rgba(212,175,55,0.10); border-radius: 999px; margin-bottom: 16px;
}
.payments-rail h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800; letter-spacing: -0.03em;
  margin: 0 auto 16px; max-width: 720px; line-height: 1.1;
}
.payments-rail .section-lead { color: var(--c-ink-3); font-size: 17px; max-width: 600px; margin: 0 auto 48px; }
.gateway-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
}
.gateway-grid-4 { grid-template-columns: repeat(4, 1fr); }
.gateway-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 18px 22px;
  background: linear-gradient(180deg, #fff, #fafbff);
  border: 1px solid var(--c-line);
  border-radius: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.gateway-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-line-2);
}
.gateway-tile .gt-logo-img {
  height: 44px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin-bottom: 16px;
  display: block;
}
.gateway-tile .gt-tag {
  display: block;
  font-size: 12px;
  color: var(--c-mute);
  text-align: center;
  line-height: 1.4;
}

/* Cards accepted row (Visa, Mastercard, etc.) */
.payment-cards-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 40px auto 0;
  flex-wrap: wrap;
}
.payment-cards-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-mute);
  letter-spacing: 0.02em;
  margin-inline-end: 8px;
}
.payment-cards-row img {
  height: 32px;
  width: auto;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}
.payment-cards-row img:hover { opacity: 1; }

@media (max-width: 760px) {
  .gateway-grid { grid-template-columns: repeat(2, 1fr); }
  .gateway-tile .gt-logo-img { height: 36px; }
}

/* ──────────────────────────────────────────────────────────────────────────
 * TESTIMONIAL CARDS (new design — replaces old simple cards)
 * ────────────────────────────────────────────────────────────────────────── */
.testimonials-section {
  padding: 96px 24px;
  max-width: 1280px;
  margin: 0 auto;
}
.testimonials-section .section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.tcards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tcard {
  position: relative;
  padding: 36px 32px 28px;
  background: linear-gradient(180deg, #fff 0%, #fafbff 100%);
  border: 1px solid var(--c-line);
  border-radius: 24px;
  display: flex; flex-direction: column; gap: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.tcard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--c-line-2);
}
.tcard .tcard-quote {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--c-ink-2);
  font-weight: 400;
  letter-spacing: 0;
  position: relative;
  flex: 1;
}
.tcard .tcard-quote::before {
  content: '“';
  display: block;
  font-size: 56px;
  line-height: 0.5;
  color: var(--c-accent-1);
  opacity: 0.4;
  margin-bottom: 18px;
  font-family: Georgia, 'Times New Roman', serif;
}
html[dir="rtl"] .tcard .tcard-quote::before {
  content: '”';
  text-align: right;
}
.tcard .tcard-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 4px;
  border-top: 1px solid var(--c-line);
  padding-top: 20px;
}
.tcard .tcard-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0150ff, #7c3aed);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(1, 80, 255, 0.15);
}
.tcard .tcard-avatar img { width: 100%; height: 100%; object-fit: cover; }
.tcard .tcard-name { font-size: 15px; font-weight: 700; color: var(--c-ink); display: block; letter-spacing: -0.01em; }
.tcard .tcard-role { font-size: 13px; color: var(--c-mute); display: block; margin-top: 2px; }

@media (max-width: 860px) {
  .tcards { grid-template-columns: 1fr; }
}

/* ──────────────────────────────────────────────────────────────────────────
 * BIG STATS BAR — key clinic metrics
 * ────────────────────────────────────────────────────────────────────────── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 64px 24px;
  max-width: 1080px;
  margin: 0 auto;
  border-block: 1px solid var(--c-line);
}
.stats-bar-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 760px;
}
.stats-bar-2 .stat-value { font-size: clamp(40px, 6vw, 64px); }
.stat { text-align: center; }
.stat-value {
  display: block;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #0150ff, #7c3aed);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.stat-label { display: block; font-size: 13px; color: var(--c-mute); margin-top: 4px; font-weight: 500; }
@media (max-width: 760px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

/* ──────────────────────────────────────────────────────────────────────────
 * FINAL CTA — big, magnetic, gradient
 * ────────────────────────────────────────────────────────────────────────── */
.final-cta {
  position: relative;
  padding: 96px 24px;
  text-align: center;
  max-width: 1280px;
  margin: 0 auto;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(124,58,237,0.12), transparent 70%);
  z-index: -1;
}
.final-cta h2 {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 800; letter-spacing: -0.03em;
  margin: 0 auto 16px; max-width: 720px; line-height: 1.05;
}
.final-cta p { color: var(--c-ink-3); font-size: 18px; max-width: 540px; margin: 0 auto 32px; }
.final-cta .cta-row { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.final-cta .btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--c-line-2);
  color: var(--c-ink);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.final-cta .btn-secondary:hover { border-color: var(--c-ink); transform: translateY(-1px); }

/* ──────────────────────────────────────────────────────────────────────────
 * GLOBAL HEADLINE ALIGNMENT GUARANTEES
 * Centred section heads work for both LTR and RTL automatically.
 * ────────────────────────────────────────────────────────────────────────── */
.section-head,
.section-head .section-title,
.section-head .section-kicker,
.section-head .section-lead,
.home-hero,
.home-hero .display,
.home-hero .hero-sub,
.hero,
.hero .display,
.hero .hero-sub,
.final-cta,
.final-cta h2,
.final-cta p,
.payments-rail,
.payments-rail h2,
.payments-rail .section-lead,
.live-demo,
.live-demo .section-title,
.live-demo .section-lead,
.testimonials-section .section-head,
.wa-demo-text { text-align: inherit; }

.section-head { text-align: center; }
.home-hero, .hero { text-align: center; }
.final-cta { text-align: center; }
.payments-rail { text-align: center; }
.live-demo .section-head { text-align: center; }
.testimonials-section .section-head { text-align: center; }

/* Block-level centering of headline children (so inline-block content
   inside the heading lines up centred even with multi-line breaks) */
.section-head .section-title,
.section-head .section-kicker,
.section-head .section-lead,
.home-hero .display,
.home-hero .hero-sub,
.hero .display,
.hero .hero-sub,
.final-cta h2,
.final-cta p { margin-inline: auto; }

/* Interactive cards always content-aligned to start (left in LTR, right in RTL) */
.specialty-card,
.tcard,
.gateway-tile,
.mega-card,
.pain-card,
.step-card,
.insight-card,
.cost-card,
.insight-body { text-align: start; }
.cost-card { text-align: center; } /* big number — centred */

/* Interactive HINT TEXT under cards — always centred relative to the card,
   subtle styling so it's clearly a hint not body copy */
.ba-hint,
.hint,
.odonto-totals + .ba-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 13px;
  color: var(--c-mute);
  font-weight: 500;
  letter-spacing: 0.01em;
}
.hint-arrow { font-size: 16px; line-height: 1; }

/* ──────────────────────────────────────────────────────────────────────────
 * RTL OVERRIDES (Arabic — flip directionality of mirror-able elements)
 * ────────────────────────────────────────────────────────────────────────── */
html[dir="rtl"] .nav-cta svg,
html[dir="rtl"] .nav-mobile .btn-wa svg,
html[dir="rtl"] .foot-wa svg { transform: scaleX(-1); }
html[dir="rtl"] .demo-switcher button { font-family: var(--font-ar); }
html[dir="rtl"] .marquee-track { animation-direction: reverse; }
html[dir="rtl"] .stat-value { letter-spacing: 0; }
html[dir="rtl"] .display,
html[dir="rtl"] .section-title,
html[dir="rtl"] .post-title,
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3 {
  letter-spacing: 0;
  line-height: 1.18;
}
html[dir="rtl"] .home-hero .hero-sub,
html[dir="rtl"] .section-lead,
html[dir="rtl"] .post-lead { line-height: 1.8; }

/* In RTL, the specialty cards still stack content from the start edge */
html[dir="rtl"] .specialty-card { text-align: right; }
html[dir="rtl"] .specialty-card .sc-arrow svg { transform: scaleX(-1); }

/* Arrow icons inside CTAs flip direction in RTL */
html[dir="rtl"] .btn-wa svg,
html[dir="rtl"] .nav-cta svg,
html[dir="rtl"] .foot-wa svg { /* whatsapp logo stays */ transform: none; }
html[dir="rtl"] .specialty-card-trigger .sc-arrow svg { transform: none; } /* down arrow stays down */

/* AR — final-cta arrows */
html[dir="rtl"] .final-cta .btn-wa svg { transform: none; }

/* RTL hint arrow stays the same direction (it points to action, not direction) */
html[dir="rtl"] .hint-arrow { display: inline-block; transform: scaleX(-1); }


/* ──────────────────────────────────────────────────────────────────────────
 * RESPONSIVE HOME TWEAKS
 * ────────────────────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .home-hero { padding: 64px 20px 56px; }
  .clients-marquee { padding: 48px 0; }
  .testimonials-section { padding: 64px 20px; }
  .final-cta { padding: 64px 20px; }
}

/* ──────────────────────────────────────────────────────────────────────────
 * SWITCH FROM page — pain cards, cost grid, steps, promise card
 * ────────────────────────────────────────────────────────────────────────── */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.pain-card {
  padding: 28px 24px;
  background: linear-gradient(180deg, #fff 0%, #fafbff 100%);
  border: 1px solid var(--c-line);
  border-radius: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.pain-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(236, 72, 153, 0.20);
}
.pain-emoji {
  font-size: 32px;
  line-height: 1;
  margin-bottom: 12px;
  filter: saturate(1.1);
}
.pain-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--c-ink);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.pain-body {
  font-size: 14px;
  line-height: 1.55;
  color: var(--c-ink-3);
  margin: 0;
}
@media (max-width: 860px) { .pain-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .pain-grid { grid-template-columns: 1fr; } }

.cost-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 40px;
}
.cost-card {
  padding: 28px 18px;
  background: linear-gradient(180deg, rgba(236, 72, 153, 0.06), rgba(124, 58, 237, 0.06));
  border: 1px solid rgba(236, 72, 153, 0.15);
  border-radius: 20px;
  text-align: center;
}
.cost-num {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #ec4899, #7c3aed);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  line-height: 1.05;
}
.cost-num small { font-size: 0.55em; font-weight: 700; opacity: 0.7; }
.cost-label {
  font-size: 13px;
  color: var(--c-ink-2);
  line-height: 1.4;
  margin-top: 10px;
}
.cost-disclaimer {
  text-align: center;
  font-size: 12px;
  color: var(--c-mute);
  margin-top: 20px;
  font-style: italic;
}
@media (max-width: 760px) { .cost-grid { grid-template-columns: repeat(2, 1fr); } }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.step-card {
  position: relative;
  padding: 36px 28px 28px;
  background: linear-gradient(180deg, #fff 0%, #fafbff 100%);
  border: 1px solid var(--c-line);
  border-radius: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-num {
  position: absolute;
  top: -18px; inset-inline-start: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0150ff, #7c3aed);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(1, 80, 255, 0.25);
}
.step-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--c-ink);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.step-body {
  font-size: 14px;
  line-height: 1.55;
  color: var(--c-ink-3);
  margin: 0;
}
@media (max-width: 860px) { .steps-grid { grid-template-columns: 1fr; } }

.promise-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 40px;
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.06) 0%, rgba(1, 80, 255, 0.06) 100%);
  border: 1px solid rgba(22, 163, 74, 0.18);
  border-radius: 28px;
  text-align: center;
}
.promise-icon { font-size: 48px; line-height: 1; margin-bottom: 16px; }
.promise-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--c-ink);
}
.promise-body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-ink-2);
  margin: 0;
  max-width: 560px;
  margin-inline: auto;
}

/* ──────────────────────────────────────────────────────────────────────────
 * INSIGHTS — index grid + post layout
 * ────────────────────────────────────────────────────────────────────────── */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.insight-card {
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, #fff 0%, #fafbff 100%);
  border: 1px solid var(--c-line);
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
  color: var(--c-ink);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.insight-cover {
  aspect-ratio: 1200 / 630;
  background: linear-gradient(135deg, #050b20, #0b1340);
  overflow: hidden;
}
.insight-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.insight-cover-placeholder {
  display: grid; place-items: center;
  background: linear-gradient(135deg, #2a3056 0%, #4a4f70 100%);
  color: rgba(255,255,255,0.6);
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
}
.insight-body { padding: 24px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.insight-kicker {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--c-accent-1);
}
.insight-title {
  font-size: 18px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em;
  color: var(--c-ink); margin: 0;
}
.insight-lead {
  font-size: 14px; line-height: 1.5; color: var(--c-ink-3);
  margin: 4px 0 0;
}
.insight-read {
  margin-top: auto; padding-top: 12px;
  font-size: 13px; font-weight: 600; color: var(--c-accent-1);
}
.insight-card-soon { opacity: 0.7; pointer-events: none; }
.insight-card-soon:hover { transform: none; box-shadow: none; border-color: var(--c-line); }
@media (max-width: 860px) { .insights-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .insights-grid { grid-template-columns: 1fr; } }

/* Blog post layout */
.post-main { padding-top: 40px; }
.post.container { max-width: 760px !important; }
.post-header { margin-bottom: 48px; }
.post-back {
  display: inline-block; margin-bottom: 24px;
  font-size: 14px; font-weight: 600; color: var(--c-accent-1);
  text-decoration: none; transition: opacity 0.2s ease;
}
.post-back:hover { opacity: 0.7; }
.post-kicker {
  display: inline-block; margin-bottom: 16px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--c-mute);
}
.post-title {
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 800; letter-spacing: -0.03em;
  line-height: 1.1; margin: 0 0 24px;
  color: var(--c-ink);
}
.post-lead {
  font-size: 18px; line-height: 1.6;
  color: var(--c-ink-2); margin: 0 0 24px;
}
.post-meta {
  font-size: 13px; color: var(--c-mute);
  display: flex; gap: 8px; align-items: center;
}
.post-meta .pipe { color: var(--c-line-2); }

.post-body { font-size: 17px; line-height: 1.7; color: var(--c-ink-2); }
.post-body h2 {
  font-size: 26px; font-weight: 800; letter-spacing: -0.02em;
  color: var(--c-ink); margin: 48px 0 16px;
  line-height: 1.2;
}
.post-body p { margin: 0 0 18px; }
.post-body ul, .post-body ol { margin: 0 0 20px; padding-inline-start: 22px; }
.post-body li { margin-bottom: 8px; }
.post-body b, .post-body strong { color: var(--c-ink); font-weight: 700; }
.post-body i, .post-body em { color: var(--c-ink-3); font-style: italic; }
.post-body hr { border: 0; border-top: 1px solid var(--c-line); margin: 48px 0; }

.post-cta {
  margin-top: 64px; padding: 40px 32px;
  background: linear-gradient(135deg, rgba(1,80,255,0.06) 0%, rgba(124,58,237,0.06) 100%);
  border-radius: 24px; text-align: center;
}
.post-cta h3 {
  font-size: 22px; font-weight: 700; letter-spacing: -0.01em;
  color: var(--c-ink); margin: 0 0 20px;
}

/* ──────────────────────────────────────────────────────────────────────────
 * PRICING — 3-tier grid, featured middle tier, comparison strip, FAQ
 * ────────────────────────────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1180px;
  margin: 40px auto 0;
  align-items: stretch;
}
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px 28px;
  background: linear-gradient(180deg, #fff 0%, #fafbff 100%);
  border: 1px solid var(--c-line);
  border-radius: 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--c-line-2);
}
.pricing-card-featured {
  background: linear-gradient(180deg, #fafbff 0%, #f1f3ff 100%);
  border-color: rgba(1,80,255,0.25);
  box-shadow: 0 30px 80px rgba(1,80,255,0.10), 0 8px 24px rgba(1,80,255,0.06);
  transform: translateY(-12px);
}
.pricing-card-featured:hover { transform: translateY(-16px); }
.pricing-card-full {
  background: linear-gradient(180deg, #fefefe 0%, #fff5f5 100%);
  border-color: rgba(124,58,237,0.20);
}

.pc-flag {
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  padding: 6px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0150ff 0%, #7c3aed 100%);
  color: #fff;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(1,80,255,0.30);
  white-space: nowrap;
}

.pc-header {
  margin-bottom: 20px;
  min-height: 130px; /* keep all 3 cards aligned regardless of tagline length */
}
.pc-tier-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.pc-tier-icon {
  font-size: 28px;
  line-height: 1;
  filter: saturate(1.1);
}
.pc-tier {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--c-ink);
  margin: 0;
}
.pricing-card-featured .pc-tier { color: var(--c-accent-1); }
.pricing-card-full .pc-tier { color: var(--c-accent-2); }
.pc-best-for {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-ink-2);
  margin-bottom: 8px;
  line-height: 1.4;
}
.pc-tagline {
  font-size: 13px;
  color: var(--c-mute);
  line-height: 1.5;
}

.pc-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 20px 0 4px;
}
.pc-currency {
  font-size: 16px;
  font-weight: 700;
  color: var(--c-mute);
  letter-spacing: 0.05em;
}
.pc-amount {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--c-ink);
}
.pricing-card-featured .pc-amount {
  background: linear-gradient(135deg, #0150ff, #7c3aed);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.pricing-card-full .pc-amount {
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.pc-period { font-size: 16px; font-weight: 500; color: var(--c-mute); }
.pc-billing {
  font-size: 13px;
  color: var(--c-mute);
  margin-bottom: 24px;
}

.pc-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  /* Fixed height so all 3 CTAs match across cards regardless of label length */
  height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid var(--c-ink);
  color: var(--c-ink);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.25s ease;
  margin-bottom: 28px;
  white-space: nowrap;
}
.pc-cta:hover { background: var(--c-ink); color: #fff; transform: translateY(-2px); }
.pc-cta-featured {
  background: linear-gradient(135deg, #0150ff 0%, #7c3aed 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 28px rgba(1,80,255,0.35);
}
.pc-cta-featured:hover {
  background: linear-gradient(135deg, #0040d4 0%, #6d28d9 100%);
  color: #fff;
  box-shadow: 0 14px 36px rgba(1,80,255,0.45);
}

.pc-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}
.pc-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
  color: var(--c-ink-2);
}
.pc-features li::before {
  content: '';
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 12px;
}
.pc-features li.is-included::before {
  background-color: rgba(22, 163, 74, 0.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}
.pc-features li.is-excluded::before {
  background-color: rgba(148, 163, 184, 0.18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='3' stroke-linecap='round'%3E%3Cline x1='6' y1='12' x2='18' y2='12'/%3E%3C/svg%3E");
}
.pc-features li.is-excluded {
  color: var(--c-mute);
}
.pc-features li.pc-everything {
  font-weight: 700;
  color: var(--c-ink);
  margin-bottom: 4px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--c-line-2);
}
.pc-features li.pc-everything::before { display: none; }
.pc-features li.pc-pillar {
  background: linear-gradient(135deg, rgba(124,58,237,0.06), rgba(236,72,153,0.06));
  padding: 8px 12px;
  margin-inline-start: -10px;
  border-radius: 8px;
  margin-block: 4px;
}

@media (max-width: 960px) {
  .pricing-grid { grid-template-columns: 1fr; gap: 16px; max-width: 480px; }
  .pricing-card-featured { transform: none; }
  .pricing-card-featured:hover { transform: translateY(-4px); }
}

/* One-time setup fee callout */
.setup-fee-card {
  max-width: 1180px;
  margin: 32px auto 0;
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(1, 80, 255, 0.06) 100%);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 20px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
}
.sf-icon {
  font-size: 36px;
  line-height: 1;
  flex-shrink: 0;
}
.sf-body { line-height: 1.5; }
.sf-headline {
  font-size: 17px;
  color: var(--c-ink);
  font-weight: 500;
  margin-bottom: 4px;
}
.sf-headline b {
  font-weight: 800;
  background: linear-gradient(135deg, #d4af37, #0150ff);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  letter-spacing: -0.02em;
}
.sf-sub {
  font-size: 14px;
  color: var(--c-ink-3);
  line-height: 1.55;
}
.sf-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.sf-pill {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--c-line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--c-ink-2);
  white-space: nowrap;
}
@media (max-width: 860px) {
  .setup-fee-card { grid-template-columns: 1fr; text-align: center; }
  .sf-pills { justify-content: center; }
}

/* Pricing comparison strip */
.pricing-strip {
  max-width: 1180px;
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 28px 24px;
  background: linear-gradient(180deg, #fafbff 0%, #f1f3ff 100%);
  border: 1px solid var(--c-line);
  border-radius: 24px;
}
.ps-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ps-icon {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
}
.ps-text {
  font-size: 14px;
  color: var(--c-ink-2);
  line-height: 1.4;
}
.ps-text b { color: var(--c-ink); font-weight: 700; display: block; }
@media (max-width: 860px) { .pricing-strip { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .pricing-strip { grid-template-columns: 1fr; } }

/* FAQ accordion */
.faq-list {
  max-width: 760px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: linear-gradient(180deg, #fff 0%, #fafbff 100%);
  border: 1px solid var(--c-line);
  border-radius: 16px;
  padding: 18px 22px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item[open] {
  border-color: var(--c-line-2);
  box-shadow: var(--shadow-sm);
}
.faq-q {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  color: var(--c-ink);
  letter-spacing: -0.01em;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-chevron {
  flex-shrink: 0;
  color: var(--c-mute);
  transition: transform 0.25s ease;
}
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-a {
  margin: 14px 0 0;
  font-size: 15px;
  color: var(--c-ink-3);
  line-height: 1.6;
}

/* ──────────────────────────────────────────────────────────────────────────
 * REDUCE MOTION
 * ────────────────────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .pulse-dot { animation: none; }
  .wa-typing span { animation: none; }
  .wa-msg { animation: none; opacity: 1; transform: none; }
}
