/* ============================================================
   FLEXXI CARE — CASE STUDY
   Tokens, components, and layout are kept 1:1 with the main
   portfolio (css/styles.css). Case-study-only rules are in the
   final section, clearly marked.
   ============================================================ */

/* ── TOKENS (exact copy from portfolio) ─────────────────────── */
:root {
  --bg:          #0d0c18;
  --surface:     #13111e;
  --surface-2:   #1b182a;
  --surface-3:   #232035;

  --border:      rgba(255,255,255,.07);
  --border-hi:   rgba(255,255,255,.14);

  --text:        #f0eeff;
  --muted:       #8882a6;
  --dim:         rgba(255,255,255,.28);

  --accent:      #9b74cc;
  --accent-glow: rgba(155,116,204,.22);
  --accent-dim:  rgba(155,116,204,.09);

  --r:           12px;
  --r-lg:        20px;
  --r-xl:        24px;
  --nav-h:       72px;
  --ease:        cubic-bezier(0.16, 1, 0.3, 1);
  --f-head:      'Inter', system-ui, -apple-system, sans-serif;
  --f-body:      'Inter', system-ui, -apple-system, sans-serif;
}

/* ── RESET ───────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { background: var(--bg); color: var(--text); font-family: var(--f-body); font-size: 16px; line-height: 1.6; overflow-x: hidden; cursor: none; }
img, svg { display: block; max-width: 100%; }
a        { color: inherit; text-decoration: none; }
ul, ol   { list-style: none; }
button   { cursor: none; border: none; background: none; font-family: inherit; color: inherit; }
figure   { margin: 0; }
figcaption { font-size: 13px; color: var(--muted); margin-top: 14px; font-style: italic; line-height: 1.6; }

/* ── CURSOR ──────────────────────────────────────────────────── */
.cursor {
  position: fixed; width: 8px; height: 8px;
  background: var(--accent); border-radius: 50%;
  pointer-events: none; z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width .2s var(--ease), height .2s var(--ease);
  mix-blend-mode: exclusion; will-change: transform;
}
.cursor-follower {
  position: fixed; width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,.25); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .35s var(--ease), height .35s var(--ease), border-color .2s;
  will-change: transform;
}
body.c-hover .cursor          { width: 0; height: 0; }
body.c-hover .cursor-follower { width: 64px; height: 64px; border-color: var(--accent); }

/* ── LAYOUT ──────────────────────────────────────────────────── */
.container {
  width: 100%; max-width: 1280px;
  margin: 0 auto; padding: 0 48px;
}
section { padding: 140px 0; }

/* ── NAVIGATION ──────────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto;
  height: var(--nav-h); padding: 0 48px;
  display: flex; align-items: center;
  z-index: 900;
  transition: background .4s, backdrop-filter .4s, transform .45s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(13,12,24,.94);
  backdrop-filter: blur(28px) saturate(1.4); -webkit-backdrop-filter: blur(28px) saturate(1.4);
  border-color: rgba(255,255,255,.07);
}
.nav.hidden { transform: translateY(-100%); }

.nav-inner {
  width: 100%; max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { font-family: var(--f-head); font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.nav-logo span { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 40px; }
.nav-link  { font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: .01em; transition: color .2s; }
.nav-link:hover, .nav-link.active { color: var(--text); }

.nav-cta {
  color: var(--text) !important;
  border: 1px solid var(--border-hi);
  padding: 8px 22px; border-radius: 100px;
  transition: border-color .2s, color .2s, background .2s !important;
}
.nav-cta:hover { border-color: var(--accent); color: var(--accent) !important; background: var(--accent-dim); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--text); transition: transform .3s, opacity .3s; }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; background: var(--bg); z-index: 800;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .4s var(--ease);
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 8px; text-align: center; }
.mobile-link {
  font-family: var(--f-head); font-size: clamp(36px, 8vw, 60px);
  font-weight: 700; letter-spacing: -.02em;
  color: var(--dim); display: block; padding: 8px;
  transition: color .2s;
}
.mobile-link:hover { color: var(--text); }

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  min-height: max(82vh, 560px);
  display: flex; flex-direction: column; justify-content: center;
  padding-top: var(--nav-h); position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 115% 90% at 50% 50%, transparent 48%, rgba(6,6,6,.68) 100%),
    var(--bg);
}
/* Grain texture */
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 300px 300px; opacity: .024;
  pointer-events: none; z-index: 0;
}
.hero-glow {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 60% 70% at 50% 45%, rgba(194,255,87,.07) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 68% 60%, rgba(60,80,220,.05) 0%, transparent 58%);
}
.hero-container {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  gap: 48px; padding-top: 20px; padding-bottom: 36px;
}
.hero-content { max-width: 800px; }

/* Eyebrow pill */
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255,255,255,.48);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  padding: 6px 14px 6px 10px; border-radius: 100px;
  margin-bottom: 22px; opacity: 0; width: fit-content;
}
.eyebrow-dot {
  width: 6px; height: 6px; background: var(--accent); border-radius: 50%;
  flex-shrink: 0; animation: blink 2.5s ease-in-out infinite;
}
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:.25; } }

/* Title */
.hero-title {
  font-family: var(--f-head); font-size: clamp(38px, 5.5vw, 72px);
  font-weight: 700; line-height: 1.08;
  letter-spacing: -.025em; margin-bottom: 18px;
}
.title-line    { display: block; opacity: 0; }
.title-tertiary {
  font-size: .68em; font-weight: 300;
  color: rgba(255,255,255,.52); letter-spacing: -.01em; margin-top: .2em;
}

.hero-subtitle {
  font-size: clamp(14px, 1.3vw, 17px); font-weight: 400;
  color: rgba(255,255,255,.42); max-width: 460px;
  line-height: 1.8; margin-bottom: 28px; opacity: 0;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; opacity: 0; }

/* Scroll hint */
.hero-scroll {
  position: absolute; bottom: 22px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--muted); font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  opacity: 0; animation: fadeUp 1s 2.2s forwards; z-index: 1;
}
.scroll-bar {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, var(--muted), transparent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes fadeUp { to { opacity: 1; } }
@keyframes pulse  { 0%,100% { transform: scaleY(1); opacity: .4; } 50% { opacity: .9; } }

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 34px; border-radius: 100px;
  font-size: 15px; font-weight: 500; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, border-color .2s, color .2s;
}
.btn-primary { background: linear-gradient(135deg, #7b5ea7 0%, #9b74cc 100%); color: #fff; font-weight: 600; }
.btn-primary:hover { background: linear-gradient(135deg, #8b6ec2 0%, #ab84e0 100%); transform: translateY(-2px); box-shadow: 0 10px 40px var(--accent-glow); }
.btn-ghost   { border: 1px solid rgba(255,255,255,.11); color: var(--text); }
.btn-ghost:hover { border-color: rgba(255,255,255,.24); background: rgba(255,255,255,.05); }
.btn-full    { width: 100%; }

/* ── SECTION HEADERS ─────────────────────────────────────────── */
.section-head {
  display: flex; align-items: flex-start; gap: 24px;
  margin-bottom: 80px;
}
.section-num {
  font-family: var(--f-head); font-size: 12px; font-weight: 700;
  letter-spacing: .1em; color: var(--accent);
  padding-top: 8px; flex-shrink: 0;
}
.section-title {
  font-family: var(--f-head); font-size: clamp(32px, 4.5vw, 58px);
  font-weight: 700; letter-spacing: -.02em; line-height: 1.1;
}
.section-sub { font-size: 17px; color: var(--muted); margin-top: 12px; font-weight: 300; }

/* ── ABOUT-INTRO CARD ────────────────────────────────────────── */
.about-intro {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 48px; margin-bottom: 18px;
}
.about-headline {
  font-family: var(--f-head); font-size: clamp(19px, 2vw, 26px);
  font-weight: 600; letter-spacing: -.016em; line-height: 1.35;
  color: var(--text); margin-bottom: 22px;
}
.about-intro-body p { font-size: 16px; color: var(--muted); line-height: 1.8; margin-bottom: 14px; max-width: 740px; }
.about-intro-body p:last-child { margin-bottom: 0; }
.about-note { font-size: 14px !important; font-style: italic; color: rgba(255,255,255,.33) !important; }

.about-stats-row {
  display: flex; align-items: center;
  margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--border);
}
.astat          { display: flex; flex-direction: column; gap: 5px; }
.astat-figures  { line-height: 1; }
.astat-num      { font-family: var(--f-head); font-size: 36px; font-weight: 800; color: var(--accent); display: inline; }
.astat-suffix   { font-family: var(--f-head); font-size: 36px; font-weight: 800; color: var(--accent); display: inline; }
.astat-label    { font-size: 13px; color: var(--muted); display: block; }
.astat-domains  { font-size: 13px; color: var(--muted); line-height: 1.7; }
.astat-sep      { width: 1px; height: 44px; background: var(--border); margin: 0 40px; flex-shrink: 0; }

/* ── ABOUT-WORKFLOW CARD ─────────────────────────────────────── */
.about-workflow {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 40px 48px; margin-bottom: 18px;
}
.about-label {
  font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); display: block; margin-bottom: 32px;
}
.about-steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}
.about-step { padding: 0 28px; border-right: 1px solid var(--border); }
.about-step:first-child { padding-left: 0; }
.about-step:last-child  { border-right: none; padding-right: 0; }
.step-num   { font-size: 11px; font-weight: 600; letter-spacing: .08em; color: rgba(255,255,255,.2); display: block; margin-bottom: 14px; }
.step-body h4 { font-family: var(--f-head); font-size: 15px; font-weight: 600; color: var(--text); letter-spacing: -.01em; margin-bottom: 8px; }
.step-body p  { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ── ABOUT-CAPS GRID ─────────────────────────────────────────── */
.about-caps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.about-cap-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 32px 28px;
  transition: border-color .25s var(--ease);
}
.about-cap-card:hover        { border-color: var(--border-hi); }
.about-cap-featured          { background: var(--surface-2); border-color: rgba(155,116,204,.12); }
.about-cap-featured:hover    { border-color: rgba(155,116,204,.26); }
.cap-label                   { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.38); display: block; margin-bottom: 20px; }
.cap-label-accent            { color: var(--accent); }

/* ── WORKFLOW STEPS (card grid) ──────────────────────────────── */
.workflow-step {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 32px 26px;
  position: relative; overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease, transform .35s var(--ease);
}
.workflow-step::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.workflow-step:hover { border-color: rgba(155,116,204,.22); box-shadow: 0 8px 32px rgba(0,0,0,.4), 0 0 0 1px rgba(155,116,204,.08); transform: translateY(-4px); }
.workflow-step:hover::before { transform: scaleX(1); }

.ws-num  { font-family: var(--f-head); font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--accent); margin-bottom: 18px; }
.ws-icon { width: 38px; height: 38px; color: var(--muted); margin-bottom: 14px; }
.ws-icon svg { width: 100%; height: 100%; }
.workflow-step h3 { font-size: 16px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 10px; }
.workflow-step p  { font-size: 14px; color: var(--muted); line-height: 1.65; margin-bottom: 14px; }
.workflow-step p:last-child { margin-bottom: 0; }

