/* TAG Cloud (tagjc.cyou) Design System & Stylesheet */
:root {
  --bg-dark: #07090e;
  --bg-card: rgba(18, 24, 38, 0.7);
  --bg-card-hover: rgba(28, 36, 56, 0.85);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-glow: rgba(0, 242, 254, 0.4);
  
  --primary-cyan: #00f2fe;
  --primary-blue: #4facfe;
  --accent-purple: #7f53ac;
  --accent-green: #10b981;
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;
  
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  
  --shadow-glow: 0 0 25px rgba(0, 242, 254, 0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-family);
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(0, 242, 254, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 85% 65%, rgba(127, 83, 172, 0.07) 0%, transparent 40%);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Header & Nav */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.9rem 0;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.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: 700;
  background: linear-gradient(135deg, #ffffff 0%, var(--primary-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.4);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary-cyan);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-cyan) 100%);
  color: #000;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0, 242, 254, 0.5);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text-main);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--primary-cyan);
  color: var(--primary-cyan);
}

.btn-recommend {
  background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.25);
}

.btn-recommend:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(239, 68, 68, 0.4);
}

/* Hero Section */
.hero {
  padding: 5rem 0 3.5rem 0;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--primary-cyan);
  margin-bottom: 1.5rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-green);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  background: linear-gradient(135deg, #ffffff 30%, var(--primary-cyan) 80%, var(--primary-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto 2.2rem auto;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 960px;
  margin: 0 auto;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 1.25rem 1rem;
  border-radius: var(--radius-md);
  text-align: center;
  backdrop-filter: blur(10px);
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-cyan);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* System Status Mirror Component */
.status-section {
  padding: 2rem 0;
  margin-bottom: 4rem;
}

.status-box {
  background: rgba(15, 22, 35, 0.9);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.status-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}

.status-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.status-badge-ok {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.status-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.status-item-name {
  font-size: 0.9rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-indicator {
  display: flex;
  gap: 4px;
}

.status-pill {
  width: 18px;
  height: 18px;
  background: #10b981;
  color: #000;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem auto;
}

.section-subtitle {
  color: var(--primary-cyan);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
  backdrop-filter: blur(12px);
}

.feature-card:hover {
  transform: translateY(-5px);
  background: var(--bg-card-hover);
  border-color: var(--border-color-glow);
  box-shadow: var(--shadow-glow);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: rgba(0, 242, 254, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-cyan);
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
  backdrop-filter: blur(14px);
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-color-glow);
  box-shadow: var(--shadow-glow);
}

.pricing-card.popular {
  border-color: var(--primary-cyan);
  background: linear-gradient(180deg, rgba(0, 242, 254, 0.08) 0%, rgba(18, 24, 38, 0.8) 100%);
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.2);
}

.popular-badge {
  position: absolute;
  top: -14px;
  right: 20px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-cyan));
  color: #000;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.85rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.plan-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.plan-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  min-height: 2.5em;
}

.plan-price {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--primary-cyan);
  margin-bottom: 0.25rem;
}

.plan-price span {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 400;
}

.plan-traffic {
  font-size: 0.95rem;
  font-weight: 600;
  color: #34d399;
  background: rgba(16, 185, 129, 0.1);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 1.5rem;
  width: fit-content;
}

.plan-features {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.plan-features li {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.plan-features li svg {
  color: var(--primary-cyan);
  flex-shrink: 0;
}

/* Articles Section & Grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 242, 254, 0.3);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.article-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-cyan);
  background: rgba(0, 242, 254, 0.1);
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  width: fit-content;
  margin-bottom: 1rem;
}

.article-card h3 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.article-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-dim);
  border-top: 1px solid var(--border-color);
  padding-top: 0.85rem;
}

.read-more {
  color: var(--primary-cyan);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* Reviews / Testimonials */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  backdrop-filter: blur(10px);
}

.review-stars {
  color: #fbbf24;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 1.25rem;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.avatar-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
}

.user-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.user-title {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* FAQ Section */
.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.35rem 1.5rem;
  text-align: left;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-answer {
  padding: 0 1.5rem 1.35rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Article Content Layout */
.article-page {
  padding: 3.5rem 0 5rem 0;
}

.article-container {
  max-width: 880px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem;
  backdrop-filter: blur(16px);
}

.article-header-box {
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 2rem;
}

.article-header-box h1 {
  font-size: 2.3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  flex-wrap: wrap;
}

.article-body {
  color: #e5e7eb;
  font-size: 1.05rem;
  line-height: 1.85;
}

.article-body h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-cyan);
  margin: 2.2rem 0 1rem 0;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(0, 242, 254, 0.2);
}

.article-body h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  margin: 1.75rem 0 0.85rem 0;
}

.article-body p {
  margin-bottom: 1.35rem;
}

.article-body ul, .article-body ol {
  margin: 0 0 1.5rem 1.5rem;
}

.article-body li {
  margin-bottom: 0.5rem;
}

