/* ==========================================================================
   FastLink机场官网 - 原生极简高效样式表 (FastLink Native CSS)
   特性：薄荷绿清新主题 (Mint Green Theme)、零外部依赖、高对比度、响应式单栏适配
   ========================================================================== */

:root {
  /* 薄荷绿清新背景与层次配色体系 */
  --bg-primary: #eaf8f3;             /* 核心主背景：清爽薄荷绿 */
  --bg-secondary: #dcf3eb;           /* 次级交替背景：略深薄荷绿 */
  --bg-card: #ffffff;                /* 卡片与容器：纯净白底，层次分明 */
  --bg-card-hover: #f3fcf8;          /* 卡片悬停微泛薄荷绿光 */
  --text-main: #0d2821;              /* 主文字：深松石墨色，高对比度清晰易读 */
  --text-muted: #2e4a42;            /* 次级文字：优雅森林深灰绿 */
  --text-dim: #4d6d63;              /* 辅助与说明文字：适度深青绿 */
  --accent-blue: #059669;            /* 主题核心色：翡翠翠绿 / 活力薄荷 */
  --accent-cyan: #0d9488;            /* 辅色：青碧蓝调 */
  --accent-gradient: linear-gradient(135deg, #059669 0%, #10b981 100%); /* 渐变薄荷绿 */
  --accent-gold: #d97706;            /* 星级评价：温暖琥珀金 */
  --border-color: rgba(5, 150, 105, 0.16); /* 薄荷色调边框线 */
  --border-light: rgba(5, 150, 105, 0.28);
  --container-max: 1200px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-card: 0 10px 25px -5px rgba(5, 150, 105, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 25px rgba(16, 185, 129, 0.24);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-color: var(--bg-primary);
}

/* 键盘无障碍跳转 */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--accent-blue);
  color: #ffffff;
  font-weight: 700;
  padding: 0.75rem 1.25rem;
  z-index: 9999;
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
  text-decoration: none;
}
.skip-link:focus {
  top: 1rem;
  outline: 3px solid var(--text-main);
}

/* 锚点偏移量处理，防止固定导航栏遮挡 */
section, h2, h3, article, .anchor-offset {
  scroll-margin-top: 90px;
}

/* 容器与基础排版 */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

h1, h2, h3, h4 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: var(--transition);
}
a:hover {
  text-decoration: underline;
  color: #047857;
}
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 3px;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* 按钮规范 (满足 >= 44x44px 点击区域) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 140px;
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none !important;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.5);
  background: linear-gradient(135deg, #047857 0%, #059669 100%);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-main) !important;
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.06);
}
.btn-secondary:hover {
  background: #f0fdf7;
  border-color: var(--accent-blue);
  color: var(--accent-blue) !important;
}

.btn-sm {
  min-height: 40px;
  min-width: 100px;
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
}

/* 页眉与导航 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(234, 248, 243, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.75rem 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  text-decoration: none !important;
}

.logo-icon {
  width: 32px;
  height: 32px;
  fill: var(--accent-blue);
}

.logo-text span {
  color: var(--accent-blue);
}

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 1.5rem;
}

.nav-menu a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.5rem 0.25rem;
}
.nav-menu a:hover, .nav-menu a.active {
  color: var(--accent-blue);
  font-weight: 600;
  text-decoration: none;
}
.nav-menu a.badge-nav {
  position: relative;
  color: var(--accent-blue);
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* 主视觉区 Hero */
.hero-section {
  padding: 4.5rem 0 3.5rem;
  background: radial-gradient(circle at 25% 30%, rgba(16, 185, 129, 0.22) 0%, rgba(234, 248, 243, 0) 70%);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-content {
  text-align: left;
}

.hero-content h1,
.hero-content h2,
.hero-content h3,
.hero-content p {
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #047857;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  text-align: left;
  color: var(--text-main);
}

.hero-title .highlight {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 0 2.25rem 0;
  line-height: 1.7;
  text-align: left;
}

.hero-cta {
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

.hero-meta-list {
  display: flex;
  justify-content: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
  color: var(--text-dim);
  font-size: 0.875rem;
  list-style: none;
}
.hero-meta-list li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Hero 右侧 3D 薄荷绿科技沙漏动画容器 */
.hero-media {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
}

.tech-hourglass-wrapper {
  width: 100%;
  max-width: 440px; /* 占据右侧可用区域约 65%-75% */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0 auto;
}

#techHourglassCanvas {
  width: 100%;
  height: auto;
  aspect-ratio: 460 / 520;
  max-width: 440px;
  display: block;
  background: transparent;
  border: none;
  outline: none;
  filter: drop-shadow(0 16px 36px rgba(5, 150, 105, 0.16));
}

.hero-media img {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  object-fit: cover;
}

/* 通用区块头 */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-block;
  color: var(--accent-blue);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.section-desc {
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
  font-size: 1rem;
}

/* 套餐价格对比表 */
.pricing-section {
  padding: 4rem 0;
  background-color: var(--bg-secondary);
}

.pricing-table-wrapper {
  overflow-x: auto;
  margin-bottom: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 700px;
}

.pricing-table caption {
  caption-side: top;
  text-align: left;
  padding: 1.25rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-color);
  background: rgba(5, 150, 105, 0.04);
}

.pricing-table th, .pricing-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.pricing-table th {
  background-color: rgba(5, 150, 105, 0.06);
  color: var(--text-main);
  font-weight: 700;
  font-size: 0.95rem;
}

.pricing-table tbody tr:hover {
  background-color: rgba(5, 150, 105, 0.04);
}

.pricing-table .plan-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-main);
}

