/* Reset & base */
*, *::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: #1e293b;
  background: #ffffff;
}
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, 94%); margin: 0 auto; }

/* Top bar */
.top-bar {
  background: #1e1b4b;
  color: #e0e7ff;
  border-bottom: 1px solid #312e81;
}
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 14px;
}
.top-bar-text { font-size: 0.92rem; font-weight: 600; }
.top-bar-actions { display: flex; gap: 10px; }
.btn-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background: #4f46e5;
  color: #ffffff;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.88rem;
  transition: background 0.2s;
}
.btn-top:hover { background: #4338ca; }
.btn-top-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border: 1px solid #6366f1;
  color: #c7d2fe;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  transition: background 0.2s, color 0.2s;
}
.btn-top-outline:hover { background: #312e81; color: #ffffff; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e0e7ff;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}
.logo {
  font-weight: 900;
  font-size: 1.55rem;
  color: #1e1b4b;
  letter-spacing: -1px;
  white-space: nowrap;
}
.logo span { color: #4f46e5; }
.desktop-nav { flex: 1; }
.gnb { display: flex; justify-content: center; gap: 22px; }
.gnb a { font-weight: 700; font-size: 0.9rem; color: #475569; }
.gnb a:hover { color: #4f46e5; }
.header-tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #4f46e5;
  color: #ffffff;
  border-radius: 30px;
  font-weight: 800;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: background 0.2s;
}
.header-tel:hover { background: #4338ca; }
.tel-icon { font-size: 1.05rem; }
.mobile-menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: #1e1b4b; }

/* Buttons */
.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 40px;
  background: #4f46e5;
  color: #ffffff;
  border-radius: 12px;
  font-weight: 900;
  font-size: 1.2rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-cta-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(79,70,229,0.28); }
.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 36px;
  border: 2px solid #1e1b4b;
  color: #1e1b4b;
  border-radius: 12px;
  font-weight: 900;
  font-size: 1.2rem;
  background: #ffffff;
  transition: background 0.2s, color 0.2s;
}
.btn-cta-secondary:hover { background: #1e1b4b; color: #ffffff; }

/* Hero */
.hero {
  padding: 90px 0 80px;
  background: linear-gradient(135deg, #eef2ff 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -120px;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  background: #4f46e5;
  opacity: 0.07;
}
.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-block;
  background: #e0e7ff;
  color: #4338ca;
  padding: 8px 18px;
  border-radius: 30px;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.15;
  color: #1e1b4b;
  margin-bottom: 26px;
}
.hero h1 strong { color: #4f46e5; }
.hero-desc {
  font-size: 1.2rem;
  color: #475569;
  max-width: 680px;
  margin: 0 auto 36px;
}
.hero-cta { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-bottom: 50px; }
.hero-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 780px;
  margin: 0 auto;
}
.hf-item {
  background: #ffffff;
  border: 1px solid #e0e7ff;
  border-radius: 14px;
  padding: 22px 16px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(30,27,75,0.05);
}
.hf-icon { font-size: 1.7rem; display: block; margin-bottom: 10px; }
.hf-item strong { display: block; font-size: 1.05rem; color: #1e1b4b; font-weight: 800; margin-bottom: 4px; }
.hf-item span { font-size: 0.85rem; color: #64748b; }

/* About */
.about { padding: 90px 0; background: #ffffff; }
.about-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: start; }
.about-text h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 900; color: #1e1b4b; margin-bottom: 18px; }
.about-text p { color: #475569; margin-bottom: 18px; }
.about-text ul { padding-left: 22px; color: #475569; list-style: disc; margin-bottom: 0; }
.about-text li { margin-bottom: 8px; }
.about-card {
  background: linear-gradient(135deg, #f5f3ff 0%, #eef2ff 100%);
  border: 1px solid #e0e7ff;
  border-radius: 20px;
  padding: 30px;
}
.about-card-title { font-size: 1.2rem; font-weight: 900; color: #1e1b4b; margin-bottom: 18px; }
.about-card-row { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid #e0e7ff; }
.about-card-row:last-child { border-bottom: none; }
.about-card-row span { color: #64748b; font-weight: 600; }
.about-card-row strong { color: #1e1b4b; font-weight: 800; }

/* Service cards */
.service-cards { padding: 90px 0; background: #f8fafc; }
.section-lead { text-align: center; color: #64748b; font-size: 1.1rem; margin-top: -32px; margin-bottom: 48px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  display: block;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}
.service-card:hover { box-shadow: 0 16px 42px rgba(30,27,75,0.09); transform: translateY(-6px); border-color: #c7d2fe; }
.service-thumb { position: relative; overflow: hidden; }
.service-thumb img { width: 100%; height: auto; object-fit: cover; border-top-left-radius: 20px; border-top-right-radius: 20px; display: block; }
.service-body { padding: 24px; }
.service-body h3 { font-size: 1.2rem; font-weight: 900; color: #1e1b4b; margin-bottom: 10px; }
.service-body p { color: #64748b; font-size: 0.94rem; margin-bottom: 16px; line-height: 1.6; }
.service-more { font-weight: 800; color: #4f46e5; font-size: 0.92rem; }

/* Why section */
.section-title {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 48px;
  color: #1e1b4b;
}
.why { padding: 90px 0; background: #ffffff; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 32px 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.why-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(30,27,75,0.06); }
.why-num {
  display: inline-block;
  width: 42px;
  height: 42px;
  background: #4f46e5;
  color: #ffffff;
  border-radius: 50%;
  font-weight: 900;
  font-size: 1rem;
  line-height: 42px;
  text-align: center;
  margin-bottom: 16px;
}
.why-card h3 { font-size: 1.2rem; font-weight: 800; color: #1e1b4b; margin-bottom: 10px; }
.why-card p { color: #64748b; font-size: 0.94rem; }

/* Process */
.process { padding: 90px 0; background: #eef2ff; }
.process-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.process-list::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 15%;
  right: 15%;
  height: 4px;
  background: #c7d2fe;
  z-index: 0;
}
.process-list li {
  background: #ffffff;
  border: 1px solid #e0e7ff;
  border-radius: 18px;
  padding: 32px 22px;
  position: relative;
  z-index: 1;
}
.process-step {
  display: inline-block;
  background: #4f46e5;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 900;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.process-list h3 { font-size: 1.2rem; font-weight: 900; color: #1e1b4b; margin-bottom: 10px; }
.process-list p { color: #64748b; font-size: 0.94rem; }

/* Notice */
.notice { padding: 90px 0; background: #ffffff; }
.notice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.notice-card {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-left: 5px solid #4f46e5;
  border-radius: 16px;
  padding: 28px;
}
.notice-card h3 { font-size: 1.15rem; font-weight: 900; color: #1e1b4b; margin-bottom: 12px; }
.notice-card p { color: #475569; font-size: 0.95rem; line-height: 1.7; }

/* FAQ */
.faq { padding: 90px 0; background: #f8fafc; }
.faq-list { max-width: 820px; margin: 0 auto; }
.faq details {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  margin-bottom: 14px;
  padding: 20px 24px;
}
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq summary h3 { font-size: 1.05rem; font-weight: 800; color: #1e1b4b; }
.faq summary::after { content: "+"; font-size: 1.3rem; color: #4f46e5; font-weight: 900; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 14px 0 2px; color: #475569; font-size: 0.95rem; line-height: 1.7; }
.faq details a { color: #4f46e5; text-decoration: underline; font-weight: 800; }

/* Bottom CTA */
.bottom-cta { padding: 90px 0; background: #1e1b4b; color: #ffffff; text-align: center; }
.bottom-cta h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; margin-bottom: 14px; }
.bottom-cta p { font-size: 1.1rem; color: #c7d2fe; max-width: 720px; margin: 0 auto 34px; }
.bottom-cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.bottom-cta .btn-cta-secondary { border-color: #ffffff; color: #ffffff; background: transparent; }
.bottom-cta .btn-cta-secondary:hover { background: #ffffff; color: #1e1b4b; }

/* Footer */
.site-footer { padding: 55px 0 30px; background: #0f172a; color: #94a3b8; }
.footer-logo { text-align: center; font-size: 1.6rem; font-weight: 900; color: #e0e7ff; margin-bottom: 18px; }
.footer-logo strong { color: #818cf8; }
.footer-links { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.footer-links a { font-weight: 700; font-size: 0.9rem; color: #cbd5e1; }
.footer-links a:hover { color: #818cf8; }
.footer-contact { text-align: center; font-size: 1.15rem; margin-bottom: 12px; }
.footer-contact a { color: #ffffff; font-weight: 800; }
.footer-copy { text-align: center; font-size: 0.82rem; color: #64748b; }

/* Sub page */
.page-hero {
  padding: 120px 0 70px;
  background: linear-gradient(135deg, #eef2ff 0%, #ffffff 70%);
  text-align: center;
  position: relative;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -60px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: #4f46e5;
  opacity: 0.08;
}
.page-hero .hero-badge { background: #e0e7ff; color: #4f46e5; }
.page-hero h1 { position: relative; z-index: 1; font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; color: #1e1b4b; margin: 16px 0 12px; }
.page-hero p { position: relative; z-index: 1; font-size: 1.1rem; color: #475569; max-width: 620px; margin: 0 auto; }
.content-section { padding: 70px 0; }
.content-section h2 { font-size: 1.65rem; font-weight: 900; color: #1e1b4b; margin: 44px 0 16px; }
.content-section h3 { font-size: 1.15rem; font-weight: 800; color: #4f46e5; margin: 26px 0 10px; }
.content-section p { color: #475569; margin-bottom: 14px; line-height: 1.8; }
.content-section ul, .content-section ol { padding-left: 22px; color: #475569; margin-bottom: 18px; }
.content-section ul { list-style: disc; }
.content-section ol { list-style: decimal; }
.content-section li { margin-bottom: 8px; }
.content-section a { color: #4f46e5; text-decoration: underline; font-weight: 800; }
.cta-box {
  padding: 32px;
  background: #eef2ff;
  border-radius: 18px;
  border-left: 5px solid #4f46e5;
  margin-top: 44px;
}
.cta-box h2 { margin: 0 0 12px 0; color: #1e1b4b; }
.cta-box p { color: #475569; font-size: 1.1rem; }
.cta-box a { color: #4f46e5; font-weight: 800; }

/* Gnb mobile */
@media (max-width: 1000px) {
  .gnb { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #ffffff; padding: 20px; box-shadow: 0 10px 20px rgba(0,0,0,0.06); z-index: 99; flex-direction: column; gap: 14px; }
  .gnb.active { display: flex; }
  .header-tel { display: none; }
  .mobile-menu-toggle { display: block; }
  .about-inner { grid-template-columns: 1fr; }
  .hero-features { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .process-list::before { display: none; }
}
@media (max-width: 640px) {
  .top-bar-inner { flex-direction: column; align-items: stretch; gap: 8px; }
  .top-bar-actions { justify-content: center; }
  .hero { padding: 70px 0 60px; }
  .hero-features { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .process-list { grid-template-columns: 1fr; }
  .notice-grid { grid-template-columns: 1fr; }
  .btn-cta-primary, .btn-cta-secondary { padding: 16px 28px; font-size: 1rem; }
  .footer-links { gap: 12px; }
}

/* 404 */
.page-404 { padding: 120px 0; text-align: center; }
.page-404 h1 { font-size: 3rem; color: #4f46e5; font-weight: 900; }
.page-404 p { color: #475569; margin: 20px 0; }
