:root {
  --bg: #0b0f17;
  --surface: #1e293b;
  --text: #f8fafc;
  --muted: #94a3b8;
  --body: #cbd5e1;
  --indigo: #6366f1;
  --cyan: #06b6d4;
  --emerald: #10b981;
  --line: rgba(148, 163, 184, 0.16);
  --header: 76px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --font: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--body);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color-scheme: dark;
}

img {
  max-width: 100%;
}

h1, h2, h3, p {
  margin-top: 0;
}

h1, h2, h3 {
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.35rem, 4.8vw, 4.15rem);
  font-weight: 800;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  text-wrap: balance;
  margin-bottom: 12px;
}

h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 8px;
}

p {
  color: var(--muted);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: rgba(99, 102, 241, 0.45);
  color: white;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--indigo);
  color: white;
}

.skip-link:focus {
  top: 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 78%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
}

.orb-a {
  width: 460px;
  height: 460px;
  background: rgba(99, 102, 241, 0.38);
  top: -140px;
  left: -100px;
}

.orb-b {
  width: 380px;
  height: 380px;
  background: rgba(6, 182, 212, 0.22);
  top: 220px;
  right: -120px;
}

.orb-c {
  width: 340px;
  height: 340px;
  background: rgba(16, 185, 129, 0.16);
  bottom: 8%;
  left: 28%;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

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

.section {
  padding: clamp(72px, 9vw, 112px) 0;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head p:last-child {
  margin-bottom: 0;
}

.eyebrow {
  margin-bottom: 10px;
  color: #67e8f9;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gradient-text {
  background: linear-gradient(100deg, #c7d2fe 10%, #67e8f9 45%, #6ee7b7 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.glass {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.78), rgba(15, 23, 42, 0.72));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), var(--shadow);
}

.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(145deg, rgba(99, 102, 241, 0.85), rgba(255, 255, 255, 0.08) 34%, rgba(6, 182, 212, 0.5) 68%, rgba(16, 185, 129, 0.75));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.glass > * {
  position: relative;
  z-index: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--indigo), #3b82f6 55%, var(--cyan));
  box-shadow: 0 10px 28px rgba(99, 102, 241, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.btn-primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 12px 32px rgba(6, 182, 212, 0.32), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.btn-ghost {
  color: var(--text);
  background: rgba(11, 15, 23, 0.35);
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.28);
}

.btn-ghost:hover {
  background: rgba(99, 102, 241, 0.16);
}

.btn-sm {
  min-height: 40px;
  padding: 0 14px;
  font-size: 0.92rem;
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  cursor: progress;
  transform: none;
  filter: saturate(0.85);
}

.btn-spinner {
  display: none;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.btn-generate.is-loading .btn-spinner {
  display: inline-block;
}

.btn-generate {
  width: 100%;
  margin-top: 4px;
}

.btn-generate.is-loading .fa-wand-magic-sparkles {
  display: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
}

.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(11, 15, 17, 0.78);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled::after {
  border-bottom-color: rgba(148, 163, 184, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.header-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: var(--header);
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.12rem;
}

.logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.16), 0 0 16px var(--emerald);
  animation: pulse 2.4s ease-in-out infinite;
}

.logo-tld {
  background: linear-gradient(90deg, var(--cyan), #a5b4fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  color: #cbd5e1;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: white;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: white;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(36px, 6vw, 72px) 0 clamp(20px, 4vw, 40px);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 6px 12px;
  border: 1px solid rgba(99, 102, 241, 0.4);
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.12);
  color: #c7d2fe;
  font-size: 0.86rem;
  font-weight: 700;
  box-shadow: 0 0 24px rgba(99, 102, 241, 0.2);
}

.lede {
  max-width: 38rem;
  margin-bottom: 22px;
  font-size: 1.08rem;
  color: #cbd5e1;
}

.hero-points {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--body);
  font-weight: 600;
}

.hero-points i {
  width: 28px;
  color: #67e8f9;
  text-align: center;
}

.demo-card {
  padding: 18px;
}

.demo-chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

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

.dots i {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.dots i:nth-child(1) { background: #fb7185; }
.dots i:nth-child(2) { background: #fbbf24; }
.dots i:nth-child(3) { background: #34d399; }

.demo-title,
.url {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.url {
  flex: 1;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(11, 15, 17, 0.55);
  color: #cbd5e1;
}

.live-pill {
  margin-left: auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.14);
  color: #6ee7b7;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.field-label,
.field label,
.field > span,
.phone-field span,
.score-kicker,
.form-kicker {
  display: block;
  margin-bottom: 8px;
  color: #e2e8f0;
  font-size: 0.82rem;
  font-weight: 700;
}

.prompt-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 6px 6px 14px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 999px;
  background: rgba(11, 15, 17, 0.72);
  box-shadow: inset 0 0 0 1px rgba(99, 102, 241, 0.08), 0 0 24px rgba(99, 102, 241, 0.08);
}

.prompt-bar > i {
  color: #a5b4fc;
}

.prompt-bar input {
  flex: 1;
  min-width: 0;
  padding: 12px 0;
  border: 0;
  background: transparent;
  color: var(--text);
}

.prompt-bar input::placeholder {
  color: #64748b;
}

.prompt-bar input:focus-visible {
  outline: none;
}

.prompt-bar:focus-within {
  border-color: rgba(99, 102, 241, 0.75);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.22), 0 0 24px rgba(99, 102, 241, 0.16);
}

.intent {
  min-height: 1.4em;
  margin: 12px 4px;
  color: #a5b4fc;
  font-size: 0.88rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-btn {
  padding: 7px 10px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 999px;
  background: rgba(11, 15, 17, 0.4);
  color: #e2e8f0;
  font-size: 0.78rem;
  font-weight: 600;
}

.chip-btn:hover,
.chip-btn.is-on {
  border-color: rgba(6, 182, 212, 0.55);
  background: rgba(6, 182, 212, 0.12);
}

.progress {
  margin-top: 16px;
}

.progress-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(11, 15, 17, 0.7);
}

.progress-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--indigo), var(--cyan), var(--emerald));
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.65);
  transition: width 0.35s ease;
}

.progress p {
  margin: 8px 0 0;
  color: #e2e8f0;
  font-size: 0.88rem;
}

.preview {
  max-height: min(52vh, 480px);
  margin-top: 14px;
  overflow: auto;
}

.gen-card {
  padding: 16px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 16px;
  background: rgba(11, 15, 17, 0.72);
  animation: rise 0.45s ease;
}

.gen-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.gen-kicker {
  margin-bottom: 4px;
  color: #67e8f9;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prompt-echo {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.guard-chip {
  flex: 0 0 auto;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.14);
  color: #6ee7b7;
  font-size: 0.75rem;
  font-weight: 700;
}

