/* ==========================================================================
   吹雪云 (Chuixue Cloud) - Soft Snowfall Theme
   Palette:
     --cream: #fef9f9
     --sky-pastel: #e8f4fd
     --accent-dusty-blue: #b8d8f0
     --warm-pink: #f6c8d0
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@1,400;1,600&family=Quicksand:wght@300;400;500;600&display=swap');

:root {
  --cream: #fef9f9;
  --sky-pastel: #e8f4fd;
  --accent-dusty-blue: #b8d8f0;
  --warm-pink: #f6c8d0;
  --soft-lavender: #f0eaf8;
  --soft-mint: #eaf6f2;
  
  --text-primary: #2d3748;
  --text-secondary: #5a6a85;
  --text-muted: #8b9bb4;
  
  --border-soft: rgba(184, 216, 240, 0.35);
  --shadow-subtle: 0 10px 30px -10px rgba(184, 216, 240, 0.35);
  --shadow-hover: 0 18px 40px -12px rgba(184, 216, 240, 0.55);
  
  --radius-card: 24px;
  --radius-pill: 9999px;
  
  --font-heading: 'Quicksand', -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-poetic: 'Cormorant Garamond', Georgia, serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  
  --ease-calm: cubic-bezier(.4, .0, .2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--cream);
  color: var(--text-primary);
}

body {
  font-family: var(--font-body);
  line-height: 1.7;
  background: linear-gradient(180deg, #fef9f9 0%, #f6fafd 50%, #fef9f9 100%);
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Background Snowfall Canvas */
#snowfall-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
}

/* Page Wrapper */
.page-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(254, 249, 249, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(184, 216, 240, 0.4);
  z-index: 100;
  transition: all 0.4s var(--ease-calm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-svg-snowflake {
  width: 38px;
  height: 38px;
  transition: transform 0.8s var(--ease-calm);
}

.brand-logo:hover .brand-svg-snowflake {
  transform: rotate(90deg);
}

.brand-title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.45rem;
  letter-spacing: 0.08em;
  color: #2b394e;
}

.brand-tag {
  font-family: var(--font-poetic);
  font-style: italic;
  font-size: 1.05rem;
  color: #8faec5;
  margin-left: 4px;
}

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

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  transition: all 0.3s var(--ease-calm);
}

.nav-link:hover, .nav-link.active {
  color: #1e3a5f;
  background: var(--sky-pastel);
}

.nav-cta-btn {
  margin-left: 8px;
  padding: 10px 22px;
  font-size: 0.95rem;
}

/* Button Component */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease-calm), box-shadow 0.3s var(--ease-calm), background 0.3s var(--ease-calm);
  outline: none;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(4px) !important;
}

.btn-primary {
  background: linear-gradient(135deg, #f6c8d0 0%, #b8d8f0 100%);
  color: #24334a;
  box-shadow: 0 6px 18px rgba(184, 216, 240, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #f8d3d9 0%, #c4e1f7 100%);
  box-shadow: 0 10px 24px rgba(184, 216, 240, 0.65);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.85);
  color: #3b506d;
  border: 1px solid #b8d8f0;
  box-shadow: 0 4px 14px rgba(184, 216, 240, 0.25);
}

.btn-secondary:hover {
  background: #ffffff;
  color: #1e3a5f;
  border-color: #9ac4e5;
  box-shadow: 0 8px 20px rgba(184, 216, 240, 0.4);
  transform: translateY(-2px);
}

.btn-large {
  padding: 14px 34px;
  font-size: 1.1rem;
}

/* Poetic Accent */
.poetic-word {
  font-family: var(--font-poetic);
  font-style: italic;
  font-weight: 600;
  color: #5c7e9f;
  letter-spacing: 0.02em;
}

/* Hero Section */
.hero-section {
  padding: 85px 0 60px;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 244, 253, 0.75);
  border: 1px solid rgba(184, 216, 240, 0.6);
  padding: 7px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  color: #3d5975;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 3.1rem;
  line-height: 1.28;
  letter-spacing: 0.06em;
  color: #1f2d3d;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 780px;
  margin: 0 auto 16px;
  font-weight: 400;
  line-height: 1.6;
}

