/* /css/blog-core.css */
:root {
  --primary: #7C3AED;
  --primary-dark: #6D28D9;
  --secondary: #10B981;
  --accent: #F59E0B;
  
  --bg-primary: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-muted: #F1F5F9;
  
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  
  --border: #E2E8F0;
  --border-dark: #CBD5E1;
  
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 10px 40px rgba(15, 23, 42, 0.12);
  --shadow-xl: 0 20px 60px rgba(15, 23, 42, 0.16);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  
  --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  font-size: 18px;
  color: var(--text-primary);
}

.logo {
  flex-shrink: 0;
}

.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 14px;
  transition: color var(--transition);
  position: relative;
}

.main-nav a:hover {
  color: var(--primary);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}

.main-nav a:hover::after {
  width: 100%;
}

.btn-nav {
  background: var(--primary);
  color: white;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-weight: 600;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
}

/* Breadcrumb */
.breadcrumb {
  background: var(--bg-muted);
  padding: 12px 0;
  font-size: 14px;
}

.breadcrumb .container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--primary);
}

.separator {
  color: var(--text-muted);
}

/* Hero Section */
.article-hero {
  padding: 60px 0 40px;
  background: linear-gradient(135deg, #F8FAFC 0%, #FFFFFF 100%);
}

.article-hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.article-title {
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.article-lead {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary, .btn-secondary, .btn-text {
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.btn-text {
  background: none;
  color: var(--text-secondary);
}

.hero-visual {
  position: relative;
}

.visual-card {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.platform-icons {
  display: flex;
  gap: 8px;
}

.platform-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: white;
}

.platform-icon.instagram { background: #E4405F; }
.platform-icon.tiktok { background: #000000; }
.platform-icon.youtube { background: #FF0000; }
.platform-icon.facebook { background: #1877F2; }

.live-badge {
  background: linear-gradient(135deg, #FF0000, #FF6B6B);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.card-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat {
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
}

/* TOC Sticky */
.toc-sticky {
  position: sticky;
  top: 73px;
  z-index: 90;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.toc-sticky .container {
  display: flex;
  align-items: center;
  gap: 24px;
}

.toc-label {
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
}

.toc-links {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.toc-links::-webkit-scrollbar {
  display: none;
}

.toc-link {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
  padding: 8px 0;
  position: relative;
  transition: color var(--transition);
}

.toc-link:hover {
  color: var(--primary);
}

.toc-link.active {
  color: var(--primary);
  font-weight: 600;
}

.toc-link.active::after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary);
  border-radius: 3px 3px 0 0;
}

/* Content Sections */
.content-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.content-section:last-of-type {
  border-bottom: none;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-intro {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

/* Checklist */
.checklist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.checklist-item {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all var(--transition);
}

.checklist-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.check-icon {
  background: var(--secondary);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.check-content h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.note-box {
  background: var(--bg-muted);
  border-left: 4px solid var(--primary);
  padding: 20px;
  border-radius: var(--radius-md);
  margin: 32px 0;
}

.note-box.success {
  border-color: var(--secondary);
}

/* Video Section */
.video-section {
  padding: 40px 0;
}

.video-container {
  max-width: 800px;
  margin: 0 auto;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #000;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-caption {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 12px;
}

/* Strategy Grid */
.strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.strategy-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: all var(--transition);
}

.strategy-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.strategy-card.highlight {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.05), rgba(124, 58, 237, 0.01));
}

.strategy-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.1;
  position: absolute;
  top: 16px;
  right: 24px;
  line-height: 1;
}

.strategy-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

/* Timeline */
.timeline {
  max-width: 800px;
  margin: 40px auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-day {
  display: flex;
  gap: 32px;
  margin-bottom: 40px;
  position: relative;
}

.timeline-day:last-child {
  margin-bottom: 0;
}

.day-number {
  background: var(--bg-surface);
  border: 2px solid var(--primary);
  color: var(--primary);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
  z-index: 1;
}

.timeline-day.highlight .day-number {
  background: var(--primary);
  color: white;
}

.day-content {
  flex: 1;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.day-content h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--text-primary);
}

/* CTA Box */
.cta-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 48px;
  border-radius: var(--radius-xl);
  text-align: center;
  margin-top: 60px;
}

.cta-box h3 {
  font-size: 32px;
  margin-bottom: 16px;
}

.cta-box p {
  opacity: 0.9;
  margin-bottom: 32px;
  font-size: 18px;
}

.platform-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.platform-btn {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 16px 32px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition);
}

.platform-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* FAQ */
.faq-grid {
  max-width: 800px;
  margin: 40px auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}

.faq-item:first-child {
  padding-top: 0;
}

.faq-question {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 40px;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 24px;
  color: var(--primary);
  transition: transform var(--transition);
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding-top: 16px;
  color: var(--text-secondary);
}

/* SEO Snippet */
.seo-snippet {
  background: var(--bg-muted);
  padding: 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 60px;
  text-align: center;
}

/* Related Content */
.related-content {
  padding: 80px 0;
  background: var(--bg-muted);
}

.related-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
  color: var(--text-primary);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.related-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-decoration: none;
  color: inherit;
  transition: all var(--transition);
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.related-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.related-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.related-card p {
  color: var(--text-muted);
  font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
  .article-hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-visual {
    order: -1;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
  
  .main-nav {
    display: none;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .site-header.menu-open .main-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    padding: 20px;
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
  }
  
  .toc-sticky .container {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  
  .toc-links {
    overflow-x: auto;
    padding-bottom: 8px;
  }
  
  .article-title {
    font-size: 32px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .strategy-grid,
  .checklist-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }
  
  .timeline::before {
    left: 28px;
  }
  
  .day-number {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn-primary, .btn-secondary, .btn-text {
    width: 100%;
    justify-content: center;
  }
  
  .platform-buttons {
    flex-direction: column;
  }
  
  .card-stats {
    grid-template-columns: 1fr;
  }
}