/* =========================================================
   Alltime Bookkeepers — Design System
   Brand: deep purple #3F1B7A + bright yellow #FFDC1B
   ========================================================= */

:root {
  /* Type scale (fluid) */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1rem + 0.6vw, 1.4rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.3rem + 2.4vw, 3.25rem);
  --text-3xl: clamp(2.5rem, 1.4rem + 3.6vw, 4.25rem);
  --text-hero: clamp(3rem, 6vw + 1rem, 5.5rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Brand palette */
  --purple: #3f1b7a;
  --purple-deep: #2c1257;
  --purple-soft: #5a32a3;
  --purple-tint: #ede7f7;
  --purple-tint-2: #f5f1fb;
  --yellow: #ffdc1b;
  --yellow-deep: #f5c400;
  --yellow-soft: #fff4c2;

  /* Extended palette */
  --purple-darker: #1a0a3e;
  --purple-glow: rgba(123, 71, 219, 0.4);
  --yellow-glow: rgba(255, 220, 27, 0.35);
  --surface-glass: rgba(255, 255, 255, 0.08);
  --border-glass: rgba(255, 255, 255, 0.15);

  /* Surfaces */
  --color-bg: #fffbf0;
  --color-surface: #ffffff;
  --color-surface-2: #fdf8ec;
  --color-border: #ece4d3;
  --color-border-strong: #d9cdb3;

  /* Text */
  --color-text: #1f1733;
  --color-text-muted: #5d5573;
  --color-text-faint: #8b8499;
  --color-text-inverse: #fffbf0;

  /* Semantic */
  --color-primary: var(--purple);
  --color-accent: var(--yellow);

  /* Radius */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-2xl: 1.75rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(44, 18, 87, 0.06);
  --shadow-md: 0 8px 24px rgba(44, 18, 87, 0.08);
  --shadow-lg: 0 20px 48px rgba(44, 18, 87, 0.12);
  --shadow-purple: 0 16px 40px rgba(63, 27, 122, 0.22);

  --transition: 200ms cubic-bezier(0.16, 1, 0.3, 1);

  --content-narrow: 680px;
  --content: 1080px;
  --content-wide: 1240px;

  --font-display: 'Clash Display', 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  min-height: 100dvh;
  line-height: 1.65;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-bg);
}

img, picture, svg, video { display: block; max-width: 100%; height: auto; }
ul[role='list'] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  text-wrap: balance;
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-text);
}
p { text-wrap: pretty; }

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

::selection { background: var(--yellow); color: var(--purple-deep); }

:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

a, button, input, textarea, select {
  transition: color var(--transition), background var(--transition),
    border-color var(--transition), box-shadow var(--transition),
    transform var(--transition);
}

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
}
.container--narrow { max-width: var(--content); }

.section { padding-block: clamp(var(--space-16), 8vw, var(--space-32)); }
.section--tight { padding-block: clamp(var(--space-12), 6vw, var(--space-20)); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple);
}
.eyebrow::before {
  content: '\25AA';
  width: auto; height: auto;
  font-size: 0.9em;
  line-height: 1;
  color: var(--yellow-deep);
  background: none;
  border-radius: 0;
}
.eyebrow--light { color: rgba(255,255,255,0.92); }
.eyebrow--light::before { color: var(--yellow); }

.section-head { max-width: 620px; margin-bottom: var(--space-12); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 3vw + 1rem, 3rem); margin-top: var(--space-3); }
.section-head p { color: var(--color-text-muted); margin-top: var(--space-4); font-size: var(--text-base); }

/* Yellow underline accent on headings */
.accent-underline { position: relative; display: inline; }
.accent-underline::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0.08em;
  height: 0.34em;
  background: var(--yellow);
  z-index: -1;
  border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn--primary {
  background: var(--purple);
  color: var(--yellow);
}
.btn--primary:hover {
  background: var(--purple-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-purple);
}
.btn--accent {
  background: var(--yellow);
  color: var(--purple-deep);
}
.btn--accent:hover {
  background: var(--yellow-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(245, 196, 0, 0.35);
}
.btn--ghost {
  background: transparent;
  color: var(--purple);
  border-color: var(--purple);
}
.btn--ghost:hover { background: var(--purple); color: var(--yellow); }
.btn--light {
  background: var(--color-surface);
  color: var(--purple);
  border-color: var(--color-border);
}
.btn--light:hover { border-color: var(--purple); transform: translateY(-2px); }
.btn--lg { padding: 1rem 1.9rem; font-size: var(--text-base); }

/* ---------- Top gradient shimmer bar ---------- */
.topbar {
  height: 2px;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 101;
  background: linear-gradient(90deg, var(--purple) 0%, var(--yellow) 25%, var(--purple-soft) 50%, var(--yellow) 75%, var(--purple) 100%);
  background-size: 200% 100%;
  animation: topbar-shimmer 8s linear infinite;
}
@keyframes topbar-shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .topbar { animation: none; } }

