/* Liefle landing — pure CSS */
*, *::before, *::after { box-sizing: border-box; }
:root {
  --bg: #0b0c10;
  --bg-2: #111218;
  --surface: #14161d;
  --surface-2: #1b1e27;
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.16);
  --text: #f4f4f6;
  --muted: #9aa0ad;
  --accent: #c6ff3d;
  --accent-ink: #0b0c10;
  --grad-a: #c6ff3d;
  --grad-b: #7ef0a0;
  --grad-c: #4ad6ff;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 30px 60px -20px rgba(0,0,0,.6);
  --font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
}

html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.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; }

/* Background ambience */
.bg-grid {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  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: 56px 56px;
  mask-image: radial-gradient(ellipse at top, black 30%, transparent 75%);
}
.bg-glow {
  position: fixed; top: -200px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 600px; pointer-events: none; z-index: 0;
  background: radial-gradient(closest-side, rgba(198,255,61,0.18), transparent 70%);
  filter: blur(40px);
}

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px;
  backdrop-filter: blur(14px);
  background: rgba(11,12,16,0.6);
  border-bottom: 1px solid var(--border);
}
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; letter-spacing: -0.01em; }
.brand-footer { display: inline-flex; align-items: center; gap: 8px; letter-spacing: -0.01em; }
.brand-mark { color: var(--accent); font-size: 18px; }
.brand-name { font-size: 18px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--muted); font-size: 14px; transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; gap: 10px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 14px; padding: 10px 16px;
  border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .12s ease, background .15s, border-color .15s, color .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #d6ff66; }
.btn-ghost { color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,0.06); }
.btn-outline { border-color: var(--border-strong); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 14px 22px; font-size: 15px; }

.link {
  background: none; border: 0; color: var(--muted); cursor: pointer;
  font: inherit; padding: 0; text-decoration: underline; text-underline-offset: 4px;
}
.link:hover { color: var(--text); }

/* Hero */
.hero {
  position: relative; z-index: 1;
  max-width: 1100px; margin: 0 auto;
  padding: 96px 24px 80px;
  text-align: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border: 1px solid var(--border-strong);
  border-radius: 999px; font-size: 12px; color: var(--muted);
  background: rgba(255,255,255,0.02);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(198,255,61,0.15); }
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(44px, 7vw, 92px);
  line-height: 1.02; letter-spacing: -0.02em;
  margin: 22px auto 18px; max-width: 14ch;
  font-weight: 400;
}
.grad {
  background: linear-gradient(90deg, var(--grad-a), var(--grad-b) 50%, var(--grad-c));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-style: italic;
}
.lede { color: var(--muted); max-width: 56ch; margin: 0 auto; font-size: 17px; }
.lede strong { color: var(--text); font-weight: 600; }

