:root {
  --bg: #07111f;
  --bg2: #0d2035;
  --panel: rgba(255,255,255,.075);
  --panel2: rgba(255,255,255,.11);
  --text: #eef7ff;
  --muted: #a9bfd4;
  --line: rgba(255,255,255,.16);
  --accent: #42d7ff;
  --accent2: #72ffb8;
  --danger: #ffcc66;
  --shadow: 0 18px 60px rgba(0,0,0,.35);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, rgba(66,215,255,.22), transparent 30%),
    radial-gradient(circle at 82% 22%, rgba(114,255,184,.14), transparent 28%),
    linear-gradient(135deg, var(--bg), var(--bg2) 55%, #06101d);
}
a { color: inherit; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(7,17,31,.76);
  backdrop-filter: blur(18px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: .03em;
}
.logo {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(66,215,255,.45);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(66,215,255,.25), rgba(114,255,184,.12));
  box-shadow: 0 0 28px rgba(66,215,255,.18);
}
.nav { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.nav a {
  padding: 9px 12px;
  text-decoration: none;
  color: var(--muted);
  border-radius: 999px;
}
.nav a:hover { color: var(--text); background: rgba(255,255,255,.08); }
.btn, .nav .run-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(66,215,255,.45);
  border-radius: 999px;
  padding: 12px 18px;
  background: linear-gradient(135deg, rgba(66,215,255,.95), rgba(114,255,184,.82));
  color: #04111a;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 35px rgba(66,215,255,.16);
}
.btn.secondary {
  color: var(--text);
  background: rgba(255,255,255,.08);
  border-color: var(--line);
  box-shadow: none;
}
.btn:hover { transform: translateY(-1px); }
.hero {
  min-height: calc(100vh - 68px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: clamp(24px, 5vw, 68px);
  align-items: center;
  padding: clamp(52px, 8vw, 110px) clamp(18px, 5vw, 80px);
}
.eyebrow {
  color: var(--accent2);
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 13px;
}
h1 {
  margin: 14px 0 18px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: .98;
  letter-spacing: -.055em;
}
.lead {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.75;
  max-width: 760px;
}
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.055));
  box-shadow: var(--shadow);
  min-height: 420px;
  padding: 26px;
}
.grid-map {
  position: absolute;
  inset: 0;
  opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at center, #000 0 58%, transparent 88%);
}
.wave {
  position: absolute;
  border: 2px solid rgba(66,215,255,.72);
  border-radius: 50%;
  inset: 26%;
  animation: pulse 4.4s infinite ease-out;
}
.wave:nth-child(3) { inset: 18%; animation-delay: .6s; opacity: .72; }
.wave:nth-child(4) { inset: 10%; animation-delay: 1.2s; opacity: .42; }
@keyframes pulse { 0% { transform: scale(.75); opacity: .9; } 100% { transform: scale(1.25); opacity: .08; } }
.panel-mini {
  position: relative;
  z-index: 2;
  width: min(100%, 410px);
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(4,12,22,.76);
  backdrop-filter: blur(10px);
  padding: 20px;
}
.metric {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.09);
  color: var(--muted);
}
.metric strong { color: var(--text); }
section { padding: 70px clamp(18px, 5vw, 80px); }
.section-title { font-size: clamp(28px, 4vw, 44px); margin: 0 0 18px; letter-spacing: -.04em; }
.section-desc { color: var(--muted); max-width: 820px; line-height: 1.75; margin: 0 0 28px; }
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.card {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 24px;
  padding: 24px;
  min-height: 185px;
}
.card h3 { margin: 0 0 10px; font-size: 21px; }
.card p, .card li { color: var(--muted); line-height: 1.72; }
.card ul { margin: 12px 0 0; padding-left: 20px; }
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  counter-reset: step;
}
.step {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.06);
  padding: 22px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 50%;
  color: #03131d;
  background: var(--accent);
  font-weight: 900;
}
.downloads {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.download {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.055));
  padding: 24px;
}
.download small { color: var(--muted); display: block; margin-top: 8px; line-height: 1.5; }
.notice {
  border: 1px solid rgba(255,204,102,.35);
  background: rgba(255,204,102,.08);
  color: #ffe7ac;
  border-radius: 20px;
  padding: 16px 18px;
  line-height: 1.7;
}
.site-footer {
  padding: 32px clamp(18px, 5vw, 80px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.run-page { height: 100vh; overflow: hidden; background: #050a10; }
.run-toolbar {
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(7,17,31,.96);
}
.run-toolbar .left, .run-toolbar .right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.run-toolbar a { text-decoration: none; }
.iframe-wrap { height: calc(100vh - 58px); }
.iframe-wrap iframe { width: 100%; height: 100%; border: 0; background: #000; }
@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; }
  .cards, .steps, .downloads { grid-template-columns: 1fr; }
  .hero-card { min-height: 320px; }
  .site-header { position: static; align-items: flex-start; flex-direction: column; }
}
.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
}
.language-switcher .lang-label {
  padding: 0 6px 0 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.language-switcher button {
  cursor: pointer;
  border: 0;
  border-radius: 999px;
  padding: 8px 10px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}
.language-switcher button:hover {
  color: var(--text);
  background: rgba(255,255,255,.08);
}
.language-switcher button.active {
  color: #04111a;
  background: linear-gradient(135deg, rgba(66,215,255,.95), rgba(114,255,184,.82));
}
.language-switcher.compact .lang-label { display: none; }
@media (max-width: 920px) {
  .language-switcher { flex-wrap: wrap; border-radius: 18px; }
  .run-toolbar { height: auto; min-height: 58px; flex-wrap: wrap; }
  .iframe-wrap { height: calc(100vh - 112px); }
}
