/* ==========================================================================
   ROOMAN ANALYTICS — EDITORIAL / STUDIO DESIGN SYSTEM
   Premium, flowing, typography-led. Off-white ground, navy + red accents.
   No dashboard cards, no heavy boxes — waves, watermarks, asymmetric type.
   ========================================================================== */

:root {
  --bg-page: #FAF8F4;
  --bg-alt: #F3F0E9;
  --bg-ink: #0A1526;

  --navy: #0B1E3D;
  --navy-2: #16305A;
  --red-deep: #7A1220;
  --red: #E1263F;
  --red-2: #FF4757;
  --black: #0A0A0C;
  --gray: #9A9EA8;
  --gray-soft: #D8D4CB;

  /* kept for backward-compat with inline styles in the markup */
  --bg-subtle: #F3F0E9;
  --bg-card: #FFFFFF;
  --bg-surface: #EFEBE2;
  --border-subtle: #E4DFD3;
  --border-medium: #D2CCBC;
  --border-focus: var(--navy);

  --text-primary: #10131A;
  --text-secondary: #4A4E58;
  --text-muted: #83808A;
  --text-dim: #B3AFA6;

  --color-brand: var(--navy);
  --color-brand-hover: var(--navy-2);
  --color-accent: var(--red);
  --color-accent-subtle: #FBE2E4;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;

  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 10px;
  --radius-full: 999px;

  --shadow-sm: 0 1px 2px rgba(10, 15, 30, 0.05);
  --shadow-card: 0 1px 3px rgba(10, 15, 30, 0.05), 0 14px 30px -10px rgba(10, 15, 30, 0.10);
  --shadow-card-hover: 0 4px 10px rgba(10, 15, 30, 0.06), 0 20px 40px -10px rgba(10, 15, 30, 0.14);

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

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.bg-ambient-orb { display: none !important; }

/* ==================== Global decorative layer ==================== */
.decor-defs { position: absolute; width: 0; height: 0; }

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.glow-orb.red { background: radial-gradient(circle, rgba(225,38,63,0.30), rgba(225,38,63,0) 70%); }
.glow-orb.navy { background: radial-gradient(circle, rgba(11,30,61,0.28), rgba(11,30,61,0) 70%); }

.wave-divider {
  position: relative;
  width: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  line-height: 0;
}
.wave-divider svg {
  display: block;
  width: 140%;
  max-width: none;
  margin-left: -20%;
  will-change: transform;
  animation: wave-drift 26s var(--ease-flow) infinite alternate;
}
.wave-divider.slow svg { animation-duration: 38s; }
.wave-divider.fast svg { animation-duration: 18s; animation-direction: alternate-reverse; }

@keyframes wave-drift {
  0%   { transform: translateX(-2%) translateY(0); }
  100% { transform: translateX(2%) translateY(6px); }
}

.watermark {
  position: absolute;
  z-index: 0;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.85;
  color: var(--navy);
  opacity: 0.045;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.watermark.red { color: var(--red); }
.watermark.num { font-family: var(--font-mono); font-weight: 700; letter-spacing: -0.02em; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-flow), transform 0.9s var(--ease-flow);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .wave-divider svg,
  .glow-orb,
  .device-illustration,
  .floating-chip,
  .dv-scan,
  .dv-bar,
  .ac-line,
  .ac-point,
  .flow-dash {
    animation: none !important;
  }
  .ac-line { stroke-dashoffset: 0; }
  .dv-bar { transform: scaleY(1) !important; }
  .flow-dot { display: none; }
}

/* ==================== Navigation Bar ==================== */
.landing-nav {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(250, 248, 244, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(11, 30, 61, 0.08);
  z-index: 1000;
  transition: all 0.2s ease;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-img {
  height: 34px;
  width: auto;
  object-fit: contain;
  display: block;
}

.brand-badge {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  padding: 4px 9px;
  background: transparent;
  color: var(--navy);
  border: 1px solid rgba(11, 30, 61, 0.25);
  border-radius: var(--radius-sm);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-link {
  position: relative;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: color 0.15s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: -6px;
  height: 1.5px;
  background: var(--red);
  transition: right 0.25s var(--ease-flow);
}

.nav-link:hover { color: var(--text-primary); }
.nav-link:hover::after { right: 0; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-signin {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 6px;
  transition: color 0.15s ease;
}

.btn-signin:hover { color: var(--text-primary); }

/* Slanted, minimal-radius CTA buttons — premium, not dashboard-rounded */
.btn-free-trial,
.btn-hero-primary,
.btn-hero-secondary,
.btn-workspace-active {
  clip-path: polygon(9px 0, 100% 0, calc(100% - 9px) 100%, 0 100%);
}

.btn-free-trial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: #FFFFFF;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
  padding: 9px 20px;
  border: none;
  transition: all 0.2s var(--ease-flow);
}

.btn-free-trial:hover {
  background: var(--red);
  transform: translateY(-1px);
}

.btn-workspace-active {
  display: inline-flex;
  align-items: center;
  background: var(--red);
  color: #FFFFFF;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 20px;
  border: none;
  transition: all 0.2s ease;
}

/* ==================== Hero Section ==================== */
.hero-section {
  position: relative;
  padding: 96px 0 40px;
  overflow: hidden;
}

.hero-section .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 32px;
  min-height: 500px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.hero-copy { max-width: 640px; }

.hero-wave-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-wave-art svg {
  width: 100%;
  height: 100%;
  display: block;
}

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

/* ---- Hero illustrated analytics device ---- */
.hero-analytics {
  position: relative;
  z-index: 1;
  height: 400px;
}

.device-illustration {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  animation: float-y 6.5s ease-in-out infinite;
}
.device-illustration svg { width: 100%; height: auto; display: block; overflow: visible; }

.dv-scan {
  animation: scan-sweep 3.6s ease-in-out infinite;
}
@keyframes scan-sweep {
  0%   { transform: translateY(0); opacity: 0; }
  10%  { opacity: 0.9; }
  90%  { opacity: 0.9; }
  100% { transform: translateY(186px); opacity: 0; }
}

.dv-bar {
  transform-box: fill-box;
  transform-origin: bottom;
  animation: bar-grow 2.6s ease-in-out infinite;
  animation-delay: var(--bd);
}
@keyframes bar-grow {
  0%, 100% { transform: scaleY(0.78); }
  50% { transform: scaleY(1); }
}

.ac-line {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: draw-line 3.4s ease-in-out infinite alternate;
}
@keyframes draw-line {
  0% { stroke-dashoffset: 300; }
  100% { stroke-dashoffset: 0; }
}

.ac-point {
  fill: var(--red);
  animation: pulse-dot 1.8s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.ac-stats-strip {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 32px;
  max-width: 320px;
  margin: 18px auto 0;
  padding: 14px 20px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.ac-stats-strip div { display: flex; flex-direction: column; align-items: center; }
.ac-stats-strip strong {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  font-family: var(--font-mono);
}
.ac-stats-strip span {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-top: 3px;
  text-align: center;
}

.floating-chip {
  position: absolute;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--navy);
  padding: 9px 13px;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
  animation: float-y 7s ease-in-out infinite;
}
.floating-chip.c1 { top: 4px; left: -6px; animation-delay: 0.6s; }
.floating-chip.c2 { bottom: 70px; right: -10px; animation-delay: 2.1s; }

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 4px 6px 0;
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(225,38,63,0.15);
}

.pill-tag {
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 2px;
  font-size: 11px;
  text-transform: uppercase;
  border-right: 1px solid var(--border-medium);
  padding-right: 9px;
}

.hero-title {
  position: relative;
  z-index: 1;
  font-size: clamp(40px, 6vw, 78px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -2.4px;
  max-width: 720px;
  margin: 0 0 24px;
  color: var(--text-primary);
}

.hero-desc {
  position: relative;
  z-index: 1;
  font-size: clamp(15.5px, 1.2vw, 17.5px);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 0 36px;
  line-height: 1.7;
  font-weight: 400;
}

.hero-desc strong { color: var(--navy); font-weight: 700; }

.hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: #FFFFFF;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 700;
  padding: 14px 26px;
  border: none;
  transition: all 0.2s var(--ease-flow);
}

.btn-hero-primary:hover {
  background: var(--red);
  transform: translateY(-2px);
}

.btn-hero-primary .arrow { transition: transform 0.2s ease; }
.btn-hero-primary:hover .arrow { transform: translateX(3px); }

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 700;
  padding: 14px 24px;
  border: 1px solid var(--border-medium);
  transition: all 0.2s ease;
}

.btn-hero-secondary:hover {
  border-color: var(--navy);
  background: rgba(11,30,61,0.03);
}

.hero-perks {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--text-secondary);
  padding-top: 22px;
  border-top: 1px solid var(--border-subtle);
  max-width: 620px;
}

.perk-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.perk-item svg { color: var(--red); }

/* ==================== Section Headers ==================== */
.section-header {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 0 56px;
}

.section-header.centered { max-width: 680px; margin: 0 auto 56px; text-align: center; }

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}
.section-badge::before {
  content: '';
  width: 22px;
  height: 1.5px;
  background: var(--red);
}

.section-title {
  font-size: clamp(30px, 3.8vw, 48px);
  font-weight: 800;
  letter-spacing: -1.3px;
  line-height: 1.06;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 520px;
}
.section-header.centered .section-subtitle { max-width: 100%; margin: 0 auto; }

/* ==================== Workspace Showcase ==================== */
.showcase-section {
  position: relative;
  padding: 120px 0 100px;
  background: var(--bg-alt);
  isolation: isolate;
}

.workspace-mockup {
  position: relative;
  z-index: 1;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card-hover);
  overflow: hidden;
  transform: rotate(-0.4deg);
  transition: transform 0.4s var(--ease-flow);
}
.workspace-mockup:hover { transform: rotate(0deg); }

