/* Modern European-American Design System */
:root {
  /* Modern Color Palette */
  --color-primary: #2563eb;
  --color-primary-light: #3b82f6;
  --color-primary-dark: #1d4ed8;
  --color-secondary: #f59e0b;
  --color-accent: #10b981;
  --color-warning: #f97316;
  --color-error: #ef4444;
  
  /* Neutral Colors */
  --color-gray-50: #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-300: #d1d5db;
  --color-gray-400: #9ca3af;
  --color-gray-500: #6b7280;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-gray-800: #1f2937;
  --color-gray-900: #111827;
  
  /* Background Colors */
  --color-bg-primary: #ffffff;
  --color-bg-secondary: #f8fafc;
  --color-bg-tertiary: #f1f5f9;
  --color-bg-dark: #0f172a;
  
  /* Text Colors */
  --color-text-primary: #1e293b;
  --color-text-secondary: #475569;
  --color-text-tertiary: #64748b;
  --color-text-inverse: #ffffff;
  
  /* Border Colors */
  --color-border-light: #e2e8f0;
  --color-border-medium: #cbd5e1;
  --color-border-dark: #94a3b8;
  
  /* Shadow System */
  --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
  
  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  
  /* Typography */
  --font-family-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-family-serif: 'Noto Serif SC', Georgia, Cambria, 'Times New Roman', Times, serif;
  --font-family-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
  
  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  
  /* Line Heights */
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 2;
  
  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-normal: 250ms ease-in-out;
  --transition-slow: 350ms ease-in-out;
  
  /* Z-Index */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
}

/* Reset and Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-family-sans);
  line-height: var(--leading-relaxed);
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-serif);
  font-weight: 600;
  line-height: var(--leading-tight);
  color: var(--color-text-primary);
  margin-bottom: var(--space-4);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p {
  margin-bottom: var(--space-4);
  color: var(--color-text-secondary);
}

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

a:hover {
  color: var(--color-primary-dark);
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

/* Header */
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border-light);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  transition: all var(--transition-normal);
}

header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4) 0;
}

.logo {
  font-family: var(--font-family-serif);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.logo:hover {
  color: var(--color-primary-dark);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: var(--space-8);
  align-items: center;
}

.nav-links a {
  color: var(--color-text-primary);
  font-weight: 500;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: all var(--transition-fast);
  transform: translateX(-50%);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-primary);
  background: var(--color-gray-50);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: var(--space-2);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.mobile-menu:hover {
  background: var(--color-gray-100);
}

.mobile-menu span {
  width: 24px;
  height: 2px;
  background: var(--color-text-primary);
  margin: 3px 0;
  transition: all var(--transition-fast);
  border-radius: 1px;
}

.mobile-menu.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu.open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu.open span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Navigation */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: var(--z-modal-backdrop);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-links {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100%;
  background: var(--color-bg-primary);
  box-shadow: var(--shadow-xl);
  padding-top: 80px;
  display: flex;
  flex-direction: column;
  list-style: none;
  transition: right var(--transition-normal);
  z-index: var(--z-modal);
}

.mobile-nav-links.open {
  right: 0;
}

.mobile-nav-links li a {
  display: block;
  padding: var(--space-4) var(--space-6);
  color: var(--color-text-primary);
  font-weight: 500;
  border-bottom: 1px solid var(--color-border-light);
  transition: all var(--transition-fast);
}

.mobile-nav-links li:last-child a {
  border-bottom: none;
}

.mobile-nav-links li a:hover {
  background: var(--color-gray-50);
  color: var(--color-primary);
  padding-left: var(--space-8);
}

/* Main Content */
main {
  margin-top: 80px;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-text-inverse);
  padding: var(--space-24) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="hero-pattern" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="1.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23hero-pattern)"/></svg>');
  opacity: 0.3;
}

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

.hero h1 {
  font-size: var(--text-6xl);
  font-weight: 700;
  margin-bottom: var(--space-6);
  line-height: var(--leading-tight);
  color: var(--color-text-inverse);
}

.hero p {
  font-size: var(--text-xl);
  margin-bottom: var(--space-8);
  opacity: 0.9;
  line-height: var(--leading-relaxed);
  color: var(--color-text-inverse);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-lg);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-normal);
  border: 2px solid transparent;
  cursor: pointer;
  font-size: var(--text-base);
  line-height: 1;
}

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

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

