:root {
  --bg: #06101c;
  --bg-soft: #0b1626;
  --panel: rgba(10, 18, 31, 0.84);
  --panel-strong: rgba(13, 24, 41, 0.96);
  --panel-elevated: rgba(15, 28, 48, 0.92);
  --text: #edf4ff;
  --muted: #91a6c4;
  --line: rgba(132, 167, 208, 0.16);
  --line-strong: rgba(132, 167, 208, 0.28);
  --accent: #79f2b1;
  --accent-soft: rgba(121, 242, 177, 0.12);
  --accent-2: #70b8ff;
  --accent-3: #b0c8ff;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
  --radius: 22px;
  --container: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  font-family: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 0%, rgba(112, 184, 255, 0.2), transparent 24%),
    radial-gradient(circle at 84% 10%, rgba(121, 242, 177, 0.12), transparent 20%),
    linear-gradient(180deg, #040912 0%, #07111c 42%, #091421 100%);
  line-height: 1.6;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body::before {
  background:
    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: 80px 80px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 82%);
  opacity: 0.18;
}

body::after {
  background:
    radial-gradient(circle at 50% 0%, rgba(112, 184, 255, 0.12), transparent 36%),
    radial-gradient(circle at 100% 20%, rgba(121, 242, 177, 0.08), transparent 28%);
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 30;
  padding: 10px 14px;
  border-radius: 12px;
  background: #fff;
  color: #111827;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(6, 16, 28, 0.62);
  border-bottom: 1px solid rgba(132, 167, 208, 0.08);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  position: relative;
}

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

.brand-logo {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(112, 184, 255, 0.24);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(121, 242, 177, 0.08);
}

.brand-text {
  font-size: 1.05rem;
  color: #f6fbff;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
}

.site-nav a {
  position: relative;
  transition: color 0.2s ease;
}

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

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

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

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto 5px;
  background: var(--text);
}

.nav-toggle span:last-child {
  margin-bottom: 0;
}

.hero {
  padding: 84px 0 56px;
  position: relative;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(121, 242, 177, 0.18);
  background:
    linear-gradient(180deg, rgba(121, 242, 177, 0.08), rgba(112, 184, 255, 0.04));
  color: #c7d7eb;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

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

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4.3rem);
  max-width: 12ch;
}

.hero-title span {
  display: block;
}

.hero-title span:first-child {
  color: #f8fbff;
}

.hero-title span:last-child {
  margin-top: 0.18em;
  background: linear-gradient(90deg, #f7fbff 0%, #cfe2ff 48%, #b9ffd8 100%);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-lead,
.section-heading p,
.feature-card p,
.solution-card p,
.prompt-card p,
.faq-item p,
.cta-panel p,
.site-footer p {
  color: var(--muted);
}

.hero-lead {
  margin: 22px 0 0;
  max-width: 62ch;
  font-size: 1.06rem;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 15px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.button-primary {
  background: linear-gradient(135deg, #9ef6c9, #7abfff);
  color: #05111d;
}

.button-secondary {
  border-color: rgba(132, 167, 208, 0.22);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li,
.logo-strip li {
  padding: 10px 14px;
  border: 1px solid rgba(132, 167, 208, 0.12);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.02));
  color: #dbe6f8;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.hero-card,
.panel,
.feature-card,
.prompt-card,
.requirement-card,
.faq-item,
.cta-panel,
.code-showcase {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(18, 31, 52, 0.92), rgba(8, 16, 31, 0.94));
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-card::before,
.panel::before,
.feature-card::before,
.prompt-card::before,
.requirement-card::before,
.faq-item::before,
.cta-panel::before,
.code-showcase::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(121, 242, 177, 0.26), rgba(112, 184, 255, 0.3), transparent);
}

.hero-card {
  padding: 24px;
  background:
    radial-gradient(circle at top right, rgba(121, 242, 177, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(20, 34, 58, 0.96), rgba(7, 15, 29, 0.96));
}

.hero-card-top,
.terminal-bar {
  display: flex;
  align-items: center;
}

.hero-card-top {
  gap: 10px;
  color: #d4e1f2;
  margin-bottom: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(74, 222, 128, 0.16);
}

.chat-bubble {
  max-width: 90%;
  padding: 12px 14px;
  border-radius: 18px;
  margin-bottom: 12px;
}

.chat-bubble.user {
  background: rgba(112, 184, 255, 0.12);
  border: 1px solid rgba(112, 184, 255, 0.18);
}

.chat-bubble.bot {
  margin-left: auto;
  background: rgba(121, 242, 177, 0.12);
  border: 1px solid rgba(121, 242, 177, 0.18);
}

.terminal {
  margin-top: 18px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(132, 167, 208, 0.12);
  background:
    linear-gradient(180deg, rgba(6, 11, 21, 0.95), rgba(9, 16, 28, 0.95));
}

.terminal-bar {
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(158, 176, 203, 0.08);
}

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

.terminal-bar span:first-child {
  background: #ff7c7c;
}

.terminal-bar span:nth-child(2) {
  background: #ffd56a;
}

.terminal-bar span:last-child {
  background: #79f2b1;
}

pre {
  margin: 0;
  padding: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: pre-wrap;
  word-break: break-word;
  color: #d8e9ff;
}

code {
  font-family: "Cascadia Code", "Consolas", monospace;
  font-size: 0.95rem;
}

.logo-strip {
  padding: 12px 0 22px;
}

.strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  color: var(--muted);
}

.strip-inner ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.section {
  padding: 80px 0;
}

.section-alt {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0)),
    radial-gradient(circle at 10% 10%, rgba(112, 184, 255, 0.05), transparent 32%);
}

