/* ==========================================================================
   EQUITY INTELLIGENCE — GOOGLE LABS PRISMATIC HOMEPAGE STYLESHEET
   Design Concept: Mockup 2 (Prismatic Warmth & Organic Freedom)
   ========================================================================== */

:root {
  --bg-canvas: #0D0F14;
  --bg-card: rgba(18, 22, 31, 0.75);
  --bg-card-hover: rgba(26, 32, 44, 0.85);
  --border-hairline: rgba(255, 255, 255, 0.06);
  --border-card: rgba(255, 255, 255, 0.09);
  --border-card-active: rgba(255, 255, 255, 0.22);
  
  --text-primary: #ffffff;
  --text-secondary: #cbd5e1;
  --text-muted: #8E8E93;
  --text-dim: #64748b;

  --glow-amber: #f59e0b;
  --glow-emerald: #10b981;
  --glow-teal: #06b6d4;

  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  min-height: 100%;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  font-family: var(--font-family);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   SCROLL SCENE & PINNING ARCHITECTURE
   ========================================================================== */

.hero-scroll-scene {
  position: relative;
  width: 100%;
  height: 180vh; /* Balanced symmetrical 3D Zoom runway for equal scroll-in/scroll-out timing */
}

.hero-sticky-stage {
  position: sticky;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   FEATURES SHOWCASE SECTION (GOOGLE LABS STYLE ARCHITECTURE)
   ========================================================================== */

.features-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: var(--bg-canvas);
  z-index: 10;
  padding: 85px 0 120px 0;
  overflow: hidden;
  box-sizing: border-box;
}

/* Subtle Atmospheric Accents for Features Canvas (Google Labs Warmth) */
.features-ambient-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(120px);
  z-index: 0;
  will-change: transform;
}

.glow-amber-left {
  width: 580px;
  height: 580px;
  bottom: 40px;
  left: -120px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.22) 0%, rgba(217, 119, 6, 0.06) 50%, transparent 72%);
  opacity: 0.6;
}

.glow-emerald-right {
  width: 620px;
  height: 620px;
  top: 80px;
  right: -100px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.18) 0%, rgba(5, 150, 105, 0.05) 50%, transparent 72%);
  opacity: 0.6;
}

.features-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}

/* --- About Narrative Block (Google Labs Display Typography) --- */

.features-about-block {
  text-align: center;
  max-width: 1020px;
  margin: 0 auto 80px auto;
}

.features-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #8E8E93;
  margin-bottom: 24px;
}

.features-hero-statement {
  font-size: clamp(28px, 3.4vw, 46px);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.025em;
  color: #FFFFFF;
  margin: 0 auto 52px auto;
  max-width: 960px;
}

.features-sub-narrative {
  max-width: 700px;
  margin: 0 auto;
}

.narrative-headline {
  font-size: clamp(22px, 2.3vw, 32px);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: #FFFFFF;
  margin: 0 0 16px 0;
}

.narrative-body {
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.65;
  color: #8E8E93;
  margin: 0;
}

/* --- Horizontal Interactive Card Carousel (5-Card Fitted Shelf with Transform Panning) --- */

.features-carousel-wrapper {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
  margin-top: 24px;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.features-carousel-wrapper.is-dragging {
  cursor: grabbing;
}

.features-carousel-track {
  --carousel-edge-space: clamp(36px, 3.2vw, 64px);
  --carousel-card-gap: clamp(18px, 1.5vw, 28px);
  display: flex;
  gap: var(--carousel-card-gap);
  width: max-content;
  margin: 0 auto;
  padding: 16px var(--carousel-edge-space) 32px var(--carousel-edge-space);
  box-sizing: border-box;
  will-change: transform;
  transform: translate3d(0px, 0, 0);
  user-select: none;
}

/* --- Feature Product Cards (Spanning Whole Width of Screen) --- */

.feature-product-card {
  flex: 0 0 calc((100vw - (2 * var(--carousel-edge-space)) - (4 * var(--carousel-card-gap))) / 5);
  width: calc((100vw - (2 * var(--carousel-edge-space)) - (4 * var(--carousel-card-gap))) / 5);
  height: 480px;
  background: rgba(18, 22, 31, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 22px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  padding: 20px;
  box-sizing: border-box;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease;
  box-shadow: none !important;
}

.feature-product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none !important; /* Strictly NO shadow behind card */
}

.feature-card-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}