/* ---------- Header / Nav ---------- */
.header {
  position: sticky;
  top: 2px;
  z-index: 100;
  background: rgba(255, 251, 240, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--transition), border-color var(--transition), background var(--transition);
}
.header--scrolled {
  box-shadow: var(--shadow-sm);
  border-color: var(--color-border);
  background: rgba(255, 251, 240, 0.82);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  height: 88px;
}
.nav__brand { display: flex; align-items: center; gap: var(--space-3); text-decoration: none; }
.nav__logo {
  width: 56px; height: 56px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  flex-shrink: 0;
}
.nav__brand-text {
  position: relative;
  padding-bottom: 2px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--color-primary);
  letter-spacing: -0.015em;
}
.nav__brand-text::after {
  content: "";
  position: absolute;
  left: 0; right: 38%;
  bottom: -3px;
  height: 5px;
  background: var(--color-accent);
  border-radius: 2px;
}
.nav__brand-text span { display: block; font-size: 0.64rem; letter-spacing: 0.24em; color: var(--color-text-muted); font-family: var(--font-body); font-weight: 700; margin-top: 5px; }
@media (max-width: 640px) {
  .nav { height: 72px; }
  .nav__logo { width: 46px; height: 46px; }
  .nav__brand-text { font-size: 1.35rem; }
  .nav__brand-text span { font-size: 0.56rem; letter-spacing: 0.2em; }
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
}
.nav__links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  position: relative;
  padding: 0.25rem 0;
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--yellow-deep);
  transition: width var(--transition);
}
.nav__links a:hover::after,
.nav__links a[aria-current='page']::after { width: 100%; }
.nav__links a[aria-current='page'] { color: var(--purple); font-weight: 600; }

.nav__actions { display: flex; align-items: center; gap: var(--space-3); }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--purple);
}

@media (max-width: 920px) {
  .nav__links, .nav__actions .btn { display: none; }
  .nav__toggle { display: inline-flex; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 76px 0 auto 0;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-6);
  transform: translateY(-120%);
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 99;
  box-shadow: var(--shadow-lg);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: var(--space-2); }
.mobile-menu a {
  display: block;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: var(--text-base);
}
.mobile-menu a:hover, .mobile-menu a[aria-current='page'] { background: var(--purple-tint); color: var(--purple); }
.mobile-menu .btn { margin-top: var(--space-4); width: 100%; }

/* ---------- Hero (light warm — human expert) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(255,220,27,0.13) 0%, transparent 60%),
    radial-gradient(60% 80% at 0% 100%, rgba(63,27,122,0.07) 0%, transparent 55%),
    var(--color-bg);
  color: var(--color-text);
  padding-block: clamp(var(--space-16), 6vw, var(--space-24));
  border-bottom: 1px solid var(--color-border);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(63,27,122,0.025) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(90deg, rgba(63,27,122,0.025) 0 1px, transparent 1px 64px);
  -webkit-mask-image: radial-gradient(120% 100% at 50% 0%, #000 30%, transparent 85%);
  mask-image: radial-gradient(120% 100% at 50% 0%, #000 30%, transparent 85%);
  z-index: -2;
  pointer-events: none;
}
/* Warm accent blobs */
.hero__warm-blobs { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hero__warm-blobs span { position: absolute; border-radius: 50%; filter: blur(80px); }
.hero__warm-blobs .wb1 { width: 500px; height: 500px; top: -160px; right: -80px; background: radial-gradient(circle, rgba(255,220,27,0.18), transparent 70%); }
.hero__warm-blobs .wb2 { width: 400px; height: 400px; bottom: -100px; left: -60px; background: radial-gradient(circle, rgba(63,27,122,0.08), transparent 70%); }
.hero__warm-blobs .wb3 { width: 360px; height: 360px; top: 30%; left: 40%; background: radial-gradient(circle, rgba(255,220,27,0.08), transparent 70%); }

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(var(--space-10), 5vw, var(--space-20));
  align-items: center;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: var(--space-2);
  background: var(--purple-tint);
  border: 1px solid rgba(63,27,122,0.15);
  color: var(--purple);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow-deep); box-shadow: 0 0 8px rgba(245,196,0,0.5); }
