:root {
  color-scheme: dark;
  --bg: #04070b;
  --bg-soft: #071018;
  --panel: rgba(13, 21, 31, 0.72);
  --panel-strong: rgba(18, 28, 42, 0.92);
  --line: rgba(165, 224, 255, 0.18);
  --line-bright: rgba(75, 220, 255, 0.48);
  --text: #f4fbff;
  --muted: #a7b8c4;
  --dim: #6e8594;
  --cyan: #42ddff;
  --lime: #b7ff4f;
  --magenta: #e15dff;
  --amber: #ffcf5b;
  --radius: 8px;
  --max: 1180px;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 15% 12%, rgba(66, 221, 255, 0.18), transparent 30%),
    radial-gradient(circle at 76% 8%, rgba(183, 255, 79, 0.1), transparent 24%),
    linear-gradient(180deg, #04070b 0%, #071018 48%, #04070b 100%);
  color: var(--text);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(115deg, transparent 0%, rgba(66, 221, 255, 0.08) 45%, transparent 58%),
    linear-gradient(70deg, transparent 10%, rgba(225, 93, 255, 0.05) 56%, transparent 68%);
  opacity: 0.7;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-shell {
  overflow: hidden;
  min-height: 100vh;
}

.topbar {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(calc(100% - 32px), var(--max));
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(3, 8, 13, 0.72);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand,
.nav,
.language-switch {
  display: flex;
  align-items: center;
}

.brand {
  width: 142px;
}

.brand-logo {
  width: 142px;
  height: auto;
}

.nav {
  gap: 26px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
}

.nav a {
  transition: color 180ms ease;
}

.nav a:hover {
  color: var(--text);
}

.language-switch {
  justify-self: end;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.lang-button {
  min-width: 38px;
  height: 28px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
}

.lang-button.is-active {
  background: var(--text);
  color: #061018;
}

.section-pad {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 110px 0;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
  gap: 38px;
  min-height: 100vh;
  padding-top: 156px;
  padding-bottom: 42px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 3;
}

.eyebrow,
.section-kicker,
.label {
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 8ch;
  margin-bottom: 22px;
  font-size: clamp(4rem, 13vw, 10.5rem);
  line-height: 0.82;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.1rem, 4.8vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 14px;
  font-size: 1.24rem;
  line-height: 1.18;
}

p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.hero-subtitle {
  max-width: 590px;
  color: #d9e8f0;
  font-size: clamp(1.12rem, 1.6vw, 1.36rem);
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 8px;
  font-size: 0.93rem;
  font-weight: 850;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  border: 1px solid rgba(183, 255, 79, 0.72);
  background: linear-gradient(135deg, var(--lime), #e9ffbf);
  color: #061018;
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.hero-visual {
  position: relative;
  right: -6vw;
  isolation: isolate;
}

.hero-visual::before {
  position: absolute;
  inset: 8% 6% 0 16%;
  z-index: -1;
  content: "";
  background: rgba(66, 221, 255, 0.22);
  filter: blur(70px);
}

.hero-visual img {
  width: min(860px, 58vw);
  max-width: none;
  border: 1px solid rgba(146, 214, 255, 0.16);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transform: perspective(1200px) rotateY(-8deg) rotateX(3deg);
}

.signal-panel {
  position: absolute;
  z-index: 2;
  min-width: 132px;
  padding: 12px 14px;
  border: 1px solid var(--line-bright);
  border-radius: 8px;
  background: rgba(5, 12, 18, 0.78);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(12px);
}

.signal-panel span,
.metric span,
.network-feature .label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.signal-panel strong {
  color: var(--text);
  font-size: 1.28rem;
}

.signal-one {
  top: 9%;
  left: 28%;
}

.signal-two {
  right: 12%;
  bottom: 14%;
}

.hero-strip {
  position: absolute;
  right: 0;
  bottom: 42px;
  left: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.hero-strip span {
  min-width: 0;
  padding: 16px 18px;
  background: rgba(5, 13, 20, 0.76);
  color: #d7e7ee;
  font-size: 0.78rem;
  font-weight: 850;
  text-align: center;
  text-transform: uppercase;
}

.thesis {
  display: grid;
  grid-template-columns: 0.75fr 1.4fr;
  gap: 64px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.thesis p:last-child {
  max-width: 720px;
  align-self: end;
  color: #d8e5eb;
  font-size: 1.18rem;
}

.section-head {
  max-width: 790px;
  margin-bottom: 44px;
}

.section-head p:last-child,
.product-copy p,
.architecture-copy p,
.story-content p,
.contact-copy p {
  max-width: 720px;
  color: #c5d4dc;
}

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

.capability-card,
.network-feature {
  min-height: 286px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    var(--panel);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.18);
}

.capability-card:nth-child(2) {
  border-color: rgba(183, 255, 79, 0.28);
}

.capability-card:nth-child(3) {
  border-color: rgba(225, 93, 255, 0.24);
}

.capability-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 44px;
  border: 1px solid var(--line-bright);
  border-radius: 8px;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 900;
}

.capability-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.product-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  gap: 40px;
  align-items: stretch;
  width: 100%;
  max-width: none;
  padding-right: max(20px, calc((100vw - var(--max)) / 2));
  padding-left: max(20px, calc((100vw - var(--max)) / 2));
  background:
    linear-gradient(90deg, rgba(66, 221, 255, 0.13), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  color: var(--lime);
  font-weight: 850;
}

.text-link::after {
  content: "↗";
  margin-left: 8px;
}

.product-metrics {
  display: grid;
  gap: 12px;
}

.metric {
  display: grid;
  align-content: center;
  min-height: 116px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(3, 8, 12, 0.58);
}

.metric strong {
  color: var(--text);
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  line-height: 1.12;
}

.network-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 14px;
}

.network-feature {
  position: relative;
  overflow: hidden;
  min-height: 360px;
}

.network-feature::after {
  position: absolute;
  right: -70px;
  bottom: -80px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(66, 221, 255, 0.18);
  border-radius: 50%;
  content: "";
}

.network-feature.accent {
  background:
    linear-gradient(135deg, rgba(66, 221, 255, 0.12), rgba(225, 93, 255, 0.08)),
    var(--panel-strong);
}

.network-feature h3 {
  max-width: 520px;
  margin-top: 42px;
  font-size: clamp(1.7rem, 3vw, 3.1rem);
}

.network-feature p {
  max-width: 610px;
}

.architecture {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 54px;
  align-items: start;
}

.architecture-stack {
  display: grid;
  gap: 10px;
}

.architecture-stack div {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  min-height: 74px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.architecture-stack span {
  color: var(--dim);
  font-size: 0.76rem;
  font-weight: 900;
}

.architecture-stack strong {
  font-size: clamp(1rem, 2vw, 1.45rem);
}

.story {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 42px;
  padding-top: 70px;
}

.story-line {
  min-height: 260px;
  border-left: 1px solid var(--line-bright);
  background:
    linear-gradient(var(--cyan), transparent) 0 0 / 1px 100% no-repeat,
    linear-gradient(180deg, rgba(66, 221, 255, 0.18), transparent);
}

.story-content {
  max-width: 880px;
}

.contact {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  align-items: end;
  width: min(calc(100% - 40px), var(--max));
  margin-bottom: 50px;
  padding: 56px;
  border: 1px solid rgba(183, 255, 79, 0.25);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(183, 255, 79, 0.13), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
}

.contact h2 {
  max-width: 800px;
}

.contact-button {
  white-space: nowrap;
}

.footer {
  display: flex;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 30px 0 44px;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 0.82rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .hero,
  .thesis,
  .product-band,
  .network-layout,
  .architecture,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 138px;
  }

  .hero-visual {
    right: auto;
  }

  .hero-visual img {
    width: 100%;
    transform: none;
  }

  .hero-strip {
    position: static;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 18px;
  }

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

  .contact {
    padding: 36px 24px;
  }
}

@media (max-width: 680px) {
  .section-pad {
    width: min(calc(100% - 28px), var(--max));
    padding: 76px 0;
  }

  .topbar {
    top: 10px;
    width: calc(100% - 20px);
  }

  .brand {
    width: 128px;
  }

  .brand-logo {
    width: 128px;
  }

  .hero {
    gap: 28px;
    padding-top: 116px;
  }

  h1 {
    font-size: clamp(4.2rem, 22vw, 6.7rem);
  }

  h2 {
    font-size: clamp(2rem, 12vw, 3.4rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .signal-panel {
    display: none;
  }

  .hero-strip,
  .capability-grid {
    grid-template-columns: 1fr;
  }

  .capability-card,
  .network-feature {
    min-height: auto;
  }

  .network-feature h3 {
    margin-top: 28px;
  }

  .story {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .story-line {
    min-height: 1px;
    border-top: 1px solid var(--line-bright);
    border-left: 0;
  }

  .footer {
    flex-direction: column;
    gap: 8px;
  }
}