.ws-tools { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.ws-tools span { font-size: 11px; font-weight: 500; padding: 3px 10px; background: var(--accent-dim); color: var(--accent); border-radius: 100px; }

/* ── PROJECT TAGS ────────────────────────────────────────────── */
.project-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.project-tags span { font-size: 12px; padding: 5px 14px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 100px; color: var(--muted); }

/* ── WORKFLOW QUOTE ──────────────────────────────────────────── */
.workflow-quote {
  border-left: 2px solid var(--accent); padding: 24px 32px;
  background: var(--accent-dim); border-radius: 0 var(--r) var(--r) 0;
  font-size: clamp(16px, 1.8vw, 20px); font-style: italic;
  line-height: 1.65; letter-spacing: -.01em;
}

/* ── CONTACT SECTION ─────────────────────────────────────────── */
.contact {
  background:
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(155,116,204,.06) 0%, transparent 65%),
    var(--surface);
  border-top: 1px solid rgba(255,255,255,.07); padding: 140px 0;
}
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: start; }
.contact-title { font-family: var(--f-head); font-size: clamp(28px, 3.4vw, 46px); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; margin-top: 24px; margin-bottom: 18px; }
.contact-sub   { font-size: 16px; color: var(--muted); line-height: 1.7; margin-bottom: 40px; }
.socials       { display: flex; flex-direction: column; gap: 12px; }
.social-link   { font-size: 15px; color: var(--muted); display: inline-block; transition: color .2s; }
.social-link:hover { color: var(--accent); }

/* ── FOOTER ──────────────────────────────────────────────────── */
.footer       { border-top: 1px solid var(--border); padding: 32px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; }
.footer-inner p  { font-size: 14px; color: var(--muted); }
.footer-top { font-size: 14px; color: var(--muted); transition: color .2s; }
.footer-top:hover { color: var(--text); }

/* ── SCROLL REVEAL ───────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* ── SECTION DIVIDERS ────────────────────────────────────────── */
.cs-section + .cs-section,
.cs-section + .contact { border-top: 1px solid var(--border); }

/* ============================================================
   CASE-STUDY-SPECIFIC EXTENSIONS
   Everything below is unique to the case study page.
   ============================================================ */

/* ── Section background variants ────────────────────────────── */
.cs-section            { padding: 140px 0; }
.cs-section--surface   {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(155,116,204,.05) 0%, transparent 65%),
    var(--surface);
}

/* ── Hero: case-study adaptations ───────────────────────────── */
.cs-hero-glow {
  background:
    radial-gradient(ellipse 55% 70% at 30% 50%, rgba(194,255,87,.06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 75% 55%, rgba(60,80,220,.05) 0%, transparent 55%);
}

.cs-hero-container { align-items: center; }

/* Meta chips row */
.cs-meta {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 28px; opacity: 0;
}
.cs-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 400; color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  padding: 6px 14px; border-radius: 100px;
}
.cs-chip-label {
  font-size: 10px; font-weight: 600; letter-spacing: .09em;
  text-transform: uppercase; color: var(--accent);
}

/* Hero visual */
.cs-hero-visual {
  flex-shrink: 0; width: 100%; max-width: 560px;
  opacity: 0;
}
.cs-hero-frame {
  border-radius: var(--r-xl); overflow: hidden;
  background: var(--surface);
  box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 24px 80px rgba(0,0,0,.55);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.cs-hero-frame:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 0 1px rgba(255,255,255,.09), 0 36px 100px rgba(0,0,0,.65);
}

/* Ecosystem hero image — no chrome, full bleed, floating */
.cs-hero-frame--eco {
  background: transparent;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.06),
    0 32px 90px rgba(0,0,0,.6),
    0 0 80px rgba(194,255,87,.04);
  animation: cs-float 7s ease-in-out infinite;
  will-change: transform;
}
.cs-hero-frame--eco:hover {
  animation-play-state: paused;
  transform: translateY(-10px) scale(1.012);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.1),
    0 48px 120px rgba(0,0,0,.7),
    0 0 100px rgba(194,255,87,.07);
}
.cs-hero-img {
  width: 100%; display: block;
  border-radius: var(--r-xl);
}

@keyframes cs-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

/* Browser chrome (shared with screenshots) */
.browser-chrome {
  background: rgba(255,255,255,.06); border-radius: 6px 6px 0 0;
  padding: 9px 12px; display: flex; gap: 6px; align-items: center;
  border-bottom: 1px solid var(--border);
}
.browser-chrome span { width: 8px; height: 8px; border-radius: 50%; }
.browser-chrome span:nth-child(1) { background: #ff5f57; }
.browser-chrome span:nth-child(2) { background: #ffbd2e; }
.browser-chrome span:nth-child(3) { background: #28ca41; }

/* ── Ecosystem / Challenge card grid ─────────────────────────── */
.cs-card-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px; margin-bottom: 0;
}
.cs-focus { font-size: 12px; color: var(--dim); margin-top: 4px !important; margin-bottom: 0 !important; }

/* ── Role layout ─────────────────────────────────────────────── */
.cs-role-grid {
  display: grid; grid-template-columns: 1fr 1.05fr;
  gap: 18px; align-items: start;
}
/* 6-item responsibility grid (3 col × 2 row) */
.cs-resp-steps { grid-template-columns: repeat(3, 1fr) !important; }
.cs-resp-steps .about-step:nth-child(3) { border-right: none; padding-right: 0; }
.cs-resp-steps .about-step:nth-child(4) { padding-left: 0; padding-top: 24px; border-top: 1px solid var(--border); }
.cs-resp-steps .about-step:nth-child(5) { padding-top: 24px; border-top: 1px solid var(--border); }
.cs-resp-steps .about-step:nth-child(6) { border-right: none; padding-right: 0; padding-top: 24px; border-top: 1px solid var(--border); }

/* ── Showcase blocks ─────────────────────────────────────────── */
.cs-block {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}
.cs-block--alt { background: var(--surface); }

.cs-block-head {
  display: flex; align-items: center; gap: 18px; margin-bottom: 48px;
}
.cs-letter {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: var(--accent); color: var(--bg);
  border-radius: var(--r); font-size: 18px; font-weight: 700;
  flex-shrink: 0; letter-spacing: -.01em;
}
.cs-block-title {
  font-family: var(--f-head); font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 700; letter-spacing: -.02em; line-height: 1.2;
}
.cs-block-sub { font-size: 15px; color: var(--muted); margin-top: 4px; }

/* Screenshot frames */
.cs-frame {
  border-radius: var(--r-lg); overflow: hidden; background: var(--surface);
  box-shadow: 0 0 0 1px rgba(255,255,255,.05), 0 8px 32px rgba(0,0,0,.45);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.cs-frame:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 24px 64px rgba(0,0,0,.6);
}
.cs-frame img, .cs-frame-body img { width: 100%; display: block; transition: transform .6s var(--ease); }
.cs-frame:hover img, .cs-frame:hover .cs-frame-body img { transform: scale(1.02); }

.cs-frame--browser { border: 1px solid var(--border); }
.cs-frame-body { background: var(--surface-2); overflow: hidden; }

.cs-frame--mobile {
  max-width: 300px; margin: 0 auto;
  border-radius: 32px; border: 8px solid var(--surface-3);
  background: var(--surface-3);
  box-shadow: 0 0 0 1px rgba(255,255,255,.05), 0 16px 48px rgba(0,0,0,.55);
  position: relative;
}
.cs-frame--mobile > img { border-radius: 24px; }
.cs-notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 80px; height: 20px;
  background: var(--surface-3); border-radius: 0 0 12px 12px; z-index: 2;
}

.cs-frame--chat {
  max-width: 480px; margin: 0 auto;
  border: 1px solid var(--border);
  box-shadow: 0 0 0 1px rgba(255,255,255,.05), 0 8px 32px rgba(0,0,0,.45);
}

/* Duo layout */
.cs-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.cs-duo--mobile { grid-template-columns: repeat(2, 1fr); max-width: 640px; margin: 0 auto; }

/* Full-width screenshot */
.cs-figure--full { display: flex; flex-direction: column; gap: 0; margin-top: 40px; }
.cs-figure--full figcaption { margin-top: 14px; }

/* Split layout */
.cs-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center; margin-bottom: 0;
}
.cs-split--rev { direction: rtl; }
.cs-split--rev > * { direction: ltr; }
.cs-split-copy p { font-size: 15px; color: var(--muted); line-height: 1.8; margin-bottom: 0; }

/* ── Impact card text ────────────────────────────────────────── */
.cs-impact-h { font-family: var(--f-head); font-size: 17px; font-weight: 600; letter-spacing: -.016em; color: var(--text); margin-bottom: 12px; line-height: 1.3; }
.cs-impact-p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ── Reflection quote footer ─────────────────────────────────── */
.cs-quote { max-width: 860px; }
.cs-quote-sig { display: block; margin-top: 18px; font-size: 14px; font-style: normal; font-weight: 500; color: var(--muted); }

/* ── CTA right column ────────────────────────────────────────── */
.cs-cta-right {
  background: none; border: none; border-radius: 0; padding: 0;
  display: flex; flex-direction: column; gap: 14px; justify-content: center;
}

/* ============================================================
   FLEXXI HERO V2 — light theme, layered device composition
   All rules prefixed fh- to avoid collisions with dark theme.
   ============================================================ */

