/* ═══════════════════════════════════════════════════════════
   SWYZAI — styles.css
   Display: Plus Jakarta Sans 700/800  ·  Body: Inter 400/500/600
   Palette: midnight bg · refined indigo · lavender accent
═══════════════════════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --brand:        #7154FC;
  --brand-mid:    #9B7CFD;
  --brand-light:  #C4B5FD;
  --brand-dim:    rgba(113, 84, 252, 0.09);
  --brand-border: rgba(113, 84, 252, 0.22);
  --brand-glow:   rgba(113, 84, 252, 0.38);

  --bg:   #09090F;
  --bg-1: #111120;
  --bg-2: #18182C;
  --bg-3: #1F1F38;

  --text:        #EEEAF8;
  --muted:       #7B7994;
  --muted-light: #A8A5BC;

  --green:     #34D399;
  --green-dim: rgba(52, 211, 153, 0.12);
  --red:       #F87171;
  --red-dim:   rgba(248, 113, 113, 0.12);

  --border:        rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.11);

  --nav-h:  64px;
  --r-sm:   6px;
  --r-md:   10px;
  --r-lg:   14px;
  --r-xl:   20px;
  --r-full: 100px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* ── DISPLAY TYPE ── */
h1, h2, h3, .display {
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

/* ── PAGE SYSTEM ── */
.page { display: none; }
.page.active { display: block; }

/* ══════════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════════ */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-h);
  background: rgba(9, 9, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1280px; margin: 0 auto; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem;
}

.nav-logo { display: flex; align-items: center; }
.nav-logo-img { height: 48px; width: auto; display: block; }

.nav-links { display: flex; gap: 0.125rem; }

.nav-link {
  background: none; border: none;
  color: var(--muted); font-size: 0.875rem; font-weight: 500;
  padding: 0.5rem 0.875rem; border-radius: var(--r-md);
  position: relative;
  transition: color 0.15s, background 0.15s;
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.nav-link.active { color: var(--text); }
.nav-link.active::after {
  content: '';
  position: absolute; bottom: 4px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--brand);
}

.nav-cta {
  background: var(--brand); color: #fff;
  border: none; border-radius: var(--r-md);
  padding: 0.5rem 1.125rem; font-size: 0.875rem; font-weight: 600;
  transition: opacity 0.2s, transform 0.15s;
}
.nav-cta:hover { opacity: 0.88; transform: translateY(-1px); }

.nav-mobile-toggle {
  display: none; background: none; border: none;
  color: var(--text); padding: 0.375rem; border-radius: var(--r-sm);
}

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0; z-index: 199;
  background: rgba(9, 9, 15, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem; flex-direction: column; gap: 0.25rem;
}
.mobile-menu.open { display: flex; }

.mobile-nav-link {
  background: none; border: none;
  color: var(--muted); font-size: 1rem; font-weight: 500;
  text-align: left; padding: 0.875rem 1rem; border-radius: var(--r-md);
  transition: background 0.15s, color 0.15s;
}
.mobile-nav-link:hover { background: rgba(255,255,255,0.04); color: var(--text); }

/* ══════════════════════════════════════════════
   SHARED COMPONENTS
══════════════════════════════════════════════ */

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--brand); color: #fff;
  border: none; border-radius: var(--r-lg);
  padding: 0.875rem 1.875rem; font-size: 1rem; font-weight: 600;
  transition: opacity 0.2s, transform 0.15s;
  white-space: nowrap;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent; color: var(--text);
  border: 1px solid var(--border-strong); border-radius: var(--r-lg);
  padding: 0.875rem 1.875rem; font-size: 1rem; font-weight: 600;
  transition: border-color 0.2s, background 0.2s;
  white-space: nowrap;
}
.btn-ghost:hover { border-color: var(--brand-border); background: var(--brand-dim); }

/* Section labels */
.section-label {
  display: flex; align-items: center; justify-content: center; gap: 0.625rem;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand-mid); margin-bottom: 1.25rem;
}
.section-label::before {
  content: ''; display: block;
  width: 14px; height: 2px;
  background: var(--brand); border-radius: 1px;
}
.u-justify-center { justify-content: center; }

