/* ==========================================================================
   TomatoCloud (番茄云 tomatocloud.mom) - Master Light Theme CSS
   ========================================================================== */

:root {
  --primary: #FF3B30;
  --primary-glow: rgba(255, 59, 48, 0.25);
  --primary-hover: #E03026;
  --primary-light: #FFF0ED;
  --secondary: #FF9F0A;
  --accent-green: #10B981;
  --bg-main: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFFFFF;
  --border-color: rgba(0, 0, 0, 0.08);
  --border-highlight: rgba(255, 59, 48, 0.4);
  --text-main: #0F172A;
  --text-muted: #475569;
  --text-dim: #94A3B8;
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-soft: 0 10px 30px -5px rgba(0, 0, 0, 0.05), 0 4px 12px -2px rgba(255, 59, 48, 0.04);
  --shadow-hover: 0 20px 40px -10px rgba(255, 59, 48, 0.18), 0 8px 16px -4px rgba(0, 0, 0, 0.06);
  --shadow-glow: 0 10px 25px -5px rgba(255, 59, 48, 0.4);
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(255, 59, 48, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 90% 50%, rgba(255, 159, 10, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(255, 59, 48, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
}

/* Trail Canvas Overlay */
#trail-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
}

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

img, svg {
  vertical-align: middle;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography & Utilities */
.gradient-text {
  background: linear-gradient(135deg, #FF5252 0%, #FF3B30 50%, #E03026 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  border: 1px solid rgba(255, 59, 48, 0.2);
  color: var(--primary);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  color: var(--text-main);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 680px;
  margin: 0 auto 48px auto;
}

.text-center {
  text-align: center;
}

/* Navigation Header (Fresh Bright Glass) */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 16px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-main);
}

.logo-icon {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 4px 10px rgba(255, 59, 48, 0.35));
  animation: pulseTomato 3s infinite ease-in-out;
}

@keyframes pulseTomato {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 4px 10px rgba(255, 59, 48, 0.35)); }
  50% { transform: scale(1.08); filter: drop-shadow(0 6px 16px rgba(255, 59, 48, 0.55)); }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

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

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #FF5252 0%, #FF3B30 100%);
  color: #FFF;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 26px;
  border-radius: 50px;
  box-shadow: var(--shadow-glow);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: var(--transition);
  cursor: pointer;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px -5px rgba(255, 59, 48, 0.5);
  background: linear-gradient(135deg, #FF6B6B 0%, #E03026 100%);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 160px 0 90px 0;
  position: relative;
  text-align: center;
}

.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ECFDF5;
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #047857;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-green);
  animation: blink 1.5s infinite ease-in-out;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1.2px;
  margin-bottom: 24px;
  color: var(--text-main);
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 36px auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 12px 26px;
  border-radius: 50px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
}

.btn-secondary:hover {
  border-color: rgba(255, 59, 48, 0.3);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

/* Protocols Pill Matrix */
.protocols-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 920px;
  margin: 0 auto 60px auto;
}

.protocol-tag {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.protocol-tag:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-2px);
}

/* Hero Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: #FFFFFF;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px 28px;
}

.stat-item h3 {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--primary);
}

.stat-item p {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* PRICING SECTION - ONE ROW (价格格式整成一排) */
.pricing-section {
  padding: 90px 0;
  position: relative;
}

/* Single Row Horizontal Flex Container */
.pricing-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 22px;
  align-items: stretch;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 15px 6px 30px 6px;
  -webkit-overflow-scrolling: touch;
}

.pricing-row::-webkit-scrollbar {
  height: 6px;
}

.pricing-row::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.04);
  border-radius: 10px;
}

.pricing-row::-webkit-scrollbar-thumb {
  background: rgba(255, 59, 48, 0.3);
  border-radius: 10px;
}

.pricing-card {
  flex: 1 0 260px;
  min-width: 250px;
  scroll-snap-align: start;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius-md);
  padding: 34px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: var(--transition);
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 59, 48, 0.4);
  box-shadow: var(--shadow-hover);
}

.pricing-card.popular {
  border: 2px solid var(--primary);
  background: #FFFFFF;
  box-shadow: 0 15px 35px -5px rgba(255, 59, 48, 0.18);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #FF6B6B 0%, #FF3B30 100%);
  color: #FFF;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  box-shadow: 0 4px 12px rgba(255, 59, 48, 0.3);
}

.plan-header {
  margin-bottom: 20px;
}

.plan-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-main);
}

.plan-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  min-height: 40px;
  line-height: 1.5;
}

.plan-price {
  margin: 20px 0;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-currency {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
}

.price-amount {
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
  color: var(--text-main);
}

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

.plan-features {
  list-style: none;
  margin-bottom: 30px;
}

.plan-features li {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-features li svg {
  width: 16px;
  height: 16px;
  color: var(--accent-green);
  flex-shrink: 0;
}

.btn-plan {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  border: 1px solid rgba(255, 59, 48, 0.2);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}

.pricing-card.popular .btn-plan,
.btn-plan:hover {
  background: linear-gradient(135deg, #FF5252 0%, #FF3B30 100%);
  border-color: transparent;
  color: #FFF;
  box-shadow: var(--shadow-glow);
}

/* Core Features Section */
.features-section {
  padding: 90px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius-md);
  padding: 34px 26px;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 59, 48, 0.3);
  box-shadow: var(--shadow-hover);
}

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

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text-main);
}

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

