/* Root variables for dark/light theme */
:root {
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-tertiary: #334155;
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --accent-primary: #3b82f6;
  --accent-secondary: #8b5cf6;
  --border-color: #334155;
  --shadow: rgba(0, 0, 0, 0.3);
}

[data-theme="light"] {
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #e2e8f0;
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --accent-primary: #2563eb;
  --accent-secondary: #7c3aed;
  --border-color: #e2e8f0;
  --shadow: rgba(0, 0, 0, 0.1);
}

/* Light mode specific overrides */
[data-theme="light"] .category-icon {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(139, 92, 246, 0.15));
  color: var(--accent-primary);
}

[data-theme="light"] .hero-gradient {
  opacity: 0.08;
}

[data-theme="light"] .hero-pattern {
  background-image: radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Header Styles */
.site-header {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-logo:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* Desktop Navigation */
.desktop-nav {
  display: none;
}

.desktop-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.desktop-nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease, background 0.3s ease;
  position: relative;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
}

.desktop-nav a:hover {
  color: #e0e7ff;
  background: rgba(255, 255, 255, 0.1);
}

/* Header Actions (Desktop) */
.header-actions {
  display: none;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: flex;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.75rem;
  border-radius: 0.5rem;
  transition: background 0.2s ease;
}

.mobile-menu-toggle:hover {
  background: var(--bg-tertiary);
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 24px;
}

.hamburger-icon span {
  display: block;
  height: 2.5px;
  background: white;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Mobile Sidebar Overlay */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
  display: block;
  opacity: 1;
}

/* Mobile Sidebar */
.mobile-sidebar {
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 320px;
  max-width: 90vw;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  box-shadow: 4px 0 12px rgba(0, 0, 0, 0.1);
}

.mobile-menu-overlay.active .mobile-sidebar {
  transform: translateX(0);
}

/* Mobile Menu Header */
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.mobile-menu-header h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin: 0;
}

.mobile-menu-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: background 0.2s ease;
  line-height: 1;
}

.mobile-menu-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Mobile Menu Content */
.mobile-menu-content {
  padding: 1.5rem;
}

/* Mobile Theme Section */
.mobile-theme-section {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-theme-toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
  color: white;
}

.mobile-theme-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.mobile-theme-toggle .theme-label {
  font-weight: 500;
}

/* Mobile Navigation */
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-link {
  display: block;
  padding: 1rem;
  color: white;
  text-decoration: none;
  font-weight: 500;
  border-radius: 0.75rem;
  transition: all 0.2s ease;
}

.mobile-nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #e0e7ff;
  transform: translateX(4px);
}

/* Theme Toggle Button */
.theme-toggle {
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: background 0.3s ease;
}

.theme-toggle:hover {
  background: var(--bg-tertiary);
}

/* Desktop Responsive */
@media (min-width: 1024px) {
  .desktop-nav {
    display: block;
  }
  
  .header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
  }
  
  .mobile-menu-toggle {
    display: none;
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  overflow: hidden;
  margin: -2rem -2rem 4rem -2rem;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    var(--accent-primary) 0%, 
    var(--accent-secondary) 50%, 
    #ec4899 100%);
  opacity: 0.15;
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 2rem;
  color: var(--accent-primary);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 2rem;
  animation: fadeInUp 0.6s ease;
}

.hero-badge svg {
  fill: var(--accent-primary);
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-gradient-text {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary), #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
  animation: fadeInUp 0.6s ease 0.3s both;
}

.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: white;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
}

.btn-primary svg {
  transition: transform 0.3s ease;
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

.btn-secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-tertiary);
  transform: translateY(-2px);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  animation: bounce 2s infinite;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

/* Featured Categories Section */
.featured-categories {
  margin: 4rem 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--text-primary);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.category-card {
  position: relative;
  padding: 2rem;
  min-height: 280px;
  border-radius: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  overflow: hidden;
  color: white;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, 
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.6) 30%,
    rgba(0, 0, 0, 0.2) 60%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 1;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: var(--accent-primary);
}

