:root {
  --ink: #12141a;
  --muted: #5c6578;
  --paper: #f7f5f1;
  --white: #ffffff;
  --line: #e4e0d8;
  --gold: #c9842a;
  --gold-hot: #e8a23a;
  --ink-soft: #2a3140;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(201, 132, 42, 0.12), transparent 55%),
    linear-gradient(180deg, #fbfaf7 0%, var(--paper) 40%, #f3f0ea 100%);
  font-family: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", sans-serif;
  line-height: 1.55;
}

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

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(20px, 5vw, 56px);
  backdrop-filter: blur(10px);
  background: rgba(247, 245, 241, 0.86);
  border-bottom: 1px solid transparent;
}

.logo {
  font-family: Syne, "Noto Sans SC", sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

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

.nav-login {
  margin-left: 8px;
}

.nav-login.nav-user {
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink);
  font-weight: 700;
}

.nav-cta {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff !important;
  font-weight: 700;
}

.nav-cta:hover {
  background: var(--ink-soft);
}

.hero {
  min-height: calc(100vh - 64px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding: clamp(28px, 6vh, 72px) clamp(20px, 5vw, 56px) clamp(40px, 8vh, 80px);
}

.brand-mark {
  margin: 0 0 14px;
  font-family: Syne, "Noto Sans SC", sans-serif;
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: var(--ink);
}

.hero h1 {
  margin: 0;
  max-width: 14em;
  font-family: Syne, "Noto Sans SC", sans-serif;
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.lead {
  margin: 18px 0 0;
  max-width: 32em;
  color: var(--muted);
  font-size: 16px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  background: var(--gold);
  color: #1a1208;
}

.btn-primary:hover {
  background: var(--gold-hot);
}

.btn-ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: #fff;
}

.btn[disabled],
.btn.is-disabled {
  opacity: 0.45;
  pointer-events: none;
  transform: none;
}

.hero-visual {
  min-height: min(62vh, 560px);
  position: relative;
}

.viz-plane {
  position: absolute;
  inset: 0;
  border-radius: 0;
  background:
    linear-gradient(145deg, #1c2230 0%, #2a3142 45%, #3a2e1c 100%);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(18, 20, 26, 0.22);
  animation: planeIn 1s ease both;
}

.viz-bar {
  height: 42px;
  background: rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.viz-cols {
  display: grid;
  grid-template-columns: 88px 1fr;
  height: calc(100% - 42px);
}

.viz-side {
  padding: 18px 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.viz-side span {
  height: 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
}

.viz-side span.on {
  background: var(--gold-hot);
  animation: pulse 2.4s ease-in-out infinite;
}

.viz-main {
  padding: 22px 24px;
}

.viz-line {
  height: 14px;
  width: 55%;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
  margin-bottom: 12px;
}

.viz-line.short {
  width: 34%;
  height: 10px;
  opacity: 0.7;
}

.viz-blocks {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.viz-blocks i {
  display: block;
  height: 88px;
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(232, 162, 58, 0.28), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: rise 0.9s ease both;
}

.viz-blocks i:nth-child(2) { animation-delay: 0.1s; }
.viz-blocks i:nth-child(3) { animation-delay: 0.18s; }
.viz-blocks i:nth-child(4) { animation-delay: 0.26s; }

@keyframes planeIn {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.section {
  padding: 88px clamp(20px, 5vw, 56px);
  max-width: 1120px;
  margin: 0 auto;
}

.section h2 {
  margin: 0;
  font-family: Syne, "Noto Sans SC", sans-serif;
  font-size: clamp(28px, 3.2vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-lead {
  margin: 12px 0 0;
  color: var(--muted);
  max-width: 36em;
}

.feature-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 40px;
}

.feature-grid h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.feature-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.pricing {
  max-width: none;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pricing h2,
.pricing .section-lead,
.price-grid {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(20px, 5vw, 56px);
  padding-right: clamp(20px, 5vw, 56px);
}

.pricing h2,
.pricing .section-lead {
  padding-left: 0;
  padding-right: 0;
  max-width: 1120px;
}

.price-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-bottom: 8px;
}

.price-card {
  padding: 28px 24px;
  border: 1px solid var(--line);
  background: var(--paper);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.price-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.price-card.featured {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.price-card.featured .price-features,
.price-card.featured .price-quota {
  color: rgba(255, 255, 255, 0.72);
}

.price-name {
  font-family: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: inherit;
}

.price-num {
  margin: 14px 0 4px;
  font-family: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", system-ui, sans-serif;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  color: inherit;
}

.price-num small {
  font-size: 14px;
  font-weight: 500;
  margin-left: 4px;
  opacity: 0.75;
}

.price-card:not(.featured) .price-num {
  color: #1a1a1a;
}

.price-card.featured .price-num {
  color: #fff;
}

.price-quota {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 18px;
}

.price-features {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 13px;
}

.price-features li {
  padding: 6px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.price-card.featured .price-features li {
  border-top-color: rgba(255, 255, 255, 0.12);
}

.price-card .btn {
  margin-top: 22px;
  width: 100%;
}

.price-card.featured .btn-primary {
  background: var(--gold-hot);
}

.price-compare-wrap {
  max-width: 1120px;
  margin: 36px auto 0;
  padding: 0 clamp(20px, 5vw, 56px);
}

.compare-title {
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--ink);
}

.compare-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: #fff;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 480px;
}

.compare-table th,
.compare-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.compare-table thead th {
  background: var(--paper);
  font-weight: 700;
  color: var(--ink);
}

.compare-table tbody th {
  text-align: left;
  font-weight: 600;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.02);
  white-space: nowrap;
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-table td {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.download .dl-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.dl-card {
  padding: 28px 24px;
  border: 1px solid var(--line);
  background: #fff;
}

.dl-os {
  font-family: Syne, "Noto Sans SC", sans-serif;
  font-size: 24px;
  font-weight: 700;
}

.dl-notes {
  margin: 10px 0 18px;
  color: var(--muted);
  font-size: 13px;
}

.dl-meta {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.dl-note {
  margin-top: 22px;
  color: var(--muted);
  font-size: 12px;
}

.dl-note code {
  font-size: 11px;
  background: rgba(0, 0, 0, 0.05);
  padding: 1px 5px;
  border-radius: 4px;
}

.price-loading {
  color: var(--muted);
  grid-column: 1 / -1;
}

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

.case-card {
  padding: 24px 22px;
  border: 1px solid var(--line);
  background: #fff;
}

.case-tag {
  display: inline-block;
  font-size: 12px;
  color: var(--gold);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}

.case-card h3 {
  font-size: 18px;
  margin: 0 0 10px;
}

.case-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 14px;
}

.case-card ul {
  margin: 0;
  padding-left: 1.1em;
  color: #444;
  font-size: 13px;
  line-height: 1.7;
}

.faq-list {
  margin-top: 28px;
  max-width: 820px;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--muted);
  font-weight: 400;
}

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

.faq-list p {
  margin: 10px 0 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.foot {
  padding: 40px clamp(20px, 5vw, 56px) 56px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
}

.foot strong {
  font-family: Syne, "Noto Sans SC", sans-serif;
  font-size: 18px;
  margin-right: 10px;
}

.foot span,
.copy {
  color: var(--muted);
  font-size: 13px;
}

.foot-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
}

.foot-links a:hover {
  color: var(--gold);
}

@media (max-width: 900px) {
  .nav a:not(.nav-cta):not(.nav-login):not(.nav-user) {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-visual {
    min-height: 280px;
    order: -1;
  }
  .feature-grid,
  .price-grid,
  .cases .case-grid,
  .download .dl-grid {
    grid-template-columns: 1fr;
  }
}
