:root {
  --bg-primary: #070b14;
  --bg-secondary: #0d1527;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --border-color: rgba(51, 65, 85, 0.6);
  --border-glow: rgba(6, 182, 212, 0.3);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --brand-cyan: #06b6d4;
  --brand-cyan-light: #38bdf8;
  --brand-emerald: #10b981;
  --brand-emerald-light: #34d399;
  --brand-purple: #8b5cf6;
  --brand-amber: #f59e0b;
  --brand-rose: #f43f5e;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
}

body {
  overflow-x: hidden;
  line-height: 1.6;
  background: radial-gradient(circle at 50% 0%, #111d38 0%, #070b14 70%);
}

/* Background grid accent */
.tech-grid-bg {
  background-image: 
    linear-gradient(to right, rgba(51, 65, 85, 0.12) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(51, 65, 85, 0.12) 1px, transparent 1px);
  background-size: 36px 36px;
}

/* Container */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Glassmorphism */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
}

/* Glowing text gradients */
.gradient-text-cone {
  background: linear-gradient(135deg, var(--brand-cyan-light) 0%, var(--brand-emerald-light) 60%, #a7f3d0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-purple {
  background: linear-gradient(135deg, #c084fc 0%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 11, 20, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(51, 65, 85, 0.4);
  padding: 0.85rem 0;
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-logo-img {
  height: 38px;
  width: auto;
  object-contain: fit;
}

.nav-brand-title {
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--brand-cyan-light);
  letter-spacing: -0.02em;
}

.nav-brand-title span {
  color: var(--brand-emerald-light);
}

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.925rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-main);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #06b6d4 0%, #10b981 100%);
  color: #03141f;
  box-shadow: 0 4px 18px rgba(6, 182, 212, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
  background: rgba(30, 41, 59, 0.8);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: rgba(51, 65, 85, 0.9);
  border-color: var(--brand-cyan);
  transform: translateY(-2px);
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.15);
  color: var(--brand-emerald-light);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.badge-cyan {
  background: rgba(6, 182, 212, 0.15);
  color: var(--brand-cyan-light);
  border: 1px solid rgba(6, 182, 212, 0.35);
}

/* Animations */
@keyframes pulseGlow {
  0%, 100% {
    filter: drop-shadow(0 0 12px rgba(16, 185, 129, 0.7)) drop-shadow(0 0 25px rgba(6, 182, 212, 0.45));
  }
  50% {
    filter: drop-shadow(0 0 24px rgba(16, 185, 129, 0.95)) drop-shadow(0 0 42px rgba(6, 182, 212, 0.75));
  }
}

@keyframes laserStream {
  0% { stroke-dashoffset: 80; }
  100% { stroke-dashoffset: 0; }
}

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

.target-glow-anim {
  animation: pulseGlow 3s ease-in-out infinite;
}

.laser-stream-anim {
  stroke-dasharray: 8 8;
  animation: laserStream 2s linear infinite;
}

/* Section styling */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 3.5rem auto;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 0.85rem 0 1.25rem 0;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* The Futures Cone Dedicated Visual Styles */
.cone-visual-wrapper {
  background: radial-gradient(ellipse at 85% 50%, rgba(16, 185, 129, 0.08) 0%, rgba(6, 182, 212, 0.04) 40%, rgba(13, 21, 39, 0.8) 100%);
  border: 1px solid var(--border-color);
  border-radius: 1.25rem;
  box-shadow: 0 20px 45px -15px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.cone-interactive-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(51, 65, 85, 0.4);
}

.cone-legend {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.825rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 0.35rem;
  transition: all 0.2s ease;
}

.legend-item:hover,
.legend-item.active {
  color: var(--text-main);
  background: rgba(51, 65, 85, 0.3);
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.cone-mode-toggle {
  display: flex;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 0.25rem;
  gap: 0.25rem;
}

.mode-btn {
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 0.35rem;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.mode-btn.active {
  background: rgba(6, 182, 212, 0.2);
  color: var(--brand-cyan-light);
  border: 1px solid rgba(6, 182, 212, 0.4);
}

/* Problem vs Solution Split Cards */
.problem-solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.pillar-card {
  border-radius: 1rem;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.pillar-card:hover {
  transform: translateY(-3px);
}

.card-problem {
  background: linear-gradient(160deg, rgba(244, 63, 94, 0.07) 0%, rgba(15, 23, 42, 0.8) 100%);
  border: 1px solid rgba(244, 63, 94, 0.25);
}

.card-problem:hover {
  border-color: rgba(244, 63, 94, 0.5);
}

.card-solution {
  background: linear-gradient(160deg, rgba(16, 185, 129, 0.08) 0%, rgba(15, 23, 42, 0.8) 100%);
  border: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: 0 10px 30px -10px rgba(16, 185, 129, 0.15);
}

.card-solution:hover {
  border-color: rgba(16, 185, 129, 0.6);
}

.card-header-icon {
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.icon-problem {
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid rgba(244, 63, 94, 0.3);
  color: var(--brand-rose);
}

.icon-solution {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--brand-emerald-light);
}

.pillar-list {
  list-style: none;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.925rem;
  line-height: 1.5;
}

.pillar-item-icon {
  flex-shrink: 0;
  font-weight: 800;
  margin-top: 0.1rem;
}

.item-neg {
  color: var(--brand-rose);
}

.item-pos {
  color: var(--brand-emerald-light);
}

/* Metrics comparison table */
.comparison-table-wrapper {
  margin-top: 3rem;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.925rem;
}

.comparison-table th {
  padding: 1.15rem 1.5rem;
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-color);
}

.comparison-table td {
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid rgba(51, 65, 85, 0.3);
  color: var(--text-main);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:hover td {
  background: rgba(30, 41, 59, 0.4);
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .problem-solution-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  .section-title {
    font-size: 2rem;
  }
}
