/*
 * WPS Office Landing Page Stylesheet
 * Brand Theme: Sunset Crimson to Coral Orange with Slate Navy contrast
 * Zero Frameworks, Native CSS3
 */

:root {
  --primary-color: #E52E2E;
  --primary-hover: #C21F1F;
  --primary-gradient: linear-gradient(135deg, #FF334B 0%, #FF5A36 50%, #FF8F1F 100%);
  --secondary-color: #1E293B;
  --secondary-hover: #0F172A;
  --accent-color: #10B981;
  --accent-light: #D1FAE5;
  --text-dark: #0F172A;
  --text-normal: #334155;
  --text-light: #64748B;
  --text-muted: #94A3B8;
  --bg-light: #F8FAFC;
  --bg-white: #FFFFFF;
  --border-color: #E2E8F0;
  --border-light: #F1F5F9;
  --max-width: 1200px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.1), 0 2px 4px -1px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 10px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.12), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  color: var(--text-normal);
  background-color: var(--bg-white);
  line-height: 1.6;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-alt {
  background-color: var(--bg-light);
  padding: 80px 0;
}

.text-center {
  text-align: center;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-light);
  max-width: 650px;
  margin: 0 auto 56px auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
  gap: 8px;
  text-align: center;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #FFFFFF;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(229, 46, 46, 0.3);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: #FFFFFF;
}

.btn-secondary:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--border-color);
  color: var(--text-dark);
}

.btn-outline:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-1px);
}

.btn-block {
  display: flex;
  width: 100%;
}

/* Glassmorphism Sticky Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  transition: all 0.3s;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text-dark);
}

.logo-icon {
  width: 36px;
  height: 36px;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-normal);
  padding: 8px 0;
  position: relative;
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link.active {
  color: var(--primary-color);
  font-weight: 700;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 99px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px 0;
  background: radial-gradient(circle at 80% 20%, rgba(255, 51, 75, 0.05) 0%, rgba(79, 70, 229, 0.02) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1s 0.9s;
  align-items: center;
  gap: 48px;
}

@media (max-width: 968px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-actions-row {
    justify-content: center;
  }
}

.hero-content {
  max-width: 620px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background-color: rgba(229, 46, 46, 0.08);
  color: var(--primary-color);
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.hero-title {
  font-size: 3.25rem;
  line-height: 1.15;
  font-weight: 850;
  color: var(--text-dark);
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero-title span {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-preview-box {
  background: var(--bg-white);
  border-radius: 16px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  padding: 16px;
  width: 100%;
  max-width: 500px;
  position: relative;
}

.hero-window-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 10px;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background-color: #FF5F56; }
.dot-yellow { background-color: #FFBD2E; }
.dot-green { background-color: #27C93F; }

.hero-preview-inner {
  background-color: var(--bg-light);
  border-radius: 8px;
  aspect-ratio: 16 / 10;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  position: relative;
  overflow: hidden;
}

/* Feature Grid Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 968px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 36px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(255, 51, 75, 0.15);
}

.feature-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  background-color: rgba(229, 46, 46, 0.05);
  color: var(--primary-color);
  transition: all 0.3s;
}

.feature-card:hover .feature-icon-box {
  background: var(--primary-gradient);
  color: #FFFFFF;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.feature-description {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Multiplatform Downloads */
.platforms-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .platforms-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .platforms-wrapper {
    grid-template-columns: 1fr;
  }
}

.platform-download-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.25s;
  box-shadow: var(--shadow-sm);
}

.platform-download-card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.platform-card-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px auto;
  color: var(--text-dark);
}

.platform-download-card:hover .platform-card-icon {
  color: var(--primary-color);
}

.platform-card-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.platform-card-info {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 20px;
}

/* Detailed Deep-dive Features */
.deep-feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 100px;
}

.deep-feature-row:last-child {
  margin-bottom: 0;
}

.deep-feature-row.reverse {
  direction: rtl;
}

.deep-feature-row.reverse .deep-feature-content {
  direction: ltr;
}

@media (max-width: 968px) {
  .deep-feature-row, .deep-feature-row.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
  }
}

.deep-feature-media {
  background-color: var(--border-light);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.deep-feature-content {
  max-width: 520px;
}

.deep-feature-tag {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  display: inline-block;
}

.deep-feature-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1.3;
}

.deep-feature-desc {
  font-size: 1.05rem;
  color: var(--text-normal);
  margin-bottom: 24px;
  line-height: 1.7;
}

