/* ============================================================
   PROSPER — MAIN STYLESHEET
   ============================================================
   Author: Prosperex Pty Ltd
   Architecture: Mobile-first. Global sections define tokens,
   base, typography, layout, components, and utilities.
   Page-specific styles live in clearly labelled blocks at the
   bottom of this file.
   ============================================================ */


/* ============================================================
   1. CSS CUSTOM PROPERTIES (variables)
   ============================================================ */

:root {
  /* Brand */
  --primary: #8c52ff;
  --primary-dark: #6d28d9;
  --primary-light: #f3edff;
  --primary-deep: #e4d8ff;

  /* Accents */
  --accent: #10b981;
  --accent-light: #ecfdf5;
  --amber: #f59e0b;
  --amber-light: #fffbeb;
  --coral: #f97316;
  --coral-light: #fff7ed;
  --sky: #0ea5e9;
  --sky-light: #f0f9ff;
  --red: #ef4444;
  --red-light: #fef2f2;

  /* Neutrals */
  --ink: #0f0f1e;
  --text: #374151;
  --text-light: #6b7280;
  --text-xlight: #9ca3af;
  --border: #e5e7eb;
  --border-soft: #f1f0f4;
  --bg: #f8f7fc;
  --bg-warm: #faf9f7;
  --white: #ffffff;

  /* Radii */
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 28px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .06), 0 1px 2px rgba(0, 0, 0, .04);
  --shadow: 0 4px 12px rgba(140, 82, 255, .08), 0 2px 6px rgba(0, 0, 0, .06);
  --shadow-lg: 0 20px 60px -15px rgba(15, 15, 30, .12), 0 0 0 1px rgba(15, 15, 30, .04);
  --shadow-xl: 0 25px 80px rgba(15, 15, 30, .12);

  /* Fonts */
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-editorial: 'Fraunces', serif;

  /* Spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 100px;

  /* Breakpoints (reference only — used in media queries below) */
  --bp-tablet: 768px;
  --bp-desktop: 1100px;
  --bp-wide: 1280px;
}


/* ============================================================
   2. RESET / BASE
   ============================================================ */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}


/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */

h1 {
  font-family: var(--font-editorial);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--ink);
  margin-bottom: var(--space-5);
}

h1 em {
  font-style: italic;
  color: var(--primary);
  font-weight: 500;
}

h2 {
  font-family: var(--font-editorial);
  font-size: clamp(28px, 3.8vw, 46px);
  font-weight: 600;
  letter-spacing: -1.5px;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: var(--space-5);
}

h2 em {
  font-style: italic;
  color: var(--primary);
}

h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.3px;
}

p {
  line-height: 1.7;
}

.overline {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--primary);
  margin-bottom: var(--space-4);
}

.sec-desc {
  font-size: 18px;
  color: var(--text-light);
  line-height: 1.65;
  font-weight: 400;
}


/* ============================================================
   4. LAYOUT & GRID
   ============================================================ */

section {
  padding: 64px 20px;
}

.sec-center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-16);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Tablet */
@media (min-width: 768px) {
  section {
    padding: 80px 32px;
  }
}

/* Desktop */
@media (min-width: 1100px) {
  section {
    padding: 100px 40px;
  }
}


/* ============================================================
   5. COMPONENTS
   ============================================================ */

/* -------- Buttons -------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: all .22s;
  border: none;
  letter-spacing: -.1px;
  min-height: 44px;
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(15, 15, 30, .15);
}

.btn-primary:hover {
  background: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(140, 82, 255, .35);
}

.btn-outline {
  background: var(--white);
  color: var(--ink);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.btn .arrow {
  width: 16px;
  height: 16px;
}


/* -------- Navigation -------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 20px;
  height: 72px;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}

.nav.scrolled {
  box-shadow: 0 1px 12px rgba(15, 15, 30, .06);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo svg {
  height: 32px;
  width: auto;
  display: block;
}

.nav-links {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-display);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all .2s;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav-links a:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-links a.active {
  color: var(--primary);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
}

.nav-signin {
  display: none;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  padding: 10px 18px;
  border-radius: 8px;
  transition: all .2s;
}

.nav-signin:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-cta {
  background: var(--ink);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 10px;
  transition: all .2s;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
}

.nav-cta:hover {
  background: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(140, 82, 255, .3);
}

.mob-btn {
  width: 44px;
  height: 44px;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mob-btn svg {
  width: 22px;
  height: 22px;
}

@media (min-width: 1100px) {
  .nav {
    padding: 0 48px;
    grid-template-columns: auto 1fr auto;
    gap: 48px;
  }

  .nav-links {
    display: flex;
  }

  .nav-signin {
    display: inline-flex;
  }

  .mob-btn {
    display: none;
  }
}


/* -------- Mega Dropdown -------- */

.nav-has-dropdown {
  position: relative;
}

.nav-dd-trigger {
  font-family: var(--font-display);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all .2s;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  background: none;
  border: none;
}

.nav-dd-trigger svg {
  width: 14px;
  height: 14px;
  transition: transform .2s;
}

.nav-dd-trigger:hover,
.nav-dd-trigger[aria-expanded="true"] {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-dd-trigger[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.nav-mega {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: 920px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 20px 60px -15px rgba(15, 15, 30, .15), 0 0 0 1px rgba(15, 15, 30, .04);
  z-index: 1001;
  padding: 32px;
  opacity: 0;
  transform: translateX(-50%) translateY(8px);
  transition: opacity .2s, transform .2s;
}

.nav-mega.open {
  display: block;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Arrow notch at top */
.nav-mega::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 14px;
  height: 14px;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  border-radius: 3px 0 0 0;
}

.nav-mega-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
  gap: 32px;
}

.nm-heading {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--text-light);
  margin-bottom: 16px;
  padding-left: 2px;
}

/* Large link items with icon */
.nm-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  transition: background .15s;
  margin-bottom: 6px;
  text-decoration: none;
  min-height: 44px;
}

.nm-item:hover {
  background: var(--bg);
}

.nm-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nm-icon svg {
  width: 18px;
  height: 18px;
}

.nm-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nm-text strong {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.2px;
}

.nm-text span {
  font-family: var(--font-display);
  font-size: 12.5px;
  color: var(--text-light);
  font-weight: 500;
  line-height: 1.4;
}

/* Simple text links */
.nm-link {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  padding: 8px 12px;
  border-radius: 8px;
  transition: all .15s;
  text-decoration: none;
  min-height: 36px;
}

.nm-link:hover {
  color: var(--primary);
  background: var(--primary-light);
}

/* Small items with dot + description */
.nm-item-sm {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  transition: background .15s;
  margin-bottom: 2px;
  text-decoration: none;
  min-height: 44px;
}

.nm-item-sm:hover {
  background: var(--bg);
}

.nm-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}

/* Dot colour modifiers */
.nm-dot--primary   { background: var(--primary); }
.nm-dot--sky       { background: var(--sky); }
.nm-dot--coral     { background: var(--coral); }
.nm-dot--amber     { background: var(--amber); }
.nm-dot--accent    { background: var(--accent); }
.nm-dot--ink       { background: var(--ink); }

/* Icon colour modifiers */
.nm-icon--primary  { background: var(--primary-light); color: var(--primary); }
.nm-icon--accent   { background: var(--accent-light); color: var(--accent); }
.nm-icon--coral    { background: var(--coral-light); color: var(--coral); }
.nm-icon--amber    { background: var(--amber-light); color: var(--amber); }
.nm-icon--sky      { background: var(--sky-light); color: var(--sky); }

/* Smaller CTA button inside mega dropdown */
.btn--sm {
  padding: 10px 20px;
  font-size: 13px;
}

.nm-item-sm .nm-text strong {
  font-size: 13.5px;
}

.nm-item-sm .nm-text span {
  font-size: 12px;
}

/* CTA block at bottom of last column */
.nm-cta {
  margin-top: 20px;
  padding: 20px;
  background: linear-gradient(135deg, #f3edff 0%, #e4d8ff 100%);
  border-radius: 14px;
}

.nm-cta-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: -.2px;
}

.nm-cta-sub {
  font-family: var(--font-display);
  font-size: 12.5px;
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: 14px;
  line-height: 1.4;
}

/* Hide mega on mobile */
@media (max-width: 1099px) {
  .nav-mega {
    display: none !important;
  }
  .nav-dd-trigger svg {
    display: none;
  }
}

/* 2-column variant (Solutions) */
.nav-mega--sm {
  max-width: 640px;
}

.nav-mega-inner--2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

/* 3-column variant (Why Prosper) */
.nav-mega--md {
  max-width: 820px;
}

.nav-mega-inner--3col {
  display: grid;
  grid-template-columns: 1fr 1fr 0.8fr;
  gap: 32px;
}


/* -------- Footer -------- */

footer {
  padding: 80px 20px 36px;
  background: var(--ink);
  color: rgba(255, 255, 255, .7);
}

.f-grid {
  max-width: 1200px;
  margin: 0 auto var(--space-16);
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

.f-brand .f-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--white);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: 9px;
  letter-spacing: -.5px;
}

.f-brand .f-logo-m {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), #a78bfa);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 14px;
}

.f-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, .6);
  line-height: 1.65;
  max-width: 300px;
  margin-bottom: var(--space-6);
}

.f-soc {
  display: flex;
  gap: 8px;
}

.f-soc a {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .15);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .6);
  transition: all .2s;
}

.f-soc a:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(140, 82, 255, .1);
}

.f-soc svg {
  width: 16px;
  height: 16px;
}

.f-col h2,
.f-col h3 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-5);
}

.f-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.f-col a {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255, 255, 255, .6);
  transition: color .2s;
  display: inline-block;
  min-height: 32px;
  padding: 4px 0;
}

.f-col a:hover {
  color: var(--white);
}

.f-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-wrap: wrap;
  gap: 16px;
}

.f-bottom p {
  font-family: var(--font-display);
  font-size: 12.5px;
  color: rgba(255, 255, 255, .5);
  font-weight: 500;
}

.f-legal {
  display: flex;
  gap: 24px;
}

.f-legal a {
  font-family: var(--font-display);
  font-size: 12.5px;
  color: rgba(255, 255, 255, .5);
  font-weight: 500;
}

.f-legal a:hover {
  color: rgba(255, 255, 255, .8);
}

@media (min-width: 768px) {
  footer {
    padding: 80px 32px 40px;
  }

  .f-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .f-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (min-width: 1100px) {
  footer {
    padding: 80px 48px 40px;
  }

  .f-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 56px;
  }
}


/* -------- Logos marquee (trusted by) -------- */

.logos {
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
  background: var(--white);
  overflow: hidden;
}

.logos-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1.8px;
  margin-bottom: var(--space-8);
  text-align: center;
  padding: 0 24px;
}

.logos-track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.logos-track:hover {
  animation-play-state: paused;
}

.logos-set {
  display: flex;
  align-items: center;
  gap: 56px;
  padding: 0 28px;
}

.logos-set span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--text-xlight);
  letter-spacing: -.2px;
  white-space: nowrap;
  transition: color .3s;
  cursor: default;
  user-select: none;
}

.logos-set span:hover {
  color: var(--ink);
}

/* Government logos get slightly different weight for authority */
.logos-set .logo--gov {
  font-weight: 600;
  letter-spacing: .2px;
  text-transform: uppercase;
  font-size: 13px;
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Pause on reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .logos-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    width: auto;
    padding: 0 24px;
  }

  .logos-set {
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px 40px;
    padding: 0;
  }

  .logos-set:nth-child(2) {
    display: none;
  }
}

/* Unused old classes kept for backward compat */
.logos-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.logos-row { display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; }
.text-logo { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--text-xlight); letter-spacing: -.2px; white-space: nowrap; }
.logo-chip { display: none; }
.logo-chip img { display: none; }
.logo-harmony { display: none; }


