/* ═══════════════════════════════════════════════════════════════
   PHOEBUZ — ASYNC Product Site
   Apple-grade design system: clean, minimal, typographic
   ═══════════════════════════════════════════════════════════════ */

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

:root {
  /* Brand palette */
  --ink:        #1d1d1f;
  --ink-soft:   #424245;
  --ink-muted:  #86868b;
  --surface:    #fbfbfd;
  --surface-alt:#f5f5f7;
  --white:      #ffffff;
  --accent:     #0071e3;
  --accent-hover:#0077ed;
  --accent-glow: rgba(0, 113, 227, .12);
  --green:      #34c759;
  --amber:      #ff9f0a;
  --violet:     #af52de;
  --gradient-hero: linear-gradient(165deg, #0a0a1a 0%, #0d1b3e 40%, #162456 100%);
  --gradient-card: linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.02));

  /* Type scale (fluid) */
  --fs-display: clamp(3rem, 6vw, 5.5rem);
  --fs-h1:      clamp(2rem, 4vw, 3.5rem);
  --fs-h2:      clamp(1.6rem, 3vw, 2.8rem);
  --fs-h3:      clamp(1.2rem, 2vw, 1.6rem);
  --fs-body:    1.125rem;
  --fs-small:   0.9375rem;
  --fs-micro:   0.8125rem;

  /* Spacing */
  --section-pad: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 5vw, 4rem);
  --radius:     16px;
  --radius-sm:  10px;
  --shadow:     0 2px 12px rgba(0,0,0,.06);
  --shadow-lg:  0 8px 40px rgba(0,0,0,.08);
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text',
               'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.5;
  font-size: var(--fs-body);
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }

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

/* ---------- Utility ---------- */
.container { max-width: 1120px; margin: 0 auto; padding: 0 clamp(1.5rem, 5vw, 4rem); }
.text-center { text-align: center; }
.text-muted  { color: var(--ink-muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  height: 52px;
  display: flex; align-items: center;
}
.nav .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav-brand { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: 1.15rem; letter-spacing: -.02em; color: var(--ink); }
.nav-brand img { height: 28px; width: 28px; object-fit: contain; }
.nav-brand span { font-weight: 400; color: var(--ink-muted); margin-left: .1rem; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { font-size: var(--fs-small); color: var(--ink-soft); font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  font-size: var(--fs-micro); font-weight: 600;
  background: var(--accent); color: var(--white);
  padding: .45rem 1.1rem; border-radius: 980px;
  transition: background var(--transition);
}
.nav-cta:hover { background: var(--accent-hover); color: var(--white); }

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: .5rem; }
.nav-toggle svg { width: 22px; height: 22px; stroke: var(--ink); }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--gradient-hero);
  color: var(--white);
  padding: clamp(7rem, 12vw, 10rem) clamp(1.5rem, 5vw, 4rem) clamp(4rem, 8vw, 6rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 100%, rgba(0,113,227,.15), transparent);
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-block;
  font-size: var(--fs-micro); font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: var(--fs-display);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.05;
  max-width: 900px;
  margin: 0 auto 1.5rem;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #60a5fa, #a78bfa, #f472b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
