/* ============================================================
   TRADES BY COOP — styles.css  (High-End Redesign)
   Variables → Reset → Base → Focus → Utilities →
   Buttons → Nav → Hero → Features → Tools → Analysts →
   Testimonials → Pricing → CTA Banner → Footer → About →
   FAQ → Scroll Reveal → Reduced Motion → Responsive
   ============================================================ */

/* ============================================================
   1. VARIABLES
   ============================================================ */
:root {
  /* Refined palette — deep navy identity, not generic dark */
  --black:       #06080f;            /* near-black with unmistakable navy DNA */
  --deep:        #0a0d17;            /* dark surface — distinctly blue-dark */
  --panel:       #0e1222;            /* card bg — richer, more tinted */
  --panel-2:     #111728;            /* secondary surface — layered depth */
  --border:      rgba(255,255,255,0.065);
  --border-blue: rgba(96,152,255,0.12); /* blue-tinted border for accents */

  /* Blue family — authoritative, not electric */
  --blue:        #4080f0;            /* primary action — confident, deep blue */
  --blue-light:  #6ea4f5;            /* hover, emphasis, italic text */
  --blue-glow:   rgba(64,128,240,0.14);
  --blue-mid:    #2a62d8;            /* active / pressed states */

  /* Text — cool-warm whites with blue DNA */
  --white:       #edf1fc;            /* primary text — softly tinted, not stark */
  --muted:       #8895b5;            /* secondary text — blue-grey */

  /* Warm accent — reserved for premium signals only */
  --gold:        #c9a84c;            /* "best value", savings, featured callouts */
  --gold-dim:    rgba(201,168,76,0.10);

  /* Motion tokens */
  --ease-expo:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-quart:  cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-3:  cubic-bezier(0.33, 1, 0.68, 1);   /* cubic */
  --ease-out-5:  cubic-bezier(0.22, 1, 0.36, 1);   /* quintic — extra smooth */
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Figtree', sans-serif;
  font-weight: 400;
  line-height: 1.72;
  overflow-x: hidden;
  font-feature-settings: 'ss01', 'kern';
  text-rendering: optimizeLegibility;
}

/* Subtle grain overlay — adds organic texture at 2.2% opacity */
body::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.022;
  pointer-events: none;
  z-index: 9998;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

img {
  display: block;
  max-width: 100%;
}

ul {
  list-style: none;
}

/* ============================================================
   3. FOCUS
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ============================================================
   4. SHARED UTILITIES
   ============================================================ */
.section {
  padding: 110px 5vw;
}

.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.section-title {
  font-family: 'Gloock', serif;
  font-size: clamp(2.1rem, 3.8vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-optical-sizing: auto;
}

.section-title em {
  font-style: italic;
  color: var(--blue-light);
}

/* Section-specific label sizing */
.features .section-label,
.tools .section-label,
.analysts .section-label,
.testimonials .section-label,
.pricing-preview .section-label,
.about-bio .section-label,
.faq .section-label {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
}

/* Section-specific title sizing — confident scale jump */
.features .section-title,
.tools .section-title,
.analysts .section-title,
.testimonials .section-title,
.pricing-preview .section-title,
.about-bio .section-title,
.faq .section-title {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.section-sub {
  color: var(--muted);
  font-size: 1.025rem;
  line-height: 1.78;
  max-width: 58ch;
  text-align: center;
  margin: 0 auto;
}

/* ============================================================
   5. BUTTONS — pill design with physical press feel
   ============================================================ */
.btn-primary {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  padding: 15px 36px;
  border-radius: 100px;
  font-family: 'Figtree', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(64,128,240,0.3), 0 1px 2px rgba(0,0,0,0.35);
  transition:
    background 0.25s var(--ease-expo),
    transform 0.18s var(--ease-quart),
    box-shadow 0.28s var(--ease-expo);
  cursor: pointer;
}

/* Shimmer sweep on hover */
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    108deg,
    transparent 20%,
    rgba(255,255,255,0.2) 50%,
    transparent 80%
  );
  transform: translateX(-120%) skewX(-12deg);
  transition: transform 0.65s var(--ease-expo);
}