.section-h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 800; margin-bottom: 0.875rem;
  text-align: center;
}

.section-sub {
  font-size: 1.05rem; color: var(--muted);
  max-width: 500px; line-height: 1.75; margin-bottom: 3rem;
  text-align: center; margin-left: auto; margin-right: auto;
}

/* Containers */
.wrap      { max-width: 1040px; margin: 0 auto; padding: 0 1.5rem; }
.wrap-wide { max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }

.eyebrow-glyph { width: 18px; height: 18px; flex-shrink: 0; }

/* ══════════════════════════════════════════════
   HOME — HERO
══════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 4.5rem) 1.5rem 5rem;
  position: relative; overflow: hidden;
}

/* Ambient bar motif — logo at large scale, very low opacity */
.hero-bars {
  position: absolute; inset: 0;
  pointer-events: none; overflow: hidden;
}
.hero-bars span {
  position: absolute; border-radius: var(--r-full);
}
.hero-bars span:nth-child(1) {
  width: clamp(260px, 33vw, 440px); height: 26px;
  background: var(--brand-light);
  top: 26%; right: -50px;
  transform: rotate(-13deg); opacity: 0.04;
}
.hero-bars span:nth-child(2) {
  width: clamp(380px, 48vw, 600px); height: 26px;
  background: var(--brand);
  top: calc(26% + 42px); right: -50px;
  transform: rotate(-13deg); opacity: 0.055;
}
.hero-bars span:nth-child(3) {
  width: clamp(310px, 40vw, 500px); height: 26px;
  background: var(--brand);
  top: calc(26% + 84px); right: -50px;
  transform: rotate(-13deg); opacity: 0.045;
}

.hero-inner {
  max-width: 1280px; margin: 0 auto; width: 100%; padding: 0 2rem;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}

.hero-eyebrow {
  display: flex; align-items: center; gap: 0.625rem;
  margin-bottom: 1.75rem;
}
.hero-eyebrow-text {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--brand-mid);
}

.hero-headline {
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  font-weight: 800; line-height: 1.06;
  letter-spacing: -0.03em; margin-bottom: 1.625rem;
}
.hero-headline em { font-style: normal; color: var(--brand-light); }

.hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--muted); line-height: 1.75;
  max-width: 480px; margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap;
  margin-bottom: 2.75rem;
}

.hero-proof {
  display: flex; align-items: center; gap: 0;
  flex-wrap: wrap; row-gap: 0.5rem;
}
.hero-proof-item {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; color: var(--muted);
  padding-right: 1.125rem; margin-right: 1.125rem;
  border-right: 1px solid var(--border);
}
.hero-proof-item:last-child { border-right: none; padding-right: 0; margin-right: 0; }
.hero-proof-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--brand); opacity: 0.6; flex-shrink: 0;
}

/* ── Hero UI mockup ── */
.hero-ui {
  display: flex; flex-direction: column; gap: 0.875rem;
}

.ui-card {
  background: var(--bg-1);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl); padding: 1.625rem;
  box-shadow: 0 28px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(113,84,252,0.07);
}

.ui-card-header {
  display: flex; align-items: center; gap: 0.625rem;
  padding-bottom: 1.25rem; margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.ui-status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px var(--green-dim);
}
.ui-status-text { font-size: 0.875rem; font-weight: 600; color: var(--green); }

.ui-agency-label {
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.11em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1rem;
}

.ui-details { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.25rem; }
.ui-detail-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.ui-detail-label { font-size: 0.78rem; color: var(--muted); font-weight: 500; white-space: nowrap; }
.ui-detail-value { font-size: 0.875rem; color: var(--text); font-weight: 500; text-align: right; }

.ui-actions-list {
  display: flex; flex-direction: column; gap: 0.5rem;
  padding-top: 1.125rem; border-top: 1px solid var(--border);
}
.ui-action {
  display: flex; align-items: center; gap: 0.625rem;
  font-size: 0.78rem; color: var(--muted-light);
}
.ui-action svg { flex-shrink: 0; width: 14px; height: 14px; opacity: 0.6; }

