/* ==========================================================================
   一元机场 (Yiyuan Airport) - Clean & Official Modern Design System
   ========================================================================== */

:root {
  --primary: #6366f1;
  --primary-hover: #4f46e5;
  --purple-neon: #7c3aed;
  --cyan-neon: #06b6d4;
  --blue-glow: #3b82f6;
  --emerald-green: #10b981;
  
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-alt: #f1f5f9;
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  
  --border-light: #e2e8f0;
  --border-neon: rgba(124, 58, 237, 0.25);
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(99, 102, 241, 0.08);
  --shadow-lg: 0 20px 40px -10px rgba(124, 58, 237, 0.16);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Background Canvas & Mouse Glow */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

.mouse-glow {
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, rgba(6, 182, 212, 0.06) 50%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 1;
  transition: transform 0.1s ease-out;
}

.site-wrapper {
  position: relative;
  z-index: 2;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  padding: 1rem 0;
}

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

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

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--purple-neon), var(--cyan-neon));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.brand-text {
  background: linear-gradient(135deg, #1e293b, #6366f1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-link {
  font-weight: 500;
  color: #475569;
  font-size: 0.95rem;
  text-decoration: none;
  position: relative;
  padding: 0.25rem 0;
  transition: var(--transition-normal);
}

.nav-link:hover, .nav-link.active {
  color: var(--purple-neon);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: none;
  transition: var(--transition-normal);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple-neon) 0%, #3b82f6 50%, var(--cyan-neon) 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.35);
  background-size: 200% auto;
}

.btn-primary:hover {
  background-position: right center;
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.45);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.btn-outline:hover {
  border-color: var(--purple-neon);
  color: var(--purple-neon);
  background: rgba(124, 58, 237, 0.05);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 0.9rem 2.2rem;
  font-size: 1.05rem;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

/* Section Header (规整的居中标题规范) */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.2);
  color: var(--purple-neon);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
  color: #0f172a;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Hero Section (规整的 2 栏居中 Hero + 科技感绚丽图片) */
.hero-section {
  padding: 5rem 0;
  position: relative;
}

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

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

.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--purple-neon) 0%, #3b82f6 50%, var(--cyan-neon) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-cta-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-stats-bar {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}

.stat-box h4 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--purple-neon);
}

.stat-box p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Hero Right Side Generated Tech Image Card */
.hero-right-media {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 45px -10px rgba(124, 58, 237, 0.25), 0 0 30px rgba(6, 182, 212, 0.15);
  border: 2px solid rgba(124, 58, 237, 0.2);
  background: #ffffff;
  animation: float-hero 5s ease-in-out infinite;
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

@keyframes float-hero {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Section 1: Core Advantages (核心优势 - 4 栏标准卡片) */
.advantages-section {
  padding: 5rem 0;
  background: #ffffff;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.advantage-card {
  background: var(--bg-main);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  transition: var(--transition-normal);
  text-align: center;
}

.advantage-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(124, 58, 237, 0.3);
}

.advantage-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(6, 182, 212, 0.1));
  color: var(--purple-neon);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.advantage-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.advantage-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Section 2: Pricing Plans (套餐价格 - 精确匹配参考图1) */
.pricing-section {
  padding: 5rem 0;
  position: relative;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
  max-width: 1180px;
  margin: 0 auto;
}

.pricing-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-normal);
  text-align: center;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.12);
}

.pricing-card.featured {
  border: 2px solid #7c3aed;
  box-shadow: 0 15px 35px rgba(124, 58, 237, 0.18), 0 0 20px rgba(6, 182, 212, 0.15);
  transform: scale(1.03);
  z-index: 2;
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-6px);
}

.popular-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.35rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
}

.pricing-card-header h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: #0f172a;
}

.price-box {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.price-currency {
  font-size: 1.6rem;
  font-weight: 800;
  color: #6366f1;
}

.price-amount {
  font-size: 3.2rem;
  font-weight: 900;
  color: #6366f1;
}

.price-period {
  font-size: 0.95rem;
  color: #64748b;
}

.pricing-desc {
  font-size: 0.9rem;
  color: #64748b;
  min-height: 2.8rem;
  margin-bottom: 2rem;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #334155;
  margin-bottom: 1rem;
}

.pricing-features svg {
  color: #6366f1;
  flex-shrink: 0;
}

.pricing-btn {
  width: 100%;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-normal);
  text-decoration: none;
  display: inline-block;
  text-align: center;
  background: #ffffff;
  color: #1e293b;
  border: 1px solid #e2e8f0;
}