.btn-primary:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(64,128,240,0.48), 0 2px 8px rgba(64,128,240,0.18);
}

.btn-primary:hover::after {
  transform: translateX(150%) skewX(-12deg);
}

.btn-primary:active {
  transform: translateY(1px) scale(0.985);
  box-shadow: 0 1px 8px rgba(64,128,240,0.22);
  background: var(--blue-mid);
}

.btn-ghost {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(244,246,250,0.75);
  padding: 15px 36px;
  border-radius: 100px;
  background: none;
  font-family: 'Figtree', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  transition:
    border-color 0.25s var(--ease-expo),
    color 0.25s var(--ease-expo),
    background 0.25s var(--ease-expo),
    transform 0.18s var(--ease-quart);
  cursor: pointer;
}

.btn-ghost:hover {
  border-color: rgba(64,128,240,0.55);
  color: var(--white);
  background: rgba(64,128,240,0.07);
  transform: translateY(-2px);
}

.btn-ghost:active {
  transform: translateY(1px) scale(0.985);
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

/* ============================================================
   6. NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  height: 72px;
  background: rgba(6, 8, 15, 0.84);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border-bottom: 1px solid rgba(255,255,255,0.055);
  transition:
    background 0.35s var(--ease-expo),
    border-color 0.35s var(--ease-expo),
    box-shadow 0.35s var(--ease-expo);
}

/* Scrolled state — slightly more opaque, stronger border */
.nav--scrolled {
  background: rgba(6, 8, 15, 0.96);
  border-bottom-color: rgba(255,255,255,0.09);
  box-shadow: 0 1px 0 rgba(64,128,240,0.10), 0 4px 28px rgba(0,0,0,0.4);
}

.nav-logo {
  font-family: 'Gloock', serif;
  font-size: 1.35rem;
  color: var(--white);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.01em;
}

.nav-logo-img {
  height: 36px;
  width: 36px;
  border-radius: 8px;
  display: block;
  flex-shrink: 0;
}

.footer-logo-img {
  height: 20px;
  width: 20px;
  border-radius: 4px;
  vertical-align: middle;
  margin-right: 6px;
  display: inline-block;
  opacity: 0.65;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-link {
  color: rgba(136,149,181,0.85);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: color 0.2s var(--ease-expo);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--blue);
  transition: width 0.3s var(--ease-quart);
}

.nav-link:hover,
.nav-link--active {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link--active::after {
  width: 100%;
}

.nav-cta {
  flex-shrink: 0;
  padding: 9px 22px;
  font-size: 0.85rem;
}

/* Hamburger — hidden on desktop */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 6px;
  flex-shrink: 0;
}

.nav-hamburger__line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-expo), opacity 0.2s ease;
}

.nav-hamburger[aria-expanded="true"] .nav-hamburger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger[aria-expanded="true"] .nav-hamburger__line:nth-child(2) {
  opacity: 0;
}
.nav-hamburger[aria-expanded="true"] .nav-hamburger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav drawer */
.nav-mobile {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(8,11,20,0.98);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 5vw 2rem;
  flex-direction: column;
  gap: 0;
}
.nav-mobile.is-open {
  display: flex;
}

.nav-mobile__link {
  color: rgba(136,149,181,0.85);
  font-size: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s var(--ease-expo);
}
.nav-mobile__link:hover {
  color: var(--white);
}

.nav-mobile__cta {
  margin-top: 1.5rem;
  text-align: center;
}

/* Page wrapper — offsets fixed nav */
.page-wrapper {
  padding-top: 72px;
}

/* ============================================================
   7. HERO — cinematic
   ============================================================ */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 5vw 80px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 60% at 50% -8%, rgba(64,128,240,0.16) 0%, transparent 65%),
    radial-gradient(ellipse 55% 40% at 84% 90%, rgba(42,98,216,0.10) 0%, transparent 55%),
    radial-gradient(ellipse 45% 35% at 10% 55%, rgba(64,128,240,0.06) 0%, transparent 55%);
}

/* Animated ambient orb — top-left */
.hero::before {
  content: '';
  position: absolute;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(64,128,240,0.07) 0%, transparent 65%);
  top: -30%;
  left: -20%;
  animation: orbDrift1 16s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

