/* ==========================================================================
   VIBEFAM · shared design system (v2)
   Homepage v2 brand direction. Self-hosted fonts, design tokens, base, and
   the component/section classes used across the landing pages.
   Extracted from the "Vibefam Homepage v2" Claude Design into reusable
   classes (the design ships inline styles; we keep the project's convention
   of a single linked stylesheet).
   ========================================================================== */

/* ── Self-hosted webfonts (latin variable subset) ──
   Headlines: Schibsted Grotesk 500–800 · Body/UI: Hanken Grotesk 400–800
   Self-hosted (not Google Fonts CDN) to keep the project's perf posture:
   preloaded woff2, no render-blocking third-party request. */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url(/assets/schibsted-grotesk-var.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/hanken-grotesk-var.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   TOKENS
   ========================================================================== */
:root {
  /* Brand base palette */
  --vf-purple: #5e17eb;
  --vf-violet: #8924ff;
  --vf-gold: #ffbd58;
  --vf-gold-deep: #ff8c42;
  --vf-navy: #151f27;
  --vf-slate: #2e3a44;
  --vf-silver: #cccdcd;
  --vf-white: #ffffff;

  /* Section background tints (solid) */
  --vf-lavender: #f5f0ff;
  --vf-lavender-soft: #f7f4fe;
  --vf-cream: #fffbf5;
  --vf-mint: #f0fdf9;
  --vf-mint-soft: #e7f8f0;
  --vf-mint-deep: #d6f5e8;
  --vf-gray-50: #fbfafc;

  /* Functional / status */
  --vf-green: #0e9f6e;
  --vf-green-bright: #34d399;
  --vf-success: #0e9f6e;
  --vf-success-soft: #e7f8f0;
  --vf-warn: #c2410c;
  --vf-danger: #dc2626;

  /* Brand gradients */
  --vf-gradient-purple: linear-gradient(120deg, #5e17eb 0%, #8924ff 100%);
  --vf-gradient-purple-dark: linear-gradient(to bottom, #8924ff, #151f27);
  --vf-gradient-gold: linear-gradient(135deg, #ffbd58, #ff8c42);

  /* Translucent overlays */
  --vf-purple-05: rgba(94, 23, 235, 0.05);
  --vf-purple-10: rgba(94, 23, 235, 0.1);
  --vf-purple-20: rgba(94, 23, 235, 0.2);

  /* Semantic — text */
  --text-strong: var(--vf-navy);
  --text-body: var(--vf-slate);
  --text-muted: #6b7280;
  --text-faint: #9098a4;
  --text-on-dark: var(--vf-silver);
  --text-on-dark-strong: var(--vf-white);
  --text-link: var(--vf-purple);
  --text-link-hover: var(--vf-violet);

  /* Semantic — surfaces */
  --surface-page: var(--vf-white);
  --surface-card: var(--vf-white);
  --surface-dark: var(--vf-navy);
  --surface-tint: var(--vf-lavender);
  --surface-subtle: var(--vf-gray-50);

  /* Brand roles */
  --brand-primary: var(--vf-purple);
  --brand-primary-hover: var(--vf-violet);
  --brand-accent: var(--vf-gold);

  /* Borders */
  --border-subtle: #ece6f8;
  --border-card: #f0ecf8;
  --border-field: #e2deec;
  --border-strong: var(--vf-silver);
  --border-on-dark: rgba(255, 255, 255, 0.1);

  /* Focus ring */
  --focus-ring: 0 0 0 3px rgba(94, 23, 235, 0.18);

  /* Typography */
  --font-heading: 'Schibsted Grotesk', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Hanken Grotesk', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;
  --lh-tight: 1.04;
  --lh-heading: 1.12;
  --lh-snug: 1.3;
  --lh-body: 1.6;
  --ls-display: -0.025em;
  --ls-heading: -0.02em;
  --ls-body: 0.01em;
  --ls-overline: 0.18em;

  /* Spacing / layout */
  --container-max: 1240px;
  --container-pad: clamp(20px, 6vw, 64px);
  --section-pad-y: clamp(64px, 7vw, 104px);

  /* Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-btn: 12px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-pill: 9999px;

  /* Effects */
  --shadow-card: 0 1px 3px rgba(21, 31, 39, 0.04), 0 8px 24px rgba(21, 31, 39, 0.08);
  --shadow-card-hover: 0 4px 12px rgba(21, 31, 39, 0.08), 0 20px 40px rgba(21, 31, 39, 0.12);
  --shadow-media: 0 30px 60px -28px rgba(21, 31, 39, 0.28);
  --shadow-media-lg: 0 40px 80px -32px rgba(21, 31, 39, 0.32);
  --shadow-purple-lg: 0 20px 60px rgba(94, 23, 235, 0.35);
  --shadow-cta: 0 8px 32px rgba(94, 23, 235, 0.35);
  --shadow-cta-hover: 0 12px 48px rgba(94, 23, 235, 0.5);
  --ease-default: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-reveal: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur-slow: 300ms;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-weight: var(--fw-regular);
  font-size: 16px;
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  color: var(--text-body);
  background: var(--surface-page);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-heading);
  line-height: var(--lh-heading);
  color: var(--text-strong);
}

p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: var(--radius-sm); }

/* ==========================================================================
   LAYOUT HELPERS
   ========================================================================== */
.section { padding: var(--section-pad-y) var(--container-pad); border-bottom: 1px solid var(--border-card); }
.section--flush { border-bottom: none; }
.container { max-width: var(--container-max); margin: 0 auto; }

.section--lavender { background: var(--vf-lavender); }
.section--lavender-soft { background: var(--vf-lavender-soft); border-top: 1px solid var(--border-card); }
.section--cream { background: var(--vf-cream); }
.section--mint { background: var(--vf-mint); }
.section--subtle { background: var(--vf-gray-50); border-top: 1px solid var(--border-card); }
.section--page { background: var(--surface-page); }
.section--dark { background: var(--surface-dark); }

/* Eyebrow / overline label */
.overline {
  display: inline-block;
  font-size: 13px;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-overline);
  color: var(--brand-primary);
  margin-bottom: 14px;
}
.overline--gold { color: var(--vf-gold-deep); }
.overline--gold-bright { color: var(--vf-gold); }
.overline--green { color: var(--vf-green); }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: var(--fw-bold); letter-spacing: var(--ls-display); line-height: var(--lh-heading); }
.section-head p { font-size: 18px; color: var(--text-body); line-height: var(--lh-body); margin-top: 16px; }
.text-grad { background: var(--vf-gradient-purple); -webkit-background-clip: text; background-clip: text; color: transparent; }
.text-purple { color: var(--brand-primary); }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: var(--fw-bold);
  font-size: 15px;
  border: none;
  border-radius: var(--radius-btn);
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--dur-slow) var(--ease-default), box-shadow var(--dur-slow) var(--ease-default), background var(--dur-slow) var(--ease-default);
}
.btn svg { flex-shrink: 0; }
.btn-primary { background: var(--vf-gradient-purple); color: #fff; padding: 14px 26px; box-shadow: var(--shadow-cta); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-cta-hover); }
.btn-lg { font-size: 17px; padding: 17px 36px; }
.btn-block { width: 100%; }
.btn-nav { font-size: 14px; padding: 11px 20px; }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px var(--container-pad);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-card);
  transition: box-shadow var(--dur-slow) var(--ease-default);
}
.nav.is-scrolled { box-shadow: 0 4px 20px rgba(21, 31, 39, 0.08); }
.nav-logo { display: inline-flex; align-items: center; line-height: 0; }
.nav-logo img { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-link { font-size: 15px; font-weight: var(--fw-semibold); color: var(--text-body); }
.nav-link:hover { color: var(--brand-primary); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; background: var(--vf-lavender); border-bottom: 1px solid var(--border-card); overflow: hidden; }
.hero-dotgrid {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: radial-gradient(circle, rgba(94, 23, 235, 0.1) 1px, transparent 1px);
  background-size: 34px 34px;
}
.hero-glow { position: absolute; pointer-events: none; }
.hero-glow--purple { top: -120px; right: -80px; width: 460px; height: 460px; background: radial-gradient(circle, rgba(137, 36, 255, 0.18), transparent 70%); }
.hero-glow--gold { bottom: -160px; left: -100px; width: 420px; height: 420px; background: radial-gradient(circle, rgba(255, 189, 88, 0.16), transparent 70%); }
.hero-photo { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-photo img { position: absolute; right: 0; top: 0; height: 100%; width: 52%; object-fit: cover; object-position: 58% center; }
.hero-photo-fade { position: absolute; inset: 0; background: linear-gradient(95deg, var(--vf-lavender) 40%, rgba(245, 240, 255, 0.86) 53%, rgba(245, 240, 255, 0.55) 74%, rgba(245, 240, 255, 0.34) 100%); }

.hero-grid {
  position: relative;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 84px) var(--container-pad);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 5vw, 76px);
  align-items: center;
}
.hero h1 { font-size: clamp(40px, 5vw, 64px); font-weight: var(--fw-extrabold); line-height: var(--lh-tight); letter-spacing: var(--ls-display); }
.hero-sub { font-size: clamp(18px, 1.4vw, 21px); color: var(--text-body); line-height: 1.55; margin-top: 22px; max-width: 540px; }
.hero-bullets { margin: 28px 0 30px; display: grid; gap: 13px; }
.hero-bullets li { display: flex; align-items: flex-start; gap: 11px; font-size: 16px; font-weight: var(--fw-semibold); color: var(--text-strong); }
.hero-trust { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; }
.hero-trust-rating { display: flex; align-items: center; gap: 9px; font-size: 14.5px; color: var(--text-body); font-weight: var(--fw-semibold); }
.hero-trust-rating strong { color: var(--text-strong); }
.hero-badges { display: flex; align-items: center; gap: 14px; }
.hero-badges a { line-height: 0; }
.hero-badges img { height: 40px; width: auto; }

