:root{--build-id:"461f20d4-5602-456f-a28e-65597dfcb8e0";}
/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

/* F6: Android Global */
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;
}

/* 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;
  align-items: center;
  justify-content: space-between;
}

.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);
  user-select: none;
}

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

nav ul:first-of-type {
  margin-right: auto;
}

nav ul:last-of-type {
  margin-left: auto;
}

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

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

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

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

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

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

.hero-visual svg {
  width: 100%;
  max-width: 500px;
  height: auto;
}

/* 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: #ffffff;
  text-decoration: none;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

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

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

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

/* K16: 기울어진 카드 */
.card {
  border-radius: 0.75rem;
  border: 1px solid rgba(147, 51, 234, 0.2);
  padding: 1.5rem;
  transform: rotate(-1deg);
  transition: all 0.3s;
  background: #ffffff;
}

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

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

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

.card p {
  color: var(--text);
  opacity: 0.9;
}

/* L08: 비교표 */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  background: #ffffff;
  border-radius: 0.75rem;
  overflow: hidden;
}

.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: #ffffff;
  font-weight: 700;
}

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

.comparison-table tr:hover {
  background: rgba(147, 51, 234, 0.05);
}

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

.content-list li {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(147, 51, 234, 0.1);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.content-list li:last-child {
  border-bottom: none;
}

.content-list li::before {
  content: "✦";
  color: var(--primary);
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* FAQ 스타일 */
.faq-item {
  background: #ffffff;
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(147, 51, 234, 0.2);
}

.faq-question {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.faq-answer {
  color: var(--text);
  opacity: 0.9;
}

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

.cta-section h2 {
  color: #ffffff;
  margin-bottom: 1.5rem;
}

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

.cta-section .btn {
  background: #ffffff;
  color: var(--primary);
}

.cta-section .btn:hover {
  background: rgba(255, 255, 255, 0.9);
}

/* Footer */
footer {
  background: #ffffff;
  border-top: 1px solid rgba(147, 51, 234, 0.1);
  padding: 3rem 0 2rem;
  margin-top: 6rem;
}

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

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

.footer-links a {
  text-decoration: none;
  color: var(--link);
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--primary);
}

.copyright {
  color: var(--text);
  opacity: 0.7;
  font-size: 0.875rem;
}

/* 접근성 */
a:focus-visible,
input:focus-visible,
label:focus-visible,
button:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

/* 반응형 */
@media (max-width: 768px) {
  .logo {
    position: static;
    transform: none;
    margin-right: auto;
  }

  .menu-toggle {
    display: block;
    z-index: 60;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg);
    transition: right 0.3s;
    padding: 5rem 2rem 2rem;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
  }

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

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

  nav ul:first-of-type,
  nav ul:last-of-type {
    margin: 0;
  }

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

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

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

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

  section {
    padding: 4rem 0;
  }

  .cta-section {
    padding: 3rem 1.5rem;
  }
}

@media (min-width: 769px) {
  .menu-toggle {
    display: none !important;
  }

  .menu-checkbox {
    display: none !important;
  }
}

/* Doc Container (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;
  font-size: 1.125rem;
}

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

.doc-container a:hover {
  text-decoration: underline;
}