@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

:root {
  --bg: #1a1020;
  --bg-soft: #2a1f33;
  --bg-card: #352640;
  --text: #fdf2f8;
  --muted: #d8b4fe;
  --accent: #e11d48;
  --accent-light: #fda4af;
  --accent-2: #8b5cf6;
  --radius: 22px;
  --hero-layout: 0.95fr 1.05fr;
  --card-style: pill;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  background-image: radial-gradient(ellipse 60% 50% at 100% 0%, rgba(225, 29, 72, 0.14), transparent), radial-gradient(ellipse 50% 40% at 100% 100%, rgba(139, 92, 246, 0.12), transparent);
  color: var(--text);
  font-family: Pretendard, "Noto Sans KR", sans-serif;
  line-height: 1.75;
  padding-bottom: 88px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; height: auto; }
button { font: inherit; cursor: pointer; border: 0; background: none; }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200; background: rgba(255,255,255,0.04); }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }

.topbar {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; gap: 16px;
  min-height: 70px; padding: 10px clamp(14px, 4vw, 40px);
  background: rgba(15, 23, 42, 0.92); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; }
.brand span {
  width: 38px; height: 38px; border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 4px 18px rgba(124, 58, 237, 0.35);
  display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 15px;
}
.brand span::after { content: "K"; }
.phone-note { margin: 0; font-size: 13px; font-weight: 700; color: var(--accent-light); }
.nav-links { margin-left: auto; display: flex; gap: 8px; }
.nav-links a { padding: 8px 14px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.nav-links a:hover { color: var(--text); background: rgba(124, 58, 237, 0.12); }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; margin-left: auto; color: var(--text); }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  content: ""; display: block; width: 18px; height: 2px; background: currentColor; margin: 0 auto;
}
.menu-toggle span::before { transform: translateY(-6px); }
.menu-toggle span::after { transform: translateY(4px); }

.hero {
  display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(28px, 5vw, 56px); gap: clamp(28px, 5vw, 56px);
  align-items: center; max-width: 1140px; margin: 0 auto;
  padding: clamp(48px, 8vw, 88px) clamp(14px, 5vw, 40px);
}
.hero-media {
  margin: 0; border-radius: 22px; overflow: hidden;
  border: 1px solid rgba(124, 58, 237, 0.3); box-shadow: var(--shadow);
}
.hero-media a { display: block; }
.hero-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.kicker {
  display: inline-flex; padding: 6px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 800; color: var(--accent-light);
  background: rgba(124, 58, 237, 0.14); border: 1px solid rgba(124, 58, 237, 0.3);
}
.hero h1 { margin: 16px 0; font-size: clamp(28px, 4.5vw, 46px); font-weight: 800; line-height: 1.25; word-break: keep-all; }
.hero p { color: var(--muted); font-size: 16px; max-width: 520px; word-break: keep-all; }

