@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css");

/* ============================================================ PAYRO 기본 변수 */
:root {
  --ink: #102338;
  --navy: #07182f;
  --blue: #2478e7;
  --blue-dark: #145fc8;
  --sky: #eaf4ff;
  --mint: #e9faf6;
  --line: #dbe4ed;
  --muted: #64748b;
  --bg: #f7faff;
  --white: #fff;
  --ease: cubic-bezier(.23, 1, .32, 1);
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Pretendard", system-ui, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  line-height: 1.7;
  letter-spacing: -.025em;
  word-break: keep-all;
  overflow-wrap: break-word;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.24; letter-spacing: -.045em; margin: 0; }

.payro-container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.payro-overline,
.payro-kicker {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
}

.kicker-line { width: 30px; height: 2px; background: var(--blue); }

/* ============================================================ 헤더 */
.payro-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(219, 228, 237, .85);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(18px);
}

.payro-header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.payro-logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }

.payro-logo-mark {
  width: 31px;
  height: 31px;
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  transform: skew(-20deg);
}

.payro-logo-mark span { display: block; width: 7px; border-radius: 3px 3px 1px 1px; background: var(--blue); }
.payro-logo-mark span:nth-child(1) { height: 23px; }
.payro-logo-mark span:nth-child(2) { height: 29px; background: #73b8ff; }
.payro-logo-mark span:nth-child(3) { height: 16px; background: #b9ddff; }

.payro-logo-type strong { display: block; font-size: 20px; font-weight: 900; letter-spacing: -.07em; line-height: 1; }
.payro-logo-type small { display: block; margin-top: 4px; color: #8a9aaf; font-size: 7px; font-weight: 800; letter-spacing: .1em; }

.payro-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  color: #526176;
  font-size: 14px;
  font-weight: 700;
}

.payro-nav a { transition: color .18s var(--ease); }
.payro-nav a:hover, .payro-nav a:focus-visible { color: var(--blue); }

.payro-header-cta {
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 17px;
  border-radius: 8px;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 8px 18px rgba(36, 120, 231, .18);
  font-size: 14px;
  font-weight: 800;
  transition: transform .16s var(--ease), background .18s var(--ease);
}

.payro-header-cta:hover { background: var(--blue-dark); transform: translateY(-2px); }

/* ============================================================ 버튼 */
.payro-button {
  min-height: 53px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 21px;
  border: 0;
  border-radius: 9px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform .16s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease);
}

.payro-button:active { transform: scale(.97); }
.payro-button-primary { color: #fff; background: var(--blue); box-shadow: 0 12px 25px rgba(36, 120, 231, .2); }
.payro-button-primary:hover { background: var(--blue-dark); box-shadow: 0 15px 30px rgba(36, 120, 231, .28); }
.payro-button-white { color: var(--navy); background: #fff; }
.payro-button-white:hover { background: var(--sky); }
.payro-text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-size: 14px; font-weight: 800; }

/* ============================================================ 히어로 */
.payro-hero {
  position: relative;
  background:
    radial-gradient(circle at 81% 29%, rgba(83, 170, 255, .17), transparent 27%),
    linear-gradient(118deg, #f7fbff 0%, #eef7ff 58%, #e9f5ff 100%);
  border-bottom: 1px solid var(--line);
}

.payro-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .86fr);
  align-items: center;
  gap: 56px;
  padding: 82px 0 70px;
}

.payro-hero-mini { margin: 30px 0 12px; color: #63809f; font-size: 16px; font-weight: 800; }
.payro-hero h1 { font-size: clamp(40px, 5.4vw, 72px); font-weight: 900; letter-spacing: -.08em; }
.payro-hero h1 em { color: var(--blue); font-style: normal; }
.payro-hero-description { max-width: 545px; margin: 24px 0 0; color: #5d7188; font-size: 17px; line-height: 1.82; font-weight: 500; }
.payro-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 30px; }

.payro-trust-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; color: #6b8299; font-size: 13px; font-weight: 700; }
.payro-trust-row span { display: inline-flex; align-items: center; gap: 6px; }

.terminal-stage {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.terminal-card {
  width: 100%;
  max-width: 340px;
  padding: 30px 26px;
  border: 1px solid #d7e6f7;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 26px 60px rgba(16, 35, 56, .12);
  text-align: center;
}

.terminal-card__device {
  width: 132px;
  height: 190px;
  margin: 0 auto 20px;
  border: 2px solid #cddff2;
  border-radius: 16px;
  background: linear-gradient(160deg, #f2f8ff, #e2eefc);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.terminal-card__screen {
  width: 88px;
  height: 62px;
  border-radius: 8px;
  background: var(--navy);
  color: #7fd4ff;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: .08em;
}

.terminal-card__keys { display: grid; grid-template-columns: repeat(3, 16px); gap: 6px; }
.terminal-card__keys i { height: 12px; border-radius: 3px; background: #c3d8ef; display: block; }

.terminal-card__label { color: #8a9aaf; font-size: 11px; font-weight: 900; letter-spacing: .16em; }
.terminal-card__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
.terminal-card__chips span {
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--sky);
  color: var(--blue-dark);
  font-size: 11px;
  font-weight: 800;
}

.payro-proof-strip { border-bottom: 1px solid var(--line); background: #fff; }
.proof-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; padding: 32px 0; }
.proof-grid > div { text-align: center; }
.proof-grid strong { display: block; color: var(--blue); font-size: 30px; font-weight: 900; letter-spacing: -.05em; }
.proof-grid span { color: var(--muted); font-size: 13px; font-weight: 700; }

/* ============================================================ 섹션 */
.payro-section { padding: 84px 0; }
.payro-section-white { background: #fff; }
.payro-section-tint { background: var(--sky); border-block: 1px solid var(--line); }
.payro-section-navy { background: var(--navy); color: #fff; }

.payro-section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); gap: 40px; align-items: end; margin-bottom: 44px; }
.payro-section-heading h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 900; letter-spacing: -.06em; }
.payro-section-heading h2 em { color: var(--blue); font-style: normal; }
.payro-section-heading > p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.85; }
.overline-light { color: #7fd4ff; }
.payro-section-navy h2 em { color: #7fd4ff; }
.payro-section-navy p { color: #c3d3e4; }

/* 어드밴티지 */
.payro-advantage-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.payro-advantage-card { padding: 28px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.advantage-top { display: flex; align-items: center; justify-content: space-between; color: var(--blue); }
.advantage-top span { font-size: 13px; font-weight: 900; letter-spacing: .1em; }
.payro-advantage-card h3 { margin: 20px 0 12px; font-size: 21px; font-weight: 900; }
.payro-advantage-card p { margin: 0 0 18px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.payro-advantage-card a { color: var(--blue); font-size: 13px; font-weight: 800; }

/* 결제수단 */
.payment-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.payment-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  transition: transform .18s var(--ease), border-color .18s var(--ease);
}
.payment-card:hover { transform: translateY(-3px); border-color: var(--blue); }
.payment-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--sky); color: var(--blue-dark); font-size: 12px; font-weight: 900; flex-shrink: 0; }
.payment-card h3 { margin: 0 0 4px; font-size: 16px; font-weight: 900; }
.payment-card p { margin: 0; color: var(--muted); font-size: 12px; }

.payment-callout {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 22px;
  padding: 22px 24px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
}
.payment-callout strong { display: block; font-size: 15px; }
.payment-callout p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.payment-callout a { margin-left: auto; white-space: nowrap; color: var(--blue); font-size: 13px; font-weight: 800; }

/* 업종 */
.industry-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: 52px; align-items: center; }
.industry-copy h2 { margin-bottom: 18px; font-size: clamp(28px, 3.2vw, 40px); font-weight: 900; }
.industry-copy p { margin: 0 0 26px; color: #c3d3e4; font-size: 15px; line-height: 1.85; }
.industry-list { display: grid; gap: 12px; }
.industry-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px;
  background: rgba(255, 255, 255, .05);
  transition: background .18s var(--ease), border-color .18s var(--ease);
}
.industry-item:hover { background: rgba(255, 255, 255, .1); border-color: rgba(127, 212, 255, .5); }
.industry-number { color: #7fd4ff; font-size: 12px; font-weight: 900; }
.industry-item strong { display: block; font-size: 16px; }
.industry-item small { color: #a9bdd4; font-size: 12px; }

/* 절차 */
.process-grid { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.process-item { padding: 26px 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.process-number { display: inline-block; margin-bottom: 14px; color: var(--blue); font-size: 13px; font-weight: 900; letter-spacing: .1em; }
.process-item h3 { font-size: 18px; font-weight: 900; }
.process-item p { margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.8; }

/* 문의 */
.payro-contact-section { padding: 84px 0; background: linear-gradient(140deg, #07182f, #0d2c52); color: #fff; }
.contact-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); gap: 52px; }
.contact-copy h2 { margin-bottom: 18px; font-size: clamp(28px, 3.2vw, 40px); font-weight: 900; }
.contact-copy p { margin: 0 0 24px; color: #c3d3e4; font-size: 15px; line-height: 1.85; }
.contact-direct { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; padding: 18px 20px; border-radius: 12px; background: rgba(255, 255, 255, .08); }
.contact-direct span { display: block; color: #a9bdd4; font-size: 12px; }
.contact-direct strong { font-size: 22px; font-weight: 900; }
.contact-note { color: #8fa6bd; font-size: 12px; }

.payro-form { padding: 28px; border-radius: 16px; background: #fff; color: var(--ink); }
.payro-form .form-heading { display: flex; justify-content: space-between; margin-bottom: 10px; color: var(--blue); font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.payro-form > p { margin: 0 0 20px; color: var(--muted); font-size: 13px; }
.payro-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.payro-form-grid label { display: block; }
.payro-form-grid label span { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 800; }
.payro-form-grid label b { color: #e11d48; }
.payro-form-grid input,
.payro-form-grid select,
.payro-form-grid textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
}
.payro-form-grid input:focus,
.payro-form-grid select:focus,
.payro-form-grid textarea:focus { outline: 2px solid rgba(36, 120, 231, .35); border-color: var(--blue); }
.payro-form-grid textarea { min-height: 92px; resize: vertical; }
.form-full { grid-column: 1 / -1; }
.form-consent { margin: 16px 0 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.form-submit { width: 100%; margin-top: 16px; }

/* FAQ */
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; font-size: 16px; font-weight: 800; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i { margin-right: 10px; color: var(--blue); font-style: normal; font-size: 13px; font-weight: 900; }
.faq-list details p { margin: 14px 0 0; color: var(--muted); font-size: 14px; line-height: 1.85; }

/* 푸터 */
.payro-footer { padding: 52px 0 90px; border-top: 1px solid var(--line); background: #fff; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; color: #526176; font-size: 13px; font-weight: 700; }
.footer-links a:hover { color: var(--blue); }
.footer-divider { height: 1px; margin: 30px 0; background: var(--line); }
.footer-company { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 26px; }
.footer-company strong { font-size: 16px; font-weight: 900; }
.footer-company p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.company-details { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 12.5px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); color: #8a9aaf; font-size: 12px; }

/* 플로팅 상담 */
.floating-contact {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  box-shadow: 0 14px 30px rgba(36, 120, 231, .3);
}
.floating-contact strong { font-size: 13px; }

/* ============================================================ 서비스 상세 페이지 */
.payro-page-hero { padding: 62px 0 54px; border-bottom: 1px solid var(--line); background: linear-gradient(118deg, #f7fbff, #eaf4ff); }
.payro-page-hero h1 { max-width: 860px; font-size: clamp(32px, 4.4vw, 52px); font-weight: 900; }
.payro-page-hero p.lead { max-width: 760px; margin: 20px 0 0; color: #5d7188; font-size: 17px; line-height: 1.85; }
.payro-page-hero .payro-hero-actions { margin-top: 28px; }

.payro-breadcrumb { margin: 0 0 18px; color: #8a9aaf; font-size: 12.5px; }
.payro-breadcrumb a:hover { color: var(--blue); }
.payro-breadcrumb span { margin: 0 8px; }

.payro-article { width: min(880px, calc(100% - 40px)); margin: 0 auto; padding: 64px 0 96px; }
.payro-article h2 { margin: 54px 0 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 28px; font-weight: 900; }
.payro-article h3 { margin: 30px 0 10px; font-size: 20px; font-weight: 900; }
.payro-article p { color: #40556d; }
.payro-article ul, .payro-article ol { padding-left: 22px; }
.payro-article li { margin: 8px 0; color: #40556d; }

.payro-answer { margin: 0 0 26px; padding: 22px; border-left: 4px solid var(--blue); border-radius: 0 10px 10px 0; background: var(--sky); font-size: 17px; }
.payro-summary { margin: 0 0 40px; padding: 22px; border: 1px solid #bfe6d6; border-radius: 12px; background: var(--mint); }
.payro-summary strong { color: #0f766e; }
.payro-summary ol { margin: 12px 0 0; }

.payro-article table { width: 100%; margin: 24px 0; border-collapse: collapse; background: #fff; font-size: 14px; }
.payro-article th, .payro-article td { padding: 13px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.payro-article th { background: #f1f7fe; font-weight: 800; }

.payro-steps, .payro-checklist { padding: 22px 22px 22px 42px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }

.payro-faq details { padding: 18px 0; border-bottom: 1px solid var(--line); }
.payro-faq summary { cursor: pointer; font-weight: 800; }
.payro-faq details p { margin: 12px 0 0; }

.payro-sources { margin-top: 52px; padding: 22px; border-radius: 12px; background: #f1f7fe; }
.payro-sources h2 { margin-top: 0; border-top: 0; padding-top: 0; }
.payro-sources li { font-size: 13px; }
.payro-sources a { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 3px; }

.payro-related { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 34px; }
.payro-related a { padding: 15px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 13px; font-weight: 700; }
.payro-related a:hover { border-color: var(--blue); color: var(--blue); }

.payro-cta-band { padding: 46px 0; background: var(--navy); color: #fff; text-align: center; }
.payro-cta-band h2 { margin-bottom: 12px; font-size: 26px; font-weight: 900; }
.payro-cta-band p { margin: 0 0 22px; color: #c3d3e4; font-size: 14px; }

/* ============================================================ 반응형 */
@media (max-width: 980px) {
  .payro-hero-grid,
  .industry-layout,
  .contact-layout,
  .payro-section-heading { grid-template-columns: 1fr; }
  .payro-nav { display: none; }
  .payro-advantage-grid,
  .payment-grid,
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-company { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .payro-container { width: calc(100% - 28px); }
  .payro-header-cta { display: none; }
  .payro-hero-grid { padding: 54px 0 48px; gap: 34px; }
  .payro-section, .payro-contact-section { padding: 58px 0; }
  .payro-advantage-grid,
  .payment-grid,
  .process-grid,
  .payro-related,
  .payro-form-grid { grid-template-columns: 1fr; }
  .payment-callout { flex-direction: column; align-items: flex-start; }
  .payment-callout a { margin-left: 0; }
  .payro-article { width: calc(100% - 28px); padding: 44px 0 72px; }
  .payro-article h2 { font-size: 23px; }
  .payro-article table { display: block; overflow-x: auto; }
  .floating-contact { right: 14px; bottom: 14px; padding: 11px 15px; }
}

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