:root {
  --bg: #050912;
  --bg-soft: #09111f;
  --panel: rgba(10, 18, 32, 0.78);
  --line: rgba(132, 173, 220, 0.16);
  --line-strong: rgba(65, 216, 255, 0.44);
  --text: #f6f8fc;
  --text-soft: #c5cfdd;
  --muted: #78889e;
  --cyan: #3ed8ff;
  --mint: #36e2b4;
  --violet: #7862ff;
  --display: "Arial Black", "Pretendard", "Noto Sans KR", sans-serif;
  --sans: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: var(--sans);
  background:
    radial-gradient(700px 520px at var(--mx, 77%) var(--my, 10%), rgba(90, 73, 255, 0.12), transparent 72%),
    radial-gradient(680px 540px at 8% 78%, rgba(38, 217, 181, 0.08), transparent 70%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(103, 151, 203, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 151, 203, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000 0, transparent 82%);
}

.accent-rail {
  position: fixed;
  z-index: 20;
  inset: 0 auto 0 0;
  width: 8px;
  background: linear-gradient(180deg, var(--violet), var(--cyan) 48%, var(--mint));
  box-shadow: 0 0 30px rgba(62, 216, 255, 0.3);
}

a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; }

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 64px));
  height: 88px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.brand { text-decoration: none; }
.brand b {
  display: block;
  font: 900 22px/1 var(--display);
  letter-spacing: -0.02em;
}
.brand small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.24em;
}

.header-mode {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #9aa9bd;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
}
.header-mode::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 14px var(--mint);
}

main, .site-footer { position: relative; z-index: 1; }
.wrap { width: min(1180px, calc(100% - 64px)); margin: 0 auto; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 74px;
  min-height: calc(100svh - 88px);
  padding: 72px 0 64px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.19em;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--mint)); }

.hero h1 {
  margin: 0;
  font: 900 clamp(52px, 7vw, 86px)/0.98 var(--display);
  letter-spacing: -0.065em;
}
.hero h1 span { display: block; margin-top: 18px; color: #7f8fa5; font: 800 clamp(12px, 1.45vw, 17px)/1 var(--sans); letter-spacing: 0.2em; -webkit-text-stroke: 0; }

.role {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 25px 0 0;
  color: var(--text-soft);
  font-size: 15px;
  font-weight: 700;
}
.role b { color: var(--text); font-size: 19px; }
.role i { width: 1px; height: 13px; background: #405067; }
.role em { color: var(--muted); font-size: 12px; font-style: normal; letter-spacing: 0.12em; }

.intro {
  max-width: 570px;
  margin: 29px 0 0;
  color: #aab7c8;
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.75;
  letter-spacing: -0.025em;
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  margin-top: 29px;
  color: #dbe7f5;
  text-decoration: none;
  font-size: 15px;
}
.contact-line .key { color: var(--cyan); font-size: 10px; font-weight: 900; letter-spacing: 0.13em; }
.contact-line:hover { color: var(--cyan); }

.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 31px; }
.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 17px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(9, 17, 30, 0.68);
  color: #bdc9d9;
  font: 800 12px/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: 0.2s ease;
}
.action svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.action:hover { transform: translateY(-2px); border-color: var(--line-strong); color: #fff; background: rgba(28, 50, 76, 0.55); }
.action.primary { border: 0; background: linear-gradient(120deg, var(--cyan), var(--mint)); color: #03101a; box-shadow: 0 14px 36px -20px rgba(54, 226, 180, 0.8); }

.qr-stage {
  position: relative;
  width: min(100%, 490px);
  margin-left: auto;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(17, 27, 46, 0.86), rgba(5, 10, 19, 0.86));
  box-shadow: 0 35px 90px -50px #000, inset 0 1px rgba(255,255,255,0.05);
  isolation: isolate;
}
.qr-stage::before, .qr-stage::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(1px);
}
.qr-stage::before { width: 220px; height: 220px; right: -45px; top: -55px; background: rgba(103, 82, 255, 0.13); }
.qr-stage::after { width: 190px; height: 190px; left: -55px; bottom: -55px; background: rgba(40, 217, 188, 0.1); }