.feature-pill-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  font-size: 10.5px;
  font-weight: 500;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.05);
  color: #8E8E93;
  border: 1px solid rgba(255, 255, 255, 0.06);
  white-space: nowrap;
}

.feature-pill-badge.active {
  background: rgba(255, 255, 255, 0.10);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.16);
}

/* --- Card Visual Preview Wireframe Placeholders --- */

.feature-card-visual {
  flex: 1;
  min-height: 160px;
  border-radius: 14px;
  background: rgba(13, 15, 20, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.04);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.visual-placeholder-mesh {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wireframe-stat-pill {
  position: absolute;
  bottom: 10px;
  left: 10px;
  padding: 3px 8px;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'cv05' 1, 'cv08' 1, 'tnum' 1;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  color: #8E8E93;
  border: 1px solid rgba(255, 255, 255, 0.06);
  white-space: nowrap;
}

/* 1. DCF Wireframe Curve */
.wireframe-curve {
  position: absolute;
  width: 140px;
  height: 70px;
  border-top: 2px solid #f59e0b;
  border-radius: 50% 50% 0 0;
  transform: rotate(-15deg);
  opacity: 0.85;
  filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.35));
}

.wireframe-grid {
  position: absolute;
  inset: 12px;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* 2. Ledgers Table Wireframe */
.wireframe-table-rows {
  width: 85%;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.wireframe-row {
  width: 100%;
  height: 11px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.04);
}

.wireframe-row.row-head {
  height: 14px;
  background: rgba(255, 255, 255, 0.09);
  width: 60%;
  margin-bottom: 3px;
}

/* 3. Transcripts Waveform */
.wireframe-waveform {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 52px;
}

.wireframe-waveform span {
  width: 3.5px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  animation: wavePulse 1.8s ease-in-out infinite alternate;
}

.wireframe-waveform span:nth-child(1) { height: 14px; animation-delay: 0.1s; }
.wireframe-waveform span:nth-child(2) { height: 28px; animation-delay: 0.3s; }
.wireframe-waveform span:nth-child(3) { height: 42px; animation-delay: 0.2s; background: #10b981; }
.wireframe-waveform span:nth-child(4) { height: 24px; animation-delay: 0.5s; }
.wireframe-waveform span:nth-child(5) { height: 36px; animation-delay: 0.4s; background: #10b981; }
.wireframe-waveform span:nth-child(6) { height: 18px; animation-delay: 0.6s; }
.wireframe-waveform span:nth-child(7) { height: 32px; animation-delay: 0.2s; }
.wireframe-waveform span:nth-child(8) { height: 16px; animation-delay: 0.4s; }

@keyframes wavePulse {
  0% { transform: scaleY(0.7); opacity: 0.4; }
  100% { transform: scaleY(1.2); opacity: 0.9; }
}

/* 4. Moat Bars */
.wireframe-bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 70px;
}

.wireframe-bar {
  width: 22px;
  border-radius: 4px 4px 0 0;
}

.wireframe-bar.bar-1 { height: 35px; background: rgba(255, 255, 255, 0.12); }
.wireframe-bar.bar-2 { height: 50px; background: rgba(255, 255, 255, 0.22); }
.wireframe-bar.bar-3 { height: 65px; background: #10b981; box-shadow: 0 0 12px rgba(16, 185, 129, 0.35); }

/* 5. Forensics Radar Circle */
.wireframe-radar-circle {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.radar-polygon {
  width: 44px;
  height: 44px;
  background: rgba(16, 185, 129, 0.14);
  border: 1.5px solid #10b981;
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}

/* --- Card Footer & CTA Action --- */

.feature-card-footer {
  display: flex;
  flex-direction: column;
}

.feature-card-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #FFFFFF;
  margin: 0 0 6px 0;
}

.feature-card-desc {
  font-size: 12px;
  line-height: 1.5;
  color: #8E8E93;
  margin: 0 0 16px 0;
  min-height: 52px;
}

.feature-card-action {
  display: flex;
  align-items: center;
}

.feature-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 18px;
  font-size: 12px;
  font-weight: 500;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  width: fit-content;
}

.feature-pill-btn:hover {
  background: #FFFFFF;
  color: #000000;
  border-color: #FFFFFF;
}

/* ==========================================================================
   GOOGLE STYLE MINIMALIST INSTITUTIONAL FOOTER
   ========================================================================== */

.landing-footer {
  position: relative;
  width: 100%;
  background: var(--bg-canvas);
  border-top: 1px solid var(--border-hairline);
  z-index: 10;
  padding: 36px 0;
  box-sizing: border-box;
}

.footer-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  box-sizing: border-box;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #FFFFFF;
}

.footer-brand-title {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #FFFFFF;
}

.footer-nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-link {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #8E8E93;
  text-decoration: none;
  transition: color 0.18s ease;
}

.footer-link:hover {
  color: #FFFFFF;
}

@media (max-width: 768px) {
  .landing-footer {
    padding: 32px 0;
  }
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 0 24px;
  }
  .footer-nav-links {
    gap: 20px;
  }
}

