:root {
  --bg: #08111f;
  --bg-soft: #0f1b2d;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-strong: rgba(255, 255, 255, 0.13);
  --surface-light: #ffffff;
  --text: #f8fafc;
  --text-dark: #111827;
  --muted: #aab7ca;
  --muted-dark: #607089;
  --primary: #6d5dfc;
  --accent: #14b8d4;
  --primary-rgb: 109, 93, 252;
  --accent-rgb: 20, 184, 212;
  --border: rgba(255, 255, 255, 0.14);
  --border-dark: rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 28px 80px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 18px 45px rgba(0, 0, 0, 0.24);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(var(--primary-rgb), 0.44), transparent 32rem),
    radial-gradient(circle at 88% 2%, rgba(var(--accent-rgb), 0.38), transparent 30rem),
    linear-gradient(135deg, #08111f 0%, #0e1729 45%, #09111d 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

img,
svg {
  max-width: 100%;
}

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

.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;
}

.page-glow {
  position: fixed;
  z-index: -2;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  filter: blur(28px);
  opacity: 0.26;
  pointer-events: none;
}

.page-glow-one {
  top: 120px;
  left: -130px;
  background: var(--primary);
}

.page-glow-two {
  right: -150px;
  bottom: 140px;
  background: var(--accent);
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 50;
  width: min(var(--container), calc(100% - 40px));
  margin: 14px auto 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(8, 17, 31, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-symbol {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  font-weight: 950;
  letter-spacing: -0.05em;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 16px 35px rgba(var(--primary-rgb), 0.35);
}

.brand-text {
  display: grid;
  line-height: 1.05;
}

.brand-text strong {
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.brand-text small {
  color: var(--muted);
  font-weight: 700;
}

.nav {
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
  padding: 9px 13px;
  border-radius: 999px;
  transition: 180ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 14px 32px rgba(var(--primary-rgb), 0.32);
}

.menu-button {
  display: none;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 8px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.menu-button span:not(.sr-only) {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  border-radius: 99px;
}

.hero {
  min-height: calc(100vh - 96px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(410px, 0.98fr);
  align-items: center;
  gap: 54px;
  padding: 88px 0 64px;
}

.status-pill,
.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 9px;
  color: #b7f7ff;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.status-pill {
  padding: 9px 12px;
  border: 1px solid rgba(var(--accent-rgb), 0.34);
  background: rgba(var(--accent-rgb), 0.09);
  border-radius: 999px;
  margin-bottom: 20px;
}

.status-pill span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #34d399;
  box-shadow: 0 0 0 7px rgba(52, 211, 153, 0.12);
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 6.4vw, 5.85rem);
  line-height: 0.93;
  letter-spacing: -0.075em;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2.1rem, 4.2vw, 4.15rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.22rem;
  letter-spacing: -0.02em;
}

.lead,
.section-title p,
.contact-copy p,
.benefits p,
.feature-grid p,
.output-card p,
.step-title p,
.price-card li {
  color: var(--muted);
  line-height: 1.68;
}

.lead {
  max-width: 660px;
  margin-bottom: 30px;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
}

.hero-actions,
.builder-actions,
.output-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
.output-actions button,
.palette-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 13px 18px;
  font-weight: 950;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.output-actions button:hover,
.palette-button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 18px 45px rgba(var(--primary-rgb), 0.35);
}

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

.button-ghost,
.palette-button,
.output-actions button {
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.13);
  background: rgba(255,255,255,0.055);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
  max-width: 600px;
}

.hero-metrics div {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.055);
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  font-size: 1.45rem;
  letter-spacing: -0.04em;
}

.hero-metrics span {
  color: var(--muted);
  margin-top: 2px;
  font-size: 0.9rem;
}

.hero-showcase {
  position: relative;
  min-height: 640px;
}

.dashboard-card,
.builder-panel,
.output-card,
.feature-grid article,
.price-card,
.contact-card,
.benefits div {
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(255,255,255,0.12), rgba(255,255,255,0.055));
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow-md);
}

.dashboard-card {
  position: absolute;
  top: 42px;
  right: 0;
  width: min(430px, 92%);
  padding: 18px;
  border-radius: var(--radius-xl);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  margin-bottom: 16px;
}