/* ===== Intelligence Stream — signal → brain → insight ===== */
.hero-stream {
  position: relative;
  max-width: 720px;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* --- Raw signal fragments (the chaos) --- */
.stream-signals {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem .6rem;
  max-width: 620px;
  margin-bottom: 2rem;
  position: relative;
}
.sig-fragment {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 6px;
  padding: .3rem .7rem;
  font-size: .72rem; font-weight: 400;
  color: rgba(255,255,255,.35);
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  white-space: nowrap;
  animation: sigDrift 8s ease-in-out infinite;
}
.sig-fragment .sig-src {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif;
  font-weight: 600;
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: rgba(96,165,250,.55);
  padding-right: .15rem;
}
.frag-1 { animation-delay: 0s; }
.frag-2 { animation-delay: .6s; }
.frag-3 { animation-delay: 1.2s; }
.frag-4 { animation-delay: 1.8s; }
.frag-5 { animation-delay: 2.4s; }
.frag-6 { animation-delay: 3s; }
.frag-7 { animation-delay: 3.6s; }

@keyframes sigDrift {
  0%, 100% { opacity: .6; transform: translateY(0); }
  40%      { opacity: 1;  transform: translateY(-3px); }
  70%      { opacity: .4; transform: translateY(2px); }
}

/* Converge lines — signals funnelling down into the core */
.stream-signals::after {
  content: '';
  position: absolute;
  bottom: -2rem;
  left: 50%; transform: translateX(-50%);
  width: 1px; height: 2rem;
  background: linear-gradient(180deg, rgba(96,165,250,.0), rgba(96,165,250,.25));
}

/* --- Intelligence core (the AI brain) --- */
.stream-core {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  padding: 1.5rem 0 1rem;
}
.core-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -55%);
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(96,165,250,.2) 0%, rgba(167,139,250,.1) 40%, transparent 70%);
  animation: coreBreath 5s ease-in-out infinite;
  pointer-events: none;
}
.core-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -55%);
  width: 120px; height: 120px;
  border-radius: 50%;
  border: 1px solid rgba(96,165,250,.15);
  animation: ringPulse 5s ease-in-out infinite;
}
.core-ring.ring-outer {
  width: 170px; height: 170px;
  border-color: rgba(167,139,250,.08);
  animation-delay: 1.2s;
}
.core-logo {
  width: 64px; height: 64px;
  object-fit: contain;
  position: relative; z-index: 2;
  filter: drop-shadow(0 0 20px rgba(96,165,250,.5)) drop-shadow(0 0 50px rgba(167,139,250,.25));
  animation: logoBreathe 5s ease-in-out infinite;
}
.core-label {
  margin-top: .75rem;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  position: relative; z-index: 2;
}

@keyframes coreBreath {
  0%, 100% { opacity: .7; transform: translate(-50%,-55%) scale(1); }
  50%      { opacity: 1;  transform: translate(-50%,-55%) scale(1.08); }
}
@keyframes ringPulse {
  0%, 100% { opacity: .5; transform: translate(-50%,-55%) scale(1); }
  50%      { opacity: .9; transform: translate(-50%,-55%) scale(1.04); }
}
@keyframes logoBreathe {
  0%, 100% { filter: drop-shadow(0 0 20px rgba(96,165,250,.5)) drop-shadow(0 0 50px rgba(167,139,250,.25)); }
  50%      { filter: drop-shadow(0 0 32px rgba(96,165,250,.7)) drop-shadow(0 0 70px rgba(167,139,250,.4)); }
}

/* Converge line — core to output */
.stream-core::after {
  content: '';
  display: block;
  width: 1px; height: 1.5rem;
  background: linear-gradient(180deg, rgba(96,165,250,.25), rgba(52,199,89,.2));
  margin-top: .75rem;
}