/* Domain widget */
.domain-card {
  margin: 36px auto 0; max-width: 620px;
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
  padding: 14px; box-shadow: var(--shadow);
  text-align: left;
}
.domain-row {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 999px; padding: 6px 6px 6px 18px;
}
.prefix { color: var(--muted); font-size: 14px; }
#domain {
  flex: 1; background: transparent; border: 0; outline: none;
  color: var(--text); font: 500 16px var(--font);
  padding: 10px 4px;
}
#domain::placeholder { color: rgba(255,255,255,0.3); }
.domain-toggle { padding: 10px 6px 4px; font-size: 13px; }
.domain-result {
  margin-top: 12px; padding: 14px 16px;
  border-radius: 12px; border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  font-size: 14px; color: var(--muted);
  animation: pop .2s ease-out;
}
.domain-result.ok { border-color: rgba(198,255,61,0.4); color: var(--text); }
.domain-result code {
  display: inline-block; padding: 2px 8px; margin: 0 2px;
  background: rgba(255,255,255,0.06); border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px;
  color: var(--accent);
}
@keyframes pop { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* Proof */
.proof {
  margin: 56px auto 0; max-width: 720px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  border-top: 1px solid var(--border); padding-top: 32px;
}
.proof > div { display: flex; flex-direction: column; gap: 4px; }
.proof strong { font-family: var(--serif); font-size: 36px; font-weight: 400; letter-spacing: -0.02em; }
.proof span { color: var(--muted); font-size: 13px; }

/* Sections */
.section { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; padding: 96px 24px; }
.section-head { text-align: center; margin-bottom: 56px; }
.kicker {
  display: inline-block; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.section h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(34px, 5vw, 56px); letter-spacing: -0.02em;
  margin: 0 auto; max-width: 18ch; line-height: 1.05;
}
.section-head .sub { color: var(--muted); margin-top: 14px; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
.step {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  display: flex; flex-direction: column;
  transition: transform .2s ease, border-color .2s ease;
}
.step:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.step-num { font-family: var(--serif); font-size: 14px; color: var(--accent); letter-spacing: 0.1em; }
.step h3 { font-size: 22px; margin: 10px 0 8px; letter-spacing: -0.01em; }
.step p { color: var(--muted); font-size: 14.5px; margin: 0 0 22px; }
.step-mock {
  margin-top: auto; border: 1px solid var(--border); border-radius: 12px;
  background: var(--bg-2); padding: 14px; font-size: 12.5px;
}
.mock-row { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed var(--border); color: var(--muted); }
.mock-row:last-of-type { border-bottom: 0; }
.mock-row b { color: var(--text); font-weight: 600; }
.mock-status { margin-top: 10px; font-weight: 600; }
.mock-status.ok { color: var(--accent); }

.templates { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 8px; }
.tpl {
  aspect-ratio: 4/3; border-radius: 8px; position: relative;
  display: flex; align-items: flex-end; padding: 8px;
  font-size: 11px; color: rgba(0,0,0,0.7); font-weight: 600;
}
.tpl-1 { background: linear-gradient(135deg, #f4d35e, #ee964b); }
.tpl-2 { background: linear-gradient(135deg, #f7c6d9, #d4a5e8); }
.tpl-3 { background: linear-gradient(135deg, #a8edea, #fed6e3); }
.tpl-4 { background: linear-gradient(135deg, #2e2e3a, #555); color: rgba(255,255,255,0.9); }

.publish { display: flex; flex-direction: column; gap: 10px; }
.pub-bar { display: flex; gap: 4px; }
.pub-bar span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.15); }
.pub-bar span:first-child { background: #ff5f57; }
.pub-bar span:nth-child(2) { background: #febc2e; }
.pub-bar span:nth-child(3) { background: #28c840; }
.pub-url {
  background: var(--bg); border: 1px solid var(--border); border-radius: 6px;
  padding: 6px 10px; font-family: ui-monospace, monospace; color: var(--muted);
}
.pub-cta {
  background: var(--accent); color: var(--accent-ink); text-align: center;
  padding: 8px; border-radius: 6px; font-weight: 600;
}

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan {
  position: relative;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 28px;
  display: flex; flex-direction: column;
}
.plan h3 { margin: 0; font-size: 18px; color: var(--muted); font-weight: 500; }
.price { display: flex; align-items: baseline; gap: 2px; margin: 12px 0 4px; }
.price .cur { font-size: 22px; color: var(--muted); }
.price .amt { font-family: var(--serif); font-size: 72px; line-height: 1; font-weight: 400; letter-spacing: -0.03em; }
.price .per { color: var(--muted); font-size: 14px; margin-left: 4px; }
.plan-tag { color: var(--muted); font-size: 14px; margin: 0 0 22px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.plan li { font-size: 14px; padding-left: 22px; position: relative; color: var(--text); }
.plan li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 12px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.plan .btn { margin-top: auto; }
.plan-featured {
  background: linear-gradient(180deg, #1a1d25, #14161d);
  border-color: rgba(198,255,61,0.4);
  box-shadow: 0 30px 80px -30px rgba(198,255,61,0.25);
}
.badge {
  position: absolute; top: -12px; right: 24px;
  background: var(--accent); color: var(--accent-ink);
  font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 999px;
  letter-spacing: 0.04em; text-transform: uppercase;
}

/* FAQ */
.faq-list { max-width: 720px; margin: 0 auto; display: grid; gap: 12px; }
.faq-list details {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 18px 22px;
  transition: border-color .2s;
}
.faq-list details[open] { border-color: var(--border-strong); }
.faq-list summary {
  cursor: pointer; font-weight: 600; font-size: 15.5px;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq-list summary::after { content: "+"; color: var(--accent); font-size: 22px; transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list p { color: var(--muted); margin: 12px 0 0; font-size: 14.5px; }
.faq-list code { background: rgba(255,255,255,0.06); padding: 2px 6px; border-radius: 4px; font-size: 13px; color: var(--accent); }

/* CTA */
.cta { text-align: center; }
.cta p { color: var(--muted); margin: 14px 0 28px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 32px; display: flex; justify-content: space-between; align-items: center;
  color: var(--muted); font-size: 13px;
  position: relative; z-index: 1;
}
.footer-links { display: flex; gap: 22px; }
.footer-links a:hover { color: var(--text); }

/* Responsive */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .steps, .plans { grid-template-columns: 1fr; }
  .proof { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .proof strong { font-size: 28px; }
  .hero { padding: 64px 20px 56px; }
  .section { padding: 72px 20px; }
  .footer { flex-direction: column; gap: 14px; }
  .domain-row { flex-wrap: wrap; }
}