.card-header small {
  margin-left: auto;
  font-weight: 850;
}

.traffic {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.traffic-red { background: #fb7185; }
.traffic-yellow { background: #facc15; }
.traffic-green { background: #34d399; }

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

.dashboard-stat,
.progress-card {
  padding: 15px;
  border-radius: 20px;
  background: rgba(6, 12, 24, 0.34);
  border: 1px solid rgba(255,255,255,0.08);
}

.dashboard-stat span,
.progress-card span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
}

.dashboard-stat strong {
  display: block;
  margin-top: 6px;
  font-size: 1.25rem;
}

.progress-card div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.progress-card b {
  font-size: 0.85rem;
}

.progress {
  height: 8px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255,255,255,0.09);
}

.progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.phone {
  position: relative;
  width: 328px;
  padding: 12px;
  border-radius: 46px;
  border: 1px solid rgba(255,255,255,0.2);
  background: linear-gradient(145deg, rgba(255,255,255,0.28), rgba(255,255,255,0.05));
  box-shadow: var(--shadow-lg);
}

.phone-floating {
  position: absolute;
  left: 18px;
  bottom: 8px;
  transform: rotate(-3deg);
}

.phone-notch {
  position: absolute;
  top: 22px;
  left: 50%;
  z-index: 5;
  width: 96px;
  height: 26px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #050816;
}

.phone-screen {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 36px;
  background: #0d1424;
}

.preview-topbar {
  position: absolute;
  top: 14px;
  left: 16px;
  right: 16px;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  color: rgba(255,255,255,0.82);
  font-size: 0.76rem;
  font-weight: 850;
}

.preview-hero {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 76px 22px 24px;
  background:
    radial-gradient(circle at 78% 10%, rgba(255,255,255,0.24), transparent 9rem),
    linear-gradient(145deg, var(--primary), var(--accent));
}

.preview-hero.small {
  min-height: 330px;
}

.preview-icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 25px;
  border: 1px solid rgba(255,255,255,0.36);
  background: rgba(255,255,255,0.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.38), 0 14px 38px rgba(0,0,0,0.18);
  color: #fff;
  font-size: 2.1rem;
  font-weight: 950;
}

.preview-hero p {
  margin: 20px 0 5px;
  color: rgba(255,255,255,0.82);
  font-weight: 850;
}

.preview-hero h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  letter-spacing: -0.055em;
}

.preview-hero button {
  width: fit-content;
  border: 0;
  border-radius: 999px;
  padding: 12px 16px;
  color: var(--text-dark);
  background: rgba(255,255,255,0.93);
  font-weight: 950;
}

.preview-list {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.preview-list.compact {
  gap: 10px;
  padding: 13px;
}

.preview-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  gap: 11px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  background: rgba(255,255,255,0.07);
}

.preview-item-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: rgba(255,255,255,0.10);
}

.preview-item strong,
.preview-item span {
  display: block;
}

.preview-item span {
  color: var(--muted);
  font-size: 0.83rem;
  margin-top: 2px;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 16px 0 54px;
}

.benefits div {
  padding: 20px;
  border-radius: var(--radius-lg);
}

.benefits span {
  display: inline-flex;
  margin-bottom: 14px;
  color: #b7f7ff;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.benefits strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.benefits p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.builder,
.features,
.pricing,
.contact {
  padding: 86px 0;
}

.section-title {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-title.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  margin-bottom: 14px;
}

.builder-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  gap: 24px;
  align-items: start;
}

.builder-panel,
.preview-panel {
  min-width: 0;
}

.builder-panel {
  padding: 28px;
  border-radius: var(--radius-xl);
}

.step-title {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.step-title > span {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  color: #fff;
  font-weight: 950;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.step-title h3,
.step-title p {
  margin-bottom: 0;
}

.step-title p {
  margin-top: 4px;
  font-size: 0.95rem;
}

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

.field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.field-wide {
  grid-column: 1 / -1;
}

.field span,
.color-field span {
  color: #dce7f8;
  font-size: 0.91rem;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px 15px;
  color: var(--text);
  background: rgba(5, 10, 21, 0.62);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(var(--accent-rgb), 0.7);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.12);
}

select option {
  color: #111827;
}

.divider {
  height: 1px;
  margin: 24px 0;
  background: rgba(255,255,255,0.10);
}

.color-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 14px;
  align-items: end;
}