.ui-notif {
  background: var(--bg-2);
  border: 1px solid var(--brand-border);
  border-radius: var(--r-lg); padding: 0.875rem 1.125rem;
  display: flex; align-items: center; gap: 0.875rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 24px var(--brand-glow);
  animation: notif-pulse 3.5s ease-in-out infinite;
}
@keyframes notif-pulse {
  0%, 100% { box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 20px rgba(113,84,252,0.2); }
  50%       { box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 36px rgba(113,84,252,0.38); }
}
.ui-notif-icon {
  width: 36px; height: 36px; border-radius: var(--r-md); flex-shrink: 0;
  background: var(--brand-dim); border: 1px solid var(--brand-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-light);
}
.ui-notif-icon svg { width: 16px; height: 16px; }
.ui-notif-title { font-size: 0.875rem; font-weight: 600; color: var(--text); margin-bottom: 0.15rem; }
.ui-notif-sub   { font-size: 0.78rem; color: var(--muted); }

/* ══════════════════════════════════════════════
   HOME — TRUST STRIP
══════════════════════════════════════════════ */
.trust-strip {
  padding: 3rem 1.5rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.trust-label {
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.75rem;
}
.trust-logos { display: flex; align-items: center; justify-content: center; gap: 2.5rem; flex-wrap: wrap; }
.trust-logo {
  display: flex; align-items: center; gap: 0.5rem;
  opacity: 0.45; transition: opacity 0.2s;
}
.trust-logo:hover { opacity: 0.7; }
.trust-logo svg { height: 20px; width: auto; }
.trust-logo span {
  font-size: 0.9rem; font-weight: 700;
  color: var(--muted); letter-spacing: -0.01em;
}
.trust-more {
  margin-top: 1.25rem;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); opacity: 0.4;
}

/* ══════════════════════════════════════════════
   HOME — PROBLEM
══════════════════════════════════════════════ */
.problem-section { padding: 6rem 0; }

.chaos-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-xl); overflow: hidden;
  margin-bottom: 3.5rem;
}
.chaos-item {
  background: var(--bg-1); padding: 1.875rem 1.625rem;
  display: flex; flex-direction: column; gap: 0.625rem;
}
.chaos-icon { font-size: 1.4rem; }
.chaos-item strong { font-size: 0.975rem; font-weight: 700; display: block; }
.chaos-item p     { font-size: 0.875rem; color: var(--muted); line-height: 1.6; }

/* Bar-data stats */
.stat-list { display: flex; flex-direction: column; gap: 1.375rem; }
.stat-item {
  display: grid; grid-template-columns: 72px 1fr;
  gap: 1.25rem; align-items: center;
}
.stat-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.75rem; font-weight: 800;
  color: var(--brand-light); letter-spacing: -0.03em;
  text-align: right;
}
.stat-body { display: flex; flex-direction: column; gap: 0.4rem; }
.stat-bar {
  height: 5px; border-radius: var(--r-full);
  background: var(--border); overflow: hidden;
}
.stat-bar-fill {
  height: 100%; border-radius: var(--r-full);
  background: linear-gradient(90deg, var(--brand), var(--brand-mid));
  width: 0; transition: width 1.2s var(--ease-out);
}
.stat-label { font-size: 0.82rem; color: var(--muted); line-height: 1.45; }

/* ══════════════════════════════════════════════
   HOME — HOW IT WORKS STRIP
══════════════════════════════════════════════ */
.how-strip {
  padding: 6rem 0;
  background: linear-gradient(to bottom, var(--bg), var(--bg-1), var(--bg));
  border-top: 1px solid var(--border);
}

.how-steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--r-xl);
  overflow: hidden; margin-top: 3rem;
}
.how-step { background: var(--bg-1); padding: 2rem 1.875rem; }

.how-step-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.68rem; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand-mid); margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.625rem;
}
.how-step-num::after { content: ''; flex: 1; height: 1px; background: var(--brand-border); }

.how-step h3  { font-size: 1.05rem; font-weight: 800; margin-bottom: 0.5rem; }
.how-step p   { font-size: 0.875rem; color: var(--muted); line-height: 1.65; }

/* ══════════════════════════════════════════════
   HOME — FEATURES
══════════════════════════════════════════════ */
.features-section { padding: 6rem 0; }