/* ── Nav: light-surface variant ─────────────────────────────── */
.nav--light:not(.scrolled) .nav-logo           { color: #1a1a2e; }
.nav--light:not(.scrolled) .nav-logo span      { color: #7b5ea7; }
.nav--light:not(.scrolled) .nav-link           { color: #6b7280; }
.nav--light:not(.scrolled) .nav-link:hover     { color: #1a1a2e; }
.nav--light:not(.scrolled) .nav-cta            { color: #1a1a2e !important; border-color: rgba(26,26,46,.18); }
.nav--light:not(.scrolled) .nav-cta:hover      { border-color: #7b5ea7; color: #7b5ea7 !important; background: rgba(123,94,167,.06); }
.nav--light:not(.scrolled) .nav-toggle span    { background: #1a1a2e; }
.nav--light.scrolled {
  background: rgba(250,249,255,.96) !important;
  border-color: rgba(0,0,0,.07) !important;
  box-shadow: 0 1px 24px rgba(0,0,0,.06) !important;
}
.nav--light.scrolled .nav-logo                 { color: #1a1a2e; }
.nav--light.scrolled .nav-logo span            { color: #7b5ea7; }
.nav--light.scrolled .nav-link                 { color: #6b7280; }
.nav--light.scrolled .nav-link:hover           { color: #1a1a2e; }
.nav--light.scrolled .nav-cta                  { color: #1a1a2e !important; border-color: rgba(26,26,46,.18); }
.nav--light.scrolled .nav-cta:hover            { border-color: #7b5ea7; color: #7b5ea7 !important; }
.nav--light.scrolled .nav-toggle span          { background: #1a1a2e; }

/* ── Section ─────────────────────────────────────────────────── */
.fh-hero {
  background: linear-gradient(150deg, #fefeff 0%, #f5f2fc 35%, #f8f5ff 65%, #f0f2ff 100%);
  position: relative;
  min-height: max(78vh, 560px);
  display: flex; flex-direction: column; justify-content: center;
  padding-top: var(--nav-h); overflow: hidden;
}

/* ── Background decoration ───────────────────────────────────── */
.fh-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.fh-bg-glow { position: absolute; border-radius: 50%; }
.fh-bg-glow--1 {
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(123,94,167,.11) 0%, transparent 65%);
  top: -360px; right: -80px;
}
.fh-bg-glow--2 {
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(147,112,219,.08) 0%, transparent 68%);
  bottom: -220px; left: -80px;
}
.fh-bg-glow--3 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(107,79,160,.06) 0%, transparent 70%);
  top: 42%; left: 44%;
}
.fh-bg-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(123,94,167,.11) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: .5;
}

/* ── Two-column grid ─────────────────────────────────────────── */
.fh-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 40px; align-items: center;
  position: relative; z-index: 1;
  padding-top: 22px; padding-bottom: 28px;
}

/* ── Left: text content ──────────────────────────────────────── */
.fh-content { max-width: 560px; }

.fh-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: #7b5ea7;
  background: rgba(123,94,167,.07);
  border: 1px solid rgba(123,94,167,.18);
  padding: 7px 16px 7px 12px; border-radius: 100px;
  margin-bottom: 18px; opacity: 0;
  box-shadow: 0 2px 12px rgba(123,94,167,.1);
}
.fh-dot {
  width: 6px; height: 6px;
  background: #7b5ea7; border-radius: 50%; flex-shrink: 0;
  animation: fh-blink 2.5s ease-in-out infinite;
}
@keyframes fh-blink { 0%,100% { opacity:1; } 50% { opacity:.15; } }

.fh-title {
  font-family: var(--f-head);
  font-size: clamp(33px, 3.8vw, 56px);
  font-weight: 800; letter-spacing: -.035em;
  line-height: 1.07; color: #1a1a2e; margin-bottom: 14px;
}
.fh-tl { display: block; opacity: 0; }
/* Gradient text for "Ecosystem" headline */
.fh-tl--accent {
  background: linear-gradient(125deg, #7b5ea7 0%, #9b74cc 45%, #b48ae0 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.fh-desc {
  font-size: clamp(14px, 1.05vw, 15.5px);
  color: #6b7280; line-height: 1.72;
  margin-bottom: 18px; max-width: 420px; opacity: 0;
}

.fh-tags {
  display: flex; flex-wrap: wrap; gap: 7px;
  margin-bottom: 22px; opacity: 0;
}
.fh-tags span {
  font-size: 12px; font-weight: 500; padding: 5px 14px;
  background: rgba(123,94,167,.06); border: 1px solid rgba(123,94,167,.15);
  border-radius: 100px; color: #7b5ea7;
  transition: background .2s, border-color .2s;
}
.fh-tags span:hover { background: rgba(123,94,167,.12); border-color: rgba(123,94,167,.3); }

.fh-ctas { display: flex; gap: 14px; flex-wrap: wrap; opacity: 0; }

.fh-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 28px; border-radius: 100px;
  font-family: var(--f-body); font-size: 14px; font-weight: 600;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, border-color .2s, color .2s;
  cursor: none; text-decoration: none; white-space: nowrap;
}
.fh-btn--primary {
  background: linear-gradient(135deg, #8b68b8 0%, #7b5ea7 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(123,94,167,.3), 0 8px 32px rgba(123,94,167,.18);
}
.fh-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(123,94,167,.42), 0 20px 52px rgba(123,94,167,.22);
}
.fh-btn--ghost {
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: #1a1a2e; border: 1.5px solid rgba(26,26,46,.15);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.fh-btn--ghost:hover {
  border-color: #7b5ea7; color: #7b5ea7;
  background: rgba(123,94,167,.06);
  box-shadow: 0 4px 18px rgba(123,94,167,.14);
}

/* ── Right: hero visual ──────────────────────────────────────── */
.fh-visual { display: flex; align-items: center; justify-content: flex-end; opacity: 0; }

.fh-hero-wrap {
  position: relative;
  width: 100%; max-width: 660px;
  flex-shrink: 0;
  background: rgba(255,255,255,.52);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  border: 1px solid rgba(255,255,255,.68);
  border-radius: 22px;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.88),
    0 0 0 1px rgba(110,75,200,.04),
    0 4px 18px rgba(0,0,0,.04),
    0 14px 44px rgba(110,70,200,.1),
    0 36px 80px rgba(0,0,0,.06),
    0 0 80px rgba(123,94,167,.1);
}

/* Glow element hidden — ambient light handled by box-shadow above */
.fh-hero-glow-wrap { display: none; }

/* Slow purple glow pulse on the wrap itself */
@keyframes fh-glow-pulse {
  0%,100% { box-shadow: inset 0 1px 0 rgba(255,255,255,.88), 0 0 0 1px rgba(110,75,200,.04), 0 4px 18px rgba(0,0,0,.04), 0 14px 44px rgba(110,70,200,.1), 0 36px 80px rgba(0,0,0,.06), 0 0 80px rgba(123,94,167,.1); }
  50%      { box-shadow: inset 0 1px 0 rgba(255,255,255,.88), 0 0 0 1px rgba(110,75,200,.06), 0 4px 18px rgba(0,0,0,.05), 0 14px 44px rgba(110,70,200,.16), 0 36px 80px rgba(0,0,0,.08), 0 0 100px rgba(123,94,167,.18); }
}

.fh-hero-visual-img {
  width: 100%; height: auto; display: block;
  position: relative; z-index: 1;
  animation: fh-hero-float 6s ease-in-out infinite;
  will-change: transform;
}
@keyframes fh-hero-float {
  0%,100% { transform: translateY(0px);  }
  50%      { transform: translateY(-5px); }
}

.fh-stage {
  position: relative; width: 600px; height: 520px; flex-shrink: 0;
}

/* Strong purple glow — centered behind the phone cluster (right side) */
.fh-stage::before {
  content: '';
  position: absolute;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(140,90,230,.3) 0%, rgba(110,70,200,.12) 42%, transparent 70%);
  top: -10px; right: -40px; left: auto; border-radius: 50%; pointer-events: none;
}

/* ── Browser frame ───────────────────────────────────────────── */
.fh-browser {
  position: absolute;
  left: 8px; top: 15px; width: 375px;
  border-radius: 14px; overflow: hidden;
  background: #fff; border: 1px solid rgba(0,0,0,.06);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.7),
    0 1px 3px rgba(0,0,0,.04),
    0 6px 22px rgba(123,94,167,.09),
    0 22px 56px rgba(123,94,167,.11),
    0 44px 80px rgba(0,0,0,.06);
  z-index: 1;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.fh-browser:hover {
  transform: translateY(-5px);
  box-shadow:
    0 2px 6px rgba(0,0,0,.05), 0 14px 40px rgba(123,94,167,.16),
    0 40px 90px rgba(123,94,167,.18), 0 72px 120px rgba(0,0,0,.1);
}
.fh-browser-chrome {
  background: rgba(247,247,251,.98); padding: 7px 12px;
  display: flex; align-items: center; gap: 7px;
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.fh-cdot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.fh-cdot--red    { background: #ff5f57; }
.fh-cdot--yellow { background: #ffbd2e; }
.fh-cdot--green  { background: #28ca41; }
.fh-browser-url {
  flex: 1; background: rgba(255,255,255,.8);
  border: 1px solid rgba(0,0,0,.07); border-radius: 7px;
  padding: 3px 12px; font-size: 11px; color: #9ca3af;
  font-family: var(--f-body); text-align: center;
}
.fh-browser-screen { overflow: hidden; height: 306px; }
.fh-browser-img {
  width: 100%; display: block;
  object-fit: cover; object-position: top center;
  transition: transform 10s ease;
}
.fh-browser:hover .fh-browser-img { transform: translateY(-72px); }

/* ── iPhone shells ───────────────────────────────────────────── */
.fh-iphone { position: absolute; z-index: 2; }
.fh-iphone-shell {
  background: #141418; border-radius: 22px;
  border: 5px solid #c2c2cc;
  overflow: hidden; position: relative;
  aspect-ratio: 9 / 19;
  box-shadow:
    /* silver frame edge catches */
    inset 0 2px 0 rgba(255,255,255,.75),
    inset 2px 0 0 rgba(255,255,255,.35),
    inset -1px 0 0 rgba(0,0,0,.08),
    inset 0 -1px 0 rgba(0,0,0,.12),
    /* outer ambient */
    0 2px 8px rgba(0,0,0,.14),
    0 10px 28px rgba(0,0,0,.13),
    0 24px 48px rgba(0,0,0,.1),
    0 14px 40px rgba(95,62,190,.16);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.fh-iphone-shell::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(148deg, rgba(255,255,255,.07) 0%, rgba(255,255,255,.02) 32%, transparent 56%);
  border-radius: 16px;
  z-index: 8; pointer-events: none;
}
.fh-iphone-shell img {
  width: 100%; height: 100%; display: block;
  object-fit: cover; object-position: top center;
}

/* Dynamic Island — hidden */
.fh-iphone-island { display: none; }

/* Phone 1 — back phone, behind Phone 2, slightly offset left */
.fh-iphone--1 {
  right: 118px; left: auto; top: 22px; width: 148px; z-index: 2;
  animation: fh-float-1 7.8s ease-in-out infinite;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,.16)) drop-shadow(0 18px 36px rgba(90,58,185,.17));
}
/* Phone 2 — front phone, rightmost, dominant */
.fh-iphone--2 {
  right: 8px; top: 58px; width: 162px; z-index: 3;
  animation: fh-float-2 9.2s ease-in-out infinite;
  filter: drop-shadow(0 12px 28px rgba(0,0,0,.2)) drop-shadow(0 26px 48px rgba(90,58,185,.22));
}
/* Phone 3 — not used in this composition */
.fh-iphone--3 {
  display: none;
}

@keyframes fh-float-1 {
  0%,100% { transform: translateY(0);    }
  50%      { transform: translateY(-6px); }
}
@keyframes fh-float-2 {
  0%,100% { transform: translateY(0);    }
  50%      { transform: translateY(-8px); }
}
@keyframes fh-float-3 {
  0%,100% { transform: translateY(0);    }
  50%      { transform: translateY(-7px); }
}

/* ── AI Assistant floating glass card ────────────────────────── */
.fh-ai-card {
  position: absolute; right: 6px; bottom: 18px; z-index: 4;
  width: 172px;
  background: rgba(255,255,255,.76);
  backdrop-filter: blur(40px) saturate(1.9);
  -webkit-backdrop-filter: blur(40px) saturate(1.9);
  border: 1px solid rgba(255,255,255,.52);
  border-radius: 18px; padding: 13px 14px;
  display: flex; align-items: center; gap: 11px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.88),
    0 0 0 0.5px rgba(0,0,0,.04),
    0 2px 6px rgba(0,0,0,.04),
    0 8px 22px rgba(88,58,178,.09),
    0 20px 40px rgba(0,0,0,.07);
  animation: fh-float-ai 7s ease-in-out infinite;
  animation-delay: 2s;
  transition: box-shadow .4s var(--ease);
}
.fh-ai-card:hover {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.92),
    0 0 0 0.5px rgba(0,0,0,.05),
    0 4px 10px rgba(0,0,0,.06),
    0 14px 32px rgba(88,58,178,.14),
    0 28px 52px rgba(0,0,0,.1);
}
.fh-ai-avatar {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 11px; overflow: hidden;
  background: linear-gradient(145deg, #ead5ff 0%, #caa8f4 55%, #b28ee2 100%);
  display: flex; align-items: flex-end; justify-content: center;
  box-shadow: 0 2px 8px rgba(120,80,220,.15), inset 0 1px 0 rgba(255,255,255,.22);
}
.fh-ai-avatar img {
  width: 120%; height: 120%; object-fit: contain; object-position: center bottom; margin-left: -10%;
}
.fh-ai-info { flex: 1; min-width: 0; }
.fh-ai-label { font-size: 11.5px; font-weight: 700; color: #18182a; display: block; line-height: 1.3; letter-spacing: -.018em; }
.fh-ai-sub   { font-size: 9.5px; color: #a0aab8; display: block; margin-top: 2px; line-height: 1.45; letter-spacing: .005em; }
.fh-ai-dots  { display: flex; gap: 3.5px; margin-top: 7px; }
.fh-ai-dots span {
  width: 4.5px; height: 4.5px; border-radius: 50%; background: #9b74cc;
  animation: fh-dot-pulse 1.8s ease-in-out infinite;
}
.fh-ai-dots span:nth-child(2) { animation-delay: .3s; background: #7b5ea7; }
.fh-ai-dots span:nth-child(3) { animation-delay: .6s; background: #b48ae0; }
@keyframes fh-dot-pulse {
  0%,100% { opacity: .25; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.25); }
}
@keyframes fh-float-ai {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}

/* ── Scroll hint ─────────────────────────────────────────────── */
.fh-scroll-hint {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  color: #b0b0c0; opacity: 0; animation: fh-fade 1s 2.6s forwards; z-index: 1;
}
.fh-scroll-bar {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, #b0b0c0, transparent);
  animation: fh-pulse 2.4s ease-in-out infinite;
}
@keyframes fh-fade  { to { opacity: 1; } }
@keyframes fh-pulse { 0%,100% { opacity: .35; } 50% { opacity: .85; } }

/* ── Platform ecosystem bar ──────────────────────────────────── */
.fh-platform-bar {
  background: rgba(246,243,255,.97);
  border-top: 1px solid rgba(123,94,167,.08);
  padding: 16px 0; position: relative; z-index: 1;
}
.fh-platform-inner {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
}
.fh-platform-item {
  display: flex; align-items: center; gap: 10px;
  padding: 4px 40px; font-size: 14px; font-weight: 500; color: #6b7280;
  transition: color .2s;
}
.fh-platform-item:hover { color: #7b5ea7; }
.fh-platform-item svg   { width: 18px; height: 18px; color: #9b74cc; flex-shrink: 0; }
.fh-platform-sep        { width: 1px; height: 28px; background: rgba(0,0,0,.08); flex-shrink: 0; }

/* ── Reduced motion ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .fh-hero-visual-img { animation: none !important; }
  .fh-dot, .fh-scroll-bar { animation: none !important; }
}

/* ============================================================
   RESPONSIVE — 1024px
   ============================================================ */
@media (max-width: 1280px) {
  .fh-stage          { width: 520px; height: 460px; }
  .fh-browser        { left: 6px; width: 324px; top: 12px; }
  .fh-browser-screen { height: 264px; }
  .fh-iphone--1      { right: 102px; top: 18px; width: 128px; }
  .fh-iphone--2      { right: 6px; top: 50px; width: 140px; }
  .fh-ai-card        { width: 155px; right: 4px; bottom: 14px; }
}

@media (max-width: 1024px) {
  /* fh-hero: stack vertically */
  .fh-hero-inner   { grid-template-columns: 1fr; gap: 48px; padding-bottom: 48px; }
  .fh-content      { max-width: 100%; }
  .fh-visual       { justify-content: center; }
  .fh-hero-wrap    { max-width: 560px; }
  .fh-stage        { width: 100%; max-width: 520px; height: 430px; margin: 0 auto; }
  .fh-browser      { left: 6px; width: 282px; top: 12px; }
  .fh-browser-screen { height: 230px; }
  .fh-iphone--1    { right: 90px; left: auto; top: 16px; width: 112px; }
  .fh-iphone--2    { right: 5px; top: 44px; width: 122px; }
  .fh-ai-card      { width: 145px; right: 4px; bottom: 10px; }

  .cs-hero-container { flex-direction: column; }
  .cs-hero-visual    { max-width: 100%; }

  .cs-role-grid { grid-template-columns: 1fr; }

  .cs-split, .cs-split--rev { grid-template-columns: 1fr; gap: 36px; direction: ltr; }
  .cs-split--rev > *        { direction: ltr; }
  .cs-split-visual          { max-width: 380px; }

  .about-steps.cs-resp-steps { grid-template-columns: 1fr 1fr !important; }
  .cs-resp-steps .about-step:nth-child(3)  { border-right: 1px solid var(--border); padding-right: 28px; }
  .cs-resp-steps .about-step:nth-child(4)  { padding-left: 28px; }
  .cs-resp-steps .about-step:nth-child(5)  { padding-right: 0; border-right: none; }
  .cs-resp-steps .about-step:nth-child(6)  { padding-left: 28px; }
  .cs-resp-steps .about-step:nth-child(even) { padding-right: 0; border-right: none; }
  .cs-resp-steps .about-step:nth-child(odd):not(:nth-child(1)) { padding-left: 0; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .cs-cta-right { flex-direction: row; flex-wrap: wrap; }
  .cs-cta-right .btn { flex: 1 1 200px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .container { padding: 0 24px; }
  section, .cs-section { padding: 88px 0; }
  .cs-block { padding: 56px 0; }

  /* fh-hero: mobile */
  .fh-hero-inner  { padding-top: 18px; padding-bottom: 22px; gap: 24px; }
  .fh-hero-wrap   { max-width: 100%; }
  .fh-stage       { max-width: 360px; height: 336px; }
  .fh-browser     { left: 5px; width: 196px; top: 10px; }
  .fh-browser-screen { height: 160px; }
  .fh-iphone--1   { right: 62px; left: auto; top: 12px; width: 78px; }
  .fh-iphone--2   { right: 4px; top: 34px; width: 85px; }
  .fh-ai-card     { width: 130px; right: 3px; bottom: 8px; padding: 10px 11px; gap: 8px; }
  .fh-ai-avatar   { width: 36px; height: 36px; border-radius: 10px; }
  .fh-ai-label    { font-size: 11px; }
  .fh-ai-sub      { font-size: 9px; }
  .fh-ai-dots     { margin-top: 6px; }
  .fh-platform-item { padding: 4px 20px; font-size: 13px; }
  .fh-ctas        { flex-direction: column; align-items: flex-start; }
  .fh-btn         { width: 100%; justify-content: center; }

  .nav { padding: 0 24px; }
  .nav-links  { display: none; }
  .nav-toggle { display: flex; }
  .cursor, .cursor-follower { display: none; }
  body, button, a { cursor: auto; }

  .section-head { flex-direction: column; gap: 8px; }

  .cs-card-grid   { grid-template-columns: 1fr; }
  .about-caps     { grid-template-columns: 1fr; }
  .about-steps.cs-resp-steps { grid-template-columns: 1fr !important; }
  .cs-resp-steps .about-step:nth-child(n) {
    padding: 0; border-right: none;
    border-bottom: 1px solid var(--border); padding-bottom: 22px;
  }
  .cs-resp-steps .about-step:nth-child(n):not(:first-child) { padding-top: 22px; border-top: none; }
  .cs-resp-steps .about-step:last-child { border-bottom: none; padding-bottom: 0; }

  .cs-duo { grid-template-columns: 1fr; }
  .cs-duo--mobile { grid-template-columns: 1fr; max-width: 320px; }

  .about-intro  { padding: 28px 24px; }
  .about-workflow { padding: 24px; }
  .about-stats-row { flex-wrap: wrap; gap: 20px; }
  .astat-sep { display: none; }

  .footer-inner { flex-direction: column; gap: 10px; text-align: center; }
}

@media (max-width: 480px) {
  .cs-meta { flex-direction: column; align-items: flex-start; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .btn { width: 100%; justify-content: center; }
  .cs-cta-right { flex-direction: column; }
  .cs-cta-right .btn { flex: unset; }
}

/* ============================================================
   NEW SECTIONS — Snapshot · Challenge · Product Areas
                  Showcase Placeholders · Summary
   ============================================================ */

/* ── Project Snapshot ────────────────────────────────────────── */
.cs-snapshot {
  display: grid;
  grid-template-columns: 260px 1fr;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 2px 16px rgba(0,0,0,.3),
    0 0 40px rgba(155,116,204,.06);
}
.cs-snapshot-meta {
  padding: 48px 36px;
  border-right: 1px solid rgba(255,255,255,.06);
  display: flex;
  flex-direction: column;
  gap: 28px;
  background:
    linear-gradient(180deg, rgba(155,116,204,.05) 0%, rgba(155,116,204,.02) 100%);
}
.cs-meta-item { display: flex; flex-direction: column; gap: 5px; }
.cs-meta-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent);
}
.cs-meta-value { font-size: 14px; color: var(--text); font-weight: 500; line-height: 1.5; }
.cs-snapshot-body { padding: 48px 52px; }
.cs-snapshot-title {
  font-family: var(--f-head);
  font-size: clamp(19px, 1.9vw, 25px);
  font-weight: 700; letter-spacing: -.02em; line-height: 1.25;
  color: var(--text); margin-bottom: 18px;
}
.cs-snapshot-body p { font-size: 16px; color: var(--muted); line-height: 1.85; max-width: 680px; }

/* ── Challenge ───────────────────────────────────────────────── */
.cs-challenge-body {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--muted);
  line-height: 1.9;
  max-width: 860px;
}

/* ── Product Areas Grid ──────────────────────────────────────── */
.cs-areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cs-area-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 30px 22px 26px;
  position: relative; overflow: hidden;
  transition: border-color .25s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.cs-area-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.cs-area-card:hover { border-color: rgba(155,116,204,.2); transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,.4), 0 0 24px rgba(155,116,204,.07); }
.cs-area-card:hover::before { transform: scaleX(1); }
.cs-area-icon { width: 34px; height: 34px; color: var(--accent); margin-bottom: 16px; }
.cs-area-icon svg { width: 100%; height: 100%; }
.cs-area-title { font-size: 15px; font-weight: 600; letter-spacing: -.01em; color: var(--text); margin-bottom: 10px; }
.cs-area-desc  { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 18px; }
.cs-area-tags  { display: flex; flex-wrap: wrap; gap: 6px; }
.cs-area-tags span {
  font-size: 11px; font-weight: 500; padding: 3px 10px;
  background: var(--accent-dim); color: var(--accent); border-radius: 100px;
}

/* ── Showcase Section Header ─────────────────────────────────── */
.cs-showcase-head { margin-bottom: 48px; }
.cs-showcase-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
}
.cs-showcase-title {
  font-family: var(--f-head);
  font-size: clamp(24px, 2.8vw, 38px);
  font-weight: 700; letter-spacing: -.025em; line-height: 1.1;
  color: var(--text); margin-bottom: 8px;
}
.cs-showcase-sub { font-size: 16px; color: var(--muted); font-weight: 300; }

/* ── Screenshot base ─────────────────────────────────────────── */
.cs-shot {
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 4px 20px rgba(0,0,0,.35);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .25s;
}
.cs-shot:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,.55), 0 0 28px rgba(155,116,204,.07);
  border-color: rgba(255,255,255,.12);
}

/* Placeholder fill */
.cs-shot-ph {
  height: 240px;
  background:
    linear-gradient(135deg, rgba(155,116,204,.03) 0%, transparent 60%),
    var(--surface-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 600;
  color: rgba(255,255,255,.22); letter-spacing: .1em; text-transform: uppercase;
}
.cs-shot-ph--phone { height: 420px; }
.cs-shot-ph--wide  { height: 340px; }
.cs-shot-ph--chat  { height: 360px; }

/* Screenshot grids */
.cs-shots-grid--3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cs-shots-grid--4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cs-shots-grid--2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

/* Mobile phone shell */
.cs-shot--mobile {
  border-radius: 28px;
  border: 6px solid var(--surface-3);
  background: var(--surface-3);
  box-shadow: 0 8px 32px rgba(0,0,0,.55), 0 2px 8px rgba(0,0,0,.3);
  position: relative;
}
.cs-shot--mobile .cs-shot-ph { border-radius: 22px; }

/* ── Final Summary ────────────────────────────────────────────── */
.cs-summary { max-width: 760px; margin: 0 auto; text-align: center; }
.cs-summary-title {
  font-family: var(--f-head);
  font-size: clamp(28px, 3.2vw, 48px);
  font-weight: 800; letter-spacing: -.035em; line-height: 1.1;
  color: var(--text); margin-bottom: 22px;
}
.cs-summary-body {
  font-size: 17px; color: var(--muted);
  line-height: 1.85; margin-bottom: 56px;
}
.cs-summary-stats {
  display: flex; justify-content: center;
  border-top: 1px solid rgba(255,255,255,.07); padding-top: 48px;
}
.cs-stat {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 7px;
  padding: 0 24px; border-right: 1px solid rgba(255,255,255,.07);
}
.cs-stat:last-child { border-right: none; }
.cs-stat-num {
  font-family: var(--f-head); font-size: 44px; font-weight: 800; line-height: 1;
  background: linear-gradient(135deg, #9b74cc 0%, #c4a0f0 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cs-stat-label { font-size: 12px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }

/* ── New section responsive ──────────────────────────────────── */
@media (max-width: 1024px) {
  .cs-snapshot          { grid-template-columns: 1fr; }
  .cs-snapshot-meta     { border-right: none; border-bottom: 1px solid var(--border); padding: 36px 36px; }
  .cs-areas-grid        { grid-template-columns: repeat(2, 1fr); }
  .cs-shots-grid--4     { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .cs-snapshot-meta  { padding: 28px 24px; gap: 20px; }
  .cs-snapshot-body  { padding: 28px 24px; }
  .cs-shots-grid--3  { grid-template-columns: repeat(2, 1fr); }
  .cs-shots-grid--2  { grid-template-columns: 1fr; }
  .cs-summary-body   { font-size: 15px; }
}

@media (max-width: 480px) {
  .cs-areas-grid    { grid-template-columns: 1fr; }
  .cs-shots-grid--3 { grid-template-columns: 1fr; }
  .cs-shots-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .cs-summary-stats { flex-direction: column; align-items: center; gap: 0; }
  .cs-stat          { width: 100%; border-right: none; border-bottom: 1px solid var(--border); padding: 20px 0; }
  .cs-stat:last-child { border-bottom: none; }
}

/* ============================================================
   ALTERNATING SECTION THEMES
   ============================================================ */

/* ── Remove default border between alternating sections ──────── */
/* Color contrast provides enough visual separation */
.cs-section + .cs-section { border-top: none; }

/* ── Light section: full token + bg override ─────────────────── */
.cs-section--light {
  --text:        #1c1b2e;
  --muted:       #6e6b88;
  --dim:         rgba(0,0,0,.2);
  --border:      rgba(0,0,0,.07);
  --border-hi:   rgba(0,0,0,.13);
  --surface:     #ffffff;
  --surface-2:   #f0edf8;
  --surface-3:   #e8e4f2;
  --accent:      #7b5ea7;
  --accent-glow: rgba(123,94,167,.14);
  --accent-dim:  rgba(123,94,167,.07);
  background: #f6f4fc;
  color: var(--text);
}

/* Pure white variant — sits on top of light base */
.cs-section--white { background: #ffffff; }

/* ── Light section: component shadow / border overrides ─────── */

/* Snapshot card */
.cs-section--light .cs-snapshot {
  border-color: rgba(0,0,0,.07);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    0 1px 3px rgba(0,0,0,.04),
    0 6px 24px rgba(0,0,0,.07),
    0 0 48px rgba(123,94,167,.04);
}
.cs-section--light .cs-snapshot-meta {
  border-right-color: rgba(0,0,0,.07);
  background: linear-gradient(180deg, rgba(123,94,167,.04) 0%, rgba(123,94,167,.02) 100%);
}

/* Area cards */
.cs-section--light .cs-area-card {
  box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 3px 12px rgba(0,0,0,.05);
}
.cs-section--light .cs-area-card:hover {
  border-color: rgba(123,94,167,.22);
  box-shadow: 0 8px 28px rgba(0,0,0,.09), 0 2px 6px rgba(0,0,0,.05), 0 0 20px rgba(123,94,167,.07);
}

/* Screenshot frames */
.cs-section--light .cs-shot {
  border-color: rgba(0,0,0,.08);
  box-shadow: 0 1px 3px rgba(0,0,0,.04), 0 4px 16px rgba(0,0,0,.07);
}
.cs-section--light .cs-shot:hover {
  border-color: rgba(123,94,167,.2);
  box-shadow: 0 12px 40px rgba(0,0,0,.11), 0 4px 12px rgba(0,0,0,.06), 0 0 24px rgba(123,94,167,.07);
}

/* Browser chrome tint for light sections */
.cs-section--light .browser-chrome {
  background: rgba(0,0,0,.025);
  border-bottom-color: rgba(0,0,0,.07);
}

/* Mobile shell on light bg */
.cs-section--light .cs-shot--mobile {
  border-color: rgba(0,0,0,.1);
  box-shadow: 0 6px 24px rgba(0,0,0,.09), 0 2px 6px rgba(0,0,0,.05);
}

/* Showcase head on light bg */
.cs-section--light .cs-showcase-label { color: var(--accent); }

/* Platform bar border between hero and snapshot */
.fh-platform-bar + .cs-section--light { border-top: none; }

/* ── Dark: Mobile Apps ───────────────────────────────────────── */
#showcase-mobile {
  background:
    radial-gradient(ellipse 90% 55% at 50% 50%, rgba(155,116,204,.07) 0%, transparent 65%),
    #090815;
}

/* ── Dark gradient: Chatbot intro ────────────────────────────── */
#showcase-chatbot {
  padding-bottom: 80px;
  background:
    radial-gradient(ellipse 60% 65% at 10% 55%, rgba(123,94,167,.18) 0%, transparent 52%),
    radial-gradient(ellipse 50% 60% at 90% 25%, rgba(155,116,204,.12) 0%, transparent 52%),
    linear-gradient(160deg, #0d0c18 0%, #110e25 55%, #090815 100%);
}

/* ── Bold dark: Summary ──────────────────────────────────────── */
#impact {
  background:
    radial-gradient(ellipse 80% 55% at 50% 115%, rgba(155,116,204,.15) 0%, transparent 58%),
    radial-gradient(ellipse 55% 28% at 50% 0%, rgba(155,116,204,.06) 0%, transparent 55%),
    var(--surface);
}
/* Summary stat lines: switch to white tint since bg is dark */
#impact .cs-summary-stats { border-top-color: rgba(255,255,255,.07); }
#impact .cs-stat          { border-right-color: rgba(255,255,255,.07); }

/* ── Contact section: keep dark, add edge gradient ───────────── */
.contact + .footer { border-top-color: rgba(255,255,255,.06); }

/* ============================================================
   CHALLENGE SECTION — Redesigned
   ============================================================ */

.ch-header {
  margin-bottom: 72px;
  max-width: 840px;
}

.ch-label {
  display: block;
  font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 22px;
}

.ch-headline {
  font-family: var(--f-head);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.07;
  color: var(--text);
  margin-bottom: 28px;
}

.ch-copy {
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--muted);
  line-height: 1.82;
  max-width: 540px;
}

/* ── Cards grid ──────────────────────────────────────────────── */
.ch-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}

.ch-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px 30px 34px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .32s var(--ease), transform .38s var(--ease), box-shadow .38s var(--ease);
}

/* Gradient hairline along the top — fades in on hover */
.ch-card::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent) 50%, transparent);
  opacity: 0;
  transition: opacity .4s var(--ease);
}

/* Soft ambient glow inside card bottom — visible within overflow:hidden */
.ch-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 160px; height: 80px;
  background: radial-gradient(ellipse at center bottom, var(--accent-glow) 0%, transparent 70%);
  opacity: 0;
  transition: opacity .4s var(--ease);
}

.ch-card:hover {
  border-color: rgba(155,116,204,.26);
  transform: translateY(-8px);
  box-shadow:
    0 24px 56px rgba(0,0,0,.38),
    0 0 0 1px rgba(155,116,204,.07);
}
.ch-card:hover::before,
.ch-card:hover::after { opacity: 1; }

/* Icon container */
.ch-card-icon {
  width: 48px; height: 48px;
  background: var(--accent-dim);
  border: 1px solid rgba(155,116,204,.16);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  margin-bottom: 28px;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.ch-card-icon svg { width: 21px; height: 21px; }
.ch-card:hover .ch-card-icon {
  background: rgba(155,116,204,.14);
  border-color: rgba(155,116,204,.32);
}

/* Card text */
.ch-card-num {
  display: block;
  font-size: 10px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.2);
  margin-bottom: 10px;
}

.ch-card-title {
  font-family: var(--f-head);
  font-size: 24px; font-weight: 700;
  letter-spacing: -.022em; line-height: 1.2;
  color: var(--text); margin-bottom: 8px;
}

.ch-card-need {
  display: block;
  font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.ch-card-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.72;
  flex: 1;
}

/* ── Challenge responsive ────────────────────────────────────── */
@media (max-width: 1024px) {
  .ch-cards  { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .ch-header { margin-bottom: 52px; }
  .ch-card   { padding: 30px 26px; }
}

@media (max-width: 768px) {
  .ch-header   { margin-bottom: 40px; }
  .ch-headline { letter-spacing: -.025em; }
}

@media (max-width: 600px) {
  .ch-cards { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 480px) {
  .ch-card { padding: 26px 22px; }
}

/* ============================================================
   WEBSITE SHOWCASE — Browser mockup cards with real images
   ============================================================ */

.cs-web-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Extra bottom breathing room for the caption-free layout */
#showcase { padding-bottom: 172px; }

/* Outer figure — receives the lift on hover */
.cs-web-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  transition: transform .5s var(--ease);
  cursor: default;
}
.cs-web-card:hover { transform: translateY(-10px); }

/* Inner div — clipping, border, shadow */
.cs-web-inner {
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow:
    0 1px 2px rgba(0,0,0,.04),
    0 4px 12px rgba(0,0,0,.06),
    0 12px 32px rgba(0,0,0,.07);
  transition: box-shadow .5s var(--ease);
  flex: 1;
}
.cs-web-card:hover .cs-web-inner {
  box-shadow:
    0 2px 4px rgba(0,0,0,.06),
    0 10px 28px rgba(0,0,0,.12),
    0 28px 60px rgba(0,0,0,.13),
    0 0 48px rgba(123,94,167,.08);
}

/* Browser chrome bar */
.cs-web-chrome {
  background: rgba(247,247,251,.98);
  border-bottom: 1px solid rgba(0,0,0,.06);
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}
.cs-web-dot {
  width: 9px; height: 9px;
  border-radius: 50%; flex-shrink: 0;
}
.cs-web-dot--r { background: #ff5f57; }
.cs-web-dot--y { background: #ffbd2e; }
.cs-web-dot--g { background: #28ca41; }

.cs-web-url {
  flex: 1; margin-left: 7px;
  background: rgba(0,0,0,.04);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 5px;
  padding: 3px 10px;
  font-size: 10.5px; color: #b0b7c0;
  font-family: var(--f-body);
  text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  letter-spacing: .01em;
}

/* Screenshot viewport — fixed height clips the tall full-page image */
.cs-web-screen {
  overflow: hidden;
  height: 272px;
  position: relative;
  background: #f4f3fa;
}

/* Gradient fade at the bottom of the viewport — premium editorial touch */
.cs-web-screen::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.38));
  pointer-events: none;
  z-index: 1;
}

/* Full-width image — height: auto makes it naturally tall; overflow clips */
.cs-web-screen img {
  width: 100%;
  height: auto;
  display: block;
  transform-origin: top center;
  transition: transform 1.6s var(--ease);
}

/* On hover: slowly scroll the page down to reveal more content */
.cs-web-card:hover .cs-web-screen img {
  transform: translateY(-72px);
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .cs-web-grid  { gap: 20px; }
  .cs-web-screen { height: 240px; }
}

@media (max-width: 768px) {
  #showcase     { padding-bottom: 120px; }
  .cs-web-grid  { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .cs-web-screen { height: 220px; }
  .cs-web-card:hover .cs-web-screen img { transform: translateY(-52px); }
}

@media (max-width: 520px) {
  .cs-web-grid  { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .cs-web-screen { height: 260px; }
  .cs-web-card:hover .cs-web-screen img { transform: translateY(-64px); }
}

/* ============================================================
   MOBILE APPS SHOWCASE — Split layout with tab switching
   ============================================================ */

/* Two-column split */
.mob-layout {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 80px;
  align-items: center;
}

/* ── Left: copy ──────────────────────────────────────────────── */
.mob-eyebrow {
  display: block;
  font-size: 10px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 22px;
}

.mob-title {
  font-family: var(--f-head);
  font-size: clamp(26px, 2.5vw, 38px);
  font-weight: 800; letter-spacing: -.03em; line-height: 1.12;
  color: var(--text); margin-bottom: 18px;
}

.mob-desc {
  font-size: 15px; color: rgba(240,238,255,.76);
  line-height: 1.82; margin-bottom: 36px;
}

/* Tab pill strip */
.mob-tabs {
  display: inline-flex;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 100px; padding: 4px; gap: 2px;
  margin-bottom: 30px;
}

.mob-tab {
  font-family: var(--f-body); font-size: 13px; font-weight: 600;
  padding: 9px 26px; border-radius: 100px; cursor: none;
  color: var(--muted); line-height: 1;
  transition: color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
  letter-spacing: .01em;
}
.mob-tab--active {
  background: var(--accent); color: #fff;
  box-shadow: 0 2px 14px rgba(155,116,204,.42);
}
.mob-tab:not(.mob-tab--active):hover {
  color: var(--text); background: rgba(255,255,255,.06);
}

/* Detail block per tab */
.mob-detail--hidden { display: none; }

.mob-detail-text {
  font-size: 14px; color: rgba(240,238,255,.72);
  line-height: 1.8; margin-bottom: 20px;
}

.mob-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.mob-chips span {
  font-size: 12px; font-weight: 600; letter-spacing: .02em;
  padding: 6px 14px; border-radius: 100px;
  background: rgba(155,116,204,.1);
  border: 1px solid rgba(155,116,204,.22);
  color: rgba(240,238,255,.72);
  transition: background .2s, border-color .2s, color .2s;
}
.mob-chips span:hover {
  background: rgba(155,116,204,.18);
  border-color: rgba(155,116,204,.38);
  color: rgba(240,238,255,.92);
}

/* ── Right: phones container ─────────────────────────────────── */
.mob-phones-wrap {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Ambient purple glow behind phones */
.mob-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 520px; height: 480px;
  background: radial-gradient(ellipse, rgba(155,116,204,.22) 0%, transparent 65%);
  pointer-events: none; z-index: 0;
}

/* Phone groups — stacked absolutely, one visible at a time */
.mob-group {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 14px;
  padding-bottom: 28px;
  transition: opacity .45s var(--ease), transform .45s var(--ease);
  opacity: 1;
  transform: translateY(0);
}
.mob-group--out {
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
}

/* ── Individual phones ───────────────────────────────────────── */
.mob-phone { position: relative; z-index: 1; }

/* Height stagger: left and right phones sit lower */
.mob-phone--a {
  margin-bottom: 36px;
  animation: mob-f1 7.2s ease-in-out infinite;
}
.mob-phone--b {
  animation: mob-f2 8.8s ease-in-out -1.4s infinite;
}
.mob-phone--c {
  margin-bottom: 18px;
  animation: mob-f3 7.6s ease-in-out -0.8s infinite;
}

@keyframes mob-f1 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes mob-f2 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes mob-f3 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Phone shell — dark glass hardware */
.mob-shell {
  border-radius: 36px;
  border: 6px solid #25233a;
  overflow: hidden;
  position: relative;
  background: #171528;
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,.07),
    0 4px 16px rgba(0,0,0,.5),
    0 16px 44px rgba(0,0,0,.42),
    0 0 60px rgba(155,116,204,.1);
  transition: box-shadow .4s var(--ease);
}
.mob-phone:hover .mob-shell {
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,.1),
    0 8px 28px rgba(0,0,0,.6),
    0 26px 60px rgba(0,0,0,.48),
    0 0 88px rgba(155,116,204,.22);
}

/* Side phones slightly narrower */
.mob-phone--a .mob-shell,
.mob-phone--c .mob-shell { width: 158px; }

/* Center phone — hero, notably wider */
.mob-phone--b .mob-shell { width: 182px; }

/* Dynamic island / notch */
.mob-notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 68px; height: 20px;
  background: #171528; border-radius: 0 0 12px 12px; z-index: 3;
}

/* Screen area */
.mob-scr {
  aspect-ratio: 9 / 19.5;
  background:
    linear-gradient(165deg, rgba(155,116,204,.09) 0%, transparent 52%),
    #131120;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700;
  color: rgba(255,255,255,.16); letter-spacing: .14em; text-transform: uppercase;
}

/* Glass sheen on shell */
.mob-shell::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(148deg, rgba(255,255,255,.05) 0%, transparent 46%);
  border-radius: 30px; pointer-events: none; z-index: 4;
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .mob-layout { gap: 52px; }
  .mob-glow   { width: 420px; height: 400px; }
}

@media (max-width: 900px) {
  .mob-layout {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .mob-phones-wrap { min-height: 480px; }
}

@media (max-width: 768px) {
  .mob-phone--a .mob-shell,
  .mob-phone--c .mob-shell { width: 137px; }
  .mob-phone--b .mob-shell { width: 158px; }
  .mob-phones-wrap          { min-height: 430px; }
  .mob-glow { width: 340px; height: 320px; }
}

@media (max-width: 480px) {
  .mob-group { gap: 10px; }
  .mob-phone--a .mob-shell,
  .mob-phone--c .mob-shell {
    width: 114px; border-radius: 28px; border-width: 5px;
  }
  .mob-phone--b .mob-shell {
    width: 130px; border-radius: 28px; border-width: 5px;
  }
  .mob-phones-wrap { min-height: 380px; }
  .mob-phone--a    { margin-bottom: 28px; }
  .mob-phone--c    { margin-bottom: 14px; }
}

/* ============================================================
   FAMILIES TAB — Real images + layered composition
   ============================================================ */

/* Images fill the phone screen exactly (images are 1500×3248, ~9:19.5) */
.mob-scr img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
  transition: transform .7s var(--ease);
}
.mob-phone:hover .mob-scr img { transform: scale(1.03); }

/* Overlapping layered composition — shared by both tabs */
#mob-phones-families,
#mob-phones-caregivers {
  gap: 0;
  padding-bottom: 52px;
}
#mob-phones-families .mob-phone--a,
#mob-phones-caregivers .mob-phone--a { margin-right: -20px; z-index: 2; }

#mob-phones-families .mob-phone--b,
#mob-phones-caregivers .mob-phone--b { z-index: 4; }

#mob-phones-families .mob-phone--c,
#mob-phones-caregivers .mob-phone--c { margin-left: -20px; z-index: 2; }

/* Deeper shadow on center hero phone */
#mob-phones-families .mob-phone--b .mob-shell,
#mob-phones-caregivers .mob-phone--b .mob-shell {
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,.09),
    0 6px 20px rgba(0,0,0,.55),
    0 20px 52px rgba(0,0,0,.48),
    0 0 72px rgba(155,116,204,.22),
    -12px 0 40px rgba(0,0,0,.3),
    12px 0 40px rgba(0,0,0,.3);
}

/* Directional shadow fades side phones into center */
#mob-phones-families .mob-phone--a .mob-shell,
#mob-phones-caregivers .mob-phone--a .mob-shell {
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,.06),
    0 4px 14px rgba(0,0,0,.45),
    0 14px 38px rgba(0,0,0,.38),
    8px 0 32px rgba(0,0,0,.4);
}
#mob-phones-families .mob-phone--c .mob-shell,
#mob-phones-caregivers .mob-phone--c .mob-shell {
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,.06),
    0 4px 14px rgba(0,0,0,.45),
    0 14px 38px rgba(0,0,0,.38),
    -8px 0 32px rgba(0,0,0,.4);
}

