/* ==========================================================================
   TAG Cloud Landing Page Design System & Stylesheet
   Domain: tagjc.cfd
   ========================================================================== */

:root {
  --bg-dark: #090d16;
  --bg-card: #111827;
  --bg-card-hover: #1f293d;
  --bg-glass: rgba(17, 24, 39, 0.75);
  
  --primary: #3b82f6;
  --primary-glow: rgba(59, 130, 246, 0.4);
  --secondary: #8b5cf6;
  --accent: #06b6d4;
  --accent-green: #10b981;
  --accent-gold: #f59e0b;
  
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(59, 130, 246, 0.3);
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

/* Reset & Global */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  background: radial-gradient(circle at 50% 0%, #1e1b4b 0%, #090d16 60%);
  min-height: 100vh;
}

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

a:hover {
  color: var(--accent);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Nav */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 13, 22, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 0 12px var(--primary-glow);
}

.brand span.highlight {
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

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

.nav-links a:hover {
  color: #ffffff;
}

.header-btns {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Base Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}

.btn-recommend {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(10b981, 0.4);
  color: #34d399 !important;
}

.btn-recommend:hover {
  background: rgba(16, 185, 129, 0.25);
  border-color: #34d399;
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-main) !important;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary);
}

/* Hero Section */
.hero {
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #60a5fa;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #ffffff 30%, #93c5fd 70%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  max-width: 760px;
  margin: 0 auto 2.5rem;
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.hero-actions .btn {
  padding: 0.9rem 2.2rem;
  font-size: 1.05rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1.5fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

.stat-item h3 {
  font-size: 2rem;
  font-weight: 800;
  color: #60a5fa;
}

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

/* Features Grid */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 2rem;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #60a5fa;
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.25rem 1.75rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.price-card.popular {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.12) 0%, #111827 100%);
  box-shadow: 0 0 30px rgba(37, 99, 235, 0.2);
}

.popular-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  text-transform: uppercase;
}

.price-header h3 {
  font-size: 1.35rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.price-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.price-amount span {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-muted);
}

.price-features {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.price-features li {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.price-features li::before {
  content: "✓";
  color: var(--accent-green);
  font-weight: bold;
}

/* Comparison Table */
.comparison-wrapper {
  overflow-x: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.5rem;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th, .comparison-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
}

.comparison-table td {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.comparison-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.badge-tag {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  font-weight: bold;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

/* Articles Section */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
}

.article-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.article-tag {
  font-size: 0.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  background: rgba(139, 92, 246, 0.15);
  color: #c084fc;
}

.article-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.article-excerpt {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.6;
  flex-grow: 1;
}

.article-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: #60a5fa;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* Reviews Grid */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 1.75rem;
}

.review-stars {
  color: #f59e0b;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.review-text {
  color: var(--text-main);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: white;
}

.user-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
}

.user-role {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
}

.faq-question {
  padding: 1.25rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  display: none;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
}

.faq-item.active .faq-answer {
  display: block;
}

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

/* Footer & PBN Links (Core Task 2) */
footer {
  background: #050811;
  border-top: 1px solid var(--border-color);
  padding: 3.5rem 0 2rem;
  color: var(--text-muted);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  max-width: 340px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-top: 0.75rem;
}

.footer-links h4 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 1rem;
}

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

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

/* PBN Friendly Links Styling - Low Key, Elegant, Integrated */
.footer-pbn-links {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.82rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-pbn-links span.pbn-label {
  color: var(--text-dim);
  font-weight: 500;
}

.footer-pbn-links a {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-pbn-links a:hover {
  color: #9ca3af;
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* Modal & Mobile Navigation & Enhanced Responsive */

/* Hamburger Button */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: #ffffff;
  font-size: 1.5rem;
  line-height: 1;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: var(--transition);
}

.menu-toggle:focus-visible {
  outline: 2px solid var(--primary);
}

.menu-toggle .icon-close {
  display: none;
}

.menu-toggle.active .icon-menu {
  display: none;
}

.menu-toggle.active .icon-close {
  display: inline-block;
}

/* Download Modal */
.dl-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.dl-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 7, 18, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.dl-modal-card {
  position: relative;
  z-index: 10;
  background: #0f172a;
  border: 1px solid rgba(59, 130, 246, 0.35);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.7), 0 0 30px rgba(59, 130, 246, 0.25);
  border-radius: 20px;
  width: 100%;
  max-width: 520px;
  max-height: calc(100dvh - 2rem);
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  padding: 2rem;
  box-sizing: border-box;
  text-align: left;
  transform: scale(0.95);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.dl-modal.active .dl-modal-card {
  transform: scale(1);
}

.dl-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
}

.dl-modal-close:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.dl-modal-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  margin-bottom: 0.6rem;
}

