:root {
  --ink: #f8fafc;
  --dark: #070a12;
  --panel: #101827;
  --panel-2: #162033;
  --line: rgba(148, 163, 184, 0.24);
  --muted: #a7b4c8;
  --blue: #2f80ff;
  --cyan: #00d4ff;
  --green: #2ee59d;
  --gold: #f4bd50;
  --rose: #ff5f87;
  --white: #ffffff;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.34);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(120deg, rgba(47, 128, 255, 0.12), transparent 28%),
    linear-gradient(20deg, rgba(46, 229, 157, 0.10), transparent 30%),
    var(--dark);
  font-family: "Segoe UI", "Noto Sans KR", Arial, sans-serif;
  line-height: 1.58;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
h1, h2, h3, p { margin-top: 0; letter-spacing: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 10, 18, 0.84);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--cyan), var(--green));
  font-weight: 950;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
}

.nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav::-webkit-scrollbar { display: none; }

.nav a {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #dbe7ff;
  font-size: 14px;
  font-weight: 850;
}

.hero {
  display: grid;
  gap: 28px;
  min-height: calc(100svh - 69px);
  padding: 52px 16px 34px;
}

.hero-copy {
  display: grid;
  align-content: center;
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

h1 {
  max-width: 1040px;
  margin-bottom: 18px;
  font-size: clamp(40px, 8.6vw, 84px);
  line-height: 1.02;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 5.2vw, 52px);
  line-height: 1.12;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.26;
}

.lead {
  max-width: 820px;
  color: #c4d0e4;
  font-size: 18px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.primary,
.secondary,
.detail-link,
.order-link,
.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 15px;
  border-radius: 8px;
  font-weight: 950;
  text-align: center;
}

.primary {
  color: #061019;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  box-shadow: 0 14px 34px rgba(0, 212, 255, 0.20);
}

.secondary {
  border: 1px solid var(--line);
  color: #e8f2ff;
  background: rgba(255, 255, 255, 0.08);
}

.compact {
  min-height: 40px;
  padding: 9px 13px;
  font-size: 14px;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  max-width: 760px;
  margin-top: 28px;
}

.signal-grid span {
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid rgba(0, 212, 255, 0.22);
  border-radius: 8px;
  background: rgba(9, 18, 32, 0.76);
  color: #d8f8ff;
  font-size: 13px;
  font-weight: 900;
}

.hero-stage {
  display: grid;
  align-self: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(22, 32, 51, 0.96), rgba(7, 10, 18, 0.96));
  box-shadow: var(--shadow);
}

.stage-header,
.stage-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
}

.stage-header span,
.stage-footer span {
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
}

.stage-header b {
  text-align: right;
  overflow-wrap: anywhere;
}

.stage-screen {
  padding: 10px;
  background: #0b1220;
}

.stage-screen img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.stage-footer a {
  color: var(--cyan);
  font-weight: 950;
}

.ticker {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.ticker div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px;
}

.ticker span {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #dbeafe;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.section {
  padding: 64px 16px;
  scroll-margin-top: 92px;
}

.section-head {
  max-width: 860px;
  margin-bottom: 24px;
}

.section-head p,
.product-body p,
.command-grid p,
.build-flow p,
.detail-copy p,
.detail-grid li,
.contact p,
.footer {
  color: var(--muted);
}

.split-head {
  display: grid;
  gap: 16px;
}

.command-grid,
.product-grid,
.build-flow,
.detail-grid,
.catalog-gallery {
  display: grid;
  gap: 14px;
}

.command-grid article,
.build-flow article,
.detail-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.command-grid span {
  color: var(--gold);
  font-weight: 950;
}

.filter-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-bottom: 18px;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.filter-row::-webkit-scrollbar { display: none; }

.filter-row button {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #dbeafe;
  font: inherit;
  font-size: 13px;
  font-weight: 950;
  cursor: pointer;
}

.filter-row button.active {
  border-color: rgba(0, 212, 255, 0.72);
  color: #041018;
  background: var(--cyan);
}

.product-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 255, 0.62);
  background: rgba(255, 255, 255, 0.10);
}

.product-shot {
  display: block;
  overflow: hidden;
  background: #0b1220;
}

.product-shot img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 220ms ease;
}

.product-card:hover .product-shot img {
  transform: scale(1.03);
}