/* Animated ambient orb — bottom-right */
.hero::after {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42,98,216,0.065) 0%, transparent 65%);
  bottom: -20%;
  right: -18%;
  animation: orbDrift2 20s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

@keyframes orbDrift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(55px, -35px) scale(1.05); }
  66%       { transform: translate(-30px, 22px) scale(0.96); }
}
@keyframes orbDrift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40%       { transform: translate(-45px, 28px) scale(1.07); }
  75%       { transform: translate(32px, -40px) scale(0.94); }
}

/* Hero content sits above orbs */
.hero__heading,
.hero__sub,
.hero__ctas {
  position: relative;
  z-index: 1;
}

/* Staggered entrance animation — triggered by .hero--entered via JS */
.hero__heading,
.hero__sub,
.hero__ctas {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 1s var(--ease-expo),
    transform 1s var(--ease-expo);
}
.hero__sub  { transition-delay: 0.2s; }
.hero__ctas { transition-delay: 0.4s; }

.hero--entered .hero__heading,
.hero--entered .hero__sub,
.hero--entered .hero__ctas {
  opacity: 1;
  transform: translateY(0);
}

.hero__heading {
  font-family: 'Gloock', serif;
  font-size: clamp(3.4rem, 8.5vw, 7.5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-optical-sizing: auto;
  max-width: 900px;
}

.hero__heading em {
  font-style: italic;
  color: var(--blue-light);
}

.hero__sub {
  margin-top: 1.75rem;
  max-width: 500px;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.82;
  font-weight: 400;
}

.hero__ctas {
  margin-top: 3rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ============================================================
   8. FEATURES — 2-column sticky layout
   ============================================================ */
.features__layout {
  display: flex;
  gap: 5.5rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: flex-start;
}

.features__left {
  flex: 0 0 300px;
  position: sticky;
  top: 100px;
}

.features__heading {
  font-family: 'Gloock', serif;
  font-size: clamp(1.9rem, 2.8vw, 2.65rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 1rem 0 1.25rem;
  font-optical-sizing: auto;
}

.features__subtext {
  font-size: 0.975rem;
  color: var(--muted);
  line-height: 1.82;
  margin-bottom: 2.5rem;
  max-width: 42ch;
}

.features__right {
  flex: 1;
  min-width: 0;
}

/* Numbered feature rows */
.feature-row {
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
  padding: 1.65rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.065);
  position: relative;
  transition:
    background 0.25s var(--ease-expo),
    padding-left 0.25s var(--ease-quart);
}
.feature-row:first-child {
  border-top: 1px solid rgba(255,255,255,0.065);
}
.feature-row:hover {
  background: rgba(64,128,240,0.038);
  padding-left: 0.5rem;
}
.feature-row:hover .feature-row__num {
  color: var(--blue-light);
  transform: scale(1.22) translateX(2px);
  letter-spacing: 0.16em;
}

.feature-row__num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  color: var(--blue);
  letter-spacing: 0.1em;
  flex-shrink: 0;
  padding-top: 0.25rem;
  min-width: 30px;
  transition:
    color 0.28s var(--ease-expo),
    transform 0.32s var(--ease-out-5),
    letter-spacing 0.32s var(--ease-out-5);
  will-change: transform;
  display: inline-block;
}

.feature-row__body {
  flex: 1;
  min-width: 0;
}

.feature-row__title {
  font-family: 'Figtree', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 0.35rem;
  letter-spacing: 0.005em;
}

.feature-row__desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.76;
  max-width: 54ch;
}

/* ============================================================
   9. SCANNING TOOLS — split layout
   ============================================================ */
.tools {
  background: var(--black);
}

.tools .section-label,
.tools .section-title,
.tools__sub,
.features .section-label,
.features .section-title,
.features__subtext {
  text-align: center;
}

.tools__sub {
  margin: 0.6rem auto 4.5rem;
}

.tool-split {
  display: flex;
  gap: 4.5rem;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto 4.5rem;
}

.tool-split--reverse {
  flex-direction: row-reverse;
}

.tool-split__text {
  flex: 1;
  min-width: 0;
}

.tool-split__label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.67rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.8rem;
}