/* --- Intelligence output (the crystallised insight) --- */
.stream-output {
  width: 100%;
  max-width: 460px;
  margin-bottom: 2rem;
}
.insight-card {
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  padding: 1.1rem 1.4rem 1rem;
  animation: insightReveal 1.2s .8s ease both;
}
.insight-header {
  display: flex; align-items: center; gap: .45rem;
  margin-bottom: .55rem;
}
.insight-dot {
  width: 7px; height: 7px; border-radius: 50%;
}
.dot-amber  { background: #ff9f0a; box-shadow: 0 0 6px rgba(255,159,10,.5); }
.dot-red    { background: #ff453a; box-shadow: 0 0 6px rgba(255,69,58,.5); }
.dot-green  { background: #30d158; box-shadow: 0 0 6px rgba(48,209,88,.5); }
.insight-type {
  font-size: .7rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,159,10,.8);
}
.insight-body {
  font-size: .88rem;
  color: rgba(255,255,255,.8);
  line-height: 1.55;
  margin-bottom: .6rem;
}
.insight-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .68rem;
  color: rgba(255,255,255,.3);
}
.insight-confidence {
  background: rgba(48,209,88,.12);
  color: rgba(48,209,88,.8);
  padding: .15rem .5rem;
  border-radius: 980px;
  font-weight: 600;
}

@keyframes insightReveal {
  from { opacity: 0; transform: translateY(12px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* --- Intelligence Triad (Reactive / Proactive / Preventive) --- */
.hero-triad {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 2.5rem;
  position: relative; z-index: 1;
}
.triad-mode {
  display: flex; flex-direction: column; align-items: center;
  gap: .25rem;
  padding: .6rem 1.5rem;
}
.triad-indicator {
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-bottom: .15rem;
}
.ind-red   { background: #ff453a; box-shadow: 0 0 8px rgba(255,69,58,.4); }
.ind-amber { background: #ff9f0a; box-shadow: 0 0 8px rgba(255,159,10,.4); }
.ind-green { background: #30d158; box-shadow: 0 0 8px rgba(48,209,88,.4); }
.triad-label {
  font-size: .85rem; font-weight: 600;
  color: rgba(255,255,255,.85);
  letter-spacing: -.01em;
}
.triad-desc {
  font-size: .72rem; font-weight: 400;
  color: rgba(255,255,255,.35);
}
.triad-connector {
  flex-shrink: 0;
  opacity: .5;
}

/* --- Responsive --- */
@media (max-width: 600px) {
  .stream-signals { gap: .35rem .4rem; }
  .sig-fragment { font-size: .62rem; padding: .25rem .5rem; }
  .core-logo { width: 48px; height: 48px; }
  .core-glow { width: 140px; height: 140px; }
  .core-ring { width: 90px; height: 90px; }
  .core-ring.ring-outer { width: 130px; height: 130px; }
  .insight-card { padding: .9rem 1rem; }
  .insight-body { font-size: .82rem; }
  .hero-triad { flex-direction: column; gap: .4rem; }
  .triad-connector { transform: rotate(90deg); }
  .triad-mode { padding: .4rem 1rem; }
}

.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: var(--fs-small); font-weight: 600;
  padding: .85rem 2rem; border-radius: 980px;
  border: none; cursor: pointer;
  transition: all var(--transition);
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-hover); color: var(--white); transform: scale(1.03); }
.btn-secondary { background: rgba(255,255,255,.12); color: var(--white); border: 1px solid rgba(255,255,255,.2); }
.btn-secondary:hover { background: rgba(255,255,255,.2); color: var(--white); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #333; color: var(--white); }
.btn-outline { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.btn-outline:hover { background: var(--accent-glow); }

/* ---------- Social proof bar ---------- */
.proof-bar {
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,.04);
  padding: 2.5rem 0;
  text-align: center;
}
.proof-bar p { font-size: var(--fs-small); color: var(--ink-muted); margin-bottom: 1.5rem; font-weight: 500; }
.proof-logos { display: flex; align-items: center; justify-content: center; gap: 3rem; flex-wrap: wrap; opacity: .45; }
.proof-logos svg { height: 28px; }

/* ---------- Section ---------- */
.section { padding: var(--section-pad); }
.section-dark { background: var(--ink); color: var(--white); }
.section-alt  { background: var(--surface-alt); }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 4rem; }
.section-header .eyebrow {
  font-size: var(--fs-micro); font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .75rem;
}
.section-header h2 {
  font-size: var(--fs-h2); font-weight: 700;
  letter-spacing: -.025em; line-height: 1.12;
  margin-bottom: 1rem;
}
.section-header p { font-size: var(--fs-body); color: var(--ink-muted); line-height: 1.6; }

/* ---------- Feature grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.feature-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  transition: all var(--transition);
}
.feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}
.feature-icon.blue   { background: rgba(0,113,227,.1);  color: var(--accent); }
.feature-icon.green  { background: rgba(52,199,89,.1);   color: var(--green); }
.feature-icon.violet { background: rgba(175,82,222,.1);  color: var(--violet); }
.feature-icon.amber  { background: rgba(255,159,10,.1);  color: var(--amber); }
.feature-card h3 { font-size: var(--fs-h3); font-weight: 600; margin-bottom: .5rem; letter-spacing: -.015em; }
.feature-card p  { color: var(--ink-muted); line-height: 1.6; }

/* ---------- Moment / hero-style feature ---------- */
.moment {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.moment.reverse { direction: rtl; }
.moment.reverse > * { direction: ltr; }
.moment-text .eyebrow {
  font-size: var(--fs-micro); font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .75rem;
  display: flex; align-items: center; gap: .75rem;
}
.badge-coming-soon {
  display: inline-block;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #6366f1);
  padding: .3rem .7rem;
  border-radius: 999px;
  line-height: 1;
  white-space: nowrap;
}
.moment-text h2 {
  font-size: var(--fs-h1); font-weight: 700;
  letter-spacing: -.025em; line-height: 1.1;
  margin-bottom: 1rem;
}
.moment-text p { color: var(--ink-muted); line-height: 1.65; margin-bottom: 1.5rem; }
.moment-visual {
  background: var(--gradient-hero);
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  position: relative;
}
.moment-visual-inner {
  color: rgba(255,255,255,.6);
  font-size: 5rem;
  text-align: center;
}

/* Standup mock card */
.standup-mock {
  font-size: 1rem;
  text-align: left;
  width: 88%;
  max-width: 380px;
}
.standup-header {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.standup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.standup-dot.green {
  background: #34d399;
  box-shadow: 0 0 6px rgba(52,211,153,.4);
}
.standup-title {
  font-weight: 600;
  font-size: .95rem;
  color: rgba(255,255,255,.85);
}
.standup-time {
  margin-left: auto;
  font-size: .72rem;
  color: rgba(255,255,255,.3);
  white-space: nowrap;
}
.standup-block {
  margin-bottom: 1.2rem;
}
.standup-block:last-child {
  margin-bottom: 0;
}
.standup-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.35);
  margin-bottom: .45rem;
}
.standup-item {
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  line-height: 1.5;
  padding-left: 1rem;
  position: relative;
  margin-bottom: .3rem;
}
.standup-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
}
.standup-item.blocker::before {
  background: #f87171;
  box-shadow: 0 0 5px rgba(248,113,113,.35);
}

/* Intelligence card mocks */
.intel-mock {
  font-size: 1rem;
  text-align: left;
  width: 90%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.intel-card-alert {
  border-radius: 12px;
  padding: .85rem 1rem;
  border: 1px solid rgba(255,255,255,.06);
}
.intel-card-alert.warning {
  background: rgba(251,191,36,.08);
  border-color: rgba(251,191,36,.15);
}
.intel-card-alert.critical {
  background: rgba(248,113,113,.08);
  border-color: rgba(248,113,113,.15);
}
.intel-card-alert.info {
  background: rgba(96,165,250,.08);
  border-color: rgba(96,165,250,.15);
}
.intel-card-row {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: .4rem;
}
.intel-card-icon {
  font-size: .85rem;
  line-height: 1;
}
.intel-card-alert.warning .intel-card-icon { color: #fbbf24; }
.intel-card-alert.critical .intel-card-icon { color: #f87171; }
.intel-card-alert.info .intel-card-icon { color: #60a5fa; }
.intel-card-title {
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,.8);
}
.intel-card-badge {
  margin-left: auto;
  font-size: .55rem;
  padding: .2rem .5rem;
}
.intel-card-body {
  font-size: .78rem;
  color: rgba(255,255,255,.4);
  line-height: 1.5;
}
@media (max-width: 768px) {
  .moment, .moment.reverse { grid-template-columns: 1fr; direction: ltr; gap: 2rem; }
}

/* ---------- Sprint Intelligence (Split Layout) ---------- */
.sc-section {
  padding: 6rem 0;
  background: #000;
  color: #fff;
  overflow: hidden;
}
.sc-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  align-items: start;
}

/* Left: image panel — contained to viewport height */
.sc-visual {
  position: sticky;
  top: 2rem;
  height: fit-content;
}
.sc-frame {
  position: relative;
  background: linear-gradient(160deg, #0d0f17 0%, #131622 50%, #0d0f17 100%);
  border-radius: 20px;
  padding: 1rem;
  display: grid;
  max-height: 75vh;
  border: 1px solid rgba(255,255,255,.06);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.03),
    0 1px 2px rgba(0,0,0,.3),
    0 4px 12px rgba(0,0,0,.2),
    0 16px 40px rgba(0,0,0,.35),
    0 48px 80px -12px rgba(0,0,0,.5),
    inset 0 1px 0 rgba(255,255,255,.04);
}
/* Subtle gradient border effect */
.sc-frame::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 21px;
  background: linear-gradient(
    160deg,
    rgba(255,255,255,.1) 0%,
    rgba(255,255,255,.03) 25%,
    transparent 50%,
    rgba(255,255,255,.02) 75%,
    rgba(255,255,255,.06) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1px;
  pointer-events: none;
  z-index: 1;
}
/* Top edge highlight */
.sc-frame::after {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.12) 30%, rgba(255,255,255,.15) 50%, rgba(255,255,255,.12) 70%, transparent);
  border-radius: 1px;
  z-index: 2;
}
.sc-img {
  display: block;
  border-radius: 12px;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  grid-area: 1 / 1;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
  opacity: 0;
  transform: translateY(8px);
  filter: blur(4px);
  transition:
    opacity .8s cubic-bezier(.23,1,.32,1),
    transform .8s cubic-bezier(.23,1,.32,1),
    filter .8s cubic-bezier(.23,1,.32,1);
  pointer-events: none;
}
.sc-img:first-child {
  position: relative;
  max-height: calc(75vh - 2rem);
}
.sc-img:not(:first-child) {
  position: absolute;
  inset: 1rem;
  width: calc(100% - 2rem);
  max-height: calc(100% - 2rem);
}
.sc-img--active {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  pointer-events: auto;
  z-index: 2;
}

/* Right: text content */
.sc-content {
  padding: 1rem 0;
}
.sc-eyebrow {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent, #4C9AFF);
  margin-bottom: .75rem;
}
.sc-headline {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.15;
  margin-bottom: .75rem;
}
.sc-subhead {
  font-size: 1.05rem;
  color: rgba(255,255,255,.45);
  line-height: 1.65;
  margin-bottom: 2rem;
}

/* Tab pills */
.sc-tabs {
  display: inline-flex;
  gap: .25rem;
  background: rgba(255,255,255,.08);
  border-radius: 999px;
  padding: .25rem;
  margin-bottom: 2rem;
}
.sc-tab {
  appearance: none;
  border: none;
  background: transparent;
  color: rgba(255,255,255,.5);
  font-size: .85rem;
  font-weight: 600;
  padding: .55rem 1.2rem;
  border-radius: 999px;
  cursor: pointer;
  transition: color .6s cubic-bezier(.23,1,.32,1), background .6s cubic-bezier(.23,1,.32,1), box-shadow .6s cubic-bezier(.23,1,.32,1);
  font-family: inherit;
}
.sc-tab:hover {
  color: rgba(255,255,255,.8);
}
.sc-tab--active {
  background: rgba(255,255,255,.15);
  color: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
}

/* Description cards */
.sc-descriptions {
  display: grid;
}
.sc-desc {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(10px);
  filter: blur(2px);
  transition:
    opacity .7s cubic-bezier(.23,1,.32,1),
    transform .7s cubic-bezier(.23,1,.32,1),
    filter .7s cubic-bezier(.23,1,.32,1);
}
.sc-desc--active {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.sc-desc h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: .5rem;
  color: #fff;
}
.sc-desc > p {
  font-size: 1rem;
  color: rgba(255,255,255,.5);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.sc-detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
.sc-detail-list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: .92rem;
  color: rgba(255,255,255,.4);
  line-height: 1.55;
}
.sc-detail-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(96,165,250,.6);
}

/* Mobile: stack vertically */
@media (max-width: 768px) {
  .sc-section { padding: 4rem 0; }
  .sc-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .sc-visual {
    position: relative;
    top: auto;
  }
  .sc-frame { padding: .75rem; border-radius: 12px; max-height: 55vh; }
  .sc-img:first-child { max-height: calc(55vh - 1.5rem); }
  .sc-img:not(:first-child) {
    inset: .75rem;
    width: calc(100% - 1.5rem);
    max-height: calc(100% - 1.5rem);
  }
  .sc-tabs { display: flex; flex-wrap: wrap; justify-content: center; }
  .sc-tab { font-size: .8rem; padding: .5rem 1rem; }
}

/* ---------- Insights Engine (Light Split-Screen) ---------- */
.ins-section {
  padding: 7rem 0;
  background: linear-gradient(180deg, #F7F8FA 0%, #EEF0F4 100%);
  overflow: hidden;
}
.ins-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 4rem;
  align-items: stretch;
}

/* Left text column — flex to fill height and align with image */
.ins-text {
  max-width: 480px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ins-eyebrow {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #6554C0;
  margin-bottom: .75rem;
}
.ins-headline {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.12;
  color: var(--ink, #172B4D);
  margin-bottom: 1rem;
}
.ins-body {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink-muted, #5E6C84);
  margin-bottom: 2.5rem;
}

/* Clickable feature blocks */
.ins-features {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.ins-feature {
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  border-left: 3px solid transparent;
  cursor: pointer;
  will-change: background, border-color, box-shadow;
  transition:
    background .7s cubic-bezier(.22,.61,.36,1),
    border-color .7s cubic-bezier(.22,.61,.36,1),
    box-shadow .7s cubic-bezier(.22,.61,.36,1);
}
.ins-feature h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink, #172B4D);
  margin-bottom: .35rem;
  opacity: .45;
  will-change: opacity;
  transition: opacity .7s cubic-bezier(.22,.61,.36,1);
}
.ins-feature p {
  font-size: .9rem;
  line-height: 1.55;
  color: var(--ink-muted, #5E6C84);
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  overflow: hidden;
  will-change: grid-template-rows, opacity;
  transition:
    grid-template-rows .7s cubic-bezier(.22,.61,.36,1),
    opacity .6s cubic-bezier(.22,.61,.36,1) .05s,
    margin .7s cubic-bezier(.22,.61,.36,1);
  margin-top: 0;
}
.ins-feature p > span {
  overflow: hidden;
}
.ins-feature:hover h4 {
  opacity: .65;
}
.ins-feature--active {
  background: #fff;
  border-left-color: #6554C0;
  box-shadow: 0 1px 3px rgba(0,0,0,.04), 0 6px 20px rgba(0,0,0,.06);
}
.ins-feature--active h4 {
  opacity: 1;
}
.ins-feature--active p {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: .35rem;
}

/* Right visual column — aligned with left text */
.ins-visuals {
  display: flex;
  align-items: center;
}
.ins-visuals-inner {
  position: relative;
  width: 100%;
  display: grid;
}
.ins-card {
  grid-area: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 2px 8px rgba(0,0,0,.06),
    0 12px 40px rgba(0,0,0,.1);
  opacity: 0;
  transform: translateY(12px) scale(.98);
  filter: blur(6px);
  will-change: opacity, transform, filter;
  transition:
    opacity 1s cubic-bezier(.22,.61,.36,1),
    transform 1s cubic-bezier(.22,.61,.36,1),
    filter .9s cubic-bezier(.22,.61,.36,1);
  pointer-events: none;
}
.ins-card--active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  pointer-events: auto;
  z-index: 2;
}
.ins-card img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .ins-section { padding: 4rem 0; }
  .ins-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
  }
  .ins-text {
    max-width: 100%;
    justify-content: flex-start;
  }
  .ins-visuals {
    order: -1;
  }
  .ins-feature p {
    grid-template-rows: 1fr;
    opacity: 1;
    margin-top: .35rem;
  }
}

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.price-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  display: flex; flex-direction: column;
  transition: all var(--transition);
}
.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-lg);
  position: relative;
}
.price-card.featured::before {
  content: 'Most Popular';
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--white);
  font-size: var(--fs-micro); font-weight: 600;
  padding: .25rem 1rem; border-radius: 980px;
}
.price-card h3 { font-size: var(--fs-h3); font-weight: 600; margin-bottom: .25rem; }
.price-card .price { font-size: 2.5rem; font-weight: 700; letter-spacing: -.03em; margin: 1rem 0 .25rem; }
.price-card .price span { font-size: var(--fs-small); font-weight: 400; color: var(--ink-muted); }
.price-card .price-note { font-size: var(--fs-micro); color: var(--ink-muted); margin-bottom: 1.5rem; }
.price-card ul { list-style: none; flex: 1; margin-bottom: 2rem; }
.price-card li { padding: .45rem 0; font-size: var(--fs-small); color: var(--ink-soft); display: flex; align-items: flex-start; gap: .5rem; }
.price-card li::before { content: '\2713'; color: var(--green); font-weight: 700; flex-shrink: 0; }
.price-card .btn { width: 100%; justify-content: center; }