.article-body strong {
  color: #fff;
}

.article-cta-box {
  margin: 3rem 0;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.1) 0%, rgba(127, 83, 172, 0.1) 100%);
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: var(--radius-md);
  text-align: center;
}

.article-cta-box h3 {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 0.75rem;
}

.article-cta-box p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.article-nav-links {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.article-nav-links a {
  color: var(--primary-cyan);
  font-weight: 600;
  font-size: 0.95rem;
}

/* Footer (Core Task 2 PBN Injection) */
footer {
  background: #040508;
  border-top: 1px solid var(--border-color);
  padding: 3rem 0 2rem 0;
  margin-top: 5rem;
  text-align: center;
}

.footer-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}

.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.footer-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--primary-cyan);
}

/* Low-profile Friendly PBN Link Section - Task 2 Required */
.pbn-links-area {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  font-size: 0.82rem;
  color: var(--text-dim);
  padding: 0.75rem 0;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  width: 100%;
  max-width: 600px;
}

.pbn-links-area span {
  color: var(--text-dim);
}

.pbn-links-area a {
  color: #8b949e;
  transition: var(--transition);
  text-decoration: none;
}

.pbn-links-area a:hover {
  color: var(--primary-cyan);
}

.copyright {
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* Legacy responsive block removed in favor of Mobile-First system below */


/* --- Mobile First & Modal & Nav Extensions --- */
:root {
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-top: env(safe-area-inset-top, 0px);
}

/* Hamburger button */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-color);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: var(--transition);
}
.mobile-menu-btn:hover, .mobile-menu-btn:focus-visible {
  border-color: var(--primary-cyan);
  outline: none;
}
.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

/* Download Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 12, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}
.modal-dialog {
  background: #0d121f;
  border: 1px solid rgba(0, 242, 254, 0.35);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 35px rgba(0, 242, 254, 0.2);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  max-height: 90dvh;
  overflow-y: auto;
  position: relative;
  padding: 2rem 1.75rem;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
}
.modal-backdrop.is-open .modal-dialog {
  transform: translateY(0) scale(1);
}
.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.modal-close-btn:hover, .modal-close-btn:focus-visible {
  color: #fff;
  border-color: var(--primary-cyan);
  background: rgba(0, 242, 254, 0.15);
  outline: none;
}
.modal-header {
  text-align: center;
  margin-bottom: 1.5rem;
}
.modal-header .modal-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.75rem auto;
  background: linear-gradient(135deg, rgba(79, 172, 254, 0.15), rgba(0, 242, 254, 0.2));
  border: 1px solid rgba(0, 242, 254, 0.4);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-cyan);
}
.modal-header h3 {
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.modal-header p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.modal-platforms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.platform-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 0.75rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  text-decoration: none;
  color: #fff;
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
  min-height: 110px;
}
.platform-card:hover, .platform-card:focus-visible {
  border-color: var(--primary-cyan);
  background: rgba(0, 242, 254, 0.08);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 242, 254, 0.15);
  outline: none;
}
.platform-card svg {
  width: 32px;
  height: 32px;
  margin-bottom: 0.5rem;
  color: var(--primary-cyan);
}
.platform-card .platform-name {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.platform-card .platform-badge {
  font-size: 0.75rem;
  color: var(--accent-green);
}
.modal-info-box {
  background: rgba(0, 242, 254, 0.05);
  border: 1px dashed rgba(0, 242, 254, 0.3);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.modal-info-box strong {
  color: var(--primary-cyan);
}
.modal-footer {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-dim);
}
.modal-footer a {
  color: var(--primary-cyan);
  text-decoration: underline;
}

/* Download Page Specific Layout */
.dl-hero {
  padding: 3.5rem 0 2.5rem 0;
  text-align: center;
}
.dl-hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff 30%, var(--primary-cyan) 80%, var(--primary-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.dl-hero p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 650px;
  margin: 0 auto;
}
.dl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2.5rem auto 4rem auto;
  max-width: 900px;
}
.dl-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition);
  backdrop-filter: blur(14px);
}
.dl-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-color-glow);
  box-shadow: var(--shadow-glow);
}
.dl-card .os-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(0, 242, 254, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--primary-cyan);
}
.dl-card h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}
.dl-card .os-ver {
  font-size: 0.85rem;
  color: var(--accent-green);
  margin-bottom: 1rem;
  background: rgba(16, 185, 129, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}
.dl-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.dl-card .btn {
  width: 100%;
  padding: 0.8rem 1.5rem;
}
.steps-section {
  max-width: 880px;
  margin: 0 auto 4rem auto;
}
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.step-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-cyan));
  color: #000;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
}
.step-content p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Comprehensive Responsive Adjustments */
@media (max-width: 1024px) {
  .hero h1 { font-size: 2.6rem; }
  .pricing-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}