.category-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  color: var(--accent-primary);
}

.category-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.category-card p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.category-arrow {
  display: inline-block;
  font-size: 1.5rem;
  color: var(--accent-primary);
  transition: transform 0.3s ease;
}

.category-card:hover .category-arrow {
  transform: translateX(8px);
}

/* Latest Reviews Section Removed */

/* Main Container with Sidebar */
.main-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
}

.content-area {
  min-width: 0;
}

/* Sidebar Styles */
.sidebar {
  position: sticky;
  top: 6rem;
  height: fit-content;
}

.sidebar-widget {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 6px var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sidebar-widget:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px var(--shadow);
}

.widget-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

/* Subscribe Widget */
.subscribe-form input[type="email"] {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  background: var(--bg-primary);
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.subscribe-form button {
  width: 100%;
  padding: 0.75rem;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.subscribe-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

/* Tags Widget */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-item {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.tag-item:hover {
  background: var(--accent-primary);
  color: white;
  transform: scale(1.05);
}

/* Category Header Styles */
.category-header {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  border-radius: 1rem;
  padding: 3rem 2rem;
  margin-bottom: 3rem;
  text-align: center;
  box-shadow: 0 10px 40px var(--shadow);
  position: relative;
  overflow: hidden;
}

.category-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.category-header-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.category-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  color: white;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.category-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.category-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1rem;
  font-weight: 500;
}

.category-intro {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.category-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.category-count {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 2rem;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.category-count svg {
  flex-shrink: 0;
}

/* Post List Styles */
.post-list {
  display: grid;
  gap: 1.5rem;
}

.post-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px var(--shadow);
}

.post-card-image {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-card-image a {
  display: block;
  width: 100%;
  height: 100%;
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.post-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.post-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.post-title a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.post-title a:hover {
  color: var(--accent-primary);
}

.post-meta {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.post-description {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Single Post Styles */
.post-header {
  margin-bottom: 2rem;
}

.post-content {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.post-content h2,
.post-content h3 {
  color: var(--text-primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.post-content a {
  color: var(--accent-primary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.post-content a:hover {
  border-bottom-color: var(--accent-primary);
}

/* Footer Styles */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  margin-top: 4rem;
  padding: 3rem 2rem 2rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  text-align: center;
  color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .main-wrapper {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }
  
  .sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
  }
  
  .content-area {
    padding: 0;
  }
}

@media (max-width: 768px) {
  /* Hero mobile optimization */
  .hero-section {
    min-height: auto;
    padding: 3rem 1.5rem;
    margin: -1rem -1rem 3rem -1rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }
  
  .hero-cta {
    flex-direction: column;
    margin-bottom: 3rem;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .stat-divider {
    width: 100%;
    height: 1px;
  }
  
  .hero-scroll-indicator {
    display: none;
  }
  
  .category-grid {
    grid-template-columns: 1fr;
  }
  
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  /* Adjust header padding on mobile */
  .header-container {
    padding: 1rem;
  }
  
  .site-logo {
    font-size: 1.25rem;
  }
  
  .mobile-menu-checkbox:checked::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    animation: fadeIn 0.3s ease;
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  /* Main content mobile */
  .main-wrapper {
    padding: 1rem;
  }
  
  .sidebar {
    grid-template-columns: 1fr;
    margin-top: 2rem;
  }
  
  /* Footer mobile */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-section {
    text-align: center;
  }
  
  .footer-links {
    flex-direction: column;
    align-items: center;
  }
  
  .social-links {
    justify-content: center;
  }
  
  /* Category header mobile */
  .category-header {
    padding: 2rem 1.5rem;
    border-radius: 0.75rem;
    margin-bottom: 2rem;
  }
  
  .category-title {
    font-size: 1.75rem;
    line-height: 1.2;
  }
  
  .category-description {
    font-size: 1rem;
  }
  
  .category-icon {
    width: 64px;
    height: 64px;
  }
  
  .category-icon svg {
    width: 36px;
    height: 36px;
  }
  
  /* Post cards mobile */
  .post-card {
    padding: 1.25rem;
  }
  
  .post-title {
    font-size: 1.25rem;
  }
  
  .post-meta {
    font-size: 0.85rem;
    flex-wrap: wrap;
  }
  
  /* Sidebar widgets mobile */
  .sidebar-widget {
    padding: 1.25rem;
  }
  
  .sidebar-widget h3 {
    font-size: 1.1rem;
  }
  
  /* Touch-friendly buttons */
  button, 
  input[type="submit"],
  .subscribe-btn {
    min-height: 44px;
    font-size: 1rem;
  }
  
  input[type="email"],
  input[type="text"],
  textarea {
    min-height: 44px;
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  /* Theme toggle mobile */
  .theme-toggle {
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
  }
}

@media (max-width: 480px) {
  /* Extra small screens */
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
  
  .stat-number {
    font-size: 1.75rem;
  }
  
  .btn-primary, .btn-secondary {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
  }
  
  .header-container {
    padding: 0.75rem;
  }
  
  .main-wrapper {
    padding: 0.75rem;
  }
  
  .category-title {
    font-size: 1.5rem;
  }
  
  .category-header {
    padding: 1.5rem 1rem;
  }
  
  .category-icon {
    width: 56px;
    height: 56px;
  }
  
  .category-icon svg {
    width: 32px;
    height: 32px;
  }
  
  .post-card {
    padding: 1rem;
  }
  
  .post-title {
    font-size: 1.1rem;
  }
  
  .main-nav a {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
  }
  
  .footer-section h4 {
    font-size: 1rem;
  }
  
  .site-title {
    font-size: 1.25rem;
  }
}

/* Landscape phone optimization */
@media (max-width: 896px) and (orientation: landscape) {
  .site-header {
    position: relative;
  }
  
  .category-header {
    padding: 1.5rem;
  }
  
  .main-wrapper {
    padding-top: 1rem;
  }
}

/* Improve touch scrolling on iOS */
@supports (-webkit-overflow-scrolling: touch) {
  body {
    -webkit-overflow-scrolling: touch;
  }
}

/* R2 Image Styles */
.r2-image {
  margin: 2rem 0;
  text-align: center;
}

.r2-image img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.r2-image img:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px var(--shadow);
}

.r2-image figcaption {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Content images (markdown/HTML) */
.content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 1.5rem 0;
  box-shadow: 0 4px 6px var(--shadow);
}

/* Author Page Styles */
.author-page {
  max-width: 900px;
  margin: 0 auto;
}

.author-header {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
  padding: 2rem;
  background: var(--bg-secondary);
  border-radius: 1rem;
  box-shadow: 0 4px 6px var(--shadow);
}

.author-image {
  flex-shrink: 0;
}

.author-image img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--accent-primary);
  box-shadow: 0 4px 12px var(--shadow);
}

.author-info {
  flex: 1;
}

.author-name {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.author-role {
  font-size: 1.1rem;
  color: var(--accent-primary);
  font-weight: 500;
  margin-bottom: 1rem;
}

.author-expertise {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.expertise-tag {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: white;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.author-social {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.social-link:hover {
  background: var(--accent-primary);
  color: white;
  transform: translateY(-2px);
}

.author-bio {
  margin-bottom: 3rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.author-bio h2,
.author-bio h3 {
  color: var(--text-primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.author-posts {
  margin-top: 3rem;
}

/* Mobile Author Page */
@media (max-width: 768px) {
  .author-header {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
  
  .author-image img {
    width: 120px;
    height: 120px;
  }
  
  .author-name {
    font-size: 1.5rem;
  }
  
  .author-social {
    justify-content: center;
  }
}

/* Authors List Page */
.authors-page {
  max-width: 1200px;
  margin: 0 auto;
}

.page-header {
  text-align: center;
  margin-bottom: 4rem;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
}

.authors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.author-card {
  background: var(--bg-secondary);
  border-radius: 1.5rem;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 6px var(--shadow);
}

.author-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px var(--shadow);
}

.author-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.author-card-image {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
}

.author-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.author-card:hover .author-card-image img {
  transform: scale(1.1);
}

.author-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.9), rgba(139, 92, 246, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.author-card:hover .author-card-overlay {
  opacity: 1;
}

.view-profile {
  color: white;
  font-size: 1.25rem;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.author-card-content {
  padding: 1.5rem;
}

.author-card-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.author-card-role {
  color: var(--accent-primary);
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.author-card-expertise {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.expertise-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.author-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.read-more {
  color: var(--accent-primary);
  font-weight: 600;
  font-size: 0.95rem;
}

.author-card-footer svg {
  color: var(--accent-primary);
  transition: transform 0.3s ease;
}

.author-card:hover .author-card-footer svg {
  transform: translateX(4px);
}

/* Mobile Authors List */
@media (max-width: 768px) {
  .page-header {
    margin-bottom: 2rem;
  }
  
  .page-title {
    font-size: 1.75rem;
  }
  
  .page-description {
    font-size: 1rem;
  }
  
  .authors-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .author-card {
    border-radius: 1rem;
  }
  
  /* Horizontal card layout for mobile */
  .author-card-link {
    display: flex;
    align-items: center;
  }
  
  .author-card-image {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    border-radius: 50%;
    margin: 1rem;
  }
  
  .author-card-image img {
    border-radius: 50%;
  }
  
  .author-card:hover .author-card-image img {
    transform: scale(1.05);
  }
  
  .author-card-overlay {
    display: none;
  }
  
  .author-card-content {
    padding: 1rem;
    flex: 1;
  }
  
  .author-card-name {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
  }
  
  .author-card-role {
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
  }
  
  .author-card-expertise {
    margin-bottom: 0.75rem;
  }
  
  .expertise-badge {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
  }
  
  .author-card-footer {
    padding-top: 0.75rem;
  }
  
  .read-more {
    font-size: 0.875rem;
  }
  
  .author-card-footer svg {
    width: 18px;
    height: 18px;
  }
}

/* Modern Post Styles */
.modern-post {
  max-width: 850px;
  margin: 0 auto;
}

.post-hero {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--border-color);
}

.post-category-badge {
  margin-bottom: 1rem;
}

.post-category-badge a {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: white;
  text-decoration: none;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-category-badge a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.post-hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

.post-hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.author-badge,
.date-badge,
.reading-time {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.author-badge svg,
.date-badge svg,
.reading-time svg {
  flex-shrink: 0;
}

/* Featured Image */
.post-featured-image {
  margin: 2rem auto 3rem;
  max-width: 100%;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 24px var(--shadow);
}

.post-featured-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Modern Typography */
.modern-typography {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.modern-typography h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 3rem;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.modern-typography h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.modern-typography h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.modern-typography p {
  margin-bottom: 1.5rem;
}

.modern-typography strong {
  color: var(--text-primary);
  font-weight: 600;
}

.modern-typography ul,
.modern-typography ol {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.modern-typography li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.modern-typography a {
  color: var(--accent-primary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.modern-typography a:hover {
  border-bottom-color: var(--accent-primary);
}

.modern-typography blockquote {
  margin: 2rem 0;
  padding: 1.5rem;
  border-left: 4px solid var(--accent-primary);
  background: var(--bg-secondary);
  border-radius: 0.5rem;
  font-style: italic;
}

.modern-typography code {
  padding: 0.2rem 0.5rem;
  background: var(--bg-tertiary);
  border-radius: 0.25rem;
  font-size: 0.9em;
  font-family: 'Courier New', monospace;
}

/* Tags Section */
.post-tags-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid var(--border-color);
}

.tags-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.tags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.modern-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.modern-tag:hover {
  background: var(--accent-primary);
  color: white;
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

/* Author Box */
.author-box {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--bg-secondary);
  border-radius: 1rem;
  box-shadow: 0 4px 6px var(--shadow);
}

.author-box-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  text-align: center;
}

.author-box-content {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.author-box-image {
  flex-shrink: 0;
}

.author-box-image img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-primary);
}

.author-box-info {
  flex: 1;
}

.author-box-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.author-box-role {
  color: var(--accent-primary);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.author-box-bio {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.author-box-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: gap 0.3s ease;
}

.author-box-link:hover {
  gap: 0.75rem;
}

/* Mobile Post Styles */
@media (max-width: 768px) {
  .post-hero-title {
    font-size: 1.75rem;
  }
  
  .post-hero-meta {
    font-size: 0.875rem;
    gap: 1rem;
  }
  
  .modern-typography {
    font-size: 1rem;
  }
  
  .modern-typography h2 {
    font-size: 1.5rem;
  }
  
  .modern-typography h3 {
    font-size: 1.25rem;
  }
  
  .author-box {
    padding: 1.5rem;
  }
  
  .author-box-content {
    flex-direction: column;
    text-align: center;
  }
  
  .author-box-image img {
    width: 80px;
    height: 80px;
  }
  
  .post-card {
    grid-template-columns: 1fr;
    grid-template-rows: 120px auto;
  }
  
  .post-card-image {
    height: 120px;
  }
}

/* ============================================
   PROMO BOX - Small Promotional Box
   ============================================ */

.promo-box {
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  border-radius: 1rem;
  padding: 1.5rem;
  margin: 2rem 0;
  text-align: center;
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.5);
    transform: scale(1.02);
  }
}

.promo-box-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: #ffffff;
  color: var(--accent-primary) !important;
  font-size: 1.125rem;
  font-weight: 700;
  padding: 0.875rem 2rem;
  border-radius: 3rem;
  text-decoration: none;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.promo-box-btn:hover {
  transform: translateX(5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  background: #f8f8f8;
}

.promo-box-btn svg {
  transition: transform 0.3s ease;
}

.promo-box-btn:hover svg {
  transform: translateX(5px);
  animation: arrow-bounce 0.6s ease-in-out infinite;
}

@keyframes arrow-bounce {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(8px);
  }
}

/* ============================================
   TABLE OF CONTENTS - Dropdown Component
   ============================================ */

.toc-container {
  background: var(--bg-secondary);
  border: 2px solid var(--border-color);
  border-radius: 1rem;
  margin: 2rem 0;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.toc-container:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 6px 16px rgba(139, 92, 246, 0.15);
}

.toc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  user-select: none;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.toc-header:hover {
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
}

.toc-header:hover .toc-title {
  color: #ffffff;
}

.toc-header:hover svg {
  stroke: #ffffff;
}

.toc-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.toc-title svg {
  transition: stroke 0.3s ease;
}

.toc-arrow {
  transition: transform 0.3s ease, stroke 0.3s ease;
}

.toc-container.open .toc-arrow {
  transform: rotate(180deg);
}

.toc-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 1.5rem;
}

.toc-container.open .toc-content {
  max-height: 1000px;
  padding: 1.5rem 1.5rem 1.5rem 1.5rem;
}

/* Style the auto-generated TOC */
.toc-content nav {
  display: block;
}

.toc-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-content > nav > ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toc-content ul ul {
  padding-left: 1.5rem;
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.toc-content a {
  display: block;
  color: var(--text-primary);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  position: relative;
  padding-left: 2rem;
}

.toc-content a::before {
  content: "→";
  position: absolute;
  left: 0.5rem;
  opacity: 0;
  transition: all 0.2s ease;
  color: var(--accent-primary);
}

.toc-content a:hover {
  background: var(--bg-primary);
  color: var(--accent-primary);
  transform: translateX(5px);
}

.toc-content a:hover::before {
  opacity: 1;
  left: 0.75rem;
}

.toc-content a.active {
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  color: #ffffff;
  font-weight: 600;
}

.toc-content a.active::before {
  content: "•";
  opacity: 1;
  color: #ffffff;
  left: 0.75rem;
}

/* Nested list styling */
.toc-content ul ul a {
  font-size: 0.95rem;
  opacity: 0.9;
}

.toc-content ul ul ul a {
  font-size: 0.9rem;
  opacity: 0.85;
}

/* ============================================
   PRODUCT BOX - Affiliate Marketing Component
   ============================================ */

.product-box {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border: 2px solid var(--border-color);
  border-radius: 1.5rem;
  padding: 2rem;
  margin: 2.5rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Product Header */
.product-box-header {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
  align-items: start;
}

.product-box-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background: white;
  border-radius: 1rem;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.product-box-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0.5rem;
}

.product-box-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.4rem 0.8rem;
  border-radius: 2rem;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}

.product-box-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-box-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.3;
}

/* Rating Stars */
.product-box-rating {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.stars {
  display: flex;
  gap: 0.25rem;
}

.star {
  font-size: 1.5rem;
  line-height: 1;
}

.star.filled {
  color: #ffa500;
}

.star.half {
  color: #ffa500;
  opacity: 0.5;
}

.star.empty {
  color: var(--text-muted);
  opacity: 0.3;
}

.rating-number {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Pricing */
.product-box-price {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.old-price {
  font-size: 1.25rem;
  color: var(--text-muted);
  text-decoration: line-through;
  opacity: 0.7;
}

.current-price {
  font-size: 2.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Pros and Cons Section */
.product-box-pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--bg-primary);
  border-radius: 1rem;
  border: 1px solid var(--border-color);
}

.pros-section h4,
.cons-section h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pros-section h4 {
  color: #10b981;
}

.pros-section h4 .icon {
  background: #10b981;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.cons-section h4 {
  color: #ef4444;
}

.cons-section h4 .icon {
  background: #ef4444;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.pros-section ul,
.cons-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pros-section li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-primary);
  line-height: 1.6;
}

.pros-section li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: 700;
}

.cons-section li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-primary);
  line-height: 1.6;
}

.cons-section li::before {
  content: "✗";
  position: absolute;
  left: 0;
  color: #ef4444;
  font-weight: 700;
}

/* CTA Section */
.product-box-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.product-box-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  color: #ffffff !important;
  font-size: 1.125rem;
  font-weight: 700;
  padding: 1rem 2.5rem;
  border-radius: 3rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: 100%;
  max-width: 450px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.product-box-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
  background: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent-primary) 100%);
}

.product-box-btn svg {
  transition: transform 0.3s ease;
}

.product-box-btn:hover svg {
  transform: translateX(4px);
}

.product-box-disclaimer {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
  margin: 0;
  font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
  .product-box {
    padding: 1.5rem;
    margin: 2rem 0;
  }

  .product-box-header {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }

  .product-box-image {
    width: 120px;
    margin: 0 auto;
  }

  .product-box-title {
    font-size: 1.5rem;
  }

  .product-box-rating {
    justify-content: center;
  }

  .product-box-price {
    justify-content: center;
  }

  .current-price {
    font-size: 2rem;
  }

  .product-box-pros-cons {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.25rem;
  }

  .product-box-btn {
    font-size: 1rem;
    padding: 0.875rem 1.75rem;
    width: 100%;
  }
  
  .promo-box {
    padding: 1rem;
    margin: 1.5rem 0;
  }
  
  .promo-box-btn {
    font-size: 0.9rem;
    padding: 0.625rem 1.25rem;
    width: 100%;
  }
  
  .toc-container {
    margin: 1.5rem 0;
  }
  
  .toc-header {
    padding: 1rem 1.25rem;
  }
  
  .toc-title {
    font-size: 1rem;
  }
  
  .toc-content a {
    font-size: 0.9rem;
    padding: 0.4rem 0.5rem;
  }
  
  .toc-content ul ul {
    padding-left: 1rem;
  }
}
