/* ============================================================
   Net-Script — CyberSecurity Automation Platform Website
   styles.css — Full Design System
   ============================================================ */

/* ---- CSS Custom Properties ---- */
:root {
  /* Colors */
  --bg-base:       #0A0E1A;
  --bg-surface:    #111827;
  --bg-card:       #1A2236;
  --bg-card-hover: #1E293B;
  --primary:       #2563EB;
  --primary-light: #3B82F6;
  --primary-glow:  rgba(37, 99, 235, 0.25);
  --accent-red:    #E53E3E;
  --accent-green:  #10B981;
  --accent-yellow: #F59E0B;
  --text-primary:  #F1F5F9;
  --text-secondary:#94A3B8;
  --text-muted:    #64748B;
  --border:        rgba(148, 163, 184, 0.12);
  --border-glow:   rgba(37, 99, 235, 0.4);
  --glass-bg:      rgba(26, 34, 54, 0.6);
  --vendor-cisco:  #1D6FA4;
  --vendor-palo:   #FA5E1F;
  --vendor-forti:  #D62B2B;
  --vendor-juniper:#84B135;

  /* Typography */
  --font-heading:  'Outfit', -apple-system, sans-serif;
  --font-body:     'Inter', -apple-system, sans-serif;
  --font-mono:     'JetBrains Mono', 'Fira Code', monospace;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 5rem;
  --space-3xl: 8rem;

  /* Effects */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px var(--primary-glow);
  --transition: 0.3s 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: var(--font-body);
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ---- Container ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-light) 0%, #60A5FA 50%, var(--accent-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: rgba(37, 99, 235, 0.15);
  color: var(--primary-light);
  padding: 0.1em 0.4em;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(37, 99, 235, 0.2);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 0 0 var(--primary-glow);
}
.btn-primary:hover {
  background: var(--primary-light);
  box-shadow: 0 0 20px var(--primary-glow);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.06);
  border-color: var(--primary);
  color: var(--primary-light);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 0.625rem 1rem;
}
.btn-ghost:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

.btn-lg {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

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

/* ---- Section Shared Styles ---- */
.section {
  padding: var(--space-3xl) 0;
}

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

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary-light);
  margin-bottom: var(--space-sm);
  padding: 0.35rem 0.85rem;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: 100px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---- Scroll Reveal Animations ---- */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   NAVBAR
============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition);
  backdrop-filter: blur(0px);
}

.navbar.scrolled {
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 48px;  /* Sized for the navbar */
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.2));
  transform: translateY(-2px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin-left: auto;
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.network-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.hero-glow-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.18) 0%, transparent 70%);
  top: -100px;
  right: -100px;
}
.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(229, 62, 62, 0.12) 0%, transparent 70%);
  bottom: 100px;
  left: -50px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-light);
  padding: 0.4rem 1rem;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: 100px;
  margin-bottom: var(--space-lg);
  opacity: 0;
  animation: fadeSlideDown 0.8s ease 0.2s forwards;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
  animation: pulse 2s ease infinite;
}

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

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
  opacity: 0;
  animation: fadeSlideDown 0.8s ease 0.4s forwards;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-lg);
  max-width: 600px;
  opacity: 0;
  animation: fadeSlideDown 0.8s ease 0.6s forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
  opacity: 0;
  animation: fadeSlideDown 0.8s ease 0.8s forwards;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  opacity: 0;
  animation: fadeSlideDown 0.8s ease 1s forwards;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  margin: 0 auto;
  animation: scrollBounce 2s ease infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.4; }
}

@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   TRUST BAR
============================================================ */
.trust-bar {
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(17, 24, 39, 0.5);
}

.trust-bar .container {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  overflow-x: auto;
}

.trust-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  white-space: nowrap;
  font-weight: 600;
}

.vendor-logos {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  flex: 1;
}

.vendor-logo-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.5;
  transition: opacity var(--transition);
  white-space: nowrap;
}

.vendor-logo-item:hover { opacity: 1; }

.vendor-name {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ============================================================
   PROBLEMS SECTION
============================================================ */
.problems-section {
  background: var(--bg-base);
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.problem-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}

.problem-card:hover::before { opacity: 1; }
.problem-card:hover {
  border-color: rgba(37, 99, 235, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.problem-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  color: var(--primary-light);
}
.problem-icon svg { width: 22px; height: 22px; }

.problem-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.problem-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--space-sm);
}