.hero h1 {
  font-size: var(--text-hero);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin-bottom: var(--space-6);
}
.hero h1 .hl { color: var(--purple); }
.hero__lead { font-size: var(--text-lg); color: var(--color-text-muted); max-width: 42ch; margin-bottom: var(--space-8); }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-bottom: var(--space-6); }
.hero .btn--primary { background: var(--purple); color: var(--yellow); border-color: var(--purple); }
.hero .btn--primary:hover { background: var(--purple-deep); border-color: var(--purple-deep); box-shadow: var(--shadow-purple); }
.hero .btn--ghost { background: transparent; color: var(--purple); border-color: var(--purple); }
.hero .btn--ghost:hover { background: var(--purple); color: var(--yellow); border-color: var(--purple); }
.hero__note { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-4); font-size: var(--text-sm); color: var(--color-text-muted); margin: 0; }
.hero__note span { display: inline-flex; align-items: center; gap: 0.4em; }
.hero__note .ck { color: var(--purple); font-weight: 700; }
/* About page — ProAdvisor badge callout */
.badge-callout {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-5);
  padding: var(--space-4) var(--space-5);
  background: linear-gradient(135deg, rgba(63,27,122,0.04), rgba(255,220,27,0.06));
  border: 1px solid rgba(63,27,122,0.12);
  border-radius: var(--radius-lg);
  max-width: 480px;
}
.badge-callout__img { display: inline-flex; line-height: 0; flex-shrink: 0; transition: transform .25s ease; }
.badge-callout__img:hover { transform: translateY(-2px); }
.badge-callout__img img { display: block; height: 88px; width: auto; }
.badge-callout__copy { display: flex; flex-direction: column; gap: 4px; }
.badge-callout__copy strong { font-size: var(--text-base); color: var(--color-primary); font-weight: 700; line-height: 1.3; }
.badge-callout__copy span { font-size: var(--text-sm); color: var(--color-text-muted); }
@media (max-width: 540px) {
  .badge-callout { padding: var(--space-3) var(--space-4); gap: var(--space-3); }
  .badge-callout__img img { height: 72px; }
}

/* Featured credential card (QBO badge) */
.cred__ic--badge { background: transparent !important; padding: 0 !important; width: auto !important; height: auto !important; }
.cred__ic--badge img { display: block; width: 56px; height: auto; }
.cred--featured { box-shadow: 0 4px 20px rgba(63,27,122,0.08); border-color: rgba(63,27,122,0.18); }

/* ---- Status cards (calm human checklist) ---- */
.hero__media { position: relative; }
.status-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-2);
}
.scard {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-4) var(--space-5);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.scard:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.scard--done { border-left: 3px solid var(--yellow-deep); }
.scard--upcoming { border-left: 3px solid rgba(63,27,122,0.3); }
.scard__icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(245,196,0,0.12);
  color: var(--yellow-deep);
}
.scard__icon.upcoming { background: var(--purple-tint); color: var(--purple); }
.scard__icon svg { width: 18px; height: 18px; }
.scard__body {
  display: flex; flex-direction: column; gap: 2px;
  flex: 1; min-width: 0;
}
.scard__label {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.scard__meta {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
.scard__pill {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
}
.scard__pill.done {
  background: rgba(245,196,0,0.15);
  color: #7a5e00;
  border: 1px solid rgba(245,196,0,0.35);
}
.scard__pill.upcoming {
  background: var(--purple-tint);
  color: var(--purple);
  border: 1px solid rgba(63,27,122,0.18);
}

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; gap: var(--space-12); }
  .hero__lead { max-width: none; }
  .hero__media { display: none; }
}

