/* ===== VARIABLES ===== */
:root {
  --pink: #D4899A;
  --pink-light: #e4a8b5;
  --pink-dark: #b8697a;
  --cream: #F5EDE0;
  --cream-light: #faf6f0;
  --brown: #5C3D2E;
  --brown-light: #7a5a4a;
  --brown-dark: #3d2519;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--brown);
  background: var(--cream-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===== HEADER ===== */
.blog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 680px;
  margin: 0 auto;
  padding: 20px 20px 0;
}

.blog-logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--brown);
}

.blog-header nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brown-light);
  transition: color 0.2s;
}

.blog-header nav a:hover {
  color: var(--pink);
}

/* ===== ARTICLE ===== */
.article {
  max-width: 680px;
  margin: 0 auto;
  padding: 32px 20px 48px;
  font-size: 1.125rem;
  line-height: 1.7;
}

.article h1 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 24px;
}

.article h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 16px;
  line-height: 1.3;
}

.article h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 28px;
  margin-bottom: 12px;
}

.article p {
  margin-bottom: 1.2em;
}

.article strong {
  font-weight: 700;
  color: var(--brown);
}

.article ul {
  list-style: disc;
  padding-left: 1.5em;
  margin-bottom: 1.2em;
}

.article ul li {
  margin-bottom: 0.4em;
}

/* ===== ARTICLE META ===== */
.article-meta {
  display: flex;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--brown-light);
  margin-bottom: 20px;
}

/* ===== CTA BLOCKS ===== */
.cta-inline,
.cta-final {
  text-align: center;
  padding: 32px 24px;
  margin: 36px 0;
  background: var(--cream);
  border-radius: var(--radius);
}

.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background: linear-gradient(135deg, #E8B4BE 0%, #D4899A 100%);
  color: var(--white);
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(212, 137, 154, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(212, 137, 154, 0.35);
}

.cta-price {
  display: block;
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--brown-light);
}

/* ===== FAQ (native <details>) ===== */
.faq {
  margin-top: 40px;
  margin-bottom: 16px;
}

.faq h2 {
  margin-top: 0;
}

.faq details {
  background: var(--white);
  border: 1px solid rgba(92, 61, 46, 0.08);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  overflow: hidden;
}

.faq summary {
  padding: 16px 20px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--brown-light);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq details[open] summary::after {
  content: '\2212';
}

.faq details > div {
  padding: 0 20px 16px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--brown-light);
}

/* ===== STICKY CTA ===== */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 20px;
  background: rgba(250, 246, 240, 0.95);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(92, 61, 46, 0.08);
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 50;
}

.sticky-cta.visible {
  transform: translateY(0);
}

.sticky-cta a {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(135deg, #E8B4BE 0%, #D4899A 100%);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(212, 137, 154, 0.25);
}

/* ===== RELATED ===== */
.related {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(92, 61, 46, 0.08);
}

.related h2 {
  font-size: 1.2rem;
  margin-top: 0;
  margin-bottom: 16px;
}

.related ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.related a {
  color: var(--pink-dark);
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.2s;
}

.related a:hover {
  color: var(--pink);
}

/* ===== AUTHOR ===== */
.author {
  margin-top: 32px;
  padding: 16px 20px;
  background: var(--cream);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--brown-light);
}

/* ===== FOOTER ===== */
.blog-footer {
  max-width: 680px;
  margin: 0 auto;
  padding: 24px 20px 48px;
  font-size: 0.9rem;
  color: var(--brown-light);
  text-align: center;
}

.blog-footer a {
  color: var(--brown-light);
  transition: color 0.2s;
}

.blog-footer a:hover {
  color: var(--pink);
}

/* ===== BLOG INDEX ===== */
.blog-index {
  max-width: 680px;
  margin: 0 auto;
  padding: 32px 20px 48px;
}

.blog-index h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 32px;
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.blog-list li a {
  display: block;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(92, 61, 46, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.blog-list li a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(92, 61, 46, 0.1);
}

.blog-list h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--brown);
}

.blog-list p {
  font-size: 0.95rem;
  color: var(--brown-light);
  line-height: 1.5;
}

/* ===== ARTICLE IMAGES ===== */
.article-screenshot {
  display: block;
  max-width: 320px;
  margin: 24px auto 32px;
  border-radius: var(--radius);
  box-shadow: 0 4px 24px rgba(92, 61, 46, 0.12);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .article h1 { font-size: 1.6rem; }
  .article h2 { font-size: 1.2rem; }
  .article { font-size: 1.05rem; }
  .blog-index h1 { font-size: 1.6rem; }
}

/* Hide sticky CTA on desktop (>768px) */
@media (min-width: 769px) {
  .sticky-cta { display: none; }
}