/* "Choose → Book → Manage" step labels */
.mob-flow-labels {
  position: absolute;
  bottom: 8px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 42px;
  pointer-events: none;
}
.mob-flow-labels span {
  font-size: 9px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: rgba(155,116,204,.6);
}

/* Responsive overlap adjustments */
@media (max-width: 768px) {
  #mob-phones-families .mob-phone--a { margin-right: -14px; }
  #mob-phones-families .mob-phone--c { margin-left:  -14px; }
  .mob-flow-labels { gap: 32px; }
}
@media (max-width: 480px) {
  #mob-phones-families { gap: 0; }
  #mob-phones-families .mob-phone--a { margin-right: -10px; }
  #mob-phones-families .mob-phone--c { margin-left:  -10px; }
  .mob-flow-labels { gap: 24px; bottom: 4px; }
}

/* ============================================================
   ADMIN & OPERATIONS SECTION
   ============================================================ */

/* Section header */
.adm-header { max-width: 640px; margin-bottom: 52px; }

.adm-eyebrow {
  display: block;
  font-size: 10px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}

.adm-title {
  font-family: var(--f-head);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800; letter-spacing: -.03em; line-height: 1.1;
  color: var(--text); margin-bottom: 16px;
}

.adm-desc {
  font-size: 16px; color: var(--muted);
  line-height: 1.82; max-width: 580px;
}

