/* ==========================================================================
   蓝海加速 - 全站共享样式
   设计主题：深海军蓝 + 青绿荧光渐变，呼应"蓝海"意象的波浪分割线
   ========================================================================== */

:root {
  /* 主色板 */
  --c-bg-deep: #061a28;
  --c-bg-deeper: #03101a;
  --c-bg-panel: #0d2b3e;
  --c-primary: #17e0c3;
  --c-primary-dark: #0aa892;
  --c-secondary: #3a7ca5;
  --c-accent: #ffb454;
  --c-text-onDark: #eaf6f6;
  --c-text-onDark-muted: #9fc1cf;

  --c-bg-light: #f4f9fb;
  --c-bg-card: #ffffff;
  --c-text-dark: #0e2733;
  --c-text-dark-muted: #55707c;
  --c-border: #dfeaee;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;

  --shadow-card: 0 10px 30px rgba(6, 26, 40, 0.08);
  --shadow-card-dark: 0 10px 30px rgba(0, 0, 0, 0.35);

  --container-w: 1140px;

  --font-base: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--c-text-dark);
  background: var(--c-bg-light);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, p {
  margin: 0;
}

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 通用小组件 ---------- */

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--c-primary-dark);
  background: rgba(23, 224, 195, 0.12);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.eyebrow.on-dark {
  color: var(--c-primary);
  background: rgba(23, 224, 195, 0.15);
}

.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(26px, 4vw, 36px);
  color: var(--c-text-dark);
  margin-bottom: 14px;
}

.section-head p {
  color: var(--c-text-dark-muted);
  font-size: 16px;
}

.section-head.on-dark h2 {
  color: var(--c-text-onDark);
}

.section-head.on-dark p {
  color: var(--c-text-onDark-muted);
}

section {
  padding: 88px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-dark));
  color: #04231f;
  box-shadow: 0 8px 20px rgba(23, 224, 195, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(23, 224, 195, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--c-text-onDark);
  border: 1px solid rgba(234, 246, 246, 0.35);
}

.btn-ghost:hover {
  background: rgba(234, 246, 246, 0.08);
}

.btn-outline-dark {
  background: transparent;
  color: var(--c-text-dark);
  border: 1px solid var(--c-border);
}

.btn-outline-dark:hover {
  border-color: var(--c-secondary);
  color: var(--c-secondary);
}

.btn-block {
  width: 100%;
}

/* ---------- 顶部导航 ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 26, 40, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 700;
  color: var(--c-text-onDark);
}

.brand img {
  width: 32px;
  height: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  color: var(--c-text-onDark-muted);
  font-size: 15px;
  padding: 10px 16px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--c-text-onDark);
  background: rgba(255, 255, 255, 0.08);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: var(--c-text-onDark);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--c-bg-deep);
    padding: 12px;
    gap: 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: none;
  }

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

  .nav-links a {
    padding: 14px 16px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-actions .btn-primary {
    padding: 10px 18px;
    font-size: 14px;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: radial-gradient(120% 140% at 15% 0%, #0f3850 0%, var(--c-bg-deep) 55%, var(--c-bg-deeper) 100%);
  color: var(--c-text-onDark);
  padding: 96px 0 140px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(32px, 4.6vw, 50px);
  line-height: 1.28;
  margin-bottom: 20px;
}

.hero h1 span {
  background: linear-gradient(120deg, var(--c-primary), #7fe9d8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: 17px;
  color: var(--c-text-onDark-muted);
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.hero-tags span {
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--c-text-onDark-muted);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-art {
  position: relative;
}

.wave-divider {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  line-height: 0;
}

.wave-divider svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- 信任数据 ---------- */

.stats-bar {
  background: var(--c-bg-panel);
  color: var(--c-text-onDark);
  margin-top: -84px;
  position: relative;
  z-index: 3;
  border-radius: var(--radius-lg);
  max-width: var(--container-w);
  margin-left: auto;
  margin-right: auto;
  box-shadow: var(--shadow-card-dark);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 36px 24px;
}

.stat-item {
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  color: var(--c-primary);
}

.stat-label {
  font-size: 13px;
  color: var(--c-text-onDark-muted);
  margin-top: 6px;
}

@media (max-width: 760px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 0;
  }
  .stat-item {
    border-right: none;
  }
}

/* ---------- 功能卡片 ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(23, 224, 195, 0.12);
  color: var(--c-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--c-text-dark);
}

.feature-card p {
  font-size: 14px;
  color: var(--c-text-dark-muted);
}

@media (max-width: 980px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- 深色区块 ---------- */

.section-dark {
  background: var(--c-bg-deep);
  color: var(--c-text-onDark);
}

/* ---------- 线路覆盖 ---------- */

.region-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.region-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 24px;
}

.region-card h3 {
  font-size: 16px;
  color: var(--c-primary);
  margin-bottom: 12px;
}

.region-card ul li {
  font-size: 14px;
  color: var(--c-text-onDark-muted);
  padding: 4px 0;
}