/* ============================================================
   6. UTILITIES
   ============================================================ */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* ============================================================
   PAGE-SPECIFIC STYLES
   ============================================================ */


/* --- Home (index.html) ----------------------------------------
   Hero with dashboard grid, expertise intro, how-we-help steps,
   product showcase, stats, testimonials, why-prosper, dual CTA.
   ------------------------------------------------------------ */

/* Hero */
.hero {
  padding: 120px 20px 60px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #faf9ff 60%, #f3edff 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -160px;
  right: -240px;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(140, 82, 255, .14) 0%, transparent 65%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(236, 72, 153, .08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 6px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--space-8);
  box-shadow: var(--shadow-sm);
}

.hero-badge .pulse {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-badge .pulse::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(1.3); }
}

.hero-sub {
  font-size: 18px;
  color: var(--text-light);
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto var(--space-8);
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: var(--space-8);
}

.hero-proof {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 12px 20px;
  background: rgba(255, 255, 255, .6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 100px;
  box-shadow: 0 4px 16px rgba(15, 15, 30, .04);
}

.hpi .num {
  font-family: var(--font-editorial);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -.5px;
}

.hpi .lbl {
  font-family: var(--font-display);
  font-size: 11px;
  color: var(--text-light);
  margin-top: 3px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.hpi-div {
  display: none;
  width: 1px;
  height: 28px;
  background: var(--border);
}

/* Hero dashboard grid */
.hero-dash {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  animation: fadeUp .8s ease-out .2s both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.dash-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: auto;
  gap: 16px;
  align-items: start;
}

.dc-card {
  background: var(--white);
  border-radius: 24px;
  box-shadow: 0 1px 2px rgba(15, 15, 30, .04), 0 10px 30px -10px rgba(15, 15, 30, .08), 0 0 0 1px rgba(15, 15, 30, .04);
  overflow: hidden;
  transition: all .3s;
}

.dc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(15, 15, 30, .06), 0 20px 50px -15px rgba(140, 82, 255, .18), 0 0 0 1px rgba(140, 82, 255, .15);
}

/* Profile card */
.dc-profile {
  padding: 0;
  overflow: hidden;
}

.dc-profile-banner {
  height: 96px;
  background: linear-gradient(135deg, #fce7f3 0%, #c4b5fd 40%, #a78bfa 100%);
  position: relative;
  overflow: hidden;
}

.dc-profile-banner::before,
.dc-profile-banner::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
}

.dc-profile-banner::before {
  width: 80px;
  height: 80px;
  background: rgba(236, 72, 153, .6);
  top: -20px;
  left: -10px;
}

.dc-profile-banner::after {
  width: 100px;
  height: 100px;
  background: rgba(16, 185, 129, .4);
  bottom: -30px;
  right: -10px;
}

.dc-profile-blob {
  position: absolute;
  width: 60px;
  height: 60px;
  background: #fbbf24;
  border-radius: 50%;
  top: 20px;
  right: 30%;
  filter: blur(4px);
}

.dc-profile-inner {
  padding: 0 20px 20px;
  margin-top: -32px;
  position: relative;
}

.dc-profile-av {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c084fc, #f472b6);
  border: 3px solid var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  box-shadow: 0 8px 20px rgba(140, 82, 255, .25);
  margin-bottom: 10px;
}

.dc-profile-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.2px;
}

.dc-profile-role {
  font-family: var(--font-display);
  font-size: 11.5px;
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: 14px;
}

.dc-profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.dc-profile-stats .ps-item {
  text-align: center;
}

.dc-profile-stats .ps-num {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -.3px;
}

.dc-profile-stats .ps-lbl {
  font-family: var(--font-display);
  font-size: 10px;
  color: var(--text-light);
  font-weight: 500;
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: .3px;
}

.dc-profile-btn {
  width: 100%;
  background: var(--primary);
  color: var(--white);
  padding: 10px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
}

.dc-profile-btn:hover {
  background: var(--primary-dark);
}

/* AI Assistant */
.dc-ai {
  padding: 0;
  background: var(--white);
  border: 1px solid rgba(140, 82, 255, .25);
  box-shadow: 0 1px 2px rgba(15, 15, 30, .04), 0 20px 50px -15px rgba(140, 82, 255, .22), 0 0 0 1px rgba(140, 82, 255, .15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.dc-ai-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: linear-gradient(135deg, var(--primary) 0%, #a78bfa 50%, #ec4899 100%);
  color: var(--white);
}

.dc-ai-top-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
}

.dc-ai-top-label svg {
  width: 14px;
  height: 14px;
}

.dc-ai-top-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  background: rgba(255, 255, 255, .18);
  padding: 4px 10px;
  border-radius: 100px;
  backdrop-filter: blur(8px);
}

.dc-ai-top-status .live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--white);
  animation: pulse 2s ease-in-out infinite;
}

.dc-ai-body {
  padding: 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dc-ai-input {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: #faf9ff;
  border-radius: 14px;
  border: 1.5px solid var(--border);
}

.dc-ai-input-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), #ec4899);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(140, 82, 255, .3);
}

.dc-ai-input-icon svg {
  width: 16px;
  height: 16px;
}

.dc-ai-input-text {
  flex: 1;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  min-width: 0;
  display: flex;
  align-items: center;
}

.dc-ai-input-cursor {
  width: 2px;
  height: 18px;
  background: var(--primary);
  animation: blink 1s ease-in-out infinite;
  flex-shrink: 0;
  margin-left: 2px;
}

@keyframes blink {
  0%, 50%   { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.dc-ai-send-sm {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.dc-ai-send-sm svg {
  width: 14px;
  height: 14px;
}

.dc-ai-suggestions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dc-ai-sugg-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 2px;
}

.dc-ai-sugg-label svg {
  width: 11px;
  height: 11px;
  color: var(--primary);
}

.dc-ai-sugg {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: all .2s;
  cursor: default;
}

.dc-ai-sugg:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  transform: translateX(2px);
}

.dc-ai-sugg-icon {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dc-ai-sugg-icon svg {
  width: 13px;
  height: 13px;
}

.dc-ai-sugg-text {
  flex: 1;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.1px;
}

.dc-ai-sugg-arrow {
  color: var(--text-xlight);
}

.dc-ai-sugg-arrow svg {
  width: 12px;
  height: 12px;
}

/* Story / survey card */
.dc-story {
  padding: 0;
  overflow: hidden;
}

.dc-story-img {
  height: 140px;
  background: linear-gradient(135deg, #e0e7ff 0%, #fef3c7 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dc-story-img.survey-img {
  background: linear-gradient(135deg, #dbeafe 0%, #e9d5ff 100%);
}

.dc-story-img.survey-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 140'%3E%3Crect width='200' height='140' fill='%23ede9fe'/%3E%3Cg opacity='.7'%3E%3Crect x='40' y='100' width='20' height='20' rx='3' fill='%238b5cf6'/%3E%3Crect x='70' y='80' width='20' height='40' rx='3' fill='%23a78bfa'/%3E%3Crect x='100' y='60' width='20' height='60' rx='3' fill='%23c4b5fd'/%3E%3Crect x='130' y='40' width='20' height='80' rx='3' fill='%23ddd6fe'/%3E%3C/g%3E%3Ccircle cx='160' cy='35' r='12' fill='%23fbbf24' opacity='.7'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

.dc-story-img .icon-lg {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .4);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  position: relative;
  z-index: 1;
}

.dc-story-img .icon-lg svg {
  width: 32px;
  height: 32px;
  stroke-width: 1.6;
}

.dc-story-body {
  padding: 18px;
}

.dc-story-label {
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 8px;
}

.dc-story-title {
  font-family: var(--font-editorial);
  font-size: 17px;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.25;
  letter-spacing: -.4px;
  margin-bottom: 10px;
}

.dc-story-date {
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--text-xlight);
  font-weight: 500;
  margin-bottom: 14px;
}

.dc-story-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--bg);
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-light);
}

.dc-story-tag svg {
  width: 12px;
  height: 12px;
}

.dc-story-dots {
  display: flex;
  justify-content: center;
  gap: 5px;
  padding: 12px;
}

.dc-story-dots .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--border);
}

.dc-story-dots .dot.on {
  background: var(--primary);
  width: 16px;
  border-radius: 3px;
}

/* Policy card */
.dc-policy {
  padding: 22px;
}

.dc-policy-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.dc-policy-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d97706;
}

.dc-policy-icon svg {
  width: 20px;
  height: 20px;
}

.dc-policy-badge {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  color: var(--coral);
  background: var(--coral-light);
  padding: 4px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: .8px;
}

.dc-policy-title {
  font-family: var(--font-editorial);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.4px;
  line-height: 1.25;
  margin-bottom: 4px;
}

.dc-policy-sub {
  font-family: var(--font-display);
  font-size: 12.5px;
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: 14px;
}

.dc-policy-due {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--coral-light);
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--coral);
  margin-bottom: 16px;
}

.dc-policy-due::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
}

.dc-policy-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--bg);
  border-radius: 10px;
  margin-bottom: 14px;
  cursor: default;
}

.dc-policy-check {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(16, 185, 129, .3);
}

.dc-policy-check svg {
  width: 12px;
  height: 12px;
}

.dc-policy-checkbox span {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.dc-policy-btn {
  width: 100%;
  padding: 11px;
  background: var(--ink);
  color: var(--white);
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background .2s;
  min-height: 44px;
}

.dc-policy-btn:hover {
  background: var(--primary);
}

/* Performance card */
.dc-perf {
  padding: 22px;
}

.dc-perf-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 8px;
}

.dc-perf-label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.dc-perf-title {
  font-family: var(--font-editorial);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.4px;
  margin-bottom: 2px;
}

.dc-perf-date {
  font-family: var(--font-display);
  font-size: 11.5px;
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: 16px;
}

.dc-perf-goals {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dc-perf-goal .dpg-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.dpg-name {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}

.dpg-status {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: .3px;
}

.dpg-status.on-track {
  color: var(--accent);
  background: var(--accent-light);
}

.dpg-status.in-prog {
  color: var(--primary);
  background: var(--primary-light);
}

.dpg-bar {
  height: 5px;
  border-radius: 3px;
  background: var(--border);
  overflow: hidden;
}

.dpg-bar-fill {
  height: 100%;
  border-radius: 3px;
}

/* My Company Apps (launcher) */
.dc-launcher {
  padding: 24px;
  background: linear-gradient(135deg, #c4b5fd 0%, #a78bfa 50%, #8b5cf6 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.7 / 1;
  display: flex;
  align-items: center;
}

.dc-launcher::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, .2) 0%, transparent 50%);
}

.dc-launcher h3 {
  font-family: var(--font-editorial);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -1px;
  color: var(--white);
  position: relative;
  z-index: 1;
}

.dc-launcher-icons {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  z-index: 1;
}

.dc-launcher-icons svg {
  width: 72px;
  height: 60px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .15));
}

/* Onboarding card */
.dc-onboarding {
  padding: 0;
  overflow: hidden;
  position: relative;
  min-height: 200px;
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
}