.color-field {
  display: grid;
  gap: 8px;
}

.color-field input[type="color"] {
  height: 54px;
  padding: 6px;
  cursor: pointer;
}

.feature-fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}

.feature-toggles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.feature-toggles label {
  position: relative;
  min-height: 48px;
  cursor: pointer;
}

.feature-toggles input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.feature-toggles span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-weight: 900;
  background: rgba(255,255,255,0.055);
  transition: 180ms ease;
}

.feature-toggles input:checked + span {
  color: #fff;
  border-color: rgba(var(--accent-rgb), 0.42);
  background: linear-gradient(135deg, rgba(var(--primary-rgb),0.9), rgba(var(--accent-rgb),0.7));
  box-shadow: 0 14px 28px rgba(var(--primary-rgb), 0.2);
}

.builder-actions {
  margin-top: 24px;
}

.preview-panel {
  position: relative;
}

.preview-sticky {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 18px;
  justify-items: center;
}

.phone-builder {
  width: min(322px, 100%);
}

.phone-builder .phone-screen {
  min-height: 620px;
}

.output-card {
  width: 100%;
  padding: 22px;
  border-radius: var(--radius-xl);
}

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

.output-head h3,
.output-head p {
  margin-bottom: 0;
}

.output-head p {
  margin-top: 4px;
  font-size: 0.94rem;
}

.output-head span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(52, 211, 153, 0.28);
  border-radius: 999px;
  color: #bbf7d0;
  background: rgba(52, 211, 153, 0.1);
  font-size: 0.82rem;
  font-weight: 900;
}

pre {
  max-height: 300px;
  overflow: auto;
  margin: 0 0 14px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 20px;
  color: #e0f2fe;
  background: rgba(4, 8, 17, 0.72);
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 0.82rem;
  line-height: 1.55;
}

.output-actions button {
  min-height: 44px;
  padding: 11px 14px;
  font-size: 0.92rem;
}

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

.feature-grid article {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
}

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

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.price-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px;
  border-radius: var(--radius-xl);
}

.price-card.highlighted {
  position: relative;
  transform: translateY(-12px);
  background:
    radial-gradient(circle at 85% 0%, rgba(var(--accent-rgb),0.32), transparent 16rem),
    linear-gradient(145deg, rgba(var(--primary-rgb),0.34), rgba(255,255,255,0.08));
  border-color: rgba(var(--accent-rgb), 0.34);
}

.plan-tag {
  display: inline-flex;
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  color: #b7f7ff;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(var(--accent-rgb), 0.11);
  border: 1px solid rgba(var(--accent-rgb), 0.25);
}

.price {
  margin: 0;
  font-size: 2.7rem;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.price-card ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0 0 8px;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 24px;
}

.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #5eead4;
  font-weight: 950;
}

.price-card .button {
  margin-top: auto;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(380px, 1fr);
  align-items: center;
  gap: 30px;
}

.contact-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 24px;
  border-radius: var(--radius-xl);
}

.contact-card .button {
  grid-column: 1 / -1;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 34px 0 44px;
  color: var(--muted);
  border-top: 1px solid rgba(255,255,255,0.12);
}

.footer p {
  margin: 0;
}