.problem-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-red);
  background: rgba(229, 62, 62, 0.1);
  border: 1px solid rgba(229, 62, 62, 0.2);
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
}

/* ============================================================
   SOLUTION INTRO
============================================================ */
.solution-intro-section {
  padding: var(--space-xl) 0;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-base) 0%, var(--bg-surface) 100%);
}

.solution-intro-inner {
  max-width: 750px;
  margin: 0 auto;
}

/* ============================================================
   FEATURES SECTION
============================================================ */
.features-section {
  background: var(--bg-surface);
}

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  margin-bottom: var(--space-3xl);
}

.feature-block:last-child {
  margin-bottom: 0;
}

.feature-block-reverse {
  direction: rtl;
}
.feature-block-reverse > * {
  direction: ltr;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-light);
  margin-bottom: var(--space-md);
  padding: 0.4rem 0.875rem;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: 100px;
}
.feature-tag svg { width: 14px; height: 14px; }

.feature-tag.traffic {
  color: var(--accent-green);
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.25);
}

.feature-tag.provision {
  color: var(--accent-yellow);
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.25);
}

.feature-tag.ai-tag {
  color: #C4B5FD;
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.35);
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.2);
}

.feature-tag.ai-tag svg {
  color: #C4B5FD;
  filter: drop-shadow(0 0 4px rgba(139, 92, 246, 0.5));
}

.gradient-ai {
  background: linear-gradient(to right, #8B5CF6, #EC4899);
  -webkit-background-clip: text;
  color: transparent;
}

.ai-card {
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow: 0 10px 40px rgba(139, 92, 246, 0.08);
}

.ai-header {
  background: rgba(139, 92, 246, 0.08);
  border-bottom-color: rgba(139, 92, 246, 0.2);
}

.ai-msg-user {
  grid-template-columns: 1fr auto;
  background: var(--bg-surface);
  border-color: var(--border);
  margin-bottom: 0px;
}

.ai-msg-ai {
  grid-template-columns: auto 1fr;
  background: rgba(139, 92, 246, 0.05);
  border-color: rgba(139, 92, 246, 0.2);
}

.ai-badge-user {
  background: rgba(139, 92, 246, 0.2);
  color: #C4B5FD;
  border: 1px solid #8B5CF6;
  border-radius: 4px;
  padding: 2px 6px;
  align-self: flex-start;
  margin-top: 2px;
}

.ai-badge-ai {
  background: #8B5CF6;
  color: #fff;
  border: none;
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.6);
  border-radius: 4px;
  padding: 2px 6px;
  align-self: flex-start;
  margin-top: 2px;
}

.ai-text {
  margin-right: 10px;
  text-align: right;
  color: var(--text-primary);
  white-space: normal;
  line-height: 1.4;
}

.ai-text-reply {
  margin-left: 10px;
  white-space: normal;
  line-height: 1.4;
  color: var(--text-primary);
}

.feature-title {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  margin-bottom: var(--space-md);
}

.feature-description {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: var(--space-lg);
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.feat-check {
  color: var(--accent-green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ----- PathFinder Diagram ----- */
.feature-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.path-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: 360px;
}

.path-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  width: 100%;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  z-index: 1;
}

.path-node.success {
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.05);
}

.path-node .node-icon {
  font-size: 1.5rem;
}

.path-node span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.path-line {
  position: relative;
  width: 2px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(37, 99, 235, 0.4), rgba(37, 99, 235, 0.6));
  margin: 0 auto;
  flex-shrink: 0;
}

.path-line.nat {
  background: linear-gradient(to bottom, rgba(229, 62, 62, 0.5), rgba(229, 62, 62, 0.7));
}

.path-label {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.7rem;
  color: var(--text-muted);
  white-space: nowrap;
  font-family: var(--font-mono);
}

.nat-label { color: var(--accent-red); }

.path-pulse {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  left: 50%;
  transform: translateX(-50%);
  animation: pathPulse 2s ease-in-out infinite;
}

.path-line.nat .path-pulse {
  background: var(--accent-red);
  animation-delay: 0.3s;
}