.step-pills {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.step-pills span {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(30, 41, 59, 0.8);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.step-pills .is-on {
  background: rgba(99, 102, 241, 0.22);
  color: white;
}

.gen-card .field {
  margin-bottom: 12px;
}

.control {
  width: 100%;
  padding: 12px 12px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 12px;
  background: rgba(11, 15, 17, 0.8);
  color: var(--text);
}

.control:focus-visible {
  outline-offset: 1px;
}

textarea.control {
  resize: vertical;
  min-height: 84px;
}

.control::placeholder {
  color: #94a3b8;
}

.follow-step {
  margin-top: 4px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(6, 182, 212, 0.08);
  box-shadow: inset 0 0 0 1px rgba(6, 182, 212, 0.25);
}

.follow-label {
  margin-bottom: 4px;
  color: #67e8f9;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.follow-step p:last-child {
  margin-bottom: 0;
  color: #e2e8f0;
  font-size: 0.9rem;
}

.gen-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  color: #cbd5e1;
  font-size: 0.78rem;
  font-weight: 600;
}

.gen-meta i {
  margin-right: 6px;
  color: #6ee7b7;
}

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

.feature-card {
  padding: 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), 0 0 32px rgba(99, 102, 241, 0.16);
}

.feature-card p {
  margin-bottom: 0;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 14px;
  font-size: 1.15rem;
}

.icon.indigo {
  color: #c7d2fe;
  background: rgba(99, 102, 241, 0.16);
  box-shadow: 0 0 24px rgba(99, 102, 241, 0.28);
}