.band { padding: clamp(48px, 8vw, 80px) clamp(14px, 5vw, 40px); }
.band-a { background: var(--bg-soft); }
.band-b { background: var(--bg); }
.band-c { background: linear-gradient(180deg, #1a2332, var(--bg)); }
.section-head { max-width: 700px; margin-bottom: 28px; }
.section-head small { display: block; font-size: 12px; font-weight: 800; color: var(--accent-2); margin-bottom: 8px; letter-spacing: 0.06em; }
.section-head h1, .section-head h2 { margin: 0 0 12px; font-size: clamp(22px, 3.2vw, 34px); font-weight: 800; word-break: keep-all; }
.section-head p { margin: 0; color: var(--muted); word-break: keep-all; }

.scroll-cards, .link-scroll, .faq-grid { display: grid; gap: 14px; }
.scroll-cards { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.link-scroll { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.faq-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

.info-card, .link-card, .faq {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform 0.2s, border-color 0.2s;
}
.info-card:hover, .link-card:hover { transform: translateY(-3px); border-color: rgba(124, 58, 237, 0.35); }
.info-card { padding: 22px; }
.info-card span { font-size: 12px; font-weight: 800; color: var(--accent-light); }
.info-card h3 { font-size: 17px; margin: 8px 0; }
.info-card p { margin: 0; font-size: 14px; color: var(--muted); word-break: keep-all; }

.link-card { display: flex; flex-direction: column; overflow: hidden; min-height: 180px; }
.link-card-badge {
  display: grid; place-items: center; aspect-ratio: 16/7;
  font-size: 18px; font-weight: 900; color: #fff;
  background: linear-gradient(135deg, #4c1d95, #7c3aed);
  padding: 8px; text-align: center; word-break: keep-all;
}
.link-card strong { padding: 14px 16px 6px; font-size: 15px; }
.link-card span { padding: 0 16px 16px; font-size: 13px; color: var(--muted); }

.link-scroll-compact { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.link-card-compact { min-height: 100px; padding: 16px; }
.link-card-compact strong { padding: 0; font-size: 14px; }
.link-card-compact span { padding: 4px 0 0; font-size: 12px; }
.link-card-compact .link-card-badge { display: none; }

.link-featured {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px; margin-bottom: 20px;
}
.link-card-featured { min-height: 220px; border-width: 2px; }
.link-card-featured .link-card-badge { aspect-ratio: 16/9; font-size: 22px; }

.stats-bar {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 24px;
  max-width: 900px; margin: 0 auto; padding: 24px clamp(14px, 5vw, 40px);
}
.stat {
  text-align: center; padding: 16px 28px; border-radius: var(--radius);
  background: var(--bg-card); border: 1px solid var(--line);
}
.stat strong { display: block; font-size: 28px; color: var(--accent-light); }
.stat span { font-size: 13px; color: var(--muted); }

.faq summary { padding: 18px 20px; cursor: pointer; font-weight: 700; list-style: none; word-break: keep-all; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin: 0; padding: 0 20px 18px; font-size: 14px; color: var(--muted); word-break: keep-all; }

.sitemap-list { list-style: none; padding: 0; max-width: 640px; }
.sitemap-list li { border-bottom: 1px solid var(--line); }
.sitemap-list a { display: block; padding: 14px 0; font-weight: 600; }
.sitemap-list a:hover { color: var(--accent-light); }

.footer {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 32px clamp(14px, 4vw, 40px); background: var(--bg-soft); border-top: 1px solid var(--line);
  font-size: 14px; color: var(--muted);
}
.footer a { color: var(--accent-light); font-weight: 700; }
.floating-cta {
  position: fixed; right: 16px; bottom: 16px; z-index: 150;
  padding: 14px 22px; border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #6d28d9);
  color: #fff; font-size: 14px; font-weight: 800;
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.45);
}
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s, transform 0.5s; }
.reveal.is-visible { opacity: 1; transform: none; }

.hero-flip .hero-copy { order: 2; }
.hero-flip .hero-media { order: 1; }
@media (min-width: 901px) {
  .hero-flip { direction: rtl; }
  .hero-flip > * { direction: ltr; }
}

.band-checklist, .band-compare, .band-steps { background: var(--bg-soft); }
.checklist {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 10px; max-width: 720px;
}
.checklist li {
  padding: 14px 18px; border-radius: var(--radius);
  background: var(--bg-card); border: 1px solid var(--line);
  font-size: 14px; font-weight: 600;
}
.checklist li::before { content: "✓ "; color: var(--accent-light); font-weight: 900; }

.table-wrap { overflow-x: auto; }
.compare-table {
  width: 100%; border-collapse: collapse; font-size: 14px;
  background: var(--bg-card); border-radius: var(--radius); overflow: hidden;
}
.compare-table th, .compare-table td {
  padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left;
}
.compare-table th { background: rgba(255,255,255,0.04); color: var(--accent-light); }

.step-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px;
}
.step-card {
  padding: 22px; border-radius: var(--radius);
  background: var(--bg-card); border: 1px solid var(--line);
}
.step-card span { font-size: 28px; font-weight: 900; color: var(--accent); opacity: 0.5; }
.step-card h3 { margin: 8px 0; font-size: 17px; }
.step-card p { margin: 0; font-size: 14px; color: var(--muted); word-break: keep-all; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-media { max-width: 400px; margin: 0 auto; order: -1; }
  .menu-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 70px 12px auto; display: none; flex-direction: column;
    background: var(--bg-card); border: 1px solid var(--line); border-radius: 14px; padding: 12px;
  }
  .nav-links.is-open { display: flex; }
  .floating-cta { left: 12px; right: 12px; text-align: center; border-radius: 12px; }
}

.info-card, .link-card { border-radius: calc(22px + 6px); }

.band-a { background: var(--bg-card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

body { --theme-id: 'rose-slate'; }
