:root {
  --bg: #0D0D12;
  --bg-card: #131318;
  --purple: #8A05FF;
  --green: #59FFA4;
  --lavender: #E6DAFF;
  --lavender-dim: rgba(230,218,255,0.4);
  --border: rgba(138,5,255,0.18);
  --border-green: rgba(89,255,164,0.18);
  --text: #E6DAFF;
  --text-dim: rgba(230,218,255,0.55);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 3px; }

/* NAV */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(13,13,18,0.7);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--lavender);
}

.nav-tag {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--purple);
  opacity: 0.7;
  letter-spacing: 0.05em;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 48px 60px;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: var(--purple);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

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

.hero-headline {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--lavender);
}

.headline-purple {
  color: var(--purple);
}

.hero-sub {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 480px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--purple);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 15px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 0 20px rgba(138,5,255,0.35);
}

.btn-primary:hover {
  background: #a020ff;
  box-shadow: 0 0 30px rgba(138,5,255,0.5);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 14px 24px;
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 15px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-ghost:hover {
  border-color: var(--purple);
  color: var(--lavender);
}

/* Hero SVG */
.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.data-flow-visual {
  width: 100%;
  max-width: 520px;
  border-radius: 16px;
  overflow: hidden;
}

.data-flow-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Stats bar */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 40px 48px;
  max-width: 1200px;
  margin: 48px auto 0;
  width: 100%;
  border-top: 1px solid var(--border);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--lavender);
}

.stat-label {
  font-size: 12px;
  color: var(--text-dim);
  font-family: 'DM Mono', monospace;
  text-align: center;
}

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

/* HOW */
.how {
  padding: 100px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 64px;
}

.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  color: var(--lavender);
  letter-spacing: -0.02em;
  line-height: 1.1;
  max-width: 640px;
}

.how-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.how-step {
  display: grid;
  grid-template-columns: 80px 1fr 280px;
  gap: 40px;
  align-items: start;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}

.how-step:first-child { border-top: 1px solid var(--border); }

.step-num {
  font-family: 'DM Mono', monospace;
  font-size: 36px;
  font-weight: 500;
  color: var(--purple);
  opacity: 0.5;
  line-height: 1;
  padding-top: 4px;
}

.step-body { display: flex; flex-direction: column; gap: 12px; }

.step-title {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--lavender);
}

.step-desc {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.65;
  max-width: 480px;
}

/* Step visuals */
.step-visual { display: flex; align-items: flex-start; padding-top: 8px; }

.prompt-box {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.prompt-dots {
  display: flex;
  gap: 6px;
}

.prompt-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--purple);
  opacity: 0.4;
}

.prompt-text {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: var(--lavender-dim);
  line-height: 1.5;
}

/* Generation bars */
.gen-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 60px;
}

.bar {
  width: 6px;
  background: linear-gradient(to top, var(--green), var(--purple));
  border-radius: 3px;
  animation: grow 1.2s ease-in-out infinite;
}

.bar-1 { height: 30%; animation-delay: 0s; }
.bar-2 { height: 60%; animation-delay: 0.1s; }
.bar-3 { height: 80%; animation-delay: 0.2s; }
.bar-4 { height: 50%; animation-delay: 0.3s; }
.bar-5 { height: 90%; animation-delay: 0.4s; }
.bar-6 { height: 40%; animation-delay: 0.5s; }
.bar-7 { height: 70%; animation-delay: 0.6s; }

@keyframes grow {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.6); }
}

.gen-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: var(--green);
  opacity: 0.6;
  margin-top: 8px;
}

/* Export formats */
.export-formats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.format-tag {
  padding: 6px 12px;
  border: 1px solid var(--border-green);
  border-radius: 20px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--green);
  background: rgba(89,255,164,0.06);
}

/* SPECS */
.specs {
  padding: 100px 48px;
  background: #0A0A0F;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  max-width: 1200px;
  margin: 0 auto;
}

.spec-card {
  padding: 36px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: all 0.3s;
}

.spec-card:hover {
  border-color: var(--purple);
  box-shadow: 0 0 30px rgba(138,5,255,0.1);
}

.spec-icon {
  margin-bottom: 4px;
}

.spec-value {
  font-family: 'Outfit', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--lavender);
  line-height: 1;
}

.spec-label {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.spec-desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.55;
}

/* PROCESS */
.process {
  padding: 100px 48px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.process-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.process-desc {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.7;
}

.capability-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.cap-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.cap-icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-green);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(89,255,164,0.05);
}

.cap-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--lavender);
  margin-bottom: 4px;
}

.cap-sub {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.5;
}

/* CLOSING */
.closing {
  padding: 120px 48px;
  text-align: center;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg) 0%, #0A0514 100%);
}

.closing-content {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.closing-headline {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  color: var(--lavender);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.closing-accent {
  color: var(--purple);
}

.closing-sub {
  font-size: 18px;
  color: var(--text-dim);
  line-height: 1.65;
  max-width: 520px;
}

/* FOOTER */
.footer {
  padding: 48px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--lavender);
}

.footer-sub {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: var(--text-dim);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav { padding: 20px 24px; }
  .hero { padding: 100px 24px 40px; }
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-right { order: -1; }
  .data-flow-visual { max-width: 360px; margin: 0 auto; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .how { padding: 80px 24px; }
  .how-step { grid-template-columns: 60px 1fr; gap: 20px; }
  .step-visual { display: none; }
  .specs { padding: 80px 24px; }
  .specs-grid { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr; gap: 48px; padding: 80px 24px; }
  .closing { padding: 80px 24px; }
  .footer { padding: 32px 24px; }
  .footer-inner { flex-direction: column; gap: 12px; }
}

@media (max-width: 600px) {
  .specs-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .stat-divider { display: none; }
}