.tool-split__name {
  font-family: 'Gloock', serif;
  font-size: clamp(1.85rem, 2.8vw, 2.6rem);
  line-height: 1.08;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
  font-optical-sizing: auto;
}

.tool-split__desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 0.75rem;
  max-width: 52ch;
}

.tool-split__retail {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--muted);
  opacity: 0.5;
  letter-spacing: 0.04em;
}

.tool-split__panel {
  flex: 0 0 360px;
  background: var(--deep);
  border: 1px solid var(--border);
  border-radius: 28px;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tool-split__placeholder {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--muted);
  opacity: 0.4;
  letter-spacing: 0.08em;
}

.tool-split__panel--branded {
  flex-direction: column;
  gap: 0;
  background: transparent;
  border-color: transparent;
  padding: 2.5rem;
}

.tool-brand__asset-img {
  width: auto;
  height: auto;
  max-width: 160px;
  max-height: 120px;
  object-fit: contain;
  border-radius: 0;
  display: block;
  margin: 0 auto;
  opacity: 0.9;
}

/* Savings callout */
.tools__savings {
  max-width: 1000px;
  margin: 3.5rem auto 0;
  background: rgba(10,13,23,0.65);
  border: 1px solid rgba(64,128,240,0.2);
  border-radius: 20px;
  padding: 3rem;
  font-family: 'Figtree', sans-serif;
  position: relative;
  overflow: hidden;
}

.tools__savings::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(64,128,240,0.65), transparent);
}

.tools__savings-main {
  font-size: 1rem;
  color: rgba(244,246,250,0.6);
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.tools__savings-highlight {
  font-family: 'Gloock', serif;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

/* ============================================================
   10. ANALYST GRID — luxury glassmorphism
   ============================================================ */
.analysts {
  padding-top: 110px;
  text-align: center;
  position: relative;
  background:
    radial-gradient(ellipse 95% 65% at 50% 50%, rgba(64,128,240,0.06) 0%, transparent 70%),
    var(--black);
}

.analysts .section-title,
.analysts .section-label,
.analysts .section-sub,
.analysts__sub,
.testimonials .section-label,
.testimonials .section-title,
.testimonials .section-sub {
  text-align: center;
}

.analysts__sub {
  margin: 0.6rem auto 3rem;
}

.analysts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 980px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.slider-outer {
  overflow: hidden;
  position: relative;
}

.slider-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.slider-track::-webkit-scrollbar {
  display: none;
}

/* Analyst cards */
.analyst-card {
  background: rgba(14,18,34,0.94);
  border: 1px solid rgba(255,255,255,0.085);
  border-radius: 20px;
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
  /* Double-bezel — floating ring outside the card */
  outline: 1px solid rgba(64,128,240,0.07);
  outline-offset: 5px;
  transition:
    border-color 0.5s var(--ease-out-5),
    transform 0.5s var(--ease-out-5),
    box-shadow 0.5s var(--ease-out-5),
    outline-color 0.55s var(--ease-out-5),
    outline-offset 0.55s var(--ease-out-5);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.07),
    inset 0 -1px 0 rgba(0,0,0,0.28),
    0 4px 8px rgba(0,0,0,0.6),
    0 20px 44px rgba(0,0,0,0.38);
}

/* Top inner glass highlight */
.analyst-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(255,255,255,0.28) 50%, transparent 95%);
  opacity: 0.9;
}

/* Ambient inner radial tint */
.analyst-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: radial-gradient(ellipse at 45% 0%, rgba(64,128,240,0.13) 0%, transparent 58%);
  pointer-events: none;
  opacity: 0.55;
  transition: opacity 0.5s var(--ease-out-5);
}
.analyst-card:hover::after {
  opacity: 1;
}

.analyst-card:hover {
  border-color: rgba(64,128,240,0.55);
  transform: translateY(-7px) scale(1.022);
  outline-color: rgba(64,128,240,0.26);
  outline-offset: 12px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.16),
    inset 0 -1px 0 rgba(0,0,0,0.12),
    0 14px 28px rgba(0,0,0,0.48),
    0 40px 80px rgba(0,0,0,0.32),
    0 0 100px rgba(64,128,240,0.22);
}

