/* Mobile-First Article Styles - Orgone Motor Blog */
:root {
  --primary-yellow: #FFD700;
  --accent-yellow: #FFC107;
  --bright-orange: #FF6B35;
  --neon-green: #39FF14;
  --bg-translucent: rgba(255, 255, 255, 0.95);
  --bg-glass: rgba(255, 255, 255, 0.9);
  --text-dark: #1a1a2e;
  --text-medium: #4a4a5a;
  --gradient-primary: linear-gradient(135deg, #FFD700 0%, #FF6B35 100%);
  --gradient-hero: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 30px rgba(255, 215, 0, 0.25);
  --min-tap: 48px;
  --safe-area-inset-bottom: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(180deg, #f8f9ff 0%, #fff5e6 50%, #f0f8ff 100%);
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 215, 0, 0.05) 0%, transparent 40%);
  pointer-events: none;
  z-index: -1;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: break-word;
}

h1 { font-size: clamp(1.5rem, 5vw, 2.5rem); }
h2 { font-size: clamp(1.35rem, 4vw, 2rem); margin: 36px 0 18px; }
h3 { font-size: clamp(1.15rem, 3.5vw, 1.5rem); margin: 28px 0 14px; }
h4 { font-size: clamp(1.05rem, 3vw, 1.25rem); margin: 20px 0 10px; }

p { max-width: 65ch; margin-bottom: 18px; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid var(--primary-yellow); outline-offset: 2px; }

.container { max-width: 720px; margin: 0 auto; padding: 0 16px; }
.wide-container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

.skip-link {
  position: absolute; top: -100%; left: 16px;
  background: var(--primary-yellow); color: #000;
  padding: 12px 24px; border-radius: 8px; font-weight: 700; z-index: 9999;
}
.skip-link:focus { top: 16px; }

/* Navigation */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 12px 0; background: var(--bg-glass);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 215, 0, 0.15);
}
.navbar.scrolled { padding: 8px 0; box-shadow: 0 2px 20px rgba(0,0,0,0.08); }

.nav-container {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 16px; max-width: 1200px; margin: 0 auto;
}

.logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.25rem, 4vw, 1.8rem); font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.nav-links { display: none; list-style: none; }
.nav-links a { color: var(--text-dark); font-weight: 500; padding: 12px 16px; min-height: var(--min-tap); display: flex; align-items: center; }
.nav-cta { display: none; }

.mobile-toggle {
  display: flex; flex-direction: column; justify-content: center;
  width: var(--min-tap); height: var(--min-tap);
  cursor: pointer; background: none; border: none; gap: 5px; border-radius: 8px;
}
.mobile-toggle span { width: 24px; height: 2px; background: var(--text-dark); border-radius: 2px; }

.mobile-menu {
  display: none; position: fixed; top: 60px; left: 0; right: 0; bottom: 0;
  background: var(--bg-translucent); backdrop-filter: blur(20px); z-index: 999; padding: 24px 16px;
  overflow-y: auto;
}
.mobile-menu.active { display: block; }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.mobile-menu a { display: flex; align-items: center; padding: 16px 20px; min-height: var(--min-tap); font-size: 1.1rem; font-weight: 500; border-radius: 12px; }
.mobile-menu a:hover { background: rgba(255, 215, 0, 0.1); }
.mobile-menu .menu-cta { margin-top: 24px; }

.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--primary-yellow); color: #000; padding: 16px 24px;
  min-height: var(--min-tap); border-radius: 50px; font-weight: 700; font-size: 1rem;
  border: none; cursor: pointer; box-shadow: 0 4px 15px rgba(255, 215, 0, 0.35);
  transition: transform 0.2s, background 0.2s;
}
.btn-primary:hover { background: var(--accent-yellow); transform: translateY(-2px); }

/* Article Header */
.article-header {
  padding: 100px 0 40px;
  background: var(--gradient-hero);
  color: #fff; text-align: center;
}

.article-category {
  display: inline-block;
  background: var(--primary-yellow); color: #000;
  padding: 6px 14px; border-radius: 20px;
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; margin-bottom: 16px;
}

.article-header h1 { color: #fff; margin-bottom: 16px; padding: 0 8px; }

.article-meta {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  opacity: 0.9;
}
.article-meta img { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--primary-yellow); }
.article-meta a { color: var(--primary-yellow); font-weight: 600; }

/* Article Content */
.article-content { padding: 40px 0 60px; }
.article-content p { color: var(--text-medium); font-size: clamp(1rem, 2.5vw, 1.05rem); }
.article-content ul, .article-content ol { margin: 18px 0 18px 20px; color: var(--text-medium); }
.article-content li { margin-bottom: 10px; line-height: 1.65; }
.article-content a { color: var(--bright-orange); font-weight: 500; }
.article-content a:hover { text-decoration: underline; }

