/* ===========================
   BLUMIRA HOMEPAGE — REDESIGN
   Precision Authority aesthetic
   Fonts: Bricolage Grotesque, DM Sans, JetBrains Mono
   =========================== */

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

:root {
  --primary: #5B93FF;
  --primary-light: #8BB8FF;
  --primary-dark: #3B73DF;
  --primary-vivid: #3D7BFF;
  --accent: #34D399;

  --dark-1: #060a14;
  --dark-2: #0b1121;
  --dark-3: #111b30;
  --dark-4: #182442;

  --light-1: #f0f4fa;
  --light-2: #ffffff;
  --light-border: #dfe5ef;

  --text-primary: #e4e9f2;
  --text-dark: #0f1628;
  --text-secondary: #7d8da8;
  --text-muted-dark: #556275;

  --accent-red: #ff4757;
  --accent-yellow: #ffa502;
  --accent-green: #2ed573;

  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --container: 1180px;
  --nav-height: 64px;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-xs: 4px;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--dark-1);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 700;
}

.section-headline {
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 20px;
}

.headline-break {
  display: block;
}

@media (max-width: 768px) {
  .headline-break {
    display: inline;
  }
}

.gradient-word {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-vivid) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-sub {
  font-size: clamp(1rem, 2vw, 1.125rem);
  text-align: center;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 52px;
  line-height: 1.7;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-vivid) 0%, var(--primary) 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(59, 123, 255, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(59, 123, 255, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-light);
  border: 1.5px solid rgba(91, 147, 255, 0.35);
}

