:root {
  --bg: #0c0d12;
  --card: rgba(255, 255, 255, 0.075);
  --border: rgba(255, 255, 255, 0.14);
  --text: #f5f7fb;
  --muted: #a6adbb;
  --muted-2: #7f8795;
  --accent: #7c5cff;
  --accent-2: #2dd4bf;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius: 24px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Noto Sans KR", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(124, 92, 255, 0.3), transparent 34rem),
    radial-gradient(circle at 85% 12%, rgba(45, 212, 191, 0.17), transparent 28rem),
    linear-gradient(180deg, var(--bg), #08090d 70%);
  color: var(--text);
  line-height: 1.65;
}

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

code,
pre {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 24px;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 10px 30px rgba(124, 92, 255, 0.35);
}

.nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

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

main,
.footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 80px);
  padding: 80px 0 96px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-2);
  font-size: 0.82rem;
  font-weight: 760;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.lead {
  max-width: 680px;
  margin-bottom: 30px;
  color: #cbd1dc;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.btn,
.command-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 740;
  cursor: pointer;
}

.btn.primary,
.command-card button {
  background: linear-gradient(135deg, var(--accent), #5d8bff);
  color: #fff;
  box-shadow: 0 14px 38px rgba(124, 92, 255, 0.32);
}

.btn.ghost {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
}

.note,
.install-note,
.section-head p,
.section p,
.faq p {
  color: var(--muted);
}

.hero-card {
  perspective: 1200px;
}

.window {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
  box-shadow: var(--shadow);
  transform: rotateY(-8deg) rotateX(3deg);
}

.traffic {
  display: flex;
  gap: 8px;
  padding: 18px;
  border-bottom: 1px solid var(--border);
}

.traffic span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
}

.traffic span:nth-child(1) {
  background: #ff5f56;
}

.traffic span:nth-child(2) {
  background: #ffbd2e;
}

.traffic span:nth-child(3) {
  background: #27c93f;
}

.player-preview {
  display: grid;
  grid-template-columns: 150px 1fr;
  min-height: 390px;
}

.player-preview aside {
  padding: 22px 16px;
  border-right: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.18);
}

.player-preview aside p {
  margin: 12px 0;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.88rem;
}

.player-preview aside .active {
  background: rgba(124, 92, 255, 0.22);
  color: var(--text);
}

.player-preview section {
  padding: 32px 26px;
}

.now {
  margin-bottom: 28px;
  font-size: 1.7rem;
  font-weight: 780;
  letter-spacing: -0.04em;
}

.bars {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 86px;
  margin-bottom: 30px;
}

.bars span {
  width: 20%;
  border-radius: 999px 999px 6px 6px;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
}

.bars span:nth-child(1) {
  height: 40%;
}

.bars span:nth-child(2) {
  height: 78%;
}

.bars span:nth-child(3) {
  height: 55%;
}

.bars span:nth-child(4) {
  height: 90%;
}

.bars span:nth-child(5) {
  height: 62%;
}

.player-preview ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.player-preview li {
  display: flex;
  gap: 12px;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #dbe1eb;
}

.player-preview li span {
  color: var(--muted-2);
}

.section {
  padding: 84px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 34px;
}

.grid {
  display: grid;
  gap: 16px;
}

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

.cards article,
.panel,
.command-card,
.terminal,
.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.cards article {
  padding: 24px;
}

.cards article p {
  margin-bottom: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.78fr);
  gap: 34px;
  align-items: center;
}

.checks {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.checks li {
  position: relative;
  padding-left: 28px;
  color: #d7dde8;
}

.checks li::before {
  position: absolute;
  left: 0;
  color: var(--accent-2);
  content: "✓";
}

.panel {
  padding: 26px;
}

.field-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.field-row:last-child {
  border-bottom: 0;
}

.field-row span {
  color: var(--muted);
}

.field-row.ok strong {
  color: var(--accent-2);
}

.install {
  text-align: center;
}

.install .section-head {
  margin-right: auto;
  margin-left: auto;
}

.command-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  max-width: 850px;
  margin: 0 auto 16px;
  padding: 14px;
  text-align: left;
}

.command-card code {
  overflow-x: auto;
  padding: 13px 14px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.28);
  color: #e9edff;
  white-space: nowrap;
}

.command-card button {
  border: 0;
  font: inherit;
}

.terminal {
  overflow-x: auto;
  margin: 0;
  padding: 24px;
  color: #dffcf6;
  background:
    linear-gradient(180deg, rgba(45, 212, 191, 0.12), transparent),
    rgba(0, 0, 0, 0.42);
}

.faq {
  max-width: 900px;
  margin: 0 auto;
}

.faq details {
  margin-bottom: 12px;
  padding: 20px 22px;
}

.faq summary {
  font-weight: 740;
  cursor: pointer;
}

.faq p {
  margin: 12px 0 0;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 40px;
  padding-bottom: 46px;
  color: var(--muted);
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--text);
  font-weight: 700;
}

@media (max-width: 920px) {
  .hero,
  .split {
    grid-template-columns: 1fr;
  }

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

  .window {
    transform: none;
  }

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

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 18px;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  main,
  .footer {
    padding-right: 18px;
    padding-left: 18px;
  }

  h1 {
    font-size: 3rem;
  }

  .cards,
  .player-preview,
  .command-card {
    grid-template-columns: 1fr;
  }

  .player-preview aside {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .section {
    padding: 60px 0;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
