/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #070b14;
  --bg-panel: #0b1220;
  --bg-card: #0f1a2e;
  --bg-card-hover: #132235;
  --accent: #00d4ff;
  --accent-dim: rgba(0, 212, 255, 0.1);
  --accent-glow: rgba(0, 212, 255, 0.06);
  --accent2: #0a4f8a;
  --text: #e8eaf0;
  --text-muted: #7a8299;
  --text-dim: #4a5268;
  --border: rgba(0, 212, 255, 0.1);
  --border-bright: rgba(0, 212, 255, 0.25);
  --radius: 8px;
  --radius-lg: 14px;
  --font-head: 'Syne', system-ui, sans-serif;
  --font-body: 'Barlow', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: var(--bg); }

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

/* === NAV === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 32px;
  background: rgba(7, 11, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}

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

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

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

/* Nav CTA link */
.nav-links .nav-cta {
  color: var(--accent) !important;
  border: 1px solid var(--border-bright);
  border-radius: 6px;
  padding: 5px 13px;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s;
}
.nav-links .nav-cta:hover {
  background: var(--accent-dim);
  color: var(--accent) !important;
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 32px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 80%);
}

.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.08) 0%, transparent 60%);
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--accent-dim);
  border: 1px solid var(--border-bright);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

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

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

.hero-text h1 {
  font-family: var(--font-head);
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 24px;
}

.hero-lede {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 36px;
  font-weight: 400;
}

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

.hero-cta-label {
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 400;
}

/* Model Showcase */
.hero-visual {
  display: flex;
  justify-content: center;
}

.model-showcase {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.model-frame {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.model-frame::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.6;
}

.model-preview {
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.model-preview svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.15));
  animation: float-model 6s ease-in-out infinite;
}

@keyframes float-model {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}

.model-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  background: var(--accent-dim);
  border: 1px solid var(--border-bright);
  border-radius: 100px;
}

.model-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat {
  background: var(--bg-panel);
  padding: 16px 12px;
  text-align: center;
}

.stat-value {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 4px;
}

.stat-label {
  display: block;
  font-size: 11px;
  color: var(--text-dim);
  font-weight: 400;
}

/* === SECTION HEADER === */
.section-header {
  margin-bottom: 56px;
}

.section-header h2 {
  font-family: var(--font-head);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.65;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

/* === PIPELINE === */
.pipeline {
  padding: 100px 32px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-panel);
}

.pipeline-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.pipeline-header {
  text-align: center;
  margin-bottom: 64px;
}

.pipeline-header h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 20px;
}

.pipeline-header p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.65;
}

.pipeline-steps {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.pipeline-step {
  flex: 1;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.pipeline-connector {
  display: flex;
  align-items: center;
  padding: 0 12px;
  flex-shrink: 0;
}

.step-number {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.step-content h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.step-content p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* === GENERATORS === */
.generators {
  padding: 100px 32px;
}

.generators-inner {
  max-width: 1200px;
  margin: 0 auto;
}

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

.gen-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: border-color 0.25s, background 0.25s;
}

.gen-card:hover {
  border-color: var(--border-bright);
  background: var(--bg-card-hover);
}

.gen-card-accent {
  background: linear-gradient(135deg, #0a1830 0%, var(--bg-card) 100%);
  border-color: var(--border-bright);
}

.gen-card-accent::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.gen-icon {
  margin-bottom: 20px;
}

.gen-card h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.gen-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.gen-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gen-features li {
  font-size: 13px;
  color: var(--text-dim);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}

.gen-features li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 10px;
  top: 2px;
}

.gen-badge {
  display: inline-block;
  padding: 4px 10px;
  background: var(--accent-dim);
  border: 1px solid var(--border-bright);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  margin-top: 8px;
}

/* === CONVERSIONS === */
.conversions {
  padding: 100px 32px;
  background: var(--bg-panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.conversions-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header-dark h2 { color: var(--text); }
.section-header-dark p { color: var(--text-muted); }
.section-label-dark { color: var(--accent); }

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

.conv-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s, background 0.2s;
}

.conv-card:hover {
  border-color: var(--border-bright);
  background: var(--bg-card-hover);
}

.conv-icon { margin-bottom: 16px; }

.conv-card h4 {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.conv-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* === OUTPUTS === */
.outputs {
  padding: 100px 32px;
}

.outputs-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.outputs-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.outputs-text h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 16px;
}

.outputs-text > p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 32px;
}

.format-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.format-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.format-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.format-use {
  font-size: 13px;
  color: var(--text-muted);
}

.outputs-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.output-header {
  padding: 16px 24px;
  background: var(--bg-panel);
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.workflow-steps {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wf-step {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.wf-step-final {
  border-color: var(--border-bright);
  background: var(--accent-glow);
}

.wf-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--accent-dim);
  border: 1px solid var(--border-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 14px;
  color: var(--accent);
  flex-shrink: 0;
}

.wf-step-final .wf-icon {
  background: var(--accent);
  color: var(--bg);
}

.wf-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.wf-name {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.wf-desc {
  font-size: 12px;
  color: var(--text-muted);
}

.wf-arrow {
  text-align: center;
  font-size: 14px;
  color: var(--text-dim);
  padding: 4px 0;
}

/* === CLOSER === */
.closer {
  padding: 100px 32px 120px;
  text-align: center;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg) 0%, rgba(0, 212, 255, 0.02) 100%);
}

.closer-inner {
  max-width: 800px;
  margin: 0 auto;
}

.closer h2 {
  font-family: var(--font-head);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 28px;
}

.closer p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

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

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-dim);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .gen-grid { grid-template-columns: 1fr; }
  .conv-grid { grid-template-columns: repeat(2, 1fr); }
  .outputs-split { grid-template-columns: 1fr; }
  .pipeline-steps { flex-direction: column; }
  .pipeline-connector { transform: rotate(90deg); padding: 8px 0; }
}

@media (max-width: 640px) {
  .nav { padding: 0 16px; }
  .nav-links { display: none; }
  .hero { padding: 80px 16px 60px; }
  .gen-grid { grid-template-columns: 1fr; }
  .conv-grid { grid-template-columns: 1fr; }
  .pipeline { padding: 60px 16px; }
  .generators { padding: 60px 16px; }
  .conversions { padding: 60px 16px; }
  .outputs { padding: 60px 16px; }
  .closer { padding: 60px 16px 80px; }
}