.features-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.125rem;
}

.feature-card {
  grid-column: span 2;
  background: var(--bg-1); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 2rem;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover { border-color: var(--brand-border); transform: translateY(-2px); }

.feature-card-sm {
  grid-column: span 1;
  background: var(--bg-1); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 1.5rem;
  transition: border-color 0.2s;
}
.feature-card-sm:hover { border-color: var(--brand-border); }

.feature-icon {
  width: 42px; height: 42px; border-radius: var(--r-md); flex-shrink: 0;
  background: var(--brand-dim); border: 1px solid var(--brand-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-light); margin-bottom: 1.25rem;
}
.feature-icon svg { width: 20px; height: 20px; }

.feature-icon-sm {
  width: 34px; height: 34px; border-radius: var(--r-sm);
  background: var(--brand-dim); border: 1px solid var(--brand-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-light); margin-bottom: 1rem;
}
.feature-icon-sm svg { width: 16px; height: 16px; }

.feature-card h3    { font-size: 1.1rem; font-weight: 800; margin-bottom: 0.5rem; }
.feature-card p     { font-size: 0.9rem; color: var(--muted); line-height: 1.65; }
.feature-card-sm h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.4rem; }
.feature-card-sm p  { font-size: 0.84rem; color: var(--muted); line-height: 1.6; }

/* ══════════════════════════════════════════════
   HOME — BUSINESS CASE
══════════════════════════════════════════════ */
.business-section { padding: 3rem 0 6rem; }

.business-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.125rem; margin-bottom: 2.5rem;
}

.rev-callout {
  border: 1px solid var(--brand-border); background: var(--brand-dim);
  border-radius: var(--r-xl); padding: 2rem 2.5rem;
}
.rev-callout p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem); font-weight: 700;
  line-height: 1.55;
}
.rev-callout em { font-style: normal; color: var(--brand-light); }

/* ══════════════════════════════════════════════
   HOME — STORY
══════════════════════════════════════════════ */
.story-section {
  padding: 6rem 0;
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.story-inner { max-width: 680px; margin: 0 auto; }

blockquote {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem); font-weight: 700;
  line-height: 1.65; color: var(--text);
  padding-left: 1.75rem; border-left: 3px solid var(--brand);
  margin-bottom: 1.625rem;
}
blockquote em { font-style: normal; color: var(--brand-light); }

.story-attr {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem;
}
.story-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: var(--brand-dim); border: 1px solid var(--brand-border);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1rem; font-weight: 800; color: var(--brand-light);
}
.story-name { font-size: 0.9rem; font-weight: 700; margin-bottom: 0.15rem; }
.story-role { font-size: 0.8rem; color: var(--muted); }

/* ══════════════════════════════════════════════
   HOME — FAQ
══════════════════════════════════════════════ */
.faq-section { padding: 6rem 0; }
.faq-list { display: flex; flex-direction: column; gap: 0.625rem; }

