:root {
  --bg: #070b14;
  --bg-soft: #0d1422;
  --panel: rgba(13, 20, 34, 0.72);
  --panel-strong: rgba(16, 25, 42, 0.95);
  --line: rgba(255, 255, 255, 0.09);
  --text: #f4f7ff;
  --muted: #9aa7c2;
  --primary: #6d8cff;
  --primary-strong: #7d6bff;
  --accent: #36d1dc;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --radius: 22px;
  --container: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(109, 140, 255, 0.16), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(54, 209, 220, 0.12), transparent 24%),
    linear-gradient(180deg, #05070d 0%, #08101c 100%);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 90%);
  pointer-events: none;
  z-index: -2;
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.42;
  pointer-events: none;
  z-index: -3;
}

.orb-a {
  width: 340px;
  height: 340px;
  background: rgba(109, 140, 255, 0.4);
  top: 40px;
  left: -80px;
}

.orb-b {
  width: 420px;
  height: 420px;
  background: rgba(54, 209, 220, 0.28);
  right: -100px;
  top: 300px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(7, 11, 20, 0.5);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  box-shadow: 0 10px 24px rgba(109, 140, 255, 0.35);
}

.brand-text {
  font-size: 1.04rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-nav a {
  padding: 10px 14px;
  color: var(--muted);
  transition: 180ms ease;
}

.site-nav a:hover {
  color: var(--text);
}

.nav-console {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: white;
  margin: 4px auto;
}

.hero {
  padding: 72px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 36px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: #d7e0ff;
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 0.92rem;
  margin-bottom: 20px;
}

.hero h1,
.section-heading h2 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.9rem);
}

.hero-text,
.section-heading p,
.feature-card p,
.pricing-card li,
.faq-item p,
.site-footer p {
  color: var(--muted);
}

.hero-text {
  max-width: 58ch;
  margin: 22px 0 28px;
  font-size: 1.03rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: white;
  box-shadow: 0 18px 34px rgba(109, 140, 255, 0.28);
}

.btn-secondary {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
  color: var(--text);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(109, 140, 255, 0.32);
  color: #dbe5ff;
}

.full {
  width: 100%;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.hero-points li {
  position: relative;
  color: #cfdbfb;
  padding-left: 22px;
}

.hero-points li::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  left: 0;
  top: 0.64em;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  box-shadow: 0 0 18px rgba(54, 209, 220, 0.9);
}

.glass-card {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.hero-card .panel {
  border-radius: calc(var(--radius) + 4px);
  padding: 24px;
}

.panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: #d8e4ff;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #44f48f;
  box-shadow: 0 0 18px rgba(68, 244, 143, 0.8);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.metric-grid.compact {
  margin-bottom: 16px;
}

.metric-item {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
}

.metric-item.wide {
  grid-column: 1 / -1;
}

.metric-label {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.metric-item strong {
  font-size: 1.02rem;
}

.hero-stack {
  margin-bottom: 18px;
  padding: 12px;
  border-radius: 18px;
}

.glass-subcard {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
}

.stack-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  color: #d9e4ff;
}

.stack-row:last-child {
  border-bottom: 0;
}

.terminal-preview {
  overflow: hidden;
  border-radius: 18px;
  background: #04070f;
  border: 1px solid rgba(255,255,255,0.08);
}

.terminal-bar {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.terminal-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
}

.terminal-preview pre {
  margin: 0;
  padding: 18px;
  overflow: auto;
  color: #cae3ff;
  font-size: 0.92rem;
}

.feature-section,
.pricing-section,
.contact-section,
.faq-section {
  padding: 58px 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
}

.section-heading.left {
  margin: 0;
  text-align: left;
}

.section-heading h2 {
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  margin-bottom: 14px;
}

.feature-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.pricing-card,
.faq-item {
  border-radius: var(--radius);
}

.feature-card {
  padding: 24px;
}

.feature-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(109, 140, 255, 0.26), rgba(54, 209, 220, 0.18));
  border: 1px solid rgba(255,255,255,0.08);
  color: #d7e3ff;
  font-weight: 700;
}

.feature-card h3,
.pricing-card h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.pricing-card {
  position: relative;
  padding: 28px;
}

.pricing-card.featured {
  background: linear-gradient(180deg, rgba(109, 140, 255, 0.18), rgba(13, 20, 34, 0.84));
  border-color: rgba(126, 144, 255, 0.3);
  transform: translateY(-6px);
}

.plan-badge,
.plan-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.88rem;
}

.plan-tag {
  color: #d8e4ff;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}

.plan-badge {
  position: absolute;
  right: 22px;
  top: 22px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #04111b;
  font-weight: 700;
}

.price {
  margin: 18px 0;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
  margin-left: 6px;
}

.pricing-card ul {
  padding-left: 18px;
  margin: 0 0 26px;
  display: grid;
  gap: 10px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.contact-card {
  padding: 26px;
  border-radius: var(--radius);
}

.contact-label {
  display: inline-flex;
  min-height: 30px;
  padding: 0 12px;
  align-items: center;
  border-radius: 999px;
  margin-bottom: 16px;
  color: #d8e4ff;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 0.88rem;
}

.contact-card h3 {
  margin: 0 0 10px;
  font-size: 1.24rem;
}

.contact-card p {
  color: var(--muted);
  margin: 0 0 18px;
}

.featured-contact {
  background: linear-gradient(180deg, rgba(109, 140, 255, 0.18), rgba(13, 20, 34, 0.84));
  border-color: rgba(126, 144, 255, 0.3);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 18px 20px;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  position: relative;
  padding-right: 26px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -2px;
  color: var(--accent);
  font-size: 1.35rem;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 12px 0 0;
}

.site-footer {
  padding: 32px 0 44px;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 30px;
}

.footer-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover,
.faq-item a:hover {
  color: var(--text);
}

@media (max-width: 980px) {
  .hero-grid,
  .faq-grid,
  .feature-grid,
  .pricing-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 52px;
  }

  .pricing-card.featured {
    transform: none;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border-radius: 22px;
    background: rgba(7, 11, 20, 0.96);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 14px;
    border-radius: 14px;
  }

  .nav-console {
    text-align: center;
  }

  .hero h1 {
    font-size: 2.45rem;
  }

  .section-heading h2 {
    font-size: 2rem;
  }

  .footer-wrap {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  :root {
    --container: min(100vw - 28px, 1180px);
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .metric-item.wide {
    grid-column: auto;
  }

  .hero-card .panel,
  .feature-card,
  .pricing-card,
  .faq-item {
    padding: 20px;
  }
}