.dc-onboarding::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200'%3E%3Cdefs%3E%3ClinearGradient id='team' x1='0' x2='1' y1='0' y2='1'%3E%3Cstop offset='0' stop-color='%238b5cf6'/%3E%3Cstop offset='.5' stop-color='%23ec4899'/%3E%3Cstop offset='1' stop-color='%23f59e0b'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='400' height='200' fill='%231f2937'/%3E%3Cg opacity='.8'%3E%3Ccircle cx='60' cy='90' r='32' fill='%23fbbf24'/%3E%3Ccircle cx='120' cy='100' r='36' fill='%23f97316'/%3E%3Ccircle cx='180' cy='85' r='30' fill='%23ec4899'/%3E%3Ccircle cx='240' cy='95' r='34' fill='%238b5cf6'/%3E%3Ccircle cx='300' cy='90' r='32' fill='%2310b981'/%3E%3Ccircle cx='360' cy='100' r='36' fill='%230ea5e9'/%3E%3C/g%3E%3Cg fill='%23fff' opacity='.15'%3E%3Ccircle cx='60' cy='90' r='20'/%3E%3Ccircle cx='120' cy='100' r='24'/%3E%3Ccircle cx='180' cy='85' r='18'/%3E%3Ccircle cx='240' cy='95' r='22'/%3E%3Ccircle cx='300' cy='90' r='20'/%3E%3Ccircle cx='360' cy='100' r='24'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  opacity: .9;
}

.dc-onboarding-overlay {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
}

.dc-onboarding-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), #a78bfa);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}

.dc-onboarding-icon svg {
  width: 18px;
  height: 18px;
}

.dc-onboarding-content {
  flex: 1;
  min-width: 0;
}

.dc-onboarding-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.2px;
  margin-bottom: 5px;
}

.dc-onboarding-bar {
  height: 4px;
  border-radius: 2px;
  background: var(--border);
  overflow: hidden;
}

.dc-onboarding-bar-fill {
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), #a78bfa);
  width: 45%;
}

.dc-onboarding-btn {
  padding: 8px 18px;
  background: var(--ink);
  color: var(--white);
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  border: none;
  flex-shrink: 0;
  min-height: 36px;
}

/* My Team card */
.dc-team {
  padding: 18px 20px;
}

.dc-team-title {
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 14px;
}

.dc-team-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dc-team-member {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dc-team-av {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.dc-team-name {
  flex: 1;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -.1px;
}

.dc-team-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dc-team-dot.online  { background: #10b981; }
.dc-team-dot.away    { background: #f59e0b; }
.dc-team-dot.offline { background: #d1d5db; }

/* Chat card */
.dc-chat {
  padding: 20px;
}

.dc-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.dc-chat-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dc-chat-title svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

.dc-chat-title span {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.3px;
}

.dc-chat-count {
  background: var(--primary-light);
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 100px;
}

.dc-chat-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dc-chat-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  cursor: default;
  transition: background .15s;
}

.dc-chat-icon:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.dc-chat-icon svg {
  width: 14px;
  height: 14px;
}

.dc-chat-messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
  min-height: 140px;
}

.dc-msg {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}

.dc-msg.out {
  justify-content: flex-end;
}

.dc-msg-av {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 9.5px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.dc-msg-bubble {
  max-width: 75%;
  padding: 9px 13px;
  border-radius: 16px;
}

.dc-msg.in .dc-msg-bubble {
  background: var(--bg);
  border-bottom-left-radius: 4px;
}

.dc-msg.out .dc-msg-bubble {
  background: var(--primary);
  color: var(--white);
  border-bottom-right-radius: 4px;
}

.dc-msg-name {
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 2px;
}

.dc-msg-text {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.4;
  color: var(--text);
}

.dc-msg.out .dc-msg-text {
  color: var(--white);
}

.dc-chat-input {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg);
  border-radius: 14px;
}

.dc-chat-input > svg {
  width: 16px;
  height: 16px;
  color: var(--text-light);
  flex-shrink: 0;
}

.dc-chat-input span {
  flex: 1;
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--text-xlight);
  font-weight: 500;
}

.dc-chat-send {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #a78bfa);
  color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(140, 82, 255, .25);
}

.dc-chat-send svg {
  width: 14px;
  height: 14px;
}

/* Floating hero badges */
.hero-float {
  display: none;
  position: absolute;
  padding: 10px 18px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 20px 40px -12px rgba(15, 15, 30, .18), 0 0 0 1px rgba(15, 15, 30, .04);
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  z-index: 3;
  animation: floatB 3.5s ease-in-out infinite;
}

.hero-float .hfd {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-float .hfd svg {
  width: 12px;
  height: 12px;
}

.hero-float.hf1 {
  top: -18px;
  right: 64px;
}

.hero-float.hf2 {
  bottom: 48px;
  left: -24px;
  animation-delay: 1.75s;
}

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

/* Hero responsive */
@media (min-width: 480px) {
  .hero-ctas {
    flex-direction: row;
  }

  .hpi-div {
    display: block;
  }

  .hero-proof {
    gap: 24px;
    padding: 16px 32px;
  }
}

@media (min-width: 768px) {
  .hero {
    padding: 120px 32px 80px;
  }
}

@media (min-width: 1100px) {
  .hero {
    padding: 120px 40px 80px;
  }

  .hero-float {
    display: flex;
  }

  .dash-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .dc-profile    { grid-column: 1; grid-row: 1; }
  .dc-ai         { grid-column: 1 / span 2; grid-row: 2; }
  .dc-story      { grid-column: 2; grid-row: 1; }
  .dc-launcher   { grid-column: 1; grid-row: 3; aspect-ratio: auto; min-height: 120px; }
  .dc-onboarding { grid-column: 2; grid-row: 3; }
  .dc-policy     { grid-column: 1; grid-row: 4; }
  .dc-perf       { grid-column: 2; grid-row: 4; }
  .dc-team       { grid-column: 1; grid-row: 5; }
  .dc-chat       { grid-column: 2; grid-row: 5; }
}

@media (min-width: 1280px) {
  .dash-grid {
    grid-template-columns: 300px 1fr 280px;
    grid-template-rows: auto auto auto;
  }

  .dc-profile    { grid-column: 1; grid-row: 1; }
  .dc-ai         { grid-column: 2; grid-row: 1; }
  .dc-story      { grid-column: 3; grid-row: 1; }
  .dc-launcher   { grid-column: 1; grid-row: 2; aspect-ratio: 1.7 / 1; min-height: 0; }
  .dc-onboarding { grid-column: 2; grid-row: 2; }
  .dc-policy     { grid-column: 3; grid-row: 2; }
  .dc-team       { grid-column: 1; grid-row: 3; }
  .dc-chat       { grid-column: 2; grid-row: 3; }
  .dc-perf       { grid-column: 3; grid-row: 3; }
}


/* --- Home: Expertise intro --- */
.expertise {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.expertise-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.expertise-inner p {
  font-family: var(--font-editorial);
  font-size: clamp(18px, 2vw, 24px);
  color: var(--ink);
  line-height: 1.55;
  font-weight: 400;
}

.expertise-inner strong {
  font-weight: 600;
  color: var(--primary);
  font-style: italic;
}


/* --- Home: Step cards --- */
.steps {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all .3s;
}

.step-card:hover {
  border-color: var(--primary);
  box-shadow: 0 12px 40px rgba(140, 82, 255, .08);
  transform: translateY(-2px);
}

.step-num {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: .85;
  min-width: 70px;
  letter-spacing: -2px;
}

.step-c h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: -.5px;
}

.step-c .step-sub {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: .8px;
}

.step-c p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.65;
  max-width: 540px;
}

.step-link {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap .2s;
  white-space: nowrap;
  min-height: 44px;
}

.step-link:hover {
  gap: 10px;
}

.step-link svg {
  width: 14px;
  height: 14px;
}

@media (min-width: 1100px) {
  .step-card {
    grid-template-columns: auto 1fr auto;
    gap: 32px;
    align-items: center;
    padding: 40px 44px;
  }

  .step-num {
    font-size: 60px;
  }
}


/* --- Home: Product showcase --- */
.product {
  max-width: 1200px;
  margin: 0 auto 72px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  transition: all .35s;
}

.product:last-child {
  margin-bottom: 0;
}

.product:hover {
  border-color: rgba(140, 82, 255, .4);
  box-shadow: 0 24px 72px -20px rgba(140, 82, 255, .12);
}

.p-text {
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.p-text .overline {
  margin-bottom: 10px;
}

.p-text h3 {
  font-family: var(--font-editorial);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -.5px;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 14px;
}

.p-text > p {
  font-size: 15.5px;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 24px;
}

.hl {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.hl li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.5;
  font-weight: 500;
}

.ck {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 7px;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.ck svg {
  width: 12px;
  height: 12px;
  stroke-width: 2.5;
}

.p-link {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .2s;
  min-height: 44px;
}

.p-link:hover {
  gap: 10px;
}

.p-link svg {
  width: 14px;
  height: 14px;
}

.p-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 44px 32px;
}

.pv-p  { background: linear-gradient(135deg, #f3edff 0%, #e4d8ff 100%); }
.pv-g  { background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%); }
.pv-c  { background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%); }
.pv-s  { background: linear-gradient(135deg, #f0f9ff 0%, #bae6fd 100%); }
.pv-w  { background: linear-gradient(135deg, #faf9f7 0%, #f3f1ee 100%); }
.pv-pd { background: linear-gradient(135deg, #e4d8ff 0%, #c4b5fd 100%); }

@media (min-width: 1100px) {
  .product {
    grid-template-columns: 1fr 1.2fr;
  }

  .product.rev { direction: rtl; }
  .product.rev > * { direction: ltr; }

  .p-text {
    padding: 52px 48px;
  }
}

/* UI frame inside product visuals */
.ui {
  width: 100%;
  max-width: 500px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 24px 64px -16px rgba(15, 15, 30, .2), 0 0 0 1px rgba(15, 15, 30, .06);
  overflow: hidden;
}

.ui-chr {
  height: 36px;
  background: linear-gradient(180deg, #fafafa, #f2f2f2);
  border-bottom: 1px solid rgba(15, 15, 30, .06);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 6px;
}

.ui-chr .cdx {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.ui-chr .cdx.r { background: #ff5f57; }
.ui-chr .cdx.y { background: #febc2e; }
.ui-chr .cdx.g { background: #28c840; }

.ui-chr .url {
  margin-left: 10px;
  font-family: var(--font-display);
  font-size: 10.5px;
  color: var(--text-xlight);
  background: var(--white);
  padding: 4px 14px;
  border-radius: 7px;
  border: 1px solid rgba(15, 15, 30, .06);
  font-weight: 500;
  flex: 1;
  max-width: 220px;
}

.ui-b {
  padding: 24px;
}

/* Phone frame inside product visuals */
.ph {
  width: 280px;
  background: #0a0a0a;
  border-radius: 40px;
  padding: 10px;
  box-shadow: 0 30px 70px -18px rgba(15, 15, 30, .35);
}

.ph-in {
  background: var(--white);
  border-radius: 30px;
  overflow: hidden;
  position: relative;
}

.ph-notch {
  width: 100px;
  height: 26px;
  background: #0a0a0a;
  border-radius: 0 0 18px 18px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.ph-scr {
  padding: 20px 18px;
  min-height: 420px;
}

.ph-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.ph-hdr .pht {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ph-hdr .pht svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

.ph-hdr .pha {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), #a78bfa);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--white);
}

/* Shared micro-components inside visuals */
.card {
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  margin-bottom: 10px;
  transition: all .25s;
}

.card:last-child {
  margin-bottom: 0;
}

.card:hover {
  border-color: rgba(140, 82, 255, .3);
}

.card.ac { background: var(--primary-light); border-color: transparent; }
.card.gc { background: var(--accent-light); border-color: transparent; }
.card.cc { background: var(--coral-light); border-color: transparent; }

.card-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-icon svg {
  width: 15px;
  height: 15px;
}

.card-f {
  flex: 1;
  min-width: 0;
}

.card-t {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-s {
  font-family: var(--font-display);
  font-size: 10.5px;
  color: var(--text-xlight);
  font-weight: 500;
  margin-top: 1px;
}

.card-badge {
  font-family: var(--font-display);
  font-size: 9.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: .5px;
  white-space: nowrap;
}

.card-body {
  font-family: var(--font-body);
  font-size: 12.5px;
  color: var(--text-light);
  line-height: 1.55;
  margin-top: 8px;
}

.bar {
  height: 5px;
  border-radius: 3px;
  background: var(--border-soft);
  overflow: hidden;
  margin-top: 8px;
}

.bar-fill {
  height: 100%;
  border-radius: 3px;
}

.mini-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  border-radius: 8px;
  border: none;
  letter-spacing: -.1px;
}

.mini-btn svg {
  width: 11px;
  height: 11px;
  stroke-width: 2.5;
}

.pill {
  font-family: var(--font-display);
  font-size: 11px;
  background: var(--white);
  padding: 6px 12px;
  border-radius: 8px;
  color: var(--text);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 1px 3px rgba(15, 15, 30, .04);
  border: 1px solid var(--border);
}

.pill svg {
  width: 11px;
  height: 11px;
  color: var(--primary);
}

.bubble {
  padding: 11px 15px;
  border-radius: 18px;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.5;
  max-width: 85%;
  margin-bottom: 6px;
}

.bubble.in {
  background: var(--bg);
  color: var(--text);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}

.bubble.out {
  background: var(--primary);
  color: var(--white);
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}

.bubble .bn {
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 3px;
}

.chat-time {
  font-family: var(--font-display);
  font-size: 10px;
  color: var(--text-xlight);
  text-align: center;
  margin-bottom: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .8px;
}

.chat-input {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 11px 16px;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid var(--border-l, var(--border));
  font-family: var(--font-body);
  font-size: 12.5px;
  color: var(--text-xlight);
}

.chat-input svg {
  width: 14px;
  height: 14px;
  color: var(--text-xlight);
}

.kpi-banner {
  background: linear-gradient(135deg, var(--primary), #a78bfa 60%, #c4b5fd);
  border-radius: 14px;
  padding: 18px 20px;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}

.kpi-banner::after {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, .08);
  border-radius: 50%;
}

.kpi-banner-lbl {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  opacity: .85;
  margin-bottom: 4px;
}

.kpi-banner h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -.3px;
  margin-bottom: 2px;
}

.kpi-banner-sub {
  font-family: var(--font-body);
  font-size: 11.5px;
  opacity: .85;
}


/* --- Home: Stats section --- */
.stats-section {
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(140, 82, 255, .15) 0%, transparent 70%);
}

.stats-section::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(140, 82, 255, .08) 0%, transparent 70%);
}

.stats-section .sec-center {
  position: relative;
  z-index: 1;
  margin-bottom: 56px;
}

.stats-section .overline { color: #c4b5fd; }
.stats-section h2        { color: var(--white); }
.stats-section .sec-desc { color: rgba(255, 255, 255, .75); }

.stats-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .04);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .08);
  transition: all .3s;
}

.stat-item:hover {
  background: rgba(140, 82, 255, .1);
  border-color: rgba(140, 82, 255, .3);
  transform: translateY(-3px);
}

.stat-num {
  font-family: var(--font-editorial);
  font-size: 52px;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -2px;
  background: linear-gradient(135deg, #fff, #c4b5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-family: var(--font-display);
  font-size: 14px;
  color: rgba(255, 255, 255, .7);
  line-height: 1.5;
  font-weight: 500;
}

@media (min-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1100px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }
}


/* --- Home: Testimonials --- */
.test-bg {
  background: var(--ink);
  border-top: none;
  position: relative;
  overflow: hidden;
}

.test-bg::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(140, 82, 255, .12) 0%, transparent 70%);
  pointer-events: none;
}

.test-bg .sec-center .overline {
  color: rgba(255, 255, 255, .5);
}

.test-bg .sec-center h2 {
  color: #ffffff;
}

.test-bg .sec-center .sec-desc {
  color: rgba(255, 255, 255, .55);
}

.test-row {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 560px;
}

.tc {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  transition: all .3s;
}

.tc:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(140, 82, 255, .3);
  box-shadow: 0 12px 36px rgba(0, 0, 0, .2);
}

.tc-stars {
  color: var(--amber);
  font-size: 15px;
  margin-bottom: 18px;
  letter-spacing: 2px;
}

.tc-q {
  font-family: var(--font-editorial);
  font-size: 18px;
  color: rgba(255, 255, 255, .9);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 24px;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -.2px;
}

.tc-a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.tc-av {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  flex-shrink: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
}

.tc-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: #ffffff;
  letter-spacing: -.3px;
  line-height: 1.3;
}

.tc-role {
  font-family: var(--font-display);
  font-size: 13.5px;
  color: rgba(255, 255, 255, .6);
  font-weight: 500;
  margin-top: 2px;
}

@media (min-width: 1100px) {
  .test-row {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1200px;
  }
}


/* --- Home: Why Prosper --- */
.why-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 600px;
}

.why-card {
  padding: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: var(--white);
  transition: all .3s;
}

.why-card:hover {
  border-color: var(--primary);
  box-shadow: 0 12px 36px rgba(140, 82, 255, .06);
}

.why-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}

.why-icon svg {
  width: 26px;
  height: 26px;
  stroke-width: 1.8;
}

.why-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -.3px;
}

.why-card p {
  font-size: 14.5px;
  color: var(--text-light);
  line-height: 1.65;
}

@media (min-width: 1100px) {
  .why-grid {
    grid-template-columns: 1fr 1fr;
    max-width: 1200px;
  }
}


/* --- Home: Dual CTA --- */
.dual-cta {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.dc {
  padding: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  position: relative;
  overflow: hidden;
  transition: all .3s;
}

.dc:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(140, 82, 255, .08);
  border-color: var(--primary);
}

.dc-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.dc-icon.p {
  background: var(--primary-light);
  color: var(--primary);
}

.dc-icon.g {
  background: var(--accent-light);
  color: var(--accent);
}

.dc-icon svg {
  width: 22px;
  height: 22px;
}

.dc h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -.4px;
}

.dc > p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 24px;
}

