/* ============================================
   meos.blog — 2026 Design System v2
   Dönüşüm Odaklı | Psikolojik Tetikleyiciler
   ============================================ */

:root {
  --bg-primary: #07070d;
  --bg-secondary: #0d0d1a;
  --bg-card: rgba(18, 18, 30, 0.85);
  --bg-card-hover: rgba(26, 26, 46, 0.95);
  --bg-glass: rgba(18, 18, 30, 0.6);
  
  --text-primary: #f0f0f5;
  --text-secondary: #8b8ba7;
  --text-tertiary: #5c5c7a;
  
  /* Renk Psikolojisi:
     Mor = Teknoloji, yaratıcılık, premium (ana marka)
     Pembe = Enerji, dikkat (CTA butonları) 
     Yeşil = Başarı, onay (olumlu geri bildirim) */
  --accent: #8B5CF6;
  --accent-light: #A78BFA;
  --cta: #FF6B9D;         /* CTA buton rengi — tüm sitede TEK bu renk */
  --cta-hover: #FF8CB4;
  --cta-text: #ffffff;
  --success: #00D4AA;
  --warning: #F59E0B;
  
  --accent-gradient: linear-gradient(135deg, #6C63FF, #FF6B9D);
  --accent-gradient-2: linear-gradient(135deg, #8B5CF6, #FF6B9D);
  
  --border: rgba(42, 42, 62, 0.6);
  --border-hover: rgba(139, 92, 246, 0.3);
  
  --font-display: 'Inter', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  --shadow-glow: 0 0 30px rgba(139, 92, 246, 0.12);
  --shadow-cta: 0 4px 25px rgba(255, 107, 157, 0.35);
  --shadow-cta-hover: 0 8px 35px rgba(255, 107, 157, 0.5);
  
  --content-width: 760px;
  --content-wide: 1200px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---- Noise Texture ---- */
body::before {
  content: '';
  position: fixed;
  inset: 0; z-index: 9999;
  pointer-events: none;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ============================================
   NAVBAR — Scroll-hide, sticky, glass
   ============================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 64px;
  background: rgba(7, 7, 13, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-hidden { transform: translateY(-100%); }

.nav-inner {
  max-width: var(--content-wide); margin: 0 auto;
  display: flex; align-items: center; height: 100%;
  gap: 12px; padding: 0 20px;
}

.nav-logo {
  font-size: 20px; font-weight: 800; color: var(--text-primary);
  text-decoration: none; display: flex; align-items: center; gap: 3px;
  margin-right: auto;
}
.nav-logo span { color: var(--accent); }
.nav-logo small { font-weight: 400; font-size: 10px; color: var(--text-tertiary); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  color: var(--text-secondary); text-decoration: none;
  font-size: 13px; font-weight: 500;
  padding: 6px 14px; border-radius: var(--radius-md);
  transition: all 0.2s;
}
.nav-links a:hover { color: var(--text-primary); background: rgba(139, 92, 246, 0.08); }

/* Canlı okuyucu sayısı — Sosyal Kanıt */
.nav-live {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: var(--success);
  background: rgba(0, 212, 170, 0.08);
  padding: 4px 12px; border-radius: var(--radius-full);
  border: 1px solid rgba(0, 212, 170, 0.15);
  margin-left: 12px;
}
.nav-live .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--success);
  animation: pulse-dot 2s ease-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ============================================
   HERO — Above the Fold (ilk 3sn karar)
   ============================================ */
.hero {
  padding: 140px 20px 60px;
  position: relative; overflow: hidden;
  min-height: 90vh;
  display: flex; align-items: center;
}

.hero-bg {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
}
.hero-bg::before {
  content: '';
  position: absolute; top: -30%; left: -10%;
  width: 70%; height: 100%;
  background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.08), transparent 70%);
}
.hero-bg::after {
  content: '';
  position: absolute; bottom: -20%; right: -10%;
  width: 50%; height: 70%;
  background: radial-gradient(ellipse at center, rgba(255, 107, 157, 0.04), transparent 70%);
}

.hero-inner { max-width: var(--content-wide); margin: 0 auto; position: relative; z-index: 1; }

/* Sosyal Kanıt — "X kişi okuyor" */
.hero-social-proof {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-radius: var(--radius-full);
  padding: 6px 16px 6px 6px;
  margin-bottom: 24px;
  font-size: 13px;
}
.hero-social-proof .avatars {
  display: flex; margin-right: 4px;
}
.hero-social-proof .avatars span {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--bg-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: #fff;
  margin-left: -6px;
}
.hero-social-proof .avatars span:first-child { margin-left: 0; }
.hero-social-proof strong { color: var(--text-primary); }
.hero-social-proof span { color: var(--text-secondary); }

/* Ana Başlık — 8 kelimeyi geçme */
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  max-width: 800px;
}
.hero h1 .gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 550px;
  margin-bottom: 32px;
}

