/* ==========================================================================
   海盗云机场 - 样式表
   设计主题：深墨蓝 + 金色的航海/海盗风格，区别于常见机场站的蓝紫科技风
   ========================================================================== */

/* ---------- 基础变量：全站配色、字体、间距 ---------- */
:root {
  --color-ink: #0b1220;          /* 最深背景色，用于页脚与页面基底 */
  --color-navy: #10233d;         /* 次级深蓝，用于卡片与区块背景 */
  --color-navy-light: #16294a;   /* 更亮一点的深蓝，用于悬浮态 */
  --color-gold: #d4a537;         /* 主强调色：金色 */
  --color-gold-light: #f0c96b;   /* 浅金色，用于高亮文字 */
  --color-parchment: #f4e8d0;    /* 羊皮纸色，用于浅色卡片与正文 */
  --color-parchment-dim: #d9c9a3;/* 羊皮纸辅助色，用于次要文字 */
  --color-red-seal: #a3312a;     /* 火漆红，用于强调徽章 */
  --color-wood: #8a5a2b;         /* 木色，用于装饰 */

  --font-heading: "Noto Serif SC", "Songti SC", "STSong", serif; /* 衬线字体，营造古典航海感 */
  --font-body: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;

  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-card: 0 12px 30px rgba(0, 0, 0, 0.35);
  --container-width: 1160px;
}

/* ---------- 全局重置 ---------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-ink);
  color: var(--color-parchment);
  font-family: var(--font-body);
  line-height: 1.6;
  -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 {
  font-family: var(--font-heading);
  margin: 0;
  color: var(--color-gold-light);
}

.container {
  width: min(var(--container-width), 92%);
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  padding: 0.75em 1.6em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
  color: var(--color-ink);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(212, 165, 55, 0.35);
}

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

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: rgba(212, 165, 55, 0.12);
}

.btn--block {
  width: 100%;
}

/* ---------- 导航栏 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 18, 32, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(212, 165, 55, 0.18);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.9rem;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-parchment);
}

.nav__brand img {
  width: 38px;
  height: 38px;
}

.nav__links {
  display: flex;
  gap: 1.8rem;
  font-size: 0.95rem;
}

.nav__links a {
  color: var(--color-parchment-dim);
  transition: color 0.15s ease;
}

.nav__links a:hover,
.nav__links a:focus-visible {
  color: var(--color-gold-light);
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav__toggle {
  display: none;
  background: none;
  border: 1px solid rgba(212, 165, 55, 0.4);
  border-radius: 8px;
  padding: 0.4rem 0.6rem;
  color: var(--color-gold-light);
  font-size: 1.1rem;
  cursor: pointer;
}

/* ---------- Hero 首屏 ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: 4rem 3rem;
  background-image: url("../images/pattern-stars-noise.svg");
  background-repeat: repeat;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero__kicker {
  display: inline-block;
  color: var(--color-gold);
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
}

.hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.hero__subtitle {
  color: var(--color-parchment-dim);
  font-size: 1.05rem;
  max-width: 46ch;
  margin-bottom: 1.8rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.4rem;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 1.6rem;
}

.stat {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.stat img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.stat__value {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-gold-light);
  font-weight: 700;
}

.stat__label {
  display: block;
  font-size: 0.82rem;
  color: var(--color-parchment-dim);
}

.hero__art img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}

.divider {
  display: block;
  width: 100%;
  height: 60px;
}

/* ---------- 通用区块标题 ---------- */
.section {
  padding-block: 4.5rem;
}

.section--alt {
  background: var(--color-navy);
}

.section__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.8rem;
}

.section__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-gold);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.6rem;
}

.section__kicker img {
  width: 28px;
  height: 28px;
}

.section__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.7rem;
}

.section__desc {
  color: var(--color-parchment-dim);
  font-size: 1rem;
}

