/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.75;
  color: #1e293b;
  background: #ffffff;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 { font-family: 'Lora', Georgia, 'Times New Roman', serif; font-weight: 700; line-height: 1.3; color: #0f172a; }
h1 { font-size: clamp(1.75rem, 5vw, 2.5rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.4rem, 4vw, 1.875rem); margin: 2.5rem 0 1rem; padding-top: 1.5rem; border-top: 1px solid #f1f5f9; }
h3 { font-size: clamp(1.15rem, 3vw, 1.375rem); margin: 1.75rem 0 0.75rem; }
p { margin-bottom: 1.1rem; }
a { color: #2563eb; text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { margin: 0.5rem 0 1.1rem 1.5rem; }
li { margin-bottom: 0.4rem; }
strong { font-weight: 600; }
em { font-style: italic; }

/* ===== Layout ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.article-content { max-width: 760px; margin: 0 auto; }
img.article-image { width: 100%; border-radius: 12px; margin: 2rem 0; box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
img.pinterest-image { max-width: 400px; margin: 2rem auto; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.08); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid #e2e8f0;
  z-index: 100;
}
.site-header .container { display: flex; justify-content: space-between; align-items: center; padding: 0.875rem 1.5rem; }
.site-logo { font-family: 'Lora', Georgia, serif; font-weight: 700; font-size: 1.25rem; color: #0f172a; text-decoration: none; }
.site-logo span { color: #2563eb; }
.site-nav { display: flex; gap: 1.5rem; align-items: center; }
.site-nav a { color: #475569; font-size: 0.9rem; font-weight: 500; }
.site-nav a:hover { color: #2563eb; text-decoration: none; }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, #f8fafc, #eef2ff);
  padding: 3rem 0 2rem;
  text-align: center;
}
.hero img { max-width: 900px; margin: 1.5rem auto 0; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }

/* ===== Quick Answer ===== */
.quick-answer {
  background: #f0fdf4;
  border-left: 4px solid #22c55e;
  padding: 1.5rem 1.5rem 1.5rem 2rem;
  margin: 1.5rem 0 2rem;
  border-radius: 0 8px 8px 0;
}
.quick-answer h2 { font-size: 1.1rem; margin: 0 0 0.5rem; border: none; padding: 0; font-family: 'Inter', sans-serif; }
.quick-answer ul { margin: 0.5rem 0 0 1.5rem; }
.quick-answer li { margin-bottom: 0.3rem; }

/* ===== CTA Block ===== */
.cta-block {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border: 2px solid #3b82f6;
  border-radius: 12px;
  padding: 2rem;
  margin: 2.5rem 0;
  text-align: center;
}
.cta-block h3 { margin-top: 0; }
.cta-button {
  display: inline-block;
  background: #f59e0b;
  color: #ffffff;
  padding: 0.875rem 2.5rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.05rem;
  margin-top: 1rem;
  transition: background 0.2s ease;
}
.cta-button:hover { background: #d97706; text-decoration: none; }
.cta-button.secondary { background: #2563eb; }
.cta-button.secondary:hover { background: #1d4ed8; }

/* ===== Service Card ===== */
.service-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.service-card.featured { border-color: #fbbf24; border-width: 2px; box-shadow: 0 4px 12px rgba(251, 191, 36, 0.15); }
.service-badge {
  display: inline-block;
  background: #fbbf24;
  color: #ffffff;
  padding: 0.3rem 0.875rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.service-card h3 { margin-top: 0; }
.service-card h3 a { color: #0f172a; }
.service-card .for-who { font-style: italic; color: #64748b; margin: 0.5rem 0 1rem; }
.service-card ul { margin-top: 0.5rem; }

/* ===== Table ===== */
.comparison-table-wrap { overflow-x: auto; margin: 2rem 0; }
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 600px;
}
.comparison-table th, .comparison-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}
.comparison-table th {
  background: #1e293b;
  color: #ffffff;
  font-weight: 600;
}
.comparison-table tr:nth-child(even) { background: #f8fafc; }
.comparison-table td:first-child { font-weight: 600; }

/* ===== FAQ ===== */
.faq-section { margin: 3rem 0; }
.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  background: #ffffff;
}
.faq-item h3 {
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

/* ===== Special Blocks ===== */
.checklist {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 8px;
  padding: 1.5rem 1.5rem 1.5rem 2rem;
  margin: 2rem 0;
}
.checklist h3 { margin-top: 0; }

.stats-block {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem 0;
}
.stats-block h3 { margin-top: 0; }
.stats-block .stat-note { font-size: 0.85rem; color: #64748b; margin-top: 0.5rem; font-style: italic; }

.rarely-explained {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem 0;
}
.rarely-explained h3 { margin-top: 0; }

.brainstorming {
  background: #f5f3ff;
  border: 1px solid #ddd6fe;
  border-radius: 8px;
  padding: 1.5rem 1.5rem 1.5rem 2rem;
  margin: 2rem 0;
}
.brainstorming h3 { margin-top: 0; }

/* ===== Tips ===== */
.tips-list { counter-reset: tip; list-style: none; margin-left: 0; }
.tips-list li {
  counter-increment: tip;
  position: relative;
  padding-left: 2.75rem;
  margin-bottom: 1.25rem;
}
.tips-list li::before {
  content: counter(tip);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.75rem;
  height: 1.75rem;
  background: #2563eb;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
}

/* ===== Footer ===== */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}
.site-footer .footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.site-footer h4 { color: #e2e8f0; margin-bottom: 1rem; font-size: 1rem; font-family: 'Lora', serif; }
.site-footer a { color: #60a5fa; }
.site-footer a:hover { color: #93c5fd; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.footer-bottom { max-width: 1200px; margin: 0 auto; border-top: 1px solid #1e293b; padding-top: 1.5rem; margin-top: 1.5rem; font-size: 0.85rem; text-align: center; padding-left: 1.5rem; padding-right: 1.5rem; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .site-nav { display: none; }
  body { font-size: 16px; }
  .cta-block { padding: 1.5rem; }
  .service-card { padding: 1.5rem; }
  .comparison-table { font-size: 0.85rem; }
  .hero { padding: 2rem 0 1.5rem; }
}

/* ===== RTL ===== */
[dir="rtl"] { text-align: right; }
[dir="rtl"] .quick-answer { border-left: none; border-right: 4px solid #22c55e; border-radius: 8px 0 0 8px; padding: 1.5rem 2rem 1.5rem 1.5rem; }
[dir="rtl"] ul, [dir="rtl"] ol { margin: 0.5rem 1.5rem 1.1rem 0; }
[dir="rtl"] .tips-list li { padding-left: 0; padding-right: 2.75rem; }
[dir="rtl"] .tips-list li::before { left: auto; right: 0; }
[dir="rtl"] .site-header .container { flex-direction: row-reverse; }

/* ===== Utility ===== */
#root { display: none !important; }
.text-center { text-align: center; }
.lead { font-size: 1.15rem; color: #475569; margin-bottom: 1.5rem; }
.tagline { color: #64748b; font-size: 1rem; margin-top: 0.5rem; }
