/* ==========================================================================
   Infrasights v2.10 - Enterprise SAN Observability Platform
   Design System & Styling
   ========================================================================== */

:root {
  --bg-primary: #070b14;
  --bg-secondary: #0c1322;
  --bg-surface: #111a2e;
  --bg-surface-elevated: #17233d;
  --bg-card: rgba(17, 26, 46, 0.75);
  --bg-card-hover: rgba(23, 35, 61, 0.9);
  --bg-glass: rgba(12, 19, 34, 0.85);

  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-medium: rgba(255, 255, 255, 0.12);
  --border-cyan: rgba(56, 189, 248, 0.3);
  --border-cyan-glow: rgba(0, 242, 254, 0.5);

  --cyan-500: #38bdf8;
  --cyan-400: #00f2fe;
  --cyan-300: #7dd3fc;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --emerald-400: #34d399;
  --amber-400: #fbbf24;
  --rose-400: #fb7185;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-code: #38bdf8;

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

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.6), 0 2px 4px -2px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.7), 0 4px 6px -4px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 25px rgba(0, 242, 254, 0.15);
  --shadow-glow-teal: 0 0 25px rgba(20, 184, 166, 0.15);

  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 400ms cubic-bezier(0.16, 1, 0.3, 1);

  --max-width: 1240px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  background-image: 
    radial-gradient(ellipse at 50% 0%, rgba(14, 165, 233, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 100% 30%, rgba(20, 184, 166, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 0% 70%, rgba(56, 189, 248, 0.04) 0%, transparent 40%);
  background-attachment: fixed;
}

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

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

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Typography Utilities */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan-400);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.2);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.section-tag .pulse-dot {
  width: 6px;
  height: 6px;
  background: var(--cyan-400);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--cyan-400);
  animation: pulse 2s infinite ease-in-out;
}

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

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 680px;
  margin-bottom: 2.5rem;
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 30%, var(--cyan-300) 70%, var(--teal-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #0ea5e9 0%, #00f2fe 100%);
  color: #04101e;
  box-shadow: 0 2px 10px rgba(0, 242, 254, 0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(0, 242, 254, 0.4);
  background: linear-gradient(135deg, #38bdf8 0%, #38f9d7 100%);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--cyan-500);
  color: #ffffff;
}

.btn-sm {
  font-size: 0.85rem;
  padding: 0.45rem 0.95rem;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-cyan);
  color: var(--cyan-300);
}

.btn-outline:hover {
  background: rgba(56, 189, 248, 0.1);
  border-color: var(--cyan-400);
  color: #ffffff;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-normal);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #0ea5e9, #00f2fe);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #04101e;
}

.brand-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--teal-400);
  background: rgba(45, 212, 191, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.25);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  margin-left: 0.25rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.auth-status-btn {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast);
}

.auth-status-btn:hover {
  color: #ffffff;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  color: var(--text-secondary);
  padding: 0.5rem;
}

/* ==========================================================================
   Hero Section & Living SAN Canvas
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 5rem 0 4rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-version-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--cyan-300);
  margin-bottom: 1.5rem;
}

.hero-version-pill .version-tag {
  background: var(--cyan-400);
  color: #04101e;
  font-weight: 800;
  padding: 0.1rem 0.45rem;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
}

.hero-title {
  font-size: clamp(2.5rem, 4.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-desc {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.825rem;
  color: var(--text-muted);
}

.hero-trust svg {
  color: var(--teal-400);
  flex-shrink: 0;
}

/* Canvas & Topology Simulation */
.canvas-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: radial-gradient(circle at 50% 15%, rgba(17, 30, 56, 0.7) 0%, rgba(7, 11, 20, 0.98) 100%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.85), 0 0 30px rgba(0, 242, 254, 0.08);
}

.canvas-viewport {
  position: relative;
  width: 100%;
  height: 400px;
  min-height: 350px;
  background: transparent;
  overflow: hidden;
}

#san-topology-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.canvas-hud {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.25rem;
  background: rgba(10, 16, 30, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  z-index: 5;
  flex-shrink: 0;
}

.hud-pill {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.35rem 0.65rem;
  background: rgba(7, 11, 20, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  backdrop-filter: blur(8px);
}

.hud-pill.active {
  color: var(--cyan-400);
  border-color: rgba(0, 242, 254, 0.35);
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.15);
}

.canvas-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.25rem;
  background: rgba(10, 16, 30, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  font-size: 0.75rem;
  color: var(--text-muted);
  z-index: 5;
  flex-shrink: 0;
}

