/* ===================================================
   BRIDGE GRC — STYLES
   Premium Dark Landing Page
   =================================================== */

/* ---- DESIGN TOKENS ---- */
:root {
  /* Backgrounds */
  --bg-void: #050508;
  --bg-surface: #0A0A0F;
  --bg-elevated: #111118;

  /* Borders */
  --border-subtle: rgba(255,255,255,0.06);
  --border-glow: rgba(45,200,130,0.20);

  /* Text */
  --text-primary: #EAEAF0;
  --text-secondary: rgba(234,234,240,0.55);
  --text-tertiary: rgba(234,234,240,0.30);

  /* Accent */
  --accent-primary: #2DC882;
  --accent-glow: #34E896;
  --accent-gradient-start: #2DC882;
  --accent-gradient-end: #1A8F5C;
  --accent-warm: #F0C040;

  /* Status */
  --risk-red: #FF4D4F;
  --risk-amber: #FFB020;
  --risk-green: #2DC882;

  /* Spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 80px;
  --space-2xl: 120px;
  --space-3xl: 160px;
  --section-gap: clamp(100px, 12vh, 180px);

  /* Typography */
  --font-display: 'Cabinet Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Misc */
  --max-width: 1280px;
  --radius-card: 16px;
  --radius-bento: 20px;
  --radius-pill: 999px;
  --radius-input: 12px;

  /* Mouse position (updated by JS) */
  --mouse-x: 50%;
  --mouse-y: 50%;
}

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

html {
  scroll-behavior: auto; /* Lenis handles smooth scroll */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-void);
  overflow-x: hidden;
  position: relative;
}

/* Cursor glow — subtle green radial following mouse */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y), rgba(45,200,130,0.035), transparent 40%);
  pointer-events: none;
  z-index: 9999;
  transition: background 0.15s ease;
}

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

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

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-void);
}
::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255,255,255,0.15);
}

/* ---- UTILITIES ---- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container--narrow {
  max-width: 760px;
}

.micro-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: var(--space-md);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
}

.section-divider {
  width: min(60%, 600px);
  height: 1px;
  background: var(--border-subtle);
  margin: var(--space-xl) auto 0;
}

/* ---- SCROLL PROGRESS BAR ---- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-primary);
  transform-origin: left center;
  transform: scaleX(0);
  z-index: 10001;
  display: none; /* Hidden for now */
}

/* ---- PRELOADER ---- */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-void);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.preloader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.preloader__logo {
  width: 80px;
  height: 80px;
  opacity: 0;
}

.preloader__logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.preloader__bar-track {
  width: 200px;
  height: 1px;
  background: rgba(255,255,255,0.08);
  border-radius: 1px;
  overflow: hidden;
  opacity: 0;
}

.preloader__bar-fill {
  height: 100%;
  width: 0%;
  background: var(--accent-primary);
  border-radius: 1px;
}

.preloader__status {
  opacity: 0;
}

.preloader__status-text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--text-tertiary);
}

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  padding: var(--space-sm) 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
}

.navbar.scrolled {
  background: rgba(5,5,8,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border-subtle);
}

.navbar__container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 10px;
}

.navbar__logo-icon {
  height: 32px;
  width: auto;
}

.navbar__logo-img {
  height: 22px;
  width: auto;
  filter: brightness(1.1);
}

.navbar__links {
  display: flex;
  gap: var(--space-lg);
}

.navbar__link {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease;
  position: relative;
}

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

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-primary);
  transition: width 0.3s ease;
}

.navbar__link:hover::after {
  width: 100%;
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.navbar__login {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

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

.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}

.navbar__hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text-primary);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.navbar__hamburger.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.navbar__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.navbar__hamburger.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ---- MOBILE MENU ---- */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(5,5,8,0.97);
  backdrop-filter: blur(30px);
  z-index: 9997;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.mobile-menu__link {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  transition: color 0.2s ease;
}