.btn-secondary:hover {
  background: rgba(91, 147, 255, 0.08);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* ================================
   NAVIGATION
   ================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(6, 10, 20, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(91, 147, 255, 0.04);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.nav.scrolled {
  background: rgba(6, 10, 20, 0.95);
  border-bottom-color: rgba(91, 147, 255, 0.08);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-logo img {
  height: 26px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: space-between;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 12px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}

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

.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.15s, background 0.15s;
}

.nav-dropdown-trigger:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.nav-dropdown-trigger .chevron {
  width: 10px;
  height: 10px;
  transition: transform 0.2s;
  opacity: 0.6;
}

.nav-dropdown:hover .nav-dropdown-trigger .chevron,
.nav-dropdown-trigger[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 260px;
  background: var(--dark-3);
  border: 1px solid rgba(91, 147, 255, 0.1);
  border-radius: var(--radius);
  padding: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(4px);
  transition: opacity 0.15s ease, visibility 0.15s ease, transform 0.15s ease;
}

.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown-panel.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-panel a {
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  transition: background 0.15s;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.nav-dropdown-panel a:hover {
  background: rgba(91, 147, 255, 0.08);
  color: #fff;
}

.nav-dropdown-panel a strong {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 2px;
}

.nav-dropdown-panel a span {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.nav-dropdown-panel a:hover strong {
  color: #fff;
}

.nav-dropdown-wide {
  min-width: 440px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.nav-dropdown-col {
  padding: 4px;
}

.nav-dropdown-heading {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  padding: 8px 14px 4px;
  opacity: 0.7;
}

.nav-view-all {
  font-weight: 600;
  color: var(--primary) !important;
  font-size: 0.8rem;
  margin-top: 4px;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-login {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.15s;
}

.nav-login:hover {
  color: #fff;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 10;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ================================
   HERO
   ================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-height) + 48px) 0 48px;
  min-height: min(100vh, 820px);
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse 80% 50% at 65% 30%, rgba(91, 147, 255, 0.06) 0%, transparent 100%),
    radial-gradient(circle at 1px 1px, rgba(91, 147, 255, 0.04) 1px, transparent 0) 0 0 / 32px 32px,
    var(--dark-2);
}

/* Hero network animation canvas */
.hero-net {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-glow {
  position: absolute;
  top: 15%;
  right: 10%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(91, 147, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-headline {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  background: linear-gradient(135deg, #ffffff 0%, #c0d8ff 60%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 480px;
  line-height: 1.75;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-badges {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.hero-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 14px;
  border: 1px solid rgba(91, 147, 255, 0.15);
  border-radius: 20px;
  letter-spacing: 0.03em;
}

/* --- Hero Entrance Animation --- */
.hero-anim {
  opacity: 0;
  animation: hero-enter 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-content > .hero-anim:nth-child(1) { animation-delay: 0.1s; }
.hero-content > .hero-anim:nth-child(2) { animation-delay: 0.25s; }
.hero-content > .hero-anim:nth-child(3) { animation-delay: 0.4s; }
.hero-content > .hero-anim:nth-child(4) { animation-delay: 0.55s; }
.hero-visual.hero-anim { animation-delay: 0.35s; }

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Browser Frame Mockup --- */
.browser-frame {
  background: var(--dark-3);
  border-radius: var(--radius);
  border: 1px solid rgba(91, 147, 255, 0.12);
  overflow: hidden;
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(91, 147, 255, 0.06);
  animation: float-gentle 6s ease-in-out infinite;
}

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

.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.browser-bar .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.browser-bar .dot:nth-child(1) { background: #ff5f57; }
.browser-bar .dot:nth-child(2) { background: #ffbd2e; }
.browser-bar .dot:nth-child(3) { background: #28c840; }

.browser-url {
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 10px;
  border-radius: var(--radius-xs);
  flex: 1;
  max-width: 180px;
}

.browser-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

/* Scanning line effect */
.browser-body::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(91, 147, 255, 0.5), transparent);
  animation: scan-line 4s linear infinite;
  animation-delay: 2s;
  pointer-events: none;
  z-index: 10;
  opacity: 0;
}

@keyframes scan-line {
  0% { top: -1px; opacity: 0; }
  5% { opacity: 0.7; }
  90% { opacity: 0.7; }
  100% { top: 100%; opacity: 0; }
}

.ui-row { display: flex; gap: 8px; }
.ui-row-header { justify-content: space-between; align-items: center; }

.ui-block {
  height: 6px;
  border-radius: 3px;
  background: rgba(91, 147, 255, 0.12);
}

.ui-nav-block { width: 50px; }
.ui-search-block { flex: 1; max-width: 140px; }
.ui-avatar-block { width: 24px; height: 24px; border-radius: 50%; }

.ui-row-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.ui-stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ui-stat-label {
  width: 36px;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
}

.ui-stat-number {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
}

.ui-critical { color: var(--accent-red); }
.ui-warning { color: var(--accent-yellow); }
.ui-good { color: var(--accent-green); }

.ui-stat-bar {
  height: 3px;
  border-radius: 2px;
  width: 70%;
}

.ui-stat-bar-red { background: var(--accent-red); }
.ui-stat-bar-yellow { background: var(--accent-yellow); }
.ui-stat-bar-green { background: var(--accent-green); }

.ui-row-chart { display: block; }

.ui-chart {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 10px;
  height: 90px;
  display: flex;
  align-items: flex-end;
}

.ui-chart-svg {
  width: 100%;
  height: 70px;
}

/* Chart line draw animation */
.ui-chart-svg polyline:first-of-type {
  stroke: var(--primary);
  stroke-dasharray: 350;
  stroke-dashoffset: 350;
  animation: draw-chart 2s ease-out 1s forwards;
}

.ui-chart-svg polyline:nth-of-type(2) {
  opacity: 0;
  animation: fade-in 0.6s ease 2.6s forwards;
}

@keyframes draw-chart {
  to { stroke-dashoffset: 0; }
}

@keyframes fade-in {
  to { opacity: 1; }
}

.ui-row-table {
  flex-direction: column;
  gap: 5px;
}

.ui-table-row {
  height: 8px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.03);
}

.ui-table-row:nth-child(odd) { width: 92%; }
.ui-table-row:nth-child(even) { width: 78%; }

/* ================================
   CREDIBILITY GATE
   ================================ */
.credibility {
  padding: 36px 0 52px;
  background: var(--dark-2);
  border-top: 1px solid rgba(91, 147, 255, 0.04);
}

.credibility-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 28px;
  opacity: 0.6;
}

.logo-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  list-style: none;
}

.customer-logo {
  height: 28px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  filter: grayscale(1) brightness(2) invert(1);
  opacity: 0.4;
  transition: opacity 0.3s;
}

.customer-logo:hover {
  opacity: 0.75;
}

/* ================================
   SECTION TRANSITIONS
   Subtle glowing accent line at section boundaries
   ================================ */
.problem,
.declaration,
.how-it-works,
.proof,
.audiences,
.bento {
  position: relative;
}

.problem::before,
.declaration::before,
.how-it-works::before,
.proof::before,
.audiences::before,
.bento::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(80%, 900px);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(91, 147, 255, 0.3) 30%,
    rgba(91, 147, 255, 0.5) 50%,
    rgba(91, 147, 255, 0.3) 70%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 2;
}

/* Subtle glow halo behind the line */
.problem::after,
.declaration::after,
.how-it-works::after,
.proof::after,
.audiences::after,
.bento::after {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: min(60%, 700px);
  height: 17px;
  background: radial-gradient(
    ellipse at center,
    rgba(91, 147, 255, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 1;
}

/* ================================
   PROBLEM STATEMENT
   ================================ */
.problem {
  padding: 120px 0;
  background: var(--light-1);
  color: var(--text-dark);
}

.problem .section-headline {
  color: var(--text-dark);
  margin-bottom: 52px;
}

.pain-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pain-card {
  background: var(--light-2);
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.pain-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(15, 22, 40, 0.08);
}

.pain-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pain-card:hover .pain-icon {
  transform: scale(1.1);
}

.pain-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}

.pain-card p {
  font-size: 0.9rem;
  color: var(--text-muted-dark);
  line-height: 1.7;
}

/* ================================
   PRODUCT DECLARATION
   ================================ */
.declaration {
  padding: 100px 0 120px;
  background:
    radial-gradient(circle at 1px 1px, rgba(91, 147, 255, 0.03) 1px, transparent 0) 0 0 / 32px 32px,
    var(--dark-2);
  color: var(--text-primary);
}

.declaration .section-headline {
  color: var(--text-primary);
}

.declaration .section-sub {
  color: var(--text-secondary);
}

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

.diff-card {
  text-align: center;
  padding: 36px 20px;
  border-radius: var(--radius);
  transition: background 0.3s ease;
}

.diff-card:hover {
  background: rgba(91, 147, 255, 0.04);
}

.diff-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
}

.diff-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.diff-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ================================
   HOW IT WORKS
   ================================ */
.how-it-works {
  padding: 120px 0;
  background: var(--light-1);
  color: var(--text-dark);
}

.how-it-works .section-headline {
  color: var(--text-dark);
  margin-bottom: 60px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.step {
  text-align: center;
  position: relative;
  padding: 0 16px;
}

.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-vivid), var(--primary));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 auto 22px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 20px rgba(59, 123, 255, 0.3);
}

.step-connector {
  position: absolute;
  top: 26px;
  left: calc(50% + 34px);
  width: calc(100% - 36px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary), rgba(91, 147, 255, 0.15));
}

.step:last-child .step-connector {
  display: none;
}

.step h3 {
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.step p {
  font-size: 0.9rem;
  color: var(--text-muted-dark);
  line-height: 1.7;
}

/* ================================
   SOCIAL PROOF
   ================================ */
.proof {
  padding: 120px 0;
  background:
    radial-gradient(ellipse 60% 40% at 30% 50%, rgba(91, 147, 255, 0.05) 0%, transparent 100%),
    radial-gradient(circle at 1px 1px, rgba(91, 147, 255, 0.03) 1px, transparent 0) 0 0 / 32px 32px,
    var(--dark-3);
}

.proof-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.proof-stats {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.proof-stat-row {
  display: flex;
  align-items: baseline;
}

.proof-number {
  font-family: var(--font-mono);
  font-size: clamp(2.75rem, 5.5vw, 3.5rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.02em;
}

.proof-suffix {
  font-family: var(--font-mono);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--primary);
}

.proof-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 6px;
  line-height: 1.5;
}

.proof-quote blockquote {
  background: rgba(17, 27, 48, 0.6);
  backdrop-filter: blur(16px);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid rgba(91, 147, 255, 0.08);
  border-left: 3px solid var(--primary);
}

.proof-quote p {
  font-size: 1.05rem;
  font-style: italic;
  color: rgba(228, 233, 242, 0.85);
  line-height: 1.75;
  margin-bottom: 20px;
}

.proof-quote cite {
  display: flex;
  flex-direction: column;
  font-style: normal;
}

.proof-quote cite strong {
  font-family: var(--font-display);
  color: var(--text-primary);
  font-size: 0.9rem;
}

.proof-quote cite span {
  color: var(--text-secondary);
  font-size: 0.8rem;
}

/* ================================
   MID-PAGE CTA
   ================================ */
.mid-cta {
  padding: 44px 0;
  background: var(--dark-2);
  border-top: 1px solid rgba(91, 147, 255, 0.06);
  border-bottom: 1px solid rgba(91, 147, 255, 0.06);
}

.mid-cta-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.mid-cta-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* ================================
   AUDIENCE SEGMENTATION
   ================================ */
.audiences {
  padding: 120px 0;
  background: var(--light-1);
  color: var(--text-dark);
}

.audiences .section-headline {
  color: var(--text-dark);
  margin-bottom: 52px;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.audience-card {
  background: var(--light-2);
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.audience-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(15, 22, 40, 0.08);
}

.audience-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
}

.audience-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}

.audience-pain {
  font-size: 0.875rem;
  color: var(--text-muted-dark);
  margin-bottom: 12px;
  line-height: 1.65;
}

.audience-solve {
  font-size: 0.875rem;
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1.65;
  flex: 1;
}

.audience-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--primary-dark);
  transition: color 0.2s;
}

.audience-link:hover {
  color: var(--primary);
}

/* ================================
   BENTO GRID
   ================================ */
.bento {
  padding: 120px 0;
  background:
    radial-gradient(circle at 1px 1px, rgba(91, 147, 255, 0.03) 1px, transparent 0) 0 0 / 32px 32px,
    var(--dark-2);
  color: var(--text-primary);
}

.bento .section-headline {
  color: var(--text-primary);
  margin-bottom: 52px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.bento-card {
  background: rgba(17, 27, 48, 0.65);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(91, 147, 255, 0.06);
  border-radius: var(--radius);
  padding: 32px;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.35s ease;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(91, 147, 255, 0.2);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3), 0 0 24px rgba(91, 147, 255, 0.04);
}

.bento-card.bento-large {
  border-top: 2px solid var(--primary);
}

.bento-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.bento-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}