/* CTA — Von Restorff etkisi: Tüm sayfada TEK bu renk buton */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius-md);
  font-size: 15px; font-weight: 600; text-decoration: none;
  cursor: pointer; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: none; font-family: inherit;
  position: relative;
}

.btn-cta {
  background: var(--cta);
  color: var(--cta-text);
  box-shadow: var(--shadow-cta);
  border-radius: 50px;
  /* Tüm sitede CTA rengi SADECE burada — Von Restorff etkisi */
}
.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-cta-hover);
}

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

/* ============================================
   AUTH / GİRİŞ — Newsletter stili
   ============================================ */

/* Google butonu — newsletter input gibi */
.google-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 14px; font-weight: 600;
  transition: all 0.2s ease;
  box-sizing: border-box;
  margin-bottom: 16px;
}
.google-btn:hover {
  border-color: var(--border-hover);
  background: var(--bg-card);
}

/* Sekmeler */
.auth-tabs {
  display: flex; gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-secondary);
  margin-bottom: 20px;
}
.auth-tab {
  flex: 1; padding: 10px 8px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 13px; font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
}
.auth-tab:hover {
  color: var(--text-primary);
  background: rgba(139, 92, 246, 0.05);
}
.auth-tab.active {
  background: rgba(139, 92, 246, 0.12);
  color: var(--accent-light);
  font-weight: 600;
}

/* Input alanları — newsletter input gibi */
.input-field {
  width: 100%; padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 14px; font-family: inherit; outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}
.input-field:hover {
  border-color: var(--border-hover);
}
.input-field:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}
.input-field::placeholder {
  color: var(--text-tertiary);
  opacity: 1;
}
.input-field:focus::placeholder {
  color: var(--text-secondary);
}

/* Login butonları da newsletter butonu gibi */
.hero-inner .btn-cta,
.hero-inner .btn-outline {
  border-radius: var(--radius-md) !important;
}



textarea.input-field {
  resize: vertical;
  min-height: 100px;
}

/* ============================================
   BENTO GRID — Kategoriler
   ============================================ */
.section {
  padding: 80px 20px;
}
.section-inner { max-width: var(--content-wide); margin: 0 auto; }

.section-header { margin-bottom: 32px; }

.section-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; color: var(--accent);
  text-transform: uppercase; letter-spacing: 2px;
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700; letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer; text-decoration: none; color: inherit;
  display: block; position: relative; overflow: hidden;
}

.bento-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, var(--accent), transparent);
  opacity: 0; transition: opacity 0.4s; z-index: 0;
}
.bento-card:hover { border-color: var(--border-hover); transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.bento-card:hover::before { opacity: 0.06; }
.bento-card > * { position: relative; z-index: 1; }

.bento-card .icon {
  width: 42px; height: 42px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; margin-bottom: 16px;
}
.bento-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.bento-card p { font-size: 12px; color: var(--text-tertiary); line-height: 1.5; }
.bento-card .count { font-size: 11px; color: var(--text-tertiary); margin-top: 8px; }

/* Featured Hero Card */
.bento-featured {
  grid-column: span 2; grid-row: span 2;
  display: flex; flex-direction: column; padding: 0; overflow: hidden;
}
.bento-featured img { width: 100%; height: 220px; object-fit: cover; }
.bento-featured .body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.bento-featured .badge {
  display: inline-block; padding: 2px 10px; border-radius: var(--radius-full);
  font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 8px;
}
.bento-featured h2 { font-size: 20px; font-weight: 700; line-height: 1.3; margin-bottom: 8px; }
.bento-featured p { font-size: 13px; color: var(--text-secondary); }
.bento-featured .meta { margin-top: auto; padding-top: 12px; font-size: 11px; color: var(--text-tertiary); display: flex; gap: 16px; }

/* ============================================
   POST GRID
   ============================================ */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.post-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none; color: inherit; display: block;
}
.post-card:hover { border-color: var(--border-hover); transform: translateY(-3px); box-shadow: var(--shadow-glow); }
.post-card img { width: 100%; height: 180px; object-fit: cover; transition: transform 0.6s; }
.post-card:hover img { transform: scale(1.05); }
.post-card .body { padding: 20px; }
.post-card .tag {
  display: inline-block; padding: 2px 10px; border-radius: var(--radius-full);
  font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 6px;
}
.post-card h3 { font-size: 15px; font-weight: 700; line-height: 1.35; margin-bottom: 8px; transition: color 0.2s; }
.post-card:hover h3 { color: var(--accent-light); }
.post-card .excerpt { font-size: 12px; color: var(--text-secondary); margin-bottom: 12px; }
.post-card .meta { display: flex; gap: 8px; font-size: 11px; color: var(--text-tertiary); }

