@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap');
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css');

:root {
  --bg: #030615;
  --panel: #0b1422;
  --panel-strong: #111b2c;
  --border: rgba(255, 255, 255, 0.1);
  --text: #f7f9ff;
  --muted: rgba(255, 255, 255, 0.65);
  --accent: #7bc0ff;
  --accent-soft: rgba(123, 192, 255, 0.12);
  --line: rgba(255, 255, 255, 0.06);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: 'Manrope', 'Pretendard', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
}

::selection {
  background: var(--accent-soft);
  color: var(--text);
}

.page {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 64px 24px 120px;
  animation: page-intro 0.5s ease both;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 10;
  display: none;
}

.scroll-progress::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(var(--scroll, 0));
  transform-origin: left;
  transition: transform 0.2s ease;
}

.reveal {
  opacity: 1;
  transform: none;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: 'Manrope', 'Pretendard', sans-serif;
}

.tight-list,
.clean-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tight-list li,
.clean-list li {
  padding-left: 18px;
  position: relative;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 6px;
}

.tight-list li::before,
.clean-list li::before {
  content: '-';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.tag--accent {
  border-color: var(--accent);
  color: var(--accent);
}

.btn {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  padding: 9px 20px;
  border-radius: 6px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: 'Manrope', 'Pretendard', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--primary {
  border-color: transparent;
  background: var(--accent);
  color: #0b1324;
}

.btn--primary:hover {
  border-color: transparent;
  color: #0b1324;
}

@media (hover: hover) {
  .btn--primary,
  .btn--ghost {
    position: relative;
    overflow: hidden;
  }

  .btn--primary::after,
  .btn--ghost::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 0.6s ease;
  }

  .btn--primary:hover::after,
  .btn--ghost:hover::after {
    transform: translateX(120%);
  }
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.15);
  background: transparent;
}

img,
video {
  width: 100%;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: #050b17;
}

.desktop-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 6, 21, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 24px;
}

.desktop-overlay__panel {
  width: min(520px, 92vw);
  background: #0b1422;
  border: 1px solid #1c2a42;
  border-radius: 4px;
  padding: 28px 28px 24px;
  text-align: center;
}

.desktop-overlay__eyebrow {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.desktop-overlay__title {
  font-size: 26px;
  margin-bottom: 8px;
}

.desktop-overlay__text {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
}

.desktop-overlay__button {
  min-width: 120px;
}

@keyframes page-intro {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page {
    animation: none;
  }
}

@media (max-width: 768px) {
  .page {
    padding: 48px 16px 90px;
  }
}
