/* =========================================
   사주ON — 랜딩 페이지 전용 CSS
   ========================================= */

/* ===== HERO ===== */
.hero-section {
  position: relative;
  background: linear-gradient(160deg, #1a4838 0%, #2c5f4f 45%, #3d7a65 100%);
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-h);
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(212,175,55,0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(212,175,55,0.08) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4af37' fill-opacity='0.04'%3E%3Ccircle cx='10' cy='10' r='1'/%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3Ccircle cx='50' cy='10' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 80px 20px 100px;
  text-align: center;
}
.hero-badge-wrap {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.22);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 30px;
  backdrop-filter: blur(8px);
}
.badge-season { background: rgba(212,175,55,0.18); border-color: rgba(212,175,55,0.4); color: var(--accent-light); }

/* 슬로건 */
.hero-slogan {
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 900;
  color: rgba(255,255,255,0.92);
  letter-spacing: -0.5px;
  margin-bottom: 14px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.hero-slogan span {
  color: var(--accent-light);
  font-style: italic;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero-highlight {
  background: linear-gradient(90deg, var(--accent-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.72);
  margin-bottom: 36px;
  line-height: 1.8;
}
.hero-sub strong { color: var(--accent-light); font-weight: 700; }

/* 히어로 입력창 */
.hero-input-box {
  display: flex;
  max-width: 620px;
  margin: 0 auto 20px;
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.25);
  border: 2px solid rgba(212,175,55,0.35);
}
.hero-input {
  flex: 1;
  padding: 17px 22px;
  font-size: 1rem;
  color: var(--text-dark);
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-main);
}
.hero-input::placeholder { color: var(--text-light); }
.hero-send-btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  padding: 14px 26px;
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
}
.hero-send-btn:hover { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); }

/* 빠른 칩 */
.quick-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 44px;
}
.chip {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.88);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s;
  backdrop-filter: blur(6px);
}
.chip:hover {
  background: rgba(212,175,55,0.2);
  border-color: var(--accent);
  color: var(--accent-light);
  transform: translateY(-2px);
}

/* 신뢰 바 */
.trust-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  max-width: 560px;
  margin: 0 auto;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 18px 12px;
  backdrop-filter: blur(8px);
}
.trust-item { flex: 1; text-align: center; }
.trust-num { display: block; font-size: 1.25rem; font-weight: 800; color: var(--accent-light); line-height: 1; }
.trust-label { display: block; font-size: 0.72rem; color: rgba(255,255,255,0.55); margin-top: 4px; }
.trust-div { width: 1px; height: 36px; background: rgba(255,255,255,0.15); flex-shrink: 0; }

