/* ============================================================
   AuroraDesk.cn — 官网样式
   设计基调：极光（青 → 紫）+ 深色科技感，与产品桌面 OS 风格呼应
   零构建：纯静态，可直接上传虚拟主机
   ============================================================ */

:root {
  --bg:          #0b0f1a;
  --bg-soft:     #101725;
  --surface:     #161f33;
  --surface-2:   #1c2740;
  --border:      #26314a;
  --border-soft: #1e2942;

  --text:        #e6edf3;
  --text-dim:    #b6c2d4;
  --muted:       #8b9ab3;

  /* 极光渐变 */
  --brand-1:     #22d3ee;
  --brand-2:     #8b5cf6;
  --brand-grad:  linear-gradient(135deg, var(--brand-1), var(--brand-2));

  --ok:          #34d399;
  --warn:        #fbbf24;
  --radius:      14px;
  --radius-sm:   10px;

  --maxw:        1160px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand-1); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 顶部导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 26, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  letter-spacing: .3px;
}
.logo:hover { text-decoration: none; }
.logo__mark {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--brand-grad);
  display: grid;
  place-items: center;
  font-size: 15px;
  color: #06121b;
  font-weight: 800;
}
.nav__links {
  display: flex;
  gap: 22px;
  margin-left: auto;
  align-items: center;
}
.nav__links a {
  color: var(--text-dim);
  font-size: 14.5px;
}
.nav__links a:hover { color: var(--text); text-decoration: none; }
.nav__links a.active { color: var(--brand-1); }

.nav__toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: .18s;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary {
  background: var(--brand-grad);
  color: #06121b;
}
.btn--ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--brand-1); color: var(--brand-1); }
.btn--sm { padding: 8px 16px; font-size: 14px; }
.btn--block { display: flex; width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 92px 0 84px;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -40% 0 auto 0;
  height: 620px;
  background:
    radial-gradient(ellipse 60% 50% at 30% 40%, rgba(34, 211, 238, .16), transparent 70%),
    radial-gradient(ellipse 55% 50% at 72% 35%, rgba(139, 92, 246, .18), transparent 70%);
  pointer-events: none;
}
.hero__inner { position: relative; }
.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.18;
  letter-spacing: -.5px;
}
.hero .grad {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  margin: 0 auto 34px;
  max-width: 680px;
  font-size: 17px;
  color: var(--text-dim);
}
.hero__cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__note {
  margin-top: 20px;
  font-size: 13.5px;
  color: var(--muted);
}

/* 浏览器窗口装饰（截图占位） */
.shot {
  margin: 56px auto 0;
  max-width: 940px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .55);
}
.shot__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border-soft);
}
.shot__dot { width: 11px; height: 11px; border-radius: 50%; background: #3b4761; }
.shot__dot:nth-child(1) { background: #ef4444; }
.shot__dot:nth-child(2) { background: #f59e0b; }
.shot__dot:nth-child(3) { background: #22c55e; }
.shot__url {
  margin-left: 12px;
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  font-family: var(--mono);
}
.shot__body {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  background:
    linear-gradient(rgba(34, 211, 238, .05), rgba(139, 92, 246, .05)),
    var(--bg-soft);
  color: var(--muted);
  font-size: 14px;
}

/* ---------- 区块 ---------- */
.section { padding: 76px 0; }
.section--alt { background: var(--bg-soft); border-block: 1px solid var(--border-soft); }
.section__head { text-align: center; margin-bottom: 46px; }
.section__head h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3.4vw, 34px);
  letter-spacing: -.3px;
}
.section__head p {
  margin: 0 auto;
  max-width: 620px;
  color: var(--muted);
  font-size: 16px;
}

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }

.card {
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  background: var(--surface);
  transition: .2s;
}
.card:hover {
  border-color: var(--brand-1);
  transform: translateY(-3px);
}
.card__ico {
  width: 44px; height: 44px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 21px;
  margin-bottom: 15px;
  background: rgba(34, 211, 238, .1);
  border: 1px solid rgba(34, 211, 238, .22);
}
.card h3 { margin: 0 0 9px; font-size: 17.5px; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- 特性表 ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  min-width: 620px;
}
th, td {
  padding: 13px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border-soft);
}
th {
  background: var(--surface-2);
  font-weight: 600;
  color: var(--text);
}
td { color: var(--text-dim); }
tr:last-child td { border-bottom: none; }
.yes { color: var(--ok); font-weight: 600; }
.no  { color: #64748b; }

/* ---------- 定价 ---------- */
.price-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: stretch;
}
.price-card {
  display: flex;
  flex-direction: column;
  padding: 30px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  background: var(--surface);
}
.price-card--hot {
  border-color: var(--brand-1);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, .25), 0 20px 50px rgba(0, 0, 0, .4);
}
.price-card__tag {
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .5px;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--brand-grad);
  color: #06121b;
  margin-bottom: 14px;
}
.price-card h3 { margin: 0 0 6px; font-size: 19px; }
.price-card__desc { margin: 0 0 18px; color: var(--muted); font-size: 14px; min-height: 44px; }
.price-card__num {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -.5px;
}
.price-card__num small {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  margin-left: 4px;
}
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 22px 0 26px;
  flex: 1;
}
.price-card li {
  padding-left: 24px;
  position: relative;
  margin-bottom: 10px;
  font-size: 14.5px;
  color: var(--text-dim);
}
.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ok);
  font-weight: 700;
}

/* ---------- FAQ ---------- */
.faq details {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: var(--surface);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq summary {
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15.5px;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  float: right;
  color: var(--brand-1);
  font-weight: 700;
}
.faq details[open] summary::after { content: "−"; }
.faq .faq__body {
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 14.5px;
}

/* ---------- 下载 ---------- */
.dl-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  background: var(--surface);
}
.dl-card__ico { font-size: 34px; }
.dl-card__meta { flex: 1; }
.dl-card__meta h3 { margin: 0 0 3px; font-size: 17px; }
.dl-card__meta p { margin: 0; color: var(--muted); font-size: 13.5px; }

/* ---------- 提示条 ---------- */
.notice {
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(251, 191, 36, .3);
  background: rgba(251, 191, 36, .07);
  color: var(--text-dim);
  font-size: 14.5px;
  margin-top: 26px;
}

/* ---------- 页脚 ---------- */
.footer {
  border-top: 1px solid var(--border-soft);
  padding: 46px 0 32px;
  background: var(--bg-soft);
}
.footer__grid {
  display: grid;
  gap: 34px;
  grid-template-columns: 2fr 1fr 1fr 1fr;
}
.footer h4 {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--text);
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 9px; }
.footer a { color: var(--muted); font-size: 14px; }
.footer a:hover { color: var(--brand-1); }
.footer__about p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  max-width: 320px;
}
.footer__bottom {
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 860px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 58px 0; }
  .hero { padding: 64px 0 56px; }
}
@media (max-width: 640px) {
  .nav__links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border);
    padding: 8px 24px 16px;
  }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 11px 0; border-bottom: 1px solid var(--border-soft); }
  .nav__toggle { display: block; }
  .footer__grid { grid-template-columns: 1fr; }
}