.icon.cyan {
  color: #67e8f9;
  background: rgba(6, 182, 212, 0.14);
  box-shadow: 0 0 24px rgba(6, 182, 212, 0.24);
}

.icon.emerald {
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.14);
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.24);
}

.band {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.35), rgba(11, 15, 17, 0));
  border-block: 1px solid rgba(148, 163, 184, 0.08);
}

.step-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-list::before {
  content: "";
  position: absolute;
  top: 46px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.8), rgba(6, 182, 212, 0.8), transparent);
}

.step-card {
  padding: 22px;
}

.step-index {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: #0b0f17;
  color: white;
  font-weight: 800;
  box-shadow: 0 0 0 6px rgba(11, 15, 17, 0.85), 0 0 24px rgba(99, 102, 241, 0.45);
}

.step-card p {
  margin-bottom: 0;
}

.stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
}

.device-label {
  margin-bottom: 10px;
  color: #94a3b8;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.desktop-frame {
  overflow: hidden;
}

.desktop-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 16px;
  padding: 4px 16px 16px;
}

.live-form h3 {
  margin-bottom: 6px;
  font-size: 1.35rem;
}

.form-note,
.hint {
  margin-bottom: 14px;
  font-size: 0.84rem;
}

.hint {
  margin: 6px 0 0;
}

.field {
  margin-bottom: 12px;
}

.rating {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rate {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 12px;
  background: rgba(11, 15, 17, 0.65);
  color: white;
  font-weight: 800;
}

.rate[aria-checked="true"] {
  border-color: transparent;
  background: linear-gradient(135deg, var(--indigo), var(--cyan));
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.45);
}

.score-panel {
  align-self: start;
  padding: 14px;
  border-radius: 16px;
  background: rgba(11, 15, 17, 0.62);
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.16);
}

.score-value {
  margin: 0;
  color: var(--text);
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

.score-label {
  margin: 4px 0 12px;
  font-weight: 700;
}

.meter {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(30, 41, 59, 0.9);
}

.meter span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--indigo);
  transition: width 0.25s ease;
}

