/*
 * 제품군 — 제품 소개(08) · 가격(09) · 보안(10)  (H3, docs/homepage-plan.md §2 · 시안 #p8~#p10)
 * shell.css 위에 얹는다. 토큰은 shell.css의 것만 쓴다.
 * ★움직이는 노드 그래프(§2.1)는 CSS 키프레임만 — JS 없음. 움직임 줄이기에서는 shell.css가 전부 멈춘다.
 * ★선을 타고 점이 흐르는 연출은 쓰지 않는다(2026-09-11 지시). 움직이는 것은 노드다.
 */

/* ── 공통 블록 ──────────────────────────────────────────────────────────── */
.p-block {
  padding-bottom: 60px;
}
.p-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--dark);
}
.p-head .num {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
}
.p-head h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.p-head__note {
  font-size: 13.5px;
  color: var(--sub);
}
.p-intro {
  padding-block: 54px 44px;
}
.p-intro .t-h1 {
  margin-top: 16px;
}
.p-intro .t-lead {
  margin-top: 16px;
  max-width: 600px;
}
.p-intro .t-lead b {
  color: var(--title);
}

/* 번호 달린 세 칸(카드형 · 선 구분형) */
.p-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.p-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
}
.p-col .num {
  font-size: 12px;
  font-weight: 800;
  color: var(--primary);
}
.p-col b {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.35;
}
.p-col p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text);
}
.p-col--tint {
  border-color: #C7CBFF;
  background: #F7F7FF;
}
.p-col--tint b {
  color: var(--on-tint);
}
.p-col--tint p {
  color: #5B5F7A;
}
.p-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border-block: 1px solid var(--line);
  background: var(--line);
}
.p-pillars > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 30px 28px;
  background: var(--paper);
}
.p-pillars .num {
  font-size: 12px;
  font-weight: 800;
  color: var(--primary);
}
.p-pillars b {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.025em;
}
.p-pillars p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text);
}

/* 안내 상자 — 상단 2px(좌측 띠를 쓰지 않는다) */
.p-note {
  margin-top: 20px;
  padding: 20px 22px 22px;
  border-top: 2px solid var(--primary);
  border-radius: 4px;
  background: #F7F7FF;
}
.p-note b {
  font-size: 14.5px;
  color: var(--on-tint);
}
.p-note p {
  margin-top: 7px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--text-strong);
}

/* 마지막 권유 */
.p-cta {
  padding: 50px 0 44px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.p-cta h2 {
  font-size: clamp(28px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.035em;
}
.p-cta p {
  margin-top: 13px;
  font-size: 15px;
  color: var(--text);
}
.p-cta__actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

/* ── 08 제품 소개 — 어두운 히어로 + 움직이는 노드 ─────────────────────────── */
.page-product .site-header {
  border-bottom-color: transparent;
}
.p-hero {
  position: relative;
  overflow: hidden;
  background: var(--hero);
}
.p-hero__graph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
  pointer-events: none;
}
.p-hero__inner {
  position: relative;
  padding-block: 66px 54px;
}
.p-hero__copy {
  max-width: 640px;
}
.p-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 28px;
  padding: 0 13px 0 11px;
  border: 1px solid rgba(129, 140, 248, 0.38);
  border-radius: 14px;
  background: rgba(79, 70, 229, 0.2);
  color: #C7CBFF;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.p-badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sky);
  animation: nvBreathe 2s ease-in-out infinite;
}
.p-hero h1 {
  margin-top: 22px;
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: #fff;
}
.p-hero h1 em {
  font-style: normal;
  color: var(--node);
}
.p-hero__lead {
  margin-top: 22px;
  max-width: 520px;
  font-size: 17px;
  line-height: 1.85;
  color: var(--on-dark-sub);
}
.p-hero__lead b {
  color: #fff;
  font-weight: 600;
}
.p-hero__actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.btn--ghost-dark {
  border-color: rgba(255, 255, 255, 0.24);
  color: #E4E6EF;
}
.btn--ghost-dark:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.p-band {
  background: var(--dark);
}
.p-band__inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-block: 30px;
}
.p-band__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-inline: 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}
.p-band__item:first-child {
  padding-left: 0;
  border-left: 0;
}
.p-band__item b {
  font-size: 15px;
  color: #fff;
}
.p-band__item span {
  font-size: 12.5px;
  color: #8E96B0;
}

