:root{--build-id:"f4795dd2-3621-4aba-a448-0e88aed0ffc7";}
/* 기본 리셋 및 CSS 변수 */
:root {
  --primary: #2563eb;
  --bg: #f0f9ff;
  --text: #0c4a6e;
  --accent: #0ea5e9;
  --heading: var(--text);
  --link: var(--text);
  --section-padding: 6rem 0;
  --container-width: 1400px;
  --gap: 4rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Roboto, system-ui, "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: 0em;
  color: var(--text);
  background: var(--bg);
}

/* Skip Link 접근성 */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

/* 컨테이너 */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* 타이포그래피 */
h1 {
  font-family: Roboto, system-ui, "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--heading);
  margin-bottom: 1.5rem;
}

h2 {
  font-family: Roboto, system-ui, "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--heading);
  margin-bottom: 1.25rem;
}

h3 {
  font-family: Roboto, system-ui, "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
  font-size: 1.96rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--heading);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible,
input:focus-visible,
label:focus-visible {
  outline: 3px solid #0066cc;
  outline-offset: 2px;
}

/* 헤더 네비게이션 N11 스타일 */
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(12, 74, 110, 0.1);
}

.header-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.logo:hover {
  text-decoration: none;
  opacity: 0.8;
}

nav {
  display: flex;
  gap: 3rem;
  width: 100%;
  justify-content: space-between;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

nav ul:first-child {
  padding-left: 0;
}

nav ul:last-child {
  padding-right: 0;
  margin-left: auto;
}

nav a {
  font-weight: 600;
  color: var(--text);
  transition: color 0.2s;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--primary);
  text-decoration: none;
}

/* 모바일 메뉴 토글 */
.menu-checkbox {
  display: none;
}

.menu-toggle {
  display: none;
  font-size: 1.75rem;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--text);
  z-index: 60;
}

@media (max-width: 768px) {
  .header-container {
    padding: 1rem 1.5rem;
  }

  .logo {
    position: static;
    transform: none;
  }

  .menu-toggle {
    display: block;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: white;
    flex-direction: column;
    justify-content: flex-start;
    padding: 5rem 2rem 2rem;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  }

  .menu-checkbox:checked ~ nav {
    right: 0;
  }

  nav ul {
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    padding: 0;
    margin: 0;
  }

  nav ul:last-child {
    margin-left: 0;
  }
}

/* 섹션 기본 스타일 */
section {
  padding: var(--section-padding);
}

/* 버튼 B03 스타일 */
.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: white;
  border-radius: 9999px;
  padding: 1.25rem 3rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 9999px;
  padding: 1.125rem 2.875rem;
  font-weight: 700;
  transition: all 0.3s;
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
  text-decoration: none;
}

/* 카드 K03 스타일 */
.card {
  background: white;
  border-radius: 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 2.5rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
}

/* L02 레이아웃: 좌우분할 히어로 */
.hero {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  padding: 8rem 0 6rem;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: center;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.125rem;
  line-height: 1.75;
  margin-bottom: 2rem;
  color: var(--text);
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 4열 카드 그리드 */
.cards-4col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

/* 지그재그 레이아웃 */
.zigzag-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: center;
  margin-bottom: 4rem;
}

.zigzag-section:nth-child(even) .zigzag-content {
  order: 2;
}

.zigzag-section:nth-child(even) .zigzag-image {
  order: 1;
}

.zigzag-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Q&A 스타일 (CS03) */
.qna-item {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.qna-question {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qna-answer {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
}

/* 푸터 */
footer {
  background: white;
  border-top: 2px solid rgba(12, 74, 110, 0.1);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-about h3 {
  margin-bottom: 1rem;
}

.footer-links h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--heading);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(12, 74, 110, 0.1);
  color: var(--text);
  font-size: 0.9rem;
}

/* Privacy/Terms 문서 스타일 */
.doc-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: center;
}

.doc-container h1 {
  margin-bottom: 2rem;
}

.doc-container p {
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* 리뷰 카드 */
.review-card {
  background: white;
  border-radius: 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 2.5rem;
  text-align: center;
}

.review-stars {
  color: #ffa500;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.reviewer-name {
  font-weight: 700;
  color: var(--primary);
  margin-top: 1.5rem;
}

/* 반응형 */
@media (max-width: 1200px) {
  .container {
    max-width: 100%;
  }

  .cards-4col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  .hero {
    padding: 4rem 0 3rem;
  }

  .hero-split,
  .zigzag-section,
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .zigzag-section:nth-child(even) .zigzag-content,
  .zigzag-section:nth-child(even) .zigzag-image {
    order: 0;
  }

  .cards-4col {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }

  section {
    padding: 3rem 0;
  }
}