/* ===========================================================================
   ServCopilot — design system (layered on top of Tailwind Play CDN)
   Premium B2B look: refined type, layered shadows, gradient accents,
   glass surfaces, product-UI mockups. Respects prefers-reduced-motion.
   =========================================================================== */

:root {
  /* Brand */
  --teal-200: #99F6E4;
  --teal-300: #5EEAD4;
  --teal-400: #2DD4BF;
  --teal-500: #14B8A6;
  --teal-600: #0D9488;
  --teal-700: #0F766E;
  --teal-900: #134E4A;

  --ink-700: #1E293B;
  --ink-800: #101B31;
  --ink-900: #0B1220;
  --ink-950: #060B16;

  --amber-300: #FCD34D;
  --amber-400: #FBBF24;
  --amber-500: #F59E0B;
  --amber-600: #D97706;
  --amber-950: #451A03;
  --orange-500: #F97316;

  --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Layered shadows */
  --shadow-soft: 0 1px 2px rgba(2, 6, 23, .05), 0 10px 28px -14px rgba(2, 6, 23, .14);
  --shadow-lift: 0 2px 4px rgba(2, 6, 23, .06), 0 28px 56px -20px rgba(2, 6, 23, .25);
  --shadow-amber: 0 1px 2px rgba(2, 6, 23, .14), 0 12px 28px -10px rgba(245, 158, 11, .55);
}

/* --- Base ---------------------------------------------------------------- */
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; }
body { line-height: 1.65; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; }
::selection { background: rgba(20, 184, 166, .28); }
:target { scroll-margin-top: 6rem; }

h1, h2, h3, .font-display { font-family: var(--font-display); }
h1, h2 { letter-spacing: -.035em; }
h3 { letter-spacing: -.02em; }

/* --- Skip link ------------------------------------------------------------ */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink-900); color: #fff; padding: .75rem 1.25rem;
  border-radius: 0 0 .75rem 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* --- Focus states (WCAG 2.1 AA) ------------------------------------------- */
.focus-ring:focus-visible,
a:focus-visible, button:focus-visible,
input:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--teal-500);
  outline-offset: 2px;
  border-radius: .5rem;
}

/* --- Eyebrow labels -------------------------------------------------------- */
.eyebrow,
.eyebrow-dark {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .76rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--teal-700);
}
.eyebrow::before, .eyebrow-dark::before {
  content: ""; width: 1.6rem; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--teal-500), rgba(20, 184, 166, 0));
}
.eyebrow-dark { color: var(--teal-300); }

.text-gradient-teal {
  background: linear-gradient(135deg, var(--teal-300), var(--teal-500) 60%, var(--teal-400));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* --- Buttons --------------------------------------------------------------- */
.btn-primary, .btn-outline, .btn-ghost, .btn-ghost-dark {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 700; border-radius: 9999px; padding: .66rem 1.4rem;
  line-height: 1.2; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease,
              border-color .18s ease, color .18s ease, filter .18s ease;
}
.btn-lg { padding: .95rem 1.9rem; font-size: 1.05rem; }

.btn-primary {
  color: var(--amber-950);
  background: linear-gradient(180deg, var(--amber-400) 0%, var(--amber-500) 60%, var(--amber-500) 100%);
  border: 1px solid var(--amber-600);
  box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .45), var(--shadow-amber);
}
.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.04) saturate(1.05);
  box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .45),
              0 2px 4px rgba(2, 6, 23, .14), 0 18px 36px -10px rgba(245, 158, 11, .6);
}
.btn-primary:active { transform: translateY(0) scale(.99); }
.btn-arrow { transition: transform .18s ease; }
.btn-primary:hover .btn-arrow { transform: translateX(3px); }

.btn-outline {
  background: #fff; color: var(--ink-700);
  border: 1.5px solid #CBD5E1;
}
.btn-outline:hover {
  border-color: var(--teal-500); color: var(--teal-700);
  transform: translateY(-2px); box-shadow: var(--shadow-soft);
}

.btn-ghost {
  background: rgba(255, 255, 255, .8); color: var(--ink-700);
  border: 1.5px solid #CBD5E1; backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  border-color: var(--teal-500); color: var(--teal-700);
  background: #fff; transform: translateY(-2px); box-shadow: var(--shadow-soft);
}

