/* ===========================
   DESIGN TOKENS
=========================== */
:root {
  --bg-void:       #04070F;
  --bg-deep:       #080D1A;
  --bg-surface:    #0D1525;
  --bg-card:       #111C30;
  --bg-card-hover: #152237;
  --border:        rgba(0, 210, 255, 0.12);
  --border-strong: rgba(0, 210, 255, 0.25);

  --cyan:          #00D2FF;
  --cyan-dim:      #0099CC;
  --cyan-glow:     rgba(0, 210, 255, 0.15);
  --purple:        #8B5CF6;
  --purple-dim:    #6D3FC8;
  --green:         #00FF87;
  --green-dim:     rgba(0, 255, 135, 0.12);
  --red-alert:     #FF3D5A;
  --amber:         #FFB020;

  --text-primary:  #E8EFF8;
  --text-secondary:#8A9BB5;
  --text-muted:    #4A5E7A;

  --nav-height:    72px;
  --radius:        8px;
  --radius-lg:     16px;
  --transition:    0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===========================
   RESET & BASE
=========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Barlow', sans-serif, "Roboto";
  background-color: var(--bg-void);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ===========================
   SCROLLBAR
=========================== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--cyan-dim); border-radius: 3px; }

/* ===========================
   TYPOGRAPHY HELPERS
=========================== */
.font-display { font-family: 'Roboto', sans-serif; }
.font-mono    { font-family: 'DM Mono', monospace; }
.font-cond    { font-family: 'Barlow Condensed', sans-serif; }

/* ===========================
   LAYOUT HELPERS
=========================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* ===========================
   BUTTONS
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--cyan-dim));
  color: var(--bg-void);
  box-shadow: 0 0 24px rgba(0, 210, 255, 0.3), 0 4px 12px rgba(0,0,0,0.4);
}
.btn-primary:hover {
  box-shadow: 0 0 36px rgba(0, 210, 255, 0.5), 0 4px 16px rgba(0,0,0,0.5);
  transform: translateY(-1px);
}
.btn-ghost {
  border: 1px solid var(--border-strong);
  color: var(--cyan);
  background: rgba(0, 210, 255, 0.05);
}
.btn-ghost:hover {
  background: rgba(0, 210, 255, 0.1);
  border-color: var(--cyan);
}
.btn-purple {
  background: linear-gradient(135deg, var(--purple), var(--purple-dim));
  color: #fff;
  box-shadow: 0 0 24px rgba(139, 92, 246, 0.3);
}
.btn-purple:hover {
  box-shadow: 0 0 36px rgba(139, 92, 246, 0.5);
  transform: translateY(-1px);
}
.btn-lg { padding: 16px 40px; font-size: 1rem; }
.btn-sm { padding: 8px 20px; font-size: 0.8rem; }

/* ===========================
   PILL / BADGE
=========================== */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pill-cyan  { background: rgba(0, 210, 255, 0.1); border: 1px solid rgba(0,210,255,0.25); color: var(--cyan); }
.pill-green { background: rgba(0, 255, 135, 0.08); border: 1px solid rgba(0,255,135,0.2); color: var(--green); }
.pill-red   { background: rgba(255, 61, 90, 0.1); border: 1px solid rgba(255,61,90,0.25); color: var(--red-alert); }
.pill-amber { background: rgba(255, 176, 32, 0.1); border: 1px solid rgba(255,176,32,0.25); color: var(--amber); }

.pulse-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse-anim 2s infinite;
}
@keyframes pulse-anim {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* ===========================
   SECTION LABELS
=========================== */
.section-eyebrow {
  font-family: 'Roboto', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cyan);
}
.section-title {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
}
.accent-cyan { color: var(--cyan); }
.accent-purple { color: var(--purple); }
.accent-green  { color: var(--green); }

/* ===========================
   NAV
=========================== */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: all 0.4s ease;
}
#nav.scrolled {
  background: rgba(8, 13, 26, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 40px rgba(0,0,0,0.4);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
}
.nav-logo-icon {
  width: 40px; height: auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-logo-icon svg { width: 100%; height: 100%; }
.nav-logo-name .brand-main { color: var(--text-primary); }
.nav-logo-name .brand-accent { color: var(--cyan); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: all var(--transition);
  position: relative;
}
.nav-links a:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }
.nav-links a.active { color: var(--cyan); }

