/* ============================================
   TG中文版安全下载站 - Global Styles
   ============================================ */

/* CSS Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --tg-primary: #0088cc;
  --tg-primary-dark: #006699;
  --tg-primary-light: #34b7f1;
  --tg-secondary: #17c3b2;
  --tg-accent: #f39c12;
  --tg-bg: #ffffff;
  --tg-bg-alt: #f5f7fa;
  --tg-bg-dark: #17212b;
  --tg-text: #222222;
  --tg-text-muted: #6c757d;
  --tg-text-light: #ffffff;
  --tg-border: #e1e4e8;
  --tg-card-shadow: 0 2px 16px rgba(0,0,0,0.08);
  --tg-card-shadow-hover: 0 8px 32px rgba(0,136,204,0.15);
  --tg-radius: 16px;
  --tg-radius-sm: 8px;
  --tg-max-width: 1200px;
  --tg-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--tg-text);
  background: var(--tg-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--tg-primary);
  text-decoration: none;
  transition: var(--tg-transition);
}

a:hover {
  color: var(--tg-primary-dark);
}

/* Spin Animation for Loading */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Fade In Up Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fadeInUp {
  animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fadeIn {
  animation: fadeIn 0.6s ease-out forwards;
}

/* Container */
.container {
  max-width: var(--tg-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--tg-border);
  transition: var(--tg-transition);
}

.navbar-inner {
  max-width: var(--tg-max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--tg-text);
}

.logo svg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.logo:hover {
  color: var(--tg-text);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-menu a {
  display: block;
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--tg-text-muted);
  transition: var(--tg-transition);
}

.nav-menu a:hover {
  color: var(--tg-primary);
  background: rgba(0,136,204,0.08);
}

.nav-menu a.active {
  color: var(--tg-primary);
  background: rgba(0,136,204,0.12);
  font-weight: 600;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  background: var(--tg-primary);
  color: #fff;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--tg-transition);
}

.nav-cta:hover {
  background: var(--tg-primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,136,204,0.3);
}

.nav-cta svg {
  width: 16px;
  height: 16px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
  color: var(--tg-text);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--tg-transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--tg-primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--tg-primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,136,204,0.35);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: transparent;
  color: var(--tg-primary);
  border: 2px solid var(--tg-primary);
}

.btn-secondary:hover {
  background: var(--tg-primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-large {
  padding: 16px 40px;
  font-size: 1.1rem;
}

.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ============================================
   Section Common Styles
   ============================================ */
.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--tg-bg-alt);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.section-label {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(0,136,204,0.1);
  color: var(--tg-primary);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--tg-text);
}

.section-desc {
  font-size: 1.15rem;
  color: var(--tg-text-muted);
  line-height: 1.8;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  padding: 160px 0 120px;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f5f7fa 100%);
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image: radial-gradient(circle at 20% 50%, rgba(0,136,204,0.08) 0%, transparent 50%),
                     radial-gradient(circle at 80% 20%, rgba(52,183,241,0.06) 0%, transparent 50%),
                     radial-gradient(circle at 60% 80%, rgba(23,195,178,0.05) 0%, transparent 50%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--tg-max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(0,136,204,0.1);
  border: 1px solid rgba(0,136,204,0.2);
  border-radius: 100px;
  font-size: 0.9rem;
  color: var(--tg-primary);
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-badge svg {
  width: 18px;
  height: 18px;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--tg-text);
  letter-spacing: -0.5px;
}

.hero-title span {
  color: var(--tg-primary);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--tg-text-muted);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats-row {
  display: flex;
  gap: 40px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--tg-primary);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.85rem;
  color: var(--tg-text-muted);
  margin-top: 4px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: float 6s ease-in-out infinite;
}

.hero-visual-inner {
  position: relative;
  width: 380px;
  height: 380px;
}

.hero-circle {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--tg-primary), var(--tg-primary-light));
  opacity: 0.15;
}

