/* CSS Design System - NexEduHub (Vanilla CSS) */

/* Core Variables & Tokens */
:root {
  --bg-dark: #05060A;
  --bg-navy: #0B1220;
  --primary-blue: #4F8CFF;
  --primary-purple: #7B61FF;
  --text-light: #F3F4F6;
  --text-muted: #9CA3AF;
  
  --accent-red: #FF4F70;
  --accent-green: #22C55E;
  
  /* Glassmorphism settings */
  --bg-glass: rgba(11, 18, 32, 0.45);
  --border-glass: rgba(255, 255, 255, 0.08);
  --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
  
  /* Ambient glow intensities */
  --glow-blue: rgba(79, 140, 255, 0.15);
  --glow-purple: rgba(123, 97, 255, 0.15);
  
  /* Typography */
  --font-head: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Layout constraints */
  --max-width: 1200px;
  --navbar-height: 80px;
}

/* Global Reset & Base Styling */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-blue);
}

/* Global Typography & Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

/* Interactive Background Elements */
#canvas-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  pointer-events: none;
}

/* Ambient Radial Orbs */
.glow-orb {
  position: fixed;
  width: 45vw;
  height: 45vw;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(140px);
  z-index: -1;
  opacity: 0.25;
  mix-blend-mode: screen;
}

.orb-1 {
  background: radial-gradient(circle, var(--primary-blue) 0%, transparent 70%);
  top: -10vw;
  right: -5vw;
  animation: orb-float 25s ease-in-out infinite alternate;
}

.orb-2 {
  background: radial-gradient(circle, var(--primary-purple) 0%, transparent 70%);
  bottom: -15vw;
  left: -5vw;
  animation: orb-float 35s ease-in-out infinite alternate-reverse;
}

.orb-3 {
  background: radial-gradient(circle, #4f3fff 0%, transparent 70%);
  top: 40vh;
  left: 30vw;
  width: 30vw;
  height: 30vw;
  opacity: 0.12;
}

@keyframes orb-float {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(4vw, -6vw) scale(1.1);
  }
  100% {
    transform: translate(-3vw, 4vw) scale(0.9);
  }
}

/* Floating Glass Navbar */
.navbar {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 3rem);
  max-width: var(--max-width);
  height: 60px;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 30px;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.navbar-scrolled {
  top: 0.75rem;
  background: rgba(8, 14, 26, 0.85);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  height: 54px;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-light);
  cursor: pointer;
}

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

.logo-text {
  background: linear-gradient(135deg, #FFF 40%, var(--primary-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
  position: relative;
  padding: 0.2rem 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-blue);
  transition: width 0.25s ease;
}

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

.nav-cta-btn {
  display: flex;
  align-items: center;
  padding: 0.4rem 1.2rem;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--bg-navy) 0%, rgba(15, 23, 42, 0.8) 100%);
  border: 1px solid var(--border-glass);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.nav-cta-btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(transparent, var(--primary-blue), transparent, var(--primary-purple), transparent);
  animation: rotate-border 4s linear infinite;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-cta-btn:hover {
  box-shadow: 0 0 15px rgba(79, 140, 255, 0.4);
  transform: translateY(-1px);
}

.nav-cta-btn:hover::before {
  opacity: 1;
}

.nav-cta-btn span {
  position: relative;
  z-index: 2;
  background: var(--bg-dark);
  padding: 0.25rem 0.8rem;
  border-radius: 16px;
  width: 100%;
  height: 100%;
  display: block;
}

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

/* HERO SECTION Layout */
.hero-section {
  display: flex;
  align-items: center;
  min-height: 95vh;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: calc(var(--navbar-height) + 3rem) 1.5rem 4rem 1.5rem;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Badge Styling */
.badge-container {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem;
  background: rgba(79, 140, 255, 0.08);
  border: 1px solid rgba(79, 140, 255, 0.2);
  border-radius: 50px;
  margin-bottom: 2rem;
  box-shadow: 0 0 15px rgba(79, 140, 255, 0.05);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background-color: var(--primary-blue);
  border-radius: 50%;
  animation: pulse-ring-glow 2s infinite;
}

.badge-text {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--primary-blue);
  text-transform: uppercase;
}