.analyst-card:hover::before { opacity: 1; }

.analyst-card--placeholder {
  opacity: 0.38;
  pointer-events: none;
  overflow: hidden;
  word-break: break-word;
}

.analyst-card__header {
  margin-bottom: 1.15rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.analyst-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-light);
  background: rgba(64,128,240,0.14);
  border: 1px solid rgba(110,164,245,0.28);
  padding: 5px 13px;
  border-radius: 100px;
  display: inline-block;
}

.analyst-card__name {
  font-family: 'Gloock', serif;
  font-size: 1.85rem;
  color: var(--white);
  margin-bottom: 0.65rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-optical-sizing: auto;
}

.analyst-card__desc {
  font-size: 0.85rem;
  color: rgba(136,149,181,0.9);
  line-height: 1.72;
}

/* Slider controls */
.slider-controls {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  color: var(--muted);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    border-color 0.25s var(--ease-expo),
    color 0.25s var(--ease-expo),
    background 0.25s var(--ease-expo),
    transform 0.2s var(--ease-quart);
}
.slider-btn:hover {
  border-color: rgba(64,128,240,0.45);
  color: var(--white);
  background: rgba(64,128,240,0.09);
  transform: scale(1.08);
}

/* ============================================================
   11. TESTIMONIALS
   ============================================================ */
.testimonials {
  background: var(--black);
}

.testimonials__header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.testimonials__sub {
  margin-top: 0.6rem;
}

.testimonials__window {
  max-height: 600px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
}

.testimonials__columns {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: flex-start;
}

/* CRITICAL: JS owns the transform on these — no CSS animation/transition on transform */
.testimonials__col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 300px;
  flex-shrink: 0;
  user-select: none;
  will-change: transform;
}

.testimonials__col--2,
.testimonials__col--3 {
  display: none;
}

.testimonial-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 18px;
  padding: 1.6rem;
  font-size: 0.875rem;
  color: rgba(136,149,181,0.88);
  line-height: 1.78;
  pointer-events: none;
  min-height: 120px;
  position: relative;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 15%, rgba(255,255,255,0.1) 50%, transparent 85%);
  border-radius: 18px 18px 0 0;
}

.testimonial-card__handle {
  margin-top: 0.85rem;
  font-size: 0.75rem;
  color: rgba(244,246,250,0.45);
  font-weight: 500;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.04em;
}

@media (min-width: 768px) {
  .testimonials__col--2 { display: flex; }
}
@media (min-width: 1024px) {
  .testimonials__col--3 { display: flex; }
}

/* ============================================================
   12. PRICING — luxury glass cards
   ============================================================ */
.pricing-preview .section-label,
.pricing-preview .section-title,
.pricing-preview__sub {
  text-align: center;
}

.pricing-preview__sub {
  margin: 0.6rem auto 3.5rem;
}

.pricing-grid {
  display: flex;
  gap: 1.75rem;
  justify-content: center;
  flex-wrap: wrap;
  align-items: stretch;
  padding-top: 3rem;
}

.pricing-card {
  background: rgba(14,18,34,0.94);
  border: 1px solid rgba(255,255,255,0.085);
  border-radius: 24px;
  padding: 2.75rem;
  width: 100%;
  max-width: 440px;
  flex: 1 1 340px;
  position: relative;
  overflow: visible;
  outline: 1px solid rgba(64,128,240,0.04);
  outline-offset: 5px;
  transition:
    transform 0.35s var(--ease-quart),
    border-color 0.35s var(--ease-quart),
    box-shadow 0.35s var(--ease-quart),
    outline-color 0.4s var(--ease-quart),
    outline-offset 0.4s var(--ease-quart);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.065),
    0 4px 8px rgba(0,0,0,0.55),
    0 20px 48px rgba(0,0,0,0.3);
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  border-radius: 24px 24px 0 0;
  background: linear-gradient(90deg, transparent 8%, rgba(255,255,255,0.18) 50%, transparent 92%);
}