@media (min-width: 1100px) {
  .dual-cta {
    grid-template-columns: 1fr 1fr;
  }
}


/* --- ROI Calculator (/roi-calculator/index.html) ------------- */

.roi-hero {
  padding: 140px 24px 80px;
  background: linear-gradient(180deg, #fff 0%, #faf9ff 50%, #f3edff 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.roi-hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(140, 82, 255, .12) 0%, transparent 65%);
  pointer-events: none;
}

.roi-hero h1 {
  font-size: clamp(32px, 4.5vw, 54px);
  letter-spacing: -1.8px;
  margin-bottom: 16px;
}

.roi-hero .sub {
  font-size: 18px;
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto 12px;
  line-height: 1.6;
}

.roi-hero .source {
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--text-xlight);
  font-weight: 500;
}

.roi-hero .source a {
  color: var(--primary);
  text-decoration: underline;
}

/* Calculator layout */
.calc-wrap {
  max-width: 1200px;
  margin: -40px auto 0;
  padding: 0 24px 100px;
  position: relative;
  z-index: 2;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

/* Input panel */
.calc-inputs {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px 24px;
  box-shadow: 0 20px 60px -20px rgba(15, 15, 30, .1), 0 0 0 1px rgba(15, 15, 30, .04);
}

.ci-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.4px;
  margin-bottom: 6px;
}

.ci-sub {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: 32px;
}

.field {
  margin-bottom: 28px;
}

.field:last-child {
  margin-bottom: 0;
}

.field-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.field-label span {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.1px;
}

.field-val {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 12px;
  border-radius: 8px;
  min-width: 64px;
  text-align: center;
}

.field-hint {
  font-family: var(--font-display);
  font-size: 11.5px;
  color: var(--text-xlight);
  font-weight: 500;
  margin-top: 8px;
  line-height: 1.4;
}

/* Range slider */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--border);
  outline: none;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 2px 8px rgba(140, 82, 255, .35);
  cursor: pointer;
  border: 3px solid var(--white);
  transition: transform .15s;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 2px 8px rgba(140, 82, 255, .35);
  cursor: pointer;
  border: 3px solid var(--white);
}

.range-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 11px;
  color: var(--text-xlight);
  margin-top: 6px;
  font-weight: 500;
}

/* Select */
.field-select {
  width: 100%;
  padding: 14px 44px 14px 16px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 14px center;
  background-size: 16px;
  appearance: none;
  cursor: pointer;
  min-height: 48px;
  transition: border-color .2s;
}

.field-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(140, 82, 255, .08);
}

.ci-divider {
  height: 1px;
  background: var(--border);
  margin: 32px 0;
}

/* Results panel */
.calc-results {
  align-self: start;
}

.cr-card {
  background: var(--ink);
  border-radius: 24px;
  padding: 28px 24px;
  color: var(--white);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px -20px rgba(15, 15, 30, .3);
}

.cr-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(140, 82, 255, .2) 0%, transparent 70%);
}

.cr-card::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -60px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(16, 185, 129, .1) 0%, transparent 70%);
}

.cr-title {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.cr-hero-num {
  font-family: var(--font-editorial);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -2px;
  background: linear-gradient(135deg, #fff, #c4b5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
}

.cr-hero-label {
  font-family: var(--font-display);
  font-size: 15px;
  color: rgba(255, 255, 255, .7);
  font-weight: 500;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.cr-metrics {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 1;
  margin-bottom: 32px;
}

.cr-metric {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, .06);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .08);
  transition: background .2s;
}

.cr-metric:hover {
  background: rgba(140, 82, 255, .1);
}

.cr-metric-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cr-metric-icon svg {
  width: 18px;
  height: 18px;
}

.cr-metric-body {
  flex: 1;
  min-width: 0;
}

.cr-metric-val {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.4px;
  line-height: 1.2;
}

.cr-metric-label {
  font-family: var(--font-display);
  font-size: 12.5px;
  color: rgba(255, 255, 255, .5);
  font-weight: 500;
  margin-top: 2px;
}

/* ROI badge */
.cr-roi {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(140, 82, 255, .15), rgba(16, 185, 129, .1));
  border-radius: 16px;
  border: 1px solid rgba(140, 82, 255, .2);
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.cr-roi-num {
  font-family: var(--font-editorial);
  font-size: 36px;
  font-weight: 600;
  color: var(--white);
  line-height: 1;
  letter-spacing: -1px;
}

.cr-roi-text {
  flex: 1;
}

.cr-roi-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
}

.cr-roi-sub {
  font-family: var(--font-display);
  font-size: 12px;
  color: rgba(255, 255, 255, .6);
  font-weight: 500;
  margin-top: 2px;
}

/* CTA */
.cr-cta {
  position: relative;
  z-index: 1;
}

.cr-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  transition: all .2s;
  min-height: 52px;
}

.cr-cta a:hover {
  background: var(--primary-light);
  color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(140, 82, 255, .2);
}

.cr-cta a svg {
  width: 16px;
  height: 16px;
}

.cr-cta-sub {
  text-align: center;
  font-family: var(--font-display);
  font-size: 12px;
  color: rgba(255, 255, 255, .4);
  margin-top: 10px;
  font-weight: 500;
}

/* Methodology */
.method {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 24px 60px;
}

.method-title {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--text-light);
  margin-bottom: 20px;
  text-align: center;
}

.method-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.method-card {
  padding: 20px;
  background: var(--bg);
  border-radius: 14px;
  border: 1px solid var(--border);
}

.method-card .mc-val {
  font-family: var(--font-editorial);
  font-size: 24px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: -.5px;
  margin-bottom: 4px;
}

.method-card .mc-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.method-card .mc-source {
  font-family: var(--font-display);
  font-size: 11px;
  color: var(--text-xlight);
  font-weight: 500;
  line-height: 1.4;
}

@media (min-width: 600px) {
  .method-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .calc-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .calc-inputs {
    padding: 36px;
  }

  .cr-card {
    padding: 36px;
  }

  .calc-results {
    position: sticky;
    top: 96px;
  }

  .method-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1100px) {
  .calc-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
  }
}