.deep-feature-bullets {
  list-style: none;
}

.deep-feature-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--text-normal);
}

.deep-feature-bullets svg {
  width: 18px;
  height: 18px;
  color: var(--accent-color);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Stats Section */
.stats-bar {
  background: var(--secondary-color);
  color: #FFFFFF;
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stat-item-num {
  font-size: 2.75rem;
  font-weight: 850;
  margin-bottom: 8px;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-item-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Comparison Table */
.comparison-wrapper {
  overflow-x: auto;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  background: var(--bg-white);
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 600px;
}

.comp-table th, .comp-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
}

.comp-table th {
  background-color: var(--bg-light);
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1rem;
}

.comp-table tr:hover td {
  background-color: rgba(248, 250, 252, 0.8);
}

.comp-feature-name {
  font-weight: 600;
  color: var(--text-dark);
}

.comp-highlight {
  color: var(--primary-color);
  font-weight: 700;
}

.comp-table td svg {
  width: 20px;
  height: 20px;
}

.comp-icon-check {
  color: var(--accent-color);
}

.comp-icon-cross {
  color: var(--text-muted);
}

/* User Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 968px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

.review-card {
  background-color: var(--bg-white);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.review-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  color: #FBBF24;
}

.review-stars svg {
  width: 16px;
  height: 16px;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-normal);
  margin-bottom: 24px;
  font-style: italic;
  line-height: 1.6;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--text-light);
  font-size: 0.9rem;
}

.user-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.user-role {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* FAQ Area */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: none;
  border: none;
  outline: none;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: 0 24px 20px 24px;
  color: var(--text-normal);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Download Page Specifics */
.download-hero-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  box-shadow: var(--shadow-xl);
  padding: 48px;
  max-width: 900px;
  margin: 0 auto 64px auto;
  position: relative;
  overflow: hidden;
}

.download-hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-gradient);
}

.download-main-grid {
  display: grid;
  grid-template-columns: 0.4fr 0.6fr;
  align-items: center;
  gap: 40px;
}

@media (max-width: 768px) {
  .download-main-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.download-main-visual {
  display: flex;
  justify-content: center;
}

.download-main-icon {
  width: 140px;
  height: 140px;
  color: var(--primary-color);
}

.download-main-info h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.download-main-details {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .download-main-details {
    justify-content: center;
  }
}

.download-main-details span {
  background-color: var(--bg-light);
  padding: 4px 12px;
  border-radius: 99px;
  border: 1px solid var(--border-light);
}

.download-main-specs {
  font-size: 0.9rem;
  color: var(--text-normal);
  margin-top: 16px;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}

/* Dedicated platform grid for Download Page */
.download-platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 80px;
}

@media (max-width: 968px) {
  .download-platforms-grid {
    grid-template-columns: 1fr;
  }
}

.download-platform-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.download-platform-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.dl-platform-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.dl-platform-icon {
  width: 44px;
  height: 44px;
}

.dl-platform-meta h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
}

.dl-platform-meta span {
  font-size: 0.8rem;
  color: var(--text-light);
}

.dl-platform-steps {
  margin: 24px 0;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  list-style: none;
}

.dl-platform-steps li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 0.85rem;
  color: var(--text-normal);
}

.dl-platform-steps li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  background-color: var(--bg-light);
  border: 2px solid var(--primary-color);
  border-radius: 50%;
}

.dl-platform-steps li .step-num {
  position: absolute;
  left: 4px;
  top: 5px;
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
}

/* Guides Style */
.guide-container {
  max-width: 900px;
  margin: 0 auto;
}

.guide-timeline {
  position: relative;
  padding-left: 40px;
}

.guide-timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background-color: var(--border-color);
}

.guide-step {
  position: relative;
  margin-bottom: 40px;
}

.guide-step:last-child {
  margin-bottom: 0;
}

.guide-step-icon {
  position: absolute;
  left: -40px;
  top: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 0 0 4px #FFFFFF, var(--shadow-sm);
}

.guide-step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.guide-step-desc {
  font-size: 0.95rem;
  color: var(--text-normal);
}

/* System Requirements List styling */
.requirements-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

@media (max-width: 768px) {
  .requirements-grid {
    grid-template-columns: 1fr;
  }
}

.requirement-box {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.requirement-box h3 {
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 20px;
  font-weight: 700;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 12px;
}

.requirement-list {
  list-style: none;
}

.requirement-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem;
}

.requirement-list li:last-child {
  border-bottom: none;
}

