/* ═══════════════════════════════════════════════════════════════
   SpectrumX.ai — Global Design System
   Premium Dark Theme with Glassmorphism & Micro-Animations
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Color Palette */
  --bg-primary: #09090b;
  --bg-secondary: #111113;
  --bg-tertiary: #18181b;
  --bg-card: rgba(24, 24, 27, 0.7);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --bg-glass-hover: rgba(255, 255, 255, 0.06);

  --text-primary: #fafafa;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --text-dim: #52525b;

  --accent-cyan: #00E5FF;
  --accent-purple: #7C4DFF;
  --accent-green: #00C853;
  --accent-red: #FF1744;
  --accent-orange: #FF9100;
  --accent-blue: #2979FF;

  --gradient-main: linear-gradient(135deg, #00E5FF 0%, #7C4DFF 50%, #E040FB 100%);
  --gradient-seal-true: linear-gradient(135deg, #00C853 0%, #69F0AE 100%);
  --gradient-seal-fake: linear-gradient(135deg, #FF1744 0%, #FF6E40 100%);
  --gradient-seal-mixed: linear-gradient(135deg, #FF9100 0%, #FFD740 100%);

  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow-cyan: 0 0 20px rgba(0, 229, 255, 0.15);
  --shadow-glow-purple: 0 0 20px rgba(124, 77, 255, 0.15);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 400ms cubic-bezier(0.16, 1, 0.3, 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-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgba(0, 229, 255, 0.25);
  color: white;
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover {
  color: var(--accent-purple);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ═══ PARTICLE CANVAS ═══ */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

/* ═══ NAVIGATION ═══ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 12px 0;
  background: rgba(9, 9, 11, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.nav.scrolled {
  padding: 8px 0;
  background: rgba(9, 9, 11, 0.95);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
}

.logo-icon {
  display: flex;
  align-items: center;
}

.logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-accent {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
}

.logo-dot {
  color: var(--text-muted);
  font-weight: 400;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 6px 0;
  position: relative;
  transition: color var(--transition-fast);
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-main);
  border-radius: 1px;
  transition: width var(--transition-smooth);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  gap: 8px;
}

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

.nav-mobile-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-main);
  color: white;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow-cyan);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid transparent;
}

.btn-ghost:hover {
  color: var(--text-primary);
  background: var(--bg-glass-hover);
}

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

.btn-outline:hover {
  border-color: var(--accent-cyan);
  background: rgba(0, 229, 255, 0.05);
}

.btn-large {
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.8rem;
}

.btn-full {
  width: 100%;
}

.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(0, 229, 255, 0.15), transparent 30%);
  animation: rotate-glow 4s linear infinite;
}

.btn-glow > * {
  position: relative;
  z-index: 1;
}

@keyframes rotate-glow {
  100% { transform: rotate(360deg); }
}

/* ═══ HERO ═══ */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  max-width: 1280px;
  margin: 0 auto;
  gap: 60px;
}

.hero-content {
  flex: 1;
  max-width: 640px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease;
}

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

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  animation: fadeInUp 0.6s ease 0.1s both;
}

.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 540px;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-cta {
  display: flex;
  gap: 12px;
  margin-bottom: 48px;
  animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  animation: fadeInUp 0.6s ease 0.4s both;
}

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

.stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

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

/* Hero Visual — Orbit System */
.hero-visual {
  flex: 0 0 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 1s ease 0.5s both;
}

.orbit-system {
  position: relative;
  width: 300px;
  height: 300px;
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
}

.orbit-1 {
  width: 150px; height: 150px;
  transform: translate(-50%, -50%);
  animation: orbit-spin 8s linear infinite;
}

.orbit-2 {
  width: 220px; height: 220px;
  transform: translate(-50%, -50%);
  animation: orbit-spin 12s linear infinite reverse;
}

.orbit-3 {
  width: 290px; height: 290px;
  transform: translate(-50%, -50%);
  animation: orbit-spin 16s linear infinite;
}

@keyframes orbit-spin {
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.orbit-node {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.4rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-1 .orbit-node { animation: orbit-spin 8s linear infinite reverse; }
.orbit-2 .orbit-node { animation: orbit-spin 12s linear infinite; }
.orbit-3 .orbit-node { animation: orbit-spin 16s linear infinite reverse; }

.core-seal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.seal-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  background: var(--gradient-main) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: pulse-ring 3s ease-in-out infinite;
}

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

.seal-icon {
  font-size: 1.8rem;
  z-index: 1;
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ═══ SECTION HEADERS ═══ */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  background: rgba(0, 229, 255, 0.08);
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}

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

/* ═══ VERIFY SECTION ═══ */
.verify-section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

.verify-engine {
  max-width: 900px;
  margin: 0 auto;
}

.engine-input-area {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.engine-input-area:focus-within {
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-glow-cyan);
}

.input-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.input-icon {
  color: var(--accent-cyan);
  display: flex;
}

.input-lang {
  margin-left: auto;
  padding: 2px 10px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  font-size: 0.75rem;
  font-family: var(--font-mono);
}

.verify-textarea {
  width: 100%;
  padding: 20px;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.7;
  resize: vertical;
  min-height: 140px;
  outline: none;
}

.verify-textarea::placeholder {
  color: var(--text-dim);
}

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

.char-count {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.input-actions {
  display: flex;
  gap: 8px;
}

/* ═══ PIPELINE VISUALIZATION ═══ */
.pipeline-viz {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 32px 0;
  padding: 24px;
  flex-wrap: wrap;
}

.pipeline-stage {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  min-width: 180px;
}

.pipeline-stage.active {
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-glow-cyan);
}

.pipeline-stage.completed {
  border-color: var(--accent-green);
}

.stage-icon {
  font-size: 1.4rem;
}

.stage-info {
  display: flex;
  flex-direction: column;
}

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

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

.stage-status {
  margin-left: auto;
}

.stage-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid var(--border-subtle);
  border-top-color: var(--accent-cyan);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  opacity: 0;
}

.pipeline-stage.active .stage-spinner {
  opacity: 1;
}

.pipeline-stage.completed .stage-spinner {
  border-color: var(--accent-green);
  border-top-color: var(--accent-green);
  animation: none;
}

.pipeline-stage.completed .stage-spinner::after {
  content: '✓';
  position: absolute;
  font-size: 10px;
  color: var(--accent-green);
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

.pipeline-connector {
  width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.connector-line {
  width: 100%;
  height: 2px;
  background: var(--border-subtle);
  position: relative;
}

/* ═══ RESULTS PANEL ═══ */
.results-panel {
  margin-top: 32px;
  animation: fadeInUp 0.4s ease;
}

.seal-card {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 28px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  transition: all var(--transition-smooth);
}

.seal-card.seal-true {
  border-color: var(--accent-green);
  box-shadow: 0 0 30px rgba(0, 200, 83, 0.1);
}

.seal-card.seal-fake {
  border-color: var(--accent-red);
  box-shadow: 0 0 30px rgba(255, 23, 68, 0.1);
}

.seal-card.seal-mixed {
  border-color: var(--accent-orange);
  box-shadow: 0 0 30px rgba(255, 145, 0, 0.1);
}

.seal-visual {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.seal-ring-large {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid var(--border-subtle);
  transition: border-color var(--transition-smooth);
}

.seal-card.seal-true .seal-ring-large {
  border-color: var(--accent-green);
  box-shadow: 0 0 20px rgba(0, 200, 83, 0.3);
}

.seal-card.seal-fake .seal-ring-large {
  border-color: var(--accent-red);
  box-shadow: 0 0 20px rgba(255, 23, 68, 0.3);
}

.seal-emoji {
  font-size: 2.2rem;
  z-index: 1;
}

.seal-info {
  flex: 1;
}

.seal-label {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.seal-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.seal-confidence {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.confidence-bar {
  flex: 1;
  height: 6px;
  background: var(--bg-tertiary);
  border-radius: 3px;
  max-width: 200px;
  overflow: hidden;
}

.confidence-fill {
  height: 100%;
  background: var(--gradient-main);
  border-radius: 3px;
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.confidence-value {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text-primary);
}

/* Analysis Grid */
.analysis-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.analysis-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.analysis-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
}

.analysis-header h4 {
  font-size: 0.85rem;
  font-weight: 600;
}

.analysis-icon {
  font-size: 1.1rem;
}

.analysis-body {
  padding: 16px 18px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  max-height: 200px;
  overflow-y: auto;
}

.analysis-body::-webkit-scrollbar {
  width: 4px;
}

.analysis-body::-webkit-scrollbar-track {
  background: transparent;
}

.analysis-body::-webkit-scrollbar-thumb {
  background: var(--border-subtle);
  border-radius: 2px;
}

.claim-item {
  padding: 8px 0;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.claim-item:last-child {
  border-bottom: none;
}

.claim-verdict {
  font-size: 0.9rem;
  flex-shrink: 0;
}

.claim-text {
  font-size: 0.8rem;
  line-height: 1.5;
}

.source-item {
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.source-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.source-dot.high { background: var(--accent-green); }
.source-dot.medium { background: var(--accent-orange); }

.ifcn-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
}

.ifcn-status {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 3px;
  text-transform: uppercase;
}

.ifcn-status.compliant {
  background: rgba(0, 200, 83, 0.1);
  color: var(--accent-green);
}

.perf-item {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.perf-item:last-child { border: none; }

.perf-value {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--accent-cyan);
}

/* Schema Panel */
.schema-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.schema-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.schema-code {
  padding: 18px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--accent-cyan);
  overflow-x: auto;
  max-height: 300px;
}

/* ═══ HOW IT WORKS — TIMELINE ═══ */
.how-section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  background: var(--bg-secondary);
}

.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-cyan), var(--accent-purple), var(--accent-green));
  opacity: 0.3;
}

.timeline-item {
  display: flex;
  gap: 32px;
  padding: 32px 0;
  position: relative;
}

.timeline-node {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 1;
}

.node-number {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
}

.node-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
  border: 2px solid var(--border-hover);
  border-radius: 50%;
  font-size: 1.5rem;
  transition: all var(--transition-smooth);
}

.timeline-item:hover .node-icon {
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-glow-cyan);
  transform: scale(1.1);
}

.timeline-content {
  padding-top: 6px;
}

.timeline-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.timeline-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 14px;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tech-tag {
  padding: 3px 10px;
  font-size: 0.7rem;
  font-weight: 500;
  background: rgba(0, 229, 255, 0.06);
  border: 1px solid rgba(0, 229, 255, 0.15);
  border-radius: 4px;
  color: var(--accent-cyan);
}

/* ═══ AGENTS SECTION ═══ */
.agents-section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

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

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

.agent-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.agent-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.agent-sentinel .agent-glow { background: radial-gradient(circle at center, rgba(0, 229, 255, 0.05), transparent 50%); }
.agent-extractor .agent-glow { background: radial-gradient(circle at center, rgba(124, 77, 255, 0.05), transparent 50%); }
.agent-rag .agent-glow { background: radial-gradient(circle at center, rgba(0, 200, 83, 0.05), transparent 50%); }
.agent-arbiter .agent-glow { background: radial-gradient(circle at center, rgba(255, 145, 0, 0.05), transparent 50%); }

.agent-card:hover .agent-glow {
  opacity: 1;
}

.agent-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.agent-emoji {
  font-size: 2rem;
}

.agent-meta h3 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.agent-version {
  font-size: 0.7rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.agent-status {
  margin-left: auto;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 4px;
}

.agent-status.online {
  background: rgba(0, 200, 83, 0.1);
  color: var(--accent-green);
}

.agent-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 18px;
}

.agent-specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.spec {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 4px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.spec:last-child { border: none; }

.spec-value {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--accent-cyan);
}

/* ═══ INFRASTRUCTURE ═══ */
.infra-section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  background: var(--bg-secondary);
}

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

.infra-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: all var(--transition-smooth);
}

