:root {
  color-scheme: dark;
  --bg: #0b0d12;
  --panel: #151922;
  --line: #2a3140;
  --text: #f6f8fb;
  --muted: #9ba5b7;
  --green: #39e689;
  --green-2: #b8ff5f;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
  --font: "HarmonyOS Sans SC", "MiSans", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif;
  --content: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 78% 10%, rgba(57, 230, 137, 0.13), transparent 28%),
    linear-gradient(135deg, #090b0f 0%, #121422 48%, #090b0f 100%);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; cursor: pointer; }
button { cursor: pointer; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 72px;
  padding: 0 48px;
  background: rgba(9, 11, 15, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { width: 50px; height: 50px; border-radius: 12px; }
.brand span { display: grid; gap: 2px; }
.brand strong { font-size: 20px; line-height: 1; }
.brand small { color: var(--muted); font-size: 13px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: #c5ccda;
  background: rgba(255, 255, 255, 0.035);
  font-size: 16px;
  font-weight: 800;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 17px;
  border-radius: 999px;
  transition: color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.nav-links a.active {
  color: #07110c;
  background: linear-gradient(135deg, var(--green-2), var(--green));
  box-shadow: 0 8px 22px rgba(57, 230, 137, 0.18);
}
.nav-links a:hover {
  color: var(--green);
  background: rgba(57, 230, 137, 0.1);
}
.nav-links a.active:hover { color: #07110c; }
.header-cta, .primary-button, .secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 700;
}
.header-cta, .primary-button {
  color: #07110c;
  background: linear-gradient(135deg, var(--green-2), #57efab);
  box-shadow: 0 12px 30px rgba(57, 230, 137, 0.2);
}
.secondary-button {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(620px, 1.15fr);
  gap: 56px;
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: 64px 48px 76px;
  max-width: 1480px;
  margin: 0 auto;
}
.hero-copy { max-width: 610px; }
.eyebrow, .section-heading span, .download-section span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-weight: 800;
  font-size: 15px;
}
.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px var(--green);
}
h1, h2, h3, p { margin: 0; }
h1 {
  margin-top: 18px;
  max-width: 680px;
  font-size: clamp(38px, 4.2vw, 56px);
  line-height: 1.12;
  letter-spacing: 0;
}
.hero-copy p { margin-top: 22px; color: #c7cedb; font-size: 17px; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.platform-row { display: flex; align-items: center; gap: 12px; margin-top: 28px; color: var(--muted); font-size: 14px; }
.platform-row img { width: 34px; height: 34px; border-radius: 9px; }

.product-frame {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 18px;
  overflow: hidden;
  background: #10131a;
  box-shadow: var(--shadow);
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  background: #0e1117;
  border-bottom: 1px solid var(--line);
}
.window-bar span { width: 11px; height: 11px; border-radius: 50%; background: #3d4350; }
.window-bar span:first-child { background: #ff6262; }
.window-bar span:nth-child(2) { background: #ffd166; }
.window-bar span:nth-child(3) { background: var(--green); }
.app-shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 500px; }
.app-shell aside { padding: 18px; border-right: 1px solid var(--line); background: #10131a; }
.app-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.app-logo img { width: 38px; height: 38px; border-radius: 10px; }
.app-logo strong { display: block; font-size: 14px; }
.app-logo small { color: var(--muted); font-size: 11px; }
.menu {
  display: block;
  width: 100%;
  height: 44px;
  margin-bottom: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #c6cfdd;
  background: transparent;
  text-align: left;
  padding: 0 14px;
  font-weight: 700;
}
.menu.active, .menu:hover { color: var(--green); background: rgba(57, 230, 137, 0.1); border-color: rgba(57, 230, 137, 0.2); }
.app-preview { padding: 28px; background: linear-gradient(180deg, rgba(57, 230, 137, 0.05), transparent 42%), #12161f; }
.preview-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.preview-top h3 { font-size: 25px; line-height: 1.25; }
.preview-top p, .task-card p { margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.preview-top button, .prompt-box button {
  border: 0;
  border-radius: 8px;
  background: #222938;
  color: #dce5f5;
  font-weight: 800;
  height: 36px;
  padding: 0 16px;
}
.task-card, .prompt-box { border: 1px solid var(--line); border-radius: 10px; background: #0f131b; }
.task-card { padding: 18px; }
.task-head { display: flex; justify-content: space-between; gap: 16px; }
.task-head span { color: var(--green); font-size: 13px; font-weight: 800; }
.progress { height: 8px; margin-top: 16px; border-radius: 999px; background: #242b38; overflow: hidden; }
.progress i { display: block; width: 62%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--green-2), var(--green)); }
.prompt-box { position: relative; margin-top: 16px; padding: 18px; min-height: 160px; }
.tool-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tool-row span { border: 1px solid var(--line); border-radius: 7px; padding: 8px 10px; color: #d9e1ef; background: #171c26; font-size: 12px; font-weight: 800; }
.prompt-box p { margin-top: 18px; color: #dbe4f4; font-size: 14px; line-height: 1.7; }
.prompt-box button { position: absolute; right: 18px; bottom: 18px; color: #07110c; background: linear-gradient(135deg, var(--green-2), #57efab); }

.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; max-width: var(--content); margin: 0 auto; padding: 0 24px; }
.stats-band div { padding: 26px; background: rgba(255, 255, 255, 0.045); border: 1px solid rgba(255, 255, 255, 0.08); }
.stats-band strong { display: block; font-size: 24px; line-height: 1.2; }
.stats-band span { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.section { max-width: var(--content); margin: 0 auto; padding: 96px 24px 0; }
.section-heading { max-width: 780px; margin-bottom: 32px; }
.feature-heading, .scene-heading { max-width: 980px; }
.feature-heading h2, .scene-heading h2 { white-space: nowrap; }
.screenshots-section .section-heading { max-width: 980px; }
.screenshots-section .section-heading h2 { white-space: nowrap; }
.section-heading h2, .download-section h2 { margin-top: 12px; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.24; letter-spacing: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-grid article, .workflow div, .faq-list details, .scene-grid article, .seo-content, .screenshot-card { border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 8px; background: rgba(255, 255, 255, 0.045); }
.feature-grid article { min-height: 218px; padding: 24px; }
.feature-icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 8px; color: #07110c; background: linear-gradient(135deg, var(--green-2), var(--green)); font-weight: 900; }
.feature-grid h3, .workflow h3, .scene-grid h3 { margin-top: 18px; font-size: 19px; line-height: 1.35; }
.feature-grid p, .workflow p, .faq-list p, .download-section p, .section-heading p, .scene-grid p, .seo-content p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.78;
}
.scene-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.scene-grid article { min-height: 210px; padding: 24px; }
.scene-grid article::before {
  content: "";
  display: block;
  width: 34px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green-2), var(--green));
}
.screenshot-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.screenshot-card { overflow: hidden; }
.screenshot-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #0d1117;
}
.screenshot-card h3 { margin: 18px 20px 0; font-size: 18px; line-height: 1.35; }
.screenshot-card p { margin: 10px 20px 20px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.seo-content { padding: 28px; }
.seo-content p:first-child { margin-top: 0; }
.workflow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.workflow div { padding: 24px; }
.workflow b { color: var(--green); font-size: 30px; line-height: 1; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { padding: 18px 20px; }
.faq-list summary { cursor: pointer; font-weight: 800; font-size: 16px; line-height: 1.5; }
.download-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  max-width: var(--content);
  margin: 96px auto 0;
  padding: 42px;
  border: 1px solid rgba(57, 230, 137, 0.32);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(57, 230, 137, 0.12), rgba(255, 255, 255, 0.04)), #11151d;
  box-shadow: var(--shadow);
}
.download-section p { max-width: 680px; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: var(--content); margin: 56px auto 0; padding: 32px 24px 42px; color: var(--muted); font-size: 14px; }
.footer-brand img { width: 34px; height: 34px; }

@media (max-width: 1080px) {
  .site-header { padding: 0 28px; }
  .hero { grid-template-columns: 1fr; padding: 56px 28px 72px; }
  .product-frame { max-width: 860px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .workflow, .stats-band, .scene-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  body { font-size: 15px; }
  .site-header { height: auto; min-height: 64px; padding: 12px 18px; align-items: center; }
  .brand img { width: 42px; height: 42px; border-radius: 10px; }
  .brand strong { font-size: 17px; }
  .nav-links { display: none; }
  .header-cta { min-height: 36px; padding: 0 12px; font-size: 13px; }
  .hero { min-height: 0; padding: 38px 18px 58px; gap: 34px; }
  .eyebrow, .section-heading span, .download-section span { font-size: 13px; }
  h1 { font-size: 32px; line-height: 1.2; }
  .hero-copy p { margin-top: 18px; font-size: 15px; line-height: 1.8; }
  .hero-actions { margin-top: 26px; }
  .primary-button, .secondary-button { width: 100%; min-height: 44px; }
  .platform-row { flex-wrap: wrap; margin-top: 22px; }
  .app-shell { grid-template-columns: 1fr; }
  .app-shell aside { display: none; }
  .window-bar { height: 36px; }
  .app-preview { padding: 18px; }
  .preview-top { align-items: flex-start; gap: 12px; }
  .preview-top h3 { font-size: 22px; }
  .prompt-box { min-height: 180px; }
  .tool-row span { font-size: 11px; }
  .task-head, .download-section, footer { flex-direction: column; align-items: flex-start; }
  .stats-band, .feature-grid, .workflow, .scene-grid { grid-template-columns: 1fr; }
  .stats-band { padding: 0 18px; }
  .stats-band div { padding: 22px; }
  .section { padding: 74px 18px 0; }
  .section-heading { margin-bottom: 24px; }
  .feature-heading h2, .scene-heading h2 { white-space: normal; }
  .screenshots-section .section-heading h2 { white-space: normal; }
  .section-heading h2, .download-section h2 { font-size: 28px; line-height: 1.28; }
  .feature-grid article, .workflow div, .scene-grid article { min-height: auto; padding: 22px; }
  .feature-grid h3, .workflow h3, .scene-grid h3 { font-size: 18px; }
  .feature-grid p, .workflow p, .faq-list p, .download-section p, .section-heading p, .scene-grid p, .seo-content p { font-size: 14px; line-height: 1.75; }
  .screenshot-card h3 { font-size: 17px; }
  .screenshot-card p { font-size: 13px; }
  .seo-content { padding: 22px; }
  .faq-list details { padding: 16px 18px; }
  .download-section { margin: 78px 18px 0; padding: 28px; }
}
