.nav-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: all .3s
}
.nav-nav.nav-scrolled {
  background: #0a0a0fd9;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 40px
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.02em;
  white-space: nowrap
}
.nav-logo strong {
  color: #a78bfa
}
.nav-logo-icon {
  font-size: 24px;
  color: var(--accent);
  filter: drop-shadow(0 0 8px var(--accent))
}
.nav-logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 6px;
  filter: drop-shadow(0 0 6px var(--accent-glow))
}
.nav-links {
  display: flex;
  gap: 32px;
  margin-left: auto;
  margin-right: 24px
}
.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  transition: color .2s;
  letter-spacing: .02em
}
.nav-links a:hover {
  color: var(--text)
}
.hero-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden
}
.hero-grid {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: linear-gradient(rgba(124,58,237,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(124,58,237,.06) 1px,transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%,black,transparent);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%,black,transparent)
}
.hero-orb1 {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle,rgba(124,58,237,.18) 0%,transparent 70%);
  top: -100px;
  left: -100px;
  pointer-events: none
}
.hero-orb2 {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle,rgba(6,182,212,.12) 0%,transparent 70%);
  bottom: 0;
  right: 0;
  pointer-events: none
}
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  max-width: 720px
}
.hero-title {
  font-size: clamp(42px,6vw,76px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.04em
}
.hero-gradient {
  background: linear-gradient(135deg,#a78bfa,#06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text
}
.hero-sub {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.7;
  font-family: Noto Sans SC,sans-serif;
  font-weight: 400
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}
.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  width: 100%;
  flex-wrap: wrap
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px
}
.hero-stat-val {
  font-size: 28px;
  font-weight: 800;
  color: #a78bfa;
  letter-spacing: -.03em;
  line-height: 1
}
.hero-stat-label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500
}
.features-section {
  padding: 100px 0
}
.features-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 64px
}
.features-title {
  font-size: clamp(28px,4vw,44px);
  font-weight: 800;
  letter-spacing: -.03em
}
.features-sub {
  color: var(--muted);
  font-size: 17px;
  font-family: Noto Sans SC,sans-serif
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(260px,1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden
}
.features-card {
  background: var(--bg2);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background .2s
}
.features-card:hover {
  background: var(--bg3)
}
.features-icon {
  font-size: 28px;
  line-height: 1
}
.features-card-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.01em
}
.features-card-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  font-family: Noto Sans SC,sans-serif
}
.how-section {
  padding: 100px 0;
  position: relative
}
.how-glow {
  position: absolute;
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse,rgba(6,182,212,.08) 0%,transparent 70%);
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none
}
.how-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 56px
}
.how-title {
  font-size: clamp(28px,4vw,44px);
  font-weight: 800;
  letter-spacing: -.03em
}
.how-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 680px
}
.how-step {
  display: flex;
  gap: 28px
}
.how-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0
}
.how-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg3);
  border: 1px solid rgba(124,58,237,.4);
  color: #a78bfa;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--mono)
}
.how-line {
  width: 1px;
  flex: 1;
  min-height: 32px;
  background: linear-gradient(to bottom,#7c3aed4d,#7c3aed0d);
  margin: 4px 0
}
.how-body {
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 8px
}
.how-step:last-child .how-body {
  padding-bottom: 0
}
.how-step-title {
  font-size: 19px;
  font-weight: 700;
  padding-top: 10px;
  letter-spacing: -.02em
}
.how-step-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  font-family: Noto Sans SC,sans-serif
}
.api-section {
  padding: 100px 0;
  position: relative
}
.api-glow {
  position: absolute;
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse,rgba(124,58,237,.07) 0%,transparent 70%);
  left: -200px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none
}
.api-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  margin-bottom: 56px
}
.api-title {
  font-size: clamp(28px,4vw,44px);
  font-weight: 800;
  letter-spacing: -.03em
}
.api-sub {
  color: var(--muted);
  font-size: 16px;
  font-family: Noto Sans SC,sans-serif
}
.api-demo {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg2)
}
.api-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  padding: 0 20px
}
.api-tab {
  padding: 14px 20px;
  background: none;
  border: none;
  color: var(--muted);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all .2s;
  margin-bottom: -1px
}
.api-tab:hover {
  color: var(--text)
}
.api-active-tab {
  color: #a78bfa;
  border-bottom-color: #a78bfa
}
.api-panels {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: start
}
.api-panel {
  padding: 0
}
.api-panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg3)
}
.api-method {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 4px;
  background: #7c3aed33;
  color: #a78bfa
}
.api-method.api-ok {
  background: #22c55e26;
  color: var(--green)
}
.api-path {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted)
}
.api-code {
  padding: 24px 20px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.7;
  color: #c4b5fd;
  overflow-x: auto;
  white-space: pre
}
.api-arrow {
  padding: 24px 16px;
  color: var(--muted);
  font-size: 20px;
  align-self: center;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  background: var(--bg);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center
}
@media (max-width: 768px){
.api-panels {
  grid-template-columns: 1fr
}
.api-arrow {
  transform: rotate(90deg);
  border: none;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 12px
}
}
.pricing-section {
  padding: 100px 0
}
.pricing-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  margin-bottom: 64px
}
.pricing-title {
  font-size: clamp(28px,4vw,44px);
  font-weight: 800;
  letter-spacing: -.03em
}
.pricing-sub {
  color: var(--muted);
  font-size: 16px;
  font-family: Noto Sans SC,sans-serif
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 24px;
  align-items: start
}
.pricing-card {
  position: relative;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: border-color .2s
}
.pricing-card:hover {
  border-color: #ffffff1f
}
.pricing-highlight {
  border-color: #7c3aed80;
  background: linear-gradient(135deg,rgba(124,58,237,.08) 0%,var(--bg2) 60%);
  box-shadow: 0 0 40px #7c3aed1f
}
.pricing-highlight:hover {
  border-color: #7c3aedb3
}
.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translate(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap
}
.pricing-plan-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em
}
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 6px
}
.pricing-price-num {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1
}
.pricing-period {
  font-size: 15px;
  color: var(--muted)
}
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  font-family: Noto Sans SC,sans-serif
}
.pricing-check {
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0
}
.footer-footer {
  position: relative;
  border-top: 1px solid var(--border);
  padding-top: 80px;
  overflow: hidden
}
.footer-glow {
  position: absolute;
  width: 800px;
  height: 200px;
  background: radial-gradient(ellipse,rgba(124,58,237,.06) 0%,transparent 70%);
  bottom: 0;
  left: 50%;
  transform: translate(-50%);
  pointer-events: none
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  padding-bottom: 60px
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.02em
}
.footer-logo strong {
  color: #a78bfa
}
.footer-logo-icon {
  font-size: 26px;
  color: var(--accent);
  filter: drop-shadow(0 0 8px var(--accent))
}
.footer-tagline {
  color: var(--muted);
  font-size: 14px;
  font-family: Noto Sans SC,sans-serif;
  line-height: 1.6;
  max-width: 320px
}
.footer-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px
}
.footer-tech-tag {
  font-family: var(--mono);
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 4px;
  background: #ffffff0a;
  border: 1px solid var(--border);
  color: var(--muted)
}
.footer-links {
  display: flex;
  gap: 48px
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: 4px
}
.footer-col a {
  font-size: 14px;
  color: var(--muted);
  transition: color .2s;
  font-family: Noto Sans SC,sans-serif
}
.footer-col a:hover {
  color: var(--text)
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted)
}
@media (max-width: 768px){
.footer-inner {
  grid-template-columns: 1fr;
  gap: 40px
}
.footer-bottom {
  flex-direction: column;
  gap: 8px;
  text-align: center
}
}
*,*:before,*:after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}
:root {
  --bg: #0a0a0f;
  --bg2: #0f0f18;
  --bg3: #14141f;
  --border: rgba(255,255,255,.07);
  --text: #e8e8f0;
  --muted: #7070a0;
  --accent: #7c3aed;
  --accent2: #06b6d4;
  --accent-glow: rgba(124,58,237,.35);
  --green: #22c55e;
  --red: #ef4444;
  --yellow: #f59e0b;
  --radius: 12px;
  --font: "Syne", "Noto Sans SC", sans-serif;
  --mono: "JetBrains Mono", monospace
}
html {
  scroll-behavior: smooth
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden
}
a {
  color: inherit;
  text-decoration: none
}
.app {
  min-height: 100vh
}
.app:before {
  content: "";
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  content: ""
}
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(124,58,237,.4);
  background: #7c3aed1a;
  color: #a78bfa;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: all .2s
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 24px var(--accent-glow)
}
.btn-primary:hover {
  background: #6d28d9;
  box-shadow: 0 0 36px var(--accent-glow);
  transform: translateY(-1px)
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border)
}
.btn-outline:hover {
  border-color: #fff3;
  background: #ffffff0a
}
section {
  position: relative;
  z-index: 1
}