.score-panel.is-hot .score-label,
.score-panel.is-hot .score-value { color: #6ee7b7; }
.score-panel.is-hot .meter span { background: var(--emerald); box-shadow: 0 0 12px rgba(16, 185, 129, 0.7); }
.score-panel.is-warm .score-label { color: #67e8f9; }
.score-panel.is-warm .meter span { background: var(--cyan); }
.score-panel.is-cold .meter span { background: var(--indigo); }
.score-panel.is-risk .score-label,
.score-panel.is-risk .score-value { color: #fda4af; }
.score-panel.is-risk .meter span { background: #fb7185; }

.score-meta {
  margin: 14px 0 0;
}

.score-meta div {
  margin-bottom: 10px;
}

.score-meta dt {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.score-meta dd {
  margin: 2px 0 0;
  color: #e2e8f0;
  font-size: 0.9rem;
  font-weight: 600;
}

.device-phone {
  justify-self: center;
}

.phone-frame {
  width: 280px;
  height: 580px;
  padding: 12px;
  border-radius: 36px;
  background: linear-gradient(180deg, #334155, #0f172a);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 30px 60px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(6, 182, 212, 0.14);
}

.phone-screen {
  height: 100%;
  padding: 8px 14px 16px;
  overflow: auto;
  border-radius: 26px;
  background: #0b0f17;
}

.phone-notch {
  width: 96px;
  height: 18px;
  margin: 0 auto 8px;
  border-radius: 0 0 12px 12px;
  background: #111827;
}

.phone-status {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  color: #cbd5e1;
  font-size: 0.75rem;
  font-weight: 700;
}

.phone-heading {
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.phone-field {
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(30, 41, 59, 0.65);
}

.phone-field strong {
  display: block;
  color: var(--text);
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.phone-field strong.is-empty {
  color: #64748b;
  font-weight: 600;
}

.phone-score {
  margin-top: 8px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(16, 185, 129, 0.1);
  box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.25);
}

.phone-score strong {
  display: block;
  color: #6ee7b7;
  font-size: 1.6rem;
  letter-spacing: -0.04em;
}

.phone-score em {
  color: #cbd5e1;
  font-style: normal;
  font-size: 0.8rem;
}

.phone-score.is-risk {
  background: rgba(251, 113, 133, 0.12);
  box-shadow: inset 0 0 0 1px rgba(251, 113, 133, 0.35);
}

.phone-score.is-risk strong {
  color: #fda4af;
}

.price-card {
  display: flex;
  flex-direction: column;
  padding: 26px 24px 24px;
}

.plan-copy {
  min-height: 3em;
  margin-bottom: 8px;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
  color: var(--text);
}

.amount {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

.amount-custom {
  font-size: 2.4rem;
}

.period {
  color: var(--muted);
  font-weight: 600;
}

.checks {
  flex: 1;
  margin: 12px 0 22px;
  padding: 0;
  list-style: none;
}

.checks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 10px;
  color: #e2e8f0;
}

.checks i {
  margin-top: 4px;
  color: var(--emerald);
}

.popular {
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.22), rgba(15, 23, 42, 0.88));
  transform: translateY(-10px);
  box-shadow: 0 24px 50px rgba(99, 102, 241, 0.2), var(--shadow);
}

.popular-badge {
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--indigo), var(--cyan));
  color: white;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin-inline: auto;
}

.faq-item {
  padding: 6px 18px;
}

.faq-item h3 {
  margin: 0;
  font-size: 1rem;
}

.faq-q {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  font-weight: 700;
}

.chevron {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-right: 2px solid #94a3b8;
  border-bottom: 2px solid #94a3b8;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-item.is-open .chevron {
  transform: rotate(225deg);
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease;
}

.faq-item.is-open .faq-a {
  grid-template-rows: 1fr;
}

.faq-a-inner {
  overflow: hidden;
}

.faq-a p {
  margin: 0 0 16px;
}

.site-footer {
  padding: 48px 0 28px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(8, 11, 18, 0.9);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr auto auto;
  gap: 28px;
  align-items: start;
}

.footer-brand p {
  max-width: 360px;
  margin: 12px 0 0;
}

.footer-nav {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

.footer-nav a:hover {
  color: white;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(30, 41, 59, 0.8);
  color: white;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.18);
}

.socials a:hover {
  background: rgba(99, 102, 241, 0.35);
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.88rem;
}

.toast {
  position: fixed;
  top: 88px;
  left: 50%;
  z-index: 80;
  width: min(440px, calc(100% - 32px));
  padding: 14px 16px;
  border: 1px solid rgba(99, 102, 241, 0.4);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.94);
  color: white;
  text-align: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 24px rgba(99, 102, 241, 0.25);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.is-on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.noscript {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 12px 16px;
  background: #1e293b;
  color: white;
  text-align: center;
}

section[id],
#builder {
  scroll-margin-top: 92px;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.16), 0 0 12px var(--emerald); }
  50% { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0.08), 0 0 22px var(--emerald); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .hero-grid,
  .feature-grid,
  .step-list,
  .stage,
  .price-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .popular {
    order: -1;
    transform: none;
  }

  .step-list::before {
    display: none;
  }

  .desktop-body {
    grid-template-columns: 1fr;
  }

  .device-phone {
    justify-self: center;
  }

  .nav-links {
    justify-content: flex-start;
  }
}

@media (max-width: 860px) {
  .header-inner {
    display: flex;
    justify-content: space-between;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 2;
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.96);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px;
    border-radius: 10px;
  }

  .nav-links a:hover,
  .nav-links a.is-active {
    background: rgba(99, 102, 241, 0.16);
  }
}

@media (min-width: 641px) and (max-width: 980px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .container {
    width: min(1120px, calc(100% - 24px));
  }

  .prompt-bar {
    padding: 10px 12px;
    border-radius: 16px;
  }

  .gen-head,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .socials {
    justify-content: flex-start;
  }

  .phone-frame {
    width: min(280px, 100%);
  }

  .header-actions .btn-sm {
    padding-inline: 10px;
    font-size: 0.8rem;
  }

  .logo {
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
