:root{--build-id:"26e42658-0b79-4a05-a913-a8b020e46e8c";}
/* 기본 리셋 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* CSS 변수 - C32 퍼플 계열 */
:root {
  --primary: #9333ea;
  --bg: #f5f3ff;
  --text: #4c1d95;
  --accent: #a78bfa;
  --heading: var(--text);
  --link: var(--text);
}

/* F6 폰트 스택 */
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;
  background: var(--bg);
  color: var(--text);
}

/* H16 헤딩 스타일 */
h1 {
  font-size: clamp(2.5rem, 5vw, 3.875rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--heading);
}

h2 {
  font-size: clamp(1.875rem, 4vw, 2.906rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--heading);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.18rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--heading);
}

/* 접근성 - 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;
}

/* 키보드 포커스 스타일 */
a:focus-visible,
input:focus-visible,
label:focus-visible {
  outline: 3px solid #0066cc;
  outline-offset: 2px;
}

/* N11 네비게이션 - 상단 스크롤 + 중앙 로고 + 좌우 메뉴 (대칭) */
header {
  background: rgba(245, 243, 255, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(147, 51, 234, 0.1);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.menu-checkbox {
  display: none;
}

.menu-toggle {
  display: none;
  font-size: 1.75rem;
  cursor: pointer;
  color: var(--primary);
  background: none;
  border: none;
  padding: 0.5rem;
}

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

nav a {
  color: var(--link);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

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

/* S03 여백 시스템 */
section {
  padding: 6rem 0;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.gap-section {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

/* L08 레이아웃 - 분할 스크린 히어로 */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: 70vh;
}

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

.hero-content p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* 3열 특징 그리드 */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
}

/* K16 카드 스타일 */
.card {
  border-radius: 0.75rem;
  border: 1px solid rgba(147, 51, 234, 0.2);
  padding: 1.5rem;
  transform: rotate(-1deg);
  background: #fff;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: rotate(0deg);
  box-shadow: 0 8px 24px rgba(147, 51, 234, 0.15);
}

.card h3 {
  margin-bottom: 1rem;
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

/* 비교표 */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(147, 51, 234, 0.1);
}

.comparison-table th,
.comparison-table td {
  padding: 1.25rem;
  text-align: left;
  border-bottom: 1px solid rgba(147, 51, 234, 0.1);
}

.comparison-table th {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

/* B16 버튼 스타일 */
.btn {
  display: inline-block;
  border-radius: 0.5rem 0 0.5rem 0;
  padding: 1.125rem 2.25rem;
  font-weight: 700;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(147, 51, 234, 0.2);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: #fff;
}

/* 하단 CTA */
.cta-bottom {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  text-align: center;
  padding: 4rem 2rem;
  border-radius: 1rem;
}

.cta-bottom h2 {
  color: #fff;
  margin-bottom: 1rem;
}

.cta-bottom p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.cta-bottom .btn {
  background: #fff;
  color: var(--primary);
}

.cta-bottom .btn:hover {
  background: var(--bg);
}

/* SVG 스타일 */
.hero-visual {
  width: 100%;
  height: auto;
}

/* Footer */
footer {
  background: var(--text);
  color: #fff;
  padding: 3rem 2rem 2rem;
  margin-top: 6rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 2rem;
}

.footer-brand h3 {
  color: #fff;
  margin-bottom: 1rem;
}

.footer-links h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1rem;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  line-height: 2;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

/* 문서 컨테이너 (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 {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    position: relative;
    z-index: 60;
  }

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

  nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background: var(--bg);
    transition: left 0.3s;
    padding: 5rem 2rem 2rem;
    z-index: 55;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  }

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

  nav ul {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }

  .hero-split {
    grid-template-columns: 1fr;
    gap: 2rem;
    min-height: auto;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  section {
    padding: 3rem 0;
  }

  .comparison-table {
    font-size: 0.875rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 0.875rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }

  .hero-split {
    gap: 3rem;
  }
}