/* LitPhrase — dark neon, mobile-first */
:root {
  --bg: #0a0a0f;
  --bg-elevated: #12121a;
  --bg-card: #16161f;
  --text: #f2f2f7;
  --text-muted: #9a9aad;
  --neon: #ff4fd8;
  --neon-soft: #ff7ae6;
  --neon-cyan: #4de8ff;
  --neon-glow: 0 0 12px rgba(255, 79, 216, 0.55), 0 0 32px rgba(255, 79, 216, 0.25);
  --cyan-glow: 0 0 12px rgba(77, 232, 255, 0.45);
  --border: rgba(255, 255, 255, 0.08);
  --ok: #5dffb0;
  --warn: #ff6b8a;
  --radius: 14px;
  --max: 720px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--neon-cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(10, 10, 15, 0.85);
  border-bottom: 1px solid var(--border);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.logo {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--text);
  text-decoration: none;
}
.logo span { color: var(--neon); text-shadow: var(--neon-glow); }

.nav-links {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: none;
}
.nav-links a:hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--neon), #c43dff);
  color: #fff;
  box-shadow: var(--neon-glow);
}
.btn-primary:hover { box-shadow: 0 0 18px rgba(255, 79, 216, 0.7), 0 0 40px rgba(255, 79, 216, 0.35); color: #fff; }

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(77, 232, 255, 0.45);
  box-shadow: var(--cyan-glow);
}
.btn-secondary:hover { border-color: var(--neon-cyan); color: var(--neon-cyan); }

.btn-ghost {
  background: var(--bg-elevated);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Hero */
.hero {
  padding: 3.5rem 0 2.5rem;
  text-align: center;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 10% 20% auto;
  height: 180px;
  background: radial-gradient(ellipse, rgba(255, 79, 216, 0.18), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }

.hero h1 {
  font-size: clamp(2.2rem, 8vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.hero h1 .glow {
  color: var(--neon);
  text-shadow: var(--neon-glow);
}

.hero .sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 34em;
  margin-inline: auto;
}

.price-pill {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 79, 216, 0.12);
  border: 1px solid rgba(255, 79, 216, 0.35);
  color: var(--neon-soft);
  font-size: 0.85rem;
  font-weight: 600;
}

/* Sections */
section { padding: 2.25rem 0; }

.section-title {
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
  text-align: center;
}

/* Benefits */
.benefits {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .benefits { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: var(--neon-soft);
}
.card p { color: var(--text-muted); font-size: 0.95rem; }

/* Size / craft callout */
.callout {
  background: linear-gradient(160deg, rgba(77, 232, 255, 0.08), rgba(255, 79, 216, 0.08));
  border: 1px solid rgba(77, 232, 255, 0.25);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  text-align: center;
}
.callout strong { color: var(--neon-cyan); }
.callout p { color: var(--text-muted); margin-top: 0.4rem; font-size: 0.95rem; }

/* Trust bar */
.trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.75rem;
  padding: 1rem;
  background: var(--bg-elevated);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}
.trust span {
  white-space: nowrap;
}
.trust span::before {
  content: "·";
  margin-right: 0.75rem;
  opacity: 0.5;
}
.trust span:first-child::before { content: none; margin: 0; }

/* Policy notes */
.policy {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.policy + .policy { margin-top: 0.75rem; }
.policy strong { color: var(--text); }

/* Customize page */
.page-head {
  padding: 2rem 0 0.5rem;
  text-align: center;
}
.page-head h1 {
  font-size: clamp(1.75rem, 6vw, 2.4rem);
  margin-bottom: 0.5rem;
}
.page-head .sub { color: var(--text-muted); }

.preview-stage {
  margin: 1.5rem 0;
  background: #050508;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}
.preview-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255, 79, 216, 0.12), transparent 65%);
  pointer-events: none;
}
.neon-preview {
  font-size: clamp(1.6rem, 7vw, 2.8rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--preview-color, var(--neon));
  text-shadow:
    0 0 8px color-mix(in srgb, var(--preview-color, var(--neon)) 80%, transparent),
    0 0 24px color-mix(in srgb, var(--preview-color, var(--neon)) 50%, transparent),
    0 0 48px color-mix(in srgb, var(--preview-color, var(--neon)) 30%, transparent);
  word-break: break-word;
  text-align: center;
  max-width: 100%;
  position: relative;
  z-index: 1;
}
.neon-preview.is-placeholder {
  opacity: 0.35;
  font-weight: 500;
  letter-spacing: 0.02em;
  font-size: 1.1rem;
  text-shadow: none;
  color: var(--text-muted);
}

.form-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  margin-bottom: 1.5rem;
}

.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text);
}
.field .hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 0.35rem;
}
.field .hint.error { color: var(--warn); }
.field .hint.ok { color: var(--ok); }

.char-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.char-meta .over { color: var(--warn); font-weight: 600; }

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid rgba(255, 79, 216, 0.45);
  border-color: var(--neon);
}
textarea { min-height: 90px; resize: vertical; }

input.is-invalid {
  border-color: var(--warn);
  outline-color: rgba(255, 107, 138, 0.4);
}

.color-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.color-chip {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
  position: relative;
}
.color-chip[aria-checked="true"],
.color-chip.selected {
  border-color: #fff;
  box-shadow: 0 0 0 2px var(--bg), 0 0 14px currentColor;
}
.color-chip:focus-visible { outline: 2px solid var(--neon-cyan); outline-offset: 2px; }

.rules-box {
  background: rgba(77, 232, 255, 0.06);
  border-left: 3px solid var(--neon-cyan);
  padding: 0.9rem 1rem;
  border-radius: 0 10px 10px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.rules-box strong { color: var(--text); }

.cta-stack {
  display: grid;
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.note-box {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 0.75rem;
  background: var(--bg-elevated);
  border-radius: 10px;
  border: 1px dashed var(--border);
  margin-top: 1rem;
}

/* Footer */
.site-footer {
  margin-top: 3rem;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.site-footer a { color: var(--text-muted); }
.site-footer .brand { color: var(--neon-soft); font-weight: 600; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}