.dl-modal-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 0.35rem;
}

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

.dl-modal-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.dl-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  border-radius: 14px;
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid var(--border-color);
  text-decoration: none;
  transition: var(--transition);
}

.dl-btn:hover {
  background: #1e293b;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px var(--primary-glow);
}

.dl-btn.dl-btn-ios:hover {
  border-color: #a855f7;
  box-shadow: 0 4px 14px rgba(168, 85, 247, 0.35);
}

.dl-btn-left {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.dl-btn-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.dl-btn-android .dl-btn-icon {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.dl-btn-ios .dl-btn-icon {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.dl-btn-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.15rem;
}

.dl-btn-info p {
  font-size: 0.76rem;
  color: var(--text-dim);
}

.dl-btn-arrow {
  font-size: 1.1rem;
  color: var(--text-dim);
  transition: var(--transition);
}

.dl-btn:hover .dl-btn-arrow {
  color: #ffffff;
  transform: translateX(3px);
}

.dl-modal-features {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.78rem;
  color: var(--text-dim);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.dl-modal-features span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.dl-modal-features span.highlight-feat {
  color: #60a5fa;
}

.dl-modal-footer {
  text-align: center;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
  color: var(--text-dim);
}

.dl-modal-footer a {
  color: var(--primary);
  font-weight: 600;
  margin-left: 0.3rem;
}

.dl-modal-footer a:hover {
  text-decoration: underline;
  color: var(--accent);
}

/* Responsive Rules (Mobile-First & Breakpoints) */
@media (max-width: 992px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Header & Navigation Drawer */
  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    background: rgba(9, 13, 22, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 1.5rem 1.5rem 2rem;
    gap: 1.25rem;
    align-items: flex-start;
    display: none;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
    max-height: calc(100vh - 65px);
    overflow-y: auto;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 1.05rem;
    display: block;
    width: 100%;
    padding: 0.4rem 0;
  }

  .header-btns {
    gap: 0.5rem;
  }

  .header-btns .btn {
    padding: 0.45rem 0.85rem;
    font-size: 0.82rem;
  }

  /* Hero Section */
  .hero {
    padding: 3rem 0 2.5rem;
  }

  .hero-title {
    font-size: clamp(1.85rem, 6vw, 2.4rem);
    line-height: 1.25;
  }

  .hero-desc {
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
    padding: 0 0.5rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2.25rem;
  }

  .hero-actions .btn {
    width: 100%;
    padding: 0.8rem 1.5rem;
    min-height: 44px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1.25rem;
  }

  .stat-item h3 {
    font-size: 1.6rem;
  }

  .stat-item p {
    font-size: 0.8rem;
  }

  /* Section Spacing */
  .section {
    padding: 3.5rem 0;
  }

  .section-title {
    font-size: clamp(1.5rem, 5vw, 1.85rem);
  }

  .section-sub {
    font-size: 0.88rem;
  }

  /* Features & Pricing & Articles Grids */
  .features-grid,
  .pricing-grid,
  .articles-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .price-card.popular {
    transform: none;
  }

  .price-card .btn {
    min-height: 44px;
  }

  /* Comparison Table responsive wrapper */
  .comparison-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
    margin: 0 -0.5rem;
    padding: 0 0.5rem;
  }

  .comparison-table {
    min-width: 620px;
    font-size: 0.85rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 0.8rem 0.65rem;
  }

  /* Footer */
  footer {
    padding: 2.5rem 0 1.5rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 1.75rem;
  }

  .footer-brand {
    max-width: 100%;
  }

  /* Article pages mobile */
  .article-container {
    margin: 1.5rem auto !important;
    padding: 1.25rem !important;
    border-radius: 12px !important;
  }

  .article-header h1 {
    font-size: clamp(1.4rem, 5vw, 1.8rem) !important;
  }

  .article-content {
    font-size: 0.98rem !important;
    line-height: 1.75 !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .brand span {
    font-size: 1.15rem;
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    padding: 1rem;
  }

  .stat-item h3 {
    font-size: 1.35rem;
  }

  .stat-item p {
    font-size: 0.75rem;
  }

  .dl-modal-card {
    padding: 1.5rem 1.1rem;
    border-radius: 16px;
  }

  .dl-modal-title {
    font-size: 1.25rem;
  }

  .dl-btn {
    padding: 0.85rem 1rem;
  }

  .dl-btn-icon {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }
}

