@font-face {
  font-family: 'Pretendard Variable';
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
  src: url('fonts/PretendardVariable.woff2') format('woff2-variations');
}

:root {
  --night: #070c1d;
  --night-2: #0d1530;
  --ink: #0b1220;
  --ink-2: #3f4757;
  --muted: #6b7280;
  --line: #e7e9f0;
  --bg: #ffffff;
  --bg-2: #f6f7fb;
  --blue: #2563eb;
  --blue-2: #3b82f6;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--blue);
}
h1,
h2,
h3 {
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0;
}
img {
  display: block;
}

/* ── 버튼 ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 650;
  font-size: 16px;
  padding: 13px 22px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: linear-gradient(135deg, #3b82f6, #2563eb 60%, #1d4ed8);
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}
.btn-light {
  background: #fff;
  color: var(--night);
}
.btn-sm {
  padding: 8px 16px;
  font-size: 14px;
}

/* ── 상단 메뉴 ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px max(20px, calc((100% - 1160px) / 2));
  background: rgba(7, 12, 29, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 15px;
}
.nav nav a:not(.btn) {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}
.nav nav a:not(.btn):hover {
  color: #fff;
}
.nav-logo img {
  height: 34px;
  width: auto;
}

/* ── 히어로 ── */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--night);
  color: #fff;
  margin-top: -63px;
  padding: 150px 20px 110px;
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.g1 {
  width: 620px;
  height: 620px;
  left: -140px;
  top: -220px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.55), transparent 65%);
}
.g2 {
  width: 560px;
  height: 560px;
  right: -120px;
  bottom: -260px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.42), transparent 65%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%);
}
.hero-inner {
  position: relative;
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.2);
}
.hero h1 {
  font-size: clamp(40px, 5.4vw, 68px);
  font-weight: 800;
  letter-spacing: -0.045em;
  margin: 22px 0 22px;
}
.grad {
  background: linear-gradient(92deg, #93c5fd 0%, #60a5fa 35%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.72);
  max-width: 34em;
  margin: 0 0 32px;
}
.lead b {
  color: #fff;
  font-weight: 650;
}
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding: 0;
  margin: 30px 0 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}
.trust li::before {
  content: '✓';
  color: #34d399;
  margin-right: 6px;
}