/* ============================================
   SOSYAL KANIT BÖLÜMÜ — İstatistikler
   ============================================ */
.social-proof-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 40px;
}
.social-proof-item {
  padding: 24px; text-align: center;
  border-right: 1px solid var(--border);
  background: var(--bg-card);
}
.social-proof-item:last-child { border-right: none; }
.social-proof-item .num {
  font-size: 28px; font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.social-proof-item .label { font-size: 12px; color: var(--text-tertiary); margin-top: 4px; }

/* ============================================
   NEWSLETTER — Dönüşüm odağı
   ============================================ */
.newsletter {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 60px 32px;
  text-align: center;
  position: relative; overflow: hidden;
}
.newsletter::before {
  content: '';
  position: absolute; top: -50%; left: -20%;
  width: 60%; height: 200%;
  background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.06), transparent 70%);
  pointer-events: none;
}

.newsletter h2 { font-size: clamp(1.3rem, 2vw, 1.8rem); font-weight: 700; margin-bottom: 8px; }
.newsletter p { color: var(--text-secondary); font-size: 14px; margin-bottom: 24px; }

.newsletter-form {
  display: flex; gap: 8px;
  max-width: 440px; margin: 0 auto;
}
.newsletter-form input {
  flex: 1; padding: 12px 16px; border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-secondary); color: var(--text-primary);
  font-size: 14px; font-family: inherit; outline: none;
}
.newsletter-form input:focus { border-color: var(--accent); }
.newsletter-form button {
  padding: 12px 24px; border-radius: var(--radius-md);
  background: var(--cta); color: #fff; border: none;
  font-weight: 600; font-size: 14px; cursor: pointer;
  font-family: inherit; white-space: nowrap;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 20px 24px;
}
.footer-inner {
  max-width: var(--content-wide); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer-brand p { font-size: 13px; color: var(--text-tertiary); max-width: 260px; margin-top: 8px; }
.footer h4 { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-tertiary); margin-bottom: 12px; }
.footer a { display: block; font-size: 13px; color: var(--text-secondary); text-decoration: none; padding: 3px 0; transition: color 0.2s; }
.footer a:hover { color: var(--accent-light); }

.footer-bottom {
  max-width: var(--content-wide); margin: 32px auto 0;
  padding-top: 20px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between;
  font-size: 12px; color: var(--text-tertiary);
}

/* ============================================
   ANİMASYONLAR
   ============================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate { animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

.reveal {
  opacity: 0; transform: translateY(24px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-featured { grid-column: span 2; grid-row: span 1; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .social-proof-bar { grid-template-columns: repeat(2, 1fr); }
  .social-proof-item:nth-child(2) { border-right: none; }
  .social-proof-item:nth-child(3), .social-proof-item:nth-child(4) { border-top: 1px solid var(--border); }
}

@media (max-width: 768px) {
  .desktop-only { display: none !important; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--bg-primary); border-bottom: 1px solid var(--border); padding: 12px; }
  .nav-live .text { display: none; }
  
  .hero { padding: 100px 16px 40px; min-height: auto; }
  .hero h1 { font-size: clamp(1.6rem, 8vw, 2.2rem); }
  .hero-social-proof { font-size: 12px; }
  
  .bento-grid { grid-template-columns: 1fr; }
  .bento-featured { grid-column: span 1; }
  .post-grid { grid-template-columns: 1fr; }
  .social-proof-bar { grid-template-columns: repeat(2, 1fr); }
  
  .section { padding: 48px 16px; }
  .newsletter-form { flex-direction: column; }
  
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================
   meos.blog — 2026 Article Page Design
   Magazine-style reading experience
   ============================================ */

/* ---- Article Hero ---- */
.article-hero {
  padding: 100px var(--space-lg) 0;
  position: relative;
}

.article-hero-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
}

.article-header {
  max-width: var(--content-width);
  margin: 0 auto var(--space-xl);
  text-align: center;
}

.article-header .category-tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: var(--space-md);
}

.article-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.article-header .excerpt {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
  font-size: 13px;
  color: var(--text-tertiary);
  flex-wrap: wrap;
}

.article-meta .author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.article-meta .author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-gradient-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.article-meta .author-name {
  color: var(--text-primary);
  font-weight: 600;
}

.article-meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-tertiary);
}