.btn-secondary {
  background: transparent;
  color: var(--color-text-inverse);
  border-color: var(--color-text-inverse);
}

.btn-secondary:hover {
  background: var(--color-text-inverse);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Sections */
.section {
  padding: var(--space-20) 0;
}

.section-alt {
  background: var(--color-bg-secondary);
}

.section-title {
  text-align: center;
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-4);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -var(--space-4);
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--color-primary);
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-secondary);
  font-size: var(--text-lg);
  margin-bottom: var(--space-12);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--space-6);
}

.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

/* Cards */
.card {
  background: var(--color-bg-primary);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  border: 1px solid var(--color-border-light);
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

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

.card-header {
  padding: var(--space-6);
  border-bottom: 1px solid var(--color-border-light);
  background: var(--color-bg-secondary);
}

.card-body {
  padding: var(--space-6);
}

.card-title {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-2);
}

.card-text {
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

/* Video Cards */
.video-card {
  background: var(--color-bg-primary);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  border: 1px solid var(--color-border-light);
}

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

.video-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: var(--color-bg-secondary);
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-info {
  padding: var(--space-6);
}

.video-title {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-2);
  text-decoration: none;
}

.video-title:hover {
  color: var(--color-primary);
}

.video-description {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}

/* Exercise Cards */
.exercise-card {
  background: var(--color-bg-primary);
  color: var(--color-text-primary);
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  border: 2px solid var(--color-border-light);
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-md);
}

.exercise-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="exercise-pattern" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23exercise-pattern)"/></svg>');
  opacity: 0.2;
}

.exercise-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-2xl);
}