/* Table of Contents */
.toc {
  background: var(--bg-translucent);
  border-radius: 16px; padding: 24px 20px;
  margin: 32px 0; border-left: 4px solid var(--primary-yellow);
  box-shadow: var(--shadow-soft);
}
.toc h4 { margin-top: 0; font-size: 1.1rem; }
.toc ul { list-style: none; margin: 14px 0 0 0; }
.toc li { margin-bottom: 8px; }
.toc a { color: var(--text-medium); font-size: 0.9rem; padding: 8px 0; display: block; min-height: var(--min-tap); display: flex; align-items: center; }
.toc a:hover { color: var(--bright-orange); }

/* Highlight Box */
.highlight-box {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.12) 0%, rgba(255, 107, 53, 0.08) 100%);
  border-radius: 16px; padding: 24px 20px; margin: 28px 0;
  border: 1px solid rgba(255, 215, 0, 0.25);
}
.highlight-box h4 { color: var(--bright-orange); margin-top: 0; font-size: 1rem; }

/* CTA Box */
.cta-box {
  background: var(--gradient-hero);
  border-radius: 20px; padding: 36px 20px; margin: 36px 0;
  text-align: center; color: #fff;
}
.cta-box h3 { color: #fff; margin-bottom: 12px; font-size: clamp(1.25rem, 4vw, 1.5rem); }
.cta-box p { opacity: 0.9; margin-bottom: 20px; }
.cta-box .btn-primary { padding: 16px 28px; }

/* Rating Box */
.rating-box {
  background: var(--bg-translucent);
  border-radius: 16px; padding: 28px 20px; margin: 32px 0;
  box-shadow: var(--shadow-soft);
  text-align: center;
}
.rating-stars { font-size: 2rem; margin-bottom: 10px; }
.rating-score { font-size: 2.5rem; font-weight: 800; color: var(--bright-orange); font-family: 'Playfair Display', Georgia, serif; }
.rating-label { color: var(--text-medium); font-size: 0.9rem; }

/* Pros Cons */
.pros-cons { display: flex; flex-direction: column; gap: 20px; margin: 28px 0; }
.pros, .cons {
  background: var(--bg-translucent);
  border-radius: 14px; padding: 24px 20px;
  box-shadow: var(--shadow-soft);
}
.pros { border-top: 4px solid var(--neon-green); }
.cons { border-top: 4px solid var(--bright-orange); }
.pros h4 { color: var(--neon-green); margin-top: 0; }
.cons h4 { color: var(--bright-orange); margin-top: 0; }
.pros ul, .cons ul { list-style: none; margin: 0; }
.pros li, .cons li { padding-left: 24px; position: relative; margin-bottom: 10px; line-height: 1.6; }
.pros li::before { content: '✓'; position: absolute; left: 0; color: var(--neon-green); font-weight: bold; }
.cons li::before { content: '✗'; position: absolute; left: 0; color: var(--bright-orange); font-weight: bold; }

/* Author Box */
.author-box {
  background: var(--bg-translucent);
  border-radius: 20px; padding: 24px 20px;
  margin: 48px 0; display: flex; flex-direction: column;
  align-items: center; text-align: center; gap: 16px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 215, 0, 0.15);
}
.author-box img { width: 80px; height: 80px; border-radius: 50%; border: 3px solid var(--primary-yellow); }
.author-box h4 { margin: 0 0 6px; font-size: 1.1rem; }
.author-box h4 a { color: var(--text-dark); }
.author-box h4 a:hover { color: var(--bright-orange); }
.author-box p { color: var(--text-medium); margin: 0; font-size: 0.9rem; line-height: 1.6; }

/* Related Articles */
.related-articles { padding: 48px 0; background: var(--bg-translucent); }
.related-articles h2 { text-align: center; margin-bottom: 24px; font-size: clamp(1.35rem, 4vw, 1.75rem); }
.related-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 24px; }
.related-card {
  background: #fff; border-radius: 14px; padding: 20px;
  box-shadow: var(--shadow-soft);
}
.related-card h4 { margin: 0 0 8px; font-size: 1rem; }
.related-card h4 a { color: var(--text-dark); }
.related-card h4 a:hover { color: var(--bright-orange); }
.related-card p { color: var(--text-medium); font-size: 0.85rem; margin: 0; line-height: 1.5; }

/* Comparison Table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  background: var(--bg-translucent);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  font-size: 0.9rem;
}
.comparison-table th, .comparison-table td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.comparison-table th {
  background: var(--gradient-hero);
  color: #fff;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  font-size: 0.85rem;
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table td:first-child { font-weight: 600; color: var(--text-dark); }

/* Testimonial */
.testimonial-card {
  background: var(--bg-translucent);
  border-radius: 16px; padding: 24px 20px;
  margin: 20px 0;
  box-shadow: var(--shadow-soft);
  border-left: 4px solid var(--primary-yellow);
}
.testimonial-card p { font-style: italic; margin-bottom: 10px; }
.testimonial-author { font-weight: 600; color: var(--text-dark); font-style: normal; }
.testimonial-stars { color: var(--primary-yellow); margin-bottom: 10px; }