.faq-item {
  background: var(--bg-1); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open { border-color: var(--brand-border); }

.faq-q {
  width: 100%; background: none; border: none;
  color: var(--text); font-size: 0.975rem; font-weight: 600;
  text-align: left; padding: 1.25rem 1.5rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  transition: color 0.15s;
}
.faq-q:hover { color: var(--brand-light); }

.faq-chevron { flex-shrink: 0; color: var(--muted); transition: transform 0.25s var(--ease-out); }
.faq-item.open .faq-chevron { transform: rotate(180deg); }

.faq-a {
  font-size: 0.9rem; color: var(--muted); line-height: 1.75;
  max-height: 0; overflow: hidden; padding: 0 1.5rem;
  transition: max-height 0.3s var(--ease-out), padding 0.3s;
}
.faq-item.open .faq-a { max-height: 400px; padding: 0 1.5rem 1.375rem; }

/* ══════════════════════════════════════════════
   HOME — CTA BLOCK
══════════════════════════════════════════════ */
.cta-block {
  padding: 7rem 0; text-align: center;
  position: relative; overflow: hidden;
}
.cta-glow {
  position: absolute; bottom: -15%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(113,84,252,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.cta-block h2 {
  font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800;
  max-width: 620px; margin: 0 auto 1.25rem;
}
.cta-block h2 em { font-style: normal; color: var(--brand-light); }
.cta-sub {
  font-size: 1.05rem; color: var(--muted);
  max-width: 440px; margin: 0 auto 2.5rem; line-height: 1.7;
}
.cta-note { font-size: 0.78rem; color: var(--muted); margin-top: 1rem; }

/* ══════════════════════════════════════════════
   INTERIOR PAGE HERO
══════════════════════════════════════════════ */
.page-hero {
  padding: calc(var(--nav-h) + 5rem) 1.5rem 5rem;
  text-align: center; position: relative; overflow: hidden;
}
.page-hero-glow {
  position: absolute; top: -10%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(113,84,252,0.14) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.5rem); font-weight: 800;
  max-width: 680px; margin: 0 auto 1.125rem;
}
.page-hero h1 em { font-style: normal; color: var(--brand-light); }
.page-hero > p {
  font-size: 1.05rem; color: var(--muted);
  max-width: 520px; margin: 0 auto; line-height: 1.75;
}

/* ══════════════════════════════════════════════
   HOW IT WORKS PAGE
══════════════════════════════════════════════ */
.before-after {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--r-xl);
  overflow: hidden; margin-bottom: 4rem;
}
.ba-col { padding: 2rem; }
.ba-col.before { background: var(--bg-1); }
.ba-col.after  { background: rgba(113,84,252,0.05); }

.ba-badge {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.3rem 0.75rem; border-radius: var(--r-full);
  display: inline-block; margin-bottom: 1.375rem;
}
.before .ba-badge { background: rgba(255,255,255,0.05); color: var(--muted); }
.after  .ba-badge { background: var(--brand-dim); color: var(--brand-mid); border: 1px solid var(--brand-border); }

.ba-list { display: flex; flex-direction: column; gap: 0.875rem; }
.ba-item {
  display: flex; align-items: flex-start; gap: 0.75rem;
  font-size: 0.9rem; line-height: 1.55; color: var(--muted);
}
.ba-icon { flex-shrink: 0; }
.after .ba-item { color: var(--muted-light); }

/* Phases */
.phase-block { margin-bottom: 3.5rem; }
.phase-header {
  display: flex; align-items: center; gap: 1.125rem;
  padding-bottom: 1.25rem; margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
}
.phase-num {
  width: 3rem; height: 3rem; border-radius: var(--r-md); flex-shrink: 0;
  background: var(--brand-dim); border: 1px solid var(--brand-border);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.875rem; font-weight: 800; color: var(--brand-light);
}
.phase-title { }
.phase-title h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 0.25rem; }
.phase-title p  { font-size: 0.875rem; color: var(--muted); }

.detail-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.detail-card {
  background: var(--bg-1); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 1.375rem 1.5rem;
}
.detail-card strong { font-size: 0.9rem; font-weight: 700; display: block; margin-bottom: 0.375rem; }
.detail-card p { font-size: 0.84rem; color: var(--muted); line-height: 1.6; }

/* ══════════════════════════════════════════════
   CASE STUDY
══════════════════════════════════════════════ */
.cs-meta {
  display: flex; flex-wrap: wrap; gap: 2.5rem;
  padding-bottom: 2.5rem; margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}