.mockup-header {
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.window-dots { display: flex; gap: 7px; }
.window-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border-medium); }

.mockup-url-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 5px 14px;
  font-size: 12px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

.mockup-status-tag { font-size: 12px; font-weight: 700; color: var(--navy); }

.mockup-nav-tabs {
  display: flex;
  gap: 4px;
  padding: 8px 16px 0;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow-x: auto;
}

.mockup-tab-btn {
  background: transparent;
  border: 1px solid transparent;
  border-bottom: none;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.mockup-tab-btn:hover { color: var(--text-primary); }

.mockup-tab-btn.active {
  background: #FFFFFF;
  color: var(--navy);
  border-color: var(--border-subtle);
  border-bottom: 1px solid #FFFFFF;
  border-top: 2px solid var(--red);
  margin-bottom: -1px;
}

.tab-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  background: var(--bg-surface);
  color: var(--text-secondary);
}

.mockup-panel { display: none; padding: 28px; background: #FFFFFF; }
.mockup-panel.active { display: block; }

/* ==================== Capabilities — editorial index list (no cards) ==================== */
.features-section {
  position: relative;
  padding: 130px 0 110px;
  background: var(--bg-page);
  overflow: hidden;
}

.capability-list {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border-subtle);
}

.capability-row {
  position: relative;
  display: grid;
  grid-template-columns: 100px 1fr 1.15fr;
  gap: 36px;
  align-items: start;
  padding: 34px 0;
  border-bottom: 1px solid var(--border-subtle);
  transition: padding-left 0.35s var(--ease-flow);
}

