/* ==========================================================================
   花云机场 (flowercloud) - 极简原生响应式样式表
   主题风格：纯净天空蓝 (Sky Blue) | 零外部依赖 | 纯 CSS | 秒开极速
   ========================================================================== */

:root {
  --bg-primary: #f0f7ff;            /* 纯净天空浅蓝基底 */
  --bg-secondary: #e0f0fe;          /* 柔和天蓝过渡色 */
  --bg-card: #ffffff;               /* 云朵白卡片底色 */
  --bg-card-hover: #f8fbff;
  --accent-pink: #0284c7;           /* 核心天空蓝强调色 (Sky 600) */
  --accent-purple: #06b6d4;         /* 蔚蓝青空次主色 (Cyan 500) */
  --accent-gradient: linear-gradient(135deg, #0284c7 0%, #06b6d4 100%);
  --accent-glow: rgba(2, 132, 199, 0.28);
  --text-main: #0f172a;             /* 深邃天幕深岩蓝灰，对比度 > 12:1 */
  --text-muted: #334155;            /* 清晰正文灰，对比度 > 7:1 */
  --text-dark: #64748b;             /* 辅助说明灰，对比度 > 4.5:1 */
  --border-color: #bae6fd;          /* 天蓝柔和边框线 (Sky 200) */
  --border-focus: #0284c7;
  --success-color: #059669;
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
  --container-max: 1200px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --transition-fast: 0.2s ease;
}

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

html {
  font-family: var(--font-stack);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-primary);
  scroll-behavior: smooth;
  -webkit-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: 16px;
  background: var(--accent-pink);
  color: #ffffff;
  padding: 12px 20px;
  z-index: 9999;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 700;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 16px;
}

/* 锚点滚动留白 */
[id] {
  scroll-margin-top: 80px;
}

/* 布局容器 */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* 基础排版 */
h1, h2, h3, h4 {
  color: var(--text-main);
  line-height: 1.3;
  font-weight: 700;
}

h1 {
  font-size: clamp(1.85rem, 4vw + 1rem, 3.2rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.5rem, 2.5vw + 0.5rem, 2.2rem);
  margin-bottom: 16px;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

a {
  color: var(--accent-pink);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover, a:focus-visible {
  color: #0369a1;
  text-decoration: underline;
}

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent-pink);
  outline-offset: 3px;
}

/* 按钮通用规范（确保手指触控 >= 44x44px） */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 48px;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 9999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent-gradient);
  color: #ffffff;
  box-shadow: 0 4px 18px var(--accent-glow);
}

.btn-primary:hover {
  color: #ffffff;
  box-shadow: 0 6px 26px rgba(2, 132, 199, 0.45);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-main);
  border-color: var(--border-color);
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.06);
}

.btn-secondary:hover {
  background: #f0f9ff;
  color: var(--accent-pink);
  border-color: var(--accent-pink);
}

/* 导航栏 Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(240, 247, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  text-decoration: none;
}

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

.logo-text span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-link {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 4px;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-pink);
  text-decoration: none;
}

.nav-link.highlight {
  color: var(--accent-pink);
  font-weight: 700;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* 主视觉区 Hero Section */
.hero-section {
  padding: 70px 0 60px;
  text-align: center;
  position: relative;
  background: radial-gradient(ellipse at 50% 20%, rgba(56, 189, 248, 0.28) 0%, transparent 70%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(2, 132, 199, 0.1);
  border: 1px solid rgba(2, 132, 199, 0.25);
  border-radius: 9999px;
  font-size: 0.88rem;
  color: #0369a1;
  margin-bottom: 24px;
  font-weight: 600;
}

.hero-title {
  margin-bottom: 20px;
}

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

.hero-subtitle {
  font-size: clamp(1.05rem, 1.5vw + 0.5rem, 1.25rem);
  color: var(--text-muted);
  max-width: 780px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-features-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.strip-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.strip-icon {
  color: var(--success-color);
  font-weight: bold;
}

/* 核心优势卡片 3图文 */
.section {
  padding: 70px 0;
}

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

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

.section-desc {
  font-size: 1.05rem;
}

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

.feature-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.05);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-pink);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.12);
}

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: rgba(2, 132, 199, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent-pink);
}

.feature-icon-wrapper svg {
  width: 28px;
  height: 28px;
}

