@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/variable/pretendardvariable.css');

:root {
  --navy: #10283f;
  --navy-deep: #091b2c;
  --blue: #1769ff;
  --blue-dark: #0e4ecc;
  --yellow: #ffd84d;
  --mint: #7ce3cf;
  --paper: #f5f7fb;
  --white: #ffffff;
  --ink: #102031;
  --muted: #607286;
  --line: #dce4ed;
  --success: #087f5b;
  --danger: #c92a2a;
  --shadow: 0 20px 50px rgba(10, 31, 52, .14);
  --radius: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Pretendard Variable, Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  word-break: keep-all;
}
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 1000; padding: 10px 16px; background: var(--white); }
.skip-link:focus { top: 12px; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.eyebrow { margin: 0 0 12px; color: var(--blue); font-size: 14px; font-weight: 800; letter-spacing: .08em; }
.section-heading { margin: 0; font-size: clamp(32px, 4vw, 54px); line-height: 1.12; letter-spacing: -.045em; }
.section-copy { max-width: 680px; margin: 18px 0 0; color: var(--muted); font-size: 18px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(16,40,63,.08);
  backdrop-filter: blur(14px);
}
.header-inner { height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 900; letter-spacing: -.04em; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px 10px 10px 2px; background: var(--blue); color: #fff; font-size: 17px; box-shadow: 4px 4px 0 var(--yellow); }
.nav { display: flex; align-items: center; gap: 16px; font-size: 13px; font-weight: 750; }
.nav a:hover { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.btn { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 12px; padding: 0 20px; cursor: pointer; font-weight: 800; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 10px 24px rgba(23,105,255,.25); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-kakao { background: #fee500; color: #191919; }
.btn-outline { border: 1px solid var(--line); background: var(--white); color: var(--navy); }

.hero { position: relative; overflow: hidden; background: var(--paper); }
.hero::before { content: ""; position: absolute; width: 560px; height: 560px; right: -190px; top: -240px; border-radius: 50%; background: var(--yellow); opacity: .7; }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .75fr); gap: 72px; align-items: center; min-height: 720px; padding-block: 74px 88px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; padding: 8px 12px; border-radius: 999px; background: #e5edff; color: #0d52d9; font-size: 14px; font-weight: 800; }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(44px, 6.4vw, 76px); line-height: 1.04; letter-spacing: -.065em; }
.hero h1 strong { color: var(--blue); }
.hero-lede { max-width: 640px; margin: 24px 0 0; color: #4d6277; font-size: clamp(18px, 2vw, 22px); line-height: 1.65; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 26px 0 0; padding: 0; list-style: none; color: #355069; font-weight: 700; }
.hero-points li::before { content: "✓"; margin-right: 7px; color: var(--success); }
.hero-contact { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

.quote-panel { position: relative; padding: 30px; border: 1px solid rgba(16,40,63,.09); border-radius: 24px; background: var(--white); box-shadow: var(--shadow); }
.quote-panel::before { content: "무료"; position: absolute; top: -30px; right: 24px; padding: 7px 18px; border-radius: 99px; background: var(--yellow); color: var(--navy); font-size: 39px; line-height: 1; font-weight: 950; letter-spacing: -.06em; box-shadow: 0 8px 20px rgba(16,40,63,.16); transform: rotate(3deg); }
.quote-panel h2 { margin: 0; font-size: 26px; line-height: 1.25; letter-spacing: -.035em; }
.quote-panel .panel-copy { margin: 8px 0 24px; color: var(--muted); font-size: 15px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { margin-bottom: 13px; }
.field label { display: block; margin-bottom: 6px; color: #30485f; font-size: 14px; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; border: 1px solid #cfd9e4; border-radius: 10px; background: #fff; padding: 0 14px; color: var(--ink); }
.field textarea { min-height: 92px; resize: vertical; padding-block: 12px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: 3px solid rgba(23,105,255,.12); }
.consent { display: flex; align-items: flex-start; gap: 9px; margin: 4px 0 16px; color: #50657a; font-size: 13px; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue); }
.consent button { margin: 0; border: 0; background: none; padding: 0; color: var(--blue); text-decoration: underline; cursor: pointer; }
.honeypot { position: absolute; left: -9999px; }
.link-button { border: 0; background: none; padding: 0; color: inherit; cursor: pointer; }
.submit-btn { width: 100%; }
.form-status { min-height: 24px; margin: 10px 0 0; font-size: 14px; font-weight: 700; }
.form-status.success { color: var(--success); }
.form-status.error { color: var(--danger); }

.trust-strip { background: var(--navy); color: #fff; }
.trust-inner { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; min-height: 112px; }
.trust-title { color: var(--yellow); font-size: 15px; font-weight: 900; }
.trust-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.trust-list li { padding-left: 18px; border-left: 1px solid rgba(255,255,255,.18); font-weight: 750; }

.services { padding: 110px 0; }
.service-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 44px; }
.service-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; grid-template-rows: 290px 290px; gap: 18px; }
.service-card { position: relative; overflow: hidden; border-radius: var(--radius); padding: 28px; background: var(--paper); border: 1px solid var(--line); }
.service-card.primary { grid-row: span 2; background: var(--blue); color: #fff; }
.service-card.wide { grid-column: span 2; background: #eafaf7; }
.service-index { color: rgba(16,32,49,.45); font-size: 13px; font-weight: 900; letter-spacing: .12em; }
.primary .service-index { color: rgba(255,255,255,.7); }
.service-card h3 { position: relative; margin: 13px 0 8px; font-size: clamp(25px, 3vw, 38px); line-height: 1.2; letter-spacing: -.04em; }
.service-card p { position: relative; max-width: 440px; margin: 0; color: inherit; opacity: .78; font-size: 16px; }
.service-card p strong { color: inherit; font-weight: 950; }
.service-card .service-detail-large { margin-top: 20px; font-size: clamp(19px, 2vw, 25px); line-height: 1.55; opacity: 1; }
.service-card a { position: absolute; left: 28px; bottom: 26px; font-weight: 850; }
.service-card a::after { content: " →"; }
.service-art { position: absolute; right: -32px; bottom: -44px; width: 190px; aspect-ratio: 1; border-radius: 50%; border: 28px solid rgba(255,255,255,.14); }
.service-card:not(.primary) .service-art { border-color: rgba(23,105,255,.09); }

.compare { padding: 110px 0; background: var(--paper); }
.compare-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 72px; align-items: start; }
.compare-sticky { position: sticky; top: 110px; }
.compare-alert { display: grid; gap: 8px; margin-bottom: 18px; border-radius: 18px; background: var(--yellow); padding: 24px 26px; color: var(--navy); }
.compare-alert strong { font-size: clamp(20px, 2.2vw, 28px); line-height: 1.35; letter-spacing: -.035em; }
.compare-alert span { font-size: 16px; font-weight: 750; }
.compare-table { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.compare-row { display: grid; grid-template-columns: 1fr 1.1fr 1.1fr; min-height: 76px; align-items: center; border-bottom: 1px solid var(--line); }
.compare-row:last-child { border-bottom: 0; }
.compare-row > * { height: 100%; display: flex; align-items: center; padding: 18px 20px; border-left: 1px solid var(--line); }
.compare-row > *:first-child { border-left: 0; font-weight: 850; }
.compare-row.head { min-height: 64px; background: var(--navy); color: #fff; font-weight: 850; }
.compare-row .recommended { background: #edf3ff; color: #0d52d9; font-weight: 800; }
.compare-note { margin-top: 14px; color: var(--muted); font-size: 14px; }

.process { padding: 110px 0; background: var(--navy-deep); color: #fff; }
.process .eyebrow { color: var(--yellow); }
.process .section-copy { color: #aebdca; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 54px; border-top: 1px solid rgba(255,255,255,.2); }
.step { position: relative; padding: 34px 34px 8px 0; }
.step + .step { padding-left: 34px; border-left: 1px solid rgba(255,255,255,.2); }
.step-number { color: var(--yellow); font-size: 15px; font-weight: 900; }
.step h3 { margin: 20px 0 10px; font-size: 25px; }
.step p { margin: 0; color: #aebdca; }

.faq { padding: 110px 0; }
.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item button { width: 100%; min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 0; background: transparent; padding: 18px 0; text-align: left; color: var(--ink); cursor: pointer; font-size: 18px; font-weight: 850; }
.faq-item button span:last-child { color: var(--blue); font-size: 24px; }
.faq-answer { display: none; margin: -4px 0 22px; color: var(--muted); }
.faq-item.open .faq-answer { display: block; }

.final-cta { padding: 86px 0; background: var(--yellow); color: var(--navy); }
.final-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.final-cta h2 { max-width: 740px; margin: 0; font-size: clamp(34px, 5vw, 58px); line-height: 1.12; letter-spacing: -.05em; }
.final-actions { display: flex; flex-direction: column; gap: 10px; min-width: 230px; }
.site-footer { padding: 42px 0 100px; background: #071522; color: #9babb9; font-size: 14px; }
.footer-grid { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; }
.footer-brand { color: #fff; }
.footer-note { max-width: 650px; margin: 14px 0 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 22px; }

.mobile-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); box-shadow: 0 -8px 24px rgba(9,27,44,.14); }
.mobile-bar a { flex: 1; min-height: 50px; display: flex; align-items: center; justify-content: center; border-radius: 10px; font-weight: 850; }
.mobile-bar .call { background: var(--navy); color: #fff; }
.mobile-bar .chat { background: #fee500; color: #191919; }

.dialog { width: min(560px, calc(100% - 32px)); border: 0; border-radius: 18px; padding: 0; box-shadow: var(--shadow); }
.dialog::backdrop { background: rgba(5,18,30,.64); }
.dialog-inner { padding: 28px; }
.dialog h2 { margin: 0 0 18px; font-size: 24px; }
.dialog dl { display: grid; grid-template-columns: 120px 1fr; margin: 0; border-top: 1px solid var(--line); }
.dialog dt, .dialog dd { margin: 0; padding: 13px 0; border-bottom: 1px solid var(--line); }
.dialog dt { font-weight: 800; }
.dialog-close { width: 100%; margin-top: 20px; }

.cctv-hero { background: #071522; color: #fff; }
.cctv-hero::before { background: var(--mint); opacity: .18; }
.cctv-hero .hero-lede { color: #bac7d2; }
.cctv-hero .hero-kicker { background: rgba(124,227,207,.14); color: var(--mint); }
.cctv-hero .hero-points { color: #d4dfe7; }
.cctv-hero .hero-points li::before { color: var(--mint); }
.cctv-visual { margin-top: 34px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 560px; }
.cctv-visual span { padding: 16px; border: 1px solid rgba(255,255,255,.15); border-radius: 10px; background: rgba(255,255,255,.05); font-weight: 800; text-align: center; }
.use-cases { padding: 100px 0; }
.use-case-list { margin-top: 44px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.use-case { min-height: 190px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.use-case strong { display: block; margin-bottom: 42px; color: var(--blue); font-size: 14px; }
.use-case h3 { margin: 0; font-size: 22px; }
.use-case p { margin: 8px 0 0; color: var(--muted); }

@media (max-width: 960px) {
  .nav { display: none; }
  .hero-inner { grid-template-columns: 1fr; min-height: auto; gap: 44px; padding-block: 64px 80px; }
  .hero-copy { max-width: 760px; }
  .quote-panel { max-width: 650px; }
  .trust-inner { grid-template-columns: 1fr; gap: 14px; padding-block: 24px; }
  .trust-list { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card.primary { grid-row: auto; grid-column: span 2; }
  .compare-grid, .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .compare-sticky { position: static; }
  .use-case-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .header-inner { height: 64px; }
  .header-actions .btn-outline { display: none; }
  .header-actions .btn { min-height: 44px; padding-inline: 14px; font-size: 14px; }
  .brand { font-size: 18px; }
  .brand-mark { width: 32px; height: 32px; }
  .hero-inner { padding-block: 44px 60px; gap: 34px; }
  .hero h1 { font-size: clamp(40px, 13vw, 58px); }
  .hero-lede { font-size: 18px; }
  .hero-contact .btn { flex: 1 1 160px; }
  .quote-panel { padding: 24px 18px; border-radius: 18px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .trust-list { grid-template-columns: 1fr; gap: 10px; }
  .trust-list li { padding: 6px 0 6px 16px; }
  .services, .compare, .process, .faq, .use-cases { padding-block: 76px; }
  .service-head { display: block; }
  .service-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: none; }
  .service-card, .service-card.primary, .service-card.wide { grid-column: auto; min-height: 240px; }
  .service-card.primary { min-height: 380px; }
  .compare-table { overflow: hidden; }
  .compare-row { min-width: 0; grid-template-columns: .8fr 1fr 1.2fr; font-size: 12px; }
  .compare-row > * { padding: 12px 8px; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 26px 0; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .final-inner, .footer-grid { align-items: stretch; flex-direction: column; }
  .final-actions { width: 100%; }
  .footer-links { flex-direction: column; }
  .mobile-bar { display: flex; gap: 8px; }
  .use-case-list { grid-template-columns: 1fr; }
  .use-case { min-height: 160px; }
  .cctv-visual { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