.qr-kicker { display: flex; justify-content: space-between; color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: 0.16em; }
.qr-kicker span:last-child { color: var(--mint); }
.qr-box {
  position: relative;
  width: min(318px, 82vw);
  margin: 25px auto 21px;
  padding: 20px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 55px -30px rgba(62, 216, 255, 0.8), 0 0 0 1px rgba(255,255,255,0.7);
}
.qr-box::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: 24px;
  background: linear-gradient(120deg, var(--violet), var(--cyan), var(--mint));
}
.qr-box img { display: block; width: 100%; image-rendering: pixelated; }
.qr-copy { text-align: center; }
.qr-copy b { display: block; font-size: 17px; }
.qr-copy span { display: block; margin-top: 7px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.qr-url { display: block; margin-top: 16px; color: var(--cyan); font: 700 10px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; text-align: center; text-decoration: none; word-break: break-all; }

.section { padding: 105px 0; border-top: 1px solid var(--line); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 35px; }
.section-label { color: var(--cyan); font-size: 10px; font-weight: 900; letter-spacing: 0.18em; }
.section h2 { margin: 11px 0 0; font: 900 clamp(31px, 4vw, 48px)/1.06 var(--display); letter-spacing: -0.045em; }
.section-note { max-width: 410px; color: var(--muted); font-size: 12px; line-height: 1.7; text-align: right; }

.card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.business-card {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #07101d;
  box-shadow: 0 24px 60px -42px #000;
  cursor: zoom-in;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.business-card:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.business-card img { display: block; width: 100%; height: auto; }
.business-card span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 9px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 7px;
  background: rgba(4, 8, 15, 0.78);
  color: #c7d3e2;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  backdrop-filter: blur(8px);
}

.systems { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 55px; align-items: center; }
.statement { margin: 0; font: 900 clamp(36px, 5vw, 62px)/1.06 var(--display); letter-spacing: -0.05em; }
.statement::after { content: ""; display: block; width: 164px; height: 3px; margin-top: 24px; background: linear-gradient(90deg, var(--violet), var(--cyan), var(--mint)); }
.statement-sub { margin: 25px 0 0; color: #a9b5c5; font-size: 16px; line-height: 1.75; }
.system-list { margin: 0; padding: 0; list-style: none; counter-reset: system; }
.system-list li {
  counter-increment: system;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  min-height: 58px;
  border-bottom: 1px solid var(--line);
  color: #dce5f1;
  font-size: 14px;
  font-weight: 800;
}
.system-list li::before { content: "0" counter(system); color: var(--cyan); font: 800 9px/1 ui-monospace, monospace; }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  padding: 30px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
}
.site-footer b { color: #b8c5d5; }

.card-dialog {
  width: min(1100px, 94vw);
  max-width: none;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: #050912;
  color: #fff;
  box-shadow: 0 40px 130px #000;
}
.card-dialog::backdrop { background: rgba(1, 4, 10, 0.88); backdrop-filter: blur(8px); }
.card-dialog img { display: block; width: 100%; }
.dialog-close {
  position: absolute;
  top: 11px;
  right: 11px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  background: rgba(2, 7, 14, 0.78);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.reveal { opacity: 1; transform: none; }
.motion-ready .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.motion-ready .reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .motion-ready .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; transition-duration: 0.01ms !important; }
}

@media (max-width: 900px) {
  .site-header, .wrap, .site-footer { width: min(calc(100% - 40px), 680px); }
  .hero { grid-template-columns: 1fr; gap: 50px; min-height: 0; padding: 72px 0 90px; }
  .qr-stage { width: min(100%, 530px); margin: 0 auto; }
  .systems { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .section-head { align-items: start; flex-direction: column; }
  .section-note { text-align: left; }
}

@media (max-width: 560px) {
  .accent-rail { width: 5px; }
  .site-header, .wrap, .site-footer { width: calc(100% - 30px); }
  .site-header { height: 74px; }
  .brand b { font-size: 18px; }
  .brand small { font-size: 7px; }
  .header-mode { font-size: 8px; letter-spacing: 0.1em; }
  .hero { padding: 56px 0 72px; }
  .hero h1 { font-size: clamp(50px, 17vw, 68px); }
  .role { margin-top: 20px; }
  .intro { font-size: 16px; }
  .actions { display: grid; grid-template-columns: 1fr 1fr; }
  .action { padding: 0 12px; }
  .action.primary { grid-column: 1 / -1; }
  .qr-stage { padding: 20px 16px 23px; border-radius: 22px; }
  .qr-box { padding: 17px; }
  .section { padding: 78px 0; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}