.exercise-number {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: var(--space-4);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.exercise-title {
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.exercise-description {
  opacity: 0.95;
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

.exercise-details {
  background: var(--color-bg-secondary);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  margin-top: var(--space-4);
  border: 1px solid var(--color-border-light);
}

.exercise-details h4 {
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--color-primary);
}

.exercise-details p {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

/* Footer */
footer {
  background: var(--color-bg-dark);
  color: var(--color-text-inverse);
  padding: var(--space-16) 0 var(--space-8);
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

.footer-section h3 {
  color: var(--color-secondary);
  margin-bottom: var(--space-4);
  font-size: var(--text-lg);
  font-weight: 600;
}

.footer-section p,
.footer-section ul {
  color: var(--color-gray-400);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  list-style: none;
}

.footer-section ul li {
  margin-bottom: var(--space-2);
  position: relative;
  padding-left: var(--space-4);
}

.footer-section ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-secondary);
}

.footer-section ul li a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-section ul li a:hover {
  color: var(--color-secondary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-6);
  text-align: center;
  color: var(--color-gray-400);
  font-size: var(--text-sm);
}

.footer-bottom a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-bottom a:hover {
  color: var(--color-secondary);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: var(--space-1); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-5 { margin-bottom: var(--space-5); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-10 { margin-bottom: var(--space-10); }
.mb-12 { margin-bottom: var(--space-12); }

.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-10 { margin-top: var(--space-10); }
.mt-12 { margin-top: var(--space-12); }

.p-1 { padding: var(--space-1); }
.p-2 { padding: var(--space-2); }
.p-3 { padding: var(--space-3); }
.p-4 { padding: var(--space-4); }
.p-5 { padding: var(--space-5); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out;
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.animate-slide-in-left {
  animation: slideInLeft 0.6s ease-out;
}

.animate-slide-in-right {
  animation: slideInRight 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .container {
    padding: 0 var(--space-6);
  }
  
  .hero h1 {
    font-size: var(--text-5xl);
  }
  
  .section-title {
    font-size: var(--text-3xl);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu {
    display: flex;
  }

  .hero {
    padding: var(--space-16) 0;
  }

  .hero h1 {
    font-size: var(--text-4xl);
  }

  .hero p {
    font-size: var(--text-lg);
  }

  .section {
    padding: var(--space-12) 0;
  }

  .section-title {
    font-size: var(--text-2xl);
  }

  .grid-cols-2,
  .grid-cols-3,
  .grid-cols-4 {
    grid-template-columns: 1fr;
  }

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

  .category-filters {
    gap: var(--space-2);
  }

  .filter-btn {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
  }

  .container {
    padding: 0 var(--space-4);
  }
}

@media (max-width: 480px) {
  .hero {
    padding: var(--space-12) 0;
  }

  .hero h1 {
    font-size: var(--text-3xl);
  }

  .hero p {
    font-size: var(--text-base);
  }

  .section {
    padding: var(--space-8) 0;
  }

  .section-title {
    font-size: var(--text-xl);
  }

  .article-content {
    padding: var(--space-4);
  }

  .btn {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
  }
}

/* Article Page Specific Styles */
.article-page {
  background: var(--color-bg-primary);
  padding-top: 80px;
  min-height: calc(100vh - 140px);
}

.article-header {
  background: var(--color-bg-secondary);
  padding: var(--space-16) 0 var(--space-8);
  text-align: center;
  border-bottom: 1px solid var(--color-border-light);
}

.article-header h1 {
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-4);
  line-height: var(--leading-tight);
}

.article-info {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  margin-bottom: var(--space-6);
}

.article-info span {
  margin: 0 var(--space-2);
}

.article-info a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.article-info a:hover {
  text-decoration: underline;
  color: var(--color-primary-dark);
}

.article-image {
  width: 100%;
  max-height: 450px;
  object-fit: cover;
  margin-bottom: var(--space-8);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.article-body {
  padding: var(--space-12) 0;
}

.article-body p {
  margin-bottom: var(--space-5);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-text-primary);
}

.article-body h2 {
  font-size: var(--text-3xl);
  font-weight: 600;
  color: var(--color-text-primary);
  margin-top: var(--space-10);
  margin-bottom: var(--space-6);
  border-left: 4px solid var(--color-primary);
  padding-left: var(--space-4);
  line-height: var(--leading-tight);
}

.article-body h3 {
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--color-text-primary);
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border-light);
  padding-bottom: var(--space-2);
}

.article-body ul, .article-body ol {
  margin-bottom: var(--space-5);
  padding-left: var(--space-8);
  color: var(--color-text-primary);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
}

.article-body ul li {
  list-style: disc;
  margin-bottom: var(--space-2);
}

.article-body ol li {
  list-style: decimal;
  margin-bottom: var(--space-2);
}

.article-body strong {
  font-weight: 700;
  color: var(--color-text-primary);
}

.article-body em {
  font-style: italic;
  color: var(--color-text-secondary);
}

blockquote {
  border-left: 4px solid var(--color-primary);
  padding: var(--space-4) var(--space-6);
  margin: var(--space-8) 0;
  background: var(--color-bg-secondary);
  color: var(--color-text-secondary);
  font-style: italic;
  border-radius: var(--radius-md);
}

/* Related articles section */
.related-articles {
  padding: var(--space-16) 0;
  background: var(--color-bg-secondary);
}

/* News page specific styles */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.article-card {
  background: var(--color-bg-primary);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--color-border-light);
  position: relative;
}

.article-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

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

.article-image {
  height: 200px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-inverse);
  font-size: var(--text-5xl);
  font-weight: 700;
  position: relative;
  overflow: hidden;
}

.article-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain3" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain3)"/></svg>');
  opacity: 0.2;
}

.article-content {
  padding: var(--space-6);
}

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-4);
  font-size: var(--text-sm);
}

.article-category {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-family: var(--font-family-serif);
}

.article-date {
  color: var(--color-text-tertiary);
  font-family: var(--font-family-serif);
}

.article-title {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-3);
  line-height: var(--leading-tight);
  font-family: var(--font-family-serif);
}

.article-excerpt {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
  font-family: var(--font-family-serif);
}

.read-more {
  color: var(--color-primary);
  font-weight: 500;
  text-decoration: none;
  font-size: var(--text-sm);
  transition: color var(--transition-fast);
  font-family: var(--font-family-serif);
}

.read-more:hover {
  color: var(--color-primary-dark);
}

/* Category Filters */
.category-filters {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
}

.filter-btn {
  padding: var(--space-3) var(--space-5);
  border: 2px solid var(--color-border-light);
  background: var(--color-bg-primary);
  color: var(--color-text-secondary);
  border-radius: var(--radius-lg);
  text-decoration: none;
  font-weight: 500;
  transition: all var(--transition-normal);
  font-family: var(--font-family-serif);
  position: relative;
  overflow: hidden;
}

.filter-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(196, 30, 58, 0.1), transparent);
  transition: left 0.5s;
}

.filter-btn:hover::before {
  left: 100%;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-bg-secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.related-articles .section-title {
  margin-bottom: var(--space-8);
}

.related-articles .grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-8);
}

