@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Noto+Sans+KR:wght@400;500;700;800&display=swap');

:root {
  --bg: #07111a;
  --bg-soft: rgba(8, 18, 28, 0.7);
  --surface: rgba(12, 24, 38, 0.72);
  --surface-strong: rgba(16, 30, 46, 0.92);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f3f7fb;
  --text-muted: rgba(243, 247, 251, 0.72);
  --primary: #7ce0ff;
  --primary-strong: #2bc2ff;
  --accent: #8b5cf6;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: min(1280px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top, rgba(43, 194, 255, 0.18), transparent 30%),
              radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.2), transparent 26%),
              linear-gradient(180deg, #061018 0%, #081520 48%, #07111a 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body.drawer-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

.video-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
  filter: saturate(1.04) brightness(0.42);
}

.video-overlay {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: linear-gradient(180deg, rgba(4, 9, 15, 0.35) 0%, rgba(6, 13, 20, 0.6) 24%, rgba(7, 17, 26, 0.86) 100%);
}

.floating-badges {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.floating-badge {
  position: absolute;
  width: clamp(120px, 11vw, 220px);
  opacity: 0.48;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.top-badge {
  top: 88px;
  right: clamp(12px, 2vw, 28px);
}

.bottom-badge {
  right: clamp(12px, 2vw, 28px);
  bottom: 24px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: var(--container);
  margin: 0 auto;
  margin-top: 18px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 18, 30, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.16);
}

.site-header.is-scrolled {
  background: rgba(8, 16, 26, 0.72);
  border-color: var(--line-strong);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
}

.brand-mark img {
  width: clamp(140px, 16vw, 220px);
  height: auto;
}

.desktop-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ghost-link,
.ghost-button,
.menu-toggle,
.primary-link,
.secondary-link,
.card-link,
.footer-contact a {
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, opacity 0.25s ease;
}

.ghost-link,
.ghost-button {
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.ghost-link:hover,
.ghost-button:hover,
.primary-link:hover,
.secondary-link:hover,
.footer-contact a:hover {
  transform: translateY(-1px);
  border-color: rgba(124, 224, 255, 0.45);
  background: rgba(124, 224, 255, 0.12);
}

.menu-toggle {
  border: 1px solid rgba(124, 224, 255, 0.38);
  background: linear-gradient(135deg, rgba(43, 194, 255, 0.18), rgba(139, 92, 246, 0.2));
  color: var(--text);
  padding: 10px 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.menu-toggle strong {
  font-size: 0.92rem;
  letter-spacing: 0.08em;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 25;
}

.drawer-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
}

.site-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  width: min(420px, 92vw);
  padding: 24px;
  background: rgba(8, 16, 27, 0.92);
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform 0.32s ease;
  z-index: 30;
  overflow-y: auto;
}

.site-drawer.is-open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.drawer-eyebrow,
.eyebrow,
.panel-label,
.card-tag {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}

.drawer-close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
}

.drawer-grid {
  display: grid;
  gap: 22px;
}

.drawer-grid section {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
}

.drawer-grid h2 {
  margin: 0 0 14px;
  font-size: 1rem;
}

.drawer-grid a {
  display: block;
  padding: 10px 0;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.drawer-grid a:last-child {
  border-bottom: 0;
}

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

main {
  width: var(--container);
  margin: 0 auto;
}

.hero-section {
  min-height: min(880px, calc(100vh - 60px));
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: end;
  padding: clamp(70px, 12vh, 120px) 0 70px;
}

.hero-copy,
.hero-panel,
.section-heading,
.profile-card {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero-copy.is-visible,
.hero-panel.is-visible,
.section-heading.is-visible,
.profile-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-copy h1 {
  margin: 12px 0 18px;
  font-size: clamp(2.5rem, 6vw, 5.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  max-width: 13ch;
}

.hero-description,
.section-heading p,
.card-body p,
.panel-card li {
  color: var(--text-muted);
}

.hero-description {
  max-width: 700px;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  cursor: pointer;
}

.primary-link {
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--primary-strong), var(--accent));
  color: #ffffff;
  box-shadow: 0 16px 28px rgba(43, 194, 255, 0.18);
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  max-width: 760px;
}

.hero-metrics li,
.panel-card,
.section-heading,
.profile-card,
.site-footer {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-metrics li {
  border-radius: var(--radius-lg);
  padding: 18px 18px 16px;
}

.hero-metrics strong {
  display: block;
  font-size: 1.12rem;
  margin-bottom: 6px;
}

.hero-metrics span {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.hero-panel {
  align-self: center;
}

.panel-card {
  padding: 24px;
  border-radius: var(--radius-xl);
}

.panel-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 12px;
}

.network-section {
  padding: 10px 0 90px;
}

.section-heading {
  padding: 28px;
  border-radius: var(--radius-xl);
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 10px 0 14px;
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  letter-spacing: -0.03em;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.profile-card {
  grid-column: span 3;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.profile-card.featured {
  grid-column: span 6;
}

.profile-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 224, 255, 0.32);
}

.media-wrap {
  position: relative;
  aspect-ratio: 4 / 4.6;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.media-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.profile-card:hover .media-wrap img {
  transform: scale(1.04);
}

.card-link {
  position: absolute;
  top: 16px;
  right: 16px;
  min-width: 72px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 17, 26, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text);
}

.card-link:hover {
  background: rgba(124, 224, 255, 0.16);
  border-color: rgba(124, 224, 255, 0.4);
}

.card-link.disabled {
  opacity: 0.7;
  pointer-events: none;
}

.card-body {
  padding: 22px 22px 24px;
}

.card-body h3 {
  margin: 10px 0 12px;
  font-size: 1.32rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.card-body p {
  margin: 0 0 8px;
  line-height: 1.7;
}

.site-footer {
  width: var(--container);
  margin: 0 auto 24px;
  border-radius: 28px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-footer strong {
  display: block;
  margin-bottom: 10px;
}

.site-footer p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-contact a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
}

@media (max-width: 1180px) {
  .hero-section {
    grid-template-columns: 1fr;
    align-items: center;
  }

  .hero-copy h1 {
    max-width: 14ch;
  }

  .profile-card,
  .profile-card.featured {
    grid-column: span 4;
  }
}

@media (max-width: 920px) {
  .site-header {
    width: min(100% - 20px, 100% - 20px);
    margin-top: 10px;
    border-radius: 24px;
  }

  .ghost-link {
    display: none;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

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

  .profile-card,
  .profile-card.featured {
    grid-column: span 3;
  }

  .floating-badge {
    opacity: 0.28;
  }
}

@media (max-width: 680px) {
  :root {
    --container: min(100% - 20px, 100% - 20px);
  }

  .site-header {
    padding: 12px 14px;
  }

  .ghost-button {
    display: none;
  }

  .menu-toggle strong {
    display: none;
  }

  .hero-section {
    padding: 44px 0 48px;
    min-height: auto;
  }

  .hero-copy h1 {
    font-size: clamp(2.05rem, 9vw, 3rem);
    max-width: 100%;
  }

  .section-heading,
  .panel-card,
  .site-footer {
    padding: 20px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .profile-card,
  .profile-card.featured {
    grid-column: auto;
  }

  .media-wrap {
    aspect-ratio: 4 / 4.2;
  }

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

  .floating-badges {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