.product-body {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.product-meta span,
.tech-list span {
  min-height: 27px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #c8f7ff;
  background: rgba(0, 212, 255, 0.10);
  font-size: 12px;
  font-weight: 950;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 4px;
}

.detail-link {
  color: #041018;
  background: var(--cyan);
}

.order-link {
  border: 1px solid rgba(46, 229, 157, 0.46);
  color: #d7ffef;
  background: rgba(46, 229, 157, 0.10);
}

.build-section,
.catalog-section,
.proof-section {
  background: rgba(255, 255, 255, 0.03);
}

.contact {
  display: grid;
  gap: 22px;
  margin: 28px 16px 42px;
  padding: 28px 18px;
  border: 1px solid rgba(0, 212, 255, 0.22);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(47, 128, 255, 0.22), rgba(46, 229, 157, 0.10)), #0b1220;
  box-shadow: var(--shadow);
}

.footer {
  display: grid;
  gap: 6px;
  padding: 24px 16px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.detail-hero {
  display: grid;
  gap: 28px;
  padding: 48px 16px 34px;
}

.back-link {
  width: fit-content;
  min-height: 36px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  color: #dbeafe;
  background: rgba(255, 255, 255, 0.06);
  font-size: 13px;
}

.detail-copy > p:not(.eyebrow):not(.lead) {
  max-width: 780px;
}

.detail-visual {
  align-self: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.detail-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
}

.detail-panels,
.product-brief {
  padding-top: 24px;
}

.detail-grid h2 {
  font-size: 23px;
}

.detail-grid ul {
  margin: 0;
  padding-left: 18px;
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.brief-stats {
  display: grid;
  gap: 8px;
}

.brief-stats span {
  display: inline-flex;
  justify-content: center;
  min-height: 38px;
  padding: 9px 12px;
  border: 1px solid rgba(0, 212, 255, 0.30);
  border-radius: 8px;
  color: #d7ffef;
  background: rgba(0, 212, 255, 0.08);
  font-size: 13px;
  font-weight: 950;
}

.selling-matrix {
  display: grid;
  gap: 14px;
}

.selling-matrix article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.selling-matrix ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.proof-list {
  display: grid;
  gap: 18px;
}

.proof-card {
  display: grid;
  gap: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.20);
}

.proof-copy {
  display: grid;
  align-content: center;
  padding: 20px;
}

.proof-copy span {
  width: fit-content;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #041018;
  background: var(--cyan);
  font-size: 12px;
  font-weight: 950;
}

.proof-copy p {
  color: var(--muted);
}

.proof-card figure {
  margin: 0;
  overflow: hidden;
  background: #0b1220;
}

.proof-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.proof-card figcaption {
  padding: 10px 12px;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 850;
}

.catalog-image {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.catalog-image img {
  display: block;
  width: 100%;
  height: auto;
  background: #0b1220;
}

.catalog-image figcaption {
  padding: 10px 12px;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 850;
  overflow-wrap: anywhere;
}

@media (min-width: 720px) {
  .site-header {
    grid-template-columns: auto 1fr;
    align-items: center;
    padding: 14px clamp(24px, 4vw, 54px);
  }

  .nav {
    justify-content: flex-end;
  }

  .hero,
  .detail-hero {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 43%);
    align-items: center;
    gap: 40px;
    padding: 72px clamp(40px, 6vw, 86px) 60px;
  }

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

  .section {
    max-width: 1220px;
    margin: 0 auto;
    padding: 78px clamp(24px, 4vw, 36px);
  }

  .split-head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .command-grid,
  .build-flow,
  .detail-grid,
  .catalog-gallery,
  .selling-matrix {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-card {
    grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1.14fr);
    align-items: stretch;
  }

  .proof-card:nth-child(even) {
    grid-template-columns: minmax(360px, 1.14fr) minmax(0, 0.86fr);
  }

  .proof-card:nth-child(even) .proof-copy {
    order: 2;
  }

  .proof-card:nth-child(even) figure {
    order: 1;
  }

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

  .contact {
    max-width: 1148px;
    margin: 36px auto 52px;
    padding: 36px;
  }

  .footer {
    grid-template-columns: 1fr auto;
    padding: 24px clamp(24px, 4vw, 54px);
  }
}

@media (min-width: 1080px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .build-flow {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .contact {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

@media (max-width: 719px) {
  .site-header {
    position: static;
  }

  .nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
    overflow: visible;
  }

  .nav a {
    min-width: 0;
    padding: 8px 6px;
    font-size: 12px;
    white-space: nowrap;
  }

  .hero {
    min-height: auto;
  }

  .signal-grid,
  .card-actions,
  .contact-actions {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    display: grid;
    width: 100%;
  }

  .contact-actions .primary,
  .contact-actions .secondary {
    width: 100%;
  }
}