/* ── Browser frame base ──────────────────────────────────────── */
.adm-frame {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 1px 2px rgba(0,0,0,.04),
    0 4px 16px rgba(0,0,0,.07),
    0 16px 40px rgba(0,0,0,.06);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.adm-frame:hover {
  transform: translateY(-5px);
  box-shadow:
    0 2px 4px rgba(0,0,0,.04),
    0 8px 24px rgba(0,0,0,.08),
    0 20px 44px rgba(0,0,0,.07);
}

/* Browser chrome bar */
.adm-chrome {
  background: rgba(247,247,251,.98);
  border-bottom: 1px solid rgba(0,0,0,.06);
  padding: 9px 14px;
  display: flex; align-items: center; gap: 5px;
  flex-shrink: 0;
}
.adm-dot {
  width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0;
}
.adm-dot--r { background: #ff5f57; }
.adm-dot--y { background: #ffbd2e; }
.adm-dot--g { background: #28ca41; }

.adm-url {
  flex: 1; margin-left: 8px;
  background: rgba(0,0,0,.04);
  border: 1px solid rgba(0,0,0,.055);
  border-radius: 5px;
  padding: 3px 12px;
  font-size: 10.5px; color: #b0b7c0;
  font-family: var(--f-body); text-align: center;
  letter-spacing: .01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ── Top: wide overview ──────────────────────────────────────── */
.adm-frame--main { margin-bottom: 20px; }

.adm-screen--wide {
  overflow: hidden;
  height: 500px;
  background: #f4f3fa;
}
.adm-screen--wide img {
  width: 100%; height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
  transition: transform 1.8s var(--ease);
}
.adm-frame--main:hover .adm-screen--wide img {
  transform: scale(1.025);
}

/* ── Bottom: two scroll panels ───────────────────────────────── */
.adm-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.adm-screen--scroll {
  overflow: hidden;
  height: 380px;
  background: #f4f3fa;
}
.adm-screen--scroll img {
  width: 100%; height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
  transition: transform .9s var(--ease);
}
.adm-frame--panel:hover .adm-screen--scroll img {
  transform: scale(1.04);
}

/* Footer label strip */
.adm-panel-label {
  padding: 10px 16px;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted);
  border-top: 1px solid rgba(0,0,0,.06);
  background: rgba(0,0,0,.014);
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .adm-screen--wide   { height: 400px; }
  .adm-screen--scroll { height: 320px; }
}

@media (max-width: 768px) {
  .adm-header         { margin-bottom: 36px; }
  .adm-panels         { grid-template-columns: 1fr; }
  .adm-screen--wide   { height: 300px; }
  .adm-screen--scroll { height: 300px; }
}

@media (max-width: 480px) {
  .adm-screen--wide   { height: 220px; }
  .adm-screen--scroll { height: 260px; }
}

/* ============================================================
   EXPERIENCE LOGIC — User flow diagrams
   ============================================================ */

/* Split layout */
.flow-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: center;
}

/* Left: copy */
.flow-eyebrow {
  display: block;
  font-size: 10px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 22px;
}

.flow-title {
  font-family: var(--f-head);
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 800; letter-spacing: -.03em; line-height: 1.12;
  color: var(--text); margin-bottom: 22px;
}

.flow-body {
  font-size: 15px; color: var(--muted);
  line-height: 1.82; margin-bottom: 14px;
}
.flow-body:last-child { margin-bottom: 0; }

.flow-bullets {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.flow-bullets li {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
}
.flow-bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}

/* Right: stacked diagram cards */
.flow-diagrams {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Each diagram is a link card */
.flow-diagram {
  display: block;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow:
    0 1px 3px rgba(0,0,0,.04),
    0 4px 16px rgba(0,0,0,.06);
  text-decoration: none;
  cursor: zoom-in;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.flow-diagram:hover {
  transform: translateY(-4px);
  border-color: rgba(123,94,167,.2);
  box-shadow:
    0 2px 4px rgba(0,0,0,.05),
    0 10px 28px rgba(0,0,0,.09),
    0 0 24px rgba(123,94,167,.06);
}

/* Image container — locked to 2:1 ratio matching the diagrams */
.flow-diagram-inner {
  aspect-ratio: 2 / 1;
  overflow: hidden;
  background: var(--surface-2);
  position: relative;
}

/* Secondary diagram is shorter — reduces visual weight */
.flow-diagram--secondary .flow-diagram-inner {
  aspect-ratio: 3 / 1;
}
.flow-diagram-inner img {
  width: 100%; height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  transition: transform .55s var(--ease);
}
.flow-diagram:hover .flow-diagram-inner img {
  transform: scale(1.04);
}

/* Overlay tag chips */
.flow-tags {
  position: absolute;
  bottom: 10px;
  left: 12px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  pointer-events: none;
}
.flow-tags span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(123,94,167,.2);
  border-radius: 100px;
  padding: 4px 10px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Label strip below image */
.flow-diagram-label {
  display: block;
  padding: 10px 16px;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted);
  border-top: 1px solid var(--border);
  background: var(--surface);
  transition: color .2s;
}
.flow-diagram:hover .flow-diagram-label { color: var(--accent); }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .flow-layout { gap: 52px; }
}

@media (max-width: 860px) {
  .flow-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}

@media (max-width: 480px) {
  .flow-diagram-inner { aspect-ratio: 16 / 9; }
}

/* ============================================================
   SMART APPLICATION ASSISTANT — Storytelling Sections
   ============================================================ */

/* Sub-section padding (tighter than the 140px default) */
.cbot-s { padding: 96px 0; }

/* Section backgrounds */
.cbot-s--solution {
  background:
    radial-gradient(ellipse 55% 60% at 8%  50%, rgba(123,94,167,.14) 0%, transparent 52%),
    radial-gradient(ellipse 45% 55% at 92% 30%, rgba(155,116,204,.09) 0%, transparent 50%),
    #080716;
}
.cbot-s--flow {
  background:
    radial-gradient(ellipse 60% 65% at 10% 55%, rgba(123,94,167,.18) 0%, transparent 52%),
    radial-gradient(ellipse 50% 60% at 90% 25%, rgba(155,116,204,.12) 0%, transparent 52%),
    linear-gradient(160deg, #0d0c18 0%, #110e25 55%, #090815 100%);
}
.cbot-s--impact {
  background:
    radial-gradient(ellipse 75% 50% at 50% 0%, rgba(155,116,204,.22) 0%, transparent 55%),
    #090815;
}

/* ── 1. Intro ──────────────────────────────────────────────────── */
.cbot-intro { max-width: 680px; }

.cbot-intro-title {
  font-family: var(--f-head);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 800; letter-spacing: -.04em; line-height: 1.05;
  color: var(--text); margin-bottom: 20px;
}
.cbot-intro-sub {
  font-size: clamp(16px, 1.8vw, 21px);
  color: rgba(240,238,255,.55);
  line-height: 1.7; max-width: 520px;
}

/* ── 2. Problem ────────────────────────────────────────────────── */
.cbot-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.cbot-eyebrow {
  display: block;
  font-size: 10px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.cbot-para {
  font-size: 16px; line-height: 1.82;
  color: var(--muted); margin-bottom: 24px;
}
.cbot-para--dim { color: rgba(240,238,255,.52); }

.cbot-insight {
  border-left: 2px solid var(--accent);
  padding: 4px 0 4px 20px;
  font-size: 15px; font-style: italic;
  color: var(--text); line-height: 1.7;
}

/* PDF form mock */
.cbot-pdf-mock {
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  padding: 26px;
  box-shadow:
    0 1px 2px rgba(0,0,0,.04),
    0 8px 32px rgba(0,0,0,.06),
    0 24px 64px rgba(0,0,0,.06);
}
.cbot-pdf-top { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.cbot-pdf-file-icon {
  width: 34px; height: 42px; flex-shrink: 0;
  background: #f0edf8;
  border: 1px solid rgba(123,94,167,.15);
  border-radius: 4px;
  position: relative;
}
.cbot-pdf-file-icon::after {
  content: '';
  position: absolute; top: 5px; right: -1px;
  width: 9px; height: 9px;
  background: #fff;
  border-left: 1px solid rgba(123,94,167,.15);
  border-bottom: 1px solid rgba(123,94,167,.15);
  border-radius: 0 0 0 3px;
}
.cbot-pdf-name {
  font-size: 12px; font-weight: 700;
  color: #1c1b2e; line-height: 1.4; margin-bottom: 3px;
}
.cbot-pdf-org { font-size: 11px; color: #9e9bb5; }
.cbot-pdf-divider { height: 1px; background: rgba(0,0,0,.07); margin-bottom: 16px; }
.cbot-pdf-rows { display: flex; flex-direction: column; gap: 11px; }
.cbot-pdf-row { display: flex; flex-direction: column; gap: 6px; }
.cbot-pdf-lbl { height: 7px; border-radius: 4px; background: rgba(0,0,0,.1); }
.cbot-pdf-inp { height: 26px; border-radius: 5px; border: 1px solid rgba(0,0,0,.12); }
.cbot-pdf-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 18px; padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,.07);
}
.cbot-pdf-badge {
  font-size: 10px; font-weight: 700; letter-spacing: .08em;
  color: #7b5ea7;
  background: rgba(123,94,167,.08);
  border: 1px solid rgba(123,94,167,.2);
  border-radius: 100px; padding: 4px 12px;
}
.cbot-pdf-pages { font-size: 11px; color: #9e9bb5; }

/* ── 3. Solution + Decisions ───────────────────────────────────── */
.cbot-block-h {
  font-family: var(--f-head);
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 800; letter-spacing: -.03em; line-height: 1.15;
  color: var(--text); margin-bottom: 18px;
}

.cbot-solution {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 72px;
}

.cbot-sol-bullets {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column;
  align-self: center;
}
.cbot-sol-bullets li {
  display: flex; align-items: center; gap: 14px;
  font-size: 15px; color: rgba(240,238,255,.72);
  line-height: 1.6;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.cbot-sol-bullets li:first-child { border-top: 1px solid rgba(255,255,255,.06); }
.cbot-sol-bullets li::before {
  content: '';
  width: 6px; height: 6px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent); opacity: 0.75;
}

/* Design decision cards */
.cbot-decisions--below { margin-top: 72px; }

.cbot-decisions-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: rgba(240,238,255,.35); margin-bottom: 18px;
}
.cbot-dc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.cbot-dc-card {
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r-lg);
  padding: 24px 20px;
  transition: background .3s, border-color .3s;
}
.cbot-dc-card:hover {
  background: rgba(155,116,204,.07);
  border-color: rgba(155,116,204,.22);
}
.cbot-dc-num {
  display: block;
  font-size: 9px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); opacity: 0.6;
  margin-bottom: 14px;
}
.cbot-dc-title {
  font-size: 13px; font-weight: 700;
  color: var(--text); letter-spacing: -.02em;
  line-height: 1.35; margin-bottom: 10px;
}
.cbot-dc-body {
  font-size: 13px; color: var(--muted); line-height: 1.65;
}

/* ── 4. Flow indicator (kept for future use) ───────────────────── */
.cbot-flow-head { margin-bottom: 44px; }
.cbot-flow-bar {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 14px;
  font-size: 10px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(240,238,255,.38);
}
.cbot-fi-arrow { color: rgba(155,116,204,.5); font-size: 12px; }

/* ── 4. Video demo — 2-column layout ──────────────────────────── */
.cbot-vid-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 64px;
  align-items: center;
}

/* Outer glow wrapper — self-centered so it never stretches to row height */
.cbot-vid-wrap {
  align-self: center;
  width: 100%;
  filter:
    drop-shadow(0 0 64px rgba(155,116,204,.35))
    drop-shadow(0 20px 48px rgba(0,0,0,.5));
}

/* Dark framed container */
.cbot-vid-frame {
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  padding: 14px;
  box-sizing: border-box;
  background:
    radial-gradient(ellipse 70% 55% at 50% 50%, rgba(155,116,204,.1) 0%, transparent 68%),
    #0b0919;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.09),
    inset 0 1px 0 rgba(255,255,255,.06),
    0 2px 8px rgba(0,0,0,.5),
    0 12px 48px rgba(0,0,0,.65),
    0 32px 80px rgba(0,0,0,.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cbot-vid-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 14px;
  box-shadow:
    0 2px 20px rgba(0,0,0,.6),
    0 0 0 1px rgba(255,255,255,.06);
}

.cbot-vid-desc {
  font-size: 15px;
  color: rgba(240,238,255,.58);
  line-height: 1.82;
  margin-bottom: 28px;
}

.cbot-vid-bullets {
  list-style: none; padding: 0; margin: 0 0 28px;
  display: flex; flex-direction: column;
}
.cbot-vid-bullets li {
  display: flex; align-items: center; gap: 13px;
  font-size: 14px; color: rgba(240,238,255,.72);
  line-height: 1.6;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.cbot-vid-bullets li:first-child { border-top: 1px solid rgba(255,255,255,.06); }
.cbot-vid-bullets li::before {
  content: '';
  width: 5px; height: 5px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent); opacity: 0.75;
}

.cbot-vid-quote {
  font-size: 14px; font-style: italic;
  color: rgba(240,238,255,.38);
  line-height: 1.7;
  padding-left: 16px;
  border-left: 2px solid rgba(155,116,204,.3);
}

/* Responsive */
@media (max-width: 900px) {
  .cbot-vid-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}

/* ── 5. Impact ─────────────────────────────────────────────────── */
.cbot-impact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 60px;
}
.cbot-impact-item {
  border-left: 2px solid var(--accent);
  padding: 12px 0 12px 20px;
  font-size: 15px; color: rgba(240,238,255,.68);
  line-height: 1.65;
}
.cbot-quote {
  display: block;
  text-align: center;
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 500; font-style: italic;
  letter-spacing: -.025em; line-height: 1.4;
  color: var(--text);
  padding-top: 52px;
  border-top: 1px solid rgba(255,255,255,.08);
  max-width: 760px; margin: 0 auto;
}

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .cbot-dc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .cbot-2col     { grid-template-columns: 1fr; gap: 48px; }
  .cbot-solution { grid-template-columns: 1fr; gap: 36px; }
  .cbot-impact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cbot-s { padding: 72px 0; }
  .cbot-dc-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SMART APPLICATION ASSISTANT — chatbot preview cards
   ============================================================ */

/* Dark framed container — identical 16:10 ratio on all 3 cards */
.cbot-img-wrap {
  aspect-ratio: 16 / 10;
  margin: 14px 14px 0;
  padding: 14px;
  box-sizing: border-box;
  border-radius: 10px;
  overflow: hidden;
  /* Dark stage for the screen preview */
  background:
    radial-gradient(ellipse 70% 55% at 50% 50%, rgba(155,116,204,.07) 0%, transparent 68%),
    #0c0a1e;
  /* Centre the image in the available space */
  display: flex;
  align-items: center;
  justify-content: center;
  /* Inset glow border */
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.05),
    0 2px 10px rgba(0,0,0,.5),
    0 0 22px rgba(155,116,204,.12);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}

.cs-shot:hover .cbot-img-wrap {
  transform: scale(1.035);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.08),
    0 8px 32px rgba(0,0,0,.65),
    0 0 36px rgba(155,116,204,.24);
}