/* Inline check + star helpers (filled by lead-form.js / inline script) */
.icon-check { flex-shrink: 0; }
.stars { display: inline-flex; gap: 2px; }

/* Floating proof card */
.float-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border-card);
  border-radius: 14px;
  padding: 11px 15px;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: vfFloat 6s ease-in-out infinite;
}
.float-card-icon { width: 32px; height: 32px; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.float-card-title { font-size: 12.5px; font-weight: var(--fw-bold); color: var(--text-strong); }
.float-card-sub { font-size: 11px; color: var(--text-muted); }

/* ==========================================================================
   HERO LEAD FORM (capture-first, EXP-014)
   ========================================================================== */
.lead-card-wrap { position: relative; scroll-margin-top: 90px; }
.lead-card {
  background: var(--surface-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-media);
  padding: clamp(26px, 2.4vw, 36px);
}
.lead-head { text-align: center; margin-bottom: 22px; }
.lead-head h3 { font-size: clamp(22px, 2vw, 27px); font-weight: var(--fw-bold); letter-spacing: var(--ls-heading); line-height: 1.15; }
.lead-head p { font-size: 15px; color: var(--text-muted); margin-top: 9px; line-height: 1.5; }
.lead-form { display: grid; gap: 15px; }
.lead-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-field { display: flex; flex-direction: column; gap: 7px; }
.lead-field label { font-size: 13.5px; font-weight: var(--fw-semibold); color: var(--text-strong); }
.lead-field label .req { color: var(--brand-primary); margin-left: 2px; }
.lead-field input {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-strong);
  padding: 13px 14px;
  border: 1px solid var(--border-field);
  border-radius: var(--radius-md);
  background: #fff;
  transition: border-color var(--dur-slow) var(--ease-default), box-shadow var(--dur-slow) var(--ease-default);
}
.lead-field input::placeholder { color: var(--text-faint); }
.lead-field input:focus { outline: none; border-color: var(--brand-primary); box-shadow: var(--focus-ring); }
.lead-field.has-error input { border-color: var(--vf-danger); }
.lead-error { font-size: 12.5px; color: var(--vf-danger); min-height: 0; }
.lead-field.has-error .lead-error { min-height: 16px; }
.lead-submit { margin-top: 4px; padding: 16px; font-size: 16px; }
.lead-submit .spinner { display: none; width: 17px; height: 17px; border: 2px solid rgba(255,255,255,0.4); border-top-color: #fff; border-radius: 50%; animation: vfSpin 0.7s linear infinite; }
.lead-submit.is-loading .spinner { display: inline-block; }
.lead-next { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; color: var(--text-muted); font-weight: var(--fw-medium); margin-top: 2px; }
.lead-next svg { flex-shrink: 0; }

/* ==========================================================================
   LOGOS MARQUEE
   ========================================================================== */
.logos-label { text-align: center; font-size: 12.5px; font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: var(--ls-overline); color: var(--text-muted); margin: 0 auto 32px; padding: 0 6%; }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; align-items: center; width: max-content; animation: vfMarquee 90s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 64px; padding-right: 64px; flex-shrink: 0; }
.marquee-track img { height: 52px; width: auto; opacity: 0.5; filter: grayscale(1); }