.hero-circle-1 {
  width: 380px;
  height: 380px;
  top: 0;
  left: 0;
  animation: pulse 4s ease-in-out infinite;
}

.hero-circle-2 {
  width: 300px;
  height: 300px;
  top: 40px;
  left: 40px;
  opacity: 0.2;
  animation: pulse 4s ease-in-out infinite 1s;
}

.hero-phone {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 360px;
  background: linear-gradient(180deg, var(--tg-bg-dark) 0%, #1e2d3a 100%);
  border-radius: 28px;
  border: 4px solid rgba(255,255,255,0.15);
  box-shadow: 0 25px 60px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero-phone-header {
  height: 48px;
  background: rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 8px;
}

.hero-phone-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--tg-primary), var(--tg-primary-light));
}

.hero-phone-lines {
  flex: 1;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-phone-line {
  height: 32px;
  border-radius: 16px;
  background: rgba(255,255,255,0.08);
}

.hero-phone-line.sent {
  align-self: flex-end;
  width: 70%;
  background: linear-gradient(90deg, var(--tg-primary), var(--tg-primary-light));
}

.hero-phone-line.recv {
  align-self: flex-start;
  width: 60%;
}

.hero-phone-line.recv-2 {
  align-self: flex-start;
  width: 80%;
}

/* ============================================
   Feature Cards
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: var(--tg-bg);
  border-radius: var(--tg-radius);
  padding: 40px 32px;
  box-shadow: var(--tg-card-shadow);
  transition: var(--tg-transition);
  border: 1px solid var(--tg-border);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--tg-card-shadow-hover);
  border-color: rgba(0,136,204,0.2);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--tg-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(0,136,204,0.1), rgba(52,183,241,0.1));
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  color: var(--tg-primary);
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--tg-text);
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--tg-text-muted);
  line-height: 1.8;
}

/* ============================================
   Platform Download Cards
   ============================================ */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.platform-card {
  background: var(--tg-bg);
  border-radius: var(--tg-radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--tg-card-shadow);
  border: 1px solid var(--tg-border);
  transition: var(--tg-transition);
}

.platform-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--tg-card-shadow-hover);
}

.platform-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--tg-radius-sm);
  background: linear-gradient(135deg, rgba(0,136,204,0.08), rgba(52,183,241,0.08));
}

.platform-icon svg {
  width: 36px;
  height: 36px;
  color: var(--tg-primary);
}

.platform-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.platform-desc {
  font-size: 0.9rem;
  color: var(--tg-text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.platform-btn {
  width: 100%;
  padding: 12px 20px;
  font-size: 0.9rem;
}

/* ============================================
   Detailed Feature Sections
   ============================================ */
.detail-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.detail-block:last-child {
  margin-bottom: 0;
}

.detail-block.reverse {
  direction: rtl;
}

.detail-block.reverse > * {
  direction: ltr;
}

.detail-visual {
  position: relative;
  border-radius: var(--tg-radius);
  overflow: hidden;
  background: linear-gradient(135deg, var(--tg-bg-alt), #e8f4f8);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-visual-inner {
  padding: 40px;
  text-align: center;
}

.detail-visual svg {
  width: 120px;
  height: 120px;
  color: var(--tg-primary);
  opacity: 0.8;
}

.detail-content h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--tg-text);
}

.detail-content p {
  font-size: 1.05rem;
  color: var(--tg-text-muted);
  line-height: 1.9;
  margin-bottom: 16px;
}

.detail-list {
  list-style: none;
  margin-top: 20px;
}

.detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 1rem;
  color: var(--tg-text);
}

.detail-list li svg {
  width: 22px;
  height: 22px;
  color: var(--tg-secondary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================
   Testimonials
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: var(--tg-bg);
  border-radius: var(--tg-radius);
  padding: 36px 30px;
  box-shadow: var(--tg-card-shadow);
  border: 1px solid var(--tg-border);
  transition: var(--tg-transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--tg-card-shadow-hover);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  color: var(--tg-accent);
}

.testimonial-text {
  font-size: 1rem;
  color: var(--tg-text);
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--tg-primary), var(--tg-primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--tg-text);
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--tg-text-muted);
}

