/* ==========================================================================
   吹雪云 · Yuki Minimal (日系雪境) Design System
   Domain: chuixueyun.top
   Aesthetic: Pure White, Frost Light Blue Negative Space, Soft Elevation,
              Japanese Minimalist Typography, High Contrast & High Conversion.
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-snow: #FFFFFF;
  --bg-subtle: #F6F9FD;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F8FBFE;
  --bg-frost: rgba(240, 246, 253, 0.7);
  --bg-glass: rgba(255, 255, 255, 0.85);

  /* Primary Glacial Blues */
  --primary: #0284C7;
  --primary-hover: #0369A1;
  --primary-light: #E0F2FE;
  --primary-subtle: #F0F9FF;
  --accent-cyan: #38BDF8;
  --accent-glow: rgba(56, 189, 248, 0.25);

  /* Neutral Slate Shades */
  --text-main: #0F172A;
  --text-secondary: #334155;
  --text-muted: #64748B;
  --text-light: #94A3B8;

  /* Borders & Dividers */
  --border-light: #E2E8F0;
  --border-frost: #E0EDF8;
  --border-focus: #0284C7;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 12px 32px -8px rgba(2, 132, 199, 0.08);
  --shadow-hover: 0 18px 40px -10px rgba(2, 132, 199, 0.14);
  --shadow-glow: 0 0 24px rgba(56, 189, 248, 0.35);

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Yu Gothic", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-snow);
  color: var(--text-main);
  line-height: 1.7;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background: linear-gradient(180deg, #F0F6FD 0%, #FFFFFF 20%, #F5F9FE 65%, #FFFFFF 100%);
}

/* Subtle snowflake background micro-pattern */
.snow-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 900px;
  pointer-events: none;
  background-image: 
    radial-gradient(circle at 20% 15%, rgba(56, 189, 248, 0.08) 0, transparent 40%),
    radial-gradient(circle at 80% 25%, rgba(2, 132, 199, 0.06) 0, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(224, 242, 254, 0.4) 0, transparent 60%);
  z-index: 0;
}

/* Typography styles */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 4vw + 1rem, 3.25rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.6rem, 2.5vw + 0.5rem, 2.25rem);
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.35rem;
}

p {
  color: var(--text-secondary);
  font-size: 1rem;
}

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

a:hover {
  color: var(--primary-hover);
}

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

/* Layout Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.container-narrow {
  max-width: 900px;
}

/* Section Common Styling */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-frost);
  border-bottom: 1px solid var(--border-frost);
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: var(--primary-light);
  color: var(--primary-hover);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  transition: background-color var(--transition-fast), box-shadow var(--transition-fast);
}

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

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-logo-img {
  height: 40px;
  width: auto;
}

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

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

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

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: var(--radius-full);
  transition: width var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-main);
}

/* ==========================================================================
   Buttons & CTAs
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-smooth);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0369A1 0%, #075985 100%);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--text-secondary) !important;
  border-color: var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--primary-subtle);
  border-color: var(--primary-light);
  color: var(--primary) !important;
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, #0284C7 0%, #38BDF8 100%);
  color: #FFFFFF !important;
  font-size: 1.05rem;
  padding: 0.9rem 2.2rem;
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.35);
}

.btn-accent:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 28px rgba(2, 132, 199, 0.45);
}

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

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 4.5rem 0 5rem;
  text-align: center;
  position: relative;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #FFFFFF;
  border: 1px solid var(--border-frost);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.8rem;
}

.hero-pill-badge {
  background: var(--primary);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
}

.hero-title {
  margin-bottom: 1.25rem;
  font-weight: 800;
}

.hero-title-highlight {
  background: linear-gradient(120deg, #0284C7, #0369A1 50%, #38BDF8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-frost);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

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

.stat-number {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}

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

/* ==========================================================================
   About Brand Section (日系雪境专属排版)
   ========================================================================== */
.about-box {
  background: #FFFFFF;
  border: 1px solid var(--border-frost);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.about-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, #38BDF8, #0284C7);
}

.about-quote {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.about-lead {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}

.about-body {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.about-outro {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-hover);
  padding-top: 1.25rem;
  border-top: 1px dashed var(--border-frost);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ==========================================================================
   Pricing Cards Section (5 Plans from Image 1)
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-frost);
  border-radius: var(--radius-xl);
  padding: 2.2rem 1.4rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-cyan);
}

.pricing-card.popular {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
  z-index: 2;
  background: linear-gradient(180deg, #FFFFFF 0%, #F5F9FF 100%);
}

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

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #0284C7, #38BDF8);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3);
}

.plan-header {
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-frost);
}

.plan-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.plan-badge {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--text-muted);
  background: var(--bg-subtle);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
}

.plan-price {
  text-align: center;
  margin-bottom: 1.75rem;
}

.price-currency {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  vertical-align: top;
  margin-right: 2px;
}

.price-val {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

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

.plan-traffic-highlight {
  background: var(--primary-subtle);
  border: 1px solid var(--primary-light);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.traffic-num {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-hover);
  display: block;
}

.traffic-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.plan-features {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.plan-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.plan-feature-item svg {
  color: var(--primary);
  flex-shrink: 0;
}

.plan-cta {
  width: 100%;
}

.pricing-notes {
  margin-top: 3rem;
  text-align: center;
  padding: 1.5rem;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border-frost);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.pricing-note-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-frost);
  border-radius: var(--radius-xl);
  padding: 2.2rem 1.8rem;
  transition: all var(--transition-smooth);
}

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

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--primary);
}

