:root {
  --bg: #070b14;
  --bg-soft: rgba(17, 23, 39, 0.72);
  --card: rgba(10, 16, 30, 0.72);
  --card-border: rgba(148, 163, 184, 0.13);
  --text: #eef2ff;
  --muted: #97a1c0;
  --line: rgba(255,255,255,0.08);
  --blue: #77a6ff;
  --cyan: #7ce8ff;
  --violet: #a77dff;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background: radial-gradient(circle at top, #102240 0%, #070b14 45%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input, label { font: inherit; }
button { border: 0; background: none; cursor: pointer; color: inherit; }
img { display: block; max-width: 100%; }

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 85%);
  pointer-events: none;
}

.glow {
  position: fixed;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: .22;
  pointer-events: none;
}

.glow-a { top: -160px; left: -60px; background: #57a5ff; }
.glow-b { right: -120px; top: 220px; background: #855cff; }

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(7, 11, 20, 0.6);
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.brand, .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: .02em;
}

.brand img, .footer-brand img {
  width: 32px;
  height: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.97rem;
}

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

.hero {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 28px;
  align-items: center;
  padding: 70px 0 44px;
}

.hero-copy { max-width: 580px; }

.micro-pill, .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(124, 232, 255, .18);
  background: rgba(255,255,255,.04);
  border-radius: 999px;
  color: #c3d2ff;
  font-size: .86rem;
  letter-spacing: .05em;
  text-transform: lowercase;
}

.hero h1 {
  margin: 18px 0 14px;
  font-size: clamp(3rem, 6.5vw, 5.6rem);
  line-height: .92;
  letter-spacing: -0.06em;
}

.hero h1 span {
  color: transparent;
  background: linear-gradient(90deg, #eef2ff 0%, #89c3ff 35%, #b38dff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero p {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
  max-width: 520px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 158px;
  height: 54px;
  border-radius: 18px;
  padding: 0 20px;
  font-weight: 700;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  color: #06101d;
  background: linear-gradient(135deg, #eef4ff 0%, #87d8ff 100%);
  box-shadow: 0 12px 28px rgba(135, 216, 255, .28);
}

.btn-secondary {
  background: rgba(255,255,255,.03);
  color: var(--text);
  border: 1px solid rgba(255,255,255,.09);
}

.style-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.style-chip {
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  color: var(--muted);
  text-transform: lowercase;
}

.style-chip.active {
  color: var(--text);
  border-color: rgba(124, 232, 255, .4);
  background: rgba(124, 232, 255, .08);
  box-shadow: inset 0 0 0 1px rgba(124, 232, 255, .08);
}

.card {
  background: linear-gradient(180deg, rgba(13, 19, 34, .86) 0%, rgba(8, 12, 23, .82) 100%);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  border-radius: 28px;
}

.hero-visual {
  padding: 18px;
}

.visual-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 6px 18px;
  color: var(--muted);
  text-transform: lowercase;
}

.viewer {
  display: grid;
  gap: 16px;
}

.viewer-stack {
  position: relative;
  aspect-ratio: 1 / 1.06;
  overflow: hidden;
  border-radius: 22px;
  background:
    radial-gradient(circle at 20% 15%, rgba(119,166,255,.42), transparent 38%),
    linear-gradient(180deg, rgba(11, 15, 28, .8) 0%, rgba(4, 7, 14, .92) 100%);
  border: 1px solid rgba(255,255,255,.08);
}

.viewer-before, .viewer-after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.viewer-after {
  clip-path: inset(0 calc(100% - var(--reveal, 62%)) 0 0);
  transform: scale(1.035);
}

.viewer-fade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 18%, rgba(124,232,255,.22), transparent 22%),
    linear-gradient(180deg, transparent 0%, rgba(0,0,0,.18) 100%);
  pointer-events: none;
}

.viewer-slider-wrap {
  padding: 0 6px 6px;
}

.compare-slider {
  width: 100%;
  accent-color: #89c3ff;
}

.slider-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  color: var(--muted);
  font-size: .88rem;
  text-transform: lowercase;
}

.result-frame.clean .viewer-after { filter: contrast(1.05) saturate(1.1) brightness(1.02); }
.result-frame.prime .viewer-after { filter: contrast(1.14) saturate(0.95) brightness(1.04) hue-rotate(-8deg); }
.result-frame.angel .viewer-after { filter: contrast(1.08) saturate(1.18) brightness(1.12) hue-rotate(8deg); }

.examples, .faq {
  padding: 34px 0 10px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.section-head h2 {
  margin: 12px 0 0;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: .98;
  letter-spacing: -0.05em;
}

.section-head p {
  margin: 0;
  max-width: 420px;
  color: var(--muted);
  line-height: 1.6;
}

.section-head-tight { margin-bottom: 18px; }

.examples-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.example-card {
  text-align: left;
  padding: 14px;
  transition: transform .18s ease, border-color .18s ease;
}

.example-card:hover, .example-card.active {
  transform: translateY(-4px);
  border-color: rgba(124, 232, 255, .34);
}

.example-art {
  height: 310px;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.06);
}

.example-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.example-meta {
  padding: 14px 4px 4px;
}

.example-meta strong {
  display: block;
  font-size: 1.02rem;
}

.example-meta span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: .94rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.faq-card {
  padding: 22px;
}

.faq-card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
}

.faq-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 34px 0 56px;
  color: var(--muted);
}

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 50px; }
  .hero-copy { max-width: none; }
  .section-head { align-items: start; flex-direction: column; }
  .examples-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .nav { padding: 16px 0; }
  .nav-links { gap: 14px; font-size: .9rem; }
  .hero h1 { font-size: 2.8rem; }
  .btn { width: 100%; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .example-art { height: 240px; }
  .site-footer { flex-direction: column; align-items: start; }
}
