/* ===================================================================
   조사통.com (josatong.com) - 프리미엄 세무 위기대응 전문 스타일시트
   Reference: MG세무조사컨설팅 B2B 프레스티지 + 전환율 극대화 CRO UI
   =================================================================== */

:root {
  --bg-dark: #060b14;
  --bg-primary: #0a1120;
  --bg-secondary: #0f1a30;
  --bg-card: #13223d;
  --bg-card-hover: #192d52;
  --bg-glass: rgba(19, 34, 61, 0.75);

  --gold-primary: #c5a880;
  --gold-light: #f5e8c8;
  --gold-dark: #9a7b4f;
  --gold-glow: rgba(197, 168, 128, 0.25);
  --gold-gradient: linear-gradient(135deg, #f5e8c8 0%, #c5a880 50%, #9a7b4f 100%);

  --red-alert: #ef4444;
  --red-alert-dark: #b91c1c;
  --red-glow: rgba(239, 68, 68, 0.35);

  --text-white: #ffffff;
  --text-primary: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --border-line: rgba(197, 168, 128, 0.18);
  --border-card: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(197, 168, 128, 0.5);

  --font-base: -apple-system, BlinkMacSystemFont, "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --shadow-card: 0 16px 36px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 25px rgba(197, 168, 128, 0.18);
}

/* Reset & Basics */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-base);
}

body {
  overflow-x: hidden;
  line-height: 1.65;
  background: radial-gradient(circle at 50% 0%, #11203d 0%, var(--bg-dark) 55%);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & GNB */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(6, 11, 20, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-line);
  transition: all 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-symbol {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #1e3357 0%, #0d1728 100%);
  border: 1px solid var(--gold-primary);
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 900;
  color: var(--gold-light);
  box-shadow: 0 0 14px var(--gold-glow);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #fff;
}

.logo-title span {
  color: var(--gold-primary);
}

.logo-sub {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-dim);
}

.gnb-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.gnb-menu a {
  font-size: 15px;
  font-weight: 700;
  color: #cbd5e1;
  transition: color 0.2s;
  padding: 6px 0;
  position: relative;
}

.gnb-menu a:hover {
  color: var(--gold-light);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-urgent-call {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-gradient);
  color: #060b14;
  font-weight: 900;
  font-size: 15px;
  padding: 10px 20px;
  border-radius: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 18px var(--gold-glow);
}

.btn-urgent-call:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(197, 168, 128, 0.4);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 80px 0 60px;
  text-align: center;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(circle, rgba(197, 168, 128, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.badge-alert {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 24px;
  box-shadow: 0 0 15px var(--red-glow);
}

.badge-alert .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--red-alert);
  box-shadow: 0 0 8px var(--red-alert);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

.hero-title {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -1.2px;
  margin-bottom: 20px;
  color: #ffffff;
  word-break: keep-all;
}

.hero-title .highlight {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: 20px;
  color: #94a3b8;
  max-width: 800px;
  margin: 0 auto 36px;
  line-height: 1.7;
  word-break: keep-all;
}

.hero-subtitle strong {
  color: var(--gold-light);
  font-weight: 800;
}

/* Quick Action Card in Hero */
.hero-cta-box {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.btn-primary-action {
  background: var(--gold-gradient);
  color: #080e1a;
  font-size: 18px;
  font-weight: 900;
  padding: 16px 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 26px var(--gold-glow);
  transition: all 0.25s ease;
}

.btn-primary-action:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 34px rgba(197, 168, 128, 0.45);
}

.btn-secondary-action {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-line);
  color: var(--gold-light);
  font-size: 18px;
  font-weight: 800;
  padding: 16px 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s ease;
}

.btn-secondary-action:hover {
  background: rgba(197, 168, 128, 0.1);
  border-color: var(--gold-primary);
  transform: translateY(-3px);
}

/* Hero Trust Badges */
.trust-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  padding: 18px 24px;
  background: rgba(15, 26, 48, 0.6);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  max-width: 960px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #cbd5e1;
}

