/* =========================================
   Skype 主页 - 完整独立样式表
   版本: 3.0 - 布局修复版
   高优先级，覆盖主题默认样式
   ========================================= */

/* --- CSS 变量重置 --- */
.skype-page {
  /* 主色调 */
  --skype-primary: #0078D4;
  --skype-primary-hover: #106EBE;
  --skype-primary-light: rgba(0, 120, 212, 0.08);
  
  /* 背景 */
  --skype-bg: #FFFFFF;
  --skype-bg-light: #F8F9FA;
  
  /* 边框 */
  --skype-border: #E5E7EB;
  --skype-border-light: rgba(0, 120, 212, 0.12);
  
  /* 文字 */
  --skype-text: #1F1F1F;
  --skype-text-secondary: #5F6368;
  
  /* 阴影 */
  --skype-shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --skype-shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --skype-shadow-md: 0 8px 24px rgba(0,0,0,0.08);
  --skype-shadow-lg: 0 16px 48px rgba(0,0,0,0.12);
  
  /* 圆角 */
  --skype-radius-sm: 8px;
  --skype-radius-md: 16px;
  --skype-radius-lg: 20px;
  --skype-radius-xl: 24px;
  
  /* 间距 */
  --skype-space-xs: 8px;
  --skype-space-sm: 16px;
  --skype-space-md: 24px;
  --skype-space-lg: 32px;
  --skype-space-xl: 48px;
  --skype-space-2xl: 64px;
  --skype-space-3xl: 80px;
  
  /* 过渡 */
  --skype-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* 基础样式重置 */
  font-family: "Segoe UI", "Google Sans", "Inter", -apple-system, sans-serif;
  color: var(--skype-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  
  /* 关键：确保容器不超出 */
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* --- 全局重置（仅影响 .skype-page 内部）--- */
.skype-page *,
.skype-page *::before,
.skype-page *::after {
  box-sizing: border-box;
}

.skype-page h1,
.skype-page h2,
.skype-page h3,
.skype-page h4,
.skype-page p {
  margin: 0;
  padding: 0;
}

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

.skype-page a {
  text-decoration: none;
  color: inherit;
}

/* =========================================
   Hero Section
   ========================================= */
.skype-page .hero-section {
  background: linear-gradient(180deg, rgba(0,120,212,0.05) 0%, rgba(0,120,212,0.02) 100%);
  padding: 100px 0 80px;
  width: 100%;
}

.skype-page .hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.skype-page .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--skype-primary-light);
  color: var(--skype-primary);
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid var(--skype-border-light);
}

.skype-page .hero-badge svg {
  width: 16px;
  height: 16px;
}

.skype-page .hero-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--skype-text);
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.skype-page .hero-subtitle {
  font-size: 20px;
  line-height: 1.6;
  color: var(--skype-text-secondary);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.skype-page .hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

/* Hero 按钮 */
.skype-page .hero-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  transition: var(--skype-transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.skype-page .hero-actions .btn-primary {
  background: var(--skype-primary);
  color: #FFFFFF;
  border-color: var(--skype-primary);
  box-shadow: 0 2px 8px rgba(0,120,212,0.3);
}

.skype-page .hero-actions .btn-primary:hover {
  background: var(--skype-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,120,212,0.4);
}

.skype-page .hero-actions .btn-secondary {
  background: #FFFFFF;
  color: var(--skype-text);
  border-color: var(--skype-border);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.skype-page .hero-actions .btn-secondary:hover {
  background: rgba(0,120,212,0.03);
  border-color: var(--skype-primary);
  color: var(--skype-primary);
  transform: translateY(-2px);
}

/* Hero 图片展示 */
.skype-page .hero-device-showcase {
  max-width: 900px;
  margin: 0 auto;
}

.skype-page .hero-device-showcase img {
  width: 100%;
  border-radius: var(--skype-radius-xl);
  box-shadow: var(--skype-shadow-lg);
  transition: transform 0.3s ease;
}

.skype-page .hero-device-showcase img:hover {
  transform: scale(1.02);
}

/* Hero 占位符 */
.skype-page .hero-device-showcase-placeholder {
  background: #F5F5F5;
  border-radius: var(--skype-radius-xl);
  padding: 80px 20px;
  text-align: center;
  border: 2px dashed #E0E0E0;
}

/* =========================================
   Section Container（统一容器）
   ========================================= */
.skype-page .section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
  width: 100%;
}

/* =========================================
   Section Header（统一标题区）
   ========================================= */
.skype-page .section-header {
  text-align: center;
  margin-bottom: 48px;
}

.skype-page .section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--skype-text);
  margin-bottom: 16px;
  line-height: 1.2;
}