@keyframes pathPulse {
  0% { top: 0; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { top: calc(100% - 8px); opacity: 0; }
}

/* ----- Traffic Analyzer Card ----- */
.analyzer-card {
  width: 100%;
  max-width: 480px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.analyzer-header {
  padding: var(--space-md);
  background: rgba(37, 99, 235, 0.08);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.analyzer-title {
  font-weight: 700;
  font-size: 0.9rem;
}

.analyzer-route {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--primary-light);
}

.analyzer-hops {
  padding: var(--space-sm);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.analyzer-hop {
  display: grid;
  grid-template-columns: auto auto 1fr 2fr;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 0.75rem;
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 0.75rem;
}

.analyzer-hop.blocked {
  background: rgba(229, 62, 62, 0.05);
  border-color: rgba(229, 62, 62, 0.25);
}

.hop-device {
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--text-primary);
}

.hop-type {
  color: var(--text-muted);
  font-size: 0.7rem;
}

.hop-verdict {
  font-weight: 800;
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  white-space: nowrap;
}

.hop-verdict.allow {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.hop-verdict.deny {
  background: rgba(229, 62, 62, 0.15);
  color: var(--accent-red);
  border: 1px solid rgba(229, 62, 62, 0.25);
}

.hop-rule {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.analyzer-footer {
  padding: var(--space-md);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(229, 62, 62, 0.04);
}

.verdict-final {
  font-weight: 700;
  font-size: 0.85rem;
}
.verdict-final.deny { color: var(--accent-red); }
.verdict-final.allow { color: var(--accent-green); }

.verdict-confidence {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ----- Policy Provisioning Diagram ----- */
.provision-diagram {
  width: 100%;
  max-width: 460px;
}

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

.provision-source {
  flex-shrink: 0;
}

.provision-policy {
  background: var(--bg-card);
  border: 1px solid rgba(37, 99, 235, 0.35);
  border-radius: var(--radius-md);
  overflow: hidden;
  min-width: 170px;
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.15);
}

.policy-header {
  background: rgba(37, 99, 235, 0.15);
  padding: 0.5rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.policy-body {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.policy-field {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-secondary);
  display: block;
}

.provision-arrows {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.prov-arrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.prov-arrow svg {
  flex-shrink: 0;
  width: 60px;
}

.prov-arrow span {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  white-space: nowrap;
}

/* ============================================================
   NAT SECTION
============================================================ */
.nat-section {
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-base) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.nat-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.nat-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.nat-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-yellow);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 0.4rem 0.875rem;
  border-radius: 100px;
  margin-bottom: var(--space-md);
  letter-spacing: 0.05em;
}

.nat-types {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin: var(--space-2xl) 0 var(--space-lg);
}

.nat-type-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  text-align: center;
  transition: all var(--transition);
}

.nat-type-card:hover {
  border-color: rgba(37, 99, 235, 0.35);
  transform: translateY(-3px);
}

.nat-type-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-mono);
  color: var(--primary-light);
}

.nat-type-card h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.nat-type-card p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.nat-vendor-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.nat-vendor-note > span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.nat-vendor-chips {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.chip {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.25);
  color: var(--primary-light);
}

/* ============================================================
   VENDOR MATRIX
============================================================ */
.vendors-section {
  background: var(--bg-base);
}

.vendor-matrix {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
}

.matrix-header {
  display: grid;
  grid-template-columns: 240px repeat(5, 1fr);
  background: rgba(37, 99, 235, 0.08);
  border-bottom: 1px solid var(--border);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

.matrix-row {
  display: grid;
  grid-template-columns: 240px repeat(5, 1fr);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.matrix-row:last-child { border-bottom: none; }
.matrix-row:hover { background: rgba(37, 99, 235, 0.05); }

.matrix-cell-label, .matrix-cell {
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.matrix-cell-label {
  font-weight: 600;
  color: var(--text-primary);
  gap: 0.625rem;
}

.matrix-cell {
  justify-content: center;
  color: var(--text-secondary);
}

.vendor-badge {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.vendor-badge.cisco {
  background: rgba(29, 111, 164, 0.2);
  color: #5BA8D0;
  border: 1px solid rgba(29, 111, 164, 0.3);
}
.vendor-badge.palo {
  background: rgba(250, 94, 31, 0.15);
  color: #FA8060;
  border: 1px solid rgba(250, 94, 31, 0.3);
}
.vendor-badge.forti {
  background: rgba(214, 43, 43, 0.15);
  color: #E86060;
  border: 1px solid rgba(214, 43, 43, 0.3);
}
.vendor-badge.juniper {
  background: rgba(132, 177, 53, 0.15);
  color: #A8CC70;
  border: 1px solid rgba(132, 177, 53, 0.3);
}

.check-yes {
  color: var(--accent-green);
  font-size: 1.1rem;
  font-weight: 700;
}
.check-partial {
  color: var(--text-muted);
  font-size: 1rem;
}

/* ============================================================
   HOW IT WORKS
============================================================ */
.howworks-section {
  background: var(--bg-surface);
}

.steps-container {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.steps-container::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 32px;
  bottom: 32px;
  width: 1px;
  background: linear-gradient(to bottom, var(--primary), rgba(37, 99, 235, 0.1));
}

.step {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  position: relative;
}
.step:last-child { margin-bottom: 0; }

.step-number {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary-light);
  box-shadow: 0 0 20px var(--primary-glow);
  position: relative;
  z-index: 1;
}

.step-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.step-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.step-code {
  margin-top: 0.75rem;
}
.step-code code {
  font-size: 0.8rem;
}

.step-verdict {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.v-allow, .v-deny {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
}

.v-allow {
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-green);
  border: 1px solid rgba(16, 185, 129, 0.25);
}
.v-deny {
  background: rgba(229, 62, 62, 0.12);
  color: var(--accent-red);
  border: 1px solid rgba(229, 62, 62, 0.25);
}

/* ============================================================
   SOLUTIONS
============================================================ */
.solutions-section {
  background: var(--bg-base);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.solution-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all var(--transition);
}

.solution-card:hover {
  border-color: rgba(37, 99, 235, 0.35);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.solution-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: var(--primary-light);
}
.solution-icon.soc {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.2);
  color: var(--accent-green);
}
.solution-icon.enterprise {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.2);
  color: var(--accent-yellow);
}
.solution-icon svg { width: 24px; height: 24px; }

.solution-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.solution-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--space-md);
}

