:root {
  --bg: #0d0d1a;
  --bg-surface: #14142a;
  --bg-card: #1a1a35;
  --fg: #e8e8f0;
  --fg-muted: #8888aa;
  --accent: #00d4ff;
  --accent-dim: #00d4ff22;
  --border: #2a2a4a;
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --max-w: 1100px;
  --radius: 12px;
}

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

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

/* Header */
.site-header {
  padding: 20px 40px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 100;
  backdrop-filter: blur(10px);
}
.logo {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--fg);
}
.logo-accent { color: var(--accent); }
nav { display: flex; gap: 28px; }
nav a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.region-selector-wrap {
  margin-left: 20px;
  flex-shrink: 0;
}
.region-select {
  background: var(--bg-surface);
  color: var(--fg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 28px 6px 10px;
  font-size: 13px;
  font-family: var(--font-body);
  font-weight: 500;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%238888aa' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  transition: border-color 0.2s;
  min-width: 80px;
}
.region-select:hover { border-color: var(--accent); }
.region-select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-dim); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 40px 80px;
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
}
.hero-text { max-width: 620px; }
.hero-eyebrow {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--fg);
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 40px;
}

/* Demo */
.hero-input-demo {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 560px;
  box-shadow: 0 0 60px #00d4ff0d;
}
.demo-prompt {
  padding: 16px 20px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.prompt-icon {
  color: var(--accent);
  font-family: monospace;
  font-size: 14px;
  flex-shrink: 0;
}
.demo-output {
  padding: 20px;
}
.part-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.part-line:last-child { border-bottom: none; }
.part-label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  width: 90px;
  flex-shrink: 0;
}
.part-val {
  color: var(--fg);
  font-weight: 400;
  text-align: right;
}
.demo-footnote {
  margin-top: 12px;
  font-size: 12px;
  color: var(--fg-muted);
  font-style: italic;
}

/* Sections */
.section-label {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-heading {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 48px;
  max-width: 600px;
}

/* How it works */
.how-it-works {
  padding: 80px 40px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.how-it-works .section-heading { max-width: 100%; }
.steps-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
}
.step-number {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 20px;
  display: block;
}
.step-card h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}
.step-card p { color: var(--fg-muted); font-size: 15px; }

/* Features */
.features {
  padding: 80px 40px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.features-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 60px;
}
.feature-block {
  border-left: 2px solid var(--accent);
  padding-left: 24px;
}
.feature-block h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-block p { color: var(--fg-muted); font-size: 15px; line-height: 1.7; }

/* Philosophy */
.pricing-philosophy {
  padding: 80px 40px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
}
.philosophy-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.philosophy-text h2 {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin: 12px 0 20px;
}
.philosophy-text p { color: var(--fg-muted); font-size: 15px; line-height: 1.7; margin-bottom: 16px; }
.philosophy-bold {
  font-weight: 500;
  color: var(--fg) !important;
  font-size: 16px !important;
  margin-bottom: 16px;
}
.philosophy-callout { display: flex; flex-direction: column; gap: 16px; }
.callout-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.callout-stat {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  flex-shrink: 0;
  width: 80px;
}
.callout-desc { font-size: 14px; color: var(--fg-muted); }

/* Closing */
.closing {
  padding: 100px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.closing::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, #00d4ff15 0%, transparent 70%);
  pointer-events: none;
}
.closing-inner { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }
.closing h2 {
  font-family: var(--font-head);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 20px;
}
.closing p {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* Footer */
footer {
  padding: 40px;
  border-top: 1px solid var(--border);
  background: var(--bg-surface);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}
.footer-brand .logo { display: block; margin-bottom: 10px; }
.footer-brand p { font-size: 13px; color: var(--fg-muted); max-width: 280px; }
.footer-disclosure {
  font-size: 12px;
  color: var(--fg-muted);
  max-width: 400px;
  line-height: 1.6;
  text-align: right;
}

/* Responsive */
@media (max-width: 768px) {
  .site-header { padding: 16px 20px; }
  nav { display: none; }
  .header-inner { flex-wrap: wrap; }
  .region-selector-wrap { margin-left: auto; order: 3; }
  .hero { padding: 60px 20px 60px; }
  .hero-headline { font-size: 36px; }
  .steps-grid { grid-template-columns: 1fr; gap: 20px; }
  .features-layout { grid-template-columns: 1fr; }
  .philosophy-inner { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .footer-disclosure { text-align: left; }
  .how-it-works, .features, .pricing-philosophy, .closing { padding: 60px 20px; }
  .section-heading { font-size: 28px; }
  .pricing-philosophy .section-heading { font-size: 28px; }
}
@media (max-width: 480px) {
  .hero-headline { font-size: 30px; }
  .callout-stat { font-size: 24px; }
}