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

body {
  font-family: "Inter", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background-color: #ffffff;
}

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

.header {
  background: #ffffff;
  color: #1a1a1a;
  padding: 60px 0;
  text-align: center;
  margin-bottom: 60px;
  border-bottom: 1px solid #e5e5e5;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.header h1 {
  font-size: 3em;
  margin-bottom: 16px;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: -0.02em;
}

.header p {
  font-size: 1.25em;
  color: #666666;
  font-weight: 400;
}

.section {
  background: #ffffff;
  margin-bottom: 40px;
  padding: 40px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
}

.section h2 {
  color: #1a1a1a;
  font-size: 2em;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #1a1a1a;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.section h3 {
  color: #1a1a1a;
  font-size: 1.5em;
  margin: 32px 0 20px 0;
  font-weight: 600;
}

.section h4 {
  color: #333333;
  font-size: 1.25em;
  margin: 24px 0 16px 0;
  font-weight: 500;
}

.highlight-box {
  background: #f8f9fa;
  border-left: 4px solid #1a1a1a;
  padding: 24px;
  margin: 24px 0;
  border-radius: 0 8px 8px 0;
  border: 1px solid #e5e5e5;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 32px 0;
}

.stat-card {
  background: #ffffff;
  padding: 32px 24px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid #e5e5e5;
  transition: box-shadow 0.2s ease;
}

.stat-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.stat-number {
  font-size: 2.5em;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.persona-card {
  background: #ffffff;
  padding: 24px;
  margin: 20px 0;
  border-radius: 8px;
  border-left: 4px solid #1a1a1a;
  border: 1px solid #e5e5e5;
  transition: box-shadow 0.2s ease;
}

.persona-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.persona-name {
  font-weight: 600;
  color: #1a1a1a;
  font-size: 1.2em;
  margin-bottom: 12px;
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  background: #ffffff;
  margin: 12px 0;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #1a1a1a;
  border: 1px solid #e5e5e5;
  transition: box-shadow 0.2s ease;
}

.feature-list li:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.feature-list li strong {
  color: #1a1a1a;
  font-weight: 600;
}

.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #1a1a1a;
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  background: #ffffff;
  padding: 32px;
  border-radius: 8px;
  border: 1px solid #e5e5e5;
  transition: box-shadow 0.2s ease;
}

.timeline-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 40px;
  width: 16px;
  height: 16px;
  background: #1a1a1a;
  border-radius: 50%;
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 2px #1a1a1a;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 32px 0;
}

.kpi-item {
  background: #ffffff;
  padding: 24px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid #e5e5e5;
  transition: box-shadow 0.2s ease;
}

.kpi-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.kpi-value {
  font-size: 1.75em;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.risk-item {
  background: #f8f9fa;
  border: 1px solid #e5e5e5;
  padding: 20px;
  margin: 16px 0;
  border-radius: 8px;
  border-left: 4px solid #1a1a1a;
  transition: box-shadow 0.2s ease;
}

.risk-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.budget-table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  overflow: hidden;
}

.budget-table th,
.budget-table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid #e5e5e5;
}

.budget-table th {
  background: #1a1a1a;
  color: #ffffff;
  font-weight: 600;
}

.budget-table tr:nth-child(even) {
  background: #f8f9fa;
}

.budget-table tr:hover {
  background: #f0f0f0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 32px 0;
}

.team-member {
  background: #ffffff;
  padding: 24px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid #e5e5e5;
  transition: box-shadow 0.2s ease;
}

.team-member:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.team-role {
  font-weight: 600;
  color: #1a1a1a;
  font-size: 1.1em;
}

.team-count {
  font-size: 1.3em;
  color: #1a1a1a;
  margin-top: 8px;
  font-weight: 500;
}

@media (max-width: 768px) {
  .container {
    padding: 10px;
  }

  .header h1 {
    font-size: 2em;
  }

  .stats-grid,
  .kpi-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }
}

.toc {
  background: #f8f9fa;
  padding: 32px;
  border-radius: 8px;
  margin-bottom: 40px;
  border: 1px solid #e5e5e5;
}

.toc h3 {
  color: #1a1a1a;
  margin-bottom: 20px;
  font-size: 1.5em;
  font-weight: 600;
}

.toc ul {
  list-style: none;
  padding-left: 0;
}

.toc li {
  margin: 12px 0;
}

.toc a {
  color: #1a1a1a;
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 6px;
  display: block;
  transition: all 0.2s ease;
  font-weight: 500;
  border: 1px solid transparent;
}

.toc a:hover {
  background-color: #1a1a1a;
  color: #ffffff;
  border-color: #1a1a1a;
}

/* 추가적인 Black & White 스타일 */
ul {
  color: #333333;
  line-height: 1.7;
}

ul li {
  margin: 8px 0;
}

p {
  color: #333333;
  line-height: 1.7;
  margin-bottom: 16px;
}

/* 스크롤바 스타일링 */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #1a1a1a;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #333333;
}

/* 선택된 텍스트 스타일 */
::selection {
  background-color: #1a1a1a;
  color: #ffffff;
}

/* 포커스 스타일 */
a:focus,
button:focus {
  outline: 2px solid #1a1a1a;
  outline-offset: 2px;
}

/* 추가적인 타이포그래피 개선 */
.section p {
  font-size: 1.1em;
  line-height: 1.7;
}

.section ul li {
  font-size: 1.05em;
  line-height: 1.6;
}

/* 카드 호버 효과 개선 */
.stat-card,
.persona-card,
.feature-list li,
.kpi-item,
.team-member,
.risk-item {
  transition: all 0.2s ease;
}

/* 섹션 간격 조정 */
.section + .section {
  margin-top: 60px;
}
