/* Haoting AI — official site stylesheet */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0a0f;
  --surface: #13131c;
  --border: #1e1e2e;
  --accent: #6c63ff;
  --accent2: #00d4ff;
  --text: #e8e8f0;
  --muted: #888899;
  --radius: 12px;
  --max: 1100px;
}

html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

/* NAV */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(10,10,15,0.92);
  backdrop-filter: blur(12px);
  z-index: 100;
}
.logo {
  font-size: 1.35rem;
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: .9rem; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: opacity .2s;
}
.nav-cta:hover { opacity: .85; }

/* breadcrumb */
.breadcrumb { max-width: var(--max); margin: 18px auto 0; padding: 0 24px; font-size: .8rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--text); }

/* HERO */
.hero { text-align: center; padding: 90px 24px 60px; max-width: 880px; margin: 0 auto; }
.hero-badge {
  display: inline-block;
  background: rgba(108,99,255,.15);
  border: 1px solid rgba(108,99,255,.4);
  color: var(--accent);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.15; margin-bottom: 20px; }
.hero h1 span, .grad {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p.lede { font-size: 1.15rem; color: var(--muted); max-width: 600px; margin: 0 auto 36px; }
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity .2s, transform .15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover { opacity: .9; transform: translateY(-2px); }
.btn-secondary {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .2s;
}
.btn-secondary:hover { border-color: var(--accent); }
.hero-note { margin-top: 18px; font-size: .82rem; color: var(--muted); }

/* PLATFORMS */
.platforms { display: flex; justify-content: center; gap: 28px; padding: 16px 24px 56px; flex-wrap: wrap; }
.platform-badge { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .88rem; }
.platform-badge svg { width: 18px; height: 18px; fill: var(--muted); }

/* STATS */
.stats { display: flex; justify-content: center; gap: 60px; padding: 40px 24px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.stat { text-align: center; }
.stat-num { font-size: 2rem; font-weight: 800; background: linear-gradient(135deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { font-size: .85rem; color: var(--muted); margin-top: 4px; }

/* SECTION helpers */
section.wrap { max-width: var(--max); margin: 80px auto; padding: 0 24px; }
.section-label { text-align: center; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.section-title { text-align: center; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 48px; }

/* FEATURES */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.feature-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: border-color .2s; }
.feature-card:hover { border-color: var(--accent); }
.feature-icon { width: 44px; height: 44px; background: rgba(108,99,255,.15); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: .9rem; color: var(--muted); line-height: 1.6; }

/* DOWNLOAD */
.download-section { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 80px 24px; text-align: center; }
.download-section h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 12px; }
.download-section > p { color: var(--muted); margin-bottom: 36px; font-size: 1rem; }
.download-cards { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; max-width: 820px; margin: 0 auto 24px; }
.dl-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 32px; min-width: 190px; text-decoration: none; color: var(--text); transition: border-color .2s, transform .15s; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.dl-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.dl-card .os-icon { font-size: 2rem; }
.dl-card .os-name { font-weight: 700; font-size: .95rem; }
.dl-card .os-ver { font-size: .78rem; color: var(--muted); }
.dl-card .os-size { font-size: .72rem; color: var(--accent); }
.dl-note { font-size: .8rem; color: var(--muted); }

/* PROSE / SEO content */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin: 40px 0 16px; }
.prose h3 { font-size: 1.15rem; font-weight: 700; margin: 28px 0 10px; }
.prose p { color: var(--muted); margin-bottom: 16px; }
.prose ul { color: var(--muted); margin: 0 0 18px 22px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--accent2); text-decoration: none; }
.prose a:hover { text-decoration: underline; }
.code-block { background: #0d0d14; border: 1px solid var(--border); border-radius: 10px; padding: 18px 20px; overflow-x: auto; margin: 4px 0 18px; }
.code-block code { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: .82rem; color: #c9d1ff; white-space: pre; line-height: 1.7; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 20px; margin-top: 16px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.step .num { font-size: 1.4rem; font-weight: 800; color: var(--accent); margin-bottom: 8px; }
.step h3 { font-size: 1rem; margin-bottom: 6px; }
.step p { font-size: .88rem; color: var(--muted); }

/* PRICING */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; align-items: stretch; }
.price-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; transition: border-color .2s, transform .15s; }
.price-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.price-card.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 20px 50px -20px rgba(108,99,255,.5); }
.price-tag-pop { align-self: flex-start; background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 12px; border-radius: 100px; margin-bottom: 14px; }
.price-card h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 4px; }
.price-card .blurb { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.price-amount { font-size: 2.4rem; font-weight: 800; line-height: 1; }
.price-amount .cur { font-size: 1.3rem; vertical-align: top; }
.price-amount .per { font-size: .85rem; font-weight: 500; color: var(--muted); }
.price-list { list-style: none; margin: 22px 0 26px; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.price-list li { font-size: .9rem; color: var(--text); padding-left: 26px; position: relative; }
.price-list li::before { content: "✔"; position: absolute; left: 0; color: var(--accent2); font-weight: 700; }
.price-list li.usage { color: var(--muted); }
.price-card .btn-primary, .price-card .btn-secondary { margin-top: auto; justify-content: center; }

/* BITCOIN PAYMENT */
.btc-box { max-width: 720px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; text-align: center; }
.btc-box .btc-head { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 1.3rem; font-weight: 800; margin-bottom: 8px; }
.btc-box .btc-head svg { width: 26px; height: 26px; fill: #f7931a; }
.coin-icon { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 1.05rem; }
.btc-box > p { color: var(--muted); font-size: .92rem; margin-bottom: 24px; }
.btc-plan-select { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.btc-plan-select button { background: var(--bg); border: 1px solid var(--border); color: var(--text); padding: 9px 16px; border-radius: 8px; font-size: .85rem; font-weight: 600; cursor: pointer; transition: border-color .2s, background .2s; }
.btc-plan-select button.active { border-color: var(--accent); background: rgba(108,99,255,.15); }
.btc-amount { font-size: 1.6rem; font-weight: 800; margin-bottom: 24px; }
.btc-amount span { color: var(--accent2); }
.btc-qr { width: 180px; height: 180px; margin: 0 auto 20px; background: #fff; border-radius: 10px; display: flex; align-items: center; justify-content: center; padding: 10px; }
.btc-qr img { width: 100%; height: 100%; }
.btc-qr.placeholder { border: 2px dashed var(--border); background: var(--bg); color: var(--muted); font-size: .78rem; padding: 16px; }
.btc-addr-row { display: flex; gap: 8px; max-width: 480px; margin: 0 auto 8px; }
.btc-addr { flex: 1; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px; font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: .82rem; color: var(--text); overflow: auto; white-space: nowrap; text-align: left; }
.btc-copy { background: var(--accent); color: #fff; border: none; border-radius: 8px; padding: 0 18px; font-size: .85rem; font-weight: 700; cursor: pointer; transition: opacity .2s; }
.btc-copy:hover { opacity: .85; }
.btc-note { font-size: .8rem; color: var(--muted); margin-top: 18px; line-height: 1.6; }
.btc-note a { color: var(--accent2); text-decoration: none; }
.checkout-step { max-width: 480px; margin: 0 auto 22px; text-align: left; }
.checkout-label { display: block; font-size: .85rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.email-field { width: 100%; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px; font-size: .95rem; color: var(--text); font-family: inherit; }
.email-field:focus { outline: none; border-color: var(--accent); }
#pay .btc-qr, #pay .btc-addr-row { margin-left: auto; margin-right: auto; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); padding: 22px 0; }
.faq-item h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.faq-item p { font-size: .92rem; color: var(--muted); line-height: 1.65; }

/* CTA strip */
.cta-strip { text-align: center; padding: 70px 24px; }
.cta-strip h2 { font-size: clamp(1.5rem,3vw,2.2rem); font-weight: 800; margin-bottom: 14px; }
.cta-strip p { color: var(--muted); margin-bottom: 28px; }

/* FOOTER */
footer { border-top: 1px solid var(--border); padding: 36px 40px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
footer .logo { font-size: 1.1rem; }
footer p { font-size: .82rem; color: var(--muted); }
footer nav, .foot-links { display: flex; gap: 20px; border: none; padding: 0; position: static; background: none; }
footer a { color: var(--muted); text-decoration: none; font-size: .82rem; }
footer a:hover { color: var(--text); }

@media (max-width: 600px) {
  nav { padding: 14px 20px; }
  .nav-links { display: none; }
  footer { flex-direction: column; text-align: center; }
  .stats { gap: 36px; }
}