@media (max-width: 860px) {
  .region-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .region-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- 套餐卡片 ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.price-card {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.price-card.featured {
  border-color: var(--c-primary);
  box-shadow: 0 16px 34px rgba(23, 224, 195, 0.18);
}

.price-badge {
  position: absolute;
  top: -13px;
  right: 20px;
  background: var(--c-accent);
  color: #402700;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}

.price-tier {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-text-dark-muted);
}

.price-amount {
  font-size: 34px;
  font-weight: 800;
  color: var(--c-text-dark);
}

.price-amount sup {
  font-size: 16px;
  margin-right: 2px;
}

.price-amount small {
  font-size: 14px;
  font-weight: 500;
  color: var(--c-text-dark-muted);
}

.price-desc {
  font-size: 13px;
  color: var(--c-text-dark-muted);
}

.price-features {
  margin: 6px 0;
  flex: 1;
}

.price-features li {
  font-size: 13px;
  color: var(--c-text-dark-muted);
  padding: 5px 0;
  display: flex;
  gap: 8px;
}

.price-features li::before {
  content: "✓";
  color: var(--c-primary-dark);
  font-weight: 700;
}

@media (max-width: 980px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- 评价 ---------- */

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testi-card {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 26px;
}

.testi-stars {
  color: var(--c-accent);
  font-size: 14px;
  margin-bottom: 12px;
}

.testi-card p {
  font-size: 14px;
  color: var(--c-text-dark-muted);
  margin-bottom: 18px;
}

.testi-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-secondary), var(--c-primary-dark));
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.testi-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-text-dark);
}

.testi-role {
  font-size: 12px;
  color: var(--c-text-dark-muted);
}

@media (max-width: 860px) {
  .testi-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- FAQ 手风琴 ---------- */

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-cat-title {
  font-size: 18px;
  color: var(--c-primary-dark);
  margin: 36px 0 16px;
}

.faq-cat-title:first-child {
  margin-top: 0;
}

.faq-item {
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--c-bg-card);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--c-text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-question .icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
  font-size: 14px;
  color: var(--c-secondary);
}

.faq-item.open .faq-question .icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--c-text-dark-muted);
}

/* ---------- CTA 横幅 ---------- */

.cta-banner {
  background: linear-gradient(120deg, #0aa892, #17e0c3);
  color: #04231f;
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-banner h2 {
  font-size: 28px;
  margin-bottom: 8px;
}

.cta-banner p {
  font-size: 15px;
  opacity: 0.85;
}

.cta-banner .btn-primary {
  background: #04231f;
  color: var(--c-primary);
  box-shadow: none;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--c-bg-deeper);
  color: var(--c-text-onDark-muted);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .brand {
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 14px;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 14px;
  color: var(--c-text-onDark);
  margin-bottom: 16px;
}

.footer-col li {
  padding: 6px 0;
}

.footer-col a {
  font-size: 14px;
  color: var(--c-text-onDark-muted);
}

.footer-col a:hover {
  color: var(--c-primary);
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-art {
    order: -1;
  }
}

/* ---------- 返回顶部 ---------- */

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--c-primary);
  color: #04231f;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(23, 224, 195, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 90;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ---------- 面包屑 & 内页通用 Hero ---------- */

.page-hero {
  background: radial-gradient(120% 140% at 15% 0%, #0f3850 0%, var(--c-bg-deep) 55%, var(--c-bg-deeper) 100%);
  color: var(--c-text-onDark);
  padding: 64px 0 90px;
}

.breadcrumb {
  font-size: 13px;
  color: var(--c-text-onDark-muted);
  margin-bottom: 18px;
}

.breadcrumb a:hover {
  color: var(--c-primary);
}

.page-hero h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 14px;
}

.page-hero p {
  color: var(--c-text-onDark-muted);
  max-width: 620px;
  font-size: 15px;
}

/* ---------- 步骤/教程 ---------- */

.step-card {
  display: flex;
  gap: 20px;
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 26px;
  margin-bottom: 20px;
}

.step-num {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(23, 224, 195, 0.12);
  color: var(--c-primary-dark);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
  color: var(--c-text-dark);
}

.step-card p {
  font-size: 14px;
  color: var(--c-text-dark-muted);
}

.platform-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.platform-tab {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--c-border);
  font-size: 14px;
  font-weight: 600;
  color: var(--c-text-dark-muted);
  cursor: pointer;
  background: var(--c-bg-card);
}

.platform-tab.active {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #04231f;
}

.platform-panel {
  display: none;
}

.platform-panel.active {
  display: block;
}

/* ---------- 下载卡片 ---------- */

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.download-card {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  text-align: center;
}

.download-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 18px;
  border-radius: 14px;
  background: rgba(58, 124, 165, 0.12);
  color: var(--c-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-card h3 {
  font-size: 17px;
  margin-bottom: 6px;
  color: var(--c-text-dark);
}

.download-card p {
  font-size: 13px;
  color: var(--c-text-dark-muted);
  margin-bottom: 20px;
}

@media (max-width: 860px) {
  .download-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .download-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- About 页面：数据事实条 ---------- */

.fact-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.fact-item {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  font-size: 14px;
  color: var(--c-text-dark-muted);
}

.fact-item strong {
  display: block;
  color: var(--c-text-dark);
  font-size: 15px;
  margin-bottom: 6px;
}

@media (max-width: 700px) {
  .fact-list {
    grid-template-columns: 1fr;
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.contact-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}

.contact-card h3 {
  font-size: 15px;
  color: var(--c-primary);
  margin: 10px 0 6px;
}

.contact-card p {
  font-size: 13px;
  color: var(--c-text-onDark-muted);
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