.capability-row:hover { padding-left: 14px; }

.capability-row::before {
  content: '';
  position: absolute;
  left: -14px; top: 0; bottom: 0;
  width: 3px;
  background: var(--red);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s var(--ease-flow);
}
.capability-row:hover::before { transform: scaleY(1); }

.cap-index {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dim);
  padding-top: 4px;
  transition: color 0.3s ease;
}
.capability-row:hover .cap-index { color: var(--red); }

.cap-head { display: flex; align-items: flex-start; gap: 14px; }

.card-icon-wrap {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: all 0.3s ease;
}
.capability-row:hover .card-icon-wrap {
  background: var(--navy);
  border-color: var(--navy);
  color: #FFFFFF;
}

.card-title {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--text-primary);
  line-height: 1.25;
  padding-top: 2px;
}

.card-desc {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 14px;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-muted);
  letter-spacing: 0.2px;
}

.tag-chip {
  background: none;
  border: none;
  padding: 0;
  color: var(--text-muted);
  font-weight: 500;
}
.tag-chip:not(:last-child)::after { content: ' \00b7 '; color: var(--gray-soft); }

/* ==================== ASK BRO Interactive Playground ==================== */
.copilot-section {
  position: relative;
  padding: 130px 0;
  background: var(--navy);
  color: #FFFFFF;
  overflow: hidden;
  isolation: isolate;
}