/* ==========================================================================
   STATS RECEIPTS
   ========================================================================== */
.stats-grid { max-width: var(--container-max); margin: 0 auto; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 5vw, 72px); align-items: center; }
.stats-copy h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: var(--fw-bold); letter-spacing: var(--ls-display); line-height: var(--lh-heading); }
.stats-copy p { font-size: 18px; color: var(--text-body); line-height: var(--lh-body); margin-top: 18px; max-width: 460px; }
.stats-copy .btn { margin-top: 26px; }
.stat-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat-card { background: #fff; border: 1px solid var(--border-card); border-radius: var(--radius-xl); padding: 32px 24px; text-align: center; box-shadow: var(--shadow-card); }
.stat-num { font-size: clamp(36px, 4vw, 52px); font-weight: var(--fw-extrabold); color: var(--brand-primary); letter-spacing: var(--ls-display); line-height: 1; }
.stat-label { font-size: 12.5px; font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-top: 12px; }

/* ==========================================================================
   PRODUCT SHOWCASE
   ========================================================================== */
.showcase { max-width: 1080px; margin: 0 auto; text-align: center; }
.showcase h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: var(--fw-bold); letter-spacing: var(--ls-display); line-height: var(--lh-heading); max-width: 760px; margin: 0 auto; }
.showcase p { font-size: 18px; color: var(--text-body); line-height: var(--lh-body); margin: 16px auto 0; max-width: 600px; }
.showcase-media { position: relative; margin-top: 44px; }
.showcase-frame { border-radius: var(--radius-2xl); overflow: hidden; border: 1px solid var(--border-card); box-shadow: var(--shadow-media-lg); }
.showcase-frame img { width: 100%; display: block; }