@media (max-width: 900px) {
  .features-section {
    padding: 90px 0 100px 0;
  }
  .features-container {
    padding: 0 20px;
  }
  .features-hero-statement {
    font-size: 26px;
    margin-bottom: 36px;
  }
  .feature-product-card {
    flex: 0 0 280px;
    width: 280px;
    height: 460px;
    padding: 18px;
    box-shadow: none !important;
  }
}

/* ==========================================================================
   AMBIENT ATMOSPHERIC GLOWS (GOOGLE LABS WARM AMBER & EMERALD ORBS)
   ========================================================================== */

.ambient-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  opacity: 0.55;
  will-change: transform;
  animation: floatOrb 18s ease-in-out infinite alternate;
  pointer-events: none;
}

/* Golden Amber Center-Right Glow Orb */
.orb-amber-top {
  width: 720px;
  height: 720px;
  top: 40px;
  right: 18%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.45) 0%, rgba(217, 119, 6, 0.16) 35%, transparent 70%);
  animation-duration: 22s;
}

/* Mint Emerald Deep Glow Orb */
.orb-emerald-mid {
  width: 680px;
  height: 680px;
  top: 140px;
  right: 2%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.38) 0%, rgba(5, 150, 105, 0.14) 40%, transparent 72%);
  animation-duration: 26s;
  animation-delay: -5s;
}

/* Warm Prismatic Ambient Horizon */
.orb-amber-bottom {
  width: 580px;
  height: 580px;
  bottom: -40px;
  left: 15%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.28) 0%, rgba(16, 185, 129, 0.10) 40%, transparent 70%);
  animation-duration: 24s;
  animation-delay: -8s;
}

@keyframes floatOrb {
  0% {
    transform: translate(0px, 0px) scale(1);
  }
  50% {
    transform: translate(30px, -25px) scale(1.06);
  }
  100% {
    transform: translate(-25px, 35px) scale(0.96);
  }
}

/* ==========================================================================
   PAGE CONTAINER & TOP HEADER
   ========================================================================== */

.page-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100vh;
}

/* Top Navigation / Brand Bar (Floating Seamless Overlay — No Top Border or Layout Gap) */
.hero-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 32px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 30;
  pointer-events: none;
  border: none;
  background: transparent;
}

.hero-header a,
.hero-header button {
  pointer-events: auto;
}

.brand-section {
  display: flex;
  align-items: center;
}

.brand-identity {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  transition: opacity 0.16s ease;
}

.brand-identity:hover {
  opacity: 0.92;
}

.brand-logo {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 10px rgba(255, 255, 255, 0.20));
}

.brand-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1.1;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

/* Top Right Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-text-link {
  color: #8E8E93;
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 8px;
  letter-spacing: -0.01em;
  transition: color 0.16s ease, background 0.16s ease;
}

.nav-text-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.action-btn-primary {
  background: #ffffff;
  color: #0D0F14;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 24px;
  border-radius: 9999px;
  text-decoration: none;
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.16);
  letter-spacing: -0.01em;
}

.action-btn-primary:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 6px 22px rgba(255, 255, 255, 0.28);
}

/* ==========================================================================
   THE 3D CURVED ARC CAROUSEL (ROTATING RIBBON)
   ========================================================================== */