.copilot-section .section-badge { color: var(--red-2); }
.copilot-section .section-title { color: #FFFFFF; }
.copilot-section .section-subtitle { color: rgba(255,255,255,0.68); }

.copilot-box {
  position: relative;
  z-index: 1;
  padding: 0;
}

.copilot-chips-wrap { margin-bottom: 28px; }

.chips-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 12px;
}

.copilot-chips { display: flex; gap: 10px; flex-wrap: wrap; }

.copilot-chip {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius-full);
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.copilot-chip:hover { color: #FFFFFF; border-color: rgba(255,255,255,0.5); }

.copilot-chip.active {
  background: var(--red);
  color: #FFFFFF;
  border-color: var(--red);
}

.copilot-chat-window {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 30px;
  backdrop-filter: blur(6px);
}

.chat-bubble {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.bubble-user {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: #FFFFFF;
  font-weight: 500;
}

.bubble-agent {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.88);
  border-left: 2px solid var(--red);
}

.agent-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red-2);
  margin-bottom: 10px;
}

/* ==================== Workflow — numbered flow, no boxes ==================== */
.workflow-section {
  position: relative;
  padding: 130px 0;
  background: var(--bg-page);
  overflow: hidden;
}

.pipeline-flow-art {
  position: relative;
  z-index: 1;
  margin-bottom: 26px;
}
.pipeline-flow-art svg { width: 100%; height: 64px; display: block; }
.flow-dash { animation: flow-move 1.1s linear infinite; }
@keyframes flow-move { to { stroke-dashoffset: -14; } }

.pipeline-steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.step-card {
  position: relative;
  padding-top: 26px;
  border-top: 2px solid var(--border-medium);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.step-card:nth-child(2) { transform: translateY(30px); }
.step-card:nth-child(4) { transform: translateY(30px); }
.step-card:hover { border-color: var(--red); transform: translateY(-4px); }
.step-card:nth-child(2):hover, .step-card:nth-child(4):hover { transform: translateY(26px); }

.step-number {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--gray-soft);
  font-family: var(--font-mono);
  margin-bottom: 18px;
  transition: color 0.3s ease;
}
.step-card:hover .step-number { color: var(--red); }

.step-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}

.step-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==================== Pricing — spec columns, no boxed cards ==================== */
.pricing-section {
  position: relative;
  padding: 130px 0;
  background: var(--bg-alt);
  overflow: hidden;
}

.pricing-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border-medium);
  border-bottom: 1px solid var(--border-medium);
}

.pricing-card {
  padding: 40px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  border-left: 1px solid var(--border-subtle);
}
.pricing-card:first-child { border-left: none; }

.pricing-card.featured { background: var(--bg-page); }
.pricing-card.featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
}

.pricing-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

.plan-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.plan-tagline {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 26px;
  min-height: 38px;
  line-height: 1.6;
}

.plan-price {
  font-size: 40px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -1.4px;
  margin-bottom: 28px;
}

.plan-price .period {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: normal;
}