.bento-visual { margin-top: auto; }

/* Alert UI mock */
.bento-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  margin-bottom: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
}

.bento-alert:last-child { margin-bottom: 0; }

.bento-alert-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.bento-alert-crit .bento-alert-dot {
  background: var(--accent-red);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.4); }
  50% { box-shadow: 0 0 0 5px rgba(255, 71, 87, 0); }
}

.bento-alert-warn .bento-alert-dot { background: var(--accent-yellow); }
.bento-alert-info .bento-alert-dot { background: var(--primary); }

.bento-alert-badge {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  background: rgba(91, 147, 255, 0.12);
  color: var(--primary-light);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.bento-alert-crit .bento-alert-badge {
  background: rgba(255, 71, 87, 0.12);
  color: #ff6b7a;
}

.bento-logos {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.bento-logo-pill {
  padding: 7px 14px;
  background: rgba(91, 147, 255, 0.06);
  border: 1px solid rgba(91, 147, 255, 0.12);
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.bento-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.compliance-badge {
  padding: 7px 14px;
  background: rgba(91, 147, 255, 0.08);
  border: 1px solid rgba(91, 147, 255, 0.15);
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary-light);
  letter-spacing: 0.04em;
}

.bento-flow {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}

.bento-flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.bento-flow-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-vivid), var(--primary));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.8rem;
}