/* ============================================
   Stats Section
   ============================================ */
.stats-section {
  background: linear-gradient(135deg, var(--tg-primary-dark), var(--tg-primary));
  padding: 80px 0;
  color: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item {
  animation: fadeInUp 0.6s ease-out forwards;
}

.stat-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}

.stat-icon svg {
  width: 24px;
  height: 24px;
  color: #fff;
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.85;
}

/* ============================================
   Comparison Table
   ============================================ */
.comparison-table-wrap {
  background: var(--tg-bg);
  border-radius: var(--tg-radius);
  overflow: hidden;
  box-shadow: var(--tg-card-shadow);
  border: 1px solid var(--tg-border);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table th {
  padding: 18px 24px;
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  background: var(--tg-bg-alt);
  color: var(--tg-text);
  border-bottom: 2px solid var(--tg-border);
}

.comparison-table th:first-child {
  width: 40%;
}

.comparison-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--tg-border);
  font-size: 0.95rem;
  color: var(--tg-text);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table .feature-name {
  font-weight: 600;
}

.comparison-table .check {
  color: var(--tg-secondary);
  font-weight: 700;
}

.comparison-table .check svg {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 4px;
}

.comparison-table .cross {
  color: #e74c3c;
  opacity: 0.6;
}

.comparison-table .cross svg {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 4px;
}

.comparison-table .highlight-col {
  background: rgba(0,136,204,0.04);
}

.comparison-table th.highlight-col {
  background: rgba(0,136,204,0.08);
  color: var(--tg-primary);
}

/* ============================================
   FAQ Accordion
   ============================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--tg-bg);
  border-radius: var(--tg-radius-sm);
  margin-bottom: 12px;
  border: 1px solid var(--tg-border);
  overflow: hidden;
  transition: var(--tg-transition);
}

.faq-item:hover {
  border-color: rgba(0,136,204,0.2);
}

.faq-question {
  width: 100%;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--tg-text);
  text-align: left;
  transition: var(--tg-transition);
}

.faq-question:hover {
  color: var(--tg-primary);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--tg-primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 28px 24px;
  font-size: 1rem;
  color: var(--tg-text-muted);
  line-height: 1.9;
}

.faq-answer-inner a {
  color: var(--tg-primary);
  text-decoration: underline;
}

/* ============================================
   Download Page Specific Styles
   ============================================ */
.download-hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  text-align: center;
}

.download-hero-title {
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 16px;
}

.download-hero-desc {
  font-size: 1.2rem;
  color: var(--tg-text-muted);
  margin-bottom: 40px;
}

.download-main-card {
  background: var(--tg-bg);
  border-radius: var(--tg-radius);
  padding: 48px;
  box-shadow: var(--tg-card-shadow);
  border: 1px solid var(--tg-border);
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.download-main-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--tg-radius);
  background: linear-gradient(135deg, var(--tg-primary), var(--tg-primary-light));
}

.download-main-icon svg {
  width: 44px;
  height: 44px;
  color: #fff;
}

.download-main-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.download-main-meta {
  font-size: 0.9rem;
  color: var(--tg-text-muted);
  margin-bottom: 24px;
}

.download-main-meta span {
  margin: 0 8px;
}

.download-main-btn {
  width: 100%;
  max-width: 320px;
  margin-bottom: 16px;
}

.download-main-note {
  font-size: 0.85rem;
  color: var(--tg-text-muted);
}

/* Download Cards Grid */
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.download-card {
  background: var(--tg-bg);
  border-radius: var(--tg-radius);
  padding: 36px;
  box-shadow: var(--tg-card-shadow);
  border: 1px solid var(--tg-border);
  transition: var(--tg-transition);
}

.download-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--tg-card-shadow-hover);
}