.plan-features { list-style: none; margin-bottom: 30px; flex: 1; }

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-secondary);
  margin-bottom: 13px;
}

.feature-item svg { color: var(--red); flex-shrink: 0; }

/* ==================== FAQ — thin dividers, no card boxes ==================== */
.faq-section {
  position: relative;
  padding: 130px 0;
  background: var(--bg-page);
  overflow: hidden;
}

.faq-list {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  border-top: 1px solid var(--border-medium);
}

.faq-item {
  border-bottom: 1px solid var(--border-medium);
}

.faq-question {
  width: 100%;
  padding: 24px 2px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: color 0.2s ease;
}
.faq-question:hover { color: var(--red); }

.faq-toggle-icon {
  font-size: 20px;
  font-weight: 300;
  color: var(--red);
  transition: transform 0.3s var(--ease-flow);
  flex-shrink: 0;
  margin-left: 20px;
}

.faq-answer {
  display: none;
  padding: 0 2px 26px;
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 680px;
}

.faq-item.active .faq-answer { display: block; }
.faq-item.active .faq-toggle-icon { transform: rotate(45deg); }

/* ==================== CTA Banner — full bleed, no card ==================== */
.cta-banner-section {
  position: relative;
  padding: 140px 0;
  background: var(--black);
  color: #FFFFFF;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.cta-banner-card { position: relative; z-index: 1; }

.cta-banner-title {
  font-size: clamp(30px, 4.6vw, 58px);
  font-weight: 800;
  letter-spacing: -1.4px;
  line-height: 1.08;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.cta-banner-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.62);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.cta-banner-section .btn-hero-secondary {
  color: #FFFFFF;
  border-color: rgba(255,255,255,0.28);
}
.cta-banner-section .btn-hero-secondary:hover {
  border-color: #FFFFFF;
  background: rgba(255,255,255,0.06);
}

/* ==================== Footer — bold abstract composition ==================== */
.landing-footer {
  position: relative;
  background: var(--black);
  padding: 80px 0 30px;
  overflow: hidden;
}

.footer-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.92;
}
.footer-art svg { width: 100%; height: 100%; display: block; }

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 56px;
}

.footer-tagline {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: var(--red-2);
  text-transform: uppercase;
  margin: 14px 0 14px;
}

.footer-brand-desc {
  font-size: 13.5px;
  color: rgba(255,255,255,0.62);
  line-height: 1.7;
  max-width: 320px;
}

.footer-col-title {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 18px;
}

.footer-links { list-style: none; }

.footer-link {
  color: rgba(255,255,255,0.62);
  text-decoration: none;
  font-size: 13.5px;
  display: block;
  margin-bottom: 11px;
  transition: color 0.15s ease;
}

.footer-link:hover { color: var(--red-2); }

.footer-bottom {
  position: relative;
  z-index: 1;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.14);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap;
  gap: 12px;
}

/* ==================== Responsive ==================== */
@media (max-width: 990px) {
  .hero-section .container { grid-template-columns: 1fr; min-height: auto; }
  .hero-analytics { height: 320px; order: -1; margin-bottom: 16px; }
  .floating-chip { display: none; }
  .capability-row { grid-template-columns: 60px 1fr; }
  .capability-row .cap-desc-col { grid-column: 1 / -1; }
  .pipeline-flow-art { display: none; }
  .pipeline-steps { grid-template-columns: repeat(2, 1fr); row-gap: 50px; }
  .step-card:nth-child(2), .step-card:nth-child(4) { transform: none; }
  .step-card:hover { transform: translateY(-4px); }
  .pricing-grid { grid-template-columns: 1fr; border-left: none; border-right: none; }
  .pricing-card { border-left: none; border-top: 1px solid var(--border-subtle); }
  .pricing-card:first-child { border-top: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .capability-row { grid-template-columns: 1fr; gap: 12px; }
  .cap-index { padding-top: 0; }
  .pipeline-steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-title { letter-spacing: -1.4px; }
}