.canvas-legend {
  display: flex;
  gap: 1.25rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  box-shadow: 0 0 6px currentColor;
}

.legend-dot.switch { background: #38bdf8; color: #38bdf8; }
.legend-dot.isl { background: #2dd4bf; color: #2dd4bf; }
.legend-dot.storage { background: #fbbf24; color: #fbbf24; }

/* Micro Tooltip on Canvas - GPU Accelerated 60fps */
.canvas-tooltip {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  background: rgba(11, 17, 32, 0.95);
  border: 1px solid var(--cyan-500);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
  opacity: 0;
  transform: translate3d(-9999px, -9999px, 0);
  transition: opacity 150ms ease;
  z-index: 10;
  max-width: 260px;
  will-change: transform, opacity;
}

/* ==========================================================================
   Metrics Bar
   ========================================================================== */
.metrics-banner {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(12, 19, 34, 0.5);
  padding: 2.25rem 0;
  margin: 2rem 0 4rem;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.metric-item .metric-val {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.metric-item .metric-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Before vs After Comparison (Visibility Challenge)
   ========================================================================== */
.comparison-section {
  padding: 5rem 0;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.compare-card {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.compare-card.before {
  border-top: 3px solid #ef4444;
}

.compare-card.after {
  border-top: 3px solid var(--cyan-400);
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.05) 0%, rgba(17, 26, 46, 0.8) 100%);
  box-shadow: var(--shadow-glow);
}

.compare-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.compare-title {
  font-size: 1.35rem;
  font-weight: 700;
}

.compare-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

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

.compare-list li svg {
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.compare-card.before svg { color: #f87171; }
.compare-card.after svg { color: var(--cyan-400); }

/* ==========================================================================
   Core Capabilities Grid (Platform Section)
   ========================================================================== */
.capabilities-section {
  padding: 5rem 0;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.capability-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.capability-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-cyan);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.2);
  color: var(--cyan-400);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-badge {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--teal-400);
  background: rgba(20, 184, 166, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(20, 184, 166, 0.2);
}

/* ==========================================================================
   Architecture Flow (How It Works)
   ========================================================================== */
.architecture-section {
  padding: 5rem 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(14, 165, 233, 0.05) 0%, transparent 70%);
}

.architecture-diagram {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 2.5rem 1.5rem;
  overflow-x: auto;
}

.arch-node {
  flex: 1;
  min-width: 155px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.arch-node:hover, .arch-node.active {
  border-color: var(--cyan-400);
  background: var(--bg-surface-elevated);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.2);
}

.arch-node .node-icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 0.75rem;
  background: rgba(56, 189, 248, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-400);
}

.arch-node .node-title {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.arch-node .node-desc {
  font-size: 0.725rem;
  color: var(--text-muted);
}

.arch-arrow {
  color: var(--cyan-500);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arch-detail-panel {
  margin-top: 2rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.arch-detail-text h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--cyan-300);
}

.arch-detail-text p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Product Interface Concept Mockup
   ========================================================================== */
.interface-section {
  padding: 5rem 0;
}

.mockup-window {
  background: #090e1a;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.mockup-header {
  background: #0d1527;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
}

.window-dots {
  display: flex;
  gap: 0.4rem;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.window-dot.red { background: #ef4444; }
.window-dot.yellow { background: #f59e0b; }
.window-dot.green { background: #10b981; }

.mockup-title-bar {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.mockup-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--amber-400);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.mockup-tabs {
  display: flex;
  background: #0e172a;
  padding: 0.5rem 1.25rem 0;
  border-bottom: 1px solid var(--border-subtle);
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.mockup-tab {
  padding: 0.6rem 1rem;
  font-size: 0.825rem;
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  transition: all var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
}

.mockup-tab.active {
  color: var(--cyan-400);
  border-bottom-color: var(--cyan-400);
}

.mockup-body {
  padding: 1.5rem;
}

.dashboard-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.kpi-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1rem;
}

.kpi-title {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.kpi-value {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
}

.kpi-status {
  font-size: 0.7rem;
  margin-top: 0.25rem;
  color: var(--emerald-400);
}

.telemetry-table-container {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow-x: auto;
}

.telemetry-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.8rem;
  font-family: var(--font-mono);
}

.telemetry-table th {
  background: #111b30;
  padding: 0.75rem 1rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
  font-weight: 600;
}

.telemetry-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
}

.telemetry-table tr:hover td {
  background: rgba(56, 189, 248, 0.03);
}

.status-badge {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
}

.status-badge.healthy {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.status-badge.degraded {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}

/* ==========================================================================
   Audiences & Personas
   ========================================================================== */
.audience-section {
  padding: 5rem 0;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.audience-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  transition: border var(--transition-fast);
}

.audience-card:hover {
  border-color: var(--border-medium);
}

.persona-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--cyan-400);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.persona-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.persona-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Deployment Journey
   ========================================================================== */
.journey-section {
  padding: 5rem 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(20, 184, 166, 0.05) 0%, transparent 60%);
}

.journey-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  position: relative;
}

.journey-step {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  position: relative;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--cyan-400);
  margin-bottom: 1rem;
}

.step-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  padding: 5rem 0;
}

.faq-container {
  max-width: 840px;
  margin: 0 auto;
}

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

.faq-question {
  width: 100%;
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--cyan-400);
}

.faq-icon {
  font-size: 1.25rem;
  transition: transform var(--transition-fast);
  color: var(--cyan-400);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.faq-item.active .faq-answer {
  max-height: 400px;
}

.faq-content {
  padding-bottom: 1.5rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Call To Action Banner (Bottom)
   ========================================================================== */
.cta-banner-section {
  padding: 5rem 0 6rem;
}

.cta-banner-box {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, rgba(20, 184, 166, 0.1) 100%);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-xl);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}

.cta-banner-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-banner-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 2rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: #040810;
  padding: 4.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 320px;
  margin-top: 1rem;
  line-height: 1.6;
}

.footer-col-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

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

.footer-link {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--cyan-400);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--teal-400);
}