@keyframes pulse-ring-glow {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(79, 140, 255, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(79, 140, 255, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(79, 140, 255, 0);
  }
}

/* Titles & Text */
.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  line-height: 1.05;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.6;
  max-width: 540px;
}

/* CTA Buttons styling */
.hero-actions {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 3rem;
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
  color: #FFFFFF;
  box-shadow: 0 8px 30px rgba(123, 97, 255, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(123, 97, 255, 0.4);
  filter: brightness(1.1);
}

.btn-secondary {
  background: var(--bg-glass);
  color: var(--text-light);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-secondary svg {
  transition: transform 0.2s ease;
}

.btn-secondary:hover svg {
  transform: translateX(2px);
}

.trust-statement {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  border-left: 2px solid var(--border-glass);
  padding-left: 1rem;
}

/* Right Column: Dashboard Mockup styling */
.hero-visual {
  display: flex;
  justify-content: center;
}

.dashboard-mockup {
  width: 100%;
  max-width: 420px;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  box-shadow: var(--shadow-glass), 0 0 40px rgba(79, 140, 255, 0.05);
  overflow: hidden;
  position: relative;
  transition: transform 0.5s ease;
}

.dashboard-mockup:hover {
  transform: translateY(-4px) rotate(0.5deg);
}

.mockup-header {
  background: rgba(0, 0, 0, 0.3);
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-glass);
}

.mockup-controls {
  display: flex;
  gap: 0.4rem;
}

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

.mockup-controls .red { background-color: #FF5F56; }
.mockup-controls .yellow { background-color: #FFBD2E; }
.mockup-controls .green { background-color: #27C93F; }

.mockup-title {
  margin-left: 1.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-head);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.mockup-body {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

/* Diagnostics console logs */
.diagnostics-log {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255,255,255,0.03);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  font-family: monospace;
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.log-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-muted);
}

.log-row.primary {
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding-bottom: 0.3rem;
  margin-bottom: 0.3rem;
}

.log-status {
  font-weight: bold;
}

.pulse-text {
  color: var(--primary-blue);
  animation: pulse-opacity 2s infinite;
}

@keyframes pulse-opacity {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.log-timestamp {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.25);
}

.log-bullet {
  color: var(--primary-blue);
}

.log-row.highlight-blue {
  color: var(--text-light);
}

.log-row.highlight-blue strong {
  color: var(--primary-blue);
  font-weight: 600;
  text-shadow: 0 0 10px rgba(79, 140, 255, 0.3);
}

.glow-text {
  color: var(--accent-green);
  text-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
  font-weight: bold;
}

/* Skill Graph Visualizer styles */
.skill-graph-panel {
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.01);
  overflow: hidden;
}

.skill-graph-panel .panel-header {
  padding: 0.5rem 0.8rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accent-badge {
  background: rgba(123, 97, 255, 0.15);
  color: var(--primary-purple);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 600;
}

.graph-svg-container {
  padding: 0.5rem;
}

.node-circle {
  transition: all 0.3s ease;
  cursor: pointer;
}

.node-circle.grey {
  fill: #1F2937;
  stroke: rgba(255,255,255,0.15);
  stroke-width: 1.5;
}

.node-circle.blue {
  fill: var(--primary-blue);
  stroke: #FFFFFF;
  stroke-width: 1.5;
  filter: drop-shadow(0 0 8px var(--primary-blue));
}

.node-circle.purple {
  fill: var(--primary-purple);
  stroke: #FFFFFF;
  stroke-width: 1.5;
  filter: drop-shadow(0 0 8px var(--primary-purple));
}

.node-ring {
  fill: none;
  stroke: var(--primary-blue);
  stroke-width: 1;
  opacity: 0.6;
}

.node-ring.blue {
  animation: node-pulse-ring 2.5s infinite ease-out;
  transform-origin: 150px 90px;
}

@keyframes node-pulse-ring {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

.node-label {
  font-family: var(--font-body);
  font-size: 7.5px;
  font-weight: 500;
  fill: var(--text-muted);
  text-anchor: middle;
}

.node-label.active {
  fill: var(--text-light);
  font-weight: 600;
}

.engine-roadmap-update {
  border-top: 1px solid var(--border-glass);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.update-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.update-value {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.update-check {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--accent-green);
  font-weight: 500;
}

/* SOCIAL PROOF STRIP Styling */
.social-proof-strip {
  width: 100%;
  padding: 3rem 0;
  border-top: 1px solid rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.03);
  background: rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.marquee-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
}

.marquee-track {
  display: flex;
  width: max-content;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 3rem;
  white-space: nowrap;
  animation: marquee-scroll 35s linear infinite;
  padding-right: 3rem;
}

.marquee-content span {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.marquee-dot {
  width: 5px;
  height: 5px;
  background: var(--primary-blue);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--primary-blue);
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.proof-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
  text-align: center;
}

/* SECTION CONTAINER */
.section-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 6rem 1.5rem;
}

.section-header {
  max-width: 700px;
  margin-bottom: 4rem;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.15;
  color: var(--text-light);
}

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

.gradient-text-blue {
  background: linear-gradient(135deg, #7FADFF 0%, var(--primary-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* GLASS CARD STYLING */
.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  box-shadow: var(--shadow-glass);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* CARDS GRID LAYOUT */
.cards-grid {
  display: grid;
  gap: 2rem;
  width: 100%;
}

/* PROBLEM SECTION STYLES */
.problem-section {
  position: relative;
}

.problem-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  margin-bottom: 4rem;
}

.problem-card {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  cursor: pointer;
}

.problem-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 79, 112, 0.3);
  box-shadow: var(--shadow-glass), 0 10px 30px rgba(255, 79, 112, 0.05);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon.red {
  background: rgba(255, 79, 112, 0.08);
  border: 1px solid rgba(255, 79, 112, 0.2);
  color: var(--accent-red);
}

.problem-card .card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-light);
}

.problem-card .card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.problem-quote-container {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
  border-top: 1px solid var(--border-glass);
  padding-top: 3rem;
}

.problem-quote {
  font-family: var(--font-head);
  font-size: 1.5rem;
  line-height: 1.5;
  text-align: center;
  color: rgba(255,255,255,0.7);
  font-style: italic;
  max-width: 600px;
}

/* SOLUTION SECTION STYLES */
.solution-section {
  position: relative;
  border-top: 1px solid rgba(255,255,255,0.02);
}

.engine-visualization {
  display: flex;
  justify-content: center;
  width: 100%;
}

.flow-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 600px;
}