.pricing-card:hover {
  transform: translateY(-5px);
  border-color: rgba(64,128,240,0.3);
  outline-color: rgba(64,128,240,0.14);
  outline-offset: 10px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.09),
    0 8px 16px rgba(0,0,0,0.45),
    0 32px 64px rgba(0,0,0,0.25),
    0 0 56px rgba(64,128,240,0.09);
}

.pricing-card--featured {
  border-color: rgba(64,128,240,0.45);
  outline-color: rgba(64,128,240,0.11);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.09),
    0 0 0 1px rgba(64,128,240,0.09),
    0 4px 8px rgba(0,0,0,0.58),
    0 20px 48px rgba(0,0,0,0.32),
    0 0 80px rgba(64,128,240,0.14);
  padding-top: 2.25rem;
}

.pricing-card--featured:hover {
  border-color: rgba(64,128,240,0.68);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.11),
    0 0 0 1px rgba(64,128,240,0.16),
    0 8px 16px rgba(0,0,0,0.45),
    0 32px 64px rgba(0,0,0,0.25),
    0 0 100px rgba(64,128,240,0.24);
}

.pricing-badge {
  position: absolute;
  top: -17px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 20px;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 4px 18px rgba(64,128,240,0.42);
}

/* Featured card badge gets the gold treatment */
.pricing-card--featured .pricing-badge {
  background: var(--gold);
  color: #0a0c12;
  box-shadow: 0 4px 20px rgba(201,168,76,0.38);
}

.pricing-card__name {
  font-family: 'Gloock', serif;
  font-size: 1.65rem;
  margin-bottom: 0.65rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.pricing-card__price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 0.6rem;
}

.pricing-card__price-old {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 1rem;
  opacity: 0.55;
}

.pricing-card__price {
  font-family: 'Gloock', serif;
  font-size: 3.75rem;
  line-height: 1;
  color: var(--white);
  letter-spacing: -0.04em;
  font-optical-sizing: auto;
}

.pricing-card__price-period {
  color: var(--muted);
  font-size: 0.9rem;
}

.pricing-card__rate {
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 0.5rem;
}

.trial-badge {
  display: inline-block;
  background: rgba(64,128,240,0.1);
  border: 1px solid rgba(64,128,240,0.22);
  color: var(--blue-light);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 1.75rem;
  margin-top: 0.25rem;
}

.features-list {
  margin-bottom: 2.25rem;
  margin-top: 1.75rem;
}

.features-list__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.875rem;
  color: rgba(136,149,181,0.82);
  line-height: 1.55;
}
.features-list__item:last-child {
  border-bottom: none;
}

.features-list__check {
  color: var(--blue-light);
  flex-shrink: 0;
  line-height: 1.55;
}

.features-list__item--highlight {
  color: var(--white);
  font-weight: 500;
}

.features-list__item--savings {
  color: var(--gold);
  font-weight: 500;
}

.pricing-card__sub {
  margin-top: 1.1rem;
  font-size: 0.78rem;
  color: rgba(136,149,181,0.55);
  text-align: center;
}

/* Pricing intro call expand */
.intro-expand {
  display: block;
}

.intro-expand__row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.intro-expand__trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  cursor: pointer;
  padding: 0;
  text-align: left;
  flex: 1;
  transition: color 0.2s var(--ease-expo);
}
.intro-expand__trigger:hover {
  color: var(--blue-light);
}

.intro-expand__arrow {
  font-size: 0.75rem;
  color: var(--blue-light);
  transition: transform 0.3s var(--ease-expo);
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.intro-expand.is-open .intro-expand__arrow {
  transform: rotate(180deg);
}

.intro-expand__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s var(--ease-expo);
}
.intro-expand.is-open .intro-expand__body {
  max-height: 200px;
}

.intro-expand__body p {
  padding: 0.55rem 0 0.25rem 1.4rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.8;
  font-style: italic;
}

/* ============================================================
   13. FINAL CTA BANNER — emotional climax
   ============================================================ */
.cta-banner {
  background:
    radial-gradient(ellipse 95% 75% at 50% 50%, rgba(64,128,240,0.11) 0%, transparent 65%),
    var(--black);
  border-top: 1px solid rgba(64,128,240,0.14);
  border-bottom: 1px solid rgba(64,128,240,0.14);
  padding: 140px 5vw;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Outer slow pulse */
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 65% 60% at 50% 50%, rgba(64,128,240,0.08) 0%, transparent 70%);
  animation: ctaPulse 7s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

