:root {
  --blue-950: #071b3a;
  --blue-900: #082b5f;
  --blue-800: #0b3f82;
  --blue-700: #075fae;
  --blue-600: #0b78d0;
  --cyan-500: #16b8e8;
  --orange-500: #ff9800;
  --orange-600: #ec7f00;
  --green-600: #17a368;
  --red-600: #d34242;
  --ink: #142033;
  --muted: #5f6f86;
  --line: #dce5f0;
  --soft: #f4f8fc;
  --surface: #ffffff;
  --shadow: 0 20px 60px rgba(8, 43, 95, 0.14);
  --radius: 8px;
  --radius-sm: 6px;
  --container: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #ffffff;
  font-family: Inter, "Microsoft YaHei", "PingFang SC", "Noto Sans SC", system-ui, sans-serif;
  line-height: 1.65;
}

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

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(220, 229, 240, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(8, 43, 95, 0.04);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--blue-900);
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--blue-700), var(--cyan-500));
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(11, 120, 208, 0.24);
}

.brand small {
  display: block;
  margin-top: -3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #2f3d51;
  font-size: 15px;
  font-weight: 700;
}

.nav-links a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue-700);
  border-color: var(--orange-500);
}

.nav-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  color: white;
  background: var(--orange-500);
  border-radius: var(--radius-sm);
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(255, 152, 0, 0.28);
}

.menu-button {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--blue-900);
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.hero {
  position: relative;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 78% 12%, rgba(157, 226, 255, 0.36), transparent 30%),
    radial-gradient(circle at 42% 70%, rgba(0, 153, 255, 0.24), transparent 34%),
    linear-gradient(135deg, #062451 0%, #075aa7 55%, #1ca8e5 100%);
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, transparent 0%, black 20%, black 84%, transparent 100%);
  opacity: 0.32;
  content: "";
}

.hero::after {
  position: absolute;
  right: 8%;
  bottom: 10%;
  z-index: -1;
  width: 520px;
  height: 300px;
  background:
    linear-gradient(135deg, transparent 20%, rgba(255, 255, 255, 0.16) 20% 21%, transparent 21%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.18), transparent 62%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  transform: perspective(700px) rotateX(62deg) rotateZ(-20deg);
  opacity: 0.45;
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(620px, 1.08fr);
  align-items: center;
  gap: 66px;
  min-height: 620px;
  padding: 68px 0 58px;
}

.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(46px, 5.4vw, 72px);
  line-height: 1.05;
  letter-spacing: 0;
}

.nowrap {
  white-space: nowrap;
}

.hero-lead {
  max-width: 640px;
  margin: 0 0 32px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2.1vw, 23px);
  line-height: 1.65;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  gap: 9px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 800;
  line-height: 1.2;
}

.button.primary {
  color: white;
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  box-shadow: 0 16px 36px rgba(255, 152, 0, 0.28);
}

.button.secondary {
  color: white;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.32);
}

.button.light {
  color: var(--blue-800);
  background: white;
  border-color: var(--line);
}

.button.outline {
  color: var(--blue-800);
  background: transparent;
  border-color: #b9cee5;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 34px;
  margin-top: 42px;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  font-weight: 800;
}

.trust-item i {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #9ae9ff;
  border: 1px solid rgba(154, 233, 255, 0.54);
  border-radius: var(--radius-sm);
}

.product-panel {
  position: relative;
  overflow: hidden;
  padding: 0;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 10px;
  box-shadow: 0 28px 80px rgba(4, 29, 66, 0.28);
  transform: translateY(8px);
}

.product-panel::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.62), transparent 42%);
  content: "";
}

.panel-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  padding: 0 14px;
  background: rgba(248, 251, 255, 0.96);
  border-bottom: 1px solid var(--line);
}

.window-controls {
  display: flex;
  gap: 7px;
}