.nav-has-dropdown { 
    position: relative; 
    padding-bottom: 2px; /* bridge so cursor can move into dropdown */
  }
/* Invisible hover bridge so submenu doesn't collapse while mousing down */
.nav-has-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 2px;        /* bridge size */
}
.nav-has-dropdown > a::after {
  content: '▾';
  margin-left: 4px;
  font-size: 0.7rem;
  opacity: 0.6;
}
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 8px;
  min-width: 200px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: all 0.2s ease;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.nav-has-dropdown:hover .nav-dropdown,
.nav-has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: all var(--transition);
}
.nav-dropdown a:hover { background: var(--bg-card); color: var(--text-primary); }
.nav-dropdown a .dd-icon {
  width: 28px; height: 28px;
  background: var(--bg-card);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

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

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: rgba(8, 13, 26, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 999;
  padding: 16px 24px 32px;
  transform: translateY(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a {
  display: block;
  padding: 14px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--cyan); }
.mobile-menu .mobile-menu-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.mobile-menu .mobile-menu-actions .btn { flex: 1; justify-content: center; }

/* ===========================
   HERO
=========================== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
}

/* Grid background */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,210,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,210,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, black 40%, transparent 100%);
}

/* Glow orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-orb-1 {
  width: 600px; height: 600px;
  background: rgba(0, 210, 255, 0.08);
  top: -100px; right: -100px;
}
.hero-orb-2 {
  width: 500px; height: 500px;
  background: rgba(139, 92, 246, 0.06);
  bottom: -50px; left: -100px;
}
.hero-orb-3 {
  width: 300px; height: 300px;
  background: rgba(0, 255, 135, 0.05);
  top: 40%; left: 50%;
  transform: translate(-50%, -50%);
}

/* Scan lines */
.scan-line {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0;
  animation: scan 8s linear infinite;
}
.scan-line:nth-child(2) { animation-delay: -4s; }
@keyframes scan {
  0%   { top: 0; opacity: 0; }
  5%   { opacity: 0.4; }
  95%  { opacity: 0.4; }
  100% { top: 100%; opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0;
}
.hero-left {}
.hero-eyebrow {
  margin-bottom: 24px;
  animation: fadeUp 0.8s 0.1s both;
}
.hero-title {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  animation: fadeUp 0.8s 0.2s both;
}
.hero-title .line-break { display: block; }
.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 500px;
  margin-bottom: 40px;
  animation: fadeUp 0.8s 0.3s both;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.4s both;
  margin-bottom: 56px;
}
.hero-trust {
  animation: fadeUp 0.8s 0.5s both;
}
.hero-trust-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
  font-family: 'Roboto', sans-serif;
}
.hero-trust-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
.trust-logo-item {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 6px 16px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  transition: all var(--transition);
}
.trust-logo-item:hover { border-color: var(--border-strong); color: var(--text-secondary); }

/* Hero right - threat dashboard visual */
.hero-right {
  animation: fadeIn 1s 0.5s both;
}
.threat-dashboard {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 0 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(0,210,255,0.05);
  overflow: hidden;
}
.threat-dashboard::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--purple), transparent);
}
.td-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.td-title {
  font-family: 'Roboto', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.td-dots { display: flex; gap: 6px; }
.td-dot { width: 8px; height: 8px; border-radius: 50%; }
.td-dot-r { background: #FF5F57; }
.td-dot-y { background: #FFBD2E; }
.td-dot-g { background: #28CA41; }

.td-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.td-stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  text-align: center;
}
.td-stat-num {
  font-family: 'Roboto', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--cyan);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}
.td-stat-num.green { color: var(--green); }
.td-stat-num.purple { color: var(--purple); }
.td-stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: 'Roboto', sans-serif;
}

.td-threats {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.td-threat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  animation: threatIn 0.5s ease both;
}
.td-threat-item:nth-child(1) { animation-delay: 1.2s; }
.td-threat-item:nth-child(2) { animation-delay: 1.5s; }
.td-threat-item:nth-child(3) { animation-delay: 1.8s; }
@keyframes threatIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}
.td-threat-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.td-threat-icon {
  width: 28px; height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}