/* 价格对比表 */
.pricing-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 20px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 4px 20px rgba(2, 132, 199, 0.06);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.pricing-card.featured {
  border-color: var(--accent-pink);
  box-shadow: 0 8px 30px rgba(2, 132, 199, 0.18);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gradient);
  color: #ffffff;
  padding: 4px 16px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.pricing-header {
  text-align: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 24px;
}

.pricing-title {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.pricing-price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-left: 4px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
}

.pricing-features li {
  padding: 10px 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li svg {
  width: 18px;
  height: 18px;
  fill: var(--success-color);
  flex-shrink: 0;
}

/* 价格表格（语义化 Table 支持） */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 40px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.05);
}

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

.pricing-table caption {
  caption-side: top;
  text-align: left;
  padding: 16px 20px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-color);
}

.pricing-table th, .pricing-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.95rem;
}

.pricing-table th {
  background-color: #e0f2fe;
  color: var(--text-main);
  font-weight: 600;
}

.pricing-table tbody tr:hover {
  background-color: #f0f9ff;
}

/* 流媒体与 AI 支持卡片 */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.support-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.04);
}

.support-icon {
  font-size: 2rem;
  line-height: 1;
}

.support-card h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.support-card p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* 用户评价 */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.04);
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.review-author {
  font-weight: 700;
  color: var(--text-main);
}

.review-stars {
  color: #f59e0b;
  letter-spacing: 2px;
}

.review-text {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* FAQ 常见问题（原生 details/summary，无需 JS） */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.04);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-item[open] {
  border-color: var(--accent-pink);
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.08);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
  min-height: 48px;
}

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

.faq-question::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent-pink);
  transition: transform 0.2s;
}

.faq-item[open] .faq-question::after {
  content: "−";
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px 22px;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
  border-top: 1px solid #e0f2fe;
  padding-top: 16px;
}

.faq-answer a {
  text-decoration: underline;
}

/* 知识科普列表页与文章模板样式 */
.article-header {
  padding: 50px 0 30px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 40px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--accent-pink);
}

.article-content {
  max-width: 820px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
}

.article-content h2 {
  margin-top: 40px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.article-content h3 {
  margin-top: 24px;
}

.article-content ul, .article-content ol {
  margin-left: 24px;
  margin-bottom: 20px;
  color: var(--text-muted);
}

.article-content li {
  margin-bottom: 8px;
}

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

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.04);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-pink);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.12);
}

.article-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.article-card p {
  font-size: 0.92rem;
  flex-grow: 1;
}

.article-meta {
  font-size: 0.85rem;
  color: var(--text-dark);
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e0f2fe;
}

/* 页脚 Footer (规范：只保留4个标题，打开新页面) */
.site-footer {
  margin-top: auto;
  background-color: #0c4a6e; /* 经典深海苍穹蔚蓝底座 */
  border-top: 1px solid #075985;
  padding: 40px 0 30px;
  color: #f0f9ff;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.footer-nav-link {
  color: #e0f2fe;
  font-size: 0.98rem;
  font-weight: 500;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
}

.footer-nav-link:hover {
  color: #ffffff;
}

.footer-copy {
  text-align: center;
  font-size: 0.85rem;
  color: #bae6fd;
}

/* 响应式媒体查询 (@media) */
@media (max-width: 992px) {
  .features-grid,
  .pricing-wrapper,
  .reviews-grid,
  .article-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .features-grid,
  .pricing-wrapper,
  .reviews-grid,
  .article-card-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    flex-wrap: wrap;
    row-gap: 12px;
  }

  .nav-menu {
    display: flex;
    width: 100%;
    order: 3;
    overflow-x: auto;
    gap: 8px;
    padding: 6px 0 2px;
    margin: 0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .nav-menu::-webkit-scrollbar {
    display: none;
  }

  .nav-link {
    white-space: nowrap;
    padding: 6px 14px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 9999px;
    font-size: 0.88rem;
    color: var(--text-muted);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .nav-link.highlight {
    background: rgba(2, 132, 199, 0.12);
    border-color: rgba(2, 132, 199, 0.35);
    color: #0284c7;
  }

  .hero-section {
    padding: 48px 0 40px;
  }

  .footer-nav {
    gap: 18px;
    justify-content: space-around;
  }
}

@media (max-width: 480px) {
  .btn {
    width: 100%;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
}

/* 动效自适应降低 prefers-reduced-motion */
@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;
  }
}