.download-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.download-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--tg-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0,136,204,0.1), rgba(52,183,241,0.1));
}

.download-card-icon svg {
  width: 30px;
  height: 30px;
  color: var(--tg-primary);
}

.download-card-title {
  font-size: 1.2rem;
  font-weight: 700;
}

.download-card-version {
  font-size: 0.85rem;
  color: var(--tg-text-muted);
}

.download-card-info {
  margin-bottom: 24px;
}

.download-info-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--tg-border);
  font-size: 0.9rem;
}

.download-info-row:last-child {
  border-bottom: none;
}

.download-info-label {
  color: var(--tg-text-muted);
}

.download-info-value {
  font-weight: 600;
  color: var(--tg-text);
}

.download-card-steps {
  margin-bottom: 24px;
}

.download-card-steps h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.download-card-steps ol {
  padding-left: 18px;
  font-size: 0.9rem;
  color: var(--tg-text-muted);
  line-height: 1.9;
}

.download-card-btn {
  width: 100%;
}

/* Installation Guide */
.guide-section {
  background: var(--tg-bg-alt);
}

.guide-block {
  background: var(--tg-bg);
  border-radius: var(--tg-radius);
  padding: 48px;
  margin-bottom: 40px;
  box-shadow: var(--tg-card-shadow);
  border: 1px solid var(--tg-border);
}

.guide-block:last-child {
  margin-bottom: 0;
}

.guide-block h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.guide-block h3 svg {
  width: 32px;
  height: 32px;
  color: var(--tg-primary);
}

.guide-block .guide-subtitle {
  font-size: 1rem;
  color: var(--tg-text-muted);
  margin-bottom: 32px;
}

.steps-list {
  list-style: none;
}

.steps-list li {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--tg-border);
}

.steps-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--tg-primary), var(--tg-primary-light));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  margin-top: 4px;
}

.step-content p {
  font-size: 0.95rem;
  color: var(--tg-text-muted);
  line-height: 1.8;
}

/* System Requirements */
.requirements-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.requirement-card {
  background: var(--tg-bg);
  border-radius: var(--tg-radius);
  padding: 32px 28px;
  box-shadow: var(--tg-card-shadow);
  border: 1px solid var(--tg-border);
}

.requirement-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.requirement-card h4 svg {
  width: 22px;
  height: 22px;
  color: var(--tg-primary);
}

.requirement-card ul {
  list-style: none;
  font-size: 0.9rem;
  color: var(--tg-text-muted);
  line-height: 2;
}

/* Changelog */
.changelog-list {
  max-width: 800px;
  margin: 0 auto;
}

.changelog-item {
  background: var(--tg-bg);
  border-radius: var(--tg-radius-sm);
  padding: 28px 32px;
  margin-bottom: 16px;
  border: 1px solid var(--tg-border);
  border-left: 4px solid var(--tg-primary);
}

.changelog-version {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.changelog-version h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--tg-primary);
}

.changelog-date {
  font-size: 0.85rem;
  color: var(--tg-text-muted);
  background: var(--tg-bg-alt);
  padding: 4px 12px;
  border-radius: 100px;
}

.changelog-item ul {
  padding-left: 18px;
  font-size: 0.95rem;
  color: var(--tg-text-muted);
  line-height: 1.9;
}

/* Safety Notice */
.safety-box {
  background: linear-gradient(135deg, rgba(23,195,178,0.08), rgba(0,136,204,0.08));
  border-radius: var(--tg-radius);
  padding: 40px;
  text-align: center;
  border: 1px solid rgba(23,195,178,0.2);
}

.safety-box svg {
  width: 48px;
  height: 48px;
  color: var(--tg-secondary);
  margin-bottom: 16px;
}

.safety-box h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.safety-box p {
  font-size: 1rem;
  color: var(--tg-text-muted);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   SEO Page Specific Styles
   ============================================ */
.seo-content {
  max-width: 800px;
  margin: 0 auto;
}

.seo-article h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin: 48px 0 20px;
  color: var(--tg-text);
}