.feature-title {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.feature-desc {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   Articles Section (6 Core SEO Articles)
   ========================================================================== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-frost);
  border-radius: var(--radius-xl);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.article-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.article-keyword-badge {
  background: var(--primary-light);
  color: var(--primary-hover);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.article-read-time {
  font-size: 0.8rem;
  color: var(--text-light);
}

.article-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.45;
  margin-bottom: 0.75rem;
}

.article-card:hover .article-card-title {
  color: var(--primary);
}

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

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

/* ==========================================================================
   User Reviews / Testimonials Section
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-frost);
  border-radius: var(--radius-xl);
  padding: 2rem 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast);
}

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

.review-stars {
  color: #F59E0B;
  display: flex;
  gap: 2px;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.review-quote {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.review-user-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-frost);
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E0F2FE, #BAE6FD);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9rem;
}

.review-user-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
}

.review-user-tag {
  font-size: 0.78rem;
  color: var(--text-muted);
}

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

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border-frost);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--accent-cyan);
}

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

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--primary);
  transition: transform var(--transition-smooth);
  flex-shrink: 0;
}

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

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

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

/* ==========================================================================
   CTA Banner Section
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 70%, #075985 100%);
  border-radius: var(--radius-xl);
  padding: 4rem 2rem;
  text-align: center;
  color: #FFFFFF;
  box-shadow: 0 20px 40px -10px rgba(2, 132, 199, 0.4);
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.cta-banner p {
  color: #E0F2FE;
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto 2.25rem;
}

.cta-banner .btn-white {
  background: #FFFFFF;
  color: var(--primary-hover) !important;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.cta-banner .btn-white:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #0B1120;
  color: #94A3B8;
  padding: 4.5rem 0 2.5rem;
  font-size: 0.92rem;
}

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

.footer-brand p {
  color: #94A3B8;
  font-size: 0.92rem;
  margin: 1rem 0 1.5rem;
  line-height: 1.7;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1rem;
  margin-bottom: 1.25rem;
  font-weight: 600;
}

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

.footer-links a {
  color: #94A3B8;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

/* ==========================================================================
   Sticky Mobile Bar (High Conversion)
   ========================================================================== */
.sticky-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-frost);
  padding: 0.75rem 1.25rem;
  z-index: 999;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
}

.sticky-mobile-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.sticky-text {
  display: flex;
  flex-direction: column;
}

.sticky-text strong {
  color: var(--text-main);
  font-size: 0.95rem;
  line-height: 1.2;
}

.sticky-text span {
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 600;
}

/* ==========================================================================
   Article Detail Page Template Specific Styles
   ========================================================================== */
.article-header {
  padding: 3.5rem 0 2rem;
  background: linear-gradient(180deg, #F0F6FD 0%, #FFFFFF 100%);
  border-bottom: 1px solid var(--border-frost);
}

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

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

.breadcrumbs a:hover {
  color: var(--primary);
}

.breadcrumbs span {
  color: var(--text-light);
}

.article-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 1.25rem;
  color: var(--text-main);
}

.article-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.article-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

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

.article-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #1E293B;
}

.article-content h2 {
  font-size: 1.6rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-light);
  color: #0F172A;
}

.article-content h3 {
  font-size: 1.25rem;
  margin-top: 1.8rem;
  margin-bottom: 0.75rem;
  color: #1E293B;
}

.article-content p {
  margin-bottom: 1.25rem;
  color: #334155;
}

.article-content ul, .article-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

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

.article-content strong {
  color: #0F172A;
}

.article-callout {
  background: var(--primary-subtle);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
  color: var(--text-secondary);
}

.article-table-wrapper {
  overflow-x: auto;
  margin: 1.75rem 0;
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.article-table th {
  background: var(--bg-subtle);
  color: var(--text-main);
  font-weight: 600;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-frost);
}

.article-table td {
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-frost);
  color: var(--text-secondary);
}

.article-table tr:nth-child(even) td {
  background: #FAFCFE;
}

.article-sidebar {
  position: sticky;
  top: 6rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-self: start;
}

.sidebar-widget {
  background: #FFFFFF;
  border: 1px solid var(--border-frost);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.sidebar-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.related-articles-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.related-article-link {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.45;
  display: block;
}

.related-article-link:hover {
  color: var(--primary);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1200px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
  .pricing-card.popular {
    transform: none;
  }
  .pricing-card.popular:hover {
    transform: translateY(-6px);
  }
}

@media (max-width: 992px) {
  .features-grid, .articles-grid, .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .article-body-layout {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 4.5rem;
    left: 0;
    right: 0;
    background: #FFFFFF;
    flex-direction: column;
    padding: 2rem 1.5rem;
    border-bottom: 1px solid var(--border-frost);
    box-shadow: var(--shadow-lg);
    display: none;
    gap: 1.25rem;
  }
  .nav-menu.open {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
  .header-actions .btn-primary {
    display: none;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .features-grid, .articles-grid, .reviews-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .about-box {
    padding: 2rem 1.25rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .sticky-mobile-bar {
    display: block;
  }
  body {
    padding-bottom: 70px;
  }
}
