/* ========================================
   PTTGO Pages - Unified Style
   統一頁面樣式 - 藍橘主題
   ======================================== */

/* ========================================
   CSS Variables - 統一顏色變數
   ======================================== */
:root {
  /* Primary Colors - 藍色主題 */
  --primary-blue: #2563EB;
  --primary-blue-dark: #1E3A8A;
  --primary-blue-light: #3B82F6;

  /* Accent Colors - 橘色強調 */
  --accent-orange: #F97316;
  --accent-orange-dark: #EA580C;

  /* Neutral Colors */
  --text-primary: #1E293B;
  --text-secondary: #64748B;
  --text-muted: #94A3B8;

  /* Background Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #F8FAFC;
  --bg-tertiary: #F1F5F9;

  /* Border Colors */
  --border-light: #E2E8F0;
  --border-medium: #CBD5E1;

  /* Status Colors */
  --success-color: #10B981;
  --warning-color: #F59E0B;
  --danger-color: #EF4444;
  --info-color: #3B82F6;

  /* ===== Backward-compatible variable mapping ===== */
  /* Maps index.css variable names → pages.css values */
  --color-primary: var(--primary-blue);
  --color-primary-light: #60A5FA;
  --color-primary-dark: #1D4ED8;
  --color-secondary: var(--primary-blue-light);
  --color-accent: var(--accent-orange);
  --color-accent-light: #FB923C;
  --color-accent-dark: var(--accent-orange-dark);
  --color-dark: var(--text-primary);
  --color-text: #334155;
  --color-text-light: var(--text-secondary);
  --color-text-muted: var(--text-muted);
  --color-bg: var(--bg-secondary);
  --color-bg-light: var(--bg-primary);
  --color-border: var(--border-light);
  --color-border-light: var(--bg-tertiary);
  --color-success: var(--success-color);
  --color-warning: var(--warning-color);
  --color-danger: var(--danger-color);
  --color-info: var(--info-color);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #2563EB 0%, #3B82F6 50%, #60A5FA 100%);
  --gradient-accent: linear-gradient(135deg, #F97316 0%, #FB923C 100%);
  --gradient-light: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(59, 130, 246, 0.08) 100%);
  --gradient-bg: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 50%, #BFDBFE 100%);
  --gradient-cta: linear-gradient(135deg, #F97316 0%, #EA580C 100%);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(30, 41, 59, 0.06);
  --shadow-md: 0 8px 24px rgba(30, 41, 59, 0.10);
  --shadow-lg: 0 20px 60px rgba(30, 41, 59, 0.12);
  --shadow-primary: 0 8px 24px rgba(37, 99, 235, 0.30);
  --shadow-accent: 0 8px 24px rgba(249, 115, 22, 0.30);
  --shadow-card: 0 4px 20px rgba(37, 99, 235, 0.08);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Animation */
  --timing-fast: 0.15s;
  --timing-normal: 0.3s;
  --timing-slow: 0.5s;
  --timing-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --easing-default: cubic-bezier(0.4, 0, 0.2, 1);

  /* Legacy aliases */
  --primary-color: var(--primary-blue);
  --secondary-color: var(--primary-blue-light);
  --accent-color: var(--accent-orange);
  --dark-color: var(--text-primary);
  --light-color: #EFF6FF;
  --light-bg: var(--bg-secondary);
  --border-radius: var(--radius-sm);
  --sidebar-width: 250px;
}

/* ========================================
   Base Styles - 基礎樣式
   ======================================== */
body.page-content {
  background: var(--bg-secondary);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* ========================================
   Hero Section - 頁面頂部區塊
   ======================================== */
.page-hero {
  background: linear-gradient(135deg, var(--primary-blue-dark) 0%, var(--primary-blue) 50%, var(--primary-blue-light) 100%);
  padding: 80px 20px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.page-hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.2;
}

.page-hero .hero-highlight {
  color: var(--accent-orange);
}

.page-hero p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 auto;
  max-width: 600px;
}

.page-hero .hero-actions {
  margin-top: 24px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   Content Section - 內容區塊
   ======================================== */
.page-content-section {
  padding: 0 20px;
  margin-top: -50px;
  position: relative;
  z-index: 2;
  margin-bottom: 60px;
}

.page-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ========================================
   Cards - 卡片樣式
   ======================================== */
.page-card {
  background: var(--bg-primary);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  margin-bottom: 24px;
}

.page-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--bg-tertiary);
}

.page-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
}

.page-card-icon.orange {
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-dark));
}