.solution-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.solution-benefits li {
  font-size: 0.83rem;
  color: var(--text-secondary);
  padding-left: 1.25rem;
  position: relative;
}

.solution-benefits li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary-light);
  font-weight: 700;
}

/* ============================================================
   ARCHITECTURE
============================================================ */
.architecture-section {
  background: var(--bg-surface);
}

.arch-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
  flex-direction: column;
}

.arch-diagram {
  flex-direction: row;
  align-items: flex-start;
}

.arch-layer {
  text-align: center;
}

.arch-layer-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.arch-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  font-size: 0.88rem;
  font-weight: 600;
  min-width: 150px;
  line-height: 1.4;
  transition: all var(--transition);
}

.arch-box:hover {
  border-color: var(--primary);
  box-shadow: 0 0 15px var(--primary-glow);
}

.arch-port {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--primary-light);
  font-weight: 400;
}

.arch-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding-top: 1.6rem;
}

.arch-arrow-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  white-space: nowrap;
  font-family: var(--font-mono);
}

.arch-arrow svg {
  width: 60px;
  height: 20px;
}

.vertical-arrow {
  position: relative;
  padding-top: 0;
  align-self: stretch;
}

.vertical-arrow svg {
  width: 20px;
  height: 60px;
}

.arch-devices-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.arch-device {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition);
}
.arch-device:hover {
  border-color: var(--primary);
  color: var(--primary-light);
}

.arch-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}