.td-threat-icon.critical { background: rgba(255,61,90,0.15); color: var(--red-alert); }
.td-threat-icon.warning  { background: rgba(255,176,32,0.15); color: var(--amber); }
.td-threat-icon.info     { background: rgba(0,210,255,0.1); color: var(--cyan); }
.td-threat-text { font-size: 0.8rem; color: var(--text-primary); font-weight: 500; }
.td-threat-sub  { font-size: 0.7rem; color: var(--text-muted); margin-top: 1px; font-family: 'DM Mono', monospace; }
.td-threat-status {
  font-family: 'Roboto', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 100px;
  text-transform: uppercase;
}
.status-blocked  { background: rgba(0,255,135,0.1); color: var(--green); border: 1px solid rgba(0,255,135,0.2); }
.status-active   { background: rgba(255,61,90,0.1);  color: var(--red-alert); border: 1px solid rgba(255,61,90,0.2); animation: blink 1.5s infinite; }
.status-analyzing{ background: rgba(255,176,32,0.1); color: var(--amber); border: 1px solid rgba(255,176,32,0.2); }
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}

.td-activity {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-muted);
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  overflow: hidden;
  position: relative;
}
.td-activity-line { margin-bottom: 4px; }
.td-activity-line .ts { color: var(--cyan-dim); }
.td-activity-line .ok { color: var(--green); }
.td-activity-line .err{ color: var(--red-alert); }
.td-activity-line .warn { color: var(--amber); }
.td-cursor {
  display: inline-block;
  width: 6px; height: 12px;
  background: var(--cyan);
  animation: cursor-blink 1s infinite;
  vertical-align: text-bottom;
  margin-left: 4px;
}
@keyframes cursor-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* ===========================
   ANIMATIONS
=========================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ===========================
   STATS BAR
=========================== */
.stats-bar {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}
.stats-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 16px 24px;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 16px; bottom: 16px;
  width: 1px;
  background: var(--border);
}
.stat-num {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 6px;
  display: block;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}
.stat-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 2px;
  font-family: 'DM Mono', monospace;
}

/* ===========================
   FEATURES
=========================== */
.features { background: var(--bg-void); }
.features-header { text-align: center; margin-bottom: 64px; }
.features-header .section-sub { margin: 0 auto; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
  opacity: 0;
  transition: opacity var(--transition);
}
.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.feature-card:hover::before { opacity: 1; }
.feature-card.fc-cyan  { --grad: linear-gradient(90deg, var(--cyan), var(--cyan-dim)); }
.feature-card.fc-purple{ --grad: linear-gradient(90deg, var(--purple), var(--purple-dim)); }
.feature-card.fc-green { --grad: linear-gradient(90deg, var(--green), var(--cyan)); }

.feature-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.feature-icon svg {
  display: block;
  width: 24px;
  height: 24px;
}
.fi-cyan svg { color: var(--cyan); }
.fi-purple svg { color: var(--purple); }
.fi-cyan   { background: rgba(0,210,255,0.12); border: 1px solid rgba(0,210,255,0.2); }
.fi-purple { background: rgba(139,92,246,0.12); border: 1px solid rgba(139,92,246,0.2); }
.fi-green  { background: rgba(0,255,135,0.1); border: 1px solid rgba(0,255,135,0.15); }
.fi-amber  { background: rgba(255,176,32,0.1); border: 1px solid rgba(255,176,32,0.2); }
.fi-red    { background: rgba(255,61,90,0.1); border: 1px solid rgba(255,61,90,0.2); }
.fi-blue   { background: rgba(100,149,237,0.1); border: 1px solid rgba(100,149,237,0.2); }

.feature-title {
  font-family: 'Roboto', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.feature-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.83rem;
  color: var(--text-secondary);
}
.feature-list li::before {
  content: '›';
  color: var(--cyan);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Feature hero card (wide) */
.feature-card.feature-wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.fw-visual {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  overflow: hidden;
}
.fw-pipeline {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fw-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.78rem;
}
.fw-step-num {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--bg-void);
  border: 1px solid var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  color: var(--cyan);
  flex-shrink: 0;
}
.fw-step-name { color: var(--text-primary); font-weight: 500; flex: 1; }
.fw-step-badge {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  padding: 2px 8px;
  border-radius: 4px;
}
.fwb-auto { background: rgba(0,255,135,0.1); color: var(--green); }
.fwb-ai   { background: rgba(0,210,255,0.1); color: var(--cyan); }
.fwb-ml   { background: rgba(139,92,246,0.1); color: var(--purple); }
.fw-arrow {
  text-align: center;
  color: var(--border-strong);
  font-size: 0.8rem;
  line-height: 1;
}