.page-card-icon.green {
  background: linear-gradient(135deg, #059669, #10B981);
}

.page-card-icon.purple {
  background: linear-gradient(135deg, #7C3AED, #8B5CF6);
}

.page-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.page-card-subtitle {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin: 4px 0 0 0;
}

/* ========================================
   Section Title - 區塊標題
   ======================================== */
.section-title {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 40px;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-orange));
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ========================================
   Feature Grid - 功能網格
   ======================================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-item {
  background: var(--bg-secondary);
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: #EFF6FF;
  transform: translateY(-4px);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #ffffff;
}

.feature-item h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 8px 0;
}

.feature-item p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

/* ========================================
   Stats Grid - 統計數據網格
   ======================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-card {
  text-align: center;
  padding: 24px;
  background: var(--bg-primary);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary-blue);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ========================================
   Timeline - 時間軸
   ======================================== */
.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary-blue), var(--accent-orange));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding-bottom: 32px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -38px;
  top: 4px;
  width: 16px;
  height: 16px;
  background: var(--primary-blue);
  border: 3px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--primary-blue);
}

.timeline-year {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 8px;
}

.timeline-item h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 8px 0;
}

.timeline-item p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

/* ========================================
   FAQ Section - 常見問題
   ======================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-secondary);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.faq-question {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: var(--bg-tertiary);
}

.faq-question h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  flex: 1;
  padding-right: 16px;
}

.faq-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
  border-radius: 50%;
  color: var(--text-secondary);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
  color: #ffffff;
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

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

.faq-answer p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0 0 12px 0;
}

.faq-answer ul {
  color: var(--text-secondary);
  line-height: 1.8;
  padding-left: 20px;
  margin: 0;
}

.faq-answer li {
  margin-bottom: 8px;
}

/* ========================================
   Info Box - 提示框
   ======================================== */
.info-box {
  background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
  border-left: 4px solid var(--primary-blue);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 20px 0;
}

.info-box.warning {
  background: linear-gradient(135deg, #FFFBEB, #FEF3C7);
  border-left-color: var(--warning-color);
}

.info-box.success {
  background: linear-gradient(135deg, #ECFDF5, #D1FAE5);
  border-left-color: var(--success-color);
}

.info-box.danger {
  background: linear-gradient(135deg, #FEF2F2, #FEE2E2);
  border-left-color: var(--danger-color);
}

.info-box h5 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-box p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

/* ========================================
   Steps - 步驟說明
   ======================================== */
.steps {
  counter-reset: step-counter;
  margin: 24px 0;
}

.step {
  position: relative;
  padding-left: 56px;
  margin-bottom: 24px;
  counter-increment: step-counter;
}

.step::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.step h4 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 8px 0;
}

.step p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

/* ========================================
   Table - 表格樣式
   ======================================== */
.page-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-table thead {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
}

.page-table th {
  padding: 16px;
  text-align: left;
  font-weight: 600;
  color: #ffffff;
  font-size: 0.9375rem;
}

.page-table td {
  padding: 16px;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.page-table tbody tr:last-child td {
  border-bottom: none;
}

.page-table tbody tr:hover {
  background: var(--bg-secondary);
}

/* ========================================
   Buttons - 按鈕樣式
   ======================================== */
.btn-primary-page {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-dark));
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.btn-primary-page:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
  color: #ffffff;
}

.btn-secondary-page {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--primary-blue);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary-page:hover {
  background: var(--primary-blue-dark);
  color: #ffffff;
}

.btn-outline-page {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  background: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline-page:hover {
  background: var(--primary-blue);
  color: #ffffff;
}

.btn-light-page {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-light-page:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* ========================================
   CTA Section - 行動呼籲區塊
   ======================================== */
.cta-section {
  background: linear-gradient(135deg, var(--primary-blue-dark) 0%, var(--primary-blue) 100%);
  border-radius: 20px;
  padding: 48px 32px;
  text-align: center;
  color: #ffffff;
}

.cta-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 12px 0;
}

.cta-section p {
  font-size: 1.0625rem;
  opacity: 0.9;
  margin: 0 0 28px 0;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   TOC - 目錄側邊欄
   ======================================== */
.toc-sidebar {
  position: sticky;
  top: 100px;
}

.toc-card {
  background: var(--bg-secondary);
  border-radius: 16px;
  padding: 24px;
}

.toc-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary-blue);
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-list li {
  margin-bottom: 8px;
}

.toc-list a {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: 0.9375rem;
}

.toc-list a:hover {
  background: var(--bg-primary);
  color: var(--primary-blue);
  transform: translateX(4px);
}

.toc-list a.active {
  background: var(--bg-primary);
  color: var(--primary-blue);
  font-weight: 600;
}

.toc-number {
  width: 28px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  background: var(--primary-blue);
  color: #ffffff;
  border-radius: 50%;
  margin-right: 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  flex-shrink: 0;
}

/* ========================================
   Content Prose - 文章內容
   ======================================== */
.prose {
  color: var(--text-primary);
  line-height: 1.8;
}

.prose h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 32px 0 16px 0;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--bg-tertiary);
  display: flex;
  align-items: center;
  gap: 12px;
}