.mobile-menu__link:hover {
  color: var(--accent-primary);
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn--primary {
  background: var(--accent-primary);
  color: #050508;
  padding: 14px 32px;
  border: none;
}

.btn--primary:hover {
  transform: scale(1.03);
  box-shadow: 0 0 40px rgba(45,200,130,0.3);
  background: var(--accent-glow);
}

.btn--ghost {
  background: transparent;
  color: var(--text-primary);
  padding: 14px 32px;
  border: 1px solid rgba(255,255,255,0.15);
}

.btn--ghost:hover {
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.03);
}

.btn--sm {
  padding: 10px 22px;
  font-size: 12px;
}

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

.btn--xl {
  padding: 20px 48px;
  font-size: 16px;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: var(--space-2xl) var(--space-md);
}

.hero__glow {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(ellipse at center, rgba(45,200,130,0.08), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero__label {
  opacity: 0;
  transform: translateY(20px);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  visibility: hidden;
}

.hero__title .char {
  display: inline-block;
  opacity: 0;
}

.hero__subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto var(--space-lg);
  line-height: 1.7;
  opacity: 0;
  transform: translateY(20px);
}

.hero__actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  z-index: 2;
}

.hero__scroll-indicator span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--text-tertiary);
}

.hero__scroll-chevron {
  animation: bobDown 2s ease-in-out infinite;
  color: var(--text-tertiary);
}

@keyframes bobDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* Float particles */
.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  pointer-events: none;
}

/* ---- TRUST BAR ---- */
.trust-bar {
  padding: var(--section-gap) 0 var(--space-xl);
  text-align: center;
}

.trust-bar__label {
  margin-bottom: var(--space-lg);
}

.trust-bar__marquee {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.trust-bar__track {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  animation: marquee 40s linear infinite;
  width: max-content;
}

.trust-bar__logo {
  height: 36px;
  width: auto;
  opacity: 0.35;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s ease;
  flex-shrink: 0;
}

.trust-bar__logo:hover {
  opacity: 0.7;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- PROBLEM SECTION ---- */
.problem {
  padding: var(--section-gap) var(--space-md);
  text-align: center;
}

.problem__headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
}

.problem__highlight {
  position: relative;
  color: var(--risk-red);
}

.problem__highlight::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--risk-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease;
}

.problem__highlight.active::after {
  transform: scaleX(1);
}

.problem__body {
  font-size: clamp(16px, 1.8vw, 18px);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ---- PLATFORM (BENTO GRID) ---- */
.platform {
  padding: var(--section-gap) 0;
}

.platform__header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  padding: 0 var(--space-md);
  max-width: var(--max-width);
  margin: 0 auto;
}

.bento-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-bento);
  padding: 32px;
  overflow: hidden;
  transition: border-color 0.4s ease, transform 0.35s ease;
  display: flex;
  flex-direction: column;
  /* Default: span full width */
  grid-column: span 6;
}

.bento-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-3px);
}

.bento-card__glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45,200,130,0.06), transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.bento-card:hover .bento-card__glow {
  opacity: 1;
}

.bento-card__content {
  position: relative;
  z-index: 1;
}