.skype-page .section-subtitle {
  font-size: 18px;
  color: var(--skype-text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* =========================================
   Features Grid（快速上手指南 - 横向滚动卡片）
   ========================================= */
.skype-page .features-grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox隐藏滚动条 */
  padding: 10px 0 20px;
  margin: 0 -20px;
  padding-left: 20px;
  padding-right: 20px;
  /* 关键：确保不超出父容器 */
  width: 100%;
  max-width: 100%;
}

.skype-page .features-grid::-webkit-scrollbar {
  display: none; /* Chrome/Safari隐藏滚动条 */
}

.skype-page .feature-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  background: #FFFFFF;
  border-radius: var(--skype-radius-lg);
  padding: 32px 24px;
  border: 1px solid var(--skype-border);
  box-shadow: var(--skype-shadow-xs);
  transition: var(--skype-transition);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  min-height: 320px;
}

.skype-page .feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--skype-shadow-md);
  border-color: rgba(0,120,212,0.2);
}

.skype-page .feature-card-icon {
  width: 52px;
  height: 52px;
  background: var(--skype-primary-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--skype-primary);
  margin-bottom: 24px;
}

.skype-page .feature-card-icon svg {
  width: 24px;
  height: 24px;
}

.skype-page .feature-card-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--skype-text);
  margin-bottom: 12px;
}

.skype-page .feature-card-desc {
  font-size: 15px;
  color: var(--skype-text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.skype-page .feature-card-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--skype-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease;
}

.skype-page .feature-card:hover .feature-card-link {
  gap: 8px;
}

/* 桌面端显示5列（不滚动） */
@media screen and (min-width: 1200px) {
  .skype-page .features-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    overflow-x: visible;
    scroll-snap-type: none;
    padding: 0;
    margin: 0;
    gap: 20px;
  }
  
  .skype-page .feature-card {
    flex: unset;
    scroll-snap-align: unset;
  }
}

/* Tablet: 显示3列 */
@media screen and (min-width: 769px) and (max-width: 1199px) {
  .skype-page .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow-x: visible;
    scroll-snap-type: none;
    padding: 0;
    margin: 0;
    gap: 20px;
    justify-items: center;
  }
  
  .skype-page .feature-card {
    flex: unset;
    scroll-snap-align: unset;
  }
}

/* =========================================
   Benefits Section（为什么选择 Skype）
   ========================================= */
.skype-page .benefits-section {
  background: var(--skype-bg-light);
  max-width: 100%;
  padding: 80px 0;
  width: 100%;
}

.skype-page .benefits-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.skype-page .benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.skype-page .benefit-card {
  background: #FFFFFF;
  border-radius: var(--skype-radius-lg);
  padding: 32px;
  border: 1px solid var(--skype-border);
  box-shadow: var(--skype-shadow-xs);
  transition: var(--skype-transition);
}

.skype-page .benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--skype-shadow-md);
  border-color: rgba(0,120,212,0.2);
}

.skype-page .benefit-card-icon {
  width: 56px;
  height: 56px;
  background: var(--skype-primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--skype-primary);
  margin-bottom: 24px;
}

.skype-page .benefit-card-icon svg {
  width: 28px;
  height: 28px;
}

.skype-page .benefit-card-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--skype-text);
  margin-bottom: 12px;
}

.skype-page .benefit-card-desc {
  font-size: 15px;
  color: var(--skype-text-secondary);
  line-height: 1.6;
}

/* =========================================
   Feature Row（功能亮点）
   ========================================= */
.skype-page .feature-row {
  display: flex;
  align-items: center;
  gap: 80px;
  margin-bottom: 100px;
  /* 确保不超出容器 */
  width: 100%;
}

.skype-page .feature-row:last-child,
.skype-page .feature-row--last {
  margin-bottom: 0;
}

