:root {
  --bg: #0b0f1a;
  --surface: #121826;
  --surface-alt: #0d1320;
  --text: #e6edf7;
  --muted: #a8b0bf;
  --primary: #4f8cff;
  --primary-700: #3a6fd6;
  --header-h: 64px;
  
  --accent: #27c1a9;
  --border: #1e2637;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  /* Multi-tone background using layered gradients for depth */
  background:
    linear-gradient(180deg, rgba(30,38,55,0.35), rgba(30,38,55,0.35)),
    radial-gradient(1200px 600px at 10% -20%, #152238, #0b0f1a);
  padding-top: var(--header-h);
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  backdrop-filter: saturate(140%) blur(8px);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo { width: 28px; height: 28px; border-radius: 6px; }
.brand-name { color: var(--text); font-weight: 600; letter-spacing: 0.2px; }
.nav { display: flex; gap: 16px; align-items: center; }
.nav a { color: var(--text); text-decoration: none; padding: 8px 10px; border-radius: 8px; }
.nav a:hover { background: color-mix(in oklab, var(--surface) 70%, transparent); }

/* Buttons */
.btn { display: inline-block; padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 20px rgba(79, 140, 255, 0.25); }
.btn-primary:hover { background: var(--primary-700); }
.btn-outline { border: 1px solid var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

/* Hero */
.hero { padding: 50px 0; background: linear-gradient(180deg, transparent, color-mix(in oklab, var(--surface) 25%, transparent)); }
.hero { min-height: calc(67.5vh - var(--header-h)); }
.hero-inner { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; justify-items: center; min-height: inherit; }
.hero h1 { font-size: clamp(28px, 3vw, 40px); margin: 0 0 12px; }
.hero p { color: var(--muted); margin: 0 0 18px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; }
.hero-art img { width: 100%; border-radius: 16px; border: 1px solid var(--border); box-shadow: 0 16px 40px rgba(0,0,0,0.35); }
.hero .hero-copy { text-align: center; max-width: 800px; }

/* Sections */
.section { padding: 56px 0; background: color-mix(in oklab, var(--surface) 20%, transparent); border-top: 1px solid var(--border); }
.section.alt { background: color-mix(in oklab, var(--surface) 45%, transparent); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
/* Light sections on white background */
.section.light { background: #ffffff; border-top: 1px solid #e6e8ee; border-bottom: 1px solid #e6e8ee; }
.section.light h2, .section.light h3 { color: #0b0f1a; }
.section.light p { color: #4b5563; }
.section.light a { color: #1f2937; }
.section.light .feature-card { background: #ffffff; border-color: #e6e8ee; }
.section.light .feature-card h3 { color: #0b0f1a; }
.section.light .feature-card p { color: #4b5563; }
.section.light .step { background: #ffffff; border-color: #e6e8ee; }
.section.light .step h3 { color: #0b0f1a; }
.section.light .step p { color: #4b5563; }
.section h2 { font-size: 24px; margin: 0 0 24px; }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 80px; }
.feature-card { background: var(--surface); border: 2px solid var(--border); border-radius: 16px; padding: 18px; }
.feature-card h3 { margin: 0 0 10px; font-size: 20px; }
.feature-card p { margin: 0; color: var(--muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px; position: relative; }
.step-num { position: absolute; top: -12px; left: -12px; background: var(--accent); color: #06231d; border-radius: 999px; padding: 8px 12px; font-weight: 800; box-shadow: 0 6px 20px rgba(39,193,169,0.35); }
.step h3 { margin: 10px 0 8px; }
.step p { margin: 0; color: var(--muted); }

/* Screenshots: responsive thumbnails */
.shots-row { display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; }
.shots-row img { width: clamp(115px, 11.5vw, 184px); max-width: 184px; height: auto; flex: 0 0 auto; border-radius: 12px; border: 1px solid var(--border); box-shadow: 0 8px 24px rgba(0,0,0,0.30); }

/* Increase How It Works section height by 15% */
#how-it-works.section { padding: 64px 0; }

/* CTA */
.cta { text-align: center; }
.cta p { color: var(--muted); }

/* Footer */
.site-footer { padding: 24px 0; background: var(--surface-alt); border-top: 1px solid var(--border); }
.footer-inner { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; }
.footer-logo { width: 22px; height: 22px; border-radius: 6px; }
.footer-links a { color: var(--muted); text-decoration: none; margin-right: 12px; }
.footer-links a:hover { color: var(--text); }
.footer-copy { color: var(--muted); }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .features-grid, .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .features-grid, .steps { grid-template-columns: 1fr; }
}