/* Dashboard card colour modifiers */
.dc-ai-sugg-icon--primary { background: var(--primary-light); color: var(--primary); }
.dc-ai-sugg-icon--accent  { background: var(--accent-light); color: var(--accent); }

.dc-story-tag--primary { background: var(--primary-light); color: var(--primary); }

.dc-team-av--pink   { background: linear-gradient(135deg, #f472b6, #ec4899); }
.dc-team-av--blue   { background: linear-gradient(135deg, #60a5fa, #3b82f6); }
.dc-team-av--amber  { background: linear-gradient(135deg, #fbbf24, #f59e0b); }
.dc-team-av--purple { background: linear-gradient(135deg, #a78bfa, #8b5cf6); }
.dc-team-av--green  { background: linear-gradient(135deg, #34d399, #10b981); }
.dc-team-av--orange { background: linear-gradient(135deg, #fb923c, #f97316); }

.dc-team-member--faded  { opacity: .7; }
.dc-team-member--faded2 { opacity: .55; }

.dc-msg-av--pink  { background: linear-gradient(135deg, #f472b6, #ec4899); }
.dc-msg-av--green { background: linear-gradient(135deg, #34d399, #10b981); }

.dpg-bar-fill--accent  { width: 75%; background: linear-gradient(90deg, var(--accent), #34d399); }
.dpg-bar-fill--primary { width: 50%; background: linear-gradient(90deg, var(--primary), #a78bfa); }

.dc-profile-btn svg,
.icon--inline-sm { width: 14px; height: 14px; }

.logo-harmony { max-height: 56px; }

/* Results metric icon modifiers */
.cr-metric-icon--accent { background: rgba(16, 185, 129, .15); color: #10b981; }
.cr-metric-icon--primary { background: rgba(140, 82, 255, .15); color: #8c52ff; }
.cr-metric-icon--coral { background: rgba(249, 115, 22, .15); color: #f97316; }

/* Product showcase mockup components */
.kpi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.kpi-tile { border-radius: 12px; padding: 14px; text-align: center; }
.kpi-tile--primary { background: var(--primary-light); }
.kpi-tile--accent  { background: var(--accent-light); }
.kpi-tile-label { font-family: var(--font-display); font-size: 10px; font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: .8px; margin-bottom: 6px; }
.kpi-tile-num { font-family: var(--font-editorial); font-size: 30px; font-weight: 600; line-height: 1; letter-spacing: -1px; }
.kpi-tile-num--primary { color: var(--primary); }
.kpi-tile-num--accent  { color: var(--accent); }
.kpi-tile-delta { font-family: var(--font-display); font-size: 10px; color: var(--accent); font-weight: 700; margin-top: 4px; }
.pillar-heading { font-family: var(--font-display); font-size: 10px; font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.pillar-row { margin-bottom: 10px; }
.pillar-row:last-child { margin-bottom: 0; }
.pillar-top { display: flex; justify-content: space-between; font-family: var(--font-display); font-size: 12px; margin-bottom: 5px; font-weight: 600; }
.pillar-name { color: var(--text); }
.pillar-val { color: var(--ink); font-weight: 700; }

.bar-fill--87-primary { width: 87%; background: linear-gradient(90deg, var(--primary), #a78bfa); }
.bar-fill--81-coral   { width: 81%; background: linear-gradient(90deg, var(--coral), #fb923c); }
.bar-fill--74-sky     { width: 74%; background: linear-gradient(90deg, var(--sky), #38bdf8); }
.bar-fill--69-accent  { width: 69%; background: linear-gradient(90deg, var(--accent), #34d399); }

/* Hub mockup header */
.hub-header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.hub-logo { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--primary), #a78bfa); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 16px; font-weight: 800; color: var(--white); box-shadow: 0 4px 12px rgba(140, 82, 255, .25); }
.hub-title { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--ink); letter-spacing: -.3px; }
.hub-sub { font-family: var(--font-display); font-size: 11px; color: var(--text-light); font-weight: 500; }

.card-icon--primary { background: var(--primary-light); color: var(--primary); }
.card-icon--coral   { background: var(--coral-light); color: var(--coral); }
.card-badge--accent { background: var(--accent-light); color: var(--accent); }
.card-badge--coral  { background: var(--coral-light); color: var(--coral); }

.ql-heading { font-family: var(--font-display); font-size: 11px; font-weight: 700; color: var(--primary); margin-bottom: 10px; text-transform: uppercase; letter-spacing: .8px; }
.ql-wrap { display: flex; gap: 7px; flex-wrap: wrap; }

/* Testimonial avatar gradients */
.tc-av--1 { background: linear-gradient(135deg, var(--primary), var(--sky)); }
.tc-av--2 { background: linear-gradient(135deg, var(--accent), var(--sky)); }
.tc-av--3 { background: linear-gradient(135deg, var(--amber), var(--coral)); }

/* Section padding override */
.sec-pb-100 { padding-bottom: 100px; }


/* --- Demo / Book a Chat (/demo/index.html) ------------------- */

.demo-section {
  padding: 140px 24px 100px;
  background: linear-gradient(180deg, #fff 0%, #faf9ff 40%, #f3edff 100%);
  position: relative;
  overflow: hidden;
}

.demo-section::before {
  content: '';
  position: absolute;
  top: -160px;
  right: -240px;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(140, 82, 255, .14) 0%, transparent 65%);
  pointer-events: none;
}

.demo-section::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(236, 72, 153, .08) 0%, transparent 70%);
  pointer-events: none;
}

.demo-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
  position: relative;
  z-index: 1;
}

/* Left: value prop */
.demo-value {
  max-width: 520px;
}

.demo-value .overline {
  margin-bottom: 16px;
}

.demo-value h1 {
  margin-bottom: 16px;
}

.demo-value > p {
  font-size: 17px;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 40px;
}

/* Stats as vibrant gradient cards */
.demo-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 36px;
}

.demo-stat {
  text-align: center;
  padding: 24px 14px;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
}

.demo-stat::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, .15);
  border-radius: 50%;
}

.demo-stat--purple {
  background: linear-gradient(135deg, var(--primary), #a78bfa);
  color: var(--white);
}

.demo-stat--green {
  background: linear-gradient(135deg, #059669, var(--accent));
  color: var(--white);
}

.demo-stat--dark {
  background: linear-gradient(135deg, var(--ink), #1e1b4b);
  color: var(--white);
}

.demo-stat-num {
  font-family: var(--font-editorial);
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -1px;
  margin-bottom: 6px;
  color: inherit;
}

.demo-stat-label {
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.3;
  opacity: .85;
}

/* Testimonial */
.demo-trust {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border-radius: 18px;
  margin-bottom: 32px;
  border: 1px solid rgba(140, 82, 255, .15);
  box-shadow: 0 8px 30px -10px rgba(140, 82, 255, .12);
  position: relative;
}

.demo-trust::before {
  content: '"';
  position: absolute;
  top: 12px;
  right: 20px;
  font-family: var(--font-editorial);
  font-size: 64px;
  line-height: 1;
  color: var(--primary-light);
  pointer-events: none;
}

.demo-trust-av {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.demo-trust-av--1 {
  background: linear-gradient(135deg, var(--primary), var(--sky));
  box-shadow: 0 4px 12px rgba(140, 82, 255, .3);
}

.demo-trust-body {
  flex: 1;
  min-width: 0;
}

.demo-trust-quote {
  font-family: var(--font-editorial);
  font-size: 15px;
  font-style: italic;
  color: var(--ink);
  line-height: 1.5;
  letter-spacing: -.2px;
  margin-bottom: 8px;
}

.demo-trust-who {
  font-family: var(--font-display);
  font-size: 12.5px;
  color: var(--text-light);
  font-weight: 600;
}

/* Checklist */
.demo-checklist {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.demo-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color .2s, box-shadow .2s;
}

.demo-checklist li:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(140, 82, 255, .06);
}

.demo-check-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(16, 185, 129, .3);
}

.demo-check-icon svg {
  width: 13px;
  height: 13px;
  stroke-width: 2.5;
}

/* Floating badge */
.demo-float {
  display: none;
  position: absolute;
  padding: 10px 18px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 20px 40px -12px rgba(15, 15, 30, .18), 0 0 0 1px rgba(15, 15, 30, .04);
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  z-index: 3;
  animation: floatB 3.5s ease-in-out infinite;
}

.demo-float .df-icon {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--accent-light);
  color: var(--accent);
}

.demo-float .df-icon svg {
  width: 12px;
  height: 12px;
}

/* Right: form */
.demo-form-wrap {
  background: var(--white);
  border: 1px solid rgba(140, 82, 255, .2);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 20px 60px -20px rgba(140, 82, 255, .15), 0 0 0 1px rgba(140, 82, 255, .08);
  position: relative;
}

.demo-form-wrap::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 40px;
  right: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #a78bfa, #ec4899);
  border-radius: 0 0 3px 3px;
}

.demo-form-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.4px;
  margin-bottom: 6px;
}

.demo-form-sub {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: 28px;
}

.demo-form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.demo-form-row--2 {
  grid-template-columns: 1fr;
}

.demo-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.demo-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.demo-label .req {
  color: var(--coral);
  margin-left: 2px;
}

.demo-input,
.demo-select,
.demo-textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  min-height: 48px;
}

.demo-input:focus,
.demo-select:focus,
.demo-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(140, 82, 255, .08);
}

.demo-input::placeholder,
.demo-textarea::placeholder {
  color: var(--text-xlight);
}

.demo-select {
  appearance: none;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 14px center;
  background-size: 16px;
  padding-right: 44px;
  cursor: pointer;
}

.demo-textarea {
  min-height: 100px;
  resize: vertical;
}

.demo-submit {
  width: 100%;
  padding: 16px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all .2s;
  min-height: 52px;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.demo-submit:hover {
  background: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(140, 82, 255, .3);
}

.demo-submit svg {
  width: 18px;
  height: 18px;
}

.demo-privacy {
  text-align: center;
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--text-xlight);
  margin-top: 16px;
  font-weight: 500;
}

.demo-privacy a {
  color: var(--primary);
  text-decoration: underline;
}

@media (min-width: 480px) {
  .demo-checklist {
    grid-template-columns: 1fr 1fr;
  }

  .demo-form-row--2 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) {
  .demo-section {
    padding: 140px 32px 100px;
  }

  .demo-form-wrap {
    padding: 40px;
  }
}

@media (min-width: 1100px) {
  .demo-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
  }

  .demo-section {
    padding: 140px 48px 120px;
  }

  .demo-form-wrap {
    position: sticky;
    top: 96px;
  }

  .demo-float {
    display: flex;
  }
}

/* Demo: video alt CTA */
.demo-alt {
  padding: 0 24px 100px;
}

.demo-alt-inner {
  max-width: 860px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 24px;
  padding: 40px 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px -20px rgba(15, 15, 30, .3);
}

.demo-alt-inner::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(140, 82, 255, .2) 0%, transparent 70%);
  pointer-events: none;
}

.demo-alt-inner::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -60px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(236, 72, 153, .1) 0%, transparent 70%);
  pointer-events: none;
}

.demo-alt-content {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.demo-alt-play {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #ec4899);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(140, 82, 255, .4);
  animation: pulseGlow 2.5s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 8px 24px rgba(140, 82, 255, .4); }
  50%      { box-shadow: 0 8px 36px rgba(236, 72, 153, .5); }
}

.demo-alt-play svg {
  width: 22px;
  height: 22px;
  color: var(--white);
  margin-left: 2px;
}

.demo-alt-text {
  flex: 1;
  min-width: 0;
}

.demo-alt-text h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -.4px;
  line-height: 1.3;
  margin-bottom: 8px;
}

.demo-alt-text p {
  font-family: var(--font-display);
  font-size: 14px;
  color: rgba(255, 255, 255, .6);
  font-weight: 500;
  line-height: 1.55;
}

.demo-alt-form {
  position: relative;
  z-index: 1;
}

.demo-alt-input-wrap {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.demo-alt-input {
  flex: 1;
  min-width: 220px;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--white);
  background: rgba(255, 255, 255, .08);
  border: 1.5px solid rgba(255, 255, 255, .15);
  border-radius: 12px;
  min-height: 52px;
  transition: border-color .2s, box-shadow .2s;
}

.demo-alt-input::placeholder {
  color: rgba(255, 255, 255, .35);
}

.demo-alt-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(140, 82, 255, .2);
  background: rgba(255, 255, 255, .12);
}

.demo-alt-btn {
  padding: 14px 28px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all .2s;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.demo-alt-btn:hover {
  background: var(--primary-light);
  color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(140, 82, 255, .2);
}

.demo-alt-btn svg {
  width: 16px;
  height: 16px;
}

.demo-alt-note {
  font-family: var(--font-display);
  font-size: 12px;
  color: rgba(255, 255, 255, .35);
  font-weight: 500;
  margin-top: 12px;
  text-align: center;
}

/* Video player state */
.demo-alt-player {
  display: none;
  position: relative;
  z-index: 1;
}

.demo-alt-player.active {
  display: block;
  animation: fadeUp .5s ease;
}

.demo-alt-gate.hidden {
  display: none;
}

.demo-alt-player-header {
  margin-bottom: 20px;
}

.demo-alt-player-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(16, 185, 129, .15);
  border: 1px solid rgba(16, 185, 129, .25);
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: #34d399;
}

.demo-alt-player-badge svg {
  width: 14px;
  height: 14px;
  stroke: #34d399;
}

.demo-alt-video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .4);
}

.demo-alt-video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Placeholder state before real video is added */
.demo-alt-video-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1e1b4b 0%, var(--ink) 100%);
  gap: 16px;
}

.demo-alt-video-placeholder-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(140, 82, 255, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
}

.demo-alt-video-placeholder-icon svg {
  width: 28px;
  height: 28px;
}

.demo-alt-video-placeholder p {
  font-family: var(--font-display);
  font-size: 14px;
  color: rgba(255, 255, 255, .5);
  font-weight: 500;
}

.demo-alt-player-cta {
  text-align: center;
  font-family: var(--font-display);
  font-size: 14px;
  color: rgba(255, 255, 255, .5);
  font-weight: 500;
  margin-top: 20px;
}

.demo-alt-player-cta a {
  color: var(--white);
  text-decoration: underline;
  font-weight: 700;
}

.demo-alt-player-cta a:hover {
  color: #c4b5fd;
}

/* Error state */
.demo-alt-error {
  font-family: var(--font-display);
  font-size: 12px;
  color: #fca5a5;
  font-weight: 600;
  margin-top: 8px;
  text-align: center;
  display: none;
}

.demo-alt-error.show {
  display: block;
  animation: fadeUp .3s ease;
}

/* Expanded state for the inner container when video is playing */
.demo-alt-inner.expanded {
  max-width: 960px;
}

@media (min-width: 768px) {
  .demo-alt {
    padding: 0 32px 100px;
  }

  .demo-alt-inner {
    padding: 48px 40px;
  }

  .demo-alt-text h2 {
    font-size: 24px;
  }
}

@media (min-width: 1100px) {
  .demo-alt {
    padding: 0 48px 120px;
  }

  .demo-alt-inner {
    padding: 52px 48px;
  }
}


/* --- Platform (/platform/index.html) ------------------------- */

.platform-hero {
  padding: 140px 24px 80px;
  background: linear-gradient(180deg, #fff 0%, #faf9ff 50%, #f3edff 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.platform-hero::before {
  content: '';
  position: absolute;
  top: -160px;
  right: -240px;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(140, 82, 255, .14) 0%, transparent 65%);
  pointer-events: none;
}

.platform-hero::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(236, 72, 153, .08) 0%, transparent 70%);
  pointer-events: none;
}

.platform-hero-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.platform-hero .sub {
  font-size: 18px;
  color: var(--text-light);
  line-height: 1.65;
  margin: 0 auto var(--space-8);
  max-width: 600px;
}

.platform-hero .hero-ctas {
  justify-content: center;
}

/* Product anchor nav (sticky tabs) */
.platform-tabs {
  position: sticky;
  top: 72px;
  z-index: 100;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.platform-tabs::-webkit-scrollbar {
  display: none;
}

.platform-tabs-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  gap: 4px;
  min-width: max-content;
}

.platform-tab {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
  padding: 16px 18px;
  white-space: nowrap;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.platform-tab:hover {
  color: var(--primary);
}

.platform-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* Feature detail section */
.feat {
  padding: 80px 24px;
  border-bottom: 1px solid var(--border);
}

.feat:last-of-type {
  border-bottom: none;
}

.feat-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.feat.rev .feat-inner {
  direction: ltr;
}

.feat-text {
  max-width: 500px;
}

.feat-text .overline {
  margin-bottom: 12px;
}

.feat-text h2 {
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: 14px;
  letter-spacing: -1px;
}

.feat-text > p {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 28px;
}

.feat-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.feat-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 14.5px;
  color: var(--text);
  font-weight: 500;
  line-height: 1.5;
}

.feat-check {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  box-shadow: 0 2px 6px rgba(16, 185, 129, .25);
}

.feat-check svg {
  width: 12px;
  height: 12px;
  stroke-width: 2.5;
}

.feat-link {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .2s;
  min-height: 44px;
}

.feat-link:hover {
  gap: 10px;
}

.feat-link svg {
  width: 16px;
  height: 16px;
}

/* Feature visual */
.feat-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 24px;
  border-radius: 24px;
  min-height: 340px;
  position: relative;
  overflow: hidden;
}

.feat-visual--purple { background: linear-gradient(135deg, #f3edff 0%, #e4d8ff 100%); }
.feat-visual--green  { background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%); }
.feat-visual--blue   { background: linear-gradient(135deg, #f0f9ff 0%, #bae6fd 100%); }
.feat-visual--coral  { background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%); }
.feat-visual--warm   { background: linear-gradient(135deg, #faf9f7 0%, #f3f1ee 100%); }
.feat-visual--deep   { background: linear-gradient(135deg, #e4d8ff 0%, #c4b5fd 100%); }
.feat-visual--ink    { background: linear-gradient(135deg, #1e1b4b 0%, var(--ink) 100%); }

/* Icon grid inside feature visual */
.feat-icon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  width: 100%;
  max-width: 380px;
}

.feat-icon-card {
  background: var(--white);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 24px -8px rgba(15, 15, 30, .1);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .2s;
}

.feat-icon-card:hover {
  transform: translateY(-3px);
}

.feat-icon-card .fic-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fic-icon--primary { background: var(--primary-light); color: var(--primary); }
.fic-icon--accent  { background: var(--accent-light); color: var(--accent); }
.fic-icon--coral   { background: var(--coral-light); color: var(--coral); }
.fic-icon--sky     { background: var(--sky-light); color: var(--sky); }
.fic-icon--amber   { background: var(--amber-light); color: var(--amber); }

.feat-icon-card .fic-icon svg {
  width: 18px;
  height: 18px;
}

.feat-icon-card .fic-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.feat-icon-card .fic-sub {
  font-family: var(--font-display);
  font-size: 11.5px;
  color: var(--text-light);
  font-weight: 500;
  line-height: 1.4;
}

/* Platform bottom CTA */
.platform-cta-section {
  padding: 80px 24px 100px;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}

.platform-cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(140, 82, 255, .15) 0%, transparent 70%);
}

.platform-cta-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.platform-cta-inner h2 {
  color: var(--white);
  margin-bottom: 14px;
}

.platform-cta-inner p {
  font-size: 17px;
  color: rgba(255, 255, 255, .65);
  line-height: 1.65;
  margin-bottom: 32px;
}

.platform-cta-inner .btn-primary {
  background: var(--white);
  color: var(--ink);
}

.platform-cta-inner .btn-primary:hover {
  background: var(--primary-light);
  color: var(--primary);
}

@media (min-width: 768px) {
  .platform-hero {
    padding: 140px 32px 80px;
  }

  .feat {
    padding: 100px 32px;
  }

  .feat-icon-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .platform-hero {
    padding: 160px 48px 100px;
  }

  .feat {
    padding: 100px 48px;
  }

  .feat-inner {
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
  }

  .feat.rev .feat-inner {
    direction: rtl;
  }

  .feat.rev .feat-inner > * {
    direction: ltr;
  }

  .platform-cta-section {
    padding: 100px 48px 120px;
  }
}


/* --- Pricing (/pricing/index.html) --------------------------- */

.pricing-hero {
  padding: 140px 24px 60px;
  background: linear-gradient(180deg, #fff 0%, #faf9ff 50%, #f3edff 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.pricing-hero::before {
  content: '';
  position: absolute;
  top: -160px;
  right: -240px;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(140, 82, 255, .14) 0%, transparent 65%);
  pointer-events: none;
}

.pricing-hero-inner {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.pricing-hero .sub {
  font-size: 18px;
  color: var(--text-light);
  line-height: 1.65;
  max-width: 580px;
  margin: 0 auto;
}

/* Pricing cards */
.pricing-cards {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px 80px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  position: relative;
  z-index: 1;
  margin-top: -20px;
}

.pricing-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 24px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  transition: all .3s;
}

.pricing-card:hover {
  border-color: rgba(140, 82, 255, .3);
  box-shadow: 0 20px 60px -20px rgba(140, 82, 255, .12);
}

.pricing-card--featured {
  border-color: var(--primary);
  box-shadow: 0 20px 60px -20px rgba(140, 82, 255, .2);
  position: relative;
}

.pricing-card--featured::before {
  content: '';
  position: absolute;
  top: -1.5px;
  left: 40px;
  right: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #a78bfa, #ec4899);
  border-radius: 0 0 3px 3px;
}

.pricing-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: linear-gradient(135deg, var(--primary), #a78bfa);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 16px;
  align-self: flex-start;
}

.pricing-card-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.4px;
  margin-bottom: 6px;
}

.pricing-card-desc {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--text-light);
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 24px;
}

.pricing-card-price {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.pricing-card-price .price-main {
  font-family: var(--font-editorial);
  font-size: 44px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -1.5px;
  line-height: 1;
}

.pricing-card-price .price-per {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--text-light);
  font-weight: 500;
  margin-left: 4px;
}

.pricing-card-price .price-note {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--text-xlight);
  font-weight: 500;
  margin-top: 6px;
}

.pricing-card-price .price-custom {
  font-family: var(--font-editorial);
  font-size: 36px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: -1px;
  line-height: 1;
}

.pricing-features-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  line-height: 1.45;
}

.pf-check {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.pf-check--green {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 2px 6px rgba(16, 185, 129, .25);
}

.pf-check--purple {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 2px 6px rgba(140, 82, 255, .25);
}

.pf-check svg {
  width: 10px;
  height: 10px;
  stroke-width: 3;
}

.pricing-card .btn {
  width: 100%;
}

/* Everything included banner */
.pricing-everything {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.pricing-everything-inner {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px 32px;
  text-align: center;
}

.pricing-everything-inner h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 12px;
}

.pricing-everything-inner > p {
  font-size: 16px;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.65;
}

.pricing-feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}

.pricing-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.pricing-feature-item svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
}

/* FAQ */
.faq-section {
  border-top: 1px solid var(--border);
  background: var(--white);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.2px;
  min-height: 44px;
}

.faq-q svg {
  width: 20px;
  height: 20px;
  color: var(--text-light);
  flex-shrink: 0;
  transition: transform .2s;
}

.faq-q[aria-expanded="true"] svg {
  transform: rotate(45deg);
  color: var(--primary);
}

.faq-a {
  display: none;
  padding: 0 0 24px;
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 620px;
}

.faq-a.open {
  display: block;
  animation: fadeUp .3s ease;
}

@media (min-width: 768px) {
  .pricing-hero {
    padding: 140px 32px 60px;
  }

  .pricing-cards {
    padding: 0 32px 80px;
  }

  .pricing-feature-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1100px) {
  .pricing-hero {
    padding: 160px 48px 80px;
  }

  .pricing-cards {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
    padding: 0 48px 100px;
  }

  .pricing-everything {
    padding: 0 48px 100px;
  }

  .pricing-feature-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* CTA layout center */
.cta-center { justify-content: center; }

/* Ghost button on dark backgrounds */
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, .2);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .08);
  color: var(--white);
}


/* --- About (/about/index.html) ------------------------------- */

.about-hero {
  padding: 140px 24px 80px;
  background: linear-gradient(180deg, #fff 0%, #faf9ff 50%, #f3edff 100%);
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: -160px;
  right: -240px;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(140, 82, 255, .14) 0%, transparent 65%);
  pointer-events: none;
}

.about-hero-inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: center;
}

.about-hero .sub {
  font-size: 18px;
  color: var(--text-light);
  line-height: 1.65;
  max-width: 640px;
  margin: 0 auto;
}

/* About content blocks */
.about-block {
  max-width: 800px;
  margin: 0 auto;
}

.about-block h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 16px;
}

.about-block p {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-block p:last-child {
  margin-bottom: 0;
}

.about-values {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.about-value {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all .3s;
}

.about-value:hover {
  border-color: var(--primary);
  box-shadow: 0 12px 36px rgba(140, 82, 255, .06);
}

.about-value-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-value-icon svg {
  width: 22px;
  height: 22px;
}

.about-value h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.about-value p {
  font-size: 14.5px;
  color: var(--text-light);
  line-height: 1.6;
}

@media (min-width: 768px) {
  .about-values {
    grid-template-columns: 1fr 1fr;
  }
}


/* --- Solutions (template for all /solutions/ pages) ----------- */

.solutions-hero {
  padding: 140px 24px 80px;
  background: linear-gradient(180deg, #fff 0%, #faf9ff 50%, #f3edff 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.solutions-hero::before {
  content: '';
  position: absolute;
  top: -160px;
  right: -240px;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(140, 82, 255, .14) 0%, transparent 65%);
  pointer-events: none;
}

.solutions-hero-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.solutions-hero .sub {
  font-size: 18px;
  color: var(--text-light);
  line-height: 1.65;
  max-width: 600px;
  margin: 0 auto var(--space-8);
}

.solutions-challenges {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.solutions-challenge {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--white);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: border-color .2s;
}

.solutions-challenge:hover {
  border-color: var(--primary);
}

.solutions-challenge-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.solutions-challenge-icon svg {
  width: 18px;
  height: 18px;
}

.solutions-challenge h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.solutions-challenge p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.55;
}

@media (min-width: 768px) {
  .solutions-challenges {
    grid-template-columns: 1fr 1fr;
  }
}


/* --- Listing pages (Blog, Resources, Changelog) -------------- */

.listing-hero {
  padding: 140px 24px 60px;
  background: linear-gradient(180deg, #fff 0%, #faf9ff 100%);
  text-align: center;
  position: relative;
}

.listing-hero-inner {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.listing-hero .sub {
  font-size: 18px;
  color: var(--text-light);
  line-height: 1.65;
  max-width: 540px;
  margin: 0 auto;
}

.listing-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.listing-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--white);
  transition: all .3s;
}

.listing-card:hover {
  border-color: var(--primary);
  box-shadow: 0 12px 36px rgba(140, 82, 255, .06);
  transform: translateY(-2px);
}

.listing-card-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.listing-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  letter-spacing: -.3px;
}

.listing-card p {
  font-size: 14.5px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 16px;
}

.listing-card-link {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
}

.listing-card-link svg {
  width: 14px;
  height: 14px;
}

@media (min-width: 768px) {
  .listing-grid {
    grid-template-columns: 1fr 1fr;
  }
}


/* --- Contact (/contact/index.html) --------------------------- */

.contact-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.contact-info {
  max-width: 440px;
}

.contact-info h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 14px;
}

.contact-info > p {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 32px;
}

.contact-method {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.contact-method-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-method-icon svg {
  width: 20px;
  height: 20px;
}

.contact-method h3 {
  font-size: 15px;
  margin-bottom: 2px;
}

.contact-method p {
  font-size: 14px;
  color: var(--text-light);
}

.contact-method a {
  color: var(--primary);
  text-decoration: underline;
}

@media (min-width: 1100px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
  }
}


/* --- Legal pages (Privacy, Terms) ----------------------------- */

.legal-content {
  max-width: 740px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 22px;
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 16px;
}

.legal-content ul {
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal-content li {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 6px;
}

.legal-updated {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--text-xlight);
  font-weight: 500;
  margin-bottom: 32px;
}


/* --- Surveys (/surveys/index.html) --- */
/* Reuses .feat, .feat-inner, .feat-text, .feat-visual, .feat-highlights etc from Platform */


/* --- Integrations card grid --- */

.integration-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.integration-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--white);
  display: flex;
  gap: 16px;
  align-items: center;
  transition: border-color .2s;
}

.integration-card:hover {
  border-color: var(--primary);
}

.integration-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.integration-card-icon svg {
  width: 22px;
  height: 22px;
}

.integration-card h3 {
  font-size: 16px;
  margin-bottom: 2px;
}

.integration-card p {
  font-size: 13px;
  color: var(--text-light);
}

@media (min-width: 600px) {
  .integration-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .integration-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}


/* --- Compare page -------------------------------------------- */

.compare-table-wrap {
  max-width: 900px;
  margin: 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-display);
  font-size: 14px;
}

