:root {
  --bg: #08120f;
  --panel: #101b17;
  --panel-2: #14221d;
  --text: #effaf4;
  --muted: #9ab0a7;
  --line: rgba(255, 255, 255, 0.11);
  --green: #39d98a;
  --cyan: #52d6c9;
  --amber: #ffca6b;
  --red: #ff6b6b;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    "Inter",
    "Microsoft YaHei UI",
    "PingFang SC",
    Arial,
    sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(57, 217, 138, 0.18), transparent 31rem),
    radial-gradient(circle at 78% 8%, rgba(82, 214, 201, 0.16), transparent 26rem),
    linear-gradient(180deg, #08120f 0%, #0b1214 46%, #101210 100%);
  letter-spacing: 0;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 6vw;
  background: rgba(8, 18, 15, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.brand,
.top-actions,
.nav,
.hero-actions,
.status-row,
.footer-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  min-width: 142px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: #06100c;
  font-weight: 900;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  box-shadow: 0 10px 30px rgba(57, 217, 138, 0.25);
}

.brand-text {
  font-size: 17px;
  font-weight: 800;
}

.nav {
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

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

.top-actions {
  gap: 10px;
}

.primary-btn,
.secondary-btn,
.ghost-btn,
.plan-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 750;
  border: 1px solid transparent;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

.primary-btn {
  color: #06100c;
  background: linear-gradient(135deg, var(--green), var(--cyan));
}

.secondary-btn,
.ghost-btn,
.plan-btn {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line);
}

.ghost-btn {
  min-height: 38px;
  padding: 0 14px;
}

.primary-btn:hover,
.secondary-btn:hover,
.ghost-btn:hover,
.plan-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.24);
}

.large {
  min-height: 50px;
  padding: 0 24px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: 70px 6vw 54px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.03;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
}

h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

.hero-text {
  max-width: 680px;
  margin-bottom: 28px;
  color: #c2d3cd;
  font-size: 18px;
  line-height: 1.8;
}

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

.status-row {
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
}

.status-row span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.status-row strong {
  color: var(--text);
}

.hero-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 27, 23, 0.82);
  box-shadow: var(--shadow);
}

.terminal-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid var(--line);
}

.terminal-head span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.terminal-head span:nth-child(1) {
  background: var(--red);
}

.terminal-head span:nth-child(2) {
  background: var(--amber);
}

.terminal-head span:nth-child(3) {
  background: var(--green);
}

.terminal-head em {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

pre {
  margin: 0;
  padding: 24px;
  overflow-x: auto;
  color: #dff8eb;
  font-size: 14px;
  line-height: 1.8;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 6vw;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.trust-band div {
  padding: 22px;
  background: rgba(16, 27, 23, 0.86);
}

.metric {
  display: block;
  margin-bottom: 6px;
  color: var(--green);
  font-size: 28px;
  font-weight: 900;
}

.section {
  padding: 96px 6vw 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.compact {
  margin-bottom: 0;
}

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

.plan-card,
.download-card,
.step,
.model-list,
.faq-list {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 27, 23, 0.8);
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: 24px;
}

.plan-card.featured {
  border-color: rgba(57, 217, 138, 0.65);
  background: linear-gradient(180deg, rgba(57, 217, 138, 0.16), rgba(16, 27, 23, 0.86));
}

.badge {
  position: absolute;
  right: 18px;
  top: 18px;
  padding: 4px 9px;
  color: #06100c;
  border-radius: 999px;
  background: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.plan-subtitle {
  color: var(--muted);
}

.price {
  margin: 18px 0;
}

.price span {
  font-size: 46px;
  font-weight: 900;
}

.price small {
  color: var(--muted);
}

ul {
  padding-left: 18px;
  color: #c5d7cf;
  line-height: 1.9;
}

.plan-btn {
  margin-top: auto;
}

.plan-btn.solid {
  color: #06100c;
  background: var(--green);
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 40px;
  align-items: start;
}

.model-list {
  padding: 6px;
}

.model-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

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

.model-row span {
  color: var(--muted);
}

.codex-section {
  padding-bottom: 0;
}

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

.download-card {
  padding: 26px;
}

.download-card p {
  min-height: 52px;
  color: var(--muted);
  line-height: 1.7;
}

.steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step {
  padding: 24px;
}

.step span {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--green);
  font-weight: 900;
}

.step p {
  color: var(--muted);
  line-height: 1.7;
}

.faq-list {
  overflow: hidden;
}

details {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

details:last-child {
  border-bottom: 0;
}

summary {
  cursor: pointer;
  font-weight: 800;
}

details p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 96px;
  padding: 28px 6vw;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer strong {
  display: block;
  color: var(--text);
}

.footer-links {
  gap: 18px;
}

@media (max-width: 1100px) {
  .hero,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .plan-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .topbar {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 5vw;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .top-actions {
    width: 100%;
  }

  .top-actions a {
    flex: 1;
  }

  .hero,
  .section {
    padding-left: 5vw;
    padding-right: 5vw;
  }

  h1 {
    font-size: 40px;
  }

  .trust-band,
  .plan-grid,
  .download-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .trust-band {
    margin-left: 5vw;
    margin-right: 5vw;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
