/* site.css — 页面样式（雷神加速器官方落地页） */

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-shell {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; object-fit: contain; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: 8px;
}
.main-nav a {
  color: var(--ink-2);
  font-size: .9375rem;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover { color: var(--primary); text-decoration: none; }
.main-nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--primary);
}

.nav-download {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #fff;
  font-size: .9375rem;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(47, 107, 255, .25);
}
.nav-download:hover { background: var(--primary-dark); text-decoration: none; }

.nav-menu {
  display: none;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
}
.nav-menu svg { width: 20px; height: 20px; stroke: var(--ink); }

/* ---------- Buttons ---------- */
.action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: .9375rem;
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.action:hover { text-decoration: none; transform: translateY(-1px); }

.action-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(47, 107, 255, .28);
}
.action-primary:hover { background: var(--primary-dark); }

.action-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow);
}
.action-ghost:hover { border-color: #c9d3e6; }

.platform {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.platform .tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  opacity: .75;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: .9375rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 84px 0 92px;
  background:
    radial-gradient(900px 420px at 85% -10%, #e8efff 0%, rgba(232, 239, 255, 0) 70%),
    linear-gradient(180deg, #fbfcff 0%, #ffffff 100%);
  overflow: hidden;
}

.hero-side {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 44px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: .8125rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 18px;
}
.hero h1 em {
  font-style: normal;
  color: var(--primary);
}

.hero-lede {
  font-size: 1.0625rem;
  color: var(--ink-2);
  max-width: 34em;
  margin-bottom: 28px;
}

.hero .download-actions { margin-bottom: 18px; }

.hero-photo {
  position: relative;
}
.hero-photo img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(16, 24, 40, .14);
  border: 1px solid rgba(255, 255, 255, .8);
}

.side-caption {
  position: absolute;
  left: -14px;
  bottom: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 16px;
  box-shadow: var(--shadow);
  font-size: .8125rem;
  color: var(--ink-2);
}
.side-caption strong { display: block; color: var(--ink); font-size: .9375rem; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--bg-dark); color: #e8ecf6; }

.section-intro {
  max-width: 720px;
  margin-bottom: 44px;
}
.section-intro.center {
  margin-inline: auto;
  text-align: center;
}
.section-intro.center .kicker { justify-content: center; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.kicker::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.section h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.section-intro p { color: var(--muted); margin-bottom: 0; }

/* ---------- Feature guide cards ---------- */
.feature-guide {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.feature-guide article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.feature-guide article:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #d7e0f2;
}

.guide-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.guide-line svg {
  width: 24px; height: 24px;
  flex: 0 0 auto;
  stroke: var(--primary);
  stroke-width: 1.65;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.guide-line h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin: 0;
}
.feature-guide article p {
  font-size: .9375rem;
  color: var(--muted);
  margin: 0;
}

/* ---------- Story ---------- */
.story {
  padding: 96px 0;
}
.story-inner {
  max-width: 740px;
  margin-inline: auto;
}
.story-head { margin-bottom: 20px; }
.story-body p {
  font-size: 1.0625rem;
  color: var(--ink-2);
  line-height: 1.8;
}

/* ---------- Stats / social proof ---------- */
.proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  text-align: center;
}
.proof strong {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}
.proof span {
  font-size: .875rem;
  color: var(--muted);
}

/* ---------- Download CTA ---------- */
.download-cta {
  background: linear-gradient(135deg, #14224a 0%, #0b1224 60%, #101c3d 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.download-cta::after {
  content: "";
  position: absolute;
  inset: auto -20% -60% -20%;
  height: 260px;
  background: radial-gradient(closest-side, rgba(47, 107, 255, .45), transparent);
  pointer-events: none;
}
.download-cta h2 { color: #fff; font-size: clamp(1.5rem, 2.8vw, 2rem); }
.download-cta p { color: #b9c4dc; max-width: 620px; margin: 0 auto 26px; }
.download-cta .platform { justify-content: center; position: relative; z-index: 1; }

.download-cta .action-primary { box-shadow: 0 10px 26px rgba(0, 0, 0, .3); }
.download-cta .action-ghost {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .22);
  color: #fff;
  box-shadow: none;
}
.download-cta .action-ghost:hover { background: rgba(255, 255, 255, .16); }

/* ---------- Page header (sub pages) ---------- */
.page-head {
  padding: 64px 0 44px;
  background: linear-gradient(180deg, #f4f7ff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}
.page-head h1 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); margin-bottom: 12px; }
.page-head p { color: var(--muted); max-width: 680px; margin: 0; }

/* ---------- Content blocks ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.card h3 { font-size: 1.125rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .9375rem; margin: 0; }

.dl-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.dl-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 30px;
  box-shadow: var(--shadow);
}
.dl-card .os {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}
.dl-card h3 { font-size: 1.25rem; }
.dl-card ul { color: var(--muted); font-size: .9375rem; margin-bottom: 22px; }

.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li {
  position: relative;
  padding-left: 52px;
  margin-bottom: 22px;
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: .9375rem;
}
.steps h3 { font-size: 1.0625rem; margin-bottom: 4px; }
.steps p { color: var(--muted); font-size: .9375rem; margin: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 12px;
  background: #fff;
}
.faq details[open] { border-color: #cfdbf6; }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--primary);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
  color: var(--muted);
  font-size: .9375rem;
  margin: 12px 0 0;
}

/* ---------- Footer ---------- */
.footer {
  background: #0b1224;
  color: #a8b3ca;
  padding: 56px 0 28px;
  margin-top: 0;
}
.footer-inner { display: grid; gap: 18px; }
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 1.0625rem;
}
.footer-brand:hover { text-decoration: none; }
.footer-brand img { height: 30px; width: auto; max-width: 170px; }
.footer p { margin: 0; font-size: .9375rem; max-width: 640px; }
.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  padding-top: 6px;
}
.footer nav a { color: #cfd8ea; font-size: .9375rem; }
.footer small {
  display: block;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .8125rem;
  color: #7c8aa5;
}

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .hero { padding: 64px 0 72px; }
  .hero-side { gap: 36px; }
  .feature-guide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section { padding: 72px 0; }
}

@media (max-width: 767px) {
  .main-nav {
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px 20px 16px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(16, 24, 40, .1);
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a {
    padding: 12px 4px;
    border-bottom: 1px solid var(--line);
  }
  .main-nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--primary); }

  .header .nav-shell { gap: 14px; }
  .nav-download { margin-left: auto; padding: 9px 16px; }
  .nav-menu { display: inline-flex; }

  .hero-side { grid-template-columns: 1fr; }
  .hero { padding: 44px 0 56px; }
  .hero h1 { font-size: 2rem; }
  .hero-photo { order: -1; }
  .side-caption { position: static; margin-top: 12px; left: auto; bottom: auto; }
  .platform .action { flex: 1 1 200px; justify-content: center; }

  .section { padding: 56px 0; }
  .story { padding: 60px 0; }
  .feature-guide,
  .proof,
  .card-grid,
  .dl-panel { grid-template-columns: 1fr; }
  .proof { gap: 26px; }
  .download-cta { padding: 40px 22px; border-radius: var(--radius); }
  .footer { padding: 44px 0 24px; }
}

@media (max-width: 375px) {
  .container { padding-inline: 16px; }
  .hero h1 { font-size: 1.75rem; }
  .platform { flex-direction: column; }
  .platform .action { width: 100%; }
  .feature-guide article,
  .dl-card { padding: 22px 18px; }
}

/* ---------- News list ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.news-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.news-card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow); }
.news-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--bg-soft); }
.news-card .news-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news-card .news-cat {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--primary);
  text-transform: uppercase;
}
.news-card h3 {
  font-size: 1.0625rem;
  line-height: 1.45;
  margin: 0;
  color: var(--ink);
}
.news-card p {
  font-size: .875rem;
  color: var(--muted);
  margin: 0;
  flex: 1;
}
.news-card time {
  font-size: .8125rem;
  color: #8b93a3;
}

/* ---------- Article ---------- */
.breadcrumb {
  font-size: .8125rem;
  color: var(--muted);
  padding: 20px 0 0;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb span { margin: 0 6px; color: #b9bfcc; }

.article-head {
  padding: 26px 0 0;
}
.article-head .news-cat {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.article-head h1 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  margin-bottom: 14px;
}
.article-meta {
  font-size: .875rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.article-cover {
  margin: 0 0 34px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.article-cover img { width: 100%; display: block; }

.article {
  max-width: 800px;
  margin-inline: auto;
  padding-bottom: 12px;
}
.article-body { font-size: 1.0625rem; color: var(--ink-2); }
.article-body h2 {
  font-size: 1.375rem;
  margin: 38px 0 14px;
  color: var(--ink);
}
.article-body h3 { font-size: 1.125rem; margin: 26px 0 10px; color: var(--ink); }
.article-body p { margin-bottom: 1.1em; line-height: 1.85; }
.article-body ul, .article-body ol { margin: 0 0 1.2em; color: var(--ink-2); }
.article-body li { margin-bottom: .45em; line-height: 1.8; }
.article-body strong { color: var(--ink); }

.article-tip {
  border-left: 3px solid var(--primary);
  background: var(--primary-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 22px 0;
  font-size: .9375rem;
  color: #2c3d63;
}
.article-tip p:last-child { margin-bottom: 0; }

.related {
  max-width: 800px;
  margin: 48px auto 0;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}
.related h2 { font-size: 1.125rem; margin-bottom: 14px; }
.related ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.related a { font-size: .9375rem; font-weight: 500; }

.article-cta { max-width: 800px; margin: 46px auto 0; }

@media (max-width: 1023px) {
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .news-grid { grid-template-columns: 1fr; }
  .article-body { font-size: 1rem; }
}