.p-oneline {
  padding-block: 48px 42px;
}
.p-oneline p {
  margin-top: 14px;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.45;
}
.p-oneline em {
  font-style: normal;
  color: var(--primary);
}

/* 비교표 — 좁은 화면에서는 줄마다 쌓는다 */
.p-compare {
  width: 100%;
  margin-top: 24px;
  border-collapse: collapse;
}
.p-compare th,
.p-compare td {
  padding: 18px 12px 18px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: baseline;
}
.p-compare thead th {
  padding-block: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--faint);
}
.p-compare thead th:last-child {
  color: var(--primary);
}
.p-compare tbody th {
  width: 200px;
  font-size: 15px;
  font-weight: 700;
}
.p-compare td {
  font-size: 14px;
  line-height: 1.7;
  color: var(--sub);
}
.p-compare td:last-child {
  color: var(--text-strong);
}
.p-compare tbody tr:last-child th,
.p-compare tbody tr:last-child td {
  border-bottom: 0;
}

/* 신경망 블록 */
.p-neural {
  display: flex;
  align-items: center;
  gap: 44px;
  padding: 46px 48px;
  border-radius: var(--r-card);
  background: var(--dark);
}
.p-neural__text {
  flex: 1;
  min-width: 0;
}
.p-neural .kicker {
  color: #8E96B0;
}
.p-neural h2 {
  margin-top: 14px;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.28;
  color: #fff;
}
.p-neural p {
  margin-top: 16px;
  max-width: 380px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--on-dark-sub);
}
.p-neural .btn {
  margin-top: 22px;
}
.p-neural__fig {
  width: 600px;
  max-width: 100%;
  flex-shrink: 0;
  padding: 20px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
}
.p-neural__fig svg {
  width: 100%;
  height: auto;
}
.p-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding-top: 12px;
  font-size: 11px;
  color: #8E96B0;
}
.p-legend__ramp {
  flex: 1;
  min-width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #818CF8, rgba(129, 140, 248, 0.15));
}
.p-legend__sep {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.15);
}
.p-legend__warn {
  color: #FBBF24;
}

/* 화면 넷 */
.p-screens {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.p-screen {
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  background: var(--surface);
}
.p-screen img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: left top;
  border-bottom: 1px solid var(--line);
}
.p-screen figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
}
.p-screen b {
  font-size: 15px;
}
.p-screen span {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text);
}

/* ── 움직이는 노드(§2.1) ─────────────────────────────────────────────────── */
@keyframes nvPulse { 0%, 100% { r: 16; opacity: 1; } 50% { r: 19; opacity: 0.86; } }
@keyframes nvHalo { 0% { r: 22; opacity: 0.55; } 100% { r: 44; opacity: 0; } }
@keyframes nvDash { to { stroke-dashoffset: -22; } }
@keyframes nvSettle {
  0% { transform: translate(var(--dx), var(--dy)) scale(0.6); opacity: 0; }
  60% { opacity: 1; }
  100% { transform: translate(0, 0) scale(1); opacity: 1; }
}
@keyframes nvDrift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(var(--ox), var(--oy)); } }
@keyframes nvEdgeIn { 0%, 42% { opacity: 0; } 100% { opacity: 1; } }
@keyframes nvBreathe { 0%, 100% { opacity: 0.35; } 50% { opacity: 0.85; } }

.nv g.node {
  transform-box: view-box;
  animation: nvSettle 1.5s cubic-bezier(0.22, 1, 0.36, 1) both, nvDrift 11s ease-in-out 1.6s infinite;
}
.nv .edge {
  animation: nvEdgeIn 1.9s ease-out both;
}
.nv .halo {
  animation: nvHalo 3.2s ease-out infinite;
}
.nv .halo--late {
  animation-delay: 1.6s;
}
.nv .pulse {
  animation: nvPulse 3.2s ease-in-out infinite;
}
.nv .dash {
  animation: nvDash 1.4s linear infinite;
}
.nv .breathe {
  animation: nvBreathe 2.4s ease-in-out infinite;
}