.flow-node {
  width: 320px;
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

.node-glow-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  background: radial-gradient(circle at center, var(--primary-blue) 0%, transparent 80%);
  opacity: 0.05;
  z-index: -1;
}

.core-glow {
  background: radial-gradient(circle at center, var(--primary-purple) 0%, transparent 70%);
  opacity: 0.15;
}

.flow-node-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.8rem;
}

.core-icon {
  width: 64px;
  height: 64px;
  background: rgba(123, 97, 255, 0.1);
  border-color: rgba(123, 97, 255, 0.3);
  position: relative;
}

.pulse-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px solid var(--primary-purple);
  border-radius: 50%;
  animation: pulse-ring-glow 3s infinite ease-out;
}

.flow-node-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 0.4rem;
}

.flow-node-detail {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.flow-features {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.flow-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.flow-lines-container {
  width: 100%;
  height: 120px;
  position: relative;
  margin: -10px 0;
  z-index: 1;
}

.flow-svg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.path-main {
  opacity: 0.2;
}

/* Glowing Flow Particles */
.flow-dash-1 {
  animation: flow-dash-move 2.5s linear infinite;
}

.flow-dash-2 {
  animation: flow-dash-move 2.8s linear infinite;
}

@keyframes flow-dash-move {
  to {
    stroke-dashoffset: -160;
  }
}

/* HOW IT WORKS TIMELINE */
.timeline-section {
  position: relative;
}

.timeline-container {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4rem;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline-line {
  position: absolute;
  left: 30px;
  top: 0;
  width: 2px;
  height: 100%;
  background: var(--border-glass);
  z-index: 1;
}

.timeline-line-progress {
  position: absolute;
  left: 30px;
  top: 0;
  width: 2px;
  height: 0%;
  background: linear-gradient(to bottom, var(--primary-blue), var(--primary-purple));
  z-index: 2;
  transition: height 0.5s ease-out;
}

.timeline-step {
  display: flex;
  gap: 3rem;
  position: relative;
  z-index: 3;
}

.step-marker {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bg-navy);
  border: 2px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-muted);
  flex-shrink: 0;
  box-shadow: 0 0 0 8px var(--bg-dark);
  transition: all 0.3s ease;
}

.timeline-step:hover .step-marker {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  box-shadow: 0 0 0 8px var(--bg-dark), 0 0 15px rgba(79, 140, 255, 0.4);
}

.step-card {
  padding: 2rem;
  width: 100%;
}

.step-card:hover {
  transform: translateX(8px);
  border-color: rgba(79, 140, 255, 0.2);
  box-shadow: var(--shadow-glass), 0 5px 20px rgba(79, 140, 255, 0.05);
}

.step-title {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 0.6rem;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* AI FEATURES GRID STYLING */
.features-grid {
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}

.feature-card {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(123, 97, 255, 0.25);
  box-shadow: var(--shadow-glass), 0 10px 30px rgba(123, 97, 255, 0.05);
}

.feature-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(123, 97, 255, 0.06);
  border: 1px solid rgba(123, 97, 255, 0.2);
  color: var(--primary-purple);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-title {
  font-size: 1.25rem;
  color: var(--text-light);
}

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

/* INTERACTIVE DEMO (THE WOW MOMENT) */
.demo-section {
  position: relative;
}

.demo-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: stretch;
  width: 100%;
}

.demo-panel {
  display: flex;
  flex-direction: column;
  min-height: 380px;
  overflow: hidden;
}

/* Left: Code panel styling */
.code-panel {
  background: #07090E;
  border-color: rgba(255,255,255,0.05);
}

.panel-top-bar {
  background: rgba(0, 0, 0, 0.3);
  padding: 0.8rem 1.2rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
}

.panel-name {
  margin-left: 1.2rem;
  font-family: var(--font-head);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.panel-editor-content {
  display: flex;
  flex-grow: 1;
  padding: 1.2rem;
  font-family: monospace;
  font-size: 0.85rem;
  line-height: 1.5;
  overflow-y: auto;
}

.editor-lines {
  display: flex;
  flex-direction: column;
  text-align: right;
  color: rgba(255,255,255,0.15);
  padding-right: 1.2rem;
  user-select: none;
  border-right: 1px solid rgba(255,255,255,0.03);
}

.editor-code-body {
  padding-left: 1.2rem;
  width: 100%;
  color: rgba(255,255,255,0.7);
}

.code-line {
  white-space: pre;
}

.indent-1 { padding-left: 1.5rem; }
.indent-2 { padding-left: 3rem; }
.indent-3 { padding-left: 4.5rem; }

.keyword { color: #F472B6; }
.function { color: #60A5FA; }
.number { color: #FBBF24; }
.builtin { color: #A78BFA; }
.comment { color: #6B7280; font-style: italic; }

.highlight-line-err {
  background: rgba(239, 68, 68, 0.08);
  border-left: 3px solid var(--accent-red);
  padding-left: calc(3rem - 3px);
  margin-left: -3rem;
  width: calc(100% + 3rem);
}

.highlight-line-err-child {
  background: rgba(239, 68, 68, 0.08);
  border-left: 3px solid var(--accent-red);
  padding-left: calc(4.5rem - 3px);
  margin-left: -4.5rem;
  width: calc(100% + 4.5rem);
}

.editor-footer-status {
  background: rgba(0, 0, 0, 0.4);
  padding: 0.6rem 1.2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
}

.err-status-text {
  color: var(--accent-red);
  font-weight: 500;
  font-family: monospace;
}

.btn-submitting {
  color: var(--primary-blue);
  font-family: var(--font-head);
  font-weight: 600;
}

/* Right: AI diagnostics panel styling */
.ai-analysis-panel {
  background: rgba(9, 14, 26, 0.6);
  border-color: rgba(79, 140, 255, 0.15);
  box-shadow: var(--shadow-glass), 0 0 30px rgba(79, 140, 255, 0.03);
}

.glow-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary-blue);
  box-shadow: 0 0 10px var(--primary-blue);
}

.ai-status-pill {
  margin-left: auto;
  font-size: 0.65rem;
  background: rgba(79, 140, 255, 0.15);
  color: var(--primary-blue);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-weight: 700;
}

.ai-analysis-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex-grow: 1;
  overflow-y: auto;
}

.ai-step {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-left: 2px solid rgba(255,255,255,0.05);
  padding-left: 1.2rem;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 1;
  max-height: 300px;
}

.ai-step.hidden {
  opacity: 0;
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  margin: 0;
  overflow: hidden;
  pointer-events: none;
  border-color: transparent;
}

.ai-step-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.ai-step-header h4 {
  font-family: var(--font-head);
  font-size: 0.95rem;
  color: var(--text-light);
}

.spinner-small {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(79, 140, 255, 0.2);
  border-top-color: var(--primary-blue);
  border-radius: 50%;
  animation: spinner-spin 0.8s linear infinite;
}

@keyframes spinner-spin {
  to { transform: rotate(360deg); }
}

.ai-step-detail {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.success-check {
  color: var(--accent-green);
  font-weight: bold;
}

.classification-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: var(--accent-red);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  font-weight: 500;
}

.ai-step.highlight {
  border-color: var(--primary-purple);
}

.warning-bullet {
  color: var(--primary-purple);
  font-weight: bold;
  font-size: 1.1rem;
}

.remediation-concepts {
  list-style: none;
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.2rem;
}

.ai-step.green {
  border-color: var(--accent-green);
}

.roadmap-plan {
  background: rgba(34, 382, 94, 0.02);
  border: 1px solid rgba(34, 197, 94, 0.1);
  border-radius: 6px;
  padding: 0.8rem;
  margin-top: 0.2rem;
}

.roadmap-plan h5 {
  font-size: 0.8rem;
  color: var(--accent-green);
  margin-bottom: 0.4rem;
}

.roadmap-plan ol {
  padding-left: 1.1rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

/* FUTURE VISION SECTION */
.vision-section {
  position: relative;
  overflow: hidden;
}

.vision-gradient-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90vw;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(123, 97, 255, 0.08) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
}

.vision-supheading {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-purple);
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
}

.vision-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.vision-card {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  background: rgba(11, 18, 32, 0.35);
  border-color: rgba(255, 255, 255, 0.04);
}

.vision-card:hover {
  transform: translateY(-8px);
  border-color: rgba(79, 140, 255, 0.2);
  box-shadow: var(--shadow-glass), 0 12px 35px rgba(79, 140, 255, 0.06);
}

.vision-badge {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 0.8rem;
}

.vision-title {
  font-size: 1.35rem;
  color: var(--text-light);
}

.vision-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* STATISTICS SECTION */
.stats-section {
  border-top: 1px solid rgba(255,255,255,0.02);
  border-bottom: 1px solid rgba(255,255,255,0.02);
  background: rgba(0,0,0,0.15);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  width: 100%;
  padding: 4rem 1.5rem;
}

.stat-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.stat-number {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, #FFF 40%, var(--primary-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* WAITLIST CTA SECTION */
.waitlist-section {
  position: relative;
}

.waitlist-box {
  width: 100%;
  padding: 5rem 3rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* Moving Aurora Background */
.waitlist-aurora {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(79, 140, 255, 0.08) 0%, rgba(123, 97, 255, 0.08) 100%);
  z-index: 1;
  pointer-events: none;
  opacity: 0.8;
}

.waitlist-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  margin: 0 auto;
}

.waitlist-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.15;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.waitlist-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.waitlist-form {
  display: flex;
  gap: 0.8rem;
  width: 100%;
  max-width: 500px;
  margin: 0 auto 1.5rem auto;
}

.waitlist-form.hidden {
  display: none;
}

.waitlist-input {
  flex-grow: 1;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  padding: 0.9rem 1.2rem;
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.waitlist-input:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 15px rgba(79, 140, 255, 0.2);
  background: rgba(0, 0, 0, 0.4);
}

.waitlist-submit {
  flex-shrink: 0;
}

/* Success panel animation */
.waitlist-success-msg {
  padding: 1.5rem;
  background: rgba(34, 197, 94, 0.05);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 10px;
  text-align: center;
  max-width: 500px;
  margin: 0 auto 1.5rem auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  animation: waitlist-reveal 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.waitlist-success-msg.hidden {
  display: none;
}

.success-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(79, 140, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.4rem;
}

.waitlist-success-msg h4 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--text-light);
}

.waitlist-success-msg p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

@keyframes waitlist-reveal {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.waitlist-disclaimer {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* FOOTER STYLING */
.footer {
  border-top: 1px solid rgba(255,255,255,0.03);
  padding: 4rem 0 2rem 0;
  background: #020306;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 4rem;
  margin-bottom: 4rem;
  width: 100%;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
}

.brand-tagline {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-blue);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.brand-pitch {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 250px;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer-links-col h4 {
  font-size: 0.85rem;
  color: var(--text-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.footer-links-col a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.04);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a {
  transition: color 0.2s ease;
}

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

/* ANIMATION: Reveal elements on scroll classes */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Media Queries */

/* Tablet & Smaller Laptops */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-content {
    align-items: center;
    text-align: center;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .trust-statement {
    border-left: none;
    border-top: 1px solid var(--border-glass);
    padding-left: 0;
    padding-top: 1rem;
    display: inline-block;
  }

  .demo-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

/* Tablet (Portrait) */
@media (max-width: 768px) {
  .navbar {
    width: calc(100% - 2rem);
  }
  
  .nav-links {
    display: none; /* Mobile menu hidden for premium simplicity or drawer */
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 1.5rem;
  }
  
  .timeline-line, .timeline-line-progress {
    left: 20px;
  }
  
  .step-marker {
    width: 42px;
    height: 42px;
    font-size: 1rem;
    box-shadow: 0 0 0 6px var(--bg-dark);
  }
  
  .timeline-step {
    gap: 1.5rem;
  }
  
  .timeline-step:hover .step-marker {
    box-shadow: 0 0 0 6px var(--bg-dark), 0 0 10px rgba(79, 140, 255, 0.4);
  }
}

/* Mobile Devices */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2.3rem;
  }
  
  .badge-container {
    padding: 0.4rem 0.8rem;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 0.8rem;
  }
  
  .btn {
    width: 100%;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .waitlist-form {
    flex-direction: column;
    gap: 0.8rem;
  }
  
  .waitlist-submit {
    width: 100%;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Policy & Document Pages */
.policy-header {
  border-bottom: 1px solid var(--border-glass);
  padding: 1.5rem 0;
  background: rgba(5, 6, 10, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.policy-header .nav-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.5rem;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border-glass);
  background: var(--bg-glass);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-back:hover {
  color: var(--text-light);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(-2px);
}

.policy-content-wrapper {
  max-width: 800px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}

.policy-card {
  padding: 3rem;
}

.policy-title {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #FFF 40%, var(--primary-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.policy-date {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 1rem;
}

.policy-body h3 {
  font-size: 1.35rem;
  margin: 2.5rem 0 1rem 0;
  color: var(--primary-blue);
  font-family: var(--font-head);
}

.policy-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.policy-body ul {
  list-style: none;
  padding-left: 1.2rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.policy-body ul li {
  position: relative;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.policy-body ul li::before {
  content: "→";
  position: absolute;
  left: -1.2rem;
  color: var(--primary-purple);
  font-weight: bold;
}