/* ---------- 价目表 ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.pricing-card {
  position: relative;
  background: var(--color-navy);
  border: 1px solid rgba(212, 165, 55, 0.16);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-card);
}

.pricing-card--featured {
  border-color: var(--color-gold);
  background: linear-gradient(160deg, var(--color-navy-light), var(--color-navy));
  transform: scale(1.03);
}

.pricing-card__badge {
  position: absolute;
  top: -14px;
  right: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--color-red-seal);
  color: var(--color-parchment);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}

.pricing-card__badge img {
  width: 16px;
  height: 16px;
}

.pricing-card__name {
  font-size: 1.15rem;
  color: var(--color-gold-light);
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}

.pricing-card__price .amount {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  color: var(--color-parchment);
  font-weight: 700;
}

.pricing-card__price .unit {
  color: var(--color-parchment-dim);
  font-size: 0.9rem;
}

.pricing-card__traffic {
  font-size: 0.9rem;
  color: var(--color-gold);
}

.pricing-card__index {
  font-size: 0.82rem;
  color: var(--color-parchment-dim);
  background: rgba(212, 165, 55, 0.1);
  border-radius: 8px;
  padding: 0.4rem 0.6rem;
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-parchment-dim);
  flex-grow: 1;
}

.pricing-card__features li {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.pricing-card__features li::before {
  content: "\2713";
  color: var(--color-gold);
  font-weight: 700;
}

/* ---------- 特色功能网格 ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.feature-item {
  background: var(--color-ink);
  border: 1px solid rgba(212, 165, 55, 0.14);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.3rem;
}

.feature-item__icon {
  width: 42px;
  height: 42px;
  margin-bottom: 0.9rem;
  color: var(--color-gold);
}

.feature-item__icon svg {
  width: 100%;
  height: 100%;
}

.feature-item h3 {
  font-size: 1.02rem;
  color: var(--color-parchment);
  margin-bottom: 0.5rem;
}

.feature-item p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--color-parchment-dim);
}

/* ---------- 全球航线 ---------- */
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 1rem;
}

.route-card {
  background: var(--color-ink);
  border: 1px solid rgba(212, 165, 55, 0.14);
  border-radius: var(--radius-md);
  padding: 1.4rem;
}

.route-card__name {
  color: var(--color-gold-light);
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.route-card__meta {
  font-size: 0.85rem;
  color: var(--color-parchment-dim);
  margin-bottom: 0.8rem;
}

.route-card__cities {
  font-size: 0.85rem;
  color: var(--color-parchment);
}

.coverage__total {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 2.4rem;
  color: var(--color-parchment-dim);
  font-size: 0.95rem;
}

.coverage__total strong {
  color: var(--color-gold-light);
  font-size: 1.3rem;
  font-family: var(--font-heading);
}

/* ---------- 常见问题 ---------- */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.faq-item {
  background: var(--color-navy);
  border: 1px solid rgba(212, 165, 55, 0.14);
  border-radius: var(--radius-md);
  padding: 0.3rem 1.3rem;
}

.faq-item summary {
  cursor: pointer;
  padding: 1rem 0;
  font-family: var(--font-heading);
  color: var(--color-parchment);
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.faq-item summary::after {
  content: "+";
  color: var(--color-gold);
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0 0 1rem;
  color: var(--color-parchment-dim);
  font-size: 0.92rem;
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--color-ink);
  border-top: 1px solid rgba(212, 165, 55, 0.16);
  padding-block: 3.5rem 1.6rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.4rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-parchment);
  margin-bottom: 0.8rem;
}

.footer-brand img {
  width: 34px;
  height: 34px;
}

.footer-desc {
  color: var(--color-parchment-dim);
  font-size: 0.88rem;
  max-width: 32ch;
}

.footer-col h4 {
  color: var(--color-gold-light);
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col a {
  color: var(--color-parchment-dim);
  font-size: 0.88rem;
  transition: color 0.15s ease;
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--color-gold-light);
}

.footer-bottom {
  border-top: 1px solid rgba(212, 165, 55, 0.12);
  padding-top: 1.4rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--color-parchment-dim);
}

/* ---------- 响应式：平板 ---------- */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
  }

  .hero__art {
    order: -1;
    max-width: 480px;
    margin-inline: auto;
  }

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

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

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

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

  .pricing-card--featured {
    transform: none;
  }
}

/* ---------- 响应式：移动端 ---------- */
@media (max-width: 640px) {
  .nav__links,
  .nav__right .btn--ghost {
    display: none;
  }

  .nav__toggle {
    display: inline-flex;
  }

  .site-header.is-open .nav__links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-navy);
    padding: 1.2rem 6%;
    gap: 1rem;
    border-bottom: 1px solid rgba(212, 165, 55, 0.18);
  }

  .hero__stats {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .pricing-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

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

  .section {
    padding-block: 3rem;
  }
}
