/* ==========================================================================
   一分机场 (Yifen Airport) - 纯白极简品牌官网 & SEO 站全局样式表
   Design System: Pure White Minimalist, Modern Typography, Clean Cards, High Contrast
   ========================================================================== */

:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --bg-accent-light: #eff6ff;
  
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-white: #ffffff;
  
  --brand-blue: #0284c7;
  --brand-blue-hover: #0369a1;
  --brand-blue-light: #e0f2fe;
  --brand-green: #10b981;
  --brand-orange: #f97316;
  
  --border-color: #e2e8f0;
  --border-hover: #cbd5e1;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 24px -4px rgba(0, 0, 0, 0.08);
  --shadow-blue: 0 8px 20px rgba(2, 132, 199, 0.25);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  
  --max-width: 1200px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Basic */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  color: var(--brand-blue);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--brand-blue-hover);
}

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

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  transition: var(--transition);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.brand-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--brand-blue) 0%, #38bdf8 100%);
  color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3);
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.4rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--brand-blue);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--brand-blue);
  border-radius: 2px;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--brand-blue);
  color: var(--text-white);
  box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
  background-color: var(--brand-blue-hover);
  color: var(--text-white);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(2, 132, 199, 0.35);
}

.btn-secondary {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--bg-tertiary);
  border-color: var(--border-hover);
  color: var(--text-primary);
}

.btn-lg {
  padding: 0.9rem 2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-primary);
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  padding: 4.5rem 0 3.5rem;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, #f0f9ff 0%, #ffffff 70%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background-color: var(--brand-blue-light);
  color: var(--brand-blue);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
  color: var(--text-primary);
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--brand-blue) 0%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 760px;
  margin: 0 auto 2.2rem;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.stat-item {
  padding: 0.5rem;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--brand-blue);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* Features Section */
.section {
  padding: 4.5rem 0;
}

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

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

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

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
}

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

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

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

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

.feature-icon {
  width: 52px;
  height: 52px;
  background-color: var(--brand-blue-light);
  color: var(--brand-blue);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

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

/* Pricing Section (New 3-Card Template) */
.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1140px;
  margin: 0 auto;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 2.2rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.pricing-card.featured {
  border: 2px solid #0284c7;
  box-shadow: 0 8px 30px rgba(2, 132, 199, 0.18);
}

.pricing-card-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: #0284c7;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.9rem;
  border-radius: 0 18px 0 12px;
  letter-spacing: 0.02em;
}

.pricing-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

.pricing-card-flow {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 1.2rem;
}

.pricing-card-price-box {
  display: flex;
  align-items: baseline;
  margin-bottom: 0.4rem;
}

.pricing-card-currency {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0284c7;
}

.pricing-card-amount {
  font-size: 2.6rem;
  font-weight: 800;
  color: #0284c7;
  line-height: 1;
}

.pricing-card-period {
  font-size: 0.95rem;
  color: #64748b;
  margin-left: 0.2rem;
  font-weight: 500;
}

.pricing-card-desc {
  font-size: 0.88rem;
  color: #64748b;
  min-height: 2.4em;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.pricing-card-rows {
  margin-bottom: 2rem;
  flex-grow: 1;
}

.pricing-row-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: #64748b;
  padding-bottom: 0.6rem;
  border-bottom: 1px dashed #e2e8f0;
  margin-bottom: 0.6rem;
  font-weight: 500;
}

.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0;
  font-size: 0.92rem;
  color: #334155;
}

.pricing-row .period-name {
  font-weight: 500;
}

.pricing-row .price-val {
  font-weight: 700;
  color: #0284c7;
}

.pricing-row .price-val.cross {
  color: #ef4444;
  font-weight: bold;
}

.pricing-card-btn {
  display: block;
  width: 100%;
  padding: 0.85rem 0;
  border-radius: 12px;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  transition: all 0.2s ease;
  text-decoration: none;
}

.pricing-card-btn-default {
  background: #e0f2fe;
  color: #0284c7;
}

.pricing-card-btn-default:hover {
  background: #bae6fd;
  color: #0369a1;
}

.pricing-card-btn-featured {
  background: #0284c7;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
}

.pricing-card-btn-featured:hover {
  background: #0369a1;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.4);
}

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

/* Target Audience */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.audience-card {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  text-align: center;
}

.audience-card .emoji {
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
  display: block;
}

.audience-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.audience-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Tutorials & Quick Guides */
.tutorial-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.step-card {
  position: relative;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
}

.step-number {
  position: absolute;
  top: -12px;
  left: 20px;
  background: var(--brand-blue);
  color: white;
  font-weight: 800;
  font-size: 0.85rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

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

.review-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
}

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

.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--brand-blue-light);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.user-info h5 {
  font-size: 1rem;
  font-weight: 700;
}

.user-info span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.stars {
  color: #f59e0b;
  margin-bottom: 0.8rem;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* FAQ Accordion */
.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.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-primary);
  text-align: left;
  cursor: pointer;
}

.faq-question:hover {
  color: var(--brand-blue);
}

.faq-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
  background: var(--bg-secondary);
}

.faq-item.active .faq-answer {
  padding: 1.25rem 1.5rem;
  max-height: 500px;
  border-top: 1px solid var(--border-color);
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Article Cards Matrix */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.8rem;
}

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

.article-card:hover {
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.article-category {
  color: var(--brand-blue);
  background: var(--brand-blue-light);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.article-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

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

.article-link {
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Blog Article Layout Page Styles */
.article-header {
  padding: 3rem 0 2rem;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
}

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

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

.breadcrumb a:hover {
  color: var(--brand-blue);
}

.article-title-main {
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.article-body-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  padding: 3rem 0;
}

.article-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.article-content h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 2.2rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--bg-tertiary);
}

.article-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 1.6rem 0 0.8rem;
}

.article-content p {
  margin-bottom: 1.3rem;
}

.article-content ul, .article-content ol {
  margin: 1rem 0 1.5rem 1.8rem;
}

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

.article-content blockquote {
  background: var(--brand-blue-light);
  border-left: 4px solid var(--brand-blue);
  padding: 1.2rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.5rem 0;
  font-style: normal;
  color: var(--text-primary);
}

.sidebar-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.sidebar-box h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
}

.sidebar-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.sidebar-links a {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.sidebar-links a:hover {
  color: var(--brand-blue);
}

/* Footer */
.site-footer {
  background-color: #0f172a;
  color: #94a3b8;
  padding: 4rem 0 2rem;
  margin-top: auto;
}

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

.footer-brand h4 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer-col h5 {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.2rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-col a {
  color: #94a3b8;
  font-size: 0.9rem;
}

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

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

.keywords-cloud {
  background: #1e293b;
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
  font-size: 0.82rem;
  line-height: 1.8;
}

.keywords-cloud span {
  margin-right: 0.8rem;
  color: #cbd5e1;
}

/* Responsive Rules */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .article-body-layout {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .nav-menu.active {
    display: flex;
  }
  .hero-title {
    font-size: 1.8rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .pricing-table th, .pricing-table td {
    padding: 0.8rem 0.6rem;
    font-size: 0.88rem;
  }
}