/* Articles & SEO Section */
.articles-section {
  padding: 90px 0;
  background: rgba(255, 240, 237, 0.5);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.article-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 59, 48, 0.3);
  box-shadow: var(--shadow-hover);
}

.article-tag {
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.article-title {
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 12px;
  color: var(--text-main);
}

.article-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-dim);
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
}

.read-more {
  color: var(--primary);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Reviews Section */
.reviews-section {
  padding: 90px 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

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

.stars {
  color: #F59E0B;
  font-size: 1rem;
  margin-bottom: 14px;
}

.review-content {
  font-size: 0.94rem;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 20px;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF5252, #FF9F0A);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #FFF;
  font-size: 0.95rem;
  box-shadow: 0 4px 10px rgba(255, 59, 48, 0.25);
}

.user-info h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-main);
}

.user-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* FAQ Section */
.faq-section {
  padding: 90px 0;
}

.faq-container {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  padding: 24px 28px;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.1rem;
  font-weight: 800;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  color: var(--primary);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
  padding: 0 28px;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 24px;
  transition: max-height 0.35s cubic-bezier(1, 0, 1, 0);
}

/* Footer & PBN Section (页脚 PBN 权重精准输血管道) */
.footer {
  background: #F1F5F9;
  border-top: 1px solid var(--border-color);
  padding: 70px 0 30px 0;
  color: var(--text-main);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 14px;
  max-width: 340px;
}

.footer-col h4 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text-main);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.footer-col ul li a:hover {
  color: var(--primary);
}

/* PBN SEO Transmission Pipe Styling (友情链接/PBN站群权重输血) */
.pbn-links-section {
  border-top: 1px dashed rgba(0, 0, 0, 0.12);
  padding: 24px 0 16px 0;
  margin-top: 30px;
  text-align: center;
}

.pbn-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.pbn-links-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
  list-style: none;
}

.pbn-links-list li a {
  font-size: 0.78rem;
  color: #64748B;
  transition: var(--transition);
  font-weight: 500;
}

.pbn-links-list li a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Responsive Media Queries */
@media (max-width: 991px) {
  .hero-title { font-size: 2.8rem; }
  .features-grid, .articles-grid, .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px 24px;
    gap: 18px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid var(--border-color);
  }
  .nav-links.active {
    display: flex;
  }
  .nav-links a {
    font-size: 1.05rem;
    padding: 8px 0;
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 8px;
    border-radius: var(--radius-sm);
    background: rgba(255, 59, 48, 0.06);
    color: var(--primary);
  }
  .hero { padding: 110px 0 50px 0; }
  .hero-title { font-size: 2.1rem; line-height: 1.25; }
  .hero-desc { font-size: 0.98rem; margin-bottom: 28px; }
  .hero-actions { flex-direction: column; width: 100%; gap: 12px; }
  .hero-actions .cta-btn, .hero-actions .btn-secondary { width: 100%; max-width: 340px; }
  .section-title { font-size: 1.75rem; }
  .features-grid, .articles-grid, .reviews-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  
  .pricing-row {
    flex-direction: column;
    overflow-x: visible;
    gap: 20px;
  }
  .pricing-card {
    min-width: 100%;
    flex: 1 1 auto;
  }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.75rem; }
  .hero-stats { grid-template-columns: 1fr; gap: 12px; padding: 20px 16px; }
  .stat-item h3 { font-size: 1.8rem; }
  .container { padding: 0 16px; }
  .cta-btn { padding: 10px 20px; font-size: 0.9rem; min-height: 44px; }
}

/* ==========================================================================
   Download Modal Component (Android & iOS Only)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: 0 25px 60px -15px rgba(255, 59, 48, 0.25), 0 12px 24px -6px rgba(0, 0, 0, 0.12);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  max-height: 90dvh;
  overflow-y: auto;
  padding: 32px 28px;
  position: relative;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.05);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: rgba(255, 59, 48, 0.1);
  color: var(--primary);
}

.modal-header {
  text-align: center;
  margin-bottom: 24px;
}

.modal-logo {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px auto;
  filter: drop-shadow(0 4px 10px rgba(255, 59, 48, 0.35));
}

.modal-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
  line-height: 1.3;
}

.modal-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.modal-platforms {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 22px;
}

.platform-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: #FAFAFA;
  transition: var(--transition);
  min-height: 60px;
}

.platform-btn:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px -2px rgba(255, 59, 48, 0.15);
}

.platform-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.platform-icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFF;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  color: var(--primary);
}

.platform-text h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 2px;
}

.platform-text p {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.platform-arrow {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
}

.modal-footer {
  text-align: center;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.modal-footer a {
  color: var(--primary);
  font-weight: 600;
}

.modal-footer a:hover {
  text-decoration: underline;
}

/* Article responsiveness for tables and pre */
article table {
  width: 100%;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