/* Inner concentrated pulse — removed reverse instance for performance */
.cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 32% 32% at 50% 50%, rgba(64,128,240,0.14) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

@keyframes ctaPulse {
  0%, 100% { opacity: 0.45; transform: scale(0.95); }
  50%       { opacity: 1;    transform: scale(1.05); }
}

/* Content above pulsing orbs */
.cta-banner__heading,
.cta-banner__sub {
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary {
  position: relative;
  z-index: 1;
}

.cta-banner__heading {
  font-family: 'Gloock', serif;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.05;
  margin-bottom: 1.25rem;
  letter-spacing: -0.04em;
  font-optical-sizing: auto;
}
.cta-banner__heading em {
  font-style: italic;
  color: var(--blue-light);
}

.cta-banner__sub {
  color: rgba(136,149,181,0.82);
  font-size: 1.075rem;
  margin-bottom: 3rem;
  margin-top: -0.2rem;
  line-height: 1.72;
}

.pricing-cta {
  text-align: center;
  padding: 90px 5vw;
}

.pricing-cta__sub {
  margin: 1rem auto 2.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ============================================================
   14. FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 3rem 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__brand {
  font-family: 'Gloock', serif;
  font-size: 0.95rem;
  color: rgba(136,149,181,0.65);
}

.footer__links {
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.footer__link {
  font-size: 0.8rem;
  color: rgba(136,149,181,0.55);
  transition: color 0.2s var(--ease-expo);
}
.footer__link:hover {
  color: var(--white);
}

.footer__copy {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.14);
  letter-spacing: 0.02em;
}

/* ============================================================
   15. ABOUT PAGE
   ============================================================ */
.about-bio .section-label {
  text-align: left;
  display: block;
}

.bio {
  display: flex;
  gap: 4.5rem;
  align-items: center;
  margin-top: 2.75rem;
}

.bio__image {
  flex: 0 0 230px;
  width: 230px;
  height: 230px;
  border-radius: 20px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 4px 8px rgba(0,0,0,0.55),
    0 20px 40px rgba(0,0,0,0.3);
  outline: 1px solid rgba(64,128,240,0.06);
  outline-offset: 6px;
}

.bio__image img {
  width: 68%;
  height: auto;
  opacity: 0.88;
}

.bio__content {
  flex: 1;
  min-width: 0;
}

.bio__heading em {
  font-style: italic;
  color: var(--blue-light);
}

.bio__body {
  margin-top: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  color: rgba(136,149,181,0.85);
  font-size: 0.975rem;
  line-height: 1.88;
}

/* ============================================================
   16. FAQ ACCORDION
   ============================================================ */
.faq .section-title,
.faq .section-label,
.faq__sub {
  text-align: center;
}

.faq__sub {
  margin: 0.6rem auto 2.75rem;
}

.faq__list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.065);
}
.faq-item:first-child {
  border-top: 1px solid rgba(255,255,255,0.065);
}

.faq-item__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: 100%;
  text-align: left;
  padding: 1.5rem 0;
  font-family: 'Figtree', sans-serif;
  font-size: 0.975rem;
  font-weight: 500;
  color: rgba(244,246,250,0.82);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s var(--ease-expo);
}
.faq-item__question:hover {
  color: var(--white);
}

.faq-item__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  color: rgba(136,149,181,0.6);
  transition:
    transform 0.3s var(--ease-expo),
    border-color 0.2s ease,
    color 0.2s ease,
    background 0.2s ease;
}
.faq-item.is-open .faq-item__icon {
  transform: rotate(45deg);
  border-color: rgba(64,128,240,0.5);
  color: var(--blue-light);
  background: rgba(64,128,240,0.09);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.42s var(--ease-expo);
}
.faq-item.is-open .faq-item__answer {
  max-height: 500px;
}

.faq-item__answer-inner {
  padding-bottom: 1.75rem;
  font-size: 0.9rem;
  color: rgba(136,149,181,0.78);
  line-height: 1.88;
}