.seo-article h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 32px 0 14px;
  color: var(--tg-text);
}

.seo-article p {
  font-size: 1.05rem;
  color: var(--tg-text-muted);
  line-height: 1.9;
  margin-bottom: 16px;
}

.seo-article ul, .seo-article ol {
  padding-left: 24px;
  margin-bottom: 16px;
  font-size: 1.05rem;
  color: var(--tg-text-muted);
  line-height: 1.9;
}

.seo-article li {
  margin-bottom: 8px;
}

.seo-article strong {
  color: var(--tg-text);
}

.seo-cta-box {
  background: linear-gradient(135deg, var(--tg-primary), var(--tg-primary-light));
  border-radius: var(--tg-radius);
  padding: 48px;
  text-align: center;
  margin: 48px 0;
  color: #fff;
}

.seo-cta-box h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.seo-cta-box p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 28px;
  color: #fff;
}

.seo-cta-box .btn {
  background: #fff;
  color: var(--tg-primary);
  font-size: 1.1rem;
  padding: 16px 40px;
}

.seo-cta-box .btn:hover {
  background: var(--tg-bg-alt);
  color: var(--tg-primary-dark);
}

.seo-tips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 32px 0;
}

.seo-tip-card {
  background: var(--tg-bg);
  border-radius: var(--tg-radius-sm);
  padding: 24px;
  border: 1px solid var(--tg-border);
}

.seo-tip-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.seo-tip-card h4 svg {
  width: 20px;
  height: 20px;
  color: var(--tg-primary);
}

.seo-tip-card p {
  font-size: 0.95rem;
  color: var(--tg-text-muted);
  line-height: 1.7;
  margin: 0;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--tg-bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 32px;
}

.footer-inner {
  max-width: var(--tg-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.footer-brand svg {
  width: 32px;
  height: 32px;
}

.footer-desc {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.6);
}

.footer-column h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  transition: var(--tg-transition);
}

.footer-links a:hover {
  color: var(--tg-primary-light);
}

.footer-divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin-bottom: 24px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-safe {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--tg-secondary);
}

.footer-safe svg {
  width: 18px;
  height: 18px;
}

.footer-copyright {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  text-align: right;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    order: 1;
  }

  .hero-visual {
    order: 0;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats-row {
    justify-content: center;
  }

  .detail-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .detail-block.reverse {
    direction: ltr;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .platforms-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .requirements-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .download-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .hero {
    padding: 120px 0 80px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-visual-inner {
    width: 280px;
    height: 280px;
  }

  .hero-circle-1 {
    width: 280px;
    height: 280px;
  }

  .hero-circle-2 {
    width: 220px;
    height: 220px;
    top: 30px;
    left: 30px;
  }

  .features-grid,
  .platforms-grid,
  .testimonials-grid,
  .stats-grid,
  .requirements-grid,
  .download-grid,
  .seo-tips-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-copyright {
    text-align: center;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    flex-direction: column;
    padding: 16px 24px;
    gap: 4px;
    border-bottom: 1px solid var(--tg-border);
    backdrop-filter: blur(20px);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu a {
    padding: 12px 16px;
    width: 100%;
  }

  .mobile-menu-btn {
    display: block;
  }

  .comparison-table-wrap {
    overflow-x: auto;
  }

  .comparison-table {
    min-width: 600px;
  }

  .guide-block {
    padding: 28px;
  }

  .download-main-card {
    padding: 32px 24px;
  }

  .steps-list li {
    gap: 14px;
  }

  .step-number {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .seo-cta-box {
    padding: 32px 24px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .btn-large {
    padding: 14px 28px;
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
  }

  .stat-number {
    font-size: 2rem;
  }
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--tg-bg-alt);
}

::-webkit-scrollbar-thumb {
  background: var(--tg-border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--tg-text-muted);
}

/* Selection color */
::selection {
  background: rgba(0,136,204,0.2);
  color: var(--tg-primary-dark);
}