.section-heading {
  max-width: 760px;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.section-heading p {
  margin-top: 14px;
}

.feature-grid,
.requirement-grid,
.solution-grid {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.feature-grid,
.solution-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.feature-card,
.requirement-card,
.solution-card {
  padding: 24px;
}

.feature-card h3,
.solution-card h3,
.requirement-card h3,
.faq-item summary,
.cta-panel h2 {
  margin: 0;
}

.feature-card p,
.solution-card p,
.requirement-card ul,
.faq-item p,
.cta-panel p {
  margin: 12px 0 0;
}

.solution-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(13, 22, 38, 0.84), rgba(9, 16, 29, 0.84));
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.solution-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(121, 242, 177, 0.26), rgba(112, 184, 255, 0.3), transparent);
}

.solution-answer {
  padding: 14px 16px;
  border: 1px solid rgba(121, 242, 177, 0.14);
  border-radius: 16px;
  background: linear-gradient(90deg, rgba(121, 242, 177, 0.12), rgba(112, 184, 255, 0.07));
  color: #eef7ff;
}

.solution-answer strong {
  color: #bafbd8;
  font-weight: 700;
}

.code-showcase {
  margin-top: 28px;
  overflow: hidden;
}

.quickstart-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 28px;
  align-items: stretch;
}

.code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 0;
}

.code-tabs {
  display: flex;
  gap: 8px;
}

.code-tab {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.92rem;
}

.code-tab.active {
  background: rgba(112, 184, 255, 0.14);
  color: #e4efff;
}

.copy-button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(132, 167, 208, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #dce8f7;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.copy-button:hover,
.copy-button:focus-visible {
  background: rgba(112, 184, 255, 0.12);
  border-color: rgba(112, 184, 255, 0.24);
}

.copy-button.is-copied {
  color: #c5fad7;
  border-color: rgba(74, 222, 128, 0.28);
  background: rgba(74, 222, 128, 0.12);
}

.prompt-card {
  padding: 26px;
}

.prompt-actions {
  margin-top: 18px;
}

.prompt-pre {
  margin-top: 18px;
  border-radius: 16px;
  border: 1px solid rgba(132, 167, 208, 0.12);
  background: linear-gradient(180deg, rgba(6, 11, 21, 0.95), rgba(9, 16, 28, 0.95));
}

.prompt-label {
  margin: 0;
  color: #b7c7dd;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

blockquote {
  margin: 18px 0 0;
  padding: 18px 20px;
  border-left: 3px solid var(--accent);
  border-radius: 0 16px 16px 0;
  background: linear-gradient(90deg, rgba(121, 242, 177, 0.12), rgba(112, 184, 255, 0.04));
  color: #f4fbf7;
  font-size: 1.08rem;
}

.inline-link {
  display: inline-block;
  margin-top: 18px;
  color: #9cd6ff;
}

.requirement-card ul {
  padding-left: 18px;
}

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

.faq-item {
  padding: 0 20px;
  background: linear-gradient(180deg, rgba(17, 29, 48, 0.92), rgba(8, 15, 28, 0.94));
}

.faq-item summary {
  padding: 20px 0;
  list-style: none;
  cursor: pointer;
  font-weight: 600;
}

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

.faq-item p {
  padding: 0 0 20px;
}

.cta-section {
  padding-top: 24px;
}

.cta-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px;
  background:
    radial-gradient(circle at top right, rgba(121, 242, 177, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(17, 30, 49, 0.96), rgba(8, 15, 28, 0.98));
}

.site-footer {
  padding: 28px 0 48px;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  gap: 18px;
  border-top: 1px solid rgba(132, 167, 208, 0.08);
  padding-top: 24px;
}

.footer-brand {
  margin-bottom: 10px;
}

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

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .hero-grid,
  .cta-panel,
  .feature-grid,
  .requirement-grid,
  .solution-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 100%;
  }
}

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

  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(11, 20, 36, 0.96);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

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

@media (max-width: 640px) {
  .hero {
    padding-top: 48px;
  }

  .section {
    padding: 64px 0;
  }

  .hero-actions,
  .cta-actions,
  .button {
    width: 100%;
  }

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

  .hero-card,
  .feature-card,
  .solution-card,
  .prompt-card,
  .requirement-card,
  .faq-item,
  .cta-panel,
  .code-showcase {
    border-radius: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .button,
  .site-nav a {
    transition: none;
  }
}