:focus-visible { outline: 2px solid #a78bfa; outline-offset: 4px; }
html { scroll-padding-top: 76px; }
.nav-login { padding: 9px 20px; font-size: 14px; white-space: nowrap; }
.pricing-cta { width: 100%; justify-content: center; margin-top: auto; }
.pricing-options { display: flex; flex-wrap: wrap; gap: 8px; color: #c9bded; font-size: 13px; }
.pricing-options span { background: #7c3aed18; border-radius: 4px; padding: 2px 8px; }
.pricing-grid { max-width: 900px; margin-inline: auto; align-items: stretch; }
.api-panel { min-width: 0; }
.api-tabs { display: flex; align-items: center; }
.copy-example { margin-left: auto; border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 13px; padding: 10px 16px; cursor: pointer; }
.api-code { overflow-x: auto; }
.hero-content { max-width: min(720px,100%); }
.nav-menu { display: none; }
main { overflow-x: clip; }
.footer-footer { overflow: hidden; }
@media (max-width: 760px) {
  .nav-inner { justify-content: space-between; gap: 12px; }
  .nav-menu { margin-left: auto; display: block; padding: 6px 10px; border-radius: 6px; border: 1px solid var(--border); background: var(--bg2); color: var(--text); font-size: 15px; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 16px 24px; margin: 0; gap: 22px; background: var(--bg2); border-bottom: 1px solid var(--border); flex-wrap: wrap; }
  .nav-links.open { display: flex; }
  .hero-stats { gap: 20px; }
  .hero-content { gap: 22px; }
  .hero-sub br { display: none; }
  .footer-links { flex-wrap: wrap; }
  .copy-example { padding-inline: 8px; }
  .api-tabs { flex-wrap: wrap; }
  .api-tab { padding-inline: 12px; }
  .features-grid, .pricing-grid { grid-template-columns: minmax(0,1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