/* Image — contained, never stretched or cropped */
.cbot-img-wrap img {
  display: block;
  max-width: 92%;
  max-height: 92%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center center;
  border-radius: 6px;
  /* Floating screen shadow */
  box-shadow:
    0 2px 14px rgba(0,0,0,.55),
    0 0 0 1px rgba(255,255,255,.05);
  transition: transform .45s var(--ease);
}

/* Label strip */
.cbot-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px 16px;
}
.cbot-num {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.65;
  min-width: 18px;
}
.cbot-title {
  font-size: 13px;
  font-weight: 600;
  color: rgba(240,238,255,.88);
  letter-spacing: -.01em;
  line-height: 1.3;
}

/* ============================================================
   HERO: PROJECT BRIEF BLOCK
   ============================================================ */

.fh-brief {
  margin-bottom: 26px;
  opacity: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid rgba(123,94,167,.14);
  border-radius: 14px;
  padding: 18px 20px;
  background: rgba(123,94,167,.04);
}

.fh-brief-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: baseline;
}

.fh-brief dt {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(123,94,167,.65);
  white-space: nowrap;
}

.fh-brief dd {
  font-size: 13px;
  color: #4f4b7a;
  line-height: 1.55;
  font-weight: 400;
}

/* ============================================================
   APPROACH SECTION
   ============================================================ */

