/*
Theme Name: 夫婦SOS
Theme URI: https://fufu-sos.com
Author: Claude Company
Description: 夫婦の悩みに寄り添うアフィリエイトメディア用カスタムテーマ
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: fufu-sos
*/

/* ============================================
   夫婦SOS - Soft & Warm Design
   Color Palette:
   - Main: #7A9BAB (Soft Blue Gray)
   - Sub: #F7F2ED (Warm Cream)
   - Accent: #D4917D (Soft Terracotta)
   - Text: #4A4A4A (Softer Dark)
   - Tag: #A3BFA3 (Soft Sage)
   - Warm: #E8D5C4 (Warm Sand)
   ============================================ */

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

body {
  font-family: 'Noto Sans JP', 'Zen Kaku Gothic New', sans-serif;
  color: #4A4A4A;
  background: #FDFBF9;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1060px; margin: 0 auto; padding: 0 28px; }
section, .hero, .footer { width: 100%; }

/* ============================================ HEADER */
.header {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; height: 68px;
}
.header .container {
  display: flex; align-items: center; justify-content: space-between; height: 68px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, #7A9BAB, #A3BFA3);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
}
.logo-text { font-size: 21px; font-weight: 700; color: #6B8E9E; letter-spacing: 2px; }
.logo-text span { color: #D4917D; }
.nav { display: flex; gap: 30px; list-style: none; }
.nav a {
  font-size: 13px; font-weight: 500; color: #888;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav a:hover, .nav .current-menu-item a { color: #7A9BAB; border-bottom-color: #7A9BAB; }

/* Mobile menu toggle */
.menu-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 30px; height: 24px; position: relative;
}
.menu-toggle span {
  display: block; width: 100%; height: 2px; background: #4A4A4A;
  position: absolute; left: 0; transition: all 0.3s ease;
}
.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 11px; }
.menu-toggle span:nth-child(3) { top: 22px; }

/* ============================================ HERO */
.hero {
  margin-top: 68px; position: relative;
  height: 540px; overflow: hidden;
  display: flex; align-items: center;
}
.hero-bg {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(150deg, #3D5560 0%, #5A7A8A 30%, #7A9BAB 50%, #A3BFA3 75%, #E8D5C4 100%);
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: 70% center;
  filter: brightness(0.82) saturate(0.8) sepia(0.12);
}
.hero-overlay {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg,
    rgba(100,85,75,0.45) 0%,
    rgba(140,120,105,0.28) 35%,
    rgba(180,155,140,0.18) 60%,
    rgba(232,213,196,0.15) 100%);
}
.hero-content {
  position: relative; z-index: 2; color: #fff;
  max-width: 600px; padding-left: 50px;
}
.hero-content .lead {
  font-size: 13px; font-weight: 400; letter-spacing: 4px;
  margin-bottom: 18px; opacity: 0.8; color: #E8D5C4;
}
.hero-content h1 {
  font-size: 38px; font-weight: 700; line-height: 1.55;
  margin-bottom: 18px; text-shadow: 0 2px 15px rgba(0,0,0,0.2);
}
.hero-content h1 em {
  font-style: normal; color: #F5DDD4;
  border-bottom: 2px solid rgba(212,145,125,0.5);
  padding-bottom: 2px;
}
.hero-content p {
  font-size: 15px; font-weight: 300; line-height: 2;
  margin-bottom: 32px; opacity: 0.9;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #D4917D, #DCA593);
  color: #fff; padding: 12px 26px;
  border-radius: 50px; font-size: 13px; font-weight: 500; letter-spacing: 0.5px;
  box-shadow: 0 4px 20px rgba(212,145,125,0.35);
}
.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(212,145,125,0.45);
  color: #fff;
}

/* ============================================ WORRY CHECK */
.worry-section { padding: 75px 0; background: #fff; }
.section-label {
  text-align: center; font-size: 12px; font-weight: 500;
  color: #D4917D; letter-spacing: 4px; margin-bottom: 10px;
}
.section-title {
  text-align: center; font-size: 26px; font-weight: 700;
  color: #4A4A4A; margin-bottom: 14px; line-height: 1.5;
}
.section-subtitle {
  text-align: center; font-size: 14px; color: #aaa; margin-bottom: 45px;
}
.worry-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 18px; max-width: 780px; margin: 0 auto 45px;
}
.worry-card {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 22px 24px; background: #F7F2ED;
  border-radius: 18px; transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.03);
}
.worry-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}
.worry-icon {
  width: 46px; height: 46px; background: #fff;
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.worry-card h3 { font-size: 14px; font-weight: 600; color: #4A4A4A; margin-bottom: 5px; }
.worry-card p { font-size: 12.5px; color: #999; line-height: 1.7; }
.worry-note {
  text-align: center; padding: 26px 32px;
  background: linear-gradient(135deg, #7A9BAB, #A3BFA3);
  color: #fff; border-radius: 18px;
  max-width: 560px; margin: 0 auto;
}
.worry-note p { font-size: 14px; font-weight: 500; margin-bottom: 14px; }
.worry-note a {
  display: inline-flex; align-items: center; gap: 8px;
  color: #fff; font-size: 13px; font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.5); padding-bottom: 2px;
}
.worry-note a:hover { border-bottom-color: #fff; }

/* ============================================ ARTICLES */
.articles-section { padding: 75px 0; background: #FDFBF9; }
.category-tabs {
  display: flex; justify-content: center; gap: 10px;
  margin-bottom: 45px; flex-wrap: wrap;
}
.cat-tab {
  padding: 9px 22px; border-radius: 50px;
  font-size: 13px; font-weight: 500; cursor: pointer;
  border: 1.5px solid #E0D8D0; background: #fff; color: #888;
  transition: all 0.3s ease;
}
.cat-tab:hover, .cat-tab.active {
  background: #7A9BAB; color: #fff; border-color: #7A9BAB;
}
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-card {
  background: #fff; border-radius: 18px; overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.03);
  transition: all 0.3s ease;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.07);
}
.article-card a { display: block; }
.article-thumb {
  width: 100%; height: 185px; object-fit: cover;
  background: #E8D5C4;
}
.article-thumb img {
  width: 100%; height: 100%; object-fit: cover;
}
.article-body { padding: 20px 22px; }
.article-tag {
  display: inline-block; padding: 3px 12px;
  background: rgba(163,191,163,0.18); color: #7A9F7A;
  border-radius: 20px; font-size: 11px; font-weight: 600; margin-bottom: 9px;
}
.article-tag.pink { background: rgba(212,145,125,0.12); color: #C07260; }
.article-tag.blue { background: rgba(122,155,171,0.14); color: #6B8E9E; }
.article-tag.orange { background: rgba(212,170,125,0.15); color: #B08A5E; }
.article-body h3 {
  font-size: 15px; font-weight: 600; color: #4A4A4A;
  line-height: 1.6; margin-bottom: 8px;
}
.article-meta { font-size: 12px; color: #bbb; }

/* ============================================ CTA (CV) */
.cta-section {
  padding: 90px 0;
  background: linear-gradient(135deg, #7A9BAB 0%, #6B8E9E 40%, #5A7D8D 100%);
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute;
  top: -40%; right: -15%; width: 450px; height: 450px;
  background: rgba(163,191,163,0.08); border-radius: 50%;
}
.cta-inner {
  position: relative; z-index: 2; text-align: center; color: #fff;
}
.cta-inner .cta-label {
  font-size: 12px; letter-spacing: 4px; color: rgba(255,255,255,0.65); margin-bottom: 14px;
}
.cta-inner h2 {
  font-size: 30px; font-weight: 700; margin-bottom: 14px; line-height: 1.55;
}
.cta-inner .cta-desc {
  font-size: 14px; font-weight: 300; opacity: 0.85; margin-bottom: 22px; line-height: 1.9;
}
.cta-stats { display: flex; justify-content: center; gap: 50px; margin-bottom: 36px; }
.cta-stat { text-align: center; }
.cta-stat .num { font-size: 34px; font-weight: 700; color: #F5DDD4; display: block; }
.cta-stat .label { font-size: 12px; opacity: 0.7; margin-top: 4px; }
.cta-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, #D4917D, #DCA593);
  color: #fff; padding: 16px 42px;
  border-radius: 50px; font-size: 15px; font-weight: 600; letter-spacing: 1px;
  box-shadow: 0 5px 22px rgba(212,145,125,0.35);
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212,145,125,0.45);
  color: #fff;
}
.cta-note { margin-top: 14px; font-size: 12px; opacity: 0.55; }

/* ============================================ TESTIMONIALS */
.testimonials { padding: 75px 0; background: #F7F2ED; }
.testimonial-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 45px;
}
.testimonial-card {
  background: #fff; padding: 30px 28px;
  border-radius: 20px; box-shadow: 0 2px 12px rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.03); position: relative;
}
.testimonial-card::before {
  content: '\201C'; font-size: 55px; color: #D4917D; opacity: 0.25;
  position: absolute; top: 14px; left: 22px; font-family: Georgia, serif; line-height: 1;
}
.testimonial-text {
  font-size: 13.5px; line-height: 1.9; color: #666; margin-bottom: 18px; padding-top: 18px;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, #7A9BAB, #A3BFA3);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 15px; font-weight: 700;
}
.testimonial-info .name { font-size: 13px; font-weight: 600; color: #4A4A4A; }
.testimonial-info .detail { font-size: 11.5px; color: #bbb; }

/* ============================================ FLOW */
.flow-section { padding: 75px 0; background: #fff; }
.flow-steps {
  display: flex; justify-content: center; gap: 18px;
  margin-top: 45px; flex-wrap: wrap;
}
.flow-step {
  flex: 1; max-width: 230px; text-align: center;
  padding: 30px 22px; background: #FDFBF9;
  border-radius: 20px; position: relative;
  border: 1px solid rgba(0,0,0,0.04);
}
.flow-step::after {
  content: ''; position: absolute; right: -12px; top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 7px solid #DDD;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
}
.flow-step:last-child::after { display: none; }
.step-num {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, #D4917D, #DCA593);
  color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; margin: 0 auto 14px;
}
.flow-step h3 { font-size: 15px; font-weight: 600; color: #4A4A4A; margin-bottom: 7px; }
.flow-step p { font-size: 12.5px; color: #999; line-height: 1.7; }

/* ============================================ SINGLE POST */
.single-content {
  margin-top: 68px;
  padding: 50px 0 80px;
}
.single-content .container {
  max-width: 780px;
}
.post-header {
  margin-bottom: 40px;
}
.post-header .article-tag {
  margin-bottom: 14px;
}
.post-header h1 {
  font-size: 28px; font-weight: 700; line-height: 1.6;
  color: #4A4A4A; margin-bottom: 14px;
}
.post-meta {
  font-size: 13px; color: #bbb;
  display: flex; gap: 20px; align-items: center;
}
.post-body {
  font-size: 15.5px; line-height: 2.1; color: #555;
}
.post-body h2 {
  font-size: 22px; font-weight: 700; color: #4A4A4A;
  margin: 50px 0 20px; padding-bottom: 12px;
  border-bottom: 3px solid #E8D5C4;
}
.post-body h3 {
  font-size: 18px; font-weight: 600; color: #4A4A4A;
  margin: 35px 0 15px;
  padding-left: 14px;
  border-left: 4px solid #7A9BAB;
}
.post-body p {
  margin-bottom: 22px;
}
.post-body ul, .post-body ol {
  margin: 20px 0; padding-left: 24px;
}
.post-body li {
  margin-bottom: 10px;
}
.post-body blockquote {
  background: #F7F2ED; border-left: 4px solid #D4917D;
  padding: 22px 28px; margin: 28px 0; border-radius: 0 14px 14px 0;
  font-size: 14.5px; color: #777;
}
.post-body img {
  border-radius: 14px; margin: 28px 0;
}

/* Review Box - 振り返りBOX */
.review-box {
  background: #F7F2ED; border-radius: 18px;
  padding: 28px 30px; margin: 35px 0;
  border: 1px solid rgba(0,0,0,0.04);
}
.review-box h4 {
  font-size: 15px; font-weight: 600; color: #7A9BAB;
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.review-box ul {
  list-style: none; padding: 0;
}
.review-box li {
  padding: 6px 0; font-size: 14px; color: #666;
  display: flex; align-items: flex-start; gap: 8px;
}
.review-box li::before {
  content: '✓'; color: #A3BFA3; font-weight: 700; flex-shrink: 0;
}

/* CTA Box in article */
.cta-box {
  position: relative;
  display: flex; align-items: stretch;
  background: linear-gradient(135deg, #2C3E50 0%, #3A5544 50%, #2C3E50 100%);
  color: #fff; border-radius: 24px;
  margin: 48px 0; text-align: left;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.cta-box::before {
  content: '';
  position: absolute; top: -40%; right: -10%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.cta-box-img {
  flex: 0 0 220px; position: relative;
}
.cta-box-img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.cta-box-body {
  flex: 1; padding: 36px 40px;
  position: relative; z-index: 1;
}
.cta-box-label {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  color: #D4C178; letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.cta-box h3 {
  font-size: 20px; font-weight: 700; margin-bottom: 10px;
  border: none; padding: 0; color: #fff;
  letter-spacing: 0.02em; line-height: 1.5;
}
.cta-box p {
  font-size: 14px; opacity: 0.8; margin-bottom: 20px;
  line-height: 1.7;
}
.cta-box-trust {
  display: flex; gap: 20px; margin-bottom: 24px;
}
.cta-box-trust .trust-item {
  display: flex; flex-direction: column; align-items: center;
}
.cta-box-trust .trust-num {
  font-size: 15px; font-weight: 700; color: #D4C178;
}
.cta-box-trust .trust-label {
  font-size: 11px; opacity: 0.6; margin-top: 2px;
}
.cta-box .cta-btn {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; padding: 14px 36px;
  background: linear-gradient(135deg, #D4A574, #C4916A);
  border-radius: 50px; color: #fff; text-decoration: none;
  box-shadow: 0 4px 16px rgba(212,165,116,0.35);
  transition: all 0.3s ease;
  font-weight: 600;
}
.cta-box .cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(212,165,116,0.5);
  background: linear-gradient(135deg, #DDB584, #D4A17A);
}
.cta-box-note {
  display: block; font-size: 11px; opacity: 0.5;
  margin-top: 12px;
}
@media (max-width: 767px) {
  .cta-box { flex-direction: column; }
  .cta-box-img { flex: none; height: 180px; }
  .cta-box-body { padding: 28px 24px; text-align: center; }
  .cta-box-trust { justify-content: center; }
}

/* Internal link card */
.internal-link-card {
  display: flex; gap: 18px; align-items: center;
  background: #fff; border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px; padding: 18px 22px; margin: 22px 0;
  transition: all 0.3s ease;
}
.internal-link-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}
.internal-link-card .link-thumb {
  width: 100px; height: 70px; border-radius: 10px;
  background: #E8D5C4; flex-shrink: 0; overflow: hidden;
}
.internal-link-card .link-thumb img {
  width: 100%; height: 100%; object-fit: cover;
}
.internal-link-card .link-body h4 {
  font-size: 14px; font-weight: 600; color: #4A4A4A;
  margin-bottom: 4px; line-height: 1.5;
}
.internal-link-card .link-body p {
  font-size: 12px; color: #aaa; margin: 0;
}

/* Sidebar */
.content-wrapper {
  display: grid; grid-template-columns: 1fr 280px; gap: 40px;
  max-width: 1060px; margin: 0 auto; padding: 0 28px;
}
.content-wrapper.no-sidebar {
  grid-template-columns: 1fr;
  max-width: 780px;
}
.sidebar {
  margin-top: 68px; padding-top: 50px;
}
.sidebar-widget {
  background: #fff; border-radius: 18px; padding: 24px;
  margin-bottom: 24px; box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.03);
}
.sidebar-widget h3 {
  font-size: 14px; font-weight: 600; color: #4A4A4A;
  margin-bottom: 16px; padding-bottom: 10px;
  border-bottom: 2px solid #E8D5C4;
}
.sidebar-widget ul { list-style: none; padding: 0; }
.sidebar-widget li {
  padding: 8px 0; border-bottom: 1px solid rgba(0,0,0,0.04);
}
.sidebar-widget li:last-child { border-bottom: none; }
.sidebar-widget a { font-size: 13px; color: #666; }
.sidebar-widget a:hover { color: #7A9BAB; }

/* Pagination */
.pagination {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 50px;
}
.pagination a, .pagination span {
  width: 40px; height: 40px; display: flex;
  align-items: center; justify-content: center;
  border-radius: 12px; font-size: 14px; font-weight: 500;
  border: 1px solid #E0D8D0; color: #888; background: #fff;
}
.pagination .current {
  background: #7A9BAB; color: #fff; border-color: #7A9BAB;
}
.pagination a:hover {
  background: #F7F2ED; color: #7A9BAB;
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 14px 0; font-size: 12px; color: #bbb;
  margin-top: 68px;
}
.breadcrumbs a { color: #999; }
.breadcrumbs a:hover { color: #7A9BAB; }
.breadcrumbs span { margin: 0 8px; }

/* ============================================ FOOTER */
.footer { background: #3D3D3D; color: #ccc; padding: 55px 0 28px; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px; margin-bottom: 36px;
}
.footer-brand .logo-text { color: #fff; font-size: 19px; margin-bottom: 10px; }
.footer-brand .logo-text span { color: #D4917D; }
.footer-brand p { font-size: 12.5px; line-height: 1.8; color: #999; }
.footer-col h4 { font-size: 13px; font-weight: 600; color: #fff; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { font-size: 12.5px; color: #999; }
.footer-col a:hover { color: #D4917D; }
.footer-bottom {
  text-align: center; padding-top: 28px;
  border-top: 1px solid #4A4A4A; font-size: 11px; color: #777;
}

/* ============================================ ARCHIVE PAGE */
.archive-header {
  margin-top: 68px; padding: 50px 0 30px;
  background: #F7F2ED; text-align: center;
}
.archive-header h1 {
  font-size: 24px; font-weight: 700; color: #4A4A4A;
}
.archive-header p {
  font-size: 14px; color: #aaa; margin-top: 8px;
}
.archive-content {
  padding: 50px 0 80px;
}

/* ============================================ RESPONSIVE */
@media (max-width: 768px) {
  .hero-content { padding: 0 20px; }
  .hero-content h1 { font-size: 26px; }
  .worry-grid { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .flow-steps { flex-direction: column; align-items: center; }
  .flow-step::after { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav { display: none; }
  .menu-toggle { display: block; }
  .nav.active {
    display: flex; flex-direction: column;
    position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; padding: 20px 28px; gap: 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  }
  .nav.active a { padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,0.05); }
  .cta-stats { flex-direction: column; gap: 18px; }
  .content-wrapper { grid-template-columns: 1fr; }
  .sidebar { margin-top: 0; padding-top: 0; }
  .internal-link-card { flex-direction: column; }
  .internal-link-card .link-thumb { width: 100%; height: 120px; }
  .post-header h1 { font-size: 22px; }
}

@media (max-width: 480px) {
  .hero { height: 440px; }
  .hero-content h1 { font-size: 22px; }
  .section-title { font-size: 22px; }
  .cta-inner h2 { font-size: 24px; }
  .survey-popup { width: 92%; padding: 32px 20px; }
  .survey-option { padding: 12px 16px; }
}


/* ============================================ SURVEY POPUP */
.survey-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(4px);
  z-index: 9999; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all 0.35s ease;
}
.survey-overlay.active { opacity: 1; visibility: visible; }
.survey-popup {
  background: #fff; border-radius: 24px;
  padding: 40px 36px; max-width: 440px; width: 90%;
  position: relative; text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  transform: translateY(20px) scale(0.95);
  transition: all 0.35s ease;
}
.survey-overlay.active .survey-popup {
  transform: translateY(0) scale(1);
}
.survey-close {
  position: absolute; top: 14px; right: 18px;
  background: none; border: none; font-size: 24px;
  color: #bbb; cursor: pointer; line-height: 1;
  transition: color 0.2s;
}
.survey-close:hover { color: #888; }
.survey-icon { font-size: 36px; margin-bottom: 12px; }
.survey-popup h3 {
  font-size: 20px; font-weight: 700; color: #4A4A4A;
  margin-bottom: 8px;
}
.survey-popup > div > p {
  font-size: 13px; color: #999; margin-bottom: 24px;
}
.survey-options {
  display: flex; flex-direction: column; gap: 10px;
}
.survey-option {
  display: flex; align-items: center; gap: 12px;
  background: #F7F2ED; border: 2px solid transparent;
  border-radius: 14px; padding: 14px 20px;
  font-size: 14px; font-weight: 500; color: #4A4A4A;
  cursor: pointer; transition: all 0.25s ease;
  text-align: left;
}
.survey-option:hover {
  border-color: #D4917D; background: #FDF8F5;
}
.survey-option.selected {
  border-color: #D4917D; background: #FDF8F5;
  box-shadow: 0 2px 12px rgba(212,145,125,0.2);
}
.survey-option-icon { font-size: 20px; flex-shrink: 0; }
.survey-result-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #D4917D, #DCA593);
  color: #fff; padding: 14px 30px;
  border-radius: 50px; font-size: 14px; font-weight: 500;
  margin-top: 8px;
  box-shadow: 0 4px 20px rgba(212,145,125,0.3);
  transition: all 0.3s ease;
}
.survey-result-btn:hover {
  transform: translateY(-2px); color: #fff;
  box-shadow: 0 6px 28px rgba(212,145,125,0.4);
}
.survey-result-sub {
  font-size: 12px !important; color: #bbb !important;
  margin-top: 12px !important;
}
.survey-articles {
  display: flex; flex-direction: column; gap: 10px;
  margin: 16px 0 12px; max-height: 340px; overflow-y: auto;
}
.survey-article-card {
  display: flex; align-items: center; gap: 12px;
  background: #F7F2ED; border-radius: 14px; padding: 12px 14px;
  text-align: left; transition: all 0.25s ease;
  border: 1px solid transparent;
}
.survey-article-card:hover {
  border-color: #D4917D; background: #FDF8F5;
  transform: translateY(-1px);
  box-shadow: 0 3px 12px rgba(0,0,0,0.06);
}
.survey-article-thumb {
  width: 70px; height: 50px; border-radius: 10px;
  overflow: hidden; flex-shrink: 0; background: #E8D5C4;
}
.survey-article-thumb img {
  width: 100%; height: 100%; object-fit: cover;
}
.survey-article-body { flex: 1; min-width: 0; }
.survey-article-tag {
  display: inline-block; font-size: 10px; font-weight: 600;
  color: #7A9F7A; background: rgba(163,191,163,0.18);
  padding: 2px 8px; border-radius: 10px; margin-bottom: 4px;
}
.survey-article-body h4 {
  font-size: 13px; font-weight: 600; color: #4A4A4A;
  line-height: 1.5; margin: 0;
  overflow: hidden; text-overflow: ellipsis;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.survey-loading {
  text-align: center; padding: 20px; color: #bbb; font-size: 13px;
}
.survey-no-articles {
  text-align: center; padding: 16px; color: #999; font-size: 13px;
}
.survey-more-link {
  display: inline-block; font-size: 13px; color: #7A9BAB;
  font-weight: 500; margin-top: 8px;
  border-bottom: 1px solid transparent;
  transition: all 0.2s;
}
.survey-more-link:hover {
  color: #D4917D; border-bottom-color: #D4917D;
}
/* ============================================ CHECKLIST PAGE */
.checklist-hero {
  margin-top: 68px; position: relative;
  min-height: 480px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
}
.checklist-hero-bg {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(150deg, #3D5560 0%, #5A7A8A 25%, #7A9BAB 50%, #A3BFA3 75%, #D4917D 100%);
  animation: heroShift 12s ease-in-out infinite alternate;
}
@keyframes heroShift {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
.checklist-hero-overlay {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 30% 80%, rgba(61,85,96,0.4) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 20%, rgba(212,145,125,0.3) 0%, transparent 50%),
              linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.05) 100%);
}
.checklist-hero-inner {
  position: relative; z-index: 2; color: #fff;
  padding: 60px 20px 50px;
}
.checklist-hero-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(255,255,255,0.15); backdrop-filter: blur(10px);
  border: 2px solid rgba(255,255,255,0.3);
  margin-bottom: 22px;
  animation: badgePulse 3s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,255,255,0.2); }
  50% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(255,255,255,0); }
}
.checklist-hero-icon {
  font-size: 32px; font-weight: 700; color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.checklist-hero-label {
  font-size: 12px; font-weight: 500; letter-spacing: 5px;
  margin-bottom: 18px; opacity: 0.75; color: #E8D5C4;
  text-transform: uppercase;
}
.checklist-hero h1 {
  font-size: 32px; font-weight: 700; color: #fff;
  margin-bottom: 16px; line-height: 1.6;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.checklist-hero h1 em {
  font-style: normal; color: #F5DDD4;
  border-bottom: 2px solid rgba(245,221,212,0.5);
  padding-bottom: 2px;
}
.checklist-hero-sub {
  font-size: 15px; color: rgba(255,255,255,0.85); line-height: 2;
  margin-bottom: 30px; font-weight: 300;
}
.checklist-hero-stats {
  display: inline-flex; align-items: center; gap: 24px;
  background: rgba(255,255,255,0.1); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 60px; padding: 14px 36px;
  margin-bottom: 30px;
}
.checklist-hero-stat {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.checklist-hero-stat .stat-num {
  font-size: 22px; font-weight: 700; color: #fff;
  line-height: 1.2;
}
.checklist-hero-stat .stat-num small {
  font-size: 14px; font-weight: 400;
}
.checklist-hero-stat .stat-label {
  font-size: 11px; color: rgba(255,255,255,0.65);
  letter-spacing: 0.5px;
}
.checklist-hero-divider {
  width: 1px; height: 32px;
  background: rgba(255,255,255,0.25);
}
.checklist-hero-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.2); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff; padding: 13px 30px;
  border-radius: 50px; font-size: 14px; font-weight: 500;
  letter-spacing: 0.5px; cursor: pointer;
  transition: all 0.3s ease;
}
.checklist-hero-cta:hover {
  background: rgba(255,255,255,0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  color: #fff;
}
.checklist-hero-cta svg {
  animation: bounceDown 2s ease-in-out infinite;
}
@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}
.checklist-section {
  padding: 50px 0 80px; background: #FDFBF9;
}
.checklist-section .container { max-width: 720px; }
.checklist-box { }
.checklist-category {
  margin-bottom: 36px;
}
.checklist-category h2 {
  font-size: 18px; font-weight: 700; color: #4A4A4A;
  margin-bottom: 16px; display: flex; align-items: center; gap: 10px;
  padding-bottom: 10px; border-bottom: 2px solid #E8D5C4;
}
.cat-icon { font-size: 22px; }
.checklist-items {
  display: flex; flex-direction: column; gap: 8px;
}
.check-item {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1.5px solid #EDE5DC;
  border-radius: 14px; padding: 16px 20px;
  cursor: pointer; transition: all 0.25s ease;
  font-size: 14px; color: #4A4A4A;
}
.check-item:hover {
  border-color: #D4917D; background: #FDF8F5;
}
.check-item input[type="checkbox"] {
  width: 20px; height: 20px; accent-color: #D4917D;
  flex-shrink: 0; cursor: pointer;
}
.check-item input[type="checkbox"]:checked + .check-label {
  color: #D4917D; font-weight: 500;
}
.checklist-submit {
  text-align: center; margin-top: 40px;
}
.checklist-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, #D4917D, #DCA593);
  color: #fff; padding: 16px 42px;
  border-radius: 50px; font-size: 16px; font-weight: 600;
  border: none; cursor: pointer; letter-spacing: 1px;
  box-shadow: 0 5px 22px rgba(212,145,125,0.35);
  transition: all 0.3s ease;
}
.checklist-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212,145,125,0.45);
}
.checklist-note {
  font-size: 12px; color: #bbb; margin-top: 14px;
}

/* Result */
.checklist-result { }
.result-header {
  text-align: center; margin-bottom: 30px;
}
.result-icon {
  width: 70px; height: 70px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; margin: 0 auto 16px;
}
.result-header h2 {
  font-size: 24px; font-weight: 700; margin-bottom: 12px;
}
.result-score {
  margin-bottom: 16px;
}
.score-num {
  font-size: 48px; font-weight: 700;
}
.score-total {
  font-size: 16px; color: #999; margin-left: 4px;
}
.result-message {
  font-size: 14px; color: #666; line-height: 2;
  max-width: 540px; margin: 0 auto;
}
.result-bar {
  width: 100%; height: 10px; background: #EDE5DC;
  border-radius: 10px; overflow: hidden; margin-bottom: 40px;
}
.result-bar-fill {
  height: 100%; border-radius: 10px;
  transition: width 1s ease;
}
/* Rich CTA - Primary */
.result-cta-primary {
  display: flex; border-radius: 20px; overflow: hidden;
  background: #fff; border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  margin-bottom: 24px;
}
.result-cta-primary-img {
  flex: 0 0 240px; min-height: 280px;
}
.result-cta-primary-img img {
  width: 100%; height: 100%; object-fit: cover;
}
.result-cta-primary-body {
  flex: 1; padding: 32px 36px;
}
.result-cta-label {
  display: inline-block; font-size: 12px; font-weight: 700;
  color: #D4917D; background: #FDF5F2; padding: 4px 14px;
  border-radius: 20px; margin-bottom: 14px; letter-spacing: 0.5px;
}
.result-cta-primary-body h3 {
  font-size: 20px; font-weight: 700; color: #4A4A4A;
  margin-bottom: 12px; line-height: 1.5;
}
.result-cta-primary-body > p {
  font-size: 13px; color: #888; line-height: 1.9; margin-bottom: 20px;
}
.result-cta-trust {
  display: flex; gap: 20px; margin-bottom: 22px;
  padding: 16px 0; border-top: 1px solid #f0ebe6; border-bottom: 1px solid #f0ebe6;
}
.trust-item {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.trust-num {
  font-size: 15px; font-weight: 700; color: #7A9BAB;
}
.trust-label {
  font-size: 11px; color: #bbb;
}
.result-cta-primary .result-cta-btn.primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 36px; border-radius: 50px;
  font-size: 15px; font-weight: 700;
  background: linear-gradient(135deg, #D4917D, #DCA593);
  color: #fff; box-shadow: 0 6px 24px rgba(212,145,125,0.35);
  transition: all 0.3s ease;
}
.result-cta-primary .result-cta-btn.primary:hover {
  transform: translateY(-2px); color: #fff;
  box-shadow: 0 10px 32px rgba(212,145,125,0.45);
}
.result-cta-primary .result-cta-badge {
  display: block; font-size: 11px; color: #bbb; margin-top: 12px;
}

/* Rich CTA - Secondary */
.result-cta-secondary {
  display: flex; border-radius: 16px; overflow: hidden;
  background: #F7F2ED; border: 1px solid rgba(0,0,0,0.04);
  margin-bottom: 30px;
}
.result-cta-secondary-img {
  flex: 0 0 180px; min-height: 160px;
}
.result-cta-secondary-img img {
  width: 100%; height: 100%; object-fit: cover;
}
.result-cta-secondary-body {
  flex: 1; padding: 28px 32px; display: flex;
  flex-direction: column; justify-content: center;
}
.result-cta-secondary-body h3 {
  font-size: 17px; font-weight: 700; color: #4A4A4A;
  margin-bottom: 8px;
}
.result-cta-secondary-body > p {
  font-size: 13px; color: #999; line-height: 1.8; margin-bottom: 16px;
}
.result-cta-secondary .result-cta-btn.secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 24px; border-radius: 50px;
  font-size: 13px; font-weight: 600;
  background: #fff; color: #7A9BAB;
  border: 1.5px solid #E0D8D0;
  transition: all 0.3s ease; align-self: flex-start;
}
.result-cta-secondary .result-cta-btn.secondary:hover {
  background: #7A9BAB; color: #fff; border-color: #7A9BAB;
}

@media (max-width: 768px) {
  .result-cta-primary { flex-direction: column; }
  .result-cta-primary-img { flex: none; height: 180px; }
  .result-cta-primary-body { padding: 24px 20px; }
  .result-cta-primary-body h3 { font-size: 18px; }
  .result-cta-trust { gap: 12px; }
  .result-cta-secondary { flex-direction: column; }
  .result-cta-secondary-img { flex: none; height: 140px; }
  .result-cta-secondary-body { padding: 20px; }
}

.checklist-retry {
  display: block; margin: 0 auto;
  background: none; border: 1.5px solid #ddd;
  padding: 12px 28px; border-radius: 50px;
  font-size: 13px; color: #999; cursor: pointer;
  transition: all 0.3s;
}
.checklist-retry:hover {
  border-color: #7A9BAB; color: #7A9BAB;
}
@media (max-width: 768px) {
  .result-cta-area { grid-template-columns: 1fr; }
  .checklist-hero { min-height: 420px; }
  .checklist-hero h1 { font-size: 24px; }
  .checklist-hero-badge { width: 60px; height: 60px; }
  .checklist-hero-icon { font-size: 26px; }
  .checklist-hero-stats { gap: 16px; padding: 12px 24px; }
  .checklist-hero-stat .stat-num { font-size: 18px; }
  .checklist-hero-sub { font-size: 14px; }
}

/* ============================================
   Scroll CTA Popup (40% scroll trigger)
   ============================================ */
.scroll-cta-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.55); backdrop-filter: blur(4px);
  z-index: 9999; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all 0.35s ease;
}
.scroll-cta-overlay.active { opacity: 1; visibility: visible; }
.scroll-cta-popup {
  background: #fff; border-radius: 24px;
  max-width: 520px; width: 90%; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  transform: translateY(30px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1);
  position: relative;
}
.scroll-cta-overlay.active .scroll-cta-popup {
  transform: translateY(0) scale(1);
}
.scroll-cta-close {
  position: absolute; top: 12px; right: 16px;
  background: rgba(0,0,0,0.1); border: none; border-radius: 50%;
  width: 32px; height: 32px; font-size: 20px; color: #666;
  cursor: pointer; z-index: 2; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.scroll-cta-close:hover { background: rgba(0,0,0,0.2); }
.scroll-cta-img {
  height: 160px; overflow: hidden;
}
.scroll-cta-img img {
  width: 100%; height: 100%; object-fit: cover;
}
.scroll-cta-body {
  padding: 28px 32px 32px; text-align: center;
}
.scroll-cta-label {
  display: inline-block; font-size: 13px; font-weight: 700;
  color: #D4917D; margin-bottom: 8px;
}
.scroll-cta-body h3 {
  font-size: 22px; font-weight: 700; color: #2C3E50;
  margin-bottom: 10px; line-height: 1.5;
  border: none; padding: 0;
}
.scroll-cta-body p {
  font-size: 14px; color: #666; line-height: 1.7;
  margin-bottom: 18px;
}
.scroll-cta-trust {
  display: flex; justify-content: center; gap: 16px;
  margin-bottom: 22px;
}
.scroll-cta-trust span {
  font-size: 13px; font-weight: 600; color: #4A6741;
}
.scroll-cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #D4A574, #C4916A);
  color: #fff; font-size: 16px; font-weight: 700;
  padding: 16px 40px; border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(212,165,116,0.4);
  transition: all 0.3s ease;
}
.scroll-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(212,165,116,0.55);
  background: linear-gradient(135deg, #DDB584, #D4A17A);
  color: #fff;
}
.scroll-cta-note {
  display: block; font-size: 11px; color: #999;
  margin-top: 12px;
}
@media (max-width: 767px) {
  .scroll-cta-popup { max-width: 92%; }
  .scroll-cta-img { height: 120px; }
  .scroll-cta-body { padding: 20px 20px 24px; }
  .scroll-cta-body h3 { font-size: 18px; }
  .scroll-cta-trust { gap: 10px; }
  .scroll-cta-trust span { font-size: 12px; }
  .scroll-cta-btn { font-size: 14px; padding: 14px 32px; }
}