.req-label {
  color: var(--text-light);
  font-weight: 500;
}

.req-val {
  color: var(--text-dark);
  font-weight: 600;
}

/* Changelog styling */
.changelog-box {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.changelog-item {
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 24px;
}

.changelog-item:last-child {
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}

.changelog-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.changelog-ver {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-color);
  background-color: rgba(229, 46, 46, 0.05);
  padding: 4px 12px;
  border-radius: 6px;
}

.changelog-date {
  font-size: 0.9rem;
  color: var(--text-light);
}

.changelog-bullets {
  list-style: none;
  padding-left: 8px;
}

.changelog-bullets li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--text-normal);
}

.changelog-bullets li::before {
  content: '•';
  color: var(--primary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Safety Guarantee block */
.safety-shield {
  background-color: #ECFDF5;
  border: 1px solid #A7F3D0;
  border-radius: 16px;
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 32px;
}

@media (max-width: 768px) {
  .safety-shield {
    flex-direction: column;
    text-align: center;
  }
}

.safety-icon-box {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: #10B981;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.safety-icon-box svg {
  width: 36px;
  height: 36px;
}

.safety-info h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #065F46;
  margin-bottom: 8px;
}

.safety-info p {
  color: #047857;
  font-size: 0.95rem;
}

/* SEO ZH-CN Layout Styling */
.zh-layout-grid {
  display: grid;
  grid-template-columns: 1.4s 0.6s;
  gap: 48px;
  grid-template-areas: "main sidebar";
}

@media (max-width: 968px) {
  .zh-layout-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "main" "sidebar";
  }
}

.zh-main-content {
  grid-area: main;
}

.zh-sidebar {
  grid-area: sidebar;
}

/* Articles and Soft Content SEO */
.seo-article {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-normal);
}

.seo-article h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 36px 0 16px 0;
  letter-spacing: -0.02em;
}

.seo-article h2:first-child {
  margin-top: 0;
}

.seo-article p {
  margin-bottom: 20px;
}

.seo-article strong {
  color: var(--text-dark);
}

.tip-card-box {
  background-color: var(--bg-light);
  border-left: 4px solid var(--primary-color);
  padding: 24px;
  border-radius: 0 12px 12px 0;
  margin: 28px 0;
}

.tip-card-title {
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.tip-card-desc {
  font-size: 0.95rem;
  color: var(--text-normal);
}

/* Sidebar Widgets */
.sidebar-widget {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}

.sidebar-widget-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  border-bottom: 2px solid var(--border-light);
  padding-bottom: 10px;
}

.sidebar-links {
  list-style: none;
}

.sidebar-links li {
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.sidebar-links li a {
  color: var(--text-normal);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-links li a:hover {
  color: var(--primary-color);
}

.sidebar-links svg {
  width: 14px;
  height: 14px;
  color: var(--primary-color);
}

/* CTA Card */
.cta-banner-box {
  background: var(--primary-gradient);
  color: #FFFFFF;
  border-radius: 20px;
  padding: 56px 40px;
  text-align: center;
  box-shadow: var(--shadow-xl);
  margin: 64px 0;
}

.cta-banner-title {
  font-size: 2.25rem;
  font-weight: 850;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-banner-desc {
  font-size: 1.15rem;
  margin-bottom: 32px;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Global Footer */
.footer {
  background-color: #0B0F19;
  color: #94A3B8;
  padding: 64px 0 40px 0;
  font-size: 0.9rem;
  border-top: 1px solid #1E293B;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 64px;
  margin-bottom: 48px;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.footer-brand h3 {
  color: #FFFFFF;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-brand p {
  line-height: 1.6;
}

.footer-links-col h4 {
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-links-col ul {
  list-style: none;
}

.footer-links-col ul li {
  margin-bottom: 12px;
}

.footer-links-col ul li a:hover {
  color: #FFFFFF;
}

.footer-safety-badge {
  background-color: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-safety-badge svg {
  color: var(--accent-color);
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.footer-safety-badge h5 {
  color: #FFFFFF;
  font-weight: 600;
  margin-bottom: 4px;
}

.footer-safety-badge p {
  font-size: 0.8rem;
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid #1E293B;
  padding-top: 32px;
  text-align: center;
}

.footer-safety-text {
  font-weight: 600;
  color: #10B981;
  margin-bottom: 12px;
}

.footer-disclaimer-text {
  color: #64748B;
  font-size: 0.8rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

/* Animations */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.spin-icon {
  animation: spin 1s linear infinite;
}