.cs-meta-item { display: flex; flex-direction: column; gap: 0.3rem; }
.cs-meta-label {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.cs-meta-value { font-size: 0.975rem; font-weight: 700; }

.cs-stack { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 3rem; }
.cs-tag {
  background: var(--brand-dim); border: 1px solid var(--brand-border);
  color: var(--brand-light); font-size: 0.78rem; font-weight: 600;
  padding: 0.3rem 0.75rem; border-radius: var(--r-full);
}

.cs-divider { border: none; border-top: 1px solid var(--border); margin: 3rem 0; }

.cs-section-title { font-size: 1.15rem; font-weight: 800; margin-bottom: 1.125rem; }
.cs-body { font-size: 1rem; color: var(--muted); line-height: 1.8; margin-bottom: 1.375rem; }

.cs-modules {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.125rem; margin-bottom: 2rem;
}
.cs-module {
  background: var(--bg-1); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 1.5rem;
}
.cs-module-icon { font-size: 1.25rem; display: block; margin-bottom: 0.75rem; }
.cs-module h4   { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.375rem; }
.cs-module p    { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }

.cs-quote {
  background: var(--bg-2); border: 1px solid var(--border);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
  padding: 1.5rem 1.75rem; margin: 2.5rem 0;
}
.cs-quote p    { font-size: 1rem; font-weight: 600; line-height: 1.65; margin-bottom: 0.75rem; }
.cs-quote cite { font-size: 0.82rem; color: var(--muted); font-style: normal; }

/* ══════════════════════════════════════════════
   ABOUT
══════════════════════════════════════════════ */
.about-grid {
  display: grid; grid-template-columns: 260px 1fr;
  gap: 4rem; align-items: flex-start;
}
.about-sidebar { position: sticky; top: calc(var(--nav-h) + 2rem); }

.about-avatar-block {
  background: var(--bg-1); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 2rem;
  text-align: center; margin-bottom: 1.25rem;
}
.about-avatar-circle {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--brand-dim); border: 2px solid var(--brand-border);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.75rem; font-weight: 800; color: var(--brand-light);
  margin: 0 auto 1rem;
}
.about-name  { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.2rem; }
.about-title { font-size: 0.82rem; color: var(--muted); }

.about-links { display: flex; flex-direction: column; gap: 0.5rem; }
.about-link-btn {
  display: flex; align-items: center; gap: 0.625rem;
  background: var(--bg-1); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 0.75rem 1rem;
  font-size: 0.875rem; font-weight: 600; color: var(--text);
  font-family: inherit; transition: border-color 0.2s;
}
.about-link-btn:hover { border-color: var(--brand-border); }
.about-link-btn svg { flex-shrink: 0; opacity: 0.5; }

.about-body h3 {
  font-size: 1.25rem; font-weight: 800;
  margin-bottom: 0.875rem; margin-top: 2.5rem;
}
.about-body h3:first-child { margin-top: 0; }
.about-body p { font-size: 1rem; color: var(--muted); line-height: 1.8; margin-bottom: 1rem; }

.about-values {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem; margin: 1.5rem 0;
}
.about-value {
  background: var(--bg-1); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 1.25rem;
}
.about-value strong { font-size: 0.9rem; font-weight: 700; display: block; margin-bottom: 0.35rem; }
.about-value p { font-size: 0.82rem; color: var(--muted); line-height: 1.6; margin: 0; }