@media (max-width: 860px) {
  .mobile-menu-btn { display: flex; }
  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(7, 9, 14, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 2rem;
    gap: 1.25rem;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, visibility 0.25s ease;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
    z-index: 999;
  }
  .nav-links.is-active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    font-size: 1.05rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
  }
  .header-actions .btn {
    padding: 0.45rem 0.85rem;
    font-size: 0.85rem;
  }
  .hero { padding: 3.5rem 0 2.5rem 0; }
  .hero h1 { font-size: 2.2rem; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}

@media (max-width: 640px) {
  .container { padding: 0 0.85rem; }
  .header { padding: 0.6rem 0; }
  .brand { font-size: 1.15rem; gap: 0.45rem; flex-shrink: 0; }
  .brand img { width: 30px; height: 30px; }
  .header-actions { gap: 0.45rem; }
  
  /* On mobile header, show only download center button + client download button or hamburger */
  .header-actions .btn-outline {
    padding: 0.4rem 0.65rem;
    font-size: 0.82rem;
  }
  .header-actions .btn-primary {
    padding: 0.4rem 0.75rem;
    font-size: 0.82rem;
    white-space: nowrap;
  }
  .mobile-menu-btn {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }
  .mobile-menu-btn svg {
    width: 20px;
    height: 20px;
  }

  .hero { padding: 2.2rem 0 1.8rem 0; }
  .hero-badge {
    font-size: 0.72rem;
    padding: 0.35rem 0.7rem;
    line-height: 1.4;
    white-space: normal;
    display: inline-flex;
    max-width: 96%;
    margin-bottom: 1.2rem;
  }
  .hero h1 {
    font-size: 1.55rem;
    line-height: 1.32;
    margin-bottom: 0.85rem;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  .hero p {
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 1.6rem;
    padding: 0;
    word-break: break-word;
  }
  .hero-ctas {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
    margin-bottom: 2rem;
  }
  .hero-ctas .btn {
    width: 100%;
    min-height: 46px;
    font-size: 0.98rem;
  }
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .stat-card { padding: 1rem; }
  
  .section { padding: 3rem 0; }
  .section-header { margin-bottom: 1.75rem; }
  .section-title { font-size: 1.5rem; }
  .section-desc { font-size: 0.88rem; }
  
  .features-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .pricing-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .pricing-card { padding: 1.75rem 1.25rem; }
  .plan-name { font-size: 1.25rem; }
  .plan-desc { min-height: auto; }
  .pricing-card .btn { min-height: 46px; }

  .articles-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .reviews-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  
  .article-container { padding: 1.25rem 1rem; border-radius: var(--radius-md); }
  .article-header-box h1 { font-size: 1.35rem; line-height: 1.35; }
  .article-body { font-size: 0.95rem; line-height: 1.75; }
  .article-body h2 { font-size: 1.25rem; margin: 1.75rem 0 0.75rem 0; }
  .article-body h3 { font-size: 1.1rem; }
  .article-cta-box { padding: 1.25rem 1rem; margin: 2rem 0; }
  .article-cta-box h3 { font-size: 1.15rem; }
  .article-cta-box .btn { width: 100%; min-height: 46px; }
  .article-nav-links { flex-direction: column; gap: 0.75rem; text-align: center; }

  /* Modal Mobile Friendly */
  .modal-dialog {
    padding: 1.75rem 1.15rem 1.25rem 1.15rem;
    max-height: 85vh;
    max-height: 85dvh;
    margin: auto 0.75rem;
  }
  .modal-platforms {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .platform-card {
    flex-direction: row;
    justify-content: flex-start;
    gap: 1rem;
    padding: 0.85rem 1.25rem;
    text-align: left;
    min-height: auto;
  }
  .platform-card svg { margin-bottom: 0; }
  
  .dl-hero h1 { font-size: 1.7rem; }
  .dl-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .step-item { flex-direction: column; gap: 0.75rem; }

  footer { margin-top: 3.5rem; padding: 2.5rem 0 1.5rem 0; }
  .footer-links { gap: 0.85rem; font-size: 0.85rem; }
  .pbn-links-area { flex-wrap: wrap; gap: 0.65rem; font-size: 0.8rem; }
}

@media (max-width: 440px) {
  /* For phones around 360px-414px width, streamline header: keep brand + client download + mobile hamburger */
  .header-actions .btn-outline {
    display: none !important;
  }
  .header-actions .btn-primary {
    padding: 0.38rem 0.65rem;
    font-size: 0.8rem;
  }
  .hero h1 { font-size: 1.45rem; line-height: 1.3; }
  .hero-badge { font-size: 0.7rem; padding: 0.3rem 0.6rem; }
  .hero-ctas .btn { font-size: 0.92rem; padding: 0.75rem 1rem; }
}

@media (max-width: 360px) {
  .hero h1 { font-size: 1.35rem; }
  .plan-price { font-size: 1.85rem; }
  .brand span { font-size: 1rem; }
  .header-actions .btn-primary { font-size: 0.75rem; padding: 0.35rem 0.55rem; }
}