.compare-table th {
  text-align: left;
  padding: 16px 20px;
  font-weight: 700;
  color: var(--ink);
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}

.compare-table th.highlight {
  color: var(--primary);
  background: var(--primary-light);
  border-radius: 12px 12px 0 0;
}

.compare-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-weight: 500;
}

.compare-table td:first-child {
  font-weight: 600;
  color: var(--ink);
}

.compare-table td.highlight {
  background: rgba(140, 82, 255, .03);
}

.compare-check {
  color: var(--accent);
  font-weight: 700;
}

.compare-x {
  color: var(--text-xlight);
}

.compare-partial {
  color: var(--amber);
  font-weight: 600;
}


/* --- Sign In ------------------------------------------------- */

.signin-section {
  padding: 140px 24px 100px;
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.signin-card {
  max-width: 420px;
  width: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px 32px;
  box-shadow: 0 20px 60px -20px rgba(15, 15, 30, .1);
  text-align: center;
}

.signin-logo {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), #a78bfa);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  margin: 0 auto 24px;
}

.signin-card h1 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.5px;
  margin-bottom: 6px;
}

.signin-card > p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 28px;
}

.signin-card .demo-field {
  text-align: left;
  margin-bottom: 16px;
}

.signin-card .demo-submit {
  margin-top: 16px;
  margin-bottom: 16px;
}