/* ══════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.55fr;
  gap: 4rem; align-items: flex-start;
}
.contact-info h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 0.75rem; }
.contact-info > p { font-size: 0.95rem; color: var(--muted); line-height: 1.75; margin-bottom: 2rem; }

.contact-expectations {
  background: var(--bg-1); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 1.5rem;
}
.contact-expectations h4 { font-size: 0.875rem; font-weight: 700; margin-bottom: 1rem; }

.exp-list { display: flex; flex-direction: column; gap: 0.75rem; }
.exp-item {
  display: flex; align-items: flex-start; gap: 0.625rem;
  font-size: 0.875rem; color: var(--muted); line-height: 1.5;
}
.exp-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand); flex-shrink: 0; margin-top: 0.45rem;
}

.contact-form {
  background: var(--bg-1); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 2.25rem;
}
.form-h { font-size: 1.1rem; font-weight: 800; margin-bottom: 1.75rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.125rem; }
.form-label { font-size: 0.82rem; font-weight: 600; color: var(--text); }

.form-input,
.form-select,
.form-textarea {
  background: var(--bg); border: 1px solid var(--border-strong);
  border-radius: var(--r-md); padding: 1rem 1.125rem;
  color: var(--text); font-size: 0.9rem; font-family: inherit;
  outline: none; width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--brand-border);
  box-shadow: 0 0 0 3px var(--brand-dim);
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--muted); }

.form-input.error,
.form-select.error,
.form-textarea.error { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-dim); }

.form-error {
  font-size: 0.78rem; color: var(--red);
  display: none; margin-top: -0.25rem;
}
.form-error.show { display: block; }

.form-select { appearance: none; cursor: pointer; }
.form-select option { background: var(--bg-1); color: var(--text); }

.form-textarea { resize: vertical; min-height: 160px; line-height: 1.6; }
.u-min-h-textarea { min-height: 100px; }

.form-submit {
  width: 100%; background: var(--brand); color: #fff;
  border: none; border-radius: var(--r-lg);
  padding: 1rem; font-size: 1rem; font-weight: 700; font-family: inherit;
  transition: opacity 0.2s, transform 0.15s;
}
.form-submit:hover { opacity: 0.88; transform: translateY(-1px); }

.form-success { display: none; text-align: center; padding: 2rem; }
.success-icon { font-size: 2.5rem; display: block; margin-bottom: 1rem; }
.form-success h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 0.5rem; }
.form-success p  { font-size: 0.9rem; color: var(--muted); }

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
footer {
  border-top: 1px solid var(--border);
  padding: 1.75rem 2rem;
  text-align: center;
}
.footer-copy { font-size: 0.8rem; color: var(--muted); }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-link {
  font-size: 0.8rem; color: var(--muted);
  background: none; border: none; font-family: inherit;
  transition: color 0.15s;
}
.footer-link:hover { color: var(--brand); }

/* ══════════════════════════════════════════════
   SCROLL ANIMATIONS
══════════════════════════════════════════════ */
.fade-up {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.fade-up.visible { opacity: 1; transform: none; }
.fade-up.d1 { transition-delay: 0.1s; }
.fade-up.d2 { transition-delay: 0.2s; }
.fade-up.d3 { transition-delay: 0.3s; }
.fade-up.d4 { transition-delay: 0.4s; }

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-sub   { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-proof   { justify-content: center; }
  .hero-eyebrow { justify-content: center; }
  .hero-ui      { display: none; }

  .how-steps { grid-template-columns: 1fr; }

  .features-grid { grid-template-columns: 1fr 1fr; }
  .feature-card    { grid-column: span 2; }
  .feature-card-sm { grid-column: span 1; }

  .business-grid { grid-template-columns: 1fr; }

  .before-after { grid-template-columns: 1fr; }

  .about-grid { grid-template-columns: 1fr; }
  .about-sidebar { position: static; }
  .about-values { grid-template-columns: 1fr; }

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

@media (max-width: 640px) {
  nav { padding: 0 1.25rem; }
  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .nav-mobile-toggle { display: block; }

  .features-grid   { grid-template-columns: 1fr; }
  .feature-card    { grid-column: span 1; }
  .feature-card-sm { grid-column: span 1; }

  footer { flex-direction: column; align-items: flex-start; }
}

/* ══════════════════════════════════════════════
   REDUCED MOTION
══════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .fade-up { opacity: 1; transform: none; }
  .stat-bar-fill { transition: none; }
  .ui-notif { animation: none; }
}

/* ══════════════════════════════════════════════
   AGENCY PAGE
══════════════════════════════════════════════ */

/* Hero */
.agency-hero {
  position: relative;
  padding: calc(var(--nav-h) + 5.5rem) 1.5rem 5.5rem;
  text-align: center;
  overflow: hidden;
}
.agency-hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 900px 560px at 50% 25%, rgba(113,84,252,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.agency-hero-content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.agency-headline {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.agency-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--muted);
  line-height: 1.75;
  max-width: 580px;
  margin: 0 0 2rem;
}
.agency-hero-actions { justify-content: center; }
.agency-hero-proof   { justify-content: center; }

/* Process */
.process-section {
  padding: 5rem 1.5rem;
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.process-grid {
  display: flex;
  flex-direction: column;
  margin-top: 3rem;
}
.process-step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 2.25rem;
  padding: 2.75rem 0;
  border-bottom: 1px solid var(--border);
}
.process-step:last-child { border-bottom: none; }
.process-step-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--brand);
  opacity: 0.3;
  line-height: 1;
  padding-top: 0.25rem;
}
.process-step-body h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}
.process-tagline {
  font-size: 0.9rem;
  color: var(--brand-light);
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.process-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.process-list li {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
  padding-left: 1.25rem;
  position: relative;
}
.process-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0.55;
}
.process-cta {
  margin-top: 3rem;
  text-align: center;
}