.bento-card__icon {
  color: var(--accent-primary);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.bento-card__title {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

.bento-card__desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* ---- PRODUCT CARDS (with images) ---- */
.bento-card--product {
  padding: 0;
  overflow: hidden;
}

.bento-card--product .bento-card__content {
  padding: 28px 28px 16px;
}

.bento-card__visual {
  position: relative;
  z-index: 1;
  padding: 0 14px 14px;
  margin-top: auto;
}

.bento-card__img {
  width: 100%;
  height: 260px;
  display: block;
  object-fit: cover;
  object-position: top left;
  border-radius: 10px;
  opacity: 0.9;
  transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 16px rgba(0,0,0,0.25), 0 0 0 1px rgba(255,255,255,0.04);
}

.bento-card:hover .bento-card__img {
  opacity: 1;
  transform: scale(1.02);
}

/* ---- ROW 1: AI Compliance (wider, horizontal layout) + Controls Assessment ---- */
.bento-card--wide-left {
  grid-column: span 7;
  flex-direction: row;
  align-items: stretch;
}

.bento-card--wide-left .bento-card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 8px 32px 32px;
  min-width: 0;
}

.bento-card--wide-left .bento-card__visual {
  flex-shrink: 0;
  width: 52%;
  padding: 14px 14px 14px 8px;
  display: flex;
  align-items: center;
}

.bento-card--wide-left .bento-card__img {
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.bento-card--wide-left + .bento-card--product {
  grid-column: span 5;
}

/* ---- ROW 3: Cybersecurity PM (short) + Custom Solutions (long) ---- */
.bento-card--short {
  grid-column: span 4;
}

.bento-card--accent {
  grid-column: span 8;
  background: linear-gradient(135deg, var(--bg-surface), rgba(45,200,130,0.03));
}

/* ---- CAPABILITIES (HORIZONTAL SCROLL) ---- */
.capabilities {
  padding: var(--section-gap) 0 0;
  position: relative;
}

.capabilities__header {
  margin-bottom: var(--space-xl);
  text-align: center;
}

.horizontal-section {
  /* height is set by GSAP pin + scrub */
  overflow: hidden;
}

.horizontal-track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
}

.h-panel {
  width: 100vw;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl) var(--space-lg);
  flex-shrink: 0;
}

.h-panel__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  max-width: 1200px;
  width: 100%;
  align-items: center;
}

.h-panel__inner--centered {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
}

.h-panel__text--centered {
  max-width: 600px;
}

.h-panel__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.h-panel__body {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  max-width: 480px;
}

.h-panel__stat {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
}

.h-panel__stat-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  color: var(--accent-primary);
}

.h-panel__stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--text-tertiary);
  text-transform: uppercase;
  max-width: 200px;
  text-align: left;
}

.h-panel__cta {
  margin-top: var(--space-lg);
}

.h-panel__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mock UI */
.mock-ui {
  width: 100%;
  max-width: 480px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.mock-ui__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border-subtle);
}

.mock-ui__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}

.mock-ui__dot:first-child { background: var(--risk-red); opacity: 0.7; }
.mock-ui__dot:nth-child(2) { background: var(--risk-amber); opacity: 0.7; }
.mock-ui__dot:nth-child(3) { background: var(--risk-green); opacity: 0.7; }

.mock-ui__title {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-tertiary);
  margin-left: 8px;
}

.mock-ui__body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.mock-chat {
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.6;
}

.mock-chat--user {
  background: rgba(45,200,130,0.08);
  border: 1px solid rgba(45,200,130,0.12);
  color: var(--text-primary);
  align-self: flex-end;
  max-width: 85%;
}

.mock-chat--ai {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.mock-chat__table {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mock-chat__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px;
  background: rgba(255,255,255,0.02);
  border-radius: 6px;
  font-size: 13px;
}

.mock-chat__action {
  margin-top: 8px;
  color: var(--accent-primary);
  font-weight: 500;
  font-size: 13px;
}

/* Tags */
.tag {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.tag--red {
  background: rgba(255,77,79,0.12);
  color: var(--risk-red);
}

.tag--amber {
  background: rgba(255,176,32,0.12);
  color: var(--risk-amber);
}

.tag--green {
  background: rgba(45,200,130,0.12);
  color: var(--accent-primary);
}

/* Risk visualization */
.risk-viz {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-bento);
  overflow: hidden;
}

.risk-viz__grid {
  position: absolute;
  inset: 0;
  /* subtle grid background */
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.risk-node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 3s ease-in-out infinite;
}

.risk-node span {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.risk-node--critical {
  background: rgba(255,77,79,0.15);
  border: 1px solid rgba(255,77,79,0.3);
  color: var(--risk-red);
  animation-delay: 0s;
}

.risk-node--high {
  background: rgba(255,77,79,0.10);
  border: 1px solid rgba(255,77,79,0.2);
  color: var(--risk-red);
  animation-delay: 0.5s;
}

.risk-node--medium {
  background: rgba(255,176,32,0.10);
  border: 1px solid rgba(255,176,32,0.2);
  color: var(--risk-amber);
  animation-delay: 1s;
}

.risk-node--low {
  background: rgba(45,200,130,0.10);
  border: 1px solid rgba(45,200,130,0.2);
  color: var(--accent-primary);
  animation-delay: 1.5s;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; }
}

/* Compliance viz */
.compliance-viz {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.compliance-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 18px 22px;
}

.compliance-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.compliance-card__framework {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
}

.compliance-card__bar {
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
}

.compliance-card__fill {
  height: 100%;
  width: var(--fill);
  background: linear-gradient(90deg, var(--accent-gradient-start), var(--accent-gradient-end));
  border-radius: 2px;
  transition: width 1.5s ease;
}

/* Frameworks grid */
.frameworks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
  max-width: 400px;
}