/* ===========================
   HOW IT WORKS
=========================== */
.hiw { background: var(--bg-deep); }
.hiw-header { text-align: center; margin-bottom: 64px; }
.hiw-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.hiw-steps::before {
  content: '';
  position: absolute;
  top: 40px; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}
.hiw-step {
  text-align: center;
  padding: 24px 20px;
  position: relative;
}
.hiw-step-num {
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-family: 'Roboto', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cyan);
  position: relative;
  z-index: 1;
  transition: all var(--transition);
}
.hiw-step:hover .hiw-step-num {
  border-color: var(--cyan);
  box-shadow: 0 0 24px rgba(0,210,255,0.3);
  background: rgba(0,210,255,0.08);
}
.hiw-step-title {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.hiw-step-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===========================
   SOLUTIONS / PRODUCTS
=========================== */
.solutions { background: var(--bg-void); }
.solutions-header { margin-bottom: 60px; }
.solutions-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0;
}
.sol-tab {
  font-family: 'Roboto', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 12px 24px;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  margin-bottom: -1px;
}
.sol-tab:hover { color: var(--text-secondary); }
.sol-tab.active { color: var(--cyan); border-bottom-color: var(--cyan); }
.sol-panel { display: none; }
.sol-panel.active { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.sol-panel-left {}
.sol-panel-title {
  font-family: 'Roboto', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.sol-panel-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 28px;
}
.sol-bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.sol-bullet {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.sol-bullet-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(0,210,255,0.1);
  border: 1px solid rgba(0,210,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--cyan);
  flex-shrink: 0;
  margin-top: 1px;
}

.sol-panel-visual {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.spv-header {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.spv-header-title {
  font-family: 'Roboto', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.spv-body { padding: 20px; }
.spv-metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}
.spv-metric-row:last-child { border-bottom: none; }
.spv-metric-name { color: var(--text-secondary); }
.spv-metric-val {
  font-family: 'DM Mono', monospace;
  font-size: 0.85rem;
  font-weight: 500;
}
.spv-metric-val.good { color: var(--green); }
.spv-metric-val.warn { color: var(--amber); }
.spv-metric-val.bad  { color: var(--red-alert); }
.spv-metric-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.8rem;
}
.spv-bar-track {
  flex: 1;
  height: 4px;
  background: var(--bg-deep);
  border-radius: 2px;
  overflow: hidden;
}
.spv-bar-fill {
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan-dim), var(--cyan));
  transition: width 1s ease;
}

/* ===========================
   PRICING
=========================== */
.pricing { background: var(--bg-deep); }
.pricing-header { text-align: center; margin-bottom: 60px; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  transition: all var(--transition);
}
.pricing-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.pricing-card.featured {
  border-color: var(--cyan);
  background: linear-gradient(180deg, rgba(0,210,255,0.06) 0%, var(--bg-card) 40%);
  box-shadow: 0 0 40px rgba(0,210,255,0.1);
}
.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cyan);
  color: var(--bg-void);
  font-family: 'Roboto', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing-tier {
  font-family: 'Roboto', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.pricing-name {
  font-family: 'Roboto', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.pricing-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.6;
}
.pricing-price {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.pricing-amount {
  font-family: 'Roboto', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}
.pricing-amount sup { font-size: 1.2rem; vertical-align: super; }
.pricing-period {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.pricing-custom {
  font-family: 'Roboto', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--cyan);
}
.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.pf-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.pf-check {
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.pf-check.yes { background: rgba(0,255,135,0.1); color: var(--green); border: 1px solid rgba(0,255,135,0.2); }
.pf-check.no  { background: rgba(255,255,255,0.04); color: var(--text-muted); border: 1px solid rgba(255,255,255,0.08); }

/* ===========================
   TESTIMONIALS
=========================== */
.testimonials { background: var(--bg-void); }
.testimonials-header { text-align: center; margin-bottom: 60px; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
  position: relative;
}
.testimonial-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: 'Roboto', sans-serif;
  font-size: 5rem;
  line-height: 1;
  color: rgba(0,210,255,0.08);
  font-weight: 700;
  pointer-events: none;
}
.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  color: var(--amber);
  font-size: 0.85rem;
}
.testimonial-text {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan-dim), var(--purple-dim));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Roboto', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--bg-void);
  flex-shrink: 0;
}
.testimonial-name {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-primary);
}
.testimonial-role {
  font-size: 0.775rem;
  color: var(--text-muted);
  margin-top: 2px;
  font-family: 'DM Mono', monospace;
}