/* Testimonials */
.testi-section {
  padding: 5rem 1.5rem;
}
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}
.testi-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.2s;
}
.testi-card:hover { border-color: var(--brand-border); }
.testi-card h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.05rem; font-weight: 800; }
.testi-quote-mark {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--brand);
  opacity: 0.35;
}
.testi-quote {
  font-size: 0.95rem;
  color: var(--muted-light);
  line-height: 1.75;
  flex: 1;
}
.testi-attr {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  margin-top: 0.25rem;
}
.testi-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--brand-dim);
  border: 1px solid var(--brand-border);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem; font-weight: 800;
  color: var(--brand-light);
  flex-shrink: 0;
}
.testi-name { font-size: 0.875rem; font-weight: 700; }
.testi-role { font-size: 0.78rem; color: var(--muted); margin-top: 0.15rem; }

/* Founder */
.founder-section {
  padding: 5rem 1.5rem;
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.founder-inner {
  max-width: 860px;
  margin: 3rem auto 0;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 4rem;
  align-items: start;
}
.founder-sidebar { text-align: center; }
.founder-avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--brand-dim);
  border: 2px solid var(--brand-border);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2rem; font-weight: 800;
  color: var(--brand-light);
  margin: 0 auto 1rem;
}
.founder-name  { font-size: 1.05rem; font-weight: 800; margin-bottom: 0.2rem; }
.founder-title { font-size: 0.82rem; color: var(--muted); margin-bottom: 1.5rem; }
.founder-links { display: flex; flex-direction: column; gap: 0.5rem; }
.founder-link {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 0.65rem 1rem;
  font-size: 0.825rem; font-weight: 600;
  color: var(--text); text-decoration: none; font-family: inherit;
  transition: border-color 0.2s;
}
.founder-link:hover { border-color: var(--brand-border); }
.founder-link svg { opacity: 0.5; flex-shrink: 0; }
.founder-body h3 {
  font-size: 1.15rem; font-weight: 800;
  margin-bottom: 0.75rem; margin-top: 2rem;
}
.founder-body h3:first-child { margin-top: 0; }
.founder-body p { font-size: 0.975rem; color: var(--muted); line-height: 1.8; margin-bottom: 1rem; }
.founder-body .btn-ghost { margin-top: 0.75rem; }

/* Agency contact form */
.agency-form {
  max-width: 720px;
  margin: 0 auto 1.5rem;
  background: rgba(17, 17, 32, 0.7);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  padding: 2.25rem;
  text-align: left;
  backdrop-filter: blur(12px);
}

/* Multi-select pills (agency form) */
.pill-group { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pill-option input {
  position: absolute; opacity: 0; pointer-events: none;
}
.pill-option span {
  display: inline-block; padding: 0.6rem 1rem; border-radius: 999px;
  border: 1px solid var(--border-strong); background: var(--bg);
  font-size: 0.85rem; font-weight: 500; color: var(--muted-light);
  cursor: pointer; user-select: none;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.pill-option span:hover { border-color: var(--brand-border); color: var(--text); }
.pill-option input:checked + span {
  background: var(--brand-dim); border-color: var(--brand-border);
  color: var(--brand-light); font-weight: 600;
}
.pill-option input:focus-visible + span { box-shadow: 0 0 0 3px var(--brand-dim); }

/* Honeypot — hidden from real users, visible to bots */
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* Responsive — agency page */
@media (max-width: 900px) {
  .testi-grid { grid-template-columns: 1fr; }
  .founder-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .founder-sidebar {
    display: flex; align-items: center;
    gap: 1.5rem; text-align: left; flex-wrap: wrap;
  }
  .founder-avatar { margin: 0; flex-shrink: 0; }
  .founder-title  { margin-bottom: 0; }
  .founder-links  { flex-direction: row; flex-wrap: wrap; }
  .founder-link   { flex: 1; min-width: 120px; }
}
@media (max-width: 640px) {
  .agency-headline { font-size: 2rem; }
  .process-step    { grid-template-columns: 1fr; gap: 0.75rem; }
  .process-step-num { font-size: 1.5rem; padding-top: 0; }
  .testi-grid      { grid-template-columns: 1fr; }
}