.signin-footer {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
}

.signin-footer a {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 600;
}

/* Footer SVG logo */
.f-logo svg.f-logo-svg {
  height: 28px;
  width: auto;
  display: block;
}

/* Dashboard card titles (non-heading elements for hierarchy compliance) */
.dc-card-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.2px;
  line-height: 1.25;
}

.dc-card-sub {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.1px;
}

/* Pricing: How it works steps */
.pricing-steps {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.pricing-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  transition: border-color .2s;
}

.pricing-step:hover {
  border-color: var(--primary);
}

.pricing-step-num {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), #a78bfa);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(140, 82, 255, .25);
}

.pricing-step h3 {
  font-size: 17px;
  margin-bottom: 4px;
}

.pricing-step p {
  font-size: 14.5px;
  color: var(--text-light);
  line-height: 1.55;
}

/* Pricing: Modules showcase */
.pricing-modules {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.pricing-module {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all .3s;
}

.pricing-module:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(140, 82, 255, .06);
  transform: translateY(-2px);
}

.pricing-module-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pricing-module-icon svg {
  width: 22px;
  height: 22px;
}

.pricing-module h3 {
  font-size: 16px;
  margin-bottom: 2px;
}

.pricing-module p {
  font-size: 13.5px;
  color: var(--text-light);
  line-height: 1.45;
}