/* ===========================
   INTEGRATIONS
=========================== */
.integrations { background: var(--bg-surface); }
.integrations-header { text-align: center; margin-bottom: 52px; }
.int-logos-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 12px;
}
.int-logo-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
}
.int-logo-chip:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
  transform: translateY(-2px);
}
.int-logo-chip .int-icon { font-size: 1rem; }
.int-count {
  text-align: center;
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.int-count a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }

/* ===========================
   CTA BANNER
=========================== */
.cta-banner {
  background: var(--bg-deep);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner-orb {
  position: absolute;
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(0,210,255,0.08), transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cta-banner-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta-banner-title {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.cta-banner-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.cta-banner-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-trust-note {
  margin-top: 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.cta-trust-note::before { content: '🔒'; font-size: 0.75rem; }

/* ===========================
   FOOTER
=========================== */
.footer {
  background: var(--bg-void);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}
.footer-brand-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 16px;
  margin-bottom: 24px;
  max-width: 260px;
}
.footer-socials {
  display: flex;
  gap: 10px;
}
.footer-social {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: all var(--transition);
}
.footer-social:hover {
  border-color: var(--border-strong);
  color: var(--cyan);
  background: rgba(0,210,255,0.05);
}
.footer-col-title {
  font-family: 'Roboto', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--cyan); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: 'DM Mono', monospace;
}
.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-legal a:hover { color: var(--text-secondary); }
.footer-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--green);
  font-family: 'DM Mono', monospace;
}
.footer-status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-anim 2s infinite;
}

/* ===========================
   SCROLL REVEAL
=========================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card.feature-wide { grid-column: span 2; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }
  .section { padding: 64px 0; }
  .section-sm { padding: 48px 0; }
  .container { padding: 0 16px; }

  .nav-links, .nav-actions { display: none; }
  .nav-hamburger { display: flex; }
  .mobile-menu { display: none; }
  /* Show mobile menu only when toggled */
  .mobile-menu.is-open {
    display: block;
  }
  .hero-content { grid-template-columns: 1fr; gap: 48px; padding: 48px 0; }
  .hero-right { display: none; }
  .hero-title { font-size: 2.2rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }

  .stats-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2)::after { display: none; }
  .stat-item:nth-child(2) { border-right: none; }

  .features-grid { grid-template-columns: 1fr; }
  .feature-card.feature-wide { grid-column: span 1; grid-template-columns: 1fr; }
  .fw-visual { display: none; }

  .hiw-steps { grid-template-columns: repeat(2, 1fr); }
  .hiw-steps::before { display: none; }

  .sol-panel.active { grid-template-columns: 1fr; }
  .sol-panel-visual { display: none; }
  .solutions-tabs { overflow-x: auto; padding-bottom: 0; }
  .sol-tab { white-space: nowrap; }

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

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

  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand-desc { max-width: 100%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .cta-banner-actions { flex-direction: column; align-items: center; }
  .cta-banner-actions .btn { width: 100%; max-width: 320px; justify-content: center; }

  .section-title { font-size: 1.8rem; }
}

@media (max-width: 480px) {
  .stats-bar-inner { grid-template-columns: 1fr 1fr; }
  .hiw-steps { grid-template-columns: 1fr 1fr; }
  .hero-trust-logos { gap: 10px; }
  .trust-logo-item { font-size: 0.75rem; padding: 5px 12px; }
  .footer-main { grid-template-columns: 1fr; }
}


/* ===========================
   SUBPAGE EXTRAS
=========================== */

/* Page hero (subpages) */
.page-hero {
  padding: calc(var(--nav-height) + 64px) 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,210,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,210,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  pointer-events: none;
}
.page-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  width: 500px; height: 400px;
  background: rgba(0,210,255,0.06);
  top: -100px; right: -100px;
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero-eyebrow { margin-bottom: 20px; }
.page-hero-title {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.page-hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 580px;
  line-height: 1.75;
  margin-bottom: 36px;
}

/* ── Shared image styles ─────────────────────────────── */
.page-hero-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

