/* Hit Song Factory — Blog Styles */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800;900&family=Caveat:wght@400;700&display=swap');

:root {
  --primary: #FC4D49;
  --primary-hover: #E43E48;
  --dark: #1A1A2E;
  --text: #4D4D4D;
  --light: #FAFAFA;
  --white: #FFFFFF;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --radius: 16px;
}

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

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  line-height: 1.8;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* Header */
.blog-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.blog-header .logo-link {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--dark);
}
.blog-header .logo-link img { width: 40px; height: 40px; border-radius: 50%; }
.blog-header .logo-link span { font-family: 'Caveat', cursive; font-size: 18px; font-weight: 700; }
.blog-header nav { display: flex; gap: 24px; align-items: center; }
.blog-header nav a {
  text-decoration: none; color: var(--text); font-size: 14px; font-weight: 600;
  transition: color 0.2s;
}
.blog-header nav a:hover { color: var(--primary); }
.blog-header .cta-btn {
  background: var(--primary); color: var(--white); border: none; border-radius: 50px;
  padding: 10px 24px; font-weight: 700; font-size: 14px; cursor: pointer;
  text-decoration: none; transition: 0.3s;
}
.blog-header .cta-btn:hover { background: var(--primary-hover); transform: translateY(-1px); }

/* Breadcrumbs */
.breadcrumbs {
  max-width: 820px; margin: 24px auto 0; padding: 0 24px;
  font-size: 13px; color: #999;
}
.breadcrumbs a { color: var(--primary); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span { margin: 0 6px; }

/* Article */
.blog-article {
  max-width: 820px; margin: 0 auto;
  padding: 40px 24px 80px;
}
.blog-article h1 {
  font-size: 36px; font-weight: 900; color: var(--dark);
  line-height: 1.25; margin-bottom: 16px;
}
.article-meta {
  display: flex; gap: 16px; align-items: center;
  font-size: 13px; color: #999; margin-bottom: 32px;
}
.article-meta .tag {
  background: rgba(252,77,73,0.1); color: var(--primary);
  padding: 4px 12px; border-radius: 20px; font-weight: 600; font-size: 12px;
}
.blog-article h2 {
  font-size: 26px; font-weight: 800; color: var(--dark);
  margin: 40px 0 16px; line-height: 1.3;
}
.blog-article h3 {
  font-size: 20px; font-weight: 700; color: var(--dark);
  margin: 32px 0 12px;
}
.blog-article p {
  margin-bottom: 18px; font-size: 16px; line-height: 1.85;
}
.blog-article ul, .blog-article ol {
  margin: 0 0 20px 24px;
}
.blog-article li {
  margin-bottom: 8px; font-size: 16px;
}
.blog-article strong { color: var(--dark); }
.blog-article a { color: var(--primary); text-decoration: underline; }
.blog-article a:hover { color: var(--primary-hover); }

/* Highlight box */
.highlight-box {
  background: linear-gradient(135deg, #fff5f5, #fff0f0);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 28px; margin: 32px 0;
  font-size: 15px;
}
.highlight-box strong { color: var(--primary); }

/* CTA block */
.article-cta {
  background: linear-gradient(135deg, var(--primary), #ff6b6b);
  color: var(--white); border-radius: var(--radius);
  padding: 40px; text-align: center; margin: 48px 0;
  box-shadow: 0 12px 40px rgba(252,77,73,0.3);
}
.article-cta h3 {
  color: var(--white); font-size: 28px; margin-bottom: 12px;
}
.article-cta p { color: rgba(255,255,255,0.9); margin-bottom: 20px; font-size: 16px; }
.article-cta .cta-button {
  display: inline-block; background: var(--white); color: var(--primary);
  padding: 16px 40px; border-radius: 50px; font-weight: 800; font-size: 16px;
  text-decoration: none; transition: 0.3s; text-transform: uppercase;
}
.article-cta .cta-button:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.2); color: var(--primary); }

/* Tariffs */
.tariff-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 32px 0; }
.tariff-card {
  background: var(--white); border: 2px solid #eee; border-radius: var(--radius);
  padding: 16px 10px; text-align: center; transition: 0.3s;
  display: flex; flex-direction: column; justify-content: space-between;
}
.tariff-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tariff-card.econom { border-color: #d1d5db; background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%); }
.tariff-card.lite { border-color: #f59e0b; background: linear-gradient(180deg, #ffffff 0%, #fffbeb 100%); }
.tariff-card.standard { border-color: #3b82f6; background: linear-gradient(180deg, #ffffff 0%, #eff6ff 100%); }
.tariff-card.premium { border-color: #a855f7; background: linear-gradient(180deg, #ffffff 0%, #faf5ff 100%); }

.tariff-card.featured { border-color: #3b82f6; position: relative; }
.tariff-card.featured::before {
  content: '⭐ Популярний'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: #3b82f6; color: white; padding: 2px 10px; border-radius: 20px;
  font-size: 10px; font-weight: 700; white-space: nowrap;
}
.tariff-card h4 { font-size: 18px; font-weight: 800; color: var(--dark); margin-bottom: 4px; }
.tariff-card .old-price { text-decoration: line-through; color: #999; font-size: 14px; }
.tariff-card .new-price { font-size: 26px; font-weight: 900; color: var(--dark); margin: 4px 0; }
.tariff-card.econom .new-price { color: #4b5563; }
.tariff-card.lite .new-price { color: #d97706; }
.tariff-card.standard .new-price { color: #2563eb; }
.tariff-card.premium .new-price { color: #7c3aed; }
.tariff-card .new-price small { font-size: 14px; }
.tariff-card ul { text-align: left; margin: 12px 0; list-style: none; padding: 0; flex-grow: 1; }
.tariff-card li { padding: 3px 0; font-size: 12px; line-height: 1.4; color: #555; }
.tariff-card.econom li::before { content: '✓ '; color: #4b5563; font-weight: 700; }
.tariff-card.lite li::before { content: '✓ '; color: #d97706; font-weight: 700; }
.tariff-card.standard li::before { content: '✓ '; color: #2563eb; font-weight: 700; }
.tariff-card.premium li::before { content: '✓ '; color: #7c3aed; font-weight: 700; }

/* Related Articles */
.related-articles { margin: 60px 0 0; }
.related-articles h2 { font-size: 24px; margin-bottom: 24px; }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.related-card {
  background: var(--light); border-radius: var(--radius);
  padding: 24px; text-decoration: none; color: var(--text);
  transition: 0.3s; border: 1px solid transparent;
}
.related-card:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow); }
.related-card h3 { font-size: 17px; color: var(--dark); margin-bottom: 8px; line-height: 1.4; }
.related-card p { font-size: 14px; line-height: 1.6; margin: 0; }

/* FAQ Section */
.faq-section { margin: 48px 0; }
.faq-section h2 { font-size: 26px; font-weight: 800; color: var(--dark); margin-bottom: 24px; }
.faq-section details {
  background: var(--light); border-radius: 12px;
  margin-bottom: 12px; border: 1px solid #eee;
  transition: 0.3s;
}
.faq-section details:hover { border-color: var(--primary); }
.faq-section details[open] { border-color: var(--primary); box-shadow: 0 4px 16px rgba(252,77,73,0.1); }
.faq-section summary {
  padding: 18px 24px; cursor: pointer; font-size: 16px;
  list-style: none; display: flex; align-items: center; justify-content: space-between;
}
.faq-section summary::-webkit-details-marker { display: none; }
.faq-section summary::after { content: '+'; font-size: 24px; color: var(--primary); font-weight: 300; transition: 0.3s; }
.faq-section details[open] summary::after { content: '−'; }
.faq-section details p { padding: 0 24px 18px; font-size: 15px; line-height: 1.7; color: var(--text); }

/* Footer */
.blog-footer {
  background: var(--dark); color: rgba(255,255,255,0.7);
  padding: 40px 24px; text-align: center; font-size: 14px;
}
.blog-footer a { color: var(--primary); text-decoration: none; }
.blog-footer a:hover { text-decoration: underline; }
.blog-footer .footer-links { margin-top: 12px; }
.blog-footer .footer-links a { margin: 0 12px; }

/* Responsive */
@media (max-width: 768px) {
  .blog-header nav { display: none; }
  .blog-article h1 { font-size: 26px; }
  .blog-article h2 { font-size: 22px; }
  .tariff-cards { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .article-cta { padding: 28px 20px; }
  .article-cta h3 { font-size: 22px; }
}