.pricing-card.featured .pricing-btn {
  background: linear-gradient(135deg, #6366f1 0%, #3b82f6 50%, #06b6d4 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
}

/* Section 3: Target Audience (适合人群 - 4 栏对称标准网格) */
.audience-section {
  padding: 5rem 0;
  background: rgba(241, 245, 249, 0.6);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.audience-card {
  background: #ffffff;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.audience-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(124, 58, 237, 0.3);
}

.audience-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(124, 58, 237, 0.1);
  color: var(--purple-neon);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.audience-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.audience-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Section 4: Clash Tutorial (使用教程 - 4 步标准平铺卡片) */
.tutorial-section {
  padding: 5rem 0;
  background: #ffffff;
}

.tutorial-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.step-card {
  background: var(--bg-main);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  position: relative;
  transition: var(--transition-normal);
}

.step-card:hover {
  border-color: var(--purple-neon);
  transform: translateY(-4px);
}

.step-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-neon), var(--cyan-neon));
  color: #ffffff;
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 10px rgba(124, 58, 237, 0.3);
}

.step-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Section 5: Customer Reviews (用户评价 - 3 栏标准网格) */
.reviews-section {
  padding: 5rem 0;
  background: rgba(248, 250, 252, 0.8);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.review-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-text {
  font-size: 0.95rem;
  color: #334155;
  margin-bottom: 1.5rem;
  font-style: italic;
  line-height: 1.6;
}

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

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #3b82f6);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-info h4 {
  font-size: 0.95rem;
  margin-bottom: 0.1rem;
}

.author-info span {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* Section 6: SEO Articles Catalog (SEO 文章目录 - 标准 3 栏网格) */
.articles-section {
  padding: 5rem 0;
  background: #ffffff;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.article-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(124, 58, 237, 0.3);
}

.article-card-header {
  padding: 1.5rem 1.5rem 0.5rem;
}

.article-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(124, 58, 237, 0.08);
  color: var(--purple-neon);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.article-card h3 {
  font-size: 1.15rem;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.article-card h3 a {
  color: var(--text-main);
  text-decoration: none;
}

.article-card h3 a:hover {
  color: var(--purple-neon);
}

.article-card-body {
  padding: 0 1.5rem 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-light);
  border-top: 1px solid #f1f5f9;
  padding-top: 0.75rem;
}

/* Section 7: FAQ Accordion (居中FAQ规整排版) */
.faq-section {
  padding: 5rem 0;
  background: rgba(241, 245, 249, 0.5);
}

.faq-container {
  max-width: 840px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.faq-item:hover {
  border-color: rgba(124, 58, 237, 0.3);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  text-align: left;
}

.faq-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
  color: var(--purple-neon);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.25rem;
}

/* Article & Legal Pages Layout */
.article-page {
  padding: 4rem 0 6rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumb-sep {
  color: var(--text-light);
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}

.article-main {
  background: #ffffff;
  padding: 3rem 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.article-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #f1f5f9;
}

.article-header h1 {
  font-size: 2.2rem;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.article-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #334155;
}

.article-content h2 {
  font-size: 1.5rem;
  margin: 2.25rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(124, 58, 237, 0.1);
  color: #0f172a;
}

.article-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-card {
  background: #ffffff;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  margin-bottom: 2rem;
}

.related-links {
  list-style: none;
}

.related-links li {
  margin-bottom: 0.85rem;
}

.related-links a {
  font-size: 0.92rem;
  color: #475569;
  text-decoration: none;
}

.legal-page-content {
  background: #ffffff;
  padding: 3.5rem 3rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  max-width: 900px;
  margin: 3rem auto 6rem;
}

/* Footer (标准四栏 Footer) */
.footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 4rem 0 2rem;
  border-top: 1px solid #1e293b;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand h3 {
  color: #ffffff;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid #1e293b;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a {
  color: #94a3b8;
  text-decoration: none;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .advantages-grid, .audience-grid, .tutorial-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pricing-grid, .reviews-grid, .articles-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .pricing-card.featured {
    transform: none;
  }
  
  .article-layout {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero-title {
    font-size: 2.3rem;
  }
  
  .advantages-grid, .audience-grid, .tutorial-steps-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