.skype-page .feature-row.reverse {
  flex-direction: row-reverse;
}

.skype-page .feature-row-content {
  flex: 1;
  min-width: 0; /* 防止flex子元素溢出 */
}

.skype-page .feature-row-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--skype-primary);
  background: var(--skype-primary-light);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.skype-page .feature-row-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--skype-text);
  margin-bottom: 16px;
  line-height: 1.2;
}

.skype-page .feature-row-desc {
  font-size: 18px;
  color: var(--skype-text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}

.skype-page .feature-row-image {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 0; /* 防止flex子元素溢出 */
}

.skype-page .feature-row-image img {
  width: 100%;
  max-width: 560px;
  border-radius: var(--skype-radius-xl);
  box-shadow: var(--skype-shadow-md);
  transition: transform 0.3s ease;
}

.skype-page .feature-row-image img:hover {
  transform: scale(1.02);
}

/* Feature Row 按钮 */
.skype-page .btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--skype-primary);
  border: 2px solid var(--skype-primary);
  background: transparent;
  transition: var(--skype-transition);
}

.skype-page .btn-outline:hover {
  background: rgba(0,120,212,0.05);
  transform: translateY(-2px);
}

.skype-page .btn-outline svg {
  width: 16px;
  height: 16px;
}

/* 占位符 */
.skype-page .feature-row-image-placeholder {
  width: 100%;
  max-width: 560px;
  background: #F5F5F5;
  border-radius: var(--skype-radius-xl);
  padding: 100px 20px;
  text-align: center;
  border: 2px dashed #E0E0E0;
}

/* =========================================
   Articles Grid（最新文章）
   ========================================= */
.skype-page .articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.skype-page .article-card {
  background: #FFFFFF;
  border-radius: var(--skype-radius-lg);
  overflow: hidden;
  border: 1px solid var(--skype-border);
  box-shadow: var(--skype-shadow-xs);
  transition: var(--skype-transition);
}

.skype-page .article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--skype-shadow-md);
  border-color: rgba(0,120,212,0.2);
}

.skype-page .article-card-body {
  padding: 28px;
}

.skype-page .article-card-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--skype-text);
  margin-bottom: 12px;
  line-height: 1.4;
}

.skype-page .article-card-excerpt {
  font-size: 15px;
  color: var(--skype-text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.skype-page .article-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--skype-border);
  font-size: 14px;
  color: var(--skype-text-secondary);
}

.skype-page .article-card-readmore {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  color: var(--skype-primary);
  transition: gap 0.2s ease;
}

.skype-page .article-card:hover .article-card-readmore {
  gap: 8px;
}

/* 分页 */
.skype-page .pagination-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.skype-page .pagination-nav a,
.skype-page .pagination-nav span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  background: #FFFFFF;
  border: 1px solid var(--skype-border);
  color: var(--skype-text-secondary);
  transition: var(--skype-transition);
}

.skype-page .pagination-nav a:hover {
  border-color: var(--skype-primary);
  color: var(--skype-primary);
  background: var(--skype-primary-light);
}

.skype-page .pagination-nav .current {
  background: var(--skype-primary);
  color: #FFFFFF;
  border-color: var(--skype-primary);
}

/* 空状态 */
.skype-page .empty-state {
  text-align: center;
  padding: 60px 20px;
  background: var(--skype-bg-light);
  border-radius: var(--skype-radius-lg);
}

.skype-page .empty-state svg {
  width: 48px;
  height: 48px;
  color: #CCCCCC;
  margin-bottom: 16px;
}

.skype-page .empty-state p {
  font-size: 16px;
  color: var(--skype-text-secondary);
}

/* =========================================
   FAQ Section
   ========================================= */
.skype-page .faq-section {
  background: var(--skype-bg-light);
  max-width: 100%;
  padding: 80px 0;
  width: 100%;
}

.skype-page .faq-section .section-header {
  max-width: 1200px;
  margin: 0 auto 48px;
  padding: 0 20px;
}

.skype-page .faq-list {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
  gap: 20px;
}

.skype-page .faq-item {
  background: #FFFFFF;
  border-radius: var(--skype-radius-md);
  padding: 28px;
  border: 1px solid var(--skype-border);
  box-shadow: var(--skype-shadow-xs);
  transition: var(--skype-transition);
}