/* ── Beside layout: image alongside text ─────────────── */
.page-hero-layout-beside {
  display: flex;
  flex-direction: row;
  gap: 40px;
  align-items: flex-start;
}
.page-hero-layout-beside .page-hero-text {
  flex: 1;
  min-width: 0;
}
.page-hero-layout-beside .page-hero-image {
  flex: 0 0 520px;
  max-width: 520px;
}
@media (max-width: 1100px) {
  .page-hero-layout-beside .page-hero-image {
    flex: 0 0 420px;
    max-width: 420px;
  }
}
@media (max-width: 900px) {
  .page-hero-layout-beside {
    flex-direction: column;
  }
  .page-hero-layout-beside .page-hero-image {
    flex: none;
    width: 100%;
    max-width: 100%;
  }
}

/* ── Below layout: image under text ──────────────────── */
.page-hero-layout-below {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.page-hero-layout-below .page-hero-text {
  width: 100%;
}
.page-hero-layout-below .page-hero-image {
  width: 100%;
  max-width: 640px;
}

.page-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-family: 'DM Mono', monospace;
}
.breadcrumb a { color: var(--cyan); transition: opacity 0.2s; }
.breadcrumb a:hover { opacity: 0.8; }
.breadcrumb-sep { opacity: 0.4; }

/* What you get grid */
.wyg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.wyg-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all var(--transition);
}
.wyg-card:hover {
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}
.wyg-icon {
  font-size: 1.6rem;
  margin-bottom: 14px;
  display: block;
}
.wyg-title {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.wyg-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* How we deliver steps */
.deliver-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.deliver-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all var(--transition);
}
.deliver-step:hover { border-color: var(--border-strong); }
.deliver-step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--cyan);
  background: rgba(0,210,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Roboto', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--cyan);
  flex-shrink: 0;
}
.deliver-step-title {
  font-family: 'Roboto', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.deliver-step-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Outputs list */
.outputs-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 32px;
}
.output-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 0.875rem;
}
.output-check {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(0,255,135,0.1);
  border: 1px solid rgba(0,255,135,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 1px;
}
.output-text { color: var(--text-secondary); line-height: 1.5; }

/* Use cases */
.usecases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.usecase-chip {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: all var(--transition);
}
.usecase-chip:hover { border-color: var(--border-strong); color: var(--text-primary); }
.usecase-chip-label {
  font-family: 'Roboto', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 6px;
}

/* Next step CTA box */
.next-step-box {
  background: linear-gradient(135deg, rgba(0,210,255,0.06), rgba(139,92,246,0.06));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 24px;
}
.next-step-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}
.next-step-title {
  font-family: 'Roboto', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.next-step-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 500px;
  margin: 0 auto 28px;
  line-height: 1.7;
}
.next-step-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Navigation cross-links */
.page-nav-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  margin-top: 40px;
  flex-wrap: wrap;
  gap: 16px;
}
.page-nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.page-nav-link:hover { color: var(--cyan); }
.page-nav-link-arrow { color: var(--cyan); }

/* Related pages bar */
.related-pages {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.related-pages-title {
  font-family: 'Roboto', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.related-pages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.related-page-chip {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.related-page-chip:hover {
  border-color: var(--border-strong);
  color: var(--cyan);
  transform: translateY(-2px);
}
.related-page-chip-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-family: 'DM Mono', monospace;
}

/* SVG page visuals */
.page-visual-wrap {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.page-visual-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}
.page-visual-wrap img,
.page-visual-wrap svg {
  width: 100%;
  display: block;
}

/* Two-col hero layout */
.page-hero-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Responsive subpages */
@media (max-width: 1024px) {
  .wyg-grid { grid-template-columns: repeat(2, 1fr); }
  .related-pages-grid { grid-template-columns: repeat(2, 1fr); }
  .page-hero-two-col { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .wyg-grid { grid-template-columns: 1fr; }
  .deliver-steps { grid-template-columns: 1fr; }
  .outputs-list { grid-template-columns: 1fr; }
  .usecases-grid { grid-template-columns: repeat(2, 1fr); }
  .related-pages-grid { grid-template-columns: repeat(2, 1fr); }
  .next-step-box { padding: 32px 20px; }
}
@media (max-width: 480px) {
  .usecases-grid { grid-template-columns: 1fr; }
  .related-pages-grid { grid-template-columns: 1fr; }
}