/* AnyData landing page — dark, technical, restrained. Inspired by the category's visual language, own identity. */
:root {
  --bg: #0e0f14;
  --surface: #15171f;
  --surface-2: #1b1e28;
  --ink: #f1f2f6;
  --ink-2: #c3c6d1;
  --ink-3: #9a9eac;
  --line: #262833;
  --line-strong: #383b4a;
  --accent: #8b8dff;
  --accent-deep: #6d6bff;
  --accent-soft: #1d1f3d;
  --ok: #4ade80;
  --font-sans: "Geist", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "Geist Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --radius: 14px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 99; background: var(--accent); color: #fff; padding: .5rem 1rem; border-radius: 6px; }
code, pre { font-family: var(--font-mono); }
code { font-size: .88em; color: #c9cbff; background: var(--surface-2); padding: .12em .38em; border-radius: 5px; }
pre { margin: 0; overflow-x: auto; font-size: 13px; line-height: 1.7; }
pre code { background: none; padding: 0; color: #dfe2f0; font-size: inherit; }

.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem var(--gutter); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 20; backdrop-filter: blur(12px);
  background: rgba(14,15,20,.86);
}
.brand { color: var(--ink); font-weight: 650; font-size: 1.05rem; letter-spacing: -.02em; display: flex; align-items: center; gap: .55rem; }
.brand:hover { text-decoration: none; }
.tld { color: var(--ink-3); font-weight: 400; }
.logo { width: 26px; height: 26px; border-radius: 7px; background: linear-gradient(135deg, var(--accent), var(--accent-deep)); color: #fff; display: inline-grid; place-items: center; font-weight: 800; font-size: 14px; }
.topbar nav { display: flex; gap: 1.4rem; flex-wrap: wrap; font-size: 13.5px; }
.topbar nav a { color: var(--ink-2); }
.topbar nav a:hover { color: var(--ink); }

main { max-width: 1080px; margin: 0 auto; padding: 0 var(--gutter); }
.hero { padding: clamp(4rem, 9vw, 7.5rem) 0 4.5rem; position: relative; }
.hero::before {
  content: ""; position: absolute; top: -80px; right: -12%; width: 620px; height: 520px; z-index: -1;
  background: radial-gradient(ellipse at center, #6d6bff20 0%, transparent 65%); pointer-events: none;
}
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: 12px; font-family: var(--font-mono); color: var(--ink-3); border: 1px solid var(--line); border-radius: 999px; padding: .35rem .8rem; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); line-height: 1.08; letter-spacing: -.045em; margin: 1.6rem 0 1.2rem; max-width: 18ch; }
h1 em { font-style: normal; background: linear-gradient(100deg, var(--accent), #b9a8ff 60%, var(--accent-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: clamp(1rem, 1.6vw, 1.2rem); color: var(--ink-2); max-width: 62ch; margin: 0 0 2rem; }
.lede strong { color: var(--ink); }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .72rem 1.25rem; border: 1px solid var(--line-strong); border-radius: 9px; color: var(--ink); font-weight: 550; font-size: 14px; }
.btn:hover { text-decoration: none; border-color: var(--accent); background: var(--surface); }
.btn-primary { background: var(--accent); color: #101018; border-color: var(--accent); font-weight: 650; }
.btn-primary:hover { background: #a3a4ff; color: #101018; }
.proof { list-style: none; padding: 0; margin: 2.2rem 0 0; display: flex; gap: 1.6rem; flex-wrap: wrap; color: var(--ink-3); font-size: 13px; }
.proof li::before { content: "✓ "; color: var(--ok); font-family: var(--font-mono); }

section { padding: 3.5rem 0; border-top: 1px solid var(--line); }
.section-head { max-width: 68ch; margin-bottom: 2rem; }
.kicker { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; color: var(--accent); text-transform: uppercase; }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); letter-spacing: -.03em; line-height: 1.2; margin: .7rem 0 .7rem; }
.section-head p { color: var(--ink-2); margin: 0; }

.prompt-box, .code-card, .demo-frame { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.prompt-head { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 1.1rem; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.prompt-title { color: var(--ink); font-weight: 600; }
.prompt-sub { color: var(--ink-3); font-family: var(--font-mono); font-size: 11px; }
.prompt-box pre { padding: 1.2rem 1.1rem; white-space: pre-wrap; word-break: break-word; color: #d8dbf0; }
.code-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1rem; margin-top: 1rem; }
.code-title { padding: .85rem 1.1rem; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: .6rem; }
.pill { font-family: var(--font-mono); font-size: 10px; font-weight: 400; color: var(--accent); border: 1px solid var(--accent-soft); background: var(--accent-soft); padding: .1rem .45rem; border-radius: 999px; }
.code-card pre { padding: 1.1rem; }
.code-note { padding: 0 1.1rem 1rem; margin: .8rem 0 0; font-size: 12.5px; color: var(--ink-3); }

.cap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: .9rem; }
.cap { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); padding: 1.25rem; display: flex; flex-direction: column; gap: .5rem; }
.cap:hover { border-color: var(--line-strong); }
.cap h3 { margin: .3rem 0 0; font-size: 1rem; }
.cap p { margin: 0; color: var(--ink-2); font-size: 13px; flex: 1; }
.cap code { align-self: flex-start; font-size: 11.5px; color: var(--accent); }
.cap-tag { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.price { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-3); }
.cap-free .price { color: var(--ok); }
.cap-foot { font-size: 13px; color: var(--ink-3); margin-top: 1.2rem; }

.demo-frame { padding: 1.5rem; }
.demo-line { display: flex; gap: 1rem; align-items: baseline; border-bottom: 1px solid var(--line); padding-bottom: .9rem; margin-bottom: 1rem; }
.demo-line .who { font-family: var(--font-mono); font-size: 11px; color: var(--accent); text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; }
.demo-line p { margin: 0; font-size: 14px; }
.demo-results { display: grid; gap: .5rem; margin: 1.2rem 0; }
.result { display: flex; gap: .8rem; align-items: center; background: var(--surface-2); border-radius: 9px; padding: .7rem .9rem; }
.result .rank { font-family: var(--font-mono); color: var(--accent); font-size: 12px; }
.result strong { display: block; font-size: 13px; font-weight: 550; }
.result small { color: var(--ink-3); font-size: 11.5px; }
.demo-total { border-bottom: 0; margin: 0; padding: 1rem 0 0; border-top: 1px solid var(--line); }

.rules-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.4rem 2rem; }
.rules-grid h3 { font-size: .98rem; margin: 0 0 .35rem; }
.rules-grid p { margin: 0; color: var(--ink-2); font-size: 13px; }
.cta { text-align: center; padding: 4rem 0 5rem; }
.cta p { color: var(--ink-2); max-width: 55ch; margin: .5rem auto 1.5rem; }
footer { border-top: 1px solid var(--line); padding: 2rem var(--gutter) 3rem; max-width: 1080px; margin: 0 auto; color: var(--ink-3); font-size: 12.5px; }
.footer-brand { display: flex; align-items: center; gap: .5rem; color: var(--ink); font-weight: 600; margin-bottom: .8rem; }
footer nav { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
footer nav a { color: var(--ink-3); font-size: 12px; }
.foot-note { font-size: 11.5px; line-height: 1.6; }

@media (max-width: 640px) {
  .topbar { flex-direction: column; align-items: flex-start; gap: .7rem; }
  .hero { padding-top: 3rem; }
  .proof { flex-direction: column; gap: .4rem; }
}