.approach-header {
  margin-bottom: 56px;
  max-width: 680px;
}

.approach-title {
  font-family: var(--f-head);
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 800;
  letter-spacing: -.032em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 14px;
}

.approach-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.approach-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 24px 28px;
  transition: border-color .28s var(--ease), transform .32s var(--ease), box-shadow .32s var(--ease);
}
.approach-step:hover {
  border-color: rgba(155,116,204,.24);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.32), 0 0 16px rgba(155,116,204,.06);
}

.approach-step-num {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.approach-step-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.012em;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 12px;
}

.approach-step-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.72;
}

/* ============================================================
   CALLOUT ANNOTATIONS
   ============================================================ */

.cs-callout-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.cs-callout {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 14px;
  transition: border-color .2s, color .2s;
}
.cs-callout::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}
.cs-callout:hover {
  border-color: rgba(155,116,204,.24);
  color: var(--text);
}

/* Light section variant */
.cs-section--light .cs-callout {
  background: var(--surface);
  border-color: rgba(0,0,0,.08);
}
.cs-section--light .cs-callout::before { background: var(--accent); }
.cs-section--light .cs-callout:hover { border-color: rgba(123,94,167,.22); }

/* ============================================================
   AI WORKFLOW SECTION
   ============================================================ */

.ai-wf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 40px;
}

