:root{--build-id:"812f8f15-a5c8-4b3b-9741-45fa1e8068f6";}
@charset "UTF-8";

/* === 1. CSS Variables (C32 컬러 팔레트) === */
:root {
  --primary: #9333ea;
  --bg: #f5f3ff;
  --text: #4c1d95;
  --accent: #a78bfa;
  --heading: var(--text);
  --link: var(--text);
  --radius: 0.5rem;
}

/* === 2. Reset & Base === */
* {
  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-color: var(--bg);
}

/* === 3. Typography === */
h1 {
  font-size: clamp(2.5rem, 5vw, 3.875rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--heading);
  margin-bottom: 1.5rem;
}

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

h3 {
  font-size: clamp(1.5rem, 3vw, 2.18rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  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;
}

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

/* === 5. Header & Navigation (N11) === */
header {
  position: sticky;
  top: 0;
  background: var(--bg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 50;
  padding: 1rem 0;
}

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

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

.menu-checkbox {
  display: none;
}

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

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

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

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

/* Mobile Navigation */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

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

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

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

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

/* === 6. Main Container (S11) === */
section {
  padding: 5.75rem 0;
}

.container {
  max-width: 1350px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* === 7. Button Styles (B16) === */
.btn {
  display: inline-block;
  padding: 1.125rem 2.25rem;
  font-weight: 700;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 0.5rem 0 0.5rem 0;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
}

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

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

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

/* === 8. Card Styles (K16) === */
.card {
  background: white;
  border: 1px solid var(--primary);
  border-radius: 0.75rem;
  padding: 1.5rem;
  transform: rotate(-1deg);
  transition: all 0.3s;
}

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

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3.75rem;
}

/* === 9. Hero Section === */
.hero {
  text-align: center;
  padding: 6rem 0 5rem;
  background: linear-gradient(135deg, var(--bg) 0%, #ede9fe 100%);
}

.hero p {
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* === 10. Accordion (FAQ) === */
.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  background: white;
  border: 1px solid var(--accent);
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-header {
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
}

.accordion-header:hover {
  background: var(--bg);
}

.accordion-content {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s;
}

.accordion-content.active {
  max-height: 500px;
  padding: 0 1.5rem 1.25rem;
}

/* === 11. Features Grid === */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3.75rem;
  margin-top: 3rem;
}

.feature-item {
  text-align: center;
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

/* === 12. Contact Info === */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: white;
  border-radius: 0.5rem;
  border: 1px solid var(--accent);
}

.contact-item-icon {
  font-size: 1.5rem;
  color: var(--primary);
}

/* === 13. Footer === */
footer {
  background: var(--text);
  color: white;
  padding: 3rem 0 1.5rem;
  margin-top: 5rem;
}

.footer-content {
  max-width: 1350px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-section h3 {
  color: white;
  margin-bottom: 1rem;
}

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

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
}

/* === 14. Privacy/Terms Doc Container === */
.doc-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

/* === 15. Utility Classes === */
.text-center {
  text-align: center;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mt-3 {
  margin-top: 3rem;
}

/* === 16. Responsive === */
@media (max-width: 768px) {
  section {
    padding: 3rem 0;
  }

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

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

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

/* === 17. SVG Styles === */
svg {
  max-width: 100%;
  height: auto;
}

.icon-inline {
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.5rem;
}