:root {
  --bg: #04070d;
  --fg: #f6f8fb;
  --muted: rgba(246, 248, 251, 0.68);
  --line: rgba(255, 255, 255, 0.16);
  --accent: #7dd3fc;
  --accent-strong: #f8fafc;
  --panel: rgba(8, 13, 24, 0.58);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--fg);
  font-family: "Inter", "Noto Sans KR", Arial, sans-serif;
  background:
    radial-gradient(circle at 72% 28%, rgba(39, 117, 166, 0.38), transparent 32rem),
    linear-gradient(135deg, #02040a 0%, #07101f 42%, #11141b 100%);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.86), transparent 85%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.24) 52%, rgba(0, 0, 0, 0.62) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.76) 0%, transparent 54%);
}

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

button {
  font: inherit;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  padding: 0 clamp(20px, 5vw, 72px);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.08));
}

.brand {
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 34px);
}

.main-nav a {
  position: relative;
  padding: 10px 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.86);
}

.main-nav a::after {
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 2px;
  content: "";
  background: var(--accent-strong);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  color: var(--fg);
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 220ms ease, opacity 220ms ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.42fr);
  align-items: end;
  min-height: 100vh;
  padding: 150px clamp(20px, 5vw, 72px) 88px;
  isolation: isolate;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero-image-frame {
  position: absolute;
  top: 8%;
  right: -4%;
  width: min(62vw, 920px);
  height: min(72vh, 720px);
  isolation: isolate;
  filter: drop-shadow(0 36px 90px rgba(0, 0, 0, 0.62));
}

.hero-image-frame::before {
  position: absolute;
  inset: 12% 4% 8%;
  z-index: -1;
  content: "";
  background: radial-gradient(ellipse at center, rgba(125, 211, 252, 0.16), transparent 68%);
  filter: blur(34px);
}

.hero-product-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  mix-blend-mode: screen;
  filter: blur(22px) saturate(0.72) contrast(0.86) brightness(0.88);
  transform: scale(1.025);
  transition: opacity 1800ms ease, filter 2200ms ease, transform 3600ms ease;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 48%, rgba(0, 0, 0, 0.78) 66%, transparent 86%);
  mask-image: radial-gradient(ellipse at center, #000 48%, rgba(0, 0, 0, 0.78) 66%, transparent 86%);
}

.hero-product-image.is-active {
  opacity: 0.84;
  filter: blur(0) saturate(0.96) contrast(1.02) brightness(0.94);
  transform: scale(1);
}

.hero-content {
  max-width: 850px;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: clamp(0.84rem, 1.5vw, 0.98rem);
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--accent);
  text-transform: uppercase;
}

.hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(3.4rem, 9vw, 8.8rem);
  line-height: 0.9;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 760px;
  margin: 32px 0 0;
  font-size: clamp(1.12rem, 2vw, 1.5rem);
  line-height: 1.55;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  word-break: keep-all;
}

.hero-copy {
  max-width: 660px;
  margin: 16px 0 0;
  font-size: clamp(0.98rem, 1.5vw, 1.1rem);
  line-height: 1.7;
  color: var(--muted);
  word-break: keep-all;
}

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

.primary-action,
.secondary-action {
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  color: var(--fg);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease;
}

.primary-action {
  background: rgba(255, 255, 255, 0.94);
  color: #030712;
}

.secondary-action {
  background: transparent;
}

.primary-action:hover,
.primary-action:focus-visible,
.secondary-action:hover,
.secondary-action:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: #02040a;
}

.hero-panel {
  width: min(100%, 380px);
  margin-left: auto;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(18px);
}

.hero-panel p {
  margin: 0 0 16px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
}

.hero-panel ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-panel li {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
}

.capability-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.1);
}

.capability-strip article {
  min-height: 190px;
  padding: clamp(24px, 4vw, 40px);
  background: rgba(3, 7, 18, 0.82);
}

.capability-strip span {
  display: block;
  margin-bottom: 30px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.capability-strip h2 {
  margin: 0 0 12px;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  letter-spacing: 0;
}

.capability-strip p {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  word-break: keep-all;
}

@media (max-width: 960px) {
  .site-header {
    height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 12px 20px 24px;
    border-top: 1px solid var(--line);
    background: rgba(2, 6, 14, 0.96);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 220ms ease, opacity 220ms ease;
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav a {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hero {
    grid-template-columns: 1fr;
    align-items: end;
    gap: 44px;
    padding-top: 122px;
  }

  .hero-image-frame {
    top: 8%;
    right: -20%;
    width: 104vw;
    height: 54vh;
    opacity: 0.72;
  }

  .hero-panel {
    width: 100%;
    margin-left: 0;
  }

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

@media (max-width: 560px) {
  .site-header {
    padding-inline: 18px;
  }

  .brand {
    font-size: 1rem;
  }

  .hero {
    min-height: 100svh;
    padding: 112px 18px 48px;
  }

  .hero-image-frame {
    top: 9%;
    right: -42%;
    width: 142vw;
    height: 44vh;
  }

  .hero h1 {
    font-size: clamp(3rem, 17vw, 4.9rem);
  }

  .hero-lead {
    margin-top: 26px;
  }

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

  .hero-panel {
    padding: 20px;
  }

  .capability-strip article {
    min-height: 160px;
    padding: 28px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