.arch-feat {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: var(--space-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.83rem;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.arch-feat:hover { border-color: rgba(37, 99, 235, 0.3); }

.arch-feat-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ============================================================
   CTA SECTION
============================================================ */
.cta-section {
  background: var(--bg-base);
}

.cta-inner {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.cta-glow {
  position: absolute;
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 900;
  margin-bottom: var(--space-md);
}

.cta-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.7;
}

.cta-form {
  text-align: left;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.625rem 0.875rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color var(--transition);
  outline: none;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2394A3B8'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px;
  padding-right: 2.5rem;
}

.form-group select option {
  background: var(--bg-surface);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-success {
  display: none;
  text-align: center;
  color: var(--accent-green);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.75rem;
  background: rgba(16, 185, 129, 0.1);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-success.visible { display: block; }

/* ============================================================
   ABOUT SECTION
============================================================ */
.about-section {
  background: var(--bg-surface);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.about-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-md);
}

.about-metrics {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.about-metric {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.about-metric-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-light);
}

.about-metric-label {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.about-tech h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
}

.tech-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  transition: all var(--transition);
}

.tech-item:hover {
  border-color: rgba(37, 99, 235, 0.35);
  transform: translateY(-2px);
}

.tech-icon { font-size: 1.5rem; }

.tech-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
}

.tech-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: var(--bg-base);
  border-top: 1px solid var(--border);
  padding: var(--space-2xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-logo {
  margin-bottom: var(--space-md);
}

.footer-tagline {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 280px;
}

.footer-links h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--text-primary); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-build {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .arch-features { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nat-types { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: var(--space-2xl) 0; }

  .nav-links, .nav-actions { display: none; }
  .nav-hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    background: rgba(10, 14, 26, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    gap: 0.25rem;
    z-index: 999;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: var(--space-md);
  }

  .stat-divider { display: none; }

  .problems-grid { grid-template-columns: 1fr; gap: var(--space-sm); }
  .solutions-grid { grid-template-columns: 1fr; }
  .feature-block, .feature-block-reverse { grid-template-columns: 1fr; direction: ltr; }
  .feature-block-reverse { direction: ltr; }
  .nat-types { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .matrix-header,
  .matrix-row {
    grid-template-columns: 160px repeat(5, 1fr);
    font-size: 0.72rem;
  }

  .matrix-cell { padding: 0.75rem 0.5rem; }
  .matrix-cell-label { padding: 0.75rem 0.625rem; }

  .hero-title { font-size: 2.25rem; }

  .arch-diagram {
    flex-direction: column;
    align-items: center;
  }
  .arch-arrow { padding-top: 0; }
  .arch-arrow svg { transform: rotate(90deg); }
  .vertical-arrow { display: none; }
  .arch-features { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .vendor-logos { gap: var(--space-md); }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .matrix-header, .matrix-row { grid-template-columns: 130px repeat(5, 1fr); }
  .about-metrics { flex-direction: column; }
  .Matrix-cell-label { font-size: 0.75rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .arch-features { grid-template-columns: 1fr; }
}

/* ---- Infrastructure Section ---- */
.infra-section {
  position: relative;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.infra-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.infra-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px;
  transition: all 0.3s ease;
  height: 100%;
}

.infra-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.infra-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.infra-icon svg {
  width: 24px;
  height: 24px;
}

.infra-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.infra-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
}

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

/* ---- Bulk Management Gallery ---- */
.bulk-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
@media (min-width: 900px) {
  .bulk-container {
    flex-direction: row;
    align-items: center;
  }
  .bulk-content {
    flex: 1;
    padding-right: 40px;
  }
  .bulk-visual {
    flex: 1.2;
    position: relative;
    perspective: 1000px;
  }
}

.dashboard-gallery {
  position: relative;
  width: 100%;
  height: auto;
  border-radius: 12px;
  transform-style: preserve-3d;
}

.dash-img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.1);
  transition: transform 0.5s ease;
}

.base-dash {
  position: relative;
  z-index: 1;
  opacity: 0.9;
  transform: rotateY(-10deg) rotateX(5deg) scale(0.9);
}

.dashboard-gallery:hover .base-dash {
  transform: rotateY(0deg) rotateX(0deg) scale(0.95);
  opacity: 1;
}

.float-dialog {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 45%;
  z-index: 3;
  transform: translateZ(50px) rotateY(-5deg);
}

.dashboard-gallery:hover .float-dialog {
  transform: translateZ(80px) translateY(-10px);
}

.float-bar {
  position: absolute;
  bottom: -30px;
  left: 10%;
  width: 80%;
  z-index: 2;
  transform: translateZ(30px) rotateX(5deg);
}

.dashboard-gallery:hover .float-bar {
  transform: translateZ(60px) translateY(10px);
}

/* ---- Workflow Step Images ---- */
.step-img-wrapper {
  margin-top: 25px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
  padding: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.step-screenshot {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
}

/* ---- Health Monitoring Section ---- */
.health-section {
  background: var(--bg-card);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.health-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.health-pane {
  background: rgba(15, 23, 42, 0.6);
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.pane-healthy {
  border-top: 4px solid #10B981;
}

.pane-anomaly {
  border-top: 4px solid #F59E0B;
}

.pane-header h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.pane-header p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 25px;
  line-height: 1.5;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.status-dot.green {
  background-color: #10B981;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.status-dot.yellow {
  background-color: #F59E0B;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

.pane-stack {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: auto;
}

.pane-img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.1);
}

.list-img {
  margin-bottom: -40px; /* pull modal over it */
  opacity: 0.8;
  transform: scale(0.95);
  filter: blur(1px);
  transition: all 0.3s ease;
}

.health-pane:hover .list-img {
  filter: blur(0px);
  opacity: 1;
}

.modal-img {
  position: relative;
  width: 85%;
  z-index: 2;
  transition: transform 0.3s ease;
}

.health-pane:hover .modal-img {
  transform: translateY(-10px);
}

.alert-glow {
  box-shadow: 0 15px 30px rgba(239, 68, 68, 0.25);
  border-color: rgba(239, 68, 68, 0.3);
}

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

/* ---- Telemetry Section ---- */
.telemetry-section {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.telemetry-grid {
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin-top: 40px;
}

.telemetry-card {
  display: flex;
  align-items: center;
  gap: 40px;
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
}

.telemetry-card.reverse-card {
  flex-direction: row-reverse;
  background: rgba(139, 92, 246, 0.03);
  border-color: rgba(139, 92, 246, 0.2);
}

.telemetry-text {
  flex: 1;
}

.telemetry-text h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.telemetry-text p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
}

.telemetry-visual {
  flex: 1.5;
  position: relative;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.1);
  overflow: visible;
}

.tele-main-img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
}

.stack-visual {
  border: none;
  box-shadow: none;
}

.stack-visual .tracking-bg {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  opacity: 0.8;
  filter: blur(1px);
  transition: all 0.3s ease;
}

.telemetry-card:hover .tracking-bg {
  filter: blur(0px);
  opacity: 1;
}

.tele-float-img {
  position: absolute;
  border-radius: 6px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(200, 200, 255, 0.15);
  transition: transform 0.4s ease;
  z-index: 10;
}

.float-1 {
  width: 55%;
  bottom: -20px;
  right: -20px;
}

.float-2 {
  width: 55%;
  bottom: 50px;
  left: -20px;
}

.telemetry-card:hover .float-1 {
  transform: translateY(-10px) translateX(-5px);
}
.telemetry-card:hover .float-2 {
  transform: translateY(-10px) translateX(5px);
}

@media (max-width: 900px) {
  .telemetry-card, .telemetry-card.reverse-card {
    flex-direction: column;
  }
}

/* ---- Version Control Section ---- */
.vc-section {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.vc-grid {
  display: flex;
  gap: 40px;
  margin-top: 50px;
}

.vc-main {
  flex: 1.2;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 35px;
  backdrop-filter: blur(8px);
}

.vc-main h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.vc-primary-visual {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.4);
  border: 1px solid rgba(16, 185, 129, 0.15);
}

.vc-main-dash {
  width: 100%;
  display: block;
}

.vc-sidebar {
  flex: 0.8;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.vc-card {
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 25px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.vc-card:hover {
  transform: translateY(-5px);
  border-color: rgba(16, 185, 129, 0.4);
}

.vc-card h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.vc-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.5;
}

.vc-card img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.vc-stack {
  display: flex;
  gap: 20px;
}

.vc-stack .vc-card {
  flex: 1;
  padding: 15px;
}

.vc-stack .state-match img {
  margin-bottom: 0px; 
}

@media (max-width: 900px) {
  .vc-grid {
    flex-direction: column;
  }
  
  .vc-stack {
    flex-direction: column;
  }
}

/* ---- Auto-Remediation Pipeline ---- */
.remediation-section {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.remediation-pipeline {
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin-top: 60px;
  position: relative;
}

.remediation-pipeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, rgba(34, 197, 94, 0.3), rgba(34, 197, 94, 0.8), transparent);
  z-index: 0;
}

.rem-step {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.rem-step:nth-child(even) .rem-content {
  flex-direction: row-reverse;
}

.rem-content {
  display: flex;
  align-items: center;
  gap: 50px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(34, 197, 94, 0.15);
  border-radius: 16px;
  padding: 40px;
  max-width: 1100px;
  backdrop-filter: blur(10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  position: relative;
}

.rem-content::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  background: #22C55E;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 15px #22C55E, 0 0 30px #22C55E;
  z-index: -1;
  opacity: 0.1;
}

.rem-content h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: var(--text-primary);
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  flex: 1;
}

.rem-content p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.6;
  flex: 1;
}

.rem-image-stack {
  flex: 1.5;
  position: relative;
}

.rem-base-img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.rem-float-img {
  position: absolute;
  border-radius: 6px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(34, 197, 94, 0.3);
  transition: transform 0.4s ease;
  z-index: 10;
}

.rem-float-1 {
  width: 70%;
  bottom: -30px;
  right: -20px;
}

.rem-float-2 {
  width: 60%;
  bottom: -20px;
  right: -20px;
}

.rem-step:hover .rem-float-img {
  transform: translateY(-10px) translateX(-5px);
  border-color: rgba(34, 197, 94, 0.6);
}

@media (max-width: 1000px) {
  .remediation-pipeline::before {
    left: 20px;
  }
  .rem-content, .rem-step:nth-child(even) .rem-content {
    flex-direction: column;
    padding: 30px 20px;
    margin-left: 40px;
  }
}

/* ---- Path Recovery Showcase ---- */
.recovery-showcase {
  margin-top: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.recovery-showcase::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #EF4444, #F59E0B, #10B981);
}

.recovery-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.recovery-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.recovery-header p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

.recovery-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.recovery-mockup {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.recovery-mockup:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
}

.mockup-label {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  z-index: 10;
  backdrop-filter: blur(4px);
}

.rec-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.full-width-rec {
  max-height: 400px;
  object-fit: cover;
  object-position: top;
}

@media (max-width: 768px) {
  .recovery-gallery {
    grid-template-columns: 1fr;
  }
  .recovery-mockup[style*="grid-column: span 2"] {
    grid-column: span 1 !important;
  }
}

/* ---- Navigation Dropdowns ---- */
.nav-item {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  margin-top: 15px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 10px 0;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(10px);
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  z-index: 1000;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 0;
  right: 0;
  height: 15px;
}

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

.dropdown-link {
  padding: 10px 20px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.2s ease;
  font-weight: 500;
  text-align: center;
}

.dropdown-link:hover {
  color: var(--text-primary);
  background: rgba(37, 99, 235, 0.1);
}

.nav-arrow {
  color: var(--text-secondary);
  transition: transform 0.2s;
}

.nav-item:hover .nav-arrow {
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 5px 0 5px 15px;
    margin-top: 0;
  }
  .dropdown-link { padding: 8px 15px; }
  .nav-item:hover .dropdown-menu { transform: none; }
}