.ai-wf-title {
  font-family: var(--f-head);
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 16px;
}

.ai-wf-body {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.82;
  margin-bottom: 28px;
}

.ai-wf-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ai-wf-tools span {
  font-size: 12px;
  font-weight: 500;
  padding: 5px 14px;
  background: var(--accent-dim);
  color: var(--accent);
  border-radius: 100px;
  border: 1px solid rgba(123,94,167,.16);
}

.ai-wf-points {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-top: 4px;
}

.ai-wf-point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.ai-wf-arrow {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  flex-shrink: 0;
  line-height: 1.82;
  margin-top: 1px;
}

.ai-wf-point p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.72;
}

/* ============================================================
   OUTCOMES SECTION
   ============================================================ */

.outcomes-header {
  margin-bottom: 56px;
  max-width: 640px;
}

.outcomes-title {
  font-family: var(--f-head);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 800;
  letter-spacing: -.032em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 12px;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.outcome-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  transition: border-color .3s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.outcome-card:hover {
  border-color: rgba(155,116,204,.22);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.3), 0 0 20px rgba(155,116,204,.06);
}

.outcome-num {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(155,116,204,.5);
  margin-bottom: 16px;
}

.outcome-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.014em;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.35;
}

.outcome-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.72;
}

/* ============================================================
   NEW SECTIONS — RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .approach-steps   { grid-template-columns: repeat(3, 1fr); }
  .ai-wf-grid       { grid-template-columns: 1fr; gap: 48px; }
  .outcomes-grid    { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .approach-steps   { grid-template-columns: repeat(2, 1fr); }
  .fh-brief-row     { grid-template-columns: 56px 1fr; }
  .outcomes-grid    { grid-template-columns: 1fr; }
  .cs-callout-row   { gap: 8px; }
  .ai-wf-grid       { gap: 36px; margin-top: 28px; }
}

@media (max-width: 520px) {
  .approach-steps   { grid-template-columns: 1fr; }
  .fh-brief         { padding: 14px 16px; }
  .fh-brief-row     { grid-template-columns: 52px 1fr; gap: 10px; }
}