.window-controls span {
  width: 10px;
  height: 10px;
  background: #c8d5e5;
  border-radius: 50%;
}

.app-body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 130px 1fr;
  min-height: 410px;
}

.app-sidebar {
  padding: 16px 10px;
  background: linear-gradient(180deg, #f7fbff, #eef5fc);
  border-right: 1px solid var(--line);
}

.side-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  margin-bottom: 6px;
  color: #4f6076;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 800;
}

.side-link.active {
  color: white;
  background: linear-gradient(135deg, var(--blue-700), #0b7fe5);
  box-shadow: 0 10px 22px rgba(11, 120, 208, 0.2);
}

.app-main {
  padding: 18px;
}

.app-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 10px;
  color: var(--blue-950);
  font-size: 15px;
  font-weight: 900;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.metric-card {
  min-height: 92px;
  padding: 13px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 20px rgba(8, 43, 95, 0.05);
}

.metric-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.metric-card strong {
  display: block;
  margin-top: 7px;
  color: var(--blue-950);
  font-size: 24px;
  line-height: 1.15;
}

.metric-card small {
  color: #7b8ca2;
  font-size: 11px;
}

.deploy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.deploy-card {
  padding: 14px 12px;
  text-align: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(8, 43, 95, 0.06);
}

.deploy-icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin: 0 auto 8px;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--blue-700), var(--cyan-500));
  border-radius: var(--radius);
  font-size: 22px;
}

.deploy-card:nth-child(1) .deploy-icon {
  background: linear-gradient(135deg, #f26b2b, #ff9900);
}

.deploy-card:nth-child(3) .deploy-icon {
  background: linear-gradient(135deg, #7d3fd5, #19b58f);
}

.deploy-card strong {
  display: block;
  margin-bottom: 7px;
}

.mini-button {
  display: inline-flex;
  min-width: 90px;
  justify-content: center;
  padding: 6px 10px;
  color: white;
  background: linear-gradient(135deg, var(--blue-700), #087ee2);
  border-radius: 5px;
  font-size: 12px;
  font-weight: 900;
}

.log-list {
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.log-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  padding: 8px 12px;
  color: #607188;
  border-bottom: 1px solid #edf2f7;
  font-size: 12px;
}

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

.log-row i {
  color: var(--green-600);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  color: #0b7c4f;
  background: #e9f8f0;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.system-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 16px 0;
}

.system-card {
  padding: 14px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.system-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--blue-900);
}

.progress-line {
  height: 8px;
  margin: 10px 0 4px;
  overflow: hidden;
  background: #dce7f3;
  border-radius: 999px;
}

.progress-line span {
  display: block;
  width: 76%;
  height: 100%;
  background: linear-gradient(90deg, var(--blue-600), var(--cyan-500));
  border-radius: inherit;
}

.log-box {
  padding: 14px;
  color: #d9f3ff;
  background: #081f42;
  border-radius: var(--radius-sm);
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 13px;
}

.log-box p {
  margin: 0 0 8px;
}

.log-box p:last-child {
  margin-bottom: 0;
}

.section {
  padding: 82px 0;
}

.section.soft {
  background: var(--soft);
}

.section.dark {
  color: white;
  background: linear-gradient(135deg, var(--blue-950), var(--blue-800));
}

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

.section-head.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--blue-700);
  font-size: 14px;
  font-weight: 900;
}

.section.dark .section-kicker {
  color: #8fe4ff;
}

.section h2,
.page-hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.16;
}

.section.dark h2,
.section.dark p,
.page-hero h1,
.page-hero p {
  color: white;
}

.section-head p,
.page-hero p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
}

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

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

.feature-card,
.info-card,
.download-card,
.step-card,
.faq-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(8, 43, 95, 0.08);
}

.feature-card,
.info-card,
.step-card {
  padding: 24px;
}

.feature-card i,
.step-number {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--blue-700), var(--cyan-500));
  border-radius: var(--radius-sm);
}