.trust-item .icon {
  color: var(--gold-primary);
  font-size: 18px;
}

/* Warning Section (공포의 실체화 / 지금 전화하면 안 되는 이유) */
.section-warning {
  padding: 70px 0;
  background: #090f1c;
  border-top: 1px solid rgba(239, 68, 68, 0.15);
  border-bottom: 1px solid rgba(239, 68, 68, 0.15);
}

.warning-card {
  background: linear-gradient(145deg, rgba(30, 20, 25, 0.7) 0%, rgba(15, 20, 32, 0.9) 100%);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.warning-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: var(--red-alert);
}

.warning-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 28px;
}

.warning-icon {
  font-size: 38px;
  line-height: 1;
}

.warning-title {
  font-size: 28px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.3;
}

.warning-title span {
  color: #f87171;
}

.warning-subtitle {
  font-size: 16px;
  color: #94a3b8;
  margin-top: 6px;
}

.warning-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.warning-item {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 24px;
}

.warning-item-badge {
  color: #f87171;
  font-weight: 900;
  font-size: 13px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.warning-item h4 {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.4;
}

.warning-item p {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.6;
}

/* Category Matrix Tabs (4대 메인 트랙) */
.section-tracks {
  padding: 90px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 50px;
}

.section-tag {
  font-size: 13px;
  font-weight: 800;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: 38px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.8px;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

.tracks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.track-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
}

.track-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: var(--border-highlight);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}

.track-num {
  font-size: 13px;
  font-weight: 900;
  color: var(--gold-primary);
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.track-card h3 {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.35;
}

.track-status-pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.15);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
  align-self: flex-start;
}

.track-body {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

.track-points {
  list-style: none;
  margin-bottom: 24px;
}

.track-points li {
  font-size: 13px;
  color: #cbd5e1;
  padding: 5px 0 5px 18px;
  position: relative;
}

.track-points li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--gold-primary);
  font-size: 12px;
}

.track-cta-btn {
  width: 100%;
  padding: 12px 0;
  text-align: center;
  background: rgba(197, 168, 128, 0.1);
  border: 1px solid var(--border-line);
  color: var(--gold-light);
  font-weight: 800;
  font-size: 14px;
  border-radius: 8px;
  transition: all 0.2s;
}

.track-card:hover .track-cta-btn {
  background: var(--gold-gradient);
  color: #060b14;
  border-color: transparent;
}

/* 10대 확장 리스크 매트릭스 (증상별 원클릭 필터) */
.section-symptoms {
  padding: 70px 0;
  background: #091224;
}

.symptom-filter-nav {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.filter-btn {
  padding: 10px 18px;
  border-radius: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: #94a3b8;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s;
}

.filter-btn.active, .filter-btn:hover {
  background: var(--gold-gradient);
  color: #060b14;
  border-color: transparent;
  font-weight: 900;
}

.symptom-detail-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-highlight);
  border-radius: 16px;
  padding: 36px;
  max-width: 1040px;
  margin: 0 auto;
  box-shadow: var(--shadow-card);
}

.panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.panel-col h4 {
  font-size: 18px;
  font-weight: 900;
  color: var(--gold-light);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.panel-col p {
  font-size: 15px;
  color: #cbd5e1;
  line-height: 1.7;
}

/* Success Cases & Reductions (MG 스타일 증거 섹션) */
.section-cases {
  padding: 90px 0;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}

.case-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-4px);
}

.case-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.case-badge {
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
}

.reduction-badge {
  background: var(--gold-gradient);
  color: #060b14;
  font-size: 14px;
  font-weight: 900;
  padding: 5px 12px;
  border-radius: 20px;
  box-shadow: 0 4px 12px var(--gold-glow);
}

.case-card h3 {
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.4;
}