/* ==========================================================================
   CARD GRIDS (AI solutions, features)
   ========================================================================== */
.grid { display: grid; gap: 20px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: #fff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 30px 26px;
  box-shadow: var(--shadow-card);
  transition: transform var(--dur-slow) var(--ease-default), box-shadow var(--dur-slow) var(--ease-default), border-color var(--dur-slow) var(--ease-default);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); border-color: rgba(94, 23, 235, 0.25); }
.card-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--vf-purple-10); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.card-icon--grad { background: var(--vf-gradient-purple); width: 44px; height: 44px; border-radius: 11px; margin-bottom: 16px; }
.card h3 { font-size: 19px; font-weight: var(--fw-bold); letter-spacing: var(--ls-heading); line-height: 1.25; }
.card p { font-size: 14.5px; color: var(--text-body); line-height: 1.55; margin-top: 9px; }
.card-chip { margin-top: 16px; display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: var(--fw-bold); color: var(--vf-gold-deep); background: rgba(255, 189, 88, 0.16); padding: 6px 11px; border-radius: var(--radius-pill); }
.card--feature { padding: 28px 26px; }
.card--feature h3 { font-size: 18px; }

/* ==========================================================================
   BRANDED APP (dark split)
   ========================================================================== */
.split { max-width: var(--container-max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 76px); align-items: center; }
.split-copy h2 { font-size: clamp(28px, 3.4vw, 44px); font-weight: var(--fw-bold); letter-spacing: var(--ls-display); line-height: var(--lh-heading); }
.split-copy > p { font-size: 18px; line-height: var(--lh-body); margin-top: 18px; }
.split--dark h2 { color: #fff; }
.split--dark .split-copy > p { color: var(--text-on-dark); }
.checklist { margin: 26px 0 0; display: grid; gap: 14px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; }
.split--dark .checklist li { color: var(--text-on-dark-strong); }
.split--dark .checklist strong { color: #fff; }
.check-bubble { margin-top: 2px; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: rgba(52, 211, 153, 0.16); display: inline-flex; align-items: center; justify-content: center; }
.split-media { border-radius: var(--radius-2xl); overflow: hidden; box-shadow: var(--shadow-purple-lg); }
.split-media img { width: 100%; max-height: 620px; object-fit: cover; object-position: center; display: block; }

/* ==========================================================================
   SUPPORT / SSM chat mockup
   ========================================================================== */
.split--support .checklist li { color: var(--text-strong); font-weight: var(--fw-semibold); }
.chat-card { background: #fff; border: 1px solid var(--border-card); border-radius: var(--radius-2xl); overflow: hidden; box-shadow: var(--shadow-card); }
.chat-head { background: var(--vf-gradient-purple); padding: 16px 20px; display: flex; align-items: center; gap: 11px; }
.chat-avatar { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.chat-name { font-size: 14.5px; font-weight: var(--fw-bold); color: #fff; }
.chat-status { font-size: 12px; color: rgba(255, 255, 255, 0.8); display: flex; align-items: center; gap: 5px; }
.chat-status .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--vf-green-bright); }
.chat-body { padding: 22px 18px; display: flex; flex-direction: column; gap: 12px; }
.chat-time { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-faint); text-align: center; font-weight: var(--fw-semibold); }
.chat-msg { max-width: 84%; font-size: 14px; line-height: 1.5; padding: 11px 14px; }
.chat-msg--in { align-self: flex-start; background: var(--vf-gray-50); border: 1px solid var(--border-card); border-radius: 16px 16px 16px 4px; }
.chat-msg--out { align-self: flex-end; background: var(--brand-primary); color: #fff; border-radius: 16px 16px 4px 16px; }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.reviews-strip { display: flex; align-items: center; justify-content: center; gap: 16px; max-width: 560px; margin: 0 auto 40px; padding: 13px 22px; background: #fff; border: 1px solid var(--border-card); border-radius: var(--radius-pill); box-shadow: var(--shadow-card); flex-wrap: wrap; }
.reviews-strip .capterra { font-size: 16px; font-weight: var(--fw-extrabold); color: #ff9d28; }
.reviews-strip .divider { width: 1px; height: 20px; background: var(--border-card); }
.reviews-strip .score { font-size: 16px; font-weight: var(--fw-bold); color: var(--text-strong); }
.reviews-strip .meta { font-size: 13.5px; color: var(--text-muted); font-weight: var(--fw-medium); }
.testimonial-card { display: flex; flex-direction: column; gap: 18px; padding: 30px 28px; }
.testimonial-card p { font-size: 15.5px; color: var(--text-body); line-height: var(--lh-body); flex: 1; margin-top: 0; }
.testimonial-author { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--border-card); padding-top: 18px; }
.testimonial-author img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.testimonial-name { font-size: 14.5px; font-weight: var(--fw-bold); color: var(--text-strong); }
.testimonial-role { font-size: 13px; color: var(--text-muted); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-wrap { max-width: 880px; margin: 0 auto; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--border-card); border-radius: var(--radius-lg); overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 24px; font-size: 16.5px; font-weight: var(--fw-bold); color: var(--text-strong); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chev { flex-shrink: 0; transition: transform var(--dur-slow) var(--ease-default); }
.faq-item[open] .faq-chev { transform: rotate(180deg); }
.faq-answer { padding: 0 24px 22px; font-size: 15px; color: var(--text-body); line-height: 1.65; }

/* ==========================================================================
   FINAL CTA (dark)
   ========================================================================== */
.final-cta { position: relative; overflow: hidden; text-align: center; padding: clamp(72px, 8vw, 120px) var(--container-pad); }
.final-cta-glow { position: absolute; top: -120px; left: 50%; transform: translateX(-50%); width: 600px; height: 360px; background: radial-gradient(circle, rgba(137, 36, 255, 0.32), transparent 70%); pointer-events: none; }
.final-cta-inner { position: relative; max-width: 720px; margin: 0 auto; }
.final-cta h2 { font-size: clamp(32px, 4.4vw, 54px); font-weight: var(--fw-extrabold); letter-spacing: var(--ls-display); line-height: var(--lh-tight); color: #fff; }
.final-cta p { font-size: 19px; color: var(--text-on-dark); line-height: 1.55; margin: 18px auto 32px; max-width: 560px; }
.final-checks { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 26px; margin-top: 30px; }
.final-check { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--text-on-dark-strong); font-weight: var(--fw-semibold); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--surface-dark); border-top: 1px solid var(--border-on-dark); padding: 34px var(--container-pad); }
.footer-inner { max-width: var(--container-max); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer img { height: 32px; width: auto; filter: brightness(0) invert(1); }
.footer span { font-size: 13.5px; color: var(--text-on-dark); }
.footer a { color: var(--text-on-dark); }
.footer a:hover { color: #fff; }

/* ==========================================================================
   VS-MINDBODY (comparison page)
   ========================================================================== */
.hero-pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--border-card); color: var(--brand-primary); font-size: 13px; font-weight: var(--fw-bold); padding: 7px 14px; border-radius: var(--radius-pill); margin-bottom: 22px; box-shadow: var(--shadow-card); }

/* Comparison table */
.cmp-scroll { overflow-x: auto; border-radius: var(--radius-2xl); box-shadow: 0 30px 60px -34px rgba(21, 31, 39, 0.28); }
.cmp { min-width: 680px; background: #fff; border: 1px solid var(--border-card); border-radius: var(--radius-2xl); overflow: hidden; }
.cmp-head, .cmp-row { display: grid; grid-template-columns: 1.5fr 1fr 1fr; align-items: stretch; }
.cmp-row { border-top: 1px solid var(--border-card); }
.cmp-head-label { padding: 22px 24px; display: flex; align-items: flex-end; }
.cmp-head-label span { font-size: 12px; font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: var(--ls-overline); color: var(--text-muted); }
.cmp-head-vf { background: var(--vf-gradient-purple); padding: 20px 18px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.cmp-head-vf .name { font-size: 19px; font-weight: var(--fw-extrabold); color: #fff; letter-spacing: var(--ls-heading); }
.cmp-head-vf .sub { font-size: 11.5px; font-weight: var(--fw-semibold); color: rgba(255, 255, 255, 0.82); }
.cmp-head-mb { padding: 20px 18px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; border-left: 1px solid var(--border-card); }
.cmp-head-mb .name { font-size: 19px; font-weight: var(--fw-bold); color: var(--text-muted); letter-spacing: var(--ls-heading); }
.cmp-head-mb .sub { font-size: 11.5px; font-weight: var(--fw-semibold); color: var(--text-faint); }
.cmp-feature { padding: 18px 24px; font-size: 15px; font-weight: var(--fw-bold); color: var(--text-strong); }
.cmp-vf, .cmp-mb { padding: 18px; display: flex; gap: 9px; align-items: center; }
.cmp-vf { background: var(--vf-lavender); }
.cmp-vf span { font-size: 14.5px; font-weight: var(--fw-semibold); color: var(--text-strong); }
.cmp-mb { border-left: 1px solid var(--border-card); }
.cmp-mb span { font-size: 14.5px; color: var(--text-muted); }
.cmp-vf svg, .cmp-mb svg { flex-shrink: 0; }
.cmp-note { text-align: center; font-size: 12.5px; color: var(--text-faint); margin: 18px auto 0; max-width: 680px; }

/* Cost stack */
.cost-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.cost-card { background: #fff; border: 1px solid var(--border-card); border-radius: var(--radius-2xl); padding: 30px 28px; box-shadow: var(--shadow-card); }
.cost-label { font-size: 13px; font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: var(--ls-overline); color: var(--text-muted); margin-bottom: 18px; }
.cost-list { display: grid; gap: 14px; }
.cost-list li { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; font-size: 15px; color: var(--text-strong); }
.cost-list li + li { border-top: 1px solid var(--border-card); padding-top: 14px; }
.cost-list .amt { font-weight: var(--fw-bold); white-space: nowrap; }
.cost-list .amt-warn { color: var(--vf-gold-deep); }
.cost-card--dark { background: var(--surface-dark); box-shadow: var(--shadow-purple-lg); position: relative; overflow: hidden; border: none; }
.cost-card--dark .cost-label { color: var(--vf-gold); }
.cost-glow { position: absolute; top: -90px; right: -70px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(137, 36, 255, 0.4), transparent 70%); pointer-events: none; }
.cost-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.cost-price .num { font-size: clamp(40px, 5vw, 56px); font-weight: var(--fw-extrabold); color: #fff; letter-spacing: var(--ls-display); line-height: 1; }
.cost-price .per { font-size: 16px; color: var(--text-on-dark); font-weight: var(--fw-semibold); }
.cost-card--dark > div:not(.cost-glow) { position: relative; z-index: 1; }
.cost-card--dark .cost-note { font-size: 14px; color: var(--text-on-dark); margin-bottom: 20px; }
.cost-incl { display: grid; gap: 13px; }
.cost-incl li { display: flex; align-items: flex-start; gap: 11px; color: var(--text-on-dark-strong); font-size: 15px; }

/* Migration steps + media split */
.media-split { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(36px, 5vw, 64px); align-items: stretch; }
.steps { display: grid; gap: 20px; align-content: center; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step-num { flex-shrink: 0; width: 40px; height: 40px; border-radius: 11px; background: var(--vf-purple-10); color: var(--brand-primary); display: flex; align-items: center; justify-content: center; font-weight: var(--fw-extrabold); font-size: 17px; }
.step h3 { font-size: 18px; font-weight: var(--fw-bold); letter-spacing: var(--ls-heading); }
.step p { font-size: 14.5px; color: var(--text-body); line-height: 1.55; margin-top: 5px; }
.split-media--cover { align-self: stretch; border: 1px solid var(--border-card); box-shadow: 0 30px 60px -34px rgba(21, 31, 39, 0.28); min-height: 360px; }
.split-media--cover img { width: 100%; height: 100%; object-fit: cover; max-height: none; }

/* Keep select headings on one line on desktop */
@media (min-width: 720px) { .oneline { white-space: nowrap; } }

@media (max-width: 900px) {
  .cost-grid, .media-split { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cmp { min-width: 0; }
  .cmp-head { grid-template-columns: 1fr 1fr; }
  .cmp-head-label { display: none; }
  .cmp-row { grid-template-columns: 1fr 1fr; }
  .cmp-feature { grid-column: 1 / -1; padding: 14px 18px 4px; background: var(--vf-gray-50); font-size: 13.5px; }
}

/* ==========================================================================
   MOTION
   ========================================================================== */
@keyframes vfFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes vfMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes vfSpin { to { transform: rotate(360deg); } }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease-reveal), transform 0.7s var(--ease-reveal); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .marquee-track, .float-card { animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-photo { display: none; }
  .stats-grid, .split { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .nav-link { display: none; }
  .split--dark .split-media, .split--support .chat-card { order: -1; }
}
@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
  .lead-row { grid-template-columns: 1fr; }
  .stat-cards { grid-template-columns: 1fr 1fr; }
}