.framework-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md) var(--space-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  transition: border-color 0.3s ease, transform 0.3s ease;
  animation: float 6s ease-in-out infinite;
}

.framework-badge:nth-child(2n) { animation-delay: 1s; }
.framework-badge:nth-child(3n) { animation-delay: 2s; }
.framework-badge:nth-child(4n) { animation-delay: 0.5s; }

.framework-badge:hover {
  border-color: var(--border-glow);
  transform: translateY(-2px);
}

.framework-badge span {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.06em;
}

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

/* Capabilities progress */
.capabilities__progress {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  justify-content: center;
  padding: var(--space-lg) 0;
}

.capabilities__progress-track {
  width: 120px;
  height: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 1px;
  overflow: hidden;
}

.capabilities__progress-fill {
  height: 100%;
  width: 20%;
  background: var(--accent-primary);
  border-radius: 1px;
  transition: width 0.4s ease;
}

.capabilities__progress-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-tertiary);
  letter-spacing: 0.1em;
}

/* ---- METRICS ---- */
/* ---- DIFFERENTIATORS ---- */
.differentiators {
  padding: var(--section-gap) 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.differentiators__grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.differentiator {
  text-align: center;
  padding: var(--space-md) var(--space-sm);
  flex: 1 1 0;
  min-width: 160px;
}

.differentiator__tag {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-primary);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 12px;
}

.differentiator__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 32px);
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 10px;
}

.differentiator__desc {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.differentiator__divider {
  width: 1px;
  height: 80px;
  background: var(--border-subtle);
  align-self: center;
}

/* ---- PROCESS ---- */
.process {
  padding: var(--section-gap) var(--space-md);
}

.process__header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.process__steps {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.process__line-bg {
  position: absolute;
  left: 28px;
  top: 56px;
  bottom: 56px;
  width: 1px;
  background: rgba(255,255,255,0.06);
}

.process__line-fill {
  width: 100%;
  height: 0%;
  background: var(--accent-primary);
  transition: height 0.1s linear;
}

.process__step {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
  position: relative;
}

.process__step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  background: var(--bg-void);
}

.process__step-number span {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--accent-primary);
}

.process__step-title {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.process__step-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 420px;
}

/* ---- TESTIMONIALS ---- */
.testimonials {
  padding: var(--section-gap) 0;
}

.testimonials__header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.testimonials__carousel {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  min-height: 300px;
}

.testimonial-card {
  position: absolute;
  inset: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-bento);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.testimonial-card--active {
  position: relative;
  opacity: 1;
  pointer-events: all;
}

.testimonial-card__quote-mark {
  font-family: var(--font-display);
  font-size: 120px;
  font-weight: 800;
  color: rgba(45,200,130,0.08);
  line-height: 0.8;
  position: absolute;
  top: 20px;
  left: 40px;
  pointer-events: none;
}

