/* 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.75;
  color: #f1f5f9;
  background: linear-gradient(180deg, #020617 0%, #0f172a 300px, #0f172a 100%);
}
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; }

/* Colors */
:root {
  --brand: #22d3ee;
  --brand-2: #06b6d4;
  --accent: #f472b6;
  --dark: #020617;
  --surface: #0f172a;
  --elev: #1e293b;
  --text: #f8fafc;
  --muted: #94a3b8;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #020617;
  box-shadow: 0 8px 22px rgba(34,211,238,.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(34,211,238,.35); }
.btn-outline {
  border: 2px solid var(--brand);
  color: var(--brand);
}
.btn-outline:hover { background: var(--brand); color: #020617; }
.btn-ghost {
  background: rgba(255,255,255,.08);
  color: #fff;
}
.btn-lg { padding: 16px 34px; font-size: 1.1rem; }

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 110;
  background: rgba(2,6,23,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(34,211,238,.2);
}
.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(--brand); }

/* Header */
.header {
  position: sticky; top: 57px; z-index: 100;
  background: rgba(15,23,42,.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(148,163,184,.12);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.brand .logo-badge {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #020617;
  font-weight: 900;
  font-size: 1.1rem;
  padding: 8px 14px;
  border-radius: 10px;
  letter-spacing: -0.4px;
}
.gnb { display: flex; gap: 8px; }
.gnb a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  font-size: .9rem;
  transition: color .2s, background .2s;
}
.gnb a:hover, .gnb a.active { color: var(--text); background: rgba(34,211,238,.1); }
.header-tel.btn { padding: 10px 18px; font-size: .9rem; }
.menu-toggle {
  display: none;
  background: none; border: none; color: var(--brand);
  font-size: 1.6rem; cursor: pointer;
}

/* Card nav */
.card-nav {
  background: linear-gradient(180deg, rgba(15,23,42,.98), rgba(2,6,23,.98));
  border-bottom: 1px solid rgba(148,163,184,.1);
  padding: 22px 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: 170px;
  padding: 14px 18px;
  background: var(--elev);
  border: 1px solid rgba(148,163,184,.15);
  border-radius: 16px;
  color: var(--text);
  font-weight: 800;
  font-size: .92rem;
  transition: border-color .2s, transform .2s, background .2s;
  white-space: nowrap;
}
.card-link:hover {
  border-color: var(--brand);
  background: rgba(34,211,238,.08);
  transform: translateY(-2px);
}
.card-link img { width: 42px; height: 42px; }

/* Hero */
.hero { padding: 90px 0 80px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 60px;
  align-items: center;
}
.hero-kicker {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(34,211,238,.12);
  color: var(--brand);
  font-weight: 800;
  font-size: .88rem;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  line-height: 1.2;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 22px;
}
.hero h1 b { color: var(--brand); }
.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: var(--text); font-weight: 600; font-size: .95rem; }
.hero-bullets li { display: flex; align-items: center; gap: 8px; }
.bullet {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--brand);
  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(34,211,238,.2);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 28px;
}
.hero-card::after {
  content: "";
  position: absolute; right: -22px; top: 20px;
  width: 320px; height: 200px;
  background: linear-gradient(135deg, #334155, #1e293b);
  border-radius: 24px; z-index: -1; transform: rotate(8deg);
}
.hero-card .chip {
  width: 52px; height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #475569, #94a3b8);
}
.hero-card .brand-mark {
  font-size: 1.7rem; font-weight: 900; color: #020617; letter-spacing: 2px;
  text-align: right;
}

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

/* Service grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-item {
  display: block;
  background: var(--elev);
  border: 1px solid rgba(148,163,184,.12);
  border-radius: 22px;
  overflow: hidden;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.service-item:hover {
  transform: translateY(-7px);
  border-color: var(--brand);
  box-shadow: 0 20px 50px rgba(34,211,238,.1);
}
.service-thumb img { width: 100%; height: auto; }
.service-body { padding: 26px; }
.service-body h3 { font-size: 1.25rem; font-weight: 900; color: var(--text); margin-bottom: 10px; }
.service-body p { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.service-more { font-weight: 800; color: var(--brand); }
.service-item:hover .service-more { color: var(--accent); }

/* Info blocks */
.info-section { background: #081026; }
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.info-card {
  background: var(--elev);
  border: 1px solid rgba(148,163,184,.1);
  border-radius: 18px;
  padding: 32px 26px;
}
.info-card h3 { font-size: 1.15rem; color: var(--brand); margin-bottom: 12px; font-weight: 800; }
.info-card p { color: var(--muted); font-size: .95rem; }

/* Steps */
.steps-section { background: linear-gradient(180deg, #0f172a, #061024); }
.step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.step-card {
  background: var(--elev);
  border-top: 4px solid var(--brand);
  border-radius: 18px;
  padding: 32px 24px;
  position: relative;
}
.step-num {
  position: absolute; top: -22px; left: 24px;
  width: 44px; height: 44px;
  background: var(--brand);
  color: #020617;
  border-radius: 50%;
  font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}
.step-card h3 { font-size: 1.2rem; color: var(--text); 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(--elev);
  border: 1px solid rgba(148,163,184,.1);
  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: var(--text); font-weight: 800; }
.accordion summary::after {
  content: "+"; color: var(--brand); font-size: 1.4rem; font-weight: 900;
}
.accordion details[open] summary::after { content: "−"; }
.accordion details p { color: var(--muted); padding-top: 14px; font-size: .95rem; }
.accordion details a { color: var(--brand); text-decoration: underline; }

/* CTA */
.cta-section {
  background: linear-gradient(135deg, rgba(34,211,238,.18), rgba(244,114,182,.12));
  border-top: 1px solid rgba(34,211,238,.2);
  border-bottom: 1px solid rgba(34,211,238,.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: #020617;
  padding: 50px 0 30px;
  border-top: 1px solid rgba(148,163,184,.1);
}
.footer-links {
  display: flex; gap: 18px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 22px;
}
.footer-links a { color: var(--muted); font-weight: 700; font-size: .9rem; }
.footer-links a:hover { color: var(--brand); }
.footer-tel { text-align: center; font-size: 1.25rem; margin-bottom: 10px; }
.footer-tel a { color: var(--text); font-weight: 900; }
.footer-copy { text-align: center; color: #64748b; font-size: .85rem; }

/* Float buttons */
.float-actions {
  position: fixed; right: 18px; bottom: 18px;
  display: flex; flex-direction: column; gap: 12px;
  z-index: 90;
}
.float-actions a {
  width: 76px; height: 76px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand);
  color: #020617;
  font-weight: 900;
  font-size: .85rem;
  text-align: center;
  box-shadow: 0 12px 28px rgba(0,0,0,.35);
  transition: transform .2s;
}
.float-actions a.sms {
  background: transparent;
  color: var(--brand);
  border: 2px solid var(--brand);
}
.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(--brand); text-decoration: underline; }
.page-hero h1 { font-size: clamp(1.9rem, 5vw, 3rem); font-weight: 900; color: var(--text); margin-bottom: 16px; }
.page-hero h1 b { color: var(--brand); }
.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: var(--text); margin: 50px 0 16px; }
.page-content h2:first-child { margin-top: 0; }
.page-content h3 { font-size: 1.15rem; color: var(--brand); margin: 28px 0 10px; font-weight: 800; }
.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(--brand); text-decoration: underline; }
.page-tip {
  background: rgba(34,211,238,.08);
  border-left: 4px solid var(--brand);
  border-radius: 0 14px 14px 0;
  padding: 24px;
  margin: 30px 0;
}
.page-tip strong { color: var(--text); }
.page-tip p { margin: 0; }

/* 404 */
.page-404 { padding: 150px 0; text-align: center; }
.page-404 h1 { font-size: 4rem; color: var(--brand); 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: 90px; }
  .topbar .container { flex-direction: column; gap: 8px; padding: 8px 0; }
  .gnb {
    display: none; position: absolute; top: 74px; left: 0; right: 0;
    background: #0f172a; padding: 18px; flex-direction: column; gap: 8px;
    border-bottom: 1px solid rgba(34,211,238,.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; }
}