.feature-card h3,
.info-card h3,
.step-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.feature-card p,
.info-card p,
.step-card p,
.faq-card p,
.download-card p,
.content p,
.content li {
  color: var(--muted);
}

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

.step-number {
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  font-size: 18px;
  font-weight: 900;
}

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

.check-list,
.plain-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 2px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: white;
  background: var(--green-600);
  border-radius: 50%;
  content: "\f00c";
  font-family: FontAwesome;
  font-size: 11px;
}

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

.support-item {
  padding: 20px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.support-item strong {
  color: var(--blue-900);
}

.download-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 30px;
}

.meta-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.meta-list span {
  display: block;
  padding: 12px;
  color: var(--muted);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 14px;
}

.page-hero {
  padding: 72px 0;
  color: white;
  background:
    radial-gradient(circle at 78% 18%, rgba(22, 184, 232, 0.36), transparent 25%),
    linear-gradient(135deg, var(--blue-950), var(--blue-800));
}

.breadcrumb {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.content {
  max-width: 880px;
}

.content h2 {
  margin-top: 44px;
  margin-bottom: 14px;
  font-size: 30px;
}

.content h3 {
  margin-top: 28px;
  margin-bottom: 8px;
  font-size: 22px;
}

.content code,
.code {
  padding: 2px 6px;
  color: #0d4d83;
  background: #e8f3fb;
  border-radius: 4px;
}

.table-wrap {
  overflow-x: auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(8, 43, 95, 0.08);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

th {
  color: white;
  background: var(--blue-800);
}

tr:last-child td {
  border-bottom: 0;
}

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

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 22px;
  color: var(--ink);
  background: white;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-align: left;
}

.faq-answer {
  display: none;
  padding: 0 22px 20px;
}

.faq-card.open .faq-answer {
  display: block;
}

.faq-card.open .faq-question i {
  transform: rotate(180deg);
}

.notice {
  padding: 18px 20px;
  background: #fff8eb;
  border: 1px solid #ffd89b;
  border-radius: var(--radius);
  color: #775000;
}

.footer {
  color: rgba(255, 255, 255, 0.72);
  background: #06172f;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.8fr 1fr;
  gap: 28px;
  padding: 46px 0 34px;
}

.footer h3 {
  margin: 0 0 14px;
  color: white;
}

.footer a:hover {
  color: white;
}

.footer ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-bottom {
  padding: 18px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
}

.floating-download {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: none;
}

.floating-download .button {
  box-shadow: 0 18px 38px rgba(255, 152, 0, 0.32);
}

@media (max-width: 980px) {
  .menu-button {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

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

  .nav-links a,
  .nav-action {
    padding: 12px;
  }

  .hero-grid,
  .split,
  .download-card {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding: 54px 0;
  }

  .grid-3,
  .grid-2,
  .steps,
  .support-grid,
  .footer-grid,
  .meta-list {
    grid-template-columns: 1fr;
  }

  .product-panel {
    max-width: 620px;
  }

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

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .brand span {
    font-size: 16px;
  }

  .brand small {
    display: none;
  }

  .section {
    padding: 58px 0;
  }

  .hero h1 {
    font-size: 38px;
    line-height: 1.08;
  }

  .nowrap {
    white-space: normal;
  }

  .hero-lead {
    max-width: 100%;
    font-size: 17px;
    line-height: 1.75;
  }

  .hero-actions,
  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

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

  .product-panel {
    transform: none;
  }

  .trust-strip {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 30px;
  }

  .trust-item {
    padding: 13px 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    font-size: 14px;
  }

  .app-body {
    grid-template-columns: 1fr;
  }

  .app-sidebar {
    display: none;
  }

  .app-main {
    padding: 14px;
  }

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

  .metric-card {
    min-height: auto;
  }

  .log-row {
    grid-template-columns: 82px 1fr;
  }

  .floating-download {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }
}
