:root{--build-id:"adbecb24-f864-42a5-8ac8-c04188077e10";}
/* 기본 리셋 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* F5: Android Core 폰트 스택 */
body {
  font-family: Roboto, "Noto Sans KR", "Malgun Gothic", "Segoe UI", -apple-system, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: 0em;
  background-color: #e0e7ff;
  color: #3730a3;
}

/* C28: 인디고 색상 팔레트 */
:root {
  --primary: #4f46e5;
  --bg: #e0e7ff;
  --text: #3730a3;
  --accent: #6366f1;
  --heading: #3730a3;
  --link: #3730a3;
}

/* Skip to content 링크 */
.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;
}

/* N09: 상단 투명 + 좌측 로고 + 중앙 검색 + 우측 메뉴 */
header {
  background: rgba(224, 231, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(79, 70, 229, 0.1);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.search-box {
  flex: 1;
  max-width: 400px;
  padding: 0.5rem 1rem;
  border: 2px solid var(--primary);
  border-radius: 0.5rem;
  background: white;
  text-align: center;
  color: var(--text);
  font-size: 0.875rem;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

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);
  text-decoration: underline;
}

/* 햄버거 메뉴 (모바일) */
.menu-checkbox {
  display: none;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
}

/* S01: section 5rem 0, container 1280px, gap 3rem */
section {
  padding: 5rem 2rem;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
}

/* H14: 헤딩 스타일 */
h1 {
  font-size: clamp(2.5rem, 5vw, 3.625rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--heading);
  text-decoration: underline;
  text-decoration-color: var(--primary);
  text-decoration-thickness: 4px;
  text-underline-offset: 8px;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(1.875rem, 4vw, 2.719rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--heading);
  margin-bottom: 1.25rem;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.039rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--heading);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
  color: var(--text);
}

/* B14: 버튼 스타일 (transform: skew) */
.btn {
  display: inline-block;
  border-radius: 0.25rem;
  padding: 1rem 2rem;
  font-weight: 600;
  background: var(--primary);
  color: white;
  text-decoration: none;
  transform: skew(-5deg);
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--accent);
  transform: skew(-5deg) translateY(-2px);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

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

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

/* K14: 카드 스타일 (border-radius 비대칭) */
.card {
  border-radius: 1rem 0 1rem 0;
  border: 2px solid var(--primary);
  padding: 1.75rem;
  background: white;
  transition: all 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.2);
}

/* L07: 오버레이 히어로 */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero h1 {
  color: white;
  text-decoration-color: white;
}

.hero p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

/* 카드 그리드 */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

/* 카드 슬라이더 영역 */
.card-slider {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
}

.card-slider .card {
  min-width: 320px;
  scroll-snap-align: start;
}

.card-slider::-webkit-scrollbar {
  height: 8px;
}

.card-slider::-webkit-scrollbar-track {
  background: rgba(79, 70, 229, 0.1);
  border-radius: 4px;
}

.card-slider::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

/* FAQ 아코디언 */
.faq-item {
  border: 2px solid var(--primary);
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: white;
}

.faq-item h3 {
  margin-bottom: 0.75rem;
}

.faq-item p {
  margin-bottom: 0;
}

/* 플로팅 CTA */
.floating-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 40;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) skew(-5deg);
  }
  50% {
    transform: translateY(-10px) skew(-5deg);
  }
}

/* 2열 그리드 */
.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
  align-items: start;
}

/* 리스트 스타일 */
.feature-list {
  list-style: none;
  margin-top: 2rem;
}

.feature-list li {
  padding: 1.25rem;
  margin-bottom: 1rem;
  background: white;
  border-radius: 0.5rem;
  border-left: 4px solid var(--primary);
  color: var(--text);
}

/* Footer */
footer {
  background: var(--primary);
  color: white;
  padding: 3rem 2rem 2rem;
  margin-top: 5rem;
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer-links a:hover {
  opacity: 0.8;
}

.footer-content p {
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
}

/* 접근성: 포커스 스타일 */
a:focus-visible,
button:focus-visible,
.menu-toggle:focus-visible {
  outline: 3px solid #0066cc;
  outline-offset: 2px;
}

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

.doc-container a {
  color: var(--primary);
  font-weight: 600;
}

/* 모바일 반응형 (768px 이하) */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-top: 1px solid rgba(79, 70, 229, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
  }

  .menu-checkbox:checked ~ nav {
    max-height: 500px;
  }

  nav ul {
    flex-direction: column;
    padding: 1rem 2rem;
    gap: 0;
  }

  nav li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(79, 70, 229, 0.1);
  }

  .search-box {
    display: none;
  }

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

  .card-grid {
    grid-template-columns: 1fr;
  }

  .floating-cta {
    bottom: 1rem;
    right: 1rem;
  }

  section {
    padding: 3rem 1.5rem;
  }

  .hero {
    min-height: 500px;
  }
}

/* 태블릿 (769px ~ 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    max-width: 90%;
  }

  .search-box {
    max-width: 300px;
  }
}

/* 데스크탑 (1025px 이상) */
@media (min-width: 1025px) {
  .menu-checkbox,
  .menu-toggle {
    display: none;
  }
}