/* ---------- Stats row ---------- */
.stats { display: flex; justify-content: center; gap: clamp(2rem, 5vw, 5rem); flex-wrap: wrap; padding: 3rem 0; }
.stat { text-align: center; }
.stat-value { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; letter-spacing: -.03em; }
.stat-label { font-size: var(--fs-small); color: var(--ink-muted); margin-top: .25rem; }
.section-dark .stat-label { color: rgba(255,255,255,.5); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--gradient-hero);
  color: var(--white);
  text-align: center;
  padding: clamp(5rem, 10vw, 8rem) clamp(1.5rem, 5vw, 4rem);
}
.cta-banner h2 { font-size: var(--fs-h1); font-weight: 700; letter-spacing: -.025em; margin-bottom: 1rem; line-height: 1.1; }
.cta-banner p { color: rgba(255,255,255,.6); max-width: 540px; margin: 0 auto 2rem; }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,.5);
  padding: 4rem 0 2.5rem;
  font-size: var(--fs-small);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand p { margin-top: .75rem; max-width: 280px; line-height: 1.6; }
.footer h4 { color: rgba(255,255,255,.85); font-size: var(--fs-small); font-weight: 600; margin-bottom: 1rem; }
.footer ul { list-style: none; }
.footer li { margin-bottom: .5rem; }
.footer a { color: rgba(255,255,255,.5); }
.footer a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 2rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Legal pages ---------- */
.legal-hero {
  background: var(--surface-alt);
  padding: 8rem 0 3rem;
  text-align: center;
}
.legal-hero h1 { font-size: var(--fs-h1); font-weight: 700; letter-spacing: -.025em; }
.legal-hero p { color: var(--ink-muted); margin-top: .5rem; }
.legal-body { max-width: 780px; margin: 0 auto; padding: 3rem clamp(1.5rem, 5vw, 2rem) 6rem; }
.legal-body h2 { font-size: var(--fs-h3); font-weight: 600; margin: 2.5rem 0 .75rem; letter-spacing: -.01em; }
.legal-body h3 { font-size: 1.1rem; font-weight: 600; margin: 1.5rem 0 .5rem; }
.legal-body p  { color: var(--ink-soft); line-height: 1.7; margin-bottom: 1rem; }
.legal-body ul, .legal-body ol { color: var(--ink-soft); line-height: 1.7; margin: .5rem 0 1rem 1.5rem; }
.legal-body li { margin-bottom: .4rem; }
.legal-body table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; }
.legal-body th, .legal-body td { text-align: left; padding: .65rem .75rem; font-size: var(--fs-small); border-bottom: 1px solid rgba(0,0,0,.06); }
.legal-body th { font-weight: 600; color: var(--ink); }

/* ---------- Support page ---------- */
.support-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 1.5rem; }
.support-card {
  background: var(--white); border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--radius); padding: 2rem; text-align: center;
  transition: all var(--transition);
}
.support-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.support-card .icon { font-size: 2rem; margin-bottom: 1rem; }
.support-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: .5rem; }
.support-card p { color: var(--ink-muted); font-size: var(--fs-small); }

/* ---------- Animations ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .8s ease both; }
.fade-up-d1 { animation-delay: .1s; }
.fade-up-d2 { animation-delay: .2s; }
.fade-up-d3 { animation-delay: .3s; }
