:root {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --text: #1f1f1f;
  --muted: #5f6368;
  --line: #e6e7eb;
  --brand: #1473e6;
  --brand-dark: #0d66d0;
  --accent: #0a7f68;
  --shadow-sm: 0 4px 18px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 14px 36px rgba(0, 0, 0, 0.08);
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Noto Sans KR", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.top-banner {
  background: #2c2c2c;
  color: #fff;
  min-height: 44px;
  padding: 10px 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.top-banner a {
  color: #8cc8ff;
  font-weight: 700;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.logo {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  min-width: 220px;
  min-height: 50px;
  padding: 5px 10px;
  background: linear-gradient(140deg, #ffe988, #ffe06b);
  border: 1px solid #d3bc59;
  box-shadow: 0 10px 18px rgba(120, 92, 15, 0.18);
  transform: rotate(-2deg);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.logo:hover {
  transform: rotate(-1deg) translateY(-1px);
  box-shadow: 0 14px 24px rgba(120, 92, 15, 0.22);
}

.logo:focus-visible {
  outline: 2px solid #8cbcff;
  outline-offset: 4px;
}

.logo .note-brand {
  margin: 0 0 4px;
  font-size: 1.16rem;
  line-height: 1;
  font-weight: 900;
}

.logo .note-copy {
  font-size: 0.76rem;
  line-height: 1.3;
  max-width: 25ch;
}

.logo .note-pin {
  right: 12px;
  top: -7px;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  background: linear-gradient(145deg, #1b1b1b, #404040);
}

.logo-text {
  display: grid;
  line-height: 1.1;
}

.logo-text strong {
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
}

.logo-text small {
  color: var(--muted);
  font-size: 0.75rem;
}

.nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.nav a,
.nav-button {
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
}

.cta-mini {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
}

.has-mega {
  position: relative;
}

.mega-menu {
  position: absolute;
  left: 50%;
  top: calc(100% + 18px);
  transform: translateX(-50%);
  width: min(1060px, 94vw);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  box-shadow: var(--shadow-md);
  transition: 0.2s ease;
}

.has-mega.open .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mega-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.mega-columns article {
  background: #f8f8fa;
  border: 1px solid #ededf0;
  border-radius: 12px;
  padding: 14px;
}

.mega-columns h3 {
  margin: 0;
  font-size: 1rem;
  font-family: "Manrope", sans-serif;
}

.mega-columns p {
  margin: 8px 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.mega-columns ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 4px;
  font-size: 0.86rem;
}

.mega-footer {
  display: inline-flex;
  margin-top: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  background: linear-gradient(120deg, var(--brand), var(--brand-dark));
}

main {
  padding: 20px 0 40px;
}

.hero {
  background: var(--bg);
  border-radius: 22px;
  padding-block: clamp(10px, 2vw, 22px);
  padding-inline: 0;
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  align-items: start;
}

.hero-note {
  position: relative;
  background: linear-gradient(140deg, #ffe988, #ffe06b);
  border: 1px solid #d3bc59;
  padding: 10px 14px 8px;
  transform: rotate(-2.4deg);
  box-shadow: 0 14px 24px rgba(120, 92, 15, 0.22);
  min-height: 106px;
  align-self: start;
}

.note-head {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #6a5610;
  font-family: "Manrope", sans-serif;
}

.note-brand {
  margin: 8px 0 6px;
  font-size: 1.42rem;
  font-weight: 400;
  font-family: "Patrick Hand SC", "Noto Sans KR", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2a2926;
}

.note-copy {
  margin: 0;
  color: #35300f;
  font-size: 0.86rem;
  line-height: 1.45;
}

.note-pin {
  position: absolute;
  right: 14px;
  top: -9px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #f14a3c;
  box-shadow: 0 0 0 4px rgba(241, 74, 60, 0.22);
}

.label {
  margin: 0 0 8px;
  color: #4d4d52;
  font-size: 0.74rem;
  font-family: "Manrope", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
}

h1 {
  font-family: "Manrope", sans-serif;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

h2 {
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.hero-copy > p {
  margin-top: 0;
  color: var(--muted);
  max-width: 58ch;
}

.hero-copy .hero-lead {
  font-size: 150%;
  line-height: 1.6;
  max-width: none;
}

.hero-copy .hero-lead-nowrap {
  display: block;
  width: max-content;
  white-space: nowrap;
}

.hero-copy h1 {
  font-size: clamp(1.4rem, 2.94vw, 2.38rem);
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  border: 1px solid transparent;
  border-radius: 0;
  padding: 10px 16px;
  font-weight: 700;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.btn.primary {
  color: #fff;
  background: linear-gradient(145deg, var(--brand), var(--brand-dark));
}

.btn.ghost {
  border-color: var(--line);
  background: #fff;
}

.btn.full {
  width: 100%;
}

.hero-panel {
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fbfbfc;
  padding: 18px;
}

.hero-panel ul {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-panel li {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--line);
  background: #fff;
}

.hero-panel li strong {
  font-family: "Manrope", sans-serif;
}

.hero-panel span {
  color: var(--muted);
  font-size: 0.88rem;
}

.section-head {
  margin: 56px 0 18px;
}

.section-head p {
  margin: 8px 0 0;
  color: var(--muted);
}

.section-head.between {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

#plans {
  scroll-margin-top: 140px;
}

.text-link {
  font-weight: 700;
  color: var(--brand);
}

.segment-control {
  display: inline-flex;
  padding: 5px;
  border-radius: 0;
  border: 1px solid var(--line);
  background: #fff;
  gap: 4px;
}

.segment {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 8px 14px;
  font-weight: 700;
  color: #585d63;
  cursor: pointer;
}

.segment.active {
  background: #121212;
  color: #fff;
}

.plan-grid {
  margin-top: 16px;
  display: grid;
  gap: 21px;
  grid-auto-flow: dense;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.plan-card.span-2 {
  grid-column: span 2;
}

.plan-card.span-3 {
  grid-column: span 3;
}

.plan-card.span-4 {
  grid-column: span 4;
}

.plan-card {
  --card-min-h: 485px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-content: start;
  gap: 10px;
  box-shadow: var(--shadow-sm);
  min-height: var(--card-min-h);
  height: var(--card-min-h);
  overflow: hidden;
  position: relative;
}

.plan-layout {
  display: block;
}

.plan-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}

.plan-lead-thumb {
  display: none;
}

.plan-card.has-lead-thumb .plan-layout {
  display: flex;
  gap: 14px;
  align-items: stretch;
  flex: 1 1 auto;
  min-height: 0;
  height: calc(var(--card-min-h) - 36px);
  max-height: calc(var(--card-min-h) - 36px);
  overflow: hidden;
}

.plan-card.has-lead-thumb {
  --card-min-h: 485px;
}

.plan-card.has-lead-thumb .plan-lead-thumb {
  display: inline-flex;
  overflow: hidden;
  height: 100%;
  max-height: 100%;
  max-width: 50%;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  align-self: stretch;
}

.plan-card.has-lead-thumb .plan-lead-thumb img {
  height: 100%;
  width: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
}

.plan-card.has-lead-thumb .plan-content {
  flex: 1 1 auto;
  min-height: 0;
}

.plan-card.wide {
  --card-min-h: 485px;
  min-height: var(--card-min-h);
  height: var(--card-min-h);
}

.plan-card.featured {
  border-color: #b7d6ff;
  box-shadow: 0 12px 26px rgba(20, 115, 230, 0.15);
}

.plan-card.is-hidden {
  display: none;
}

.plan-badge {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 5px;
  background: #4f5965;
}

.plan-card[data-group="kiosk"] .plan-badge {
  background: #1f8f5f;
}

.plan-card[data-group="ai"] .plan-badge {
  background: #cf3341;
}

.plan-card[data-group="airport"] .plan-badge {
  background: #1f66d1;
}

.plan-card[data-group="device-interface"] .plan-badge {
  background: #ffd84d;
  color: #111;
}

.plan-card[data-group="product"] .plan-badge {
  background: #f28c28;
  color: #fff;
}

.plan-copy {
  color: var(--muted);
  margin: 0;
  font-size: 0.9rem;
}

.plan-title-link {
  text-decoration: none;
  color: inherit;
}

.plan-title-link:hover {
  text-decoration: underline;
}

.plan-card ul {
  margin: 0;
  padding-left: 18px;
  color: #3e454c;
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
}

.plan-meta {
  margin-top: 2px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
  display: grid;
  gap: 7px;
}

.plan-meta p {
  margin: 0;
  font-size: 0.82rem;
  color: #4d5560;
}

.plan-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.plan-tags span {
  display: inline-flex;
  padding: 3px 8px;
  border: 1px solid var(--line);
  font-size: 0.76rem;
  color: #4f5965;
}

.plan-card .btn {
  margin-top: auto;
}

.plan-card .plan-cta {
  margin: 0;
  border-radius: 0;
  width: auto;
  min-width: 0;
  padding: 2px 5px;
  font-size: 0.74rem;
  font-weight: 400;
  line-height: 1.1;
  position: absolute;
  bottom: 18px;
  right: 10px;
}

.plan-card-clickable {
  cursor: pointer;
}

.plan-card-clickable:focus-visible {
  outline: 2px solid #8cbcff;
  outline-offset: 2px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.insight-section {
  margin-top: 28px;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.insight-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
}

.insight-label {
  margin: 0 0 8px;
  color: #5e6470;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.insight-card h3 {
  margin: 0;
  font-size: 1rem;
}

.insight-card ul {
  margin: 12px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  color: #3e454c;
  font-size: 0.9rem;
}

.catalog-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
}

.catalog-grid p {
  margin: 8px 0 0;
  color: var(--muted);
}

.process-grid,
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.process-grid article,
.metric-grid article {
  background: #fff;
  border: 1px solid var(--line);
  padding: 16px;
}

.process-step {
  margin: 0 0 6px;
  color: #5e6470;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.process-grid p,
.metric-grid p {
  margin: 8px 0 0;
  color: var(--muted);
}

.metric-value {
  font-family: "Manrope", sans-serif;
  font-size: 1.9rem;
  color: #111;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-list p {
  margin: 10px 0 0;
  color: var(--muted);
}

.contact {
  margin-top: 56px;
  background: #101114;
  color: #fff;
  border-radius: 18px;
  padding: clamp(18px, 4vw, 32px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.contact p {
  margin: 8px 0 0;
  color: #b8bec6;
}

.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 12px 12px 18px;
  color: #6d737a;
  font-size: 0.85rem;
}

.footer .admin-entry {
  border: 1px solid #d5dbe3;
  color: #6d737a;
  text-decoration: none;
  font-size: 0.68rem;
  width: 40px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 0;
  background: #fff;
  white-space: nowrap;
}

.footer .admin-entry:hover {
  color: #2a3d59;
  border-color: #b9c4d2;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  width: 42px;
  height: 42px;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #222;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

body.inquiry-modal-open {
  overflow: hidden;
}

.inquiry-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
}

.inquiry-modal.open {
  display: block;
}

.inquiry-modal__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 233, 136, 0.2), transparent 30%),
    rgba(15, 19, 26, 0.72);
  backdrop-filter: blur(10px);
}

.inquiry-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100vw - 40px));
  height: min(86vh, 860px);
  margin: min(7vh, 48px) auto;
  background: linear-gradient(180deg, #ffffff, #f8f8fb);
  border: 1px solid rgba(210, 216, 224, 0.9);
  box-shadow: 0 32px 60px rgba(8, 12, 18, 0.24);
  display: grid;
  grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
  overflow: hidden;
}

.inquiry-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  border: 1px solid rgba(31, 31, 31, 0.12);
  background: rgba(255, 255, 255, 0.92);
  min-width: 72px;
  min-height: 38px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.inquiry-modal__note {
  position: relative;
  padding: 80px 28px 28px;
  background:
    linear-gradient(155deg, #ffe98b 0%, #ffe06b 58%, #ffd84d 100%);
  border-right: 1px solid #dbc15e;
  color: #2d2818;
}

.inquiry-modal__eyebrow {
  margin: 0 0 14px;
  font-family: "Manrope", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.inquiry-modal__note h2 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
}

.inquiry-modal__note p:last-of-type {
  margin: 14px 0 0;
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 24ch;
}

.inquiry-modal__pin {
  position: absolute;
  top: 30px;
  right: 28px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #f14a3c;
  box-shadow: 0 0 0 6px rgba(241, 74, 60, 0.18);
}

.inquiry-modal__frame-wrap {
  min-width: 0;
  height: 100%;
  background:
    linear-gradient(180deg, rgba(20, 115, 230, 0.06), rgba(20, 115, 230, 0)),
    #fff;
  padding: 72px 20px 20px;
}

.inquiry-modal__frame {
  width: 100%;
  height: 100%;
  border: 1px solid #d9e0e8;
  background: #fff;
}

@media (min-width: 1024px) {
}

@media (min-width: 600px) and (max-width: 1023px) {
  .container {
    width: calc(100vw - 32px);
    max-width: none;
    margin-inline: auto;
  }

  .hero-copy .hero-lead {
    font-size: 105%;
  }

  .plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plan-card.span-2,
  .plan-card.span-3,
  .plan-card.span-4 {
    grid-column: span 2;
  }

  .hero-panel ul {
    grid-template-columns: 1fr;
  }

  .insight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .inquiry-modal__dialog {
    width: min(980px, calc(100vw - 32px));
    grid-template-columns: 280px minmax(0, 1fr);
  }
}

@media (max-width: 599px) {
  .container {
    width: calc(100vw - 20px);
    max-width: none;
    margin-inline: auto;
  }

  .plan-grid {
    grid-template-columns: 1fr;
  }

  .plan-card,
  .plan-card.wide,
  .plan-card.has-lead-thumb {
    min-height: auto;
    height: auto;
  }

  .plan-card.has-lead-thumb .plan-content {
    height: auto;
  }

  .plan-card.span-2,
  .plan-card.span-3,
  .plan-card.span-4 {
    grid-column: span 1;
  }

  .plan-card.has-lead-thumb .plan-layout {
    flex-direction: column;
    height: auto;
    max-height: none;
  }

  .plan-card.has-lead-thumb .plan-lead-thumb {
    width: 100%;
    max-width: 50%;
    height: auto;
    max-height: none;
    align-self: flex-start;
  }

  .plan-card.has-lead-thumb .plan-lead-thumb img {
    width: 100%;
    height: auto;
    max-width: 100%;
  }

  .header-inner {
    position: relative;
    min-height: 68px;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(320px, calc(100vw - 20px));
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .header.nav-open .nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .nav a {
    display: block;
    width: 100%;
  }

  .nav a[data-group="all"],
  .nav a.cta-mini {
    padding-left: 0;
    font-weight: 800;
  }

  .nav a[data-group]:not([data-group="all"]) {
    padding-left: 12px;
  }

  .hero-panel ul,
  .insight-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy .hero-lead {
    max-width: 100%;
    font-size: 105%;
  }

  .hero-copy .hero-lead-nowrap {
    display: inline;
    width: auto;
    white-space: normal;
  }

  .section-head.between,
  .contact {
    flex-direction: column;
    align-items: flex-start;
  }

  .inquiry-modal__dialog {
    width: calc(100vw - 20px);
    height: calc(100vh - 20px);
    margin: 10px auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
  }

  .inquiry-modal__note {
    padding: 70px 18px 18px;
    border-right: 0;
    border-bottom: 1px solid #dbc15e;
  }

  .inquiry-modal__note p:last-of-type {
    max-width: none;
  }

  .inquiry-modal__frame-wrap {
    padding: 18px 14px 14px;
  }

  .inquiry-modal__close {
    top: 12px;
    right: 12px;
    min-width: 62px;
  }
}