/* Article cards for related section */
.related-articles .card .card-body {
  padding: var(--space-4);
}

.related-articles .card-title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}

.related-articles .card-text {
  font-size: var(--text-sm);
  margin-bottom: var(--space-3);
}

.read-more {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: var(--text-sm);
  display: inline-flex;
  align-items: center;
  transition: color var(--transition-fast);
}

.read-more:hover {
  text-decoration: underline;
  color: var(--color-primary-dark);
}

.read-more svg {
  margin-left: var(--space-1);
  width: 14px;
  height: 14px;
}

/* Feature List Styles */
.feature-list {
  margin-top: var(--space-6);
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.feature-icon {
  font-size: var(--text-2xl);
  flex-shrink: 0;
}

.feature-item h4 {
  margin-bottom: var(--space-1);
  color: var(--color-text-primary);
}

.feature-item p {
  color: var(--color-text-secondary);
  margin-bottom: 0;
}

/* Intro Image */
.intro-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-placeholder {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-inverse);
  font-size: var(--text-lg);
  font-weight: 500;
}

/* Benefits Details */
.benefits-details {
  margin-top: var(--space-12);
}

.benefits-details h3 {
  text-align: center;
  margin-bottom: var(--space-8);
  color: var(--color-text-primary);
}

.benefit-category {
  background: var(--color-bg-primary);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
}

.benefit-category h4 {
  color: var(--color-primary);
  margin-bottom: var(--space-3);
  font-size: var(--text-lg);
}

.benefit-category ul {
  list-style: none;
  padding: 0;
}

.benefit-category li {
  padding: var(--space-1) 0;
  color: var(--color-text-secondary);
  position: relative;
  padding-left: var(--space-4);
}

.benefit-category li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: bold;
}

/* FAQ Styles */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-4);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  background: var(--color-bg-secondary);
  padding: var(--space-6);
  margin: 0;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  color: var(--color-text-primary);
}

.faq-question:hover {
  background: var(--color-gray-50);
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: var(--space-6);
  top: 50%;
  transform: translateY(-50%);
  font-size: var(--text-xl);
  color: var(--color-primary);
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-question::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
  padding: 0 var(--space-6);
  max-height: 0;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.faq-item.active .faq-answer {
  padding: var(--space-6);
  max-height: 1000px;
}

.faq-answer p {
  margin-bottom: var(--space-4);
  color: var(--color-text-secondary);
}

.faq-answer ul {
  margin-bottom: var(--space-4);
  padding-left: var(--space-6);
}

.faq-answer li {
  margin-bottom: var(--space-2);
  color: var(--color-text-secondary);
}

/* CTA Section */
.cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  margin-bottom: var(--space-4);
  color: var(--color-text-primary);
}

.cta-content p {
  margin-bottom: var(--space-8);
  color: var(--color-text-secondary);
  font-size: var(--text-lg);
}

.cta-buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* Testimonials */
.testimonial-card {
  background: var(--color-bg-primary);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

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

.testimonial-content {
  margin-bottom: var(--space-4);
}

.testimonial-content p {
  font-style: italic;
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: 0;
}

.testimonial-author {
  border-top: 1px solid var(--color-border-light);
  padding-top: var(--space-4);
}

.author-name {
  display: block;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-1);
}

.author-info {
  color: var(--color-text-tertiary);
  font-size: var(--text-sm);
}

/* 404 Error Page Styles */
.error-content {
  max-width: 600px;
  margin: 0 auto;
  padding: var(--space-16) 0;
}

.error-content h1 {
  font-size: var(--text-6xl);
  color: var(--color-error);
  margin-bottom: var(--space-6);
}

.error-content p {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-4);
}

.error-navigation {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  margin: var(--space-8) 0;
  flex-wrap: wrap;
}

.error-suggestions {
  margin-top: var(--space-8);
  padding: var(--space-6);
  background: var(--color-bg-secondary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
}

.error-suggestions h3 {
  color: var(--color-text-primary);
  margin-bottom: var(--space-4);
  text-align: center;
}

.error-suggestions ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-3);
}

.error-suggestions li a {
  display: block;
  padding: var(--space-3);
  background: var(--color-bg-primary);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--color-text-secondary);
  transition: all var(--transition-fast);
  border: 1px solid var(--color-border-light);
}

.error-suggestions li a:hover {
  color: var(--color-primary);
  background: var(--color-gray-50);
  border-color: var(--color-primary);
}