.infra-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.infra-icon {
  margin-bottom: 18px;
}

.infra-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

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

/* ═══ PRICING ═══ */
.pricing-section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  position: relative;
  transition: all var(--transition-smooth);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.premium {
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-glow-cyan);
}

.pricing-card.gov {
  border-color: var(--accent-purple);
}

.pricing-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-main);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 14px;
  border-radius: 4px;
}

.pricing-tier {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.pricing-name {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.pricing-price {
  margin-bottom: 24px;
}

.price-amount {
  font-size: 2rem;
  font-weight: 800;
}

.price-decimal {
  font-size: 1.2rem;
}

.price-period {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  margin-bottom: 28px;
}

.pricing-features li {
  padding: 6px 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-features li.disabled {
  color: var(--text-dim);
}

.check { color: var(--accent-green); font-weight: 700; }
.x { color: var(--text-dim); }

/* ═══ API SECTION ═══ */
.api-section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  background: var(--bg-secondary);
}

.api-demo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 48px;
}

.api-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.api-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
}

.api-method {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: 0.05em;
}

.api-method.post {
  background: rgba(0, 200, 83, 0.1);
  color: var(--accent-green);
}

.api-method.get {
  background: rgba(41, 121, 255, 0.1);
  color: var(--accent-blue);
}