.footer a {
  font-weight: 850;
  color: var(--text);
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  max-width: min(360px, calc(100% - 40px));
  padding: 14px 16px;
  border-radius: 16px;
  color: #fff;
  font-weight: 850;
  background: rgba(8,17,31,0.92);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 18px 45px rgba(0,0,0,0.34);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

body.clean {
  color: var(--text-dark);
  --text: #101827;
  --muted: #5f6b7f;
  --border: rgba(15, 23, 42, 0.13);
  background:
    radial-gradient(circle at 12% 8%, rgba(var(--primary-rgb), 0.16), transparent 32rem),
    radial-gradient(circle at 88% 2%, rgba(var(--accent-rgb), 0.18), transparent 30rem),
    linear-gradient(135deg, #f8fbff 0%, #eef6ff 48%, #f8fafc 100%);
}

body.clean .topbar,
body.clean .dashboard-card,
body.clean .builder-panel,
body.clean .output-card,
body.clean .feature-grid article,
body.clean .price-card,
body.clean .contact-card,
body.clean .benefits div {
  background: rgba(255,255,255,0.76);
  box-shadow: 0 18px 55px rgba(47, 67, 110, 0.15);
}

body.clean input,
body.clean select,
body.clean textarea,
body.clean pre {
  color: var(--text-dark);
  background: rgba(255,255,255,0.78);
}

body.clean .button-secondary,
body.clean .button-ghost,
body.clean .palette-button,
body.clean .output-actions button,
body.clean .nav {
  color: var(--text-dark);
  background: rgba(255,255,255,0.72);
}

@media (max-width: 1050px) {
  .hero,
  .builder-shell,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-showcase {
    min-height: 700px;
  }

  .dashboard-card {
    right: 50%;
    transform: translateX(50%);
  }

  .phone-floating {
    left: 50%;
    transform: translateX(-50%) rotate(-2deg);
  }

  .preview-sticky {
    position: static;
  }

  .phone-builder {
    display: none;
  }

  .benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid,
  .price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .container,
  .topbar {
    width: min(100% - 24px, var(--container));
  }

  .topbar {
    grid-template-columns: auto auto;
    border-radius: 24px;
  }

  .menu-button {
    display: block;
    justify-self: end;
  }

  .nav,
  .nav-cta {
    display: none;
  }

  .topbar.open .nav {
    grid-column: 1 / -1;
    display: grid;
    justify-self: stretch;
    border-radius: 18px;
    padding: 10px;
  }

  .topbar.open .nav a {
    text-align: center;
  }

  .hero {
    padding-top: 58px;
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  h2 {
    font-size: clamp(2.05rem, 10vw, 3.1rem);
  }

  .hero-metrics,
  .form-grid,
  .color-row,
  .feature-toggles,
  .benefits,
  .feature-grid,
  .price-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero-showcase {
    min-height: 620px;
  }

  .dashboard-card {
    position: relative;
    top: 0;
    right: auto;
    width: 100%;
    transform: none;
  }

  .phone-floating {
    position: relative;
    left: auto;
    bottom: auto;
    margin: 22px auto 0;
    transform: none;
    width: min(320px, 96%);
  }

  .phone-screen {
    min-height: 600px;
  }

  .builder,
  .features,
  .pricing,
  .contact {
    padding: 64px 0;
  }

  .builder-panel,
  .output-card,
  .price-card,
  .contact-card {
    padding: 20px;
  }

  .price-card.highlighted {
    transform: none;
  }

  .footer {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .brand-text small {
    display: none;
  }

  .hero-actions,
  .builder-actions,
  .output-actions {
    display: grid;
  }

  .button,
  .output-actions button,
  .palette-button {
    width: 100%;
  }
}

body.neon {
  background:
    radial-gradient(circle at 18% 10%, rgba(var(--primary-rgb), 0.55), transparent 29rem),
    radial-gradient(circle at 82% 5%, rgba(var(--accent-rgb), 0.50), transparent 30rem),
    linear-gradient(135deg, #070815 0%, #111132 50%, #05050d 100%);
}

body.neon .dashboard-card,
body.neon .builder-panel,
body.neon .output-card,
body.neon .feature-grid article,
body.neon .price-card,
body.neon .contact-card,
body.neon .benefits div {
  box-shadow: 0 24px 70px rgba(var(--primary-rgb), 0.18), 0 0 0 1px rgba(var(--accent-rgb), 0.12) inset;
}

body.warm {
  background:
    radial-gradient(circle at 12% 8%, rgba(var(--primary-rgb), 0.34), transparent 32rem),
    radial-gradient(circle at 88% 2%, rgba(var(--accent-rgb), 0.32), transparent 30rem),
    linear-gradient(135deg, #120b16 0%, #1f1325 45%, #0f1017 100%);
}