.carousel-viewport {
  position: relative;
  width: 100vw;
  height: 100vh;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1150px;
  perspective-origin: 50% 50%;
  user-select: none;
  cursor: grab;
  overflow: hidden;
  will-change: opacity;
  transform: translateZ(0);
}

body.is-scrolling .carousel-card {
  pointer-events: none !important;
}

.carousel-viewport:active {
  cursor: grabbing;
}

/* Peripheral Depth-of-Field Border Vignettes (Pure GPU Linear Gradients - Zero Backdrop Filter Overhead) */
.carousel-blur-edge {
  position: absolute;
  pointer-events: none;
  z-index: 10;
}

.carousel-blur-edge.edge-left {
  top: 0;
  bottom: 0;
  left: 0;
  width: 260px;
  background: linear-gradient(to right, rgba(13, 15, 20, 0.95) 0%, rgba(13, 15, 20, 0.50) 45%, transparent 100%);
}

.carousel-blur-edge.edge-right {
  top: 0;
  bottom: 0;
  right: 0;
  width: 260px;
  background: linear-gradient(to left, rgba(13, 15, 20, 0.95) 0%, rgba(13, 15, 20, 0.50) 45%, transparent 100%);
}

.carousel-blur-edge.edge-top {
  top: 0;
  left: 0;
  right: 0;
  height: 140px;
  background: linear-gradient(to bottom, rgba(13, 15, 20, 0.95) 0%, rgba(13, 15, 20, 0.45) 45%, transparent 100%);
}

.carousel-blur-edge.edge-bottom {
  bottom: 0;
  left: 0;
  right: 0;
  height: 140px;
  background: linear-gradient(to top, rgba(13, 15, 20, 0.95) 0%, rgba(13, 15, 20, 0.45) 45%, transparent 100%);
}

.carousel-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 9;
  background: radial-gradient(ellipse 84% 74% at 50% 50%, transparent 42%, rgba(13, 15, 20, 0.45) 75%, rgba(13, 15, 20, 0.95) 100%);
}

.carousel-track {
  position: relative;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
  will-change: transform;
}

/* Card Geometry on the Curved Horizon Arc */
/* Card Geometry on the Curved Horizon Arc (Tier 3 Equator: Uniform Dimensions) */
.carousel-card {
  position: absolute;
  top: -110px;
  left: -107.5px;
  width: 215px;
  height: 220px;
  background: rgba(16, 20, 28, 0.92);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  padding: 12px 13px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.60), inset 0 1px 0 rgba(255, 255, 255, 0.10);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  contain: layout style;
}

/* Uniform width across all equator cards for exact equal left/right separation */
.carousel-card.card-compact,
.carousel-card.card-standard,
.carousel-card.card-wide {
  width: 215px;
  height: 220px;
  left: -107.5px;
  top: -110px;
}

/* Mid-Latitude Cards (Tier 2 North News & Tier 4 South Quant) */
.carousel-card.sphere-card {
  width: 200px;
  height: 195px;
  top: -97.5px;
  left: -100px;
  padding: 11px 12px;
  background: rgba(15, 18, 26, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

/* High-Polar Cards (Tier 1 Crown Ceiling & Tier 5 Keel Floor) */
.carousel-card.sphere-card.ring-crown,
.carousel-card.sphere-card.ring-keel {
  width: 180px;
  height: 175px;
  top: -87.5px;
  left: -90px;
  padding: 10px 11px;
  background: rgba(13, 16, 23, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 13px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55);
}

.carousel-card.sphere-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.75), 0 0 20px rgba(16, 185, 129, 0.12);
}

.carousel-card:hover {
  border-color: var(--border-card-active);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.20);
}