.hero-desc {
  font-size: 1.02rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

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

.hero-trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 20px;
  font-size: 0.92rem;
  color: #6c7e95;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.trust-icon {
  color: #78aed3;
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 52px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-poetic);
  font-style: italic;
  font-size: 1.15rem;
  color: #7b9bb9;
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 2.2rem;
  letter-spacing: 0.05em;
  color: #1f2d3d;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Common Card Styles */
.card {
  border-radius: var(--radius-card);
  padding: 34px 28px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-subtle);
  transition: transform 0.6s var(--ease-calm), box-shadow 0.6s var(--ease-calm);
}

/* Snowflake Pseudo Element on Hover */
.card::after {
  content: '❄';
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 1.6rem;
  color: rgba(184, 216, 240, 0.4);
  opacity: 0;
  transform: translateY(-8px) rotate(0deg);
  transition: opacity 0.5s var(--ease-calm), transform 0.5s var(--ease-calm);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.card:hover::after {
  opacity: 1;
  transform: translateY(0px) rotate(45deg);
}

/* Tint Variations */
.card-tint-sky {
  background: linear-gradient(145deg, #ffffff 0%, var(--sky-pastel) 100%);
}

.card-tint-pink {
  background: linear-gradient(145deg, #ffffff 0%, #fdf0f2 100%);
}

.card-tint-blue {
  background: linear-gradient(145deg, #ffffff 0%, #eaf3fb 100%);
}

.card-tint-cream {
  background: linear-gradient(145deg, #ffffff 0%, #fff8f7 100%);
}

.card-tint-lavender {
  background: linear-gradient(145deg, #ffffff 0%, var(--soft-lavender) 100%);
}

.card-tint-mint {
  background: linear-gradient(145deg, #ffffff 0%, var(--soft-mint) 100%);
}

/* Core Advantages Grid */
.features-section {
  padding: 60px 0;
}

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

.feature-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  box-shadow: 0 6px 16px rgba(184, 216, 240, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.feature-title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.32rem;
  letter-spacing: 0.04em;
  color: #24354b;
  margin-bottom: 12px;
}

.feature-text {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.feature-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.pill-tag {
  display: inline-block;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.7);
  color: #49637e;
  border: 1px solid rgba(184, 216, 240, 0.4);
}

/* Streaming & AI Section */
.unlock-section {
  padding: 60px 0;
}

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

.unlock-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.unlock-badge-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(184, 216, 240, 0.3);
}

.unlock-title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.35rem;
  color: #1f2f45;
}

.unlock-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 20px 0;
  list-style: none;
}

.unlock-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.94rem;
  color: #3b506d;
  background: rgba(255, 255, 255, 0.65);
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(184, 216, 240, 0.25);
}

.unlock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #68b0dd;
}

/* Pricing Section */
.pricing-section {
  padding: 70px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.price-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  padding: 34px 22px;
}

.price-card.featured {
  border: 2px solid #b8d8f0;
  box-shadow: 0 16px 36px -10px rgba(184, 216, 240, 0.6);
  transform: scale(1.02);
}

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

.featured-ribbon {
  position: absolute;
  top: 14px;
  right: -28px;
  background: linear-gradient(135deg, #f6c8d0, #b8d8f0);
  color: #2b394e;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 32px;
  transform: rotate(45deg);
  letter-spacing: 0.05em;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.plan-name {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  color: #24354b;
  margin-bottom: 6px;
}

.plan-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.price-box {
  margin-bottom: 22px;
  padding: 12px 0;
  border-top: 1px dashed rgba(184, 216, 240, 0.5);
  border-bottom: 1px dashed rgba(184, 216, 240, 0.5);
}

.price-currency {
  font-size: 1.25rem;
  font-weight: 500;
  color: #3b506d;
}

.price-amount {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 2.6rem;
  color: #1f2d3d;
  line-height: 1;
}

.price-period {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.plan-features {
  list-style: none;
  text-align: left;
  margin-bottom: 26px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.plan-features li {
  padding: 7px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.plan-features li::before {
  content: '✓';
  color: #6eb5e1;
  font-weight: bold;
}

.price-cta-btn {
  width: 100%;
  padding: 12px 0;
}

/* Testimonials Section */
.testimonials-section {
  padding: 60px 0;
}

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

.testimonial-quote {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--warm-pink), var(--accent-dusty-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #2b394e;
  font-size: 1.1rem;
}

.author-info h4 {
  font-size: 0.98rem;
  font-weight: 600;
  color: #223246;
}

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

.rating-stars {
  color: #f7b731;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

/* FAQ Section */
.faq-section {
  padding: 60px 0 80px;
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--border-soft);
  overflow: hidden;
  transition: all 0.3s var(--ease-calm);
}

.faq-item:hover {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 6px 18px rgba(184, 216, 240, 0.3);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.08rem;
  letter-spacing: 0.02em;
  color: #24354b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-icon {
  font-size: 1.2rem;
  color: #7b9bb9;
  transition: transform 0.4s var(--ease-calm);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-calm), padding 0.4s var(--ease-calm);
  padding: 0 24px;
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 280px;
  padding: 0 24px 20px;
}

/* Footer (strictly 4 links as requested) */
.site-footer {
  margin-top: auto;
  background: rgba(254, 249, 249, 0.95);
  border-top: 1px solid rgba(184, 216, 240, 0.5);
  padding: 44px 0 34px;
  text-align: center;
}

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

.footer-link {
  text-decoration: none;
  color: #49637e;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.02rem;
  letter-spacing: 0.03em;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  transition: all 0.3s var(--ease-calm);
}

.footer-link:hover {
  color: #1a324f;
  background: var(--sky-pastel);
}

.footer-copyright {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Article Page & Content Styling */
.article-header {
  padding: 50px 0 30px;
  text-align: center;
}

.article-body {
  max-width: 860px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 24px;
  padding: 44px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-subtle);
  margin-bottom: 70px;
}

.article-body h2 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.6rem;
  color: #1f2d3d;
  margin: 32px 0 16px;
  border-left: 4px solid #b8d8f0;
  padding-left: 14px;
}

.article-body h3 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.25rem;
  color: #2b394e;
  margin: 24px 0 12px;
}

.article-body p {
  font-size: 1.02rem;
  color: #44566c;
  line-height: 1.85;
  margin-bottom: 18px;
}

.article-body ul, .article-body ol {
  margin: 16px 0 20px 24px;
  color: #44566c;
  line-height: 1.8;
}

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

.article-body a {
  color: #2f6ea5;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 500;
  transition: color 0.2s var(--ease-calm);
}

.article-body a:hover {
  color: #164875;
}

/* Article List Grid (Insights page) */
.article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 60px;
}

.article-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.article-card-title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.25rem;
  color: #1f2f45;
  margin-bottom: 12px;
  line-height: 1.5;
}

.article-card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.article-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(184, 216, 240, 0.4);
  padding-top: 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Responsive Media Queries (@media)
   Mobile perfect single-column layout, touch friendly buttons
   ========================================================================== */

@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-container {
    height: auto;
    padding: 14px 0;
    flex-wrap: wrap;
    gap: 12px;
  }
  
  .nav-menu {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 12px;
  }
  
  .hero-title {
    font-size: 2.15rem;
    letter-spacing: 0.03em;
  }
  
  .hero-subtitle {
    font-size: 1.08rem;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .btn-large {
    width: 100%;
    min-height: 48px;
    font-size: 1.02rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .unlock-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .price-card.featured {
    transform: none;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .article-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-nav {
    flex-direction: column;
    gap: 14px;
  }
  
  .article-body {
    padding: 24px 18px;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
}