.prose h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 24px 0 12px 0;
}

.prose h4 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 20px 0 8px 0;
}

.prose p {
  margin-bottom: 16px;
  color: var(--text-secondary);
}

.prose ul, .prose ol {
  margin-bottom: 16px;
  padding-left: 24px;
  color: var(--text-secondary);
}

.prose li {
  margin-bottom: 8px;
}

.prose strong {
  color: var(--text-primary);
  font-weight: 600;
}

.prose code {
  background: var(--bg-tertiary);
  padding: 2px 8px;
  border-radius: 4px;
  font-family: 'Monaco', 'Menlo', monospace;
  font-size: 0.875rem;
  color: var(--accent-orange);
}

/* ========================================
   Service Status Cards - 服務狀態卡片
   ======================================== */
.status-overall {
  text-align: center;
  padding: 32px;
  border-radius: 20px;
  background: var(--bg-primary);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  margin-bottom: 24px;
}

.status-overall.operational {
  border-top: 5px solid var(--success-color);
}

.status-overall.degraded {
  border-top: 5px solid var(--warning-color);
}

.status-overall.down {
  border-top: 5px solid var(--danger-color);
}

.status-icon-large {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 2rem;
  color: #ffffff;
}

.status-icon-large.operational {
  background: var(--success-color);
}

.status-icon-large.degraded {
  background: var(--warning-color);
}

.status-icon-large.down {
  background: var(--danger-color);
}

.service-item {
  background: var(--bg-secondary);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.service-item:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

.service-name {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--text-primary);
}

.service-name i {
  font-size: 1.25rem;
  color: var(--primary-blue);
}

.status-badge {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #ffffff;
}

.status-badge.operational {
  background: var(--success-color);
}

.status-badge.degraded {
  background: var(--warning-color);
}

.status-badge.down {
  background: var(--danger-color);
}

/* ========================================
   Responsive Design - 響應式設計
   ======================================== */
@media (max-width: 992px) {
  .page-hero h1 {
    font-size: 2.25rem;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .toc-sidebar {
    position: static;
    margin-bottom: 24px;
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding: 60px 16px 80px;
  }

  .page-hero h1 {
    font-size: 1.875rem;
  }

  .page-hero p {
    font-size: 1rem;
  }

  .page-content-section {
    padding: 0 16px;
    margin-top: -40px;
  }

  .page-card {
    padding: 24px 20px;
    border-radius: 16px;
  }

  .page-card-header {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .page-card-icon {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }

  .page-card-title {
    font-size: 1.25rem;
  }

  .section-title {
    font-size: 1.5rem;
    margin-bottom: 28px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-item {
    padding: 20px 16px;
  }

  .feature-icon {
    width: 52px;
    height: 52px;
    font-size: 1.25rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .stat-card {
    padding: 16px;
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .stat-label {
    font-size: 0.8125rem;
  }

  .cta-section {
    padding: 32px 20px;
  }

  .cta-section h2 {
    font-size: 1.5rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .btn-primary-page,
  .btn-secondary-page,
  .btn-outline-page,
  .btn-light-page {
    width: 100%;
    justify-content: center;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  .hero-actions .btn-primary-page,
  .hero-actions .btn-light-page {
    width: 100%;
  }

  .timeline {
    padding-left: 24px;
  }

  .timeline-item::before {
    left: -30px;
    width: 12px;
    height: 12px;
  }

  .step {
    padding-left: 48px;
  }

  .step::before {
    width: 32px;
    height: 32px;
    font-size: 0.875rem;
  }

  .faq-question {
    padding: 16px 20px;
  }

  .faq-question h3 {
    font-size: 0.9375rem;
  }

  .faq-answer {
    padding: 0 20px;
  }

  .faq-item.active .faq-answer {
    padding: 0 20px 16px;
  }

  .service-header {
    flex-wrap: wrap;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .page-hero h1 {
    font-size: 1.625rem;
  }

  .page-card {
    padding: 20px 16px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}