.testimonial-card__text {
  font-family: var(--font-body);
  font-size: 18px;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
  max-width: 560px;
  position: relative;
  z-index: 1;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-gradient-start), var(--accent-gradient-end));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: #050508;
}

.testimonial-card__name {
  font-style: normal;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
  display: block;
}

.testimonial-card__role {
  font-size: 13px;
  color: var(--text-tertiary);
}

.testimonials__dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: var(--space-lg);
}

.testimonials__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  transition: background 0.3s ease, transform 0.3s ease;
}

.testimonials__dot--active {
  background: var(--accent-primary);
  transform: scale(1.3);
}

/* ---- CTA SECTION ---- */
.cta-section {
  position: relative;
  padding: var(--space-3xl) var(--space-md);
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.cta-section__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 420px;
  height: 220px;
  background: rgba(30, 140, 90, 0.18);
  pointer-events: none;
  border-radius: 200px;
  transform: translate(-50%, -50%) scale(1);
  will-change: transform, border-radius, opacity;
  z-index: 0;
}

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

.cta-section__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 5.5vw, 80px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.cta-section__subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section__btn {
  position: relative;
  margin-bottom: var(--space-lg);
}

.cta-section__pulse {
  display: none;
}

.cta-section__fallback {
  font-size: 14px;
  color: var(--text-tertiary);
}

.cta-section__fallback a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.15);
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.cta-section__fallback a:hover {
  color: var(--accent-primary);
}

/* ---- FOOTER ---- */
.footer {
  padding: var(--space-xl) 0 var(--space-lg);
  border-top: 1px solid var(--border-subtle);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer__logo {
  height: 24px;
  width: auto;
  margin-bottom: var(--space-sm);
  filter: brightness(1.1);
}

.footer__tagline {
  font-size: 14px;
  color: var(--text-tertiary);
  line-height: 1.6;
  max-width: 260px;
  margin-bottom: var(--space-md);
}

.footer__social {
  display: flex;
  gap: var(--space-sm);
}

.footer__social-link {
  color: var(--text-tertiary);
  transition: color 0.2s ease;
}

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

.footer__col-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: var(--space-md);
}

.footer__link {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 4px 0;
  transition: color 0.2s ease;
}

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

.footer__link--email {
  color: var(--accent-primary);
}

.footer__address {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-subtle);
}

.footer__copy {
  font-size: 13px;
  color: var(--text-tertiary);
}

.footer__legal {
  display: flex;
  gap: var(--space-md);
}

.footer__legal .footer__link {
  font-size: 13px;
  padding: 0;
}

/* ===================================================
   RESPONSIVE
   =================================================== */

@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bento-card,
  .bento-card--wide-left,
  .bento-card--wide-left + .bento-card--product,
  .bento-card--short,
  .bento-card--accent {
    grid-column: span 1;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }
}

@media (max-width: 768px) {
  .navbar__links,
  .navbar__actions .navbar__login,
  .navbar__actions .btn {
    display: none;
  }

  .navbar__hamburger {
    display: flex;
  }

  .hero__title {
    font-size: clamp(36px, 10vw, 56px);
  }

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

  .bento-card--hero {
    grid-column: span 1;
  }

  /* Convert horizontal scroll to vertical stack */
  .horizontal-track {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .h-panel {
    width: 100%;
    min-height: auto;
    padding: var(--space-xl) var(--space-md);
  }

  .h-panel__inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .h-panel__visual {
    order: -1;
  }

  .capabilities__progress {
    display: none;
  }

  .differentiator__divider {
    display: none;
  }

  .process__step {
    gap: var(--space-md);
  }

  .process__line-bg {
    left: 27px;
  }

  .testimonial-card {
    padding: var(--space-lg);
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  .frameworks-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .btn--lg {
    width: 100%;
    justify-content: center;
  }

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

/* Disable cursor glow on touch */
@media (hover: none) {
  body::before {
    display: none;
  }
}