.bento-flow-step span {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.bento-flow-arrow {
  color: var(--text-secondary);
  font-size: 1.2rem;
  margin-bottom: 20px;
  opacity: 0.5;
}

/* ================================
   FINAL CTA
   ================================ */
.final-cta {
  padding: 128px 0;
  text-align: center;
  background:
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(91, 147, 255, 0.07) 0%, transparent 100%),
    radial-gradient(circle at 1px 1px, rgba(91, 147, 255, 0.04) 1px, transparent 0) 0 0 / 32px 32px,
    var(--dark-1);
}

.final-headline {
  font-size: clamp(2rem, 4.5vw, 2.875rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #ffffff 0%, #c0d8ff 60%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.final-sub {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.final-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ================================
   FOOTER
   ================================ */
.footer {
  padding: 60px 0 28px;
  background: var(--dark-1);
  border-top: 1px solid rgba(91, 147, 255, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(5, 1fr);
  gap: 32px;
  margin-bottom: 44px;
}

.footer-logo {
  height: 22px;
  margin-bottom: 10px;
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(228, 233, 242, 0.4);
  margin-bottom: 14px;
  font-weight: 700;
}

.footer-col a {
  display: block;
  font-size: 0.82rem;
  color: var(--text-secondary);
  padding: 3px 0;
  transition: color 0.15s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(228, 233, 242, 0.25);
}

.footer-mockup-note a {
  color: var(--primary);
  transition: color 0.15s;
}

.footer-mockup-note a:hover {
  color: var(--primary-light);
}

/* ================================
   SCROLL REVEAL + CARD STAGGER
   ================================ */
.reveal-ready {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-ready.revealed {
  opacity: 1;
  transform: none;
}

/* Card stagger — applied via JS */
.reveal-ready .pain-card,
.reveal-ready .diff-card,
.reveal-ready .step,
.reveal-ready .audience-card,
.reveal-ready .bento-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal-ready.revealed .pain-card.card-revealed,
.reveal-ready.revealed .diff-card.card-revealed,
.reveal-ready.revealed .step.card-revealed,
.reveal-ready.revealed .audience-card.card-revealed,
.reveal-ready.revealed .bento-card.card-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ================================
   REDUCED MOTION
   ================================ */
@media (prefers-reduced-motion: reduce) {
  .hero-anim {
    opacity: 1;
    animation: none;
  }

  .reveal-ready {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .reveal-ready .pain-card,
  .reveal-ready .diff-card,
  .reveal-ready .step,
  .reveal-ready .audience-card,
  .reveal-ready .bento-card {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .browser-frame {
    animation: none;
  }

  .browser-body::after {
    animation: none;
    display: none;
  }

  .ui-chart-svg polyline:first-of-type {
    stroke-dasharray: none;
    stroke-dashoffset: 0;
    animation: none;
  }

  .ui-chart-svg polyline:nth-of-type(2) {
    opacity: 1;
    animation: none;
  }

  .btn,
  .pain-card,
  .audience-card,
  .bento-card,
  .diff-card,
  .customer-logo,
  .nav,
  .nav-link,
  .nav-login,
  .nav-dropdown-trigger,
  .nav-dropdown-panel,
  .audience-link,
  .pain-icon {
    transition: none;
  }

  .bento-alert-crit .bento-alert-dot {
    animation: none;
  }
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-height) + 48px);
    padding-bottom: 48px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-badges {
    justify-content: center;
  }

  .hero-glow {
    top: 50%;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
  }

  .browser-frame {
    max-width: 420px;
    margin: 0 auto;
  }

  .proof-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .pain-cards,
  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pain-cards .pain-card:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    justify-self: center;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  /* Mobile nav */
  .nav-menu {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(6, 10, 20, 0.98);
    backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 24px;
    overflow-y: auto;
    justify-content: flex-start;
    gap: 16px;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0;
  }

  .nav-link {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0;
    display: block;
    width: 100%;
  }

  .nav-dropdown-panel {
    position: static;
    transform: none;
    min-width: auto;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 0 0 16px;
    display: none;
    opacity: 1;
    visibility: visible;
  }

  .nav-dropdown-panel.show {
    display: block;
    transform: none;
  }

  .nav-dropdown:hover .nav-dropdown-panel {
    opacity: 0;
    visibility: hidden;
    display: none;
  }

  .nav-dropdown-wide {
    grid-template-columns: 1fr;
  }

  .nav-cta {
    width: 100%;
    flex-direction: column;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-cta .btn {
    width: 100%;
  }

  .nav-login {
    text-align: center;
    padding: 8px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Content grids */
  .pain-cards,
  .audience-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pain-cards .pain-card:last-child {
    max-width: none;
    justify-self: auto;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .step-connector {
    display: none;
  }

  .diff-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .diff-card {
    text-align: left;
    padding: 20px 0;
    display: flex;
    gap: 16px;
    align-items: flex-start;
  }

  .diff-card:hover {
    background: transparent;
  }

  .diff-icon {
    margin: 0;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
  }

  .bento-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .bento-flow {
    flex-direction: row;
    gap: 8px;
  }

  .bento-flow-step span {
    font-size: 0.68rem;
  }

  .bento-flow-arrow {
    margin-bottom: 20px;
    font-size: 1rem;
  }

  .proof-stats {
    text-align: center;
    align-items: center;
  }

  .proof-stat-row {
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .logo-bar {
    gap: 20px;
  }

  .customer-logo {
    height: 22px;
    max-width: 85px;
  }

  .container {
    padding: 0 20px;
  }

  /* Section padding */
  .problem, .audiences, .how-it-works {
    padding: 72px 0;
  }

  .declaration, .bento {
    padding: 60px 0;
  }

  .proof {
    padding: 80px 0;
  }

  .mid-cta {
    padding: 32px 0;
  }

  .mid-cta-inner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .final-cta {
    padding: 80px 0;
  }

  .section-headline {
    margin-bottom: 16px;
  }

  .problem .section-headline,
  .audiences .section-headline,
  .bento .section-headline,
  .how-it-works .section-headline {
    margin-bottom: 36px;
  }

  /* Section transitions — narrower glow on mobile */
  .problem::before,
  .declaration::before,
  .how-it-works::before,
  .proof::before,
  .audiences::before,
  .bento::before {
    width: min(90%, 500px);
  }

  .problem::after,
  .declaration::after,
  .how-it-works::after,
  .proof::after,
  .audiences::after,
  .bento::after {
    width: min(70%, 400px);
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 1.875rem;
  }

  .hero-sub {
    font-size: 0.95rem;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .section-headline {
    font-size: 1.5rem;
  }

  .final-headline {
    font-size: 1.6rem;
  }

  .final-buttons {
    flex-direction: column;
    align-items: center;
  }

  .final-buttons .btn {
    width: 100%;
    max-width: 320px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .customer-logo {
    height: 18px;
    max-width: 72px;
  }

  .logo-bar {
    gap: 16px;
  }

  .proof-number {
    font-size: 2.5rem;
  }

  .proof-suffix {
    font-size: 1.1rem;
  }

  .pain-card, .audience-card {
    padding: 28px 22px;
  }

  .bento-card {
    padding: 24px 20px;
  }

  .problem, .audiences, .how-it-works {
    padding: 56px 0;
  }

  .declaration, .bento {
    padding: 48px 0;
  }

  .proof {
    padding: 60px 0;
  }

  .final-cta {
    padding: 60px 0;
  }

  .hero-glow {
    width: 300px;
    height: 300px;
  }
}