/* Pricing: Annual savings callout */
.pricing-annual {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 32px;
  background: linear-gradient(135deg, #f3edff 0%, #e4d8ff 100%);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.pricing-annual::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(140, 82, 255, .15) 0%, transparent 70%);
}

.pricing-annual h2 {
  position: relative;
  z-index: 1;
  margin-bottom: 8px;
}

.pricing-annual p {
  position: relative;
  z-index: 1;
  font-size: 16px;
  color: var(--text);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

.pricing-annual .big-num {
  font-family: var(--font-editorial);
  font-size: clamp(48px, 6vw, 64px);
  font-weight: 600;
  color: var(--primary);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

@media (min-width: 600px) {
  .pricing-modules {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) {
  .pricing-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .pricing-modules {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* Ensure pricing grids have horizontal padding */
.pricing-steps,
.pricing-modules,
.pricing-annual {
  padding-left: 24px;
  padding-right: 24px;
}

/* Pricing builder */
.price-builder {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.price-builder-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 20px 60px -20px rgba(15, 15, 30, .1), 0 0 0 1px rgba(15, 15, 30, .04);
}

.pb-section {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.pb-section:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.pb-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-light);
  margin-bottom: 16px;
}

/* Module toggles */
.pb-modules {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pb-module {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  cursor: pointer;
  transition: all .2s;
  user-select: none;
}

.pb-module:hover {
  border-color: rgba(140, 82, 255, .3);
}

.pb-module.active {
  border-color: var(--primary);
  background: var(--primary-light);
}

.pb-module-toggle {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 6px;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}

.pb-module.active .pb-module-toggle {
  background: var(--primary);
  border-color: var(--primary);
}

.pb-module-toggle svg {
  width: 12px;
  height: 12px;
  stroke: var(--white);
  opacity: 0;
  transition: opacity .15s;
}

.pb-module.active .pb-module-toggle svg {
  opacity: 1;
}

.pb-module-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pb-module-icon svg {
  width: 16px;
  height: 16px;
}

.pb-module-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  flex: 1;
}

.pb-module-desc {
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--text-light);
  font-weight: 500;
  margin-top: 1px;
}

.pb-module-price {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

/* Size band selector */
.pb-sizes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.pb-size {
  padding: 16px;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  cursor: pointer;
  text-align: center;
  transition: all .2s;
  user-select: none;
}

.pb-size:hover {
  border-color: rgba(140, 82, 255, .3);
}

.pb-size.active {
  border-color: var(--primary);
  background: var(--primary-light);
}

.pb-size-range {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.3px;
}

.pb-size-label {
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--text-light);
  font-weight: 500;
  margin-top: 2px;
}

/* Billing toggle */
.pb-billing {
  display: flex;
  background: var(--bg);
  border-radius: 12px;
  padding: 4px;
  gap: 4px;
}

.pb-billing-opt {
  flex: 1;
  padding: 12px 16px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  text-align: center;
  cursor: pointer;
  transition: all .2s;
  user-select: none;
  border: none;
  background: none;
}

.pb-billing-opt.active {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(15, 15, 30, .08);
}

.pb-billing-opt .pb-save {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  margin-left: 6px;
}

/* Results */
.pb-result {
  background: var(--ink);
  border-radius: 20px;
  padding: 32px;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 32px;
}

.pb-result::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(140, 82, 255, .2) 0%, transparent 70%);
}

.pb-result-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.pb-result-price {
  font-family: var(--font-editorial);
  font-size: clamp(40px, 6vw, 56px);
  font-weight: 600;
  letter-spacing: -2px;
  line-height: 1;
  background: linear-gradient(135deg, #fff, #c4b5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
}

.pb-result-per {
  font-family: var(--font-display);
  font-size: 14px;
  color: rgba(255, 255, 255, .6);
  font-weight: 500;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.pb-result-breakdown {
  font-family: var(--font-display);
  font-size: 13px;
  color: rgba(255, 255, 255, .4);
  font-weight: 500;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  line-height: 1.6;
}

.pb-bundle-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(16, 185, 129, .15);
  border: 1px solid rgba(16, 185, 129, .25);
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: #34d399;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.pb-result .btn {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 320px;
}

.pb-result .btn-primary {
  background: var(--white);
  color: var(--ink);
}

.pb-result .btn-primary:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.pb-result-note {
  font-family: var(--font-display);
  font-size: 12px;
  color: rgba(255, 255, 255, .35);
  font-weight: 500;
  margin-top: 12px;
  position: relative;
  z-index: 1;
}

.pb-empty {
  font-family: var(--font-display);
  font-size: 15px;
  color: rgba(255, 255, 255, .5);
  font-weight: 500;
  position: relative;
  z-index: 1;
  padding: 20px 0;
}

@media (min-width: 600px) {
  .pb-sizes {
    grid-template-columns: repeat(4, 1fr);
  }

  .pb-modules {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}

@media (min-width: 768px) {
  .price-builder-card {
    padding: 48px;
  }
}

.sec-pb-60 { padding-bottom: 60px; }

@media (min-width: 1100px) {
  .about-values {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Leadership team section */
.team-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  transition: all .3s;
}

.team-card:hover {
  border-color: var(--primary);
  box-shadow: 0 12px 36px rgba(140, 82, 255, .08);
  transform: translateY(-3px);
}

.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 24px rgba(15, 15, 30, .1);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--white);
}

.team-photo-placeholder--1 { background: linear-gradient(135deg, var(--primary), #a78bfa); }
.team-photo-placeholder--2 { background: linear-gradient(135deg, var(--accent), var(--sky)); }
.team-photo-placeholder--3 { background: linear-gradient(135deg, var(--coral), #fb923c); }
.team-photo-placeholder--4 { background: linear-gradient(135deg, var(--sky), #6366f1); }
.team-photo-placeholder--5 { background: linear-gradient(135deg, var(--amber), var(--coral)); }
.team-photo-placeholder--6 { background: linear-gradient(135deg, #ec4899, var(--primary)); }

.team-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.4px;
  margin-bottom: 4px;
}

.team-role {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
}

.team-bio {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  max-width: 320px;
  margin: 0 auto;
}

.team-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
  margin-top: 14px;
  transition: color .2s;
}

.team-linkedin:hover {
  color: var(--primary);
}

.team-linkedin svg {
  width: 16px;
  height: 16px;
}

@media (min-width: 600px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.sec-pt-32 { padding-top: 32px; }

/* Integrations filter */
.int-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto 40px;
  padding: 0 24px;
}

.int-filter {
  padding: 10px 20px;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
  background: var(--white);
  cursor: pointer;
  transition: all .2s;
  user-select: none;
}

.int-filter:hover {
  border-color: rgba(140, 82, 255, .3);
  color: var(--ink);
}

.int-filter.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* Integration cards */
.int-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 0 24px;
}

.int-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: all .3s;
}

.int-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(140, 82, 255, .06);
  transform: translateY(-2px);
}

.int-card.hidden {
  display: none;
}

.int-card-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
}

.int-card-icon--blue { background: linear-gradient(135deg, #3b82f6, #6366f1); }
.int-card-icon--green { background: linear-gradient(135deg, var(--accent), #34d399); }
.int-card-icon--purple { background: linear-gradient(135deg, var(--primary), #a78bfa); }
.int-card-icon--orange { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.int-card-icon--teal { background: linear-gradient(135deg, #06b6d4, #3b82f6); }
.int-card-icon--pink { background: linear-gradient(135deg, #ec4899, #a855f7); }

.int-card-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.int-card-cat {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-light);
  margin-top: 2px;
}

.int-count {
  text-align: center;
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--text-light);
  margin-top: 16px;
  padding: 0 24px;
}

@media (min-width: 600px) {
  .int-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .int-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.int-count {
  margin-bottom: 0;
}

.sec-center .btn {
  margin-top: 24px;
  padding: 16px 36px;
}

/* Blog post layout */
.blog-post {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.blog-cat {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.blog-date {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
}

.blog-read {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
}

.blog-post h2 {
  font-size: clamp(22px, 3vw, 28px);
  margin-top: 48px;
  margin-bottom: 16px;
}

.blog-post h3 {
  font-size: clamp(18px, 2.5vw, 22px);
  margin-top: 36px;
  margin-bottom: 12px;
}

.blog-post p {
  font-size: 16.5px;
  line-height: 1.75;
  margin-bottom: 20px;
  color: var(--text);
}

.blog-post ul, .blog-post ol {
  margin: 0 0 24px 24px;
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--text);
}

.blog-post li {
  margin-bottom: 8px;
}

.blog-post blockquote {
  border-left: 4px solid var(--primary);
  padding: 16px 24px;
  margin: 32px 0;
  background: var(--primary-light);
  border-radius: 0 12px 12px 0;
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
}

.blog-cta-box {
  margin: 48px 0;
  padding: 32px;
  background: var(--ink);
  border-radius: 20px;
  text-align: center;
  color: var(--white);
}

.blog-cta-box h3 {
  color: var(--white);
  margin-top: 0;
}

.blog-cta-box p {
  color: rgba(255,255,255,.7);
  max-width: 480px;
  margin: 0 auto 20px;
}

.blog-cta-box .btn-primary {
  background: var(--white);
  color: var(--ink);
}

/* Blog index cards */
.blog-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 0 24px;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: all .3s;
  text-decoration: none;
  display: block;
}

.blog-card:hover {
  border-color: var(--primary);
  box-shadow: 0 12px 36px rgba(140,82,255,.08);
  transform: translateY(-3px);
}

.blog-card-cat {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 12px;
}

.blog-card h3 {
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -.3px;
}

.blog-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 12px;
}

.blog-card-footer {
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--text-light);
  font-weight: 500;
}

@media (min-width: 600px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-back-link {
  color: inherit;
  text-decoration: none;
}
.blog-back-link:hover {
  color: var(--primary);
}

.blog-post-legal {
  padding-top: 40px;
}

.feat-text-full {
  max-width: 100%;
}

/* Solutions feature grid */
.sol-features {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 0 24px;
}

.sol-feat {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all .3s;
}

.sol-feat:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(140, 82, 255, .06);
  transform: translateY(-2px);
}

.sol-feat-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sol-feat-icon svg {
  width: 20px;
  height: 20px;
}

.sol-feat h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.sol-feat p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.55;
}

/* Phone mockup */
.sol-phone {
  max-width: 320px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 36px;
  padding: 12px;
  box-shadow: 0 24px 60px -12px rgba(15, 15, 30, .25);
  position: relative;
}

.sol-phone-notch {
  width: 120px;
  height: 28px;
  background: var(--ink);
  border-radius: 0 0 16px 16px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.sol-phone-screen {
  background: var(--white);
  border-radius: 26px;
  overflow: hidden;
  position: relative;
}

.sol-phone-header {
  background: linear-gradient(135deg, var(--primary), #7c3aed);
  padding: 20px 20px 16px;
  color: var(--white);
}

.sol-phone-header-brand {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 12px;
}

.sol-phone-header-greeting {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  opacity: .8;
}

.sol-phone-nav {
  display: flex;
  gap: 4px;
  padding: 12px 12px 0;
  overflow: hidden;
}

.sol-phone-nav-item {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.sol-phone-nav-item--active {
  background: var(--primary);
  color: var(--white);
}

.sol-phone-nav-item--inactive {
  background: var(--bg);
  color: var(--text-light);
}

.sol-phone-feed {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sol-phone-card {
  background: var(--bg);
  border-radius: 12px;
  padding: 14px;
}

.sol-phone-card-title {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.sol-phone-card-text {
  font-family: var(--font-display);
  font-size: 10.5px;
  color: var(--text-light);
  line-height: 1.4;
}

.sol-phone-card-kudos {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sol-phone-card-av {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #a78bfa);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  color: var(--white);
}

.sol-phone-card-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  background: rgba(140, 82, 255, .1);
  color: var(--primary);
  margin-top: 6px;
}

/* Layout: phone + features side by side */
.sol-how-layout {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding: 0 24px;
  align-items: start;
}

@media (min-width: 600px) {
  .sol-features {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .sol-how-layout {
    grid-template-columns: 300px 1fr;
    gap: 48px;
  }
  .sol-features {
    grid-template-columns: 1fr 1fr;
    padding: 0;
  }
}

/* Mini dashboard mockup for solutions pages */
.mini-dash {
  background: var(--white);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 32px rgba(15, 15, 30, .12);
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 340px;
  margin: 0 auto;
}

.mini-dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.mini-dash-brand {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: var(--primary);
}

.mini-dash-user {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mini-dash-av {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #a78bfa);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  color: var(--white);
}

.mini-dash-card {
  border-radius: 12px;
  padding: 14px;
}

.mini-dash-card--purple { background: linear-gradient(135deg, #f3edff, #ede4ff); }
.mini-dash-card--green { background: linear-gradient(135deg, #ecfdf5, #d1fae5); }
.mini-dash-card--blue { background: linear-gradient(135deg, #eff6ff, #dbeafe); }
.mini-dash-card--amber { background: linear-gradient(135deg, #fffbeb, #fef3c7); }

.mini-dash-card-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mini-dash-card-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mini-dash-card-icon--purple { background: rgba(140, 82, 255, .15); color: var(--primary); }
.mini-dash-card-icon--green { background: rgba(16, 185, 129, .15); color: var(--accent); }
.mini-dash-card-icon--blue { background: rgba(59, 130, 246, .15); color: #3b82f6; }
.mini-dash-card-icon--amber { background: rgba(245, 158, 11, .15); color: #f59e0b; }

.mini-dash-card-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.mini-dash-card-title {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}

.mini-dash-card-val {
  font-family: var(--font-display);
  font-size: 11px;
  color: var(--text-light);
  margin-top: 1px;
}

.mini-dash-card-bar {
  height: 6px;
  border-radius: 3px;
  background: rgba(0,0,0,.06);
  margin-top: 10px;
  overflow: hidden;
}

.mini-dash-card-fill {
  height: 100%;
  border-radius: 3px;
}

.mini-dash-card-fill--purple { background: var(--primary); }
.mini-dash-card-fill--green { background: var(--accent); }
.mini-dash-card-fill--blue { background: #3b82f6; }

.mini-dash-kudos {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: var(--bg);
  border-radius: 12px;
}

.mini-dash-kudos-star {
  color: var(--amber);
  font-size: 18px;
}

.mini-dash-kudos-text {
  font-family: var(--font-display);
  font-size: 11px;
  color: var(--text);
  line-height: 1.4;
}

.mini-dash-kudos-name {
  font-weight: 700;
  color: var(--ink);
}

.mini-dash-fill-78 { width: 78%; }
.mini-dash-fill-94 { width: 94%; }
.mini-dash-fill-96 { width: 96%; }
.mini-dash-fill-91 { width: 91%; }
.sol-features-compact { max-width: 800px; margin: 0 auto; }

/* Fix nav dropdown CTA button text visibility */
.nm-cta .btn-primary {
  background: var(--ink);
  color: #ffffff;
  display: inline-block;
  margin-top: 12px;
}

.nm-cta .btn-primary:hover {
  background: var(--primary);
  color: #ffffff;
}