/* ---- Topology Section ---- */
.topology-css-graph {
  position: relative;
  height: 400px;
  background: rgba(10, 15, 28, 0.4);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 12px;
  margin-top: 50px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.topology-css-graph::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    radial-gradient(circle at center, rgba(59, 130, 246, 0.1) 0%, transparent 70%),
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 100% 100%, 40px 40px, 40px 40px;
  z-index: 0;
}

.topo-node {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 15px 25px;
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  position: absolute;
  z-index: 2;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.topo-core { top: 20%; left: 15%; border-color: rgba(59, 130, 246, 0.5); }
.topo-fw { top: 50%; left: 50%; transform: translate(-50%, -50%); border-color: rgba(234, 179, 8, 0.5); box-shadow: 0 0 20px rgba(234, 179, 8, 0.2); }
.topo-router { bottom: 20%; right: 15%; border-color: rgba(16, 185, 129, 0.5); }

.topo-link {
  position: absolute;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1;
}

.link-1 {
  width: 35%;
  top: 35%;
  left: 20%;
  transform: rotate(25deg);
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.5), rgba(234, 179, 8, 0.5));
}

.link-2 {
  width: 35%;
  top: 65%;
  right: 20%;
  transform: rotate(-25deg);
  background: linear-gradient(90deg, rgba(234, 179, 8, 0.5), rgba(16, 185, 129, 0.5));
}

.topo-overlay-text {
  position: absolute;
  background: rgba(239, 68, 68, 0.9);
  color: white;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  top: 40%;
  left: 60%;
  z-index: 3;
  box-shadow: 0 5px 15px rgba(239, 68, 68, 0.4);
}

/* ---- Future Innovations Roadmap ---- */
.roadmap-timeline {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.roadmap-timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: rgba(255, 255, 255, 0.05);
}

.roadmap-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: rgba(15, 23, 42, 0.6);
  padding: 25px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.roadmap-item:hover {
  transform: translateX(10px);
  border-color: rgba(168, 85, 247, 0.3);
}

.roadmap-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(168, 85, 247, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  border: 1px solid rgba(168, 85, 247, 0.2);
  z-index: 2;
}

.roadmap-content h4 {
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.roadmap-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}