/* ---------- Dark trust strip ---------- */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  background: linear-gradient(120deg, var(--purple-darker), var(--purple));
  color: #fff;
  border-radius: var(--radius-2xl);
  padding: clamp(var(--space-8), 4vw, var(--space-12));
  box-shadow: var(--shadow-purple);
  position: relative;
  overflow: hidden;
}
.trust-strip::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(60% 100% at 100% 0%, var(--yellow-glow), transparent 60%);
  opacity: 0.5; pointer-events: none;
}
.trust-strip .stat { position: relative; }
.trust-strip .stat__num { font-family: var(--font-mono); font-weight: 700; color: var(--yellow); }
.trust-strip .stat__label { color: rgba(255,255,255,0.78); }
@media (max-width: 640px) {
  .trust-strip { grid-template-columns: 1fr; gap: var(--space-8); padding: var(--space-8); }
}


/* ---------- Stats strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  background: var(--purple);
  color: var(--color-text-inverse);
  border-radius: var(--radius-2xl);
  padding: clamp(var(--space-8), 4vw, var(--space-12));
  box-shadow: var(--shadow-purple);
}
.stat { text-align: center; }
.stat__num { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 600; color: var(--yellow); line-height: 1; }
.stat__label { font-size: var(--text-sm); color: rgba(255,251,240,0.82); margin-top: var(--space-2); }
@media (max-width: 640px) {
  .stats { grid-template-columns: 1fr; gap: var(--space-8); padding: var(--space-8); }
  .stat { display: flex; flex-direction: column; }
}

/* ---------- Card grids ---------- */
.grid { display: grid; gap: var(--space-6); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid--3, .grid--2 { grid-template-columns: 1fr; } }

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--purple-tint); }
.card__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: var(--radius-md);
  background: var(--purple-tint);
  color: var(--purple);
  margin-bottom: var(--space-5);
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: var(--text-lg); margin-bottom: var(--space-3); }
.card p { color: var(--color-text-muted); font-size: var(--text-base); }
.card__list { list-style: none; margin-top: var(--space-5); display: flex; flex-direction: column; gap: var(--space-2); }
.card__list li { display: flex; gap: var(--space-2); align-items: flex-start; font-size: var(--text-sm); color: var(--color-text); }
.card__list li::before {
  content: '';
  flex-shrink: 0;
  margin-top: 0.45em;
  width: 14px; height: 14px;
  background: var(--yellow);
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px var(--color-surface), 0 0 0 1px var(--yellow-deep);
}

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative;
  padding: var(--space-8) var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
}
.step__num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--purple-tint);
  -webkit-text-stroke: 1.5px var(--purple-soft);
  line-height: 1;
}
.step h3 { font-size: var(--text-lg); margin: var(--space-4) 0 var(--space-2); }
.step p { color: var(--color-text-muted); font-size: var(--text-sm); }
.step__bar { width: 36px; height: 4px; background: var(--yellow); border-radius: 2px; margin-top: var(--space-4); }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }
.quote {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex; flex-direction: column;
}
.quote__stars { color: var(--yellow-deep); letter-spacing: 2px; font-size: var(--text-sm); margin-bottom: var(--space-4); }
.quote__text { font-size: var(--text-base); color: var(--color-text); flex: 1; }
.quote__person { display: flex; align-items: center; gap: var(--space-3); margin-top: var(--space-6); }
.quote__avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--purple); color: var(--yellow);
  font-weight: 700; font-size: var(--text-sm);
  font-family: var(--font-display);
}
.quote__name { font-weight: 600; font-size: var(--text-sm); }
.quote__role { font-size: var(--text-xs); color: var(--color-text-muted); }