/* ===== TOP4 ===== */
.top4-section {
  padding: 100px 0 80px;
  background: var(--bg-base);
}
.top4-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.top4-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: all 0.28s;
  position: relative;
  overflow: hidden;
}
.top4-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  transition: height 0.28s;
}
.top4-card--love::before { background: linear-gradient(90deg, #e91e8c, #ff6bb5); }
.top4-card--compat::before { background: linear-gradient(90deg, var(--primary), var(--primary-light)); }
.top4-card--biz::before { background: linear-gradient(90deg, var(--accent-dark), var(--accent)); }
.top4-card--job::before { background: linear-gradient(90deg, #1565c0, #42a5f5); }
.top4-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.top4-card:hover::before { height: 100%; opacity: 0.06; }
.card-rank {
  display: inline-block;
  background: var(--accent-pale);
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.card-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 14px;
}
.top4-card--love .card-icon-wrap { background: #ffe0ef; color: #e91e8c; }
.top4-card--compat .card-icon-wrap { background: var(--primary-pale); color: var(--primary); }
.top4-card--biz .card-icon-wrap { background: var(--accent-pale); color: var(--accent-dark); }
.top4-card--job .card-icon-wrap { background: #e3f2fd; color: #1565c0; }
.card-title { font-size: 1.2rem; font-weight: 800; color: var(--text-dark); margin-bottom: 8px; }
.card-hook { font-size: 0.85rem; color: var(--text-muted); font-style: italic; margin-bottom: 16px; line-height: 1.5; }
.card-list { margin-bottom: 20px; }
.card-list li {
  font-size: 0.82rem;
  color: var(--text-body);
  padding: 3px 0 3px 14px;
  position: relative;
}
.card-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}
.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.card-point { font-size: 0.9rem; font-weight: 700; color: var(--accent-dark); }
.card-cta { font-size: 0.82rem; font-weight: 600; color: var(--primary); }

/* ===== 병오년 배너 ===== */
.season-banner {
  background: linear-gradient(135deg, #1a4838 0%, #2c5f4f 50%, #3d7a65 100%);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.season-banner::before {
  content: '';
  position: absolute;
  right: -10%;
  top: -20%;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(212,175,55,0.06);
  pointer-events: none;
}
.season-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.season-text { flex: 1; }
.season-year-label {
  display: inline-block;
  background: rgba(212,175,55,0.2);
  color: var(--accent-light);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  border: 1px solid rgba(212,175,55,0.35);
  margin-bottom: 14px;
  letter-spacing: 2px;
}
.season-text h2 { font-size: 1.9rem; font-weight: 800; color: var(--white); margin-bottom: 12px; }
.season-text p { font-size: 0.93rem; color: rgba(255,255,255,0.7); line-height: 1.7; margin-bottom: 24px; }
.season-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.season-chip {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.88);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s;
}
.season-chip:hover { background: var(--accent); color: var(--text-dark); border-color: var(--accent); }
.season-deco { flex-shrink: 0; }
.season-circle {
  width: 170px; height: 170px;
  border-radius: 50%;
  border: 3px solid rgba(212,175,55,0.4);
  background: rgba(212,175,55,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.season-icon { font-size: 2.4rem; }
.season-kanji { font-size: 1.4rem; font-weight: 700; color: var(--accent-light); letter-spacing: 4px; }
.season-year { font-size: 0.85rem; color: rgba(255,255,255,0.5); }

/* ===== 2열 카드 ===== */
.second-cards-section { padding: 80px 0; background: var(--white); }
.second-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.second-card {
  background: var(--bg-base);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  cursor: pointer;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.second-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
  background: var(--white);
}
.second-card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.second-card h4 { font-size: 1rem; font-weight: 700; color: var(--text-dark); }
.second-hook { font-size: 0.8rem; color: var(--text-muted); font-style: italic; flex: 1; }
.second-point { font-size: 0.82rem; font-weight: 700; color: var(--accent-dark); background: var(--accent-pale); padding: 3px 10px; border-radius: 20px; }

/* ===== 전체 카테고리 탭 ===== */
.all-category-section { padding: 80px 0; background: var(--bg-base); }
.cat-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 36px;
}
.cat-tab {
  padding: 9px 22px;
  border-radius: 30px;
  border: 2px solid var(--border);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--white);
  transition: all 0.2s;
}
.cat-tab:hover { border-color: var(--primary); color: var(--primary); }
.cat-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}
.cat-item {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 14px;
  cursor: pointer;
  transition: all 0.22s;
  text-align: center;
}
.cat-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}
.cat-item-icon { font-size: 1.5rem; margin-bottom: 7px; }
.cat-item-name { font-size: 0.85rem; font-weight: 600; color: var(--text-dark); margin-bottom: 4px; }
.cat-item-pt { font-size: 0.72rem; color: var(--text-muted); }

/* ===== 요금제 미리보기 ===== */
.pricing-preview-section { padding: 80px 0; background: var(--white); }
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
.pricing-card {
  background: var(--bg-base);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  position: relative;
  transition: all 0.25s;
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.pricing-card--best {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.pricing-card--best .pricing-name,
.pricing-card--best .pricing-amount,
.pricing-card--best .pricing-point { color: var(--white); }
.pricing-card--best .pricing-list li { color: rgba(255,255,255,0.8); }
.pricing-card--best .pricing-list li::before { color: var(--accent-light); }
.pricing-best-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--text-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
}
.pricing-name { font-size: 0.88rem; font-weight: 700; color: var(--text-muted); margin-bottom: 10px; }
.pricing-amount { font-size: 2rem; font-weight: 800; color: var(--text-dark); line-height: 1; margin-bottom: 4px; }
.pricing-point { font-size: 1.1rem; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.pricing-bonus {
  display: inline-block;
  background: var(--accent-pale);
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.pricing-card--best .pricing-bonus { background: rgba(212,175,55,0.25); color: var(--accent-light); }
.pricing-list { text-align: left; margin-bottom: 24px; }
.pricing-list li {
  font-size: 0.83rem;
  color: var(--text-body);
  padding: 4px 0 4px 16px;
  position: relative;
}
.pricing-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}
.pricing-free-note { text-align: center; font-size: 0.9rem; color: var(--text-muted); }
.pricing-free-note strong { color: var(--primary); }

/* ===== 후기 ===== */
.review-section { padding: 80px 0; background: var(--bg-base); }
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}
.review-stars { color: var(--accent); font-size: 0.85rem; margin-bottom: 10px; }
.review-text { font-size: 0.88rem; color: var(--text-body); line-height: 1.7; margin-bottom: 16px; }
.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.review-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
  background: var(--primary);
  flex-shrink: 0;
}
.review-name { font-size: 0.82rem; font-weight: 600; color: var(--text-dark); }
.review-cat { font-size: 0.75rem; color: var(--text-muted); }

/* ===== FAQ ===== */
.faq-section { padding: 80px 0; background: var(--white); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--bg-base);
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
}
.faq-q i { transition: transform 0.3s; font-size: 0.8rem; color: var(--text-muted); }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-a-inner {
  padding: 0 22px 18px;
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 200px; }

/* ===== CTA 배너 ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 70px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta-text h2 { font-size: 1.75rem; font-weight: 800; color: var(--white); margin-bottom: 8px; }
.cta-text p { font-size: 0.95rem; color: rgba(255,255,255,0.72); }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .top4-grid { grid-template-columns: repeat(2, 1fr); }
  .second-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-cards { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto 24px; }
  .pricing-card--best { transform: none; }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero-inner { padding: 60px 20px 80px; }
  .hero-title { font-size: 1.8rem; }
  .hero-input-box { border-radius: var(--radius-lg); }
  .hero-send-btn { padding: 14px 18px; font-size: 0.85rem; border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
  .trust-bar { flex-wrap: wrap; gap: 8px; }
  .trust-div { display: none; }
  .trust-item { min-width: calc(50% - 8px); }
  .season-inner { flex-direction: column; text-align: center; }
  .season-chips { justify-content: center; }
  .top4-grid { grid-template-columns: 1fr; }
  .second-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
  .review-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .quick-chips .chip { font-size: 0.78rem; padding: 7px 12px; }
}