.api-header code {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.api-code {
  padding: 18px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--accent-cyan);
  overflow-x: auto;
  margin: 0;
}

.api-code code {
  font-family: inherit;
}

.api-footer {
  padding: 10px 18px;
  border-top: 1px solid var(--border-subtle);
}

.api-tag {
  font-size: 0.7rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.api-endpoints h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.endpoint-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.endpoint {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.endpoint:hover {
  border-color: var(--border-hover);
}

.endpoint code {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-primary);
}

.endpoint-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-left: auto;
}

/* ═══ FOOTER ═══ */
.footer {
  position: relative;
  z-index: 1;
  padding: 60px 0 30px;
  border-top: 1px solid var(--border-subtle);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.6;
}

.footer-badges {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.footer-badges span {
  padding: 3px 10px;
  font-size: 0.65rem;
  font-weight: 600;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-ifcn {
  background: rgba(0, 200, 83, 0.1);
  color: var(--accent-green);
}

.badge-nvidia {
  background: rgba(0, 229, 255, 0.1);
  color: var(--accent-cyan);
}

.badge-c2pa {
  background: rgba(124, 77, 255, 0.1);
  color: var(--accent-purple);
}

.footer-links h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer-links a {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 4px 0;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

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

.footer-infra {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 0.65rem !important;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .infra-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .agents-grid { grid-template-columns: 1fr; }
  .api-demo { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    padding: 100px 24px 60px;
    text-align: center;
  }

  .hero-subtitle { margin: 0 auto 32px; }
  .hero-cta { justify-content: center; flex-wrap: wrap; }
  .hero-stats { justify-content: center; flex-wrap: wrap; }
  .hero-visual { flex: none; }

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

  /* Mobile menu open state */
  .nav-links.mobile-open,
  .nav-actions.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(9, 9, 11, 0.97);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-subtle);
    padding: 16px 24px;
    gap: 12px;
    animation: slideDown 0.3s ease;
    z-index: 999;
  }

  .nav-actions.mobile-open {
    top: calc(100% + 180px);
    padding-top: 0;
    border-top: 1px solid var(--border-subtle);
  }

  .nav-links.mobile-open .nav-link {
    padding: 10px 0;
    font-size: 1rem;
  }

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

  /* Hamburger X animation */
  .nav-mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav-mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .nav-mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

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

  .pipeline-viz { flex-direction: column; gap: 8px; }
  .pipeline-connector { width: 2px; height: 20px; }
  .connector-line { width: 2px; height: 100%; }
}