/* Card Header */
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-title {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-badge-row {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

.card-badge {
  font-size: 9px;
  font-weight: 500;
  padding: 2px 6px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-hairline);
  color: var(--text-muted);
  white-space: nowrap;
}

.card-badge.active {
  background: rgba(16, 185, 129, 0.14);
  color: var(--glow-emerald);
  border-color: rgba(16, 185, 129, 0.35);
}

/* Card Body Graphics */
.card-body {
  flex: 1;
  margin: 8px 0 6px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.card-canvas {
  width: 100%;
  height: 125px;
  border-radius: 6px;
}

/* Specific Card Layouts */

/* 1. DCF Sensitivity Table Matrix */
.matrix-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
  font-family: var(--font-family);
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'cv05' 1, 'cv08' 1, 'tnum' 1;
}

.matrix-header {
  font-size: 8.5px;
  color: var(--text-muted);
  text-align: center;
  padding: 1px 0;
  font-weight: 500;
}

.matrix-cell {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.035);
  border-radius: 3px;
  padding: 3.5px 1px;
  font-size: 9.5px;
  font-weight: 600;
  text-align: center;
  color: #e2e8f0;
  transition: all 0.18s ease;
}

.matrix-cell.highlight-amber {
  background: rgba(245, 158, 11, 0.16);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.35);
}

.matrix-cell.highlight-green {
  background: rgba(16, 185, 129, 0.16);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.35);
}

/* 2. Market Data Bars */
.market-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 4px 2px;
}

.market-bar-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.market-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--text-muted);
}

.market-bar-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  overflow: hidden;
}

.market-bar-fill {
  height: 100%;
  border-radius: 3px;
}

/* Card Bottom Footer */
.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: var(--text-muted);
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.mini-tag {
  font-size: 8.5px;
  padding: 2px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.bar-amber { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.bar-teal { background: linear-gradient(90deg, #06b6d4, #22d3ee); }
.bar-emerald { background: linear-gradient(90deg, #10b981, #34d399); }

/* 3. Card Footer */
.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--text-dim);
  border-top: 1px solid var(--border-hairline);
  padding-top: 8px;
}

.card-pill-tags {
  display: flex;
  gap: 6px;
}

.mini-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-hairline);
  color: var(--text-muted);
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 4px;
}

/* Center Hero Section (Google Flow Style: Title + Subtitle + Big CTA Button) */
.sphere-center-hero {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 35;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 900px;
  width: 92%;
  user-select: none;
  will-change: opacity, transform;
  contain: layout style;
}

/* Ethereal ambient isolation halo behind center hero cluster:
   Multi-stop Gaussian decay + optical blur for crystal-clear typography with zero distinguishable edges */
.sphere-center-hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1200px;
  height: 720px;
  background: radial-gradient(
    ellipse 58% 50% at 50% 50%,
    rgba(13, 15, 20, 0.96) 0%,
    rgba(13, 15, 20, 0.88) 22%,
    rgba(13, 15, 20, 0.70) 40%,
    rgba(13, 15, 20, 0.45) 58%,
    rgba(13, 15, 20, 0.22) 74%,
    rgba(13, 15, 20, 0.08) 86%,
    rgba(13, 15, 20, 0.02) 94%,
    transparent 100%
  );
  pointer-events: none;
  z-index: -1;
}

.hero-headline {
  font-size: clamp(46px, 6vw, 76px);
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0 0 16px 0;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.95), 0 8px 48px rgba(0, 0, 0, 0.85);
}

.hero-subheadline {
  font-size: clamp(16px, 1.8vw, 19.5px);
  font-weight: 400;
  color: #e4e4e7;
  letter-spacing: -0.01em;
  line-height: 1.5;
  margin: 0 0 34px 0;
  max-width: 600px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.95);
}

.hero-cta-wrap {
  pointer-events: auto;
  position: relative;
  z-index: 40;
}

.hero-cta-btn {
  pointer-events: auto;
  position: relative;
  z-index: 40;
  cursor: pointer;
  background: #ffffff;
  color: #0D0F14;
  font-size: 18px;
  font-weight: 600;
  padding: 18px 56px;
  border-radius: 9999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.015em;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.75), 0 0 50px rgba(255, 255, 255, 0.32);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.hero-cta-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.85), 0 0 80px rgba(255, 255, 255, 0.55);
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .hero-header {
    padding: 24px 20px 0 20px;
    flex-direction: column;
    gap: 16px;
  }
  .brand-title {
    font-size: 30px;
  }
  .carousel-viewport {
    height: 460px;
  }
  .carousel-card {
    width: 250px;
    height: 280px;
    top: -140px;
    left: -125px;
  }
}