/* ---------- CTA band (the ONE bold yellow section) ---------- */
.cta-band {
  background: var(--yellow);
  border-radius: var(--radius-2xl);
  padding: clamp(var(--space-10), 5vw, var(--space-20));
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { font-size: var(--text-2xl); color: var(--purple-deep); margin-bottom: var(--space-4); }
.cta-band p { color: var(--purple); font-size: var(--text-lg); max-width: 48ch; margin: 0 auto var(--space-8); }
.cta-band .btn--primary { background: var(--purple); color: var(--yellow); }
.cta-band__target {
  position: absolute;
  right: -60px; top: -60px;
  width: 220px; height: 220px;
  opacity: 0.35;
  pointer-events: none;
}
.cta-band__target-2 {
  position: absolute;
  left: -70px; bottom: -70px;
  width: 200px; height: 200px;
  opacity: 0.28;
  pointer-events: none;
}

/* ---------- Split / two-column feature ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-10), 5vw, var(--space-20));
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media img { width: 100%; border-radius: var(--radius-2xl); box-shadow: var(--shadow-md); }
.split h2 { font-size: var(--text-xl); margin-bottom: var(--space-4); }
.split p { color: var(--color-text-muted); margin-bottom: var(--space-4); }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; gap: var(--space-10); }
  .split--reverse .split__media, .split__media { order: -1; }
}

.checklist { list-style: none; display: flex; flex-direction: column; gap: var(--space-3); margin-top: var(--space-6); }
.checklist li { display: flex; gap: var(--space-3); align-items: flex-start; font-size: var(--text-base); }
.checklist svg { flex-shrink: 0; color: var(--purple); margin-top: 4px; width: 20px; height: 20px; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); align-items: stretch; }
@media (max-width: 920px) { .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }
.tier {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex; flex-direction: column;
  position: relative;
}
.tier--featured {
  border: 2px solid var(--purple);
  box-shadow: var(--shadow-purple);
  background: linear-gradient(180deg, var(--purple-tint-2), var(--color-surface));
}
.tier__flag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--yellow); color: var(--purple-deep);
  font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.06em;
  padding: 0.4rem 1rem; border-radius: var(--radius-full);
  text-transform: uppercase;
}
.tier__name { font-size: var(--text-lg); }
.tier__desc { font-size: var(--text-sm); color: var(--color-text-muted); margin-top: var(--space-2); min-height: 2.6em; }
.tier__price { display: flex; align-items: baseline; gap: var(--space-2); margin: var(--space-5) 0 var(--space-1); }
.tier__amount { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 600; color: var(--purple); line-height: 1; }
.tier__period { font-size: var(--text-sm); color: var(--color-text-muted); }
.tier__note { font-size: var(--text-xs); color: var(--color-text-muted); margin-bottom: var(--space-6); }
.tier .btn { width: 100%; margin-bottom: var(--space-6); }
.tier__features { list-style: none; display: flex; flex-direction: column; gap: var(--space-3); }
.tier__features li { display: flex; gap: var(--space-2); align-items: flex-start; font-size: var(--text-sm); }
.tier__features svg { flex-shrink: 0; color: var(--purple); margin-top: 3px; width: 18px; height: 18px; }

/* Add-ons */
.addons { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
@media (max-width: 640px) { .addons { grid-template-columns: 1fr; } }
.addon {
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.addon__name { font-weight: 600; font-size: var(--text-base); }
.addon__desc { font-size: var(--text-sm); color: var(--color-text-muted); }
.addon__price { font-family: var(--font-display); font-weight: 600; color: var(--purple); white-space: nowrap; font-size: var(--text-lg); }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--color-border); }
.faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4);
  padding: var(--space-5) 0; text-align: left;
  font-family: var(--font-display); font-weight: 600; font-size: var(--text-lg); color: var(--color-text);
}
.faq__q .icon { flex-shrink: 0; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--purple-tint); color: var(--purple); transition: transform var(--transition); }
.faq__item[open] .faq__q .icon { transform: rotate(45deg); background: var(--purple); color: var(--yellow); }
.faq__a { padding-bottom: var(--space-5); color: var(--color-text-muted); font-size: var(--text-base); }
.faq__q::-webkit-details-marker { display: none; }
details > summary { list-style: none; cursor: pointer; }