.faq-disclaimer-link {
  color: var(--blue-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================================================
   17. SCROLL REVEAL — IntersectionObserver-driven
   ============================================================ */
@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Pricing / analyst card entrance — scale + fade for physical weight */
@keyframes revealCard {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Elements awaiting reveal */
.will-reveal {
  opacity: 0;
}

/* Fired when element enters viewport */
.is-revealed {
  animation: revealUp 0.6s var(--ease-expo) both;
  animation-delay: var(--reveal-delay, 0ms);
}

/* Pricing cards — heavier, scale-in entrance */
.pricing-card.is-revealed,
.analyst-card.is-revealed {
  animation: revealCard 0.6s var(--ease-out-5) both;
  animation-delay: var(--reveal-delay, 0ms);
}

/* Compositing hints — only promote on active hover, not permanently */
.analyst-card:hover, .pricing-card:hover, .feature-card:hover, .tool-split__panel:hover {
  will-change: transform;
}

/* CRITICAL: testimonial columns are JS-animated — never override */
.testimonials__col.will-reveal,
.testimonials__col.is-revealed {
  animation: none !important;
  opacity: 1 !important;
}

/* ============================================================
   18. REDUCED MOTION — accessibility
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  /* Ensure hidden elements become visible if animation is disabled */
  .will-reveal,
  .is-revealed,
  .hero__heading,
  .hero__sub,
  .hero__ctas {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

/* ============================================================
   19. RESPONSIVE — Tablet (≤900px)
   ============================================================ */
@media (max-width: 900px) {
  /* Hide desktop nav, show hamburger */
  .nav-links,
  .nav-cta {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }

  /* Pricing stacks vertically */
  .pricing-grid {
    flex-direction: column;
    align-items: center;
  }
  .pricing-card {
    max-width: 480px;
  }

  /* Features — reduce gap at tablet */
  .features__layout {
    gap: 3rem;
  }
  .features__left {
    flex: 0 0 260px;
  }

  /* Tools — shrink panel at tablet */
  .tool-split__panel {
    flex: 0 0 280px;
  }
  .tool-split {
    gap: 2.5rem;
  }

  /* Bio — tighten gap at tablet */
  .bio {
    gap: 2.5rem;
  }

  /* Analyst grid — 2 col at tablet */
  .analysts__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer stacks */
  .footer {
    flex-direction: column;
    text-align: center;
  }
  .footer__links {
    justify-content: center;
  }
}

/* ============================================================
   20. RESPONSIVE — Mobile (≤600px)
   ============================================================ */
@media (max-width: 600px) {
  .section {
    padding: 72px 5vw;
  }

  /* Hero */
  .hero {
    padding: 72px 5vw 56px;
  }
  .hero__heading {
    font-size: 2.6rem;
    letter-spacing: -0.02em;
  }
  .hero__ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__ctas .btn-primary,
  .hero__ctas .btn-ghost {
    text-align: center;
  }

  /* Bio — stack vertically on mobile */
  .bio {
    flex-direction: column;
    gap: 2rem;
  }
  .bio__image {
    width: 150px;
    height: 150px;
    flex: none;
    margin: 0 auto;
  }

  /* Features — stack vertically on mobile */
  .features__layout {
    flex-direction: column;
    gap: 2.5rem;
  }
  .features__left {
    flex: none;
    position: static;
  }

  /* Tools — stack split rows */
  .tool-split,
  .tool-split--reverse {
    flex-direction: column;
    gap: 2rem;
  }
  .tool-split__panel {
    flex: none;
    width: 100%;
    min-height: 180px;
  }
  .tools__savings {
    padding: 2rem 1.5rem;
  }

  /* Analyst grid — 1 col on mobile */
  .analysts__grid {
    grid-template-columns: 1fr;
  }

  /* Testimonial columns — wider cards */
  .testimonial-card {
    flex: 0 0 80vw;
  }

  /* Pricing */
  .pricing-card {
    padding: 2rem 1.75rem;
  }
  .pricing-card__price {
    font-size: 2.8rem;
  }

  /* CTA banner */
  .cta-banner {
    padding: 90px 5vw;
  }
  .cta-banner__heading {
    font-size: 2.2rem;
  }
}