/* ---- Featured Image ---- */
.article-image {
  max-width: var(--content-wide);
  margin: 0 auto var(--space-3xl);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
}

.article-image img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  display: block;
}

.article-image .caption {
  padding: var(--space-sm) var(--space-md);
  font-size: 12px;
  color: var(--text-tertiary);
  text-align: center;
}

/* ---- Article Layout ---- */
.article-layout {
  max-width: var(--content-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) 200px;
  gap: var(--space-xl);
  padding: 0 var(--space-lg);
}

/* ---- Sticky Sidebar (TOC) ---- */
.article-toc {
  position: sticky;
  top: 84px;
  align-self: start;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}

.article-toc h4 {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-tertiary);
  margin-bottom: var(--space-md);
}

.article-toc nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.article-toc a {
  font-size: 12px;
  color: var(--text-tertiary);
  text-decoration: none;
  padding: 4px 0 4px 12px;
  border-left: 2px solid transparent;
  transition: all 0.2s;
  line-height: 1.4;
}

.article-toc a:hover,
.article-toc a.active {
  color: var(--accent-light);
  border-left-color: var(--accent);
}

.article-toc a.h3 { padding-left: 24px; font-size: 11px; }

/* ---- Article Content ---- */
.article-content {
  max-width: var(--content-width);
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-primary);
}

.article-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: var(--space-3xl);
  margin-bottom: var(--space-md);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.article-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-sm);
  line-height: 1.4;
}

.article-content p {
  margin-bottom: var(--space-lg);
}

.article-content p:last-child { margin-bottom: 0; }

.article-content a {
  color: var(--accent-light);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}

.article-content a:hover { color: var(--accent); }

.article-content ul,
.article-content ol {
  margin-bottom: var(--space-lg);
  padding-left: var(--space-xl);
}

.article-content li { margin-bottom: var(--space-sm); }

.article-content blockquote {
  border-left: 3px solid var(--accent);
  padding: var(--space-md) var(--space-lg);
  margin: var(--space-xl) 0;
  background: rgba(108, 99, 255, 0.04);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-secondary);
}

.article-content pre {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  overflow-x: auto;
  margin: var(--space-lg) 0;
  font-size: 14px;
  line-height: 1.6;
}

.article-content code {
  font-size: 0.9em;
  background: rgba(108, 99, 255, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

.article-content pre code {
  background: none;
  padding: 0;
  font-size: 14px;
}

.article-content img {
  max-width: 100%;
  border-radius: var(--radius-md);
  margin: var(--space-xl) 0;
}

.article-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: var(--space-2xl) 0;
}

/* ---- Pull Quote ---- */
.pull-quote {
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--accent-light);
  padding: var(--space-lg) 0;
  margin: var(--space-xl) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ---- Right Sidebar (Share) ---- */
.article-share {
  position: sticky;
  top: 84px;
  align-self: start;
}

.article-share h4 {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-tertiary);
  margin-bottom: var(--space-md);
}

.article-share .share-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.article-share .share-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 16px;
  text-decoration: none;
}

.article-share .share-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(108, 99, 255, 0.05);
}

/* ---- Author Box ---- */
.author-box {
  max-width: var(--content-width);
  margin: var(--space-3xl) auto;
  padding: var(--space-xl);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  gap: var(--space-lg);
  align-items: start;
}

.author-box .avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent-gradient-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.author-box h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.author-box p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---- Reading Progress Bar ---- */
.reading-progress {
  position: fixed;
  top: 64px;
  left: 0;
  height: 2px;
  background: var(--accent-gradient);
  z-index: 99;
  width: 0%;
  transition: width 0.1s linear;
}

/* ---- Related Posts ---- */
.related-posts {
  max-width: var(--content-wide);
  margin: var(--space-3xl) auto;
  padding: 0 var(--space-lg);
}

.related-posts h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: var(--space-lg);
  text-align: center;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

/* ---- Table of Contents (Mobile) ---- */
.toc-mobile {
  display: none;
  max-width: var(--content-width);
  margin: 0 auto var(--space-xl);
  padding: var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.toc-mobile summary {
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-secondary);
}

.toc-mobile nav {
  margin-top: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.toc-mobile a {
  font-size: 13px;
  color: var(--text-tertiary);
  text-decoration: none;
  padding: 4px 0;
}

.toc-mobile a:hover { color: var(--accent-light); }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-toc, .article-share { display: none; }
  .toc-mobile { display: block; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .article-hero { padding: 80px var(--space-md) 0; }
  .article-content { font-size: 16px; }
  .article-image { border-radius: var(--radius-lg); }
  .related-grid { grid-template-columns: 1fr; }
  .author-box { flex-direction: column; align-items: center; text-align: center; }
}