.btn-ghost-dark {
  background: rgba(255, 255, 255, .08); color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .2);
}
.btn-ghost-dark:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .35); }

/* --- Announcement bar ------------------------------------------------------ */
.announce {
  background: linear-gradient(90deg, var(--ink-950), #0C2733 50%, var(--ink-950));
  color: #CBD5E1; font-size: .82rem;
}
.announce a { color: var(--teal-300); font-weight: 700; text-decoration: none; }
.announce a:hover { color: var(--teal-200); }

/* --- Header / nav ----------------------------------------------------------- */
.site-header { transition: box-shadow .25s ease, background-color .25s ease; }
.site-header.is-scrolled { box-shadow: 0 1px 0 rgba(2, 6, 23, .05), 0 12px 32px -20px rgba(2, 6, 23, .35); }

.nav-link {
  position: relative; display: inline-flex; align-items: center;
  padding: .5rem .85rem; border-radius: .6rem;
  font-weight: 600; font-size: .94rem; color: #334155; text-decoration: none;
  transition: color .15s ease;
}
.nav-link::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .3rem;
  height: 2px; border-radius: 2px; background: var(--teal-500);
  transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.nav-link:hover { color: var(--ink-900); }
.nav-link:hover::after { transform: scaleX(1); }

.mobile-link {
  display: block; padding: .8rem 1rem; border-radius: .7rem;
  font-weight: 600; color: #334155; text-decoration: none;
}
.mobile-link:hover { background: #F1F5F9; color: var(--ink-900); }

/* --- Dropdowns --------------------------------------------------------------- */
.dropdown-menu {
  position: absolute; left: 0; top: calc(100% + .4rem); min-width: 17rem;
  background: #fff; border: 1px solid rgba(2, 6, 23, .08); border-radius: 1rem;
  box-shadow: var(--shadow-lift); padding: .5rem;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 50;
}
.dropdown.open .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown.open .dropdown-caret { transform: rotate(180deg); }
.dropdown-caret { transition: transform .18s ease; }
.dropdown-item {
  display: flex; gap: .8rem; align-items: flex-start;
  padding: .7rem .8rem; border-radius: .75rem;
  color: var(--ink-900); text-decoration: none;
}
.dropdown-item:hover { background: #F0FDFA; }
.dropdown-item .di-icon {
  flex: none; height: 2.25rem; width: 2.25rem; border-radius: .65rem;
  display: grid; place-items: center; color: var(--teal-700);
  background: linear-gradient(180deg, #CCFBF1, #99F6E4);
  border: 1px solid rgba(13, 148, 136, .25);
}
.dropdown-item .di-icon svg { height: 1.15rem; width: 1.15rem; }

/* --- Background patterns & glows ---------------------------------------------- */
.bg-grid {
  background-image:
    linear-gradient(to right, rgba(2, 6, 23, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(2, 6, 23, .05) 1px, transparent 1px);
  background-size: 38px 38px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 25%, transparent 78%);
          mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 25%, transparent 78%);
}
.bg-grid-dark {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 38px 38px;
  -webkit-mask-image: radial-gradient(ellipse 90% 75% at 50% 0%, black 25%, transparent 80%);
          mask-image: radial-gradient(ellipse 90% 75% at 50% 0%, black 25%, transparent 80%);
}
.glow { position: absolute; border-radius: 9999px; filter: blur(90px); pointer-events: none; }

/* --- Trust chips --------------------------------------------------------------- */
.chip {
  display: inline-flex; align-items: center; gap: .45rem;
  background: rgba(255, 255, 255, .85); border: 1px solid rgba(2, 6, 23, .08);
  border-radius: 9999px; padding: .42rem .85rem;
  font-size: .82rem; font-weight: 600; color: #475569;
  box-shadow: 0 1px 2px rgba(2, 6, 23, .04);
  backdrop-filter: blur(4px);
}
.chip svg { height: .95rem; width: .95rem; color: var(--teal-600); flex: none; }

.ghost-logo {
  font-family: var(--font-display); font-weight: 800; font-size: .9rem;
  letter-spacing: .1em; color: #CBD5E1; user-select: none;
  padding: .45rem 1rem; border: 1.5px dashed #E2E8F0; border-radius: .65rem;
}

/* --- Browser frame (product mockups) -------------------------------------------- */
.browser {
  border: 1px solid rgba(2, 6, 23, .08); border-radius: 1.25rem;
  background: #fff; box-shadow: var(--shadow-lift); overflow: hidden;
}
.browser-bar {
  display: flex; align-items: center; gap: .45rem;
  padding: .7rem .95rem;
  background: linear-gradient(#F8FAFC, #F1F5F9);
  border-bottom: 1px solid rgba(2, 6, 23, .06);
}
.browser-dot { height: .62rem; width: .62rem; border-radius: 50%; flex: none; }
.browser-url {
  margin-left: .35rem; flex: 1; display: flex; align-items: center; gap: .4rem;
  background: #fff; border: 1px solid rgba(2, 6, 23, .08); border-radius: .55rem;
  padding: .28rem .65rem; font-size: .72rem; color: #64748B;
  white-space: nowrap; overflow: hidden;
}
.browser--dark { background: var(--ink-900); border-color: rgba(255, 255, 255, .12); }
.browser--dark .browser-bar { background: linear-gradient(#101B31, #0B1220); border-color: rgba(255, 255, 255, .08); }
.browser--dark .browser-url { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .1); color: #94A3B8; }

/* --- Chat mockup ------------------------------------------------------------------ */
.chat-avatar {
  flex: none; height: 1.85rem; width: 1.85rem; border-radius: .6rem;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--teal-400), var(--teal-600));
  box-shadow: 0 3px 8px -2px rgba(13, 148, 136, .5);
}
.chat-avatar svg { height: 1rem; width: 1rem; }

.chat-bubble-bot, .chat-bubble-user {
  max-width: 85%; padding: .62rem .9rem; border-radius: 1rem;
  line-height: 1.45; font-size: .875rem;
}
.chat-bubble-bot {
  background: #fff; color: var(--ink-700);
  border: 1px solid rgba(2, 6, 23, .07);
  border-bottom-left-radius: .3rem;
  box-shadow: 0 1px 2px rgba(2, 6, 23, .04);
}
.chat-bubble-user {
  background: linear-gradient(135deg, var(--teal-500), var(--teal-600));
  color: #fff; border-bottom-right-radius: .3rem;
  box-shadow: 0 3px 10px -3px rgba(13, 148, 136, .45);
}
.quick-chip {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .78rem; font-weight: 600; border-radius: 9999px; padding: .4rem .85rem;
}
.quick-chip--solid { background: var(--teal-600); color: #fff; }
.quick-chip--line { background: #fff; color: var(--teal-700); border: 1.5px solid var(--teal-200); }

.chat-input-mock {
  display: flex; align-items: center; gap: .6rem;
  background: #fff; border: 1px solid rgba(2, 6, 23, .09);
  border-radius: 9999px; padding: .45rem .5rem .45rem 1rem;
  color: #94A3B8; font-size: .82rem;
}
.chat-send {
  flex: none; height: 1.9rem; width: 1.9rem; border-radius: 9999px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--teal-400), var(--teal-600));
}
.chat-send svg { height: .95rem; width: .95rem; }

/* --- Floating UI cards (hero) ------------------------------------------------------ */
.float-card {
  position: absolute; z-index: 10;
  display: flex; align-items: center; gap: .7rem;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 1rem; padding: .72rem .95rem;
  box-shadow: 0 4px 10px -4px rgba(2, 6, 23, .15), 0 24px 48px -16px rgba(2, 6, 23, .3);
  backdrop-filter: blur(10px);
  animation: floaty 5.5s ease-in-out infinite alternate;
}
.float-card--delay { animation-delay: 1.6s; }
@keyframes floaty {
  from { transform: translateY(-5px); }
  to   { transform: translateY(7px); }
}
.float-icon {
  flex: none; height: 2.3rem; width: 2.3rem; border-radius: .7rem;
  display: grid; place-items: center;
}
.float-icon svg { height: 1.2rem; width: 1.2rem; }

/* --- Problem cards (dark section) --------------------------------------------------- */
.problem-card {
  position: relative; overflow: hidden;
  border-radius: 1.15rem; padding: 1.6rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .09);
  transition: border-color .2s ease, transform .2s ease;
}
.problem-card:hover { border-color: rgba(245, 158, 11, .35); transform: translateY(-3px); }
.problem-card::before {
  content: attr(data-num);
  position: absolute; right: .9rem; top: .1rem;
  font-family: var(--font-display); font-size: 4.6rem; font-weight: 800;
  color: rgba(255, 255, 255, .05); line-height: 1; pointer-events: none;
}
.problem-icon {
  height: 2.6rem; width: 2.6rem; border-radius: .8rem;
  display: grid; place-items: center; margin-bottom: 1rem;
  color: var(--amber-400);
  background: rgba(245, 158, 11, .12);
  border: 1px solid rgba(245, 158, 11, .25);
}
.problem-icon svg { height: 1.3rem; width: 1.3rem; }

/* --- Stats band ----------------------------------------------------------------------- */
.stat-cell { padding: 2.2rem 1.5rem; text-align: center; background: var(--ink-900); }
.stat-num {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.1rem, 4vw, 2.9rem); line-height: 1.05; letter-spacing: -.03em;
  background: linear-gradient(180deg, #fff 20%, var(--teal-300));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-label { color: #94A3B8; margin-top: .55rem; font-size: .92rem; }

/* --- How it works ----------------------------------------------------------------------- */
.steps-row { position: relative; }
@media (min-width: 768px) {
  .steps-row::before {
    content: ""; position: absolute; top: 3.1rem; left: 8%; right: 8%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--teal-200) 18%, var(--teal-200) 82%, transparent);
  }
}
.step-card {
  position: relative;
  background: #fff; border: 1px solid rgba(2, 6, 23, .07);
  border-radius: 1.25rem; padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.step-num {
  position: relative; z-index: 1;
  height: 2.75rem; width: 2.75rem; border-radius: .9rem;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: #fff;
  background: linear-gradient(135deg, var(--teal-400), var(--teal-700));
  box-shadow: 0 8px 18px -6px rgba(13, 148, 136, .55), inset 0 1px 0 rgba(255, 255, 255, .25);
}

.play-btn {
  height: 4.2rem; width: 4.2rem; border-radius: 9999px;
  display: grid; place-items: center; color: var(--amber-950);
  background: linear-gradient(180deg, var(--amber-300), var(--amber-500));
  border: 1px solid var(--amber-600);
  box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .5), 0 14px 36px -8px rgba(245, 158, 11, .65);
  transition: transform .2s ease;
}
.play-btn:hover { transform: scale(1.06); }
.play-btn svg { height: 1.6rem; width: 1.6rem; margin-left: .2rem; }

/* --- Features (bento) --------------------------------------------------------------------- */
.bento {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid rgba(2, 6, 23, .07);
  border-radius: 1.25rem; padding: 1.6rem;
  box-shadow: var(--shadow-soft);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.bento:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(13, 148, 136, .35);
}
.bento--tint { background: linear-gradient(180deg, #F0FDFA 0%, #fff 50%); }
.bento-icon {
  height: 2.8rem; width: 2.8rem; border-radius: .85rem;
  display: grid; place-items: center; color: var(--teal-700);
  background: linear-gradient(180deg, #CCFBF1, #99F6E4);
  border: 1px solid rgba(13, 148, 136, .25);
  box-shadow: inset 0 1px 0 #fff;
  margin-bottom: .95rem;
}
.bento-icon svg { height: 1.35rem; width: 1.35rem; }
.bento-title { font-family: var(--font-display); font-weight: 700; color: var(--ink-900); font-size: 1.08rem; letter-spacing: -.01em; }
.bento-text { color: #64748B; margin-top: .4rem; font-size: .94rem; }

.mini-panel {
  position: relative; overflow: hidden;
  background: #F8FAFC; border: 1px solid rgba(2, 6, 23, .06);
  border-radius: .95rem; padding: .95rem; margin-top: 1.15rem;
}
.mini-bubble-bot, .mini-bubble-user {
  font-size: .72rem; line-height: 1.4; padding: .42rem .65rem;
  border-radius: .75rem; max-width: 82%;
}
.mini-bubble-bot { background: #fff; border: 1px solid rgba(2, 6, 23, .07); color: #475569; border-bottom-left-radius: .25rem; }
.mini-bubble-user { background: linear-gradient(135deg, var(--teal-500), var(--teal-600)); color: #fff; border-bottom-right-radius: .25rem; }

.notif-row {
  display: flex; align-items: center; gap: .6rem;
  background: #fff; border: 1px solid rgba(2, 6, 23, .07);
  border-radius: .75rem; padding: .55rem .7rem;
  box-shadow: 0 1px 3px rgba(2, 6, 23, .06);
  font-size: .75rem; color: #475569;
}
.notif-row .n-icon {
  flex: none; height: 1.7rem; width: 1.7rem; border-radius: .5rem;
  display: grid; place-items: center;
}
.notif-row .n-icon svg { height: .9rem; width: .9rem; }

/* --- Pricing --------------------------------------------------------------------------------- */
.plan {
  position: relative;
  background: #fff; border: 1px solid rgba(2, 6, 23, .08);
  border-radius: 1.4rem; padding: 1.9rem;
  box-shadow: var(--shadow-soft);
  transition: transform .22s ease, box-shadow .22s ease;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

.plan--pro {
  background:
    linear-gradient(var(--ink-900), var(--ink-900)) padding-box,
    linear-gradient(160deg, var(--teal-400), rgba(245, 158, 11, .85) 55%, rgba(45, 212, 191, .5)) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 6px 12px -6px rgba(2, 6, 23, .3), 0 40px 80px -24px rgba(2, 6, 23, .55);
}
@media (min-width: 1024px) {
  .plan--pro { transform: scale(1.045); }
  .plan--pro:hover { transform: scale(1.045) translateY(-4px); }
}

.badge-popular {
  position: absolute; top: -.85rem; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: .35rem;
  background: linear-gradient(180deg, var(--amber-300), var(--amber-500));
  color: var(--amber-950); border: 1px solid var(--amber-600);
  font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
  padding: .32rem .85rem; border-radius: 9999px; white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 8px 18px -6px rgba(245, 158, 11, .6);
}
.badge-popular svg { height: .8rem; width: .8rem; }

.setup-pill {
  display: inline-flex; font-size: .76rem; font-weight: 600;
  background: #F1F5F9; color: #64748B;
  border-radius: 9999px; padding: .28rem .8rem; margin-top: .65rem;
}
.plan--pro .setup-pill { background: rgba(255, 255, 255, .09); color: #94A3B8; }

.tick {
  --tick-color: var(--teal-600);
  position: relative; padding-left: 1.8rem; color: #475569;
}
.tick::before {
  content: ""; position: absolute; left: 0; top: .18rem;
  height: 1.05rem; width: 1.05rem; border-radius: 9999px;
  background: var(--tick-color);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm-1.2 13.6-3.4-3.4 1.4-1.4 2 2 4.4-4.4 1.4 1.4-5.8 5.8Z'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm-1.2 13.6-3.4-3.4 1.4-1.4 2 2 4.4-4.4 1.4 1.4-5.8 5.8Z'/></svg>") center / contain no-repeat;
}
.tick--dark { --tick-color: var(--teal-300); color: #CBD5E1; }

.roi-pill {
  display: flex; gap: .9rem; align-items: flex-start;
  background: #FFFBEB; border: 1px solid #FDE68A; border-radius: 1rem;
  padding: 1rem 1.25rem;
}
.roi-pill .r-icon {
  flex: none; height: 2.4rem; width: 2.4rem; border-radius: .7rem;
  display: grid; place-items: center; color: var(--amber-600);
  background: #FEF3C7; border: 1px solid #FDE68A;
}
.roi-pill .r-icon svg { height: 1.25rem; width: 1.25rem; }

/* --- Guarantee --------------------------------------------------------------------------------- */
.guarantee-card {
  position: relative; overflow: hidden;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, var(--teal-300), var(--teal-600) 45%, var(--amber-400)) border-box;
  border: 1.5px solid transparent;
  border-radius: 1.6rem;
  box-shadow: var(--shadow-lift);
}
.g-shield {
  height: 3.6rem; width: 3.6rem; border-radius: 1.1rem;
  display: grid; place-items: center; color: #fff; margin: 0 auto;
  background: linear-gradient(135deg, var(--teal-400), var(--teal-700));
  box-shadow: 0 14px 30px -8px rgba(13, 148, 136, .55), inset 0 1.5px 0 rgba(255, 255, 255, .3);
}
.g-shield svg { height: 1.8rem; width: 1.8rem; }
.g-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  background: #F0FDFA; border: 1px solid #99F6E4; color: var(--teal-900);
  border-radius: 9999px; padding: .55rem 1.1rem;
  font-weight: 600; font-size: .9rem;
}
.g-pill svg { height: 1rem; width: 1rem; color: var(--teal-600); flex: none; }

/* --- Testimonials / placeholders ------------------------------------------------------------------ */
.testimonial-slot {
  border: 1.5px dashed #CBD5E1; border-radius: 1rem;
  background: rgba(255, 255, 255, .65); padding: 1.25rem;
}
.slot-label {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  background: #F1F5F9; color: #64748B; border-radius: 9999px; padding: .25rem .7rem;
}

/* --- FAQ ---------------------------------------------------------------------------------------- */
.faq-item {
  background: #fff; border: 1px solid rgba(2, 6, 23, .08);
  border-radius: 1.05rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item.open { border-color: rgba(13, 148, 136, .45); box-shadow: var(--shadow-soft); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  text-align: left; padding: 1.15rem 1.4rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: var(--ink-900);
  background: none; border: none; cursor: pointer; border-radius: 1.05rem;
}
.faq-caret {
  height: 1.55rem; width: 1.55rem; flex: none; border-radius: 9999px;
  display: grid; place-items: center;
  color: var(--teal-700); background: #F0FDFA; border: 1px solid #99F6E4;
  transition: transform .25s ease, background-color .2s ease;
  padding: .28rem;
}
.faq-item.open .faq-caret { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.open .faq-a { max-height: 26rem; }
.faq-a p { padding: 0 1.4rem 1.25rem; color: #475569; }

/* --- Forms ---------------------------------------------------------------------------------------- */
.form-label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: .4rem; color: #334155; }
.form-input {
  width: 100%; border: 1.5px solid #E2E8F0; border-radius: .75rem;
  padding: .68rem .9rem; font-size: .98rem; color: var(--ink-900);
  background: #F8FAFC;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.form-input:focus {
  outline: none; background: #fff;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, .16);
}
.form-input[aria-invalid="true"] { border-color: #EF4444; box-shadow: 0 0 0 4px rgba(239, 68, 68, .14); }

/* Honeypot: off-screen, out of focus order for humans */
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* --- Embed placeholders (Calendly, widget, video) ---------------------------------------------------- */
.embed-slot {
  border: 2px dashed rgba(148, 163, 184, .45);
  border-radius: 1.15rem; padding: 1.9rem; text-align: center;
}
.embed-slot--dark { border-color: rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .045); }

/* --- Sticky mobile CTA -------------------------------------------------------------------------------- */
.sticky-bar {
  transition: transform .28s ease;
  box-shadow: 0 -10px 30px -16px rgba(2, 6, 23, .35);
  padding-bottom: calc(.75rem + env(safe-area-inset-bottom));
}
.sticky-bar.sticky-hidden { transform: translateY(110%); }

/* --- WhatsApp FAB --------------------------------------------------------------------------------------- */
.wa-fab {
  position: fixed; z-index: 40;
  height: 3.4rem; width: 3.4rem; border-radius: 9999px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(180deg, #3DDC6C, #1FAF52);
  border: 1px solid #1AA34A;
  box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .35), 0 12px 28px -8px rgba(37, 211, 102, .55);
  transition: transform .18s ease, box-shadow .18s ease;
}
.wa-fab:hover { transform: scale(1.07); }

/* --- Demo modal ------------------------------------------------------------------------------------------- */
.modal-panel { animation: modalUp .28s ease; }
@keyframes modalUp {
  from { opacity: 0; transform: translateY(14px) scale(.985); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* --- Scroll reveal ------------------------------------------------------------------------------------------ */
.reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity .65s cubic-bezier(.22, .61, .36, 1), transform .65s cubic-bezier(.22, .61, .36, 1);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes pulse-slow { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.animate-pulse-slow { animation: pulse-slow 2.5s ease-in-out infinite; }

/* --- Reduced motion ------------------------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .float-card { animation: none !important; }
  .animate-pulse-slow, .modal-panel { animation: none !important; }
  * { transition-duration: .001ms !important; animation-duration: .001ms !important; }
}