/* ── 히어로 그림: 휴대폰 + 떠 있는 카드 ── */
.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 10px 0;
}
.phone {
  position: relative;
  width: 310px;
  padding: 10px;
  border-radius: 46px;
  background: linear-gradient(160deg, #2a3350, #0e1427);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: rotate(-2deg);
}
.notch {
  position: absolute;
  top: 18px;
  left: 50%;
  translate: -50% 0;
  width: 88px;
  height: 24px;
  border-radius: 999px;
  background: #050811;
  z-index: 2;
}
.screen {
  background: #f6f7fb;
  color: var(--ink);
  border-radius: 37px;
  padding: 50px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  line-height: 1.45;
}
.s-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 15px;
  padding: 0 4px 2px;
}
.s-badge {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--blue);
  background: #e8efff;
  padding: 2px 8px;
  border-radius: 999px;
}
.s-entry,
.s-card {
  background: #fff;
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}
.s-entry {
  display: grid;
  gap: 7px;
}
.s-seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #f1f2f6;
  border-radius: 9px;
  padding: 2px;
  text-align: center;
  font-weight: 600;
  color: var(--muted);
}
.s-seg span {
  padding: 3px;
  border-radius: 7px;
}
.s-seg .on {
  background: #fff;
  color: #c2410c;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
.s-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.s-field {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 4px 8px;
}
.s-field.num {
  text-align: right;
  font-weight: 600;
}
.s-chips {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.s-chips span {
  font-size: 10.5px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 1px 8px;
  color: var(--ink-2);
}
.s-title {
  margin: 0 0 4px;
  font-size: 10.5px;
  color: var(--muted);
  font-weight: 600;
}
.s-insight {
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(120deg, #93c5fd, #c4b5fd) border-box;
  border: 1.5px solid transparent;
}
.s-insight p:not(.s-title) {
  margin: 0 0 3px;
}
.s-insight b {
  color: var(--blue);
}
.s-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.s-kpis b {
  font-size: 14px;
  letter-spacing: -0.02em;
}
.s-kpis .pos {
  color: #059669;
}
.s-chart {
  width: 100%;
  height: auto;
}

.float {
  position: absolute;
  z-index: 3;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(13, 21, 48, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  font-size: 13px;
  color: #fff;
  animation: bob 6s ease-in-out infinite;
}
.float small {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11.5px;
}
.f1 {
  left: -12%;
  bottom: 9%;
  max-width: 230px;
}
.f-ico {
  font-size: 20px;
}
.f2 {
  right: -3%;
  top: 30%;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  animation-delay: -3s;
}
.seg-mini {
  display: flex;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 999px;
  padding: 3px;
  font-weight: 600;
}
.seg-mini span {
  padding: 3px 10px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.6);
}
.seg-mini .on {
  background: #fff;
  color: var(--night);
}
@keyframes bob {
  50% {
    transform: translateY(-8px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .float {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ── 공통 섹션 ── */
.section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 110px 20px;
}
.section.alt {
  max-width: none;
  background: var(--bg-2);
  padding-left: max(20px, calc((100% - 1160px) / 2));
  padding-right: max(20px, calc((100% - 1160px) / 2));
}
.head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.kicker {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}
.head h2 {
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 800;
}
.head p {
  color: var(--muted);
  margin: 14px 0 0;
  font-size: 18px;
}

/* ── 특징: 벤토 카드 ── */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.04), 0 18px 40px rgba(15, 23, 42, 0.09);
}
.card h3 {
  font-size: 20px;
  margin: 16px 0 8px;
}
.card p {
  color: var(--ink-2);
  margin: 0;
  font-size: 16px;
}
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.bento .big {
  grid-row: span 2;
  background: linear-gradient(160deg, #0f1b3d, var(--night));
  color: #fff;
  border-color: transparent;
}
.bento .big h3 {
  font-size: 26px;
}
.bento .big p {
  color: rgba(255, 255, 255, 0.72);
}
.quote {
  margin-top: 26px;
  display: grid;
  gap: 10px;
}
.quote p {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px 14px 14px 4px;
  padding: 10px 14px;
  color: #fff !important;
  font-size: 15px;
}
.bento .wide {
  grid-column: 1 / -1;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.bento .wide h3 {
  margin-top: 4px;
}
.ico {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 14px;
  font-size: 20px;
  font-weight: 800;
}
.ico.blue {
  background: rgba(59, 130, 246, 0.18);
}
.ico.violet {
  background: #f1ebff;
}
.ico.green {
  background: #e6f8f0;
}
.ico.amber {
  background: #fff4e0;
  color: #b45309;
  font-size: 15px;
}
.ico.rose {
  background: #ffecef;
}
.ico.slate {
  background: #eef1f6;
}
.nots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}
.nots span {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px dashed #cbd2e1;
}

/* ── 사용법 ── */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: s;
}
.steps li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  position: relative;
}
.num {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}
.steps h3 {
  font-size: 21px;
  margin-bottom: 8px;
}
.steps p {
  margin: 0;
  color: var(--ink-2);
  font-size: 16px;
}

/* ── 설치 ── */
.install {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.install h3 {
  margin: 0 0 14px;
}
.os {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--bg-2);
  color: var(--ink);
}
.install ol {
  margin: 0;
  padding-left: 20px;
  color: var(--ink-2);
  font-size: 16px;
  display: grid;
  gap: 6px;
}

/* ── FAQ ── */
.faq {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 22px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 650;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  font-size: 22px;
  line-height: 1;
  color: var(--muted);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  margin: 0 0 20px;
  color: var(--ink-2);
}

/* ── 마지막 띠 ── */
.final {
  position: relative;
  overflow: hidden;
  background: var(--night);
  color: #fff;
  text-align: center;
  padding: 110px 20px;
}
.g3 {
  width: 700px;
  height: 400px;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  background: radial-gradient(ellipse, rgba(59, 130, 246, 0.45), transparent 65%);
}
.final h2 {
  position: relative;
  font-size: clamp(32px, 4.6vw, 52px);
  font-weight: 800;
}
.final p {
  position: relative;
  color: rgba(255, 255, 255, 0.7);
  margin: 14px 0 30px;
}
.final .btn {
  position: relative;
}

/* ── 아래 ── */
.foot {
  max-width: 1160px;
  margin: 0 auto;
  padding: 40px 20px 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}
.foot img {
  height: 28px;
  width: auto;
}
.foot nav {
  display: flex;
  gap: 22px;
}
.foot a {
  color: var(--ink-2);
  text-decoration: none;
}
.foot p {
  margin: 0;
}

/* ── 개인정보 처리방침 ── */
.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 20px 90px;
}
.doc h1 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 10px;
}
.doc h2 {
  font-size: 21px;
  margin: 36px 0 10px;
}
.doc p,
.doc li {
  color: var(--ink-2);
}
.doc .meta {
  color: var(--muted);
}

/* ── 화면 폭 ── */
@media (max-width: 1020px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .hero {
    padding-top: 130px;
  }
  .bento {
    grid-template-columns: 1fr 1fr;
  }
  .bento .big {
    grid-column: span 2;
    grid-row: auto;
  }
}
@media (max-width: 720px) {
  body {
    font-size: 16px;
  }
  .nav nav a:not(.btn) {
    display: none;
  }
  .nav-logo img {
    height: 30px;
  }
  .section {
    padding: 76px 20px;
  }
  .bento,
  .steps,
  .install {
    grid-template-columns: 1fr;
  }
  .bento .big,
  .bento .wide {
    grid-column: auto;
  }
  .bento .wide {
    flex-direction: column;
  }
  .phone {
    width: 280px;
  }
  .f1 {
    left: 0;
    bottom: -4%;
  }
  .f2 {
    right: 0;
    top: 26%;
  }
  .foot {
    flex-direction: column;
    text-align: center;
  }
}