.skype-page .faq-item:hover {
  border-color: var(--skype-primary);
  box-shadow: var(--skype-shadow-sm);
}

.skype-page .faq-question {
  font-size: 18px;
  font-weight: 600;
  color: var(--skype-text);
  margin-bottom: 12px;
  line-height: 1.4;
}

.skype-page .faq-answer {
  font-size: 15px;
  color: var(--skype-text-secondary);
  line-height: 1.7;
}

/* =========================================
   CTA Section
   ========================================= */
.skype-page .cta-section {
  background: linear-gradient(135deg, #0078D4 0%, #005A9E 100%);
  border-radius: var(--skype-radius-xl);
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.skype-page .cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.skype-page .cta-title {
  font-size: 36px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.skype-page .cta-desc {
  font-size: 18px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 32px;
  position: relative;
  z-index: 2;
}

.skype-page .cta-section .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 18px 40px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  background: #FFFFFF;
  color: var(--skype-primary);
  border: 2px solid #FFFFFF;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  transition: var(--skype-transition);
  position: relative;
  z-index: 2;
}

.skype-page .cta-section .btn:hover {
  background: #F0F6FF;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}

/* =========================================
   响应式设计
   ========================================= */

/* Tablet */
@media screen and (max-width: 1024px) {
  .skype-page .hero-title {
    font-size: 36px;
  }
  
  .skype-page .hero-subtitle {
    font-size: 18px;
  }
  
  .skype-page .section-title {
    font-size: 30px;
  }
  
  .skype-page .feature-row {
    flex-direction: column !important;
    gap: 40px;
    margin-bottom: 60px;
  }
  
  .skype-page .feature-row.reverse {
    flex-direction: column !important;
  }
  
  .skype-page .feature-row-content {
    text-align: center;
  }
  
  .skype-page .feature-row-title {
    font-size: 28px;
  }
  
  .skype-page .faq-list {
    grid-template-columns: 1fr;
    max-width: 700px;
  }
  
  .skype-page .cta-title {
    font-size: 30px;
  }
}

/* Mobile */
@media screen and (max-width: 768px) {
  .skype-page .hero-section {
    padding: 60px 0 50px;
  }
  
  .skype-page .hero-title {
    font-size: 28px;
  }
  
  .skype-page .hero-subtitle {
    font-size: 16px;
  }
  
  .skype-page .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  
  .skype-page .hero-actions .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  
  .skype-page .section-title {
    font-size: 26px;
  }
  
  .skype-page .section-subtitle {
    font-size: 16px;
  }
  
  .skype-page .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .skype-page .articles-grid {
    grid-template-columns: 1fr;
  }
  
  .skype-page .feature-row-title {
    font-size: 24px;
  }
  
  .skype-page .feature-row-desc {
    font-size: 16px;
  }
  
  .skype-page .faq-item {
    padding: 20px;
  }
  
  .skype-page .faq-question {
    font-size: 16px;
  }
  
  .skype-page .cta-section {
    padding: 60px 24px;
    border-radius: var(--skype-radius-lg);
  }
  
  .skype-page .cta-title {
    font-size: 24px;
  }
  
  .skype-page .cta-desc {
    font-size: 16px;
  }
  
  .skype-page .cta-section .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

/* 小型手机 */
@media screen and (max-width: 480px) {
  .skype-page .hero-title {
    font-size: 24px;
  }
  
  .skype-page .section-container {
    padding: 60px 16px;
  }
  
  .skype-page .features-grid {
    gap: 16px;
  }
  
  .skype-page .feature-card {
    padding: 24px;
  }
  
  .skype-page .pagination-nav a,
  .skype-page .pagination-nav span {
    min-width: 36px;
    height: 36px;
    font-size: 13px;
  }
}

/* 打印样式 */
@media print {
  .skype-page .hero-section,
  .skype-page .cta-section,
  .skype-page .benefits-section,
  .skype-page .faq-section {
    background: none !important;
    color: #000 !important;
  }
  
  .skype-page .cta-title,
  .skype-page .cta-desc {
    color: #000 !important;
  }
  
  .skype-page .btn {
    display: none !important;
  }
  
  .skype-page img {
    max-width: 50% !important;
  }
}