/* ===== 토지와 자유 — 커스텀 스타일 ===== */

html { scroll-behavior: smooth; }
body { scroll-padding-top: 80px; }

/* 스크롤 시 헤더 배경 */
#site-header.scrolled {
  background: rgba(10, 14, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* 히어로 배경 광원 */
.hero-glow {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 55vw;
  height: 55vw;
  max-width: 720px;
  max-height: 720px;
  background: radial-gradient(circle, rgba(198, 241, 53, 0.18) 0%, rgba(198, 241, 53, 0) 68%);
  filter: blur(30px);
  pointer-events: none;
  z-index: 0;
}
.hero-glow-bottom {
  top: auto;
  bottom: -20%;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255, 176, 32, 0.14) 0%, rgba(255, 176, 32, 0) 70%);
}

/* 스크롤 리빌 애니메이션 */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* 통계 카드 */
.stat-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  padding: 2rem;
  background: linear-gradient(160deg, rgba(255,255,255,0.04), transparent);
  transition: border-color 0.3s, transform 0.3s;
}
.stat-card:hover {
  border-color: rgba(198, 241, 53, 0.4);
  transform: translateY(-4px);
}

/* 3대 특권 행 */
.privilege-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.3s, background 0.3s;
}
.privilege-row:hover {
  border-color: rgba(198, 241, 53, 0.4);
  background: rgba(198, 241, 53, 0.04);
}
.privilege-num {
  font-family: 'Space Grotesk', monospace;
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(198, 241, 53, 0.35);
  line-height: 1;
}
.privilege-icon {
  font-size: 2rem;
  color: rgba(198, 241, 53, 0.6);
}
@media (max-width: 640px) {
  .privilege-row { grid-template-columns: auto 1fr; }
  .privilege-icon { display: none; }
}

/* 슬라이더 */
.tlq-slider {
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}
.tlq-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #C6F135;
  cursor: pointer;
  box-shadow: 0 0 0 4px rgba(198, 241, 53, 0.2);
  transition: transform 0.15s;
}
.tlq-slider::-webkit-slider-thumb:hover { transform: scale(1.15); }
.tlq-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: #C6F135;
  cursor: pointer;
  box-shadow: 0 0 0 4px rgba(198, 241, 53, 0.2);
}

/* 계보 타임라인 */
.lineage-item { padding-left: 1.75rem; position: relative; }
.lineage-dot {
  position: absolute;
  left: -9px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #FFB020;
  border: 3px solid #1A1410;
}
.lineage-dot-active {
  background: #C6F135;
  box-shadow: 0 0 0 5px rgba(198, 241, 53, 0.2);
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 5px rgba(198, 241, 53, 0.2); }
  50% { box-shadow: 0 0 0 9px rgba(198, 241, 53, 0.05); }
}

/* 로드맵 카드 */
.roadmap-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.02);
  transition: transform 0.3s, border-color 0.3s;
}
.roadmap-card:hover {
  transform: translateY(-6px);
  border-color: rgba(198, 241, 53, 0.4);
}
.roadmap-card-final {
  background: #C6F135;
  border-color: #C6F135;
}
.roadmap-step {
  font-family: 'Space Grotesk', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(198, 241, 53, 0.7);
}
.roadmap-ic { font-size: 1.75rem; color: #C6F135; }

/* ===== 이념 정체성 카드 ===== */
.identity-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  padding: 2rem;
  background: linear-gradient(160deg, rgba(255,255,255,0.04), transparent);
  transition: border-color 0.3s, transform 0.3s;
}
.identity-card:hover {
  border-color: rgba(198, 241, 53, 0.4);
  transform: translateY(-4px);
}
.identity-ic { font-size: 1.9rem; color: #C6F135; }

/* ===== 토지가치세 활용 카드 ===== */
.usage-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.75rem;
  padding: 2.25rem;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.3s, transform 0.3s;
}
.usage-card:hover { transform: translateY(-4px); border-color: rgba(198, 241, 53, 0.4); }
.usage-card-accent {
  background: linear-gradient(160deg, rgba(198, 241, 53, 0.08), transparent);
  border-color: rgba(198, 241, 53, 0.3);
}
.usage-ic { font-size: 2.25rem; color: #C6F135; }
.usage-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: 'Space Grotesk', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
}
.usage-badge-accent { background: #C6F135; color: #0A0E14; }

/* ===== 국제 사례 탭 ===== */
.global-tab {
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.25s;
}
.global-tab:hover { border-color: rgba(198, 241, 53, 0.5); color: #fff; }
.global-tab.is-active {
  background: #C6F135;
  border-color: #C6F135;
  color: #0A0E14;
}
.global-panel {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.75rem;
  padding: 2.25rem;
  background: rgba(255, 255, 255, 0.02);
  animation: fadeInPanel 0.4s ease;
}
.global-panel.is-active { display: block; }

/* ===== 왜 보수인가 ===== */
.con-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  padding: 1.6rem;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.3s, transform 0.3s;
}
.con-card:hover { border-color: rgba(198, 241, 53, 0.4); transform: translateY(-3px); }
.con-ic { font-size: 1.5rem; color: #C6F135; }
.con-quote {
  border-left: 4px solid #C6F135;
  padding: 1.5rem 1.75rem;
  border-radius: 0 1rem 1rem 0;
  background: linear-gradient(90deg, rgba(198, 241, 53, 0.06), transparent);
}
@keyframes fadeInPanel {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
