/* ==========================================================================
   小鸡快跑 (xiaojkp.xyz) - Dark Modern UI Design System
   ========================================================================== */

:root {
  --bg-dark: #0b0f19;
  --bg-card: #121827;
  --bg-card-hover: #1a2236;
  --bg-header: rgba(11, 15, 25, 0.85);
  
  --primary-gold: #ffcc00;
  --primary-gold-hover: #e6b800;
  --primary-gold-alpha: rgba(255, 204, 0, 0.15);
  
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dark: #111827;
  
  --accent-red: #ef4444;
  --accent-green: #10b981;
  --accent-blue: #3b82f6;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(255, 204, 0, 0.3);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(255, 204, 0, 0.25);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

/* ==========================================================================
   Notice Banner
   ========================================================================== */
.notice-banner {
  background: linear-gradient(90deg, #ef4444 0%, #dc2626 50%, #b91c1c 100%);
  color: #ffffff;
  text-align: center;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  z-index: 101;
  box-shadow: 0 2px 10px rgba(239, 68, 68, 0.3);
}

.notice-banner a {
  color: #fff;
  text-decoration: underline;
  font-weight: 700;
  margin: 0 4px;
}

.notice-banner a:hover {
  color: var(--primary-gold);
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg-header);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.brand-logo img {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

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

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
}

.btn-primary {
  background-color: var(--primary-gold);
  color: var(--text-dark);
  box-shadow: 0 4px 14px rgba(255, 204, 0, 0.35);
}

.btn-primary:hover {
  background-color: var(--primary-gold-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-outline-gold {
  background-color: transparent;
  color: var(--primary-gold);
  border: 1px solid var(--primary-gold);
}

.btn-outline-gold:hover {
  background-color: var(--primary-gold-alpha);
  transform: translateY(-2px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 90px 24px 70px;
  text-align: center;
  position: relative;
  background: radial-gradient(circle at 50% 20%, rgba(255, 204, 0, 0.08) 0%, rgba(11, 15, 25, 0) 70%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background-color: rgba(255, 204, 0, 0.12);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  color: var(--primary-gold);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 28px;
}

.hero-title {
  font-size: 54px;
  line-height: 1.15;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: -1.5px;
}

.hero-subtitle {
  max-width: 680px;
  margin: 0 auto 36px;
  font-size: 18px;
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.7;
}

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

.hero-stats {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 30px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

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

.stat-value {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-gold);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
}

/* ==========================================================================
   Section Layouts
   ========================================================================== */
.section {
  padding: 80px 24px;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.section-tag {
  color: var(--primary-gold);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
}

/* ==========================================================================
   Features Grid
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-gold-alpha);
  color: var(--primary-gold);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

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

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card.featured {
  border-color: var(--primary-gold);
  background: linear-gradient(180deg, rgba(255, 204, 0, 0.05) 0%, var(--bg-card) 100%);
  box-shadow: var(--shadow-glow);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-gold);
  color: var(--text-dark);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.pricing-title {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 38px;
  font-weight: 900;
  color: var(--primary-gold);
  margin-bottom: 6px;
}

.pricing-price span {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.pricing-features {
  list-style: none;
  margin-bottom: 30px;
  flex-grow: 1;
}

.pricing-features li {
  font-size: 14px;
  color: var(--text-main);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li::before {
  content: "✓";
  color: var(--primary-gold);
  font-weight: bold;
}

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

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-lg);
}

.article-category {
  color: var(--primary-gold);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.article-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.4;
}

.article-card-title a:hover {
  color: var(--primary-gold);
}

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

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

.read-more {
  color: var(--primary-gold);
  font-weight: 600;
}

/* ==========================================================================
   Reviews / Testimonials
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

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

.stars {
  color: var(--primary-gold);
  font-size: 16px;
  margin-bottom: 14px;
}

.review-text {
  font-size: 15px;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}

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

.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--primary-gold-alpha);
  color: var(--primary-gold);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-info h4 {
  font-size: 15px;
  color: #ffffff;
}

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

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-grid {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
}

.faq-question {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-question::before {
  content: "Q";
  color: var(--primary-gold);
  font-weight: 900;
}

.faq-answer {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  padding-left: 26px;
}

/* ==========================================================================
   Article Detail Page Layout
   ========================================================================== */
.article-detail-container {
  max-width: 900px;
  margin: 40px auto 80px;
  padding: 0 24px;
}

.article-header {
  margin-bottom: 36px;
}

.article-title {
  font-size: 38px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 16px;
}

.article-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  font-size: 16px;
  color: #e5e7eb;
  line-height: 1.8;
}

.article-content h2 {
  font-size: 24px;
  color: #ffffff;
  margin: 32px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

.article-content h3 {
  font-size: 20px;
  color: var(--primary-gold);
  margin: 24px 0 12px;
}

.article-content p {
  margin-bottom: 18px;
}

.article-content ul, .article-content ol {
  margin: 18px 0;
  padding-left: 24px;
}

.article-content li {
  margin-bottom: 8px;
}

.cta-box {
  background: linear-gradient(135deg, rgba(255, 204, 0, 0.1) 0%, rgba(18, 24, 39, 0.8) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 30px;
  text-align: center;
  margin: 40px 0;
}

.cta-box h3 {
  font-size: 22px;
  color: #ffffff;
  margin-bottom: 10px;
}

.cta-box p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.related-articles {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
}

/* ==========================================================================
   Footer & Friendly Links (Core Task 2)
   ========================================================================== */
.site-footer {
  background-color: #070a12;
  border-top: 1px solid var(--border-color);
  padding: 50px 24px 30px;
  color: var(--text-muted);
  font-size: 14px;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.footer-brand img {
  width: 30px;
  height: 30px;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
}

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

/* Core Task 2: PBN Friend Links Section */
.friend-links-section {
  max-width: 800px;
  margin: 20px auto 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 13px;
  color: #6b7280;
}

.friend-links-title {
  color: #9ca3af;
  font-weight: 500;
}

.friend-links-section a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s ease;
}

.friend-links-section a:hover {
  color: var(--primary-gold);
}

.footer-copyright {
  font-size: 13px;
  color: #4b5563;
  margin-top: 10px;
}

/* ==========================================================================
   Responsive Utilities & Mobile Navigation
   ========================================================================== */

/* Hamburger menu button */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 102;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.hamburger-bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle.active .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Modal Open Body Lock */
body.modal-open {
  overflow: hidden !important;
  touch-action: none;
}

/* ==========================================================================
   Download Modal Component
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  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: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  max-height: 90dvh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), var(--shadow-glow);
  transform: scale(0.95);
  transition: transform 0.25s ease;
  padding: 24px;
  position: relative;
}

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

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 20px;
}

.modal-title {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
}

.modal-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.5;
}

.modal-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 24px;
  line-height: 1;
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

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

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

.platform-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
  min-height: 48px;
}

.platform-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 204, 0, 0.2);
}

.platform-icon {
  font-size: 32px;
  line-height: 1;
}

.platform-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.platform-name {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.platform-desc {
  font-size: 12px;
  color: var(--text-muted);
}

.platform-arrow {
  font-size: 18px;
  color: var(--primary-gold);
  font-weight: bold;
}

.modal-tip {
  background: rgba(255, 204, 0, 0.08);
  border: 1px dashed var(--border-gold);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.modal-footer-link {
  text-align: center;
  font-size: 13px;
  padding-top: 10px;
}

.modal-footer-link a {
  color: var(--primary-gold);
  text-decoration: underline;
  font-weight: 500;
}

.modal-footer-link a:hover {
  color: var(--primary-gold-hover);
}

/* ==========================================================================
   Download Center Page Styles
   ========================================================================== */
.download-page {
  padding-bottom: 80px;
}

.download-hero {
  padding: 80px 24px 60px;
  text-align: center;
  position: relative;
  background: radial-gradient(circle at 50% 20%, rgba(255, 204, 0, 0.08) 0%, rgba(11, 15, 25, 0) 70%);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  max-width: 900px;
  margin: 40px auto 0;
  text-align: left;
}

.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.download-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-lg);
}

.download-card.featured {
  border-color: var(--primary-gold);
  box-shadow: var(--shadow-glow);
}

.card-platform-icon {
  font-size: 42px;
  margin-bottom: 16px;
}

.card-platform-title {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.card-platform-version {
  font-size: 13px;
  color: var(--primary-gold);
  margin-bottom: 14px;
}

.card-platform-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.card-platform-features {
  list-style: none;
  margin-bottom: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: var(--text-main);
}

.btn-block {
  width: 100%;
}

.install-steps-section {
  background: rgba(18, 24, 39, 0.4);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  position: relative;
}

.step-num {
  font-size: 32px;
  font-weight: 900;
  color: var(--primary-gold);
  opacity: 0.6;
  line-height: 1;
  margin-bottom: 14px;
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Table Responsive wrapper */
.table-responsive-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 20px 0;
}

/* ==========================================================================
   Comprehensive Mobile-First Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    flex-direction: column;
    padding: 24px 20px;
    gap: 16px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 99;
  }

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

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 10px 0;
    font-size: 16px;
  }

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 60px 16px 45px;
  }

  .hero-title {
    font-size: 32px;
    letter-spacing: -1px;
    line-height: 1.25;
  }
  
  .hero-subtitle {
    font-size: 15px;
    margin-bottom: 28px;
    line-height: 1.6;
  }
  
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: 20px 14px;
  }

  .stat-value {
    font-size: 26px;
  }

  .stat-label {
    font-size: 13px;
  }
  
  .nav-actions {
    display: none; /* Collapsed into mobile experience */
  }

  .nav-actions.nav-open {
    display: flex;
    position: fixed;
    top: 360px;
    left: 20px;
    right: 20px;
    flex-direction: column;
    gap: 10px;
    z-index: 100;
  }

  .nav-actions.nav-open .btn {
    width: 100%;
    text-align: center;
  }

  .section {
    padding: 50px 16px;
  }
  
  .section-title {
    font-size: 26px;
    line-height: 1.3;
  }

  .section-desc {
    font-size: 14px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    padding: 22px 18px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .pricing-card {
    padding: 28px 20px;
  }

  .articles-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .download-hero {
    padding: 50px 16px 40px;
  }

  .download-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .download-card {
    padding: 28px 20px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .article-content {
    padding: 20px 16px;
  }
  
  .article-title {
    font-size: 24px;
    line-height: 1.3;
  }

  .footer-links {
    gap: 14px;
  }

  .friend-links-section {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-cta .btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 15px;
  }

  .modal-card {
    padding: 20px 16px;
  }

  .modal-title {
    font-size: 18px;
  }

  .platform-btn {
    padding: 14px 14px;
    gap: 12px;
  }

  .platform-icon {
    font-size: 26px;
  }

  .platform-name {
    font-size: 15px;
  }

  .pricing-price {
    font-size: 32px;
  }
}

@media (max-width: 360px) {
  .hero-title {
    font-size: 24px;
  }

  .stat-value {
    font-size: 22px;
  }

  .brand-logo span {
    font-size: 17px;
  }

  .modal-title {
    font-size: 16px;
  }
}