/* ── 09 가격 ────────────────────────────────────────────────────────────── */
.p-plans {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.p-plan {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 30px 32px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
}
.p-plan--tint {
  border-color: #C7CBFF;
  background: #F7F7FF;
}
.p-plan__tag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 13px;
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
  font-size: 12.5px;
  font-weight: 700;
}
.p-plan--tint .p-plan__tag {
  background: #fff;
  color: var(--on-tint);
}
.p-plan h3 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.025em;
}
.p-plan > p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text);
}
.p-plan--tint > p {
  color: #5B5F7A;
}
.p-plan ul {
  list-style: none;
  margin: 0;
  padding: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.p-plan li {
  display: flex;
  gap: 9px;
  font-size: 13.5px;
  color: var(--text-strong);
}
.p-plan li::before {
  content: "·";
  color: var(--primary);
  font-weight: 800;
}
.p-included {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.p-included > div {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 20px 22px;
  border-radius: 4px;
  background: var(--surface);
}
.p-included b {
  font-size: 14.5px;
}
.p-included p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text);
}
.p-quote {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 44px 46px;
  border-radius: var(--r-card);
  background: var(--dark);
}
.p-quote__text {
  flex: 1;
  min-width: 0;
}
.p-quote h2 {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.3;
  color: #fff;
}
.p-quote p {
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--on-dark-sub);
}
.p-quote__form {
  width: 400px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.p-quote__form .input {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.p-quote__form .input::placeholder {
  color: #8E96B0;
}
.p-quote__form .input:focus {
  border-color: var(--node);
  box-shadow: 0 0 0 0.5px var(--node);
}

/* ── 10 보안 ────────────────────────────────────────────────────────────── */
.p-sec-intro {
  display: flex;
  align-items: flex-end;
  gap: 50px;
}
.p-sec-intro__text {
  flex: 1;
  min-width: 0;
}
.p-facts {
  width: 380px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 26px 28px;
  border-radius: var(--r-card);
  background: var(--surface);
}
.p-facts div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.p-facts dt {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--faint);
}
.p-facts dd {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}
.p-rows {
  margin: 24px 0 0;
}
.p-rows div {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.p-rows div:last-child {
  border-bottom: 0;
}
.p-rows dt {
  font-size: 15px;
  font-weight: 700;
}
.p-rows dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text);
}
.p-ask {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  padding: 28px 32px;
  border-radius: var(--r-card);
  background: var(--surface);
}
.p-ask__text {
  flex: 1;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.p-ask__text b {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* ── 좁은 화면 ──────────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .p-neural,
  .p-quote,
  .p-sec-intro {
    flex-direction: column;
    align-items: stretch;
  }
  .p-neural__fig,
  .p-quote__form,
  .p-facts {
    width: auto;
  }
  .p-included {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 880px) {
  .p-band__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 20px;
  }
  .p-band__item:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
  .p-cols,
  .p-pillars {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .p-hero__graph {
    opacity: 0.35;
  }
  .p-screens,
  .p-plans,
  .p-included {
    grid-template-columns: 1fr;
  }
  .p-neural,
  .p-quote {
    padding: 30px 22px;
  }
  .p-rows div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  /* 비교표를 줄마다 쌓는다 — 가로로 넘치지 않게 */
  .p-compare thead {
    display: none;
  }
  .p-compare,
  .p-compare tbody,
  .p-compare tr,
  .p-compare th,
  .p-compare td {
    display: block;
    width: auto;
  }
  .p-compare tr {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }
  .p-compare tbody tr:last-child {
    border-bottom: 0;
  }
  .p-compare th,
  .p-compare td {
    padding: 2px 0;
    border: 0;
  }
  .p-compare td::before {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--faint);
    content: attr(data-label);
  }
  .p-compare td:last-child::before {
    color: var(--primary);
  }
  .p-compare td + td {
    margin-top: 8px;
  }
}
