/* VirtuFlow theme */
:root {
  --bg: #050510;
  --bg-surface: #0d0d1f;
  --bg-card: #111128;
  --fg: #e8e8f2;
  --fg-muted: #7878a8;
  --accent: #7c3aed;
  --accent-2: #06b6d4;
  --accent-glow: rgba(124, 58, 237, 0.18);
  --violet-400: #a78bfa;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Noise texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

h1, h2, h3, h4, .nav-brand, .section-label {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  line-height: 1.1;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  background: rgba(5, 5, 16, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(124, 58, 237, 0.12);
}
.nav-brand {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-links {
  display: flex;
  gap: 36px;
}
.nav-links a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--fg); }

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(124, 58, 237, 0.2) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 860px;
  position: relative;
  z-index: 1;
}
.hero-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violet-400);
  margin-bottom: 20px;
}
.hero-headline {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.0;
  margin-bottom: 28px;
  background: linear-gradient(160deg, #ffffff 0%, #c4b5fd 60%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-lede {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 560px;
  margin-bottom: 52px;
  line-height: 1.7;
}

/* PROMPT DEMO */
.prompt-demo {
  background: var(--bg-surface);
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: 16px;
  padding: 28px 32px;
  max-width: 680px;
  font-size: 0.88rem;
}
.prompt-line { display: flex; gap: 12px; align-items: flex-start; }
.prompt-user { color: var(--fg-muted); white-space: nowrap; font-weight: 500; }
.prompt-text { color: var(--fg); line-height: 1.5; }
.prompt-divider { display: flex; justify-content: center; margin: 16px 0; }
.prompt-ai { display: flex; flex-direction: column; gap: 14px; }
.prompt-ai-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-block;
  width: fit-content;
}
.prompt-ai-text { color: var(--fg-muted); font-size: 0.85rem; line-height: 1.5; }

/* Scene preview */
.scene-preview { margin-top: 4px; }
.scene-box {
  width: 100%;
  height: 120px;
  border-radius: 10px;
  border: 1px solid rgba(124, 58, 237, 0.2);
  overflow: hidden;
  position: relative;
  background: #0a0a1e;
}
.scene-inner {
  width: 100%;
  height: 100%;
  position: relative;
  background: linear-gradient(180deg, #0f0f2a 0%, #1a1a3a 100%);
}
.scene-walls {
  position: absolute;
  inset: 0;
  border-right: 1px solid rgba(124, 58, 237, 0.15);
  border-bottom: 1px solid rgba(124, 58, 237, 0.15);
  clip-path: polygon(0 0, 65% 0, 100% 40%, 100% 100%, 0 100%);
}
.scene-floor {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(180deg, transparent, rgba(124, 58, 237, 0.06));
  border-top: 1px solid rgba(124, 58, 237, 0.1);
}
.scene-product {
  position: absolute;
  background: rgba(124, 58, 237, 0.2);
  border: 1px solid rgba(124, 58, 237, 0.4);
  border-radius: 3px;
}
.hotspot-1 { width: 24px; height: 30px; top: 40%; left: 30%; }
.hotspot-2 { width: 20px; height: 20px; top: 38%; left: 52%; border-radius: 50%; }
.hotspot-3 { width: 28px; height: 22px; top: 55%; left: 65%; }
.hotspot-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(6, 182, 212, 0); }
  100% { box-shadow: 0 0 0 0 rgba(6, 182, 212, 0); }
}
.scene-light {
  position: absolute;
  top: 20%;
  right: 15%;
  width: 40px;
  height: 40px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.3), transparent 70%);
  border-radius: 50%;
}
.scene-meta {
  margin-top: 8px;
  font-size: 0.75rem;
  color: var(--fg-muted);
  font-weight: 500;
}

/* SECTION COMMON */
.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-heading {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 56px;
  color: var(--fg);
}

/* HOW IT WORKS */
.how-it-works {
  padding: 100px 60px;
  background: var(--bg-surface);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.step-card {
  background: var(--bg-card);
  padding: 40px 36px;
  border: 1px solid rgba(124, 58, 237, 0.1);
  position: relative;
}
.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0;
  transition: opacity 0.3s;
}
.step-card:hover::before { opacity: 1; }
.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.3;
  margin-bottom: 20px;
}
.step-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 14px;
}
.step-card p { font-size: 0.88rem; color: var(--fg-muted); line-height: 1.7; }

/* USE CASES */
.usecases {
  padding: 100px 60px;
  background: var(--bg);
}
.usecases-inner { max-width: 1100px; margin: 0 auto; }
.usecases-header { margin-bottom: 56px; }
.usecases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.usecase-card {
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 32px 28px;
  transition: border-color 0.3s, transform 0.3s;
}
.usecase-card:hover {
  border-color: rgba(124, 58, 237, 0.35);
  transform: translateY(-3px);
}
.usecase-icon {
  color: var(--accent);
  margin-bottom: 18px;
  display: flex;
}
.usecase-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
}
.usecase-card p { font-size: 0.85rem; color: var(--fg-muted); line-height: 1.65; }

/* FEATURES */
.features {
  padding: 100px 60px;
  background: var(--bg-surface);
}
.features-inner { max-width: 900px; margin: 0 auto; }
.features-header { margin-bottom: 56px; }
.features-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.feature-item {
  padding: 36px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.feature-item:first-child { border-top: 1px solid rgba(255, 255, 255, 0.05); }
.feature-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
}
.feature-content p { font-size: 0.88rem; color: var(--fg-muted); line-height: 1.7; max-width: 600px; }

/* MANIFESTO */
.manifesto {
  padding: 100px 60px;
  background: var(--bg);
}
.manifesto-inner { max-width: 900px; margin: 0 auto; }
.manifesto-quote {
  border-left: 3px solid var(--accent);
  padding-left: 32px;
  margin-bottom: 48px;
}
.manifesto-quote p {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 600;
  color: var(--fg);
  line-height: 1.4;
}
.manifesto-body p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.85;
  margin-bottom: 20px;
  max-width: 680px;
}
.manifesto-body p:last-child { margin-bottom: 0; }

/* CLOSING */
.closing {
  padding: 120px 60px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-surface) 100%);
  text-align: center;
}
.closing-inner { max-width: 700px; margin: 0 auto; }
.closing h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #fff 0%, var(--violet-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.closing p {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 36px;
}
.closing-tagline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  opacity: 0.5;
}

/* FOOTER */
.footer {
  padding: 40px 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-brand {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--accent);
}
.footer-copy {
  font-size: 0.8rem;
  color: var(--fg-muted);
  opacity: 0.5;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .steps-grid, .usecases-grid { grid-template-columns: 1fr 1fr; }
  .navbar { padding: 16px 24px; }
  .hero { padding: 60px 24px; }
  .how-it-works, .usecases, .features, .manifesto, .closing { padding: 72px 24px; }
  .footer { padding: 32px 24px; flex-direction: column; gap: 12px; }
}
@media (max-width: 640px) {
  .steps-grid, .usecases-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}