/* Verdict Box */
.verdict-box {
  background: var(--bg-translucent);
  border-radius: 16px; padding: 24px 20px; margin: 32px 0;
  box-shadow: var(--shadow-soft);
  border: 2px solid var(--primary-yellow);
}
.verdict-box h4 { color: var(--bright-orange); margin-top: 0; }
.verdict-box ul { margin: 12px 0 0 20px; }
.verdict-box li { margin-bottom: 8px; }

/* Ranking Card */
.ranking-card {
  background: var(--bg-translucent);
  border-radius: 20px; padding: 24px 20px;
  margin: 28px 0;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 215, 0, 0.15);
  position: relative;
}
.ranking-badge {
  position: absolute;
  top: -12px; left: 20px;
  background: var(--gradient-primary);
  color: #000;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; font-weight: 800;
  font-family: 'Playfair Display', Georgia, serif;
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.35);
}
.ranking-card h3 { margin-top: 12px; font-size: 1.15rem; }
.ranking-meta {
  display: flex; flex-wrap: wrap; gap: 16px;
  margin: 14px 0; padding: 14px 0;
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.ranking-meta-item { display: flex; flex-direction: column; }
.ranking-meta-label { font-size: 0.7rem; color: var(--text-medium); text-transform: uppercase; }
.ranking-meta-value { font-weight: 700; color: var(--bright-orange); font-size: 0.9rem; }
.ranking-card.top-pick { border: 2px solid var(--primary-yellow); }
.top-pick-badge {
  position: absolute;
  top: -12px; right: 20px;
  background: var(--neon-green);
  color: #000;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* Step Card */
.step-card {
  background: var(--bg-translucent);
  border-radius: 16px; padding: 24px 20px;
  margin: 20px 0;
  box-shadow: var(--shadow-soft);
  border-left: 4px solid var(--primary-yellow);
  position: relative;
  padding-top: 56px;
}
.step-number {
  position: absolute;
  left: 20px; top: 16px;
  width: 36px; height: 36px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 800;
  font-family: 'Playfair Display', Georgia, serif;
  color: #000;
}
.step-card h4 { margin-top: 0; font-size: 1rem; }

/* Checklist */
.checklist {
  background: var(--bg-translucent);
  border-radius: 16px; padding: 24px 20px;
  margin: 28px 0;
  box-shadow: var(--shadow-soft);
}
.checklist h4 { margin-top: 0; color: var(--bright-orange); }
.checklist ul { list-style: none; margin: 16px 0 0 0; }
.checklist li {
  padding: 10px 0; border-bottom: 1px solid rgba(0,0,0,0.04);
  display: flex; align-items: center; gap: 10px;
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before { content: '☐'; color: var(--primary-yellow); font-size: 1.1rem; }

/* Warning Box */
.warning-box {
  background: rgba(255, 107, 53, 0.08);
  border-radius: 16px; padding: 24px 20px; margin: 28px 0;
  border: 1px solid rgba(255, 107, 53, 0.2);
}
.warning-box h4 { color: var(--bright-orange); margin-top: 0; }

/* Footer */
.footer {
  background: var(--gradient-hero);
  padding: 48px 0 calc(32px + var(--safe-area-inset-bottom)); color: #fff;
}
.footer-links {
  display: flex; flex-direction: column; align-items: center;
  gap: 16px; margin-bottom: 28px;
}
.footer-links a {
  color: #fff; opacity: 0.8; padding: 10px;
  min-height: var(--min-tap); display: flex; align-items: center;
}
.footer-links a:hover { opacity: 1; color: var(--primary-yellow); }
.footer-copyright { text-align: center; opacity: 0.6; font-size: 0.9rem; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* Tablet */
@media (min-width: 600px) {
  .container { padding: 0 24px; }
  .wide-container { padding: 0 24px; }
  .article-header { padding: 120px 0 48px; }
  .article-meta { flex-direction: row; }
  .pros-cons { flex-direction: row; }
  .pros-cons > * { flex: 1; }
  .author-box { flex-direction: row; text-align: left; padding: 28px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-links { flex-direction: row; gap: 32px; }
}

/* Desktop */
@media (min-width: 992px) {
  .nav-links { display: flex; gap: 24px; }
  .nav-cta { display: block; }
  .mobile-toggle { display: none; }
  .mobile-menu { display: none !important; }
  .article-header { padding: 140px 0 60px; }
  .article-content { padding: 60px 0 80px; }
  .toc { padding: 32px; }
  .cta-box { padding: 48px; border-radius: 24px; }
  .author-box { padding: 32px; gap: 24px; }
  .author-box img { width: 100px; height: 100px; }
  .related-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .step-card { padding-left: 80px; padding-top: 24px; }
  .step-number { left: 24px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; }
}