/* ---------- Shop / product cards ---------- */
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
@media (max-width: 760px) { .products { grid-template-columns: 1fr; } }
.product {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product__media {
  position: relative;
  aspect-ratio: 16/10;
  display: grid; place-items: center;
  color: rgba(255,251,240,0.95);
}
.product__media svg { width: 72px; height: 72px; }
.product__soon {
  position: absolute; top: var(--space-4); left: var(--space-4);
  background: var(--yellow); color: var(--purple-deep);
  font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.06em;
  padding: 0.35rem 0.8rem; border-radius: var(--radius-full); text-transform: uppercase;
}
.product__body { padding: var(--space-6); display: flex; flex-direction: column; flex: 1; }
.product__type { font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--purple-soft); }
.product__body h3 { font-size: var(--text-lg); margin: var(--space-2) 0 var(--space-3); }
.product__body p { font-size: var(--text-sm); color: var(--color-text-muted); flex: 1; }
.product__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); margin-top: var(--space-6); }
.product__price { font-family: var(--font-display); font-weight: 600; font-size: var(--text-lg); color: var(--purple); }
.notify {
  display: flex; gap: var(--space-2); margin-top: var(--space-4);
}
.notify input {
  flex: 1; min-width: 0;
  padding: 0.7rem 1rem;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-full);
  background: var(--color-surface-2);
  font-size: var(--text-sm);
}
.notify input:focus-visible { outline-color: var(--purple); border-color: var(--purple); }
.notify .btn { padding: 0.7rem 1.1rem; }

/* ---------- Forms ---------- */
.form { display: grid; gap: var(--space-5); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: var(--space-2); }
.field label { font-size: var(--text-sm); font-weight: 600; }
.field input, .field textarea {
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  font-size: var(--text-base);
  width: 100%;
}
.field input:focus-visible, .field textarea:focus-visible { outline-color: var(--purple); border-color: var(--purple); }
.field textarea { resize: vertical; min-height: 140px; }

/* ---------- Generic page header ---------- */
.page-hero {
  background:
    radial-gradient(120% 120% at 90% -10%, rgba(255,220,27,0.18), transparent 50%),
    var(--purple-tint-2);
  border-bottom: 1px solid var(--color-border);
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
  text-align: center;
}
.page-hero h1 { font-size: var(--text-2xl); margin-bottom: var(--space-4); }
.page-hero p { color: var(--color-text-muted); font-size: var(--text-lg); max-width: 56ch; margin-inline: auto; }
.breadcrumb { font-size: var(--text-xs); color: var(--color-text-muted); margin-bottom: var(--space-4); text-transform: uppercase; letter-spacing: 0.1em; }
.breadcrumb a:hover { color: var(--purple); }

/* ---------- Section tints ---------- */
.bg-tint { background: var(--purple-tint-2); }
.bg-soft { background: var(--color-surface-2); }

/* ---------- Footer ---------- */
.footer {
  background: var(--purple-deep);
  color: rgba(255,251,240,0.78);
  padding-block: var(--space-20) var(--space-8);
  margin-top: var(--space-8);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: var(--space-10);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255,251,240,0.12);
}
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-4); }
.footer__logo { width: 48px; height: 48px; border-radius: 50%; }
.footer__brand-name { font-family: var(--font-display); font-weight: 600; color: var(--color-text-inverse); font-size: 1.1rem; }
.footer__tag { font-size: var(--text-sm); color: rgba(255,251,240,0.7); max-width: 34ch; }
.footer h4 { color: var(--yellow); font-family: var(--font-body); font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: var(--space-5); font-weight: 700; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: var(--space-3); }
.footer a { font-size: var(--text-sm); }
.footer a:hover { color: var(--yellow); }
.footer__contact li { font-size: var(--text-sm); display: flex; gap: var(--space-2); align-items: flex-start; line-height: 1.5; }
.footer__contact svg { flex-shrink: 0; margin-top: 3px; color: var(--yellow); width: 18px; height: 18px; }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-4);
  padding-top: var(--space-8);
  font-size: var(--text-xs);
  color: rgba(255,251,240,0.55);
}
.footer__social { display: flex; gap: var(--space-3); }
.footer__social a {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,251,240,0.08);
  color: rgba(255,251,240,0.85);
}
.footer__social a:hover { background: var(--yellow); color: var(--purple-deep); }
.footer__social svg { width: 18px; height: 18px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16,1,0.3,1); }
.reveal.in { opacity: 1; transform: none; }
/* No-JS / reduced-motion fallback: never hide content */
html:not(.js) .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* Safety: inline UI icons should never balloon */
.card__list svg, .quote svg, .step svg { width: 1.25em; height: 1.25em; }

/* ---------- Trust logos / mini features ---------- */
.minifeatures { display: flex; flex-wrap: wrap; gap: var(--space-6) var(--space-10); justify-content: center; }
.minifeature { display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); font-weight: 600; color: var(--color-text-muted); }
.minifeature svg { color: var(--purple); width: 18px; height: 18px; flex-shrink: 0; }