/* ==========================================================================
   Modals & Authenticated Deployment Journey
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 8, 16, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.modal-backdrop.open {
  display: flex;
  opacity: 1;
}

.modal-dialog {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  position: relative;
  transform: translateY(10px);
  transition: transform var(--transition-normal);
}

.modal-backdrop.open .modal-dialog {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 1.5rem;
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.modal-header {
  padding: 2rem 2rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.modal-subtitle {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.modal-body {
  padding: 1.75rem 2rem 2rem;
}

/* Forms */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.825rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-secondary);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(7, 11, 20, 0.8);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.9rem;
  transition: border-color var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--cyan-400);
  box-shadow: 0 0 0 2px rgba(0, 242, 254, 0.15);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  cursor: pointer;
  margin-top: 0.5rem;
}

.form-error {
  color: var(--rose-400);
  font-size: 0.75rem;
  margin-top: 0.25rem;
  display: none;
}

/* Stepper inside Deployment Modal */
.wizard-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1rem;
}

.wizard-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.wizard-step.active {
  color: var(--cyan-400);
  font-weight: 600;
}

.wizard-step-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.wizard-step.active .wizard-step-circle {
  background: var(--cyan-400);
  color: #04101e;
  font-weight: 800;
}

.wizard-step.completed .wizard-step-circle {
  background: var(--teal-500);
  color: #ffffff;
}

/* Confirmation Success Box */
.confirmation-box {
  text-align: center;
  padding: 1.5rem 0;
}

.confirmation-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--emerald-400);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.confirmation-code {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--cyan-400);
  background: rgba(7, 11, 20, 0.8);
  border: 1px dashed var(--cyan-500);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin: 1rem 0;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .capabilities-grid, .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .journey-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .nav-links, .auth-status-btn {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .comparison-grid, .capabilities-grid, .audience-grid, .journey-steps {
    grid-template-columns: 1fr;
  }
  .dashboard-kpis {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .canvas-viewport {
    height: 350px;
    min-height: 300px;
  }
  .canvas-hud {
    flex-direction: column;
    gap: 0.4rem;
    align-items: flex-start;
    padding: 0.6rem 0.85rem;
  }
  .hud-pill {
    font-size: 0.65rem;
    padding: 0.25rem 0.5rem;
  }
  .canvas-controls {
    flex-direction: column;
    gap: 0.6rem;
    align-items: stretch;
    padding: 0.6rem 0.85rem;
  }
  .canvas-controls #toggle-congestion-btn {
    width: 100%;
    text-align: center;
  }
  .canvas-legend {
    gap: 0.8rem;
    font-size: 0.7rem;
    justify-content: space-around;
  }
  .mockup-tabs {
    padding: 0.4rem 0.75rem 0;
  }
  .mockup-tab {
    padding: 0.5rem 0.75rem;
    font-size: 0.78rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.85rem;
  }
  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .architecture-diagram {
    padding: 1.5rem 1rem;
    gap: 0.5rem;
  }
  .arch-node {
    min-width: 130px;
    padding: 1rem 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