.pricing-table .plan-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent-blue);
}
.pricing-table .plan-price small {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.badge-hot {
  display: inline-block;
  background: #dc2626;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-left: 0.5rem;
}

/* 核心优势介绍 (3图文卡片) */
.features-section {
  padding: 4.5rem 0;
  background-color: var(--bg-primary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}

.feature-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-blue);
  box-shadow: var(--shadow-glow);
}

.feature-icon-box {
  width: 56px;
  height: 56px;
  background: rgba(5, 150, 105, 0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--accent-blue);
}

.feature-icon-box svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.85rem;
  color: var(--text-main);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* 流媒体与AI支持卡片 */
.media-ai-section {
  padding: 4.5rem 0;
  background-color: var(--bg-secondary);
}

.media-ai-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.media-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
}

.media-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.media-icon {
  width: 44px;
  height: 44px;
  padding: 8px;
  background: rgba(5, 150, 105, 0.12);
  border-radius: var(--radius-sm);
  fill: var(--accent-blue);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
  list-style: none;
}

.tag-item {
  background: rgba(5, 150, 105, 0.08);
  border: 1px solid var(--border-color);
  color: #065f46;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
}

/* 用户评价 */
.reviews-section {
  padding: 4.5rem 0;
  background-color: var(--bg-primary);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}

.review-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
}

.review-stars {
  color: var(--accent-gold);
  margin-bottom: 0.85rem;
  font-size: 1.1rem;
}

.review-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 1rem;
}

.author-meta strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-main);
}
.author-meta span {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* 常见问题解答 (FAQ) - 原生 details/summary，默认展开 */
.faq-section {
  padding: 4.5rem 0;
  background-color: var(--bg-secondary);
}

.faq-list {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.faq-item summary {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  outline: none;
  user-select: none;
}

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

.faq-item summary::after {
  content: "▾";
  font-size: 1.25rem;
  color: var(--accent-blue);
  transition: transform 0.2s ease;
}

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

.faq-content {
  padding: 0 1.5rem 1.25rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  border-top: 1px solid var(--border-color);
  margin-top: 0.25rem;
  padding-top: 0.75rem;
}

/* CTA横幅 */
.cta-banner {
  padding: 4rem 0;
  text-align: center;
  background: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.25) 0%, rgba(234, 248, 243, 0) 70%);
}

.cta-banner-box {
  background: linear-gradient(135deg, #093328 0%, #06231c 100%);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 12px 30px rgba(5, 150, 105, 0.2);
}

.cta-banner-box h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 1rem;
  color: #ffffff;
}

.cta-banner-box p {
  color: #d1fae5;
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

/* 页脚 (规范：仅保留4个标题，在新页面打开) */
.site-footer {
  margin-top: auto;
  background-color: #061e18;
  border-top: 1px solid rgba(16, 185, 129, 0.2);
  padding: 3rem 0 2rem;
  font-size: 0.95rem;
}

.footer-nav-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  list-style: none;
}

.footer-nav-container a {
  color: #e6f9f1;
  font-weight: 500;
  font-size: 1.05rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
}

.footer-nav-container a:hover {
  color: #34d399;
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  color: #6ee7b7;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
}

/* ==========================================================================
   知识科普与文章页专属样式 (Knowledge Base & Article Layouts)
   ========================================================================== */

.article-header {
  padding: 3.5rem 0 2rem;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 2.5rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
  list-style: none;
}
.breadcrumb a {
  color: var(--text-muted);
}
.breadcrumb a:hover {
  color: var(--accent-blue);
}
.breadcrumb .separator {
  color: var(--text-dim);
}

.article-meta {
  display: flex;
  gap: 1.5rem;
  color: var(--text-dim);
  font-size: 0.875rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.article-body {
  max-width: 820px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-main);
}

.article-body h2 {
  font-size: 1.5rem;
  margin: 2.25rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
}

.article-body h3 {
  font-size: 1.25rem;
  margin: 1.75rem 0 0.75rem;
  color: var(--text-main);
}

.article-body p {
  margin-bottom: 1.35rem;
}

.article-body ul, .article-body ol {
  margin: 0 0 1.5rem 1.5rem;
}

.article-body li {
  margin-bottom: 0.5rem;
}

.article-body blockquote {
  border-left: 4px solid var(--accent-blue);
  background: rgba(16, 185, 129, 0.08);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-main);
}

.article-inline-cta {
  background: linear-gradient(135deg, #093328 0%, #06231c 100%);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin: 2rem 0;
  text-align: center;
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.15);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
  margin: 2rem 0 3.5rem;
}

.article-summary-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}
.article-summary-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-blue);
  box-shadow: var(--shadow-glow);
}

.article-summary-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}
.article-summary-card h3 a {
  color: var(--text-main);
}
.article-summary-card h3 a:hover {
  color: var(--accent-blue);
  text-decoration: none;
}

.article-summary-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.article-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-dim);
  border-top: 1px solid var(--border-color);
  padding-top: 0.75rem;
}

/* ==========================================================================
   响应式媒体查询 (@media) - 确保手机端单栏优雅呈现、操作触手可及
   ========================================================================== */

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .tech-hourglass-wrapper {
    max-width: 320px;
  }

  .nav-container {
    flex-wrap: wrap;
  }
  
  .nav-menu {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding: 0.5rem 0;
    gap: 1rem;
    -webkit-overflow-scrolling: touch;
  }
  
  .nav-menu a {
    white-space: nowrap;
    font-size: 0.9rem;
  }
  
  .hero-section {
    padding: 3rem 0 2rem;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  
  .hero-cta .btn {
    width: 100%;
  }

  .features-grid, .media-ai-grid, .reviews-grid, .article-grid {
    grid-template-columns: 1fr;
  }

  .footer-nav-container {
    flex-direction: column;
    gap: 1.25rem;
  }

  .pricing-table th, .pricing-table td {
    padding: 1rem 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
