/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", sans-serif;
  line-height: 1.7;
  color: #f8fafc;
  background: linear-gradient(180deg, #1a0b2e 0%, #2e1065 240px, #0f172a 100%);
  min-height: 100vh;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
.container { width: min(1160px, 92%); margin: 0 auto; }

:root {
  --brand: #a855f7;
  --brand-2: #7c3aed;
  --accent: #34d399;
  --dark: #1a0b2e;
  --surface: rgba(255,255,255,.07);
  --elev: rgba(255,255,255,.11);
  --text: #f8fafc;
  --muted: #c4b5fd;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 900;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  box-shadow: 0 8px 24px rgba(124,58,237,.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(124,58,237,.45); }
.btn-outline {
  border: 2px solid var(--accent);
  color: var(--accent);
  background: rgba(52,211,153,.08);
}
.btn-outline:hover { background: var(--accent); color: #020617; }
.btn-ghost { background: var(--surface); color: #fff; }
.btn-lg { padding: 16px 34px; font-size: 1.1rem; border-radius: 14px; }

/* Topbar */
.topbar {
  position: sticky; top: 0; z-index: 110;
  background: rgba(26,11,46,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(168,85,247,.25);
}
.topbar .container {
  display: flex; justify-content: center; align-items: center; gap: 14px;
  padding: 10px 0; flex-wrap: wrap;
}
.topbar .tel { font-size: 1.1rem; font-weight: 900; color: var(--accent); }

/* Header */
.header {
  position: sticky; top: 54px; z-index: 100;
  background: rgba(15,23,42,.95);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(168,85,247,.15);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px;
}
.brand { display: inline-flex; align-items: center; gap: 8px; }
.logo-badge {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  font-weight: 900; font-size: 1.15rem;
  padding: 10px 16px; border-radius: 12px;
  letter-spacing: -0.4px;
}
.gnb { display: flex; gap: 10px; }
.gnb a {
  padding: 9px 14px; border-radius: 999px;
  color: var(--muted); font-weight: 800; font-size: .88rem;
  transition: color .2s, background .2s;
}
.gnb a:hover, .gnb a.active { color: #fff; background: rgba(168,85,247,.16); }
.header-tel.btn { padding: 10px 18px; font-size: .9rem; }
.menu-toggle {
  display: none; background: none; border: none; color: var(--accent);
  font-size: 1.7rem; cursor: pointer;
}

/* Card nav */
.card-nav {
  background: linear-gradient(180deg, rgba(46,16,101,.55), rgba(15,23,42,.98));
  border-bottom: 1px solid rgba(168,85,247,.12);
  padding: 24px 0;
}
.card-nav .container {
  display: flex; gap: 14px; overflow-x: auto; padding-bottom: 4px;
}
.card-link {
  display: flex; align-items: center; gap: 10px;
  min-width: 166px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid rgba(168,85,247,.2);
  border-radius: 16px;
  color: #fff; font-weight: 900; font-size: .92rem;
  transition: border-color .2s, transform .2s, background .2s;
  white-space: nowrap;
}
.card-link:hover {
  border-color: var(--accent); background: rgba(52,211,153,.1);
  transform: translateY(-2px);
}
.card-link img { width: 42px; height: 42px; }

/* Hero */
.hero { padding: 100px 0 90px; }
.hero-grid {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: center;
}
.hero-kicker {
  display: inline-block; padding: 7px 16px; border-radius: 999px;
  background: rgba(168,85,247,.15); color: var(--accent);
  font-weight: 900; font-size: .9rem; margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 900; line-height: 1.2;
  color: var(--text); margin-bottom: 22px;
}
.hero h1 b { color: var(--accent); }
.hero-desc {
  font-size: 1.15rem; color: var(--muted); max-width: 560px; margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-bullets { display: flex; gap: 22px; flex-wrap: wrap; color: #fff; font-weight: 700; }
.hero-bullets li { display: flex; align-items: center; gap: 8px; }
.bullet {
  width: 22px; height: 22px; border-radius: 50%; background: var(--accent);
  color: #020617; font-size: .75rem; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 900;
}
.hero-art { display: flex; justify-content: center; align-items: center; }
.hero-card {
  width: 320px; height: 200px; background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-radius: 24px; position: relative; transform: rotate(-4deg); box-shadow: 0 30px 60px rgba(124,58,237,.25);
  display: flex; flex-direction: column; justify-content: space-between; padding: 30px;
}
.hero-card::after {
  content: ""; position: absolute; right: -22px; top: 22px;
  width: 320px; height: 200px; background: linear-gradient(135deg, #4c1d95, #2e1065);
  border-radius: 24px; z-index: -1; transform: rotate(8deg);
}
.hero-card .chip {
  width: 54px; height: 38px; border-radius: 8px;
  background: linear-gradient(135deg, #c4b5fd, #8b5cf6);
}
.hero-card .brand-mark { font-size: 1.7rem; font-weight: 900; color: #fff; letter-spacing: 2px; text-align: right; }

/* Sections */
.section { padding: 90px 0; }
.section-title { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 900; text-align: center; color: #fff; margin-bottom: 16px; }
.section-sub { text-align: center; color: var(--muted); font-size: 1.05rem; margin-bottom: 48px; }

/* Service grid */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-item {
  display: block; background: var(--surface); border: 1px solid rgba(168,85,247,.14);
  border-radius: 24px; overflow: hidden;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.service-item:hover { transform: translateY(-7px); border-color: var(--accent); box-shadow: 0 22px 50px rgba(52,211,153,.1); }
.service-body { padding: 28px; }
.service-body h3 { font-size: 1.25rem; font-weight: 900; color: #fff; margin-bottom: 10px; }
.service-body p { color: var(--muted); font-size: .94rem; margin-bottom: 18px; }
.service-more { font-weight: 900; color: var(--accent); }

/* Info blocks */
.info-section { background: rgba(15,23,42,.6); }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.info-card {
  background: var(--elev); border: 1px solid rgba(168,85,247,.1);
  border-radius: 18px; padding: 32px 26px;
}
.info-card h3 { font-size: 1.15rem; color: var(--accent); margin-bottom: 12px; font-weight: 900; }
.info-card p { color: var(--muted); font-size: .94rem; }

/* Steps */
.steps-section { background: linear-gradient(180deg, #2e1065, #0f172a); }
.step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step-card {
  background: var(--surface); border-top: 4px solid var(--accent);
  border-radius: 18px; padding: 36px 24px; position: relative;
}
.step-num {
  position: absolute; top: -22px; left: 24px;
  width: 44px; height: 44px; background: var(--accent); color: #020617;
  border-radius: 50%; font-weight: 900; display: flex; align-items: center; justify-content: center;
}
.step-card h3 { font-size: 1.2rem; color: #fff; margin: 18px 0 10px; }
.step-card p { color: var(--muted); font-size: .94rem; }

/* FAQ */
.accordion { max-width: 820px; margin: 0 auto; }
.accordion details {
  background: var(--surface); border: 1px solid rgba(168,85,247,.12);
  border-radius: 14px; margin-bottom: 14px; padding: 20px 24px;
}
.accordion summary { display: flex; justify-content: space-between; align-items: center; cursor: pointer; list-style: none; }
.accordion summary h3 { font-size: 1.05rem; color: #fff; font-weight: 900; }
.accordion summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; font-weight: 900; }
.accordion details[open] summary::after { content: "−"; }
.accordion details p { color: var(--muted); padding-top: 14px; font-size: .94rem; }
.accordion details a { color: var(--accent); text-decoration: underline; }

/* CTA */
.cta-section {
  background: linear-gradient(135deg, rgba(168,85,247,.18), rgba(52,211,153,.1));
  border-top: 1px solid rgba(168,85,247,.2); border-bottom: 1px solid rgba(168,85,247,.2);
  text-align: center;
}
.cta-section h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 900; margin-bottom: 12px; }
.cta-section p { color: var(--muted); font-size: 1.1rem; margin-bottom: 28px; }

/* Footer */
.footer { background: #1a0b2e; padding: 50px 0 30px; border-top: 1px solid rgba(168,85,247,.1); }
.footer-links { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-bottom: 22px; }
.footer-links a { color: var(--muted); font-weight: 900; font-size: .88rem; }
.footer-links a:hover { color: var(--accent); }
.footer-tel { text-align: center; font-size: 1.25rem; margin-bottom: 10px; }
.footer-tel a { color: #fff; font-weight: 900; }
.footer-copy { text-align: center; color: #6d28d9; font-size: .85rem; }

/* Float */
.float-actions {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  display: flex; flex-direction: column; gap: 12px;
}
.float-actions a {
  width: 76px; height: 76px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: var(--brand); color: #fff; font-weight: 900; font-size: .85rem;
  box-shadow: 0 12px 26px rgba(0,0,0,.35); transition: transform .2s;
}
.float-actions a.sms { background: transparent; color: var(--accent); border: 2px solid var(--accent); }
.float-actions a:hover { transform: scale(1.06); }

/* Sub pages */
.page-hero { padding: 80px 0 60px; }
.page-hero .bread { color: var(--muted); font-size: .9rem; margin-bottom: 16px; }
.page-hero .bread a { color: var(--accent); text-decoration: underline; }
.page-hero h1 { font-size: clamp(1.9rem, 5vw, 3rem); font-weight: 900; color: #fff; margin-bottom: 16px; }
.page-hero h1 b { color: var(--accent); }
.page-hero p { color: var(--muted); font-size: 1.1rem; max-width: 620px; }
.page-hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.page-content { padding: 60px 0 90px; }
.page-content h2 { font-size: 1.5rem; font-weight: 900; color: #fff; margin: 50px 0 16px; }
.page-content h2:first-child { margin-top: 0; }
.page-content h3 { font-size: 1.15rem; color: var(--accent); margin: 28px 0 10px; font-weight: 900; }
.page-content p { color: var(--muted); margin-bottom: 16px; }
.page-content ul, .page-content ol { padding-left: 22px; color: var(--muted); margin-bottom: 20px; }
.page-content ul { list-style: disc; }
.page-content ol { list-style: decimal; }
.page-content li { margin-bottom: 10px; }
.page-content a { color: var(--accent); text-decoration: underline; }
.page-tip {
  background: rgba(52,211,153,.08); border-left: 4px solid var(--accent);
  border-radius: 0 14px 14px 0; padding: 24px; margin: 30px 0;
}
.page-tip strong { color: #fff; }
.page-tip p { margin: 0; }

/* 404 */
.page-404 { padding: 150px 0; text-align: center; }
.page-404 h1 { font-size: 4rem; color: var(--accent); font-weight: 900; }
.page-404 p { color: var(--muted); margin: 20px 0; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-bullets { justify-content: center; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .step-grid { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .header { top: 88px; }
  .topbar .container { flex-direction: column; gap: 8px; padding: 8px 0; }
  .gnb {
    display: none; position: absolute; top: 78px; left: 0; right: 0;
    background: #1a0b2e; padding: 18px; flex-direction: column; gap: 8px;
    border-bottom: 1px solid rgba(168,85,247,.2);
  }
  .gnb.active { display: flex; }
  .header-tel { display: none; }
  .menu-toggle { display: block; }
  .hero { padding: 60px 0 50px; }
  .hero-card { width: 260px; height: 164px; }
  .hero-card::after { width: 260px; height: 164px; }
  .service-grid, .step-grid, .info-grid { grid-template-columns: 1fr; }
  .card-link { min-width: 150px; padding: 12px 14px; font-size: .85rem; }
  .card-link img { width: 36px; height: 36px; }
  .float-actions a { width: 64px; height: 64px; font-size: .78rem; }
}