.case-numbers {
  display: flex;
  gap: 16px;
  background: rgba(0, 0, 0, 0.3);
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.num-box {
  flex: 1;
}

.num-label {
  font-size: 11px;
  color: #64748b;
  margin-bottom: 2px;
  font-weight: 700;
}

.num-val {
  font-size: 16px;
  font-weight: 900;
}

.num-val.before {
  color: #f87171;
  text-decoration: line-through;
}

.num-val.after {
  color: var(--gold-light);
}

.case-quote {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.6;
  font-style: italic;
  padding-left: 12px;
  border-left: 2px solid var(--gold-primary);
  margin-bottom: 16px;
}

/* 4-Step Process Section */
.section-process {
  padding: 90px 0;
  background: #091224;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.process-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  padding: 30px 24px;
  position: relative;
}

.process-step {
  font-size: 32px;
  font-weight: 900;
  color: var(--gold-primary);
  opacity: 0.5;
  margin-bottom: 12px;
}

.process-card h4 {
  font-size: 19px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 10px;
}

.process-card p {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.65;
}

/* FAQ Section (AEO Schema Target) */
.section-faq {
  padding: 90px 0;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s;
}

.faq-question {
  width: 100%;
  padding: 22px 24px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  gap: 16px;
}

.faq-icon {
  font-size: 20px;
  color: var(--gold-primary);
  transition: transform 0.25s;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: rgba(0, 0, 0, 0.2);
}

.faq-answer-inner {
  padding: 20px 24px 24px;
  font-size: 15px;
  color: #cbd5e1;
  line-height: 1.8;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* SEO Semantic Hidden Block (참고 사이트 1 기법) */
.seo-semantic-block {
  max-width: 1200px;
  margin: 40px auto;
  padding: 30px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: #64748b;
  line-height: 1.8;
}

.seo-semantic-block h2 {
  font-size: 15px;
  color: #94a3b8;
  margin-bottom: 12px;
  font-weight: 700;
}

.seo-semantic-block strong {
  color: #cbd5e1;
}

/* Footer */
.footer {
  background: #040810;
  border-top: 1px solid var(--border-line);
  padding: 60px 0 110px;
  font-size: 13px;
  color: #64748b;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  font-size: 20px;
  font-weight: 900;
  color: #fff;
}

.footer-brand span {
  color: var(--gold-primary);
}

.footer-info {
  line-height: 1.8;
}

.footer-info a {
  color: #cbd5e1;
  text-decoration: underline;
}

.disclaimer-box {
  margin-top: 24px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  font-size: 12px;
  color: #475569;
}

/* Floating Bottom Bar (모바일 필수) */
.floating-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(6, 11, 20, 0.95);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-line);
  padding: 12px 16px;
  z-index: 9999;
  display: flex;
  justify-content: center;
}

.floating-inner {
  max-width: 600px;
  width: 100%;
  display: flex;
  gap: 12px;
}

.float-btn {
  flex: 1;
  padding: 14px 0;
  text-align: center;
  font-size: 15px;
  font-weight: 900;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.15s;
}

.float-btn:active {
  transform: scale(0.98);
}

.float-btn.kakao {
  background: #fee500;
  color: #191919;
}

.float-btn.call {
  background: var(--gold-gradient);
  color: #060b14;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 40px;
  }
  .warning-grid, .tracks-grid, .cases-grid, .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .panel-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 64px;
  }
  .gnb-menu {
    display: none;
  }
  .hero-title {
    font-size: 32px;
    letter-spacing: -0.8px;
  }
  .hero-subtitle {
    font-size: 16px;
  }
  .hero-cta-box {
    flex-direction: column;
    width: 100%;
  }
  .btn-primary-action, .btn-secondary-action {
    width: 100%;
    justify-content: center;
  }
  .warning-grid, .tracks-grid, .cases-grid, .process-grid {
    grid-template-columns: 1fr;
  }
  .warning-card {
    padding: 24px;
  }
  .warning-title {
    font-size: 22px;
  }
  .trust-strip {
    gap: 16px;
  }
}