/* =========================================================
   Premium component upgrades
   ========================================================= */

/* ---- Service card upgrade: gradient border + glow + animated arrow ---- */
.card--ai {
  position: relative;
  background: var(--color-surface);
  border: 1px solid transparent;
  background-clip: padding-box;
  overflow: hidden;
}
.card--ai::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, var(--purple-soft), rgba(63,27,122,0.15) 45%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0.7;
  transition: opacity var(--transition);
  pointer-events: none;
}
.card--ai:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(63,27,122,0.18); border-color: transparent; }
.card--ai:hover::before { opacity: 1; background: linear-gradient(140deg, var(--purple), var(--yellow) 120%); }
.card--ai .card__arrow {
  display: inline-flex; align-items: center; gap: 0.4em;
  margin-top: var(--space-5);
  font-weight: 600; font-size: var(--text-sm); color: var(--purple);
}
.card--ai .card__arrow svg { width: 16px; height: 16px; transition: transform var(--transition); }
.card--ai:hover .card__arrow svg { transform: translateX(5px); }

/* ---- Built for the modern stack ---- */
.section--dark {
  background:
    radial-gradient(100% 120% at 50% -20%, #2c1257, transparent 60%),
    var(--purple-darker);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.section--dark::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 56px);
  -webkit-mask-image: radial-gradient(80% 80% at 50% 50%, #000, transparent 90%);
  mask-image: radial-gradient(80% 80% at 50% 50%, #000, transparent 90%);
  pointer-events: none;
}
.section--dark .section-head h2 { color: #fff; }
.section--dark .section-head p { color: rgba(255,255,255,0.72); }
.stack-chips {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: var(--space-4);
  position: relative;
}
.chip {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-size: var(--text-sm); font-weight: 600;
  color: rgba(255,255,255,0.9);
  background: var(--surface-glass);
  border: 1px solid var(--border-glass);
  padding: 0.7rem 1.15rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}
.chip:hover { transform: translateY(-3px); border-color: rgba(255,220,27,0.5); background: rgba(255,255,255,0.12); }
.chip__check {
  display: grid; place-items: center;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(111,227,176,0.18); color: #6fe3b0;
  flex-shrink: 0;
}
.chip__check svg { width: 12px; height: 12px; }

/* ---- CTA band: gradient mesh + pulsing target ---- */
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(50% 60% at 15% 20%, rgba(63,27,122,0.14), transparent 60%),
    radial-gradient(50% 60% at 85% 80%, rgba(63,27,122,0.12), transparent 60%);
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band__pulse {
  position: absolute; right: 6%; top: 50%; transform: translateY(-50%);
  width: 150px; height: 150px; opacity: 0.5; pointer-events: none;
}
.cta-band__pulse svg { width: 100%; height: 100%; }
.cta-band__pulse circle { transform-origin: center; animation: target-pulse 3.5s ease-in-out infinite; }
.cta-band__pulse circle:nth-child(2) { animation-delay: 0.4s; }
.cta-band__pulse circle:nth-child(3) { animation-delay: 0.8s; }
@keyframes target-pulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .cta-band__pulse circle { animation: none; }
}
@media (max-width: 720px) { .cta-band__pulse { display: none; } }

/* ---- Mono accent for general stat numbers ---- */
.stat__num.mono, .tier__amount.mono { font-family: var(--font-mono); }

/* ---- About: credentials + value cards ---- */
.cred-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
@media (max-width: 900px) { .cred-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cred-grid { grid-template-columns: 1fr; } }
.cred {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  display: flex; gap: var(--space-4); align-items: flex-start;
}
.cred__ic {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: var(--radius-md);
  display: grid; place-items: center;
  background: var(--purple-tint); color: var(--purple);
}
.cred__ic svg { width: 24px; height: 24px; }
.cred h3 { font-size: var(--text-base); margin-bottom: 4px; }
.cred p { font-size: var(--text-sm); color: var(--color-text-muted); }
.btn--linkedin { background: #0a66c2; color: #fff; border-color: #0a66c2; }
.btn--linkedin:hover { background: #084e95; border-color: #084e95; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(10,102,194,0.3); }
.btn--linkedin svg { width: 18px; height: 18px; }
