@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap');
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

:root {
  /* Colors - High Growth Deep Sapphire Theme */
  --bg-canvas: #030712;          /* deep midnight canvas */
  --bg-porcelain: #0A0F1D;       /* premium dark slate container background */
  --text-ink: #F9FAFB;           /* high-contrast bone white text */
  --text-muted: #9CA3AF;         /* elegant slate gray */
  --primary: #A78BFA;            /* neon violet focal point */
  --primary-hover: #C084FC;      /* purple hover state */
  --primary-light: #C4B5FD;      /* bright lavender violet for high contrast gradients */
  --primary-glow: rgba(167, 139, 250, 0.2);
  --secondary: #6366F1;          /* electric indigo */
  --border-brush: rgba(167, 139, 250, 0.12); /* signature low-opacity glowing border */
  --border-subtle: rgba(255, 255, 255, 0.08);

  /* Typography Fonts */
  --font-display: 'Outfit', 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
  --font-body: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Pretendard', monospace;

  /* Shapes & Roundness */
  --round-lg: 24px;              /* Bangwon (circular-square) corner radius */
  --round-md: 12px;
  --round-sm: 8px;
  
  /* Layout Spacing */
  --gutter: 24px;
  --stack-gap: 16px;
  --section-gap-lg: 140px;
  --section-gap-sm: 80px;

  /* Shadows */
  --shadow-ambient: 0 10px 40px -15px rgba(0, 0, 0, 0.6);
  --shadow-hover: 0 20px 50px -12px rgba(167, 139, 250, 0.15);

  /* Physics Transitions */
  --spring-transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --smooth-transition: all 0.3s ease;
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  position: relative;
  background-color: var(--bg-canvas);
  color: var(--text-ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Premium Custom Startup Scrollbar */
::-webkit-scrollbar {
  width: 8px; /* 극도로 세련되고 얇은 스크롤바 두께 */
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-canvas); /* 트랙을 어두운 우주 배경과 완전 동화 */
}

::-webkit-scrollbar-thumb {
  background: rgba(167, 139, 250, 0.12); /* 반투명 바이올렛 보라빛 */
  border-radius: 9999px; /* 알약 형태의 부드러운 라운딩 */
  border: 2px solid var(--bg-canvas); /* 미세한 마진 효과를 주어 공중에 뜬 느낌 부여 */
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary); /* 호버 시 네온 바이올렛으로 빛남 */
  box-shadow: 0 0 10px var(--primary);
}

/* Firefox 전용 호환성 */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(167, 139, 250, 0.25) var(--bg-canvas);
}

/* Connecting Node Network Canvas Background */
#network-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  display: block;
  overflow: hidden;
}

/* Elegant Technical Grid Background with Radial Mask Overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 50% 50%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black, transparent 75%);
  pointer-events: none;
  z-index: -1;
}

/* Global Container */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
}

/* Headings & Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.04em; /* Premium compressed letter spacing */
  line-height: 1.25;
  word-break: keep-all; /* Prevent awkward word-splitting in Korean display text */
}

.section-title {
  font-size: 2.5rem;
  color: var(--text-ink);
}

p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  letter-spacing: -0.02em; /* Balanced paragraph letter spacing */
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(3, 7, 18, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--smooth-transition);
}

.header.scrolled {
  padding: 12px 0;
  background-color: rgba(3, 7, 18, 0.85);
  box-shadow: var(--shadow-ambient);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-ink);
  text-decoration: none;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
  display: inline-block;
}

.logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(138, 43, 226, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.logo:hover .logo-icon {
  transform: scale(1.08);
}

.logo-img {
  height: 120px; /* Compensate for large empty padding in AI generated logo */
  width: auto;
  object-fit: contain;
  display: block;
  margin: -37px -25px -37px -15px; /* Prevent overlap with logo-icon */
  flex-shrink: 0;
}

.footer-brand .logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(138, 43, 226, 0.5);
}

.footer-brand .logo-img {
  height: 160px;
  margin: -50px -35px -50px -20px; /* Prevent overlap with footer logo-icon */
}

.logo-dot {
  box-shadow: 0 0 10px var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--smooth-transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--smooth-transition);
  box-shadow: 0 0 8px var(--primary);
}

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

.nav-link:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-ink);
  margin: 6px 0;
  transition: var(--smooth-transition);
}

/* Dynamic Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--round-md);
  text-decoration: none;
  cursor: pointer;
  transition: var(--spring-transition);
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #030712;
  box-shadow: 0 4px 20px rgba(167, 139, 250, 0.25);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transform: skewX(-15deg);
  transition: 0.75s ease;
  pointer-events: none;
}

.btn-primary:hover::before {
  left: 120%;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(167, 139, 250, 0.4);
  color: #030712;
}

.btn-primary:active {
  transform: translateY(1px);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.03);
  color: var(--text-ink);
  border-color: rgba(255, 255, 255, 0.12);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.05);
}

/* Sections Base Styling */
.section {
  padding: var(--section-gap-lg) 0;
  position: relative;
}

/* Hero Section */
.hero {
  padding-top: 95px; /* 기존 110px -> 95px로 더욱 콤팩트하게 좁혀, 최상단 여백을 극적으로 줄임 */
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.badge-mono {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  background-color: rgba(167, 139, 250, 0.08);
  border: 1px solid rgba(167, 139, 250, 0.2);
  padding: 6px 12px;
  border-radius: 9999px;
  margin-bottom: 24px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2.5rem, 4.5vw, 4.2rem);
  background: linear-gradient(135deg, #FFFFFF 0%, #E2E8F0 50%, #A78BFA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 24px;
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-align: left;
  width: 100%;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 600px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

/* Dynamic Spotlight Sapphire Cards */
.spotlight-card {
  position: relative;
  background: rgba(10, 15, 29, 0.6) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border-radius: var(--round-lg) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.5), inset 0 1px 0 0 rgba(255, 255, 255, 0.05) !important;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
  z-index: 2;
}

.spotlight-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(
    300px circle at var(--mouse-x, 0px) var(--mouse-y, 0px),
    rgba(167, 139, 250, 0.28) 0%,
    rgba(255, 255, 255, 0.05) 50%,
    transparent 100%
  );
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.spotlight-card:hover::before {
  opacity: 1;
}

.spotlight-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  background: radial-gradient(
    350px circle at var(--mouse-x, 0px) var(--mouse-y, 0px),
    rgba(167, 139, 250, 0.06),
    transparent 70%
  );
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.spotlight-card:hover::after {
  opacity: 1;
}

/* Live Mock Performance Card */
.live-mock-card {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease, opacity 0.5s ease !important;
}

.live-mock-card:hover {
  transform: translateY(-8px) rotate(0.5deg);
  box-shadow: 0 30px 60px -15px rgba(167, 139, 250, 0.2) !important;
}

.live-card-media {
  position: relative;
  width: 100%;
  height: 380px;
  background-color: #0d1326;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

/* Simulated atmospheric overlay for live card background */
.live-card-media::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(3, 7, 18, 0) 30%, rgba(3, 7, 18, 0.85) 100%);
  pointer-events: none;
  z-index: 1;
}

.live-tag {
  position: absolute;
  top: 24px;
  left: 24px;
  background-color: rgba(3, 7, 18, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  padding: 6px 12px;
  border-radius: var(--round-sm);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 2;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
  position: relative;
  animation: pulse-glow 1.5s infinite;
  box-shadow: 0 0 8px var(--primary);
}

@keyframes pulse-glow {
  0% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(167, 139, 250, 0.7);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 8px rgba(167, 139, 250, 0);
  }
  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(167, 139, 250, 0);
  }
}

.live-card-overlay-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 32px;
  color: #FFFFFF;
  z-index: 2;
}

.live-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #FFFFFF;
}

.live-card-loc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 6px;
}

.live-card-badge-row {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.live-genre-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 4px 8px;
  border-radius: var(--round-sm);
  color: rgba(255, 255, 255, 0.9);
}

/* Survey Waitlist Section */
.survey-section {
  background-color: transparent;
  border-top: 1px solid var(--border-subtle);
}

.survey-wrapper {
  max-width: 860px;
  margin: 0 auto;
  text-align: left;
}

.survey-header {
  margin-bottom: 48px;
}

.survey-title {
  font-size: 2.2rem;
  background: linear-gradient(135deg, #FFFFFF 0%, #E2E8F0 50%, #A78BFA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 12px;
}

.survey-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.survey-card {
  background: rgba(10, 15, 29, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: var(--round-lg);
  border: 1px solid var(--border-brush);
  padding: 48px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-ambient), inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
}

.survey-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  margin-bottom: 2.5rem;
  overflow: hidden;
}

.survey-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 12px var(--primary);
}

.funnel-step {
  display: none;
}

.funnel-step.active {
  display: block;
  animation: fadeInStep 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInStep {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.survey-question {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.4;
  color: #FFFFFF;
  font-family: var(--font-display);
}

.survey-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 2rem;
}

.option-btn {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 24px;
  border-radius: var(--round-md);
  cursor: pointer;
  transition: var(--spring-transition);
  font-size: 1rem;
  color: var(--text-muted);
  box-sizing: border-box;
}

.option-btn input[type="radio"] {
  accent-color: var(--primary);
  width: 18px;
  height: 18px;
  cursor: pointer;
  flex-shrink: 0;
  margin-right: 16px;
}

.option-btn span {
  flex: 1;
  min-width: 0;
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: break-word;
  line-height: 1.4;
}

.option-btn:hover {
  background: rgba(167, 139, 250, 0.04);
  border-color: rgba(167, 139, 250, 0.4);
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* Modern CSS checked states */
.option-btn:has(input[type="radio"]:checked) {
  background: rgba(167, 139, 250, 0.08);
  border-color: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 0 0 1px var(--primary), 0 0 20px rgba(167, 139, 250, 0.2);
  font-weight: 600;
}

/* Inline Text Input for Custom Options */
.inline-text-input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--round-sm);
  color: #FFFFFF;
  padding: 6px 12px;
  font-size: 0.85rem;
  margin-left: 12px;
  outline: none;
  flex: 1;
  min-width: 120px;
  box-sizing: border-box;
  transition: var(--smooth-transition);
}

.inline-text-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.inline-text-input:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 2px rgba(167, 139, 250, 0.2);
}

/* Toggle visibility based on checked state of parent */
.option-btn .inline-text-input {
  display: none;
}

.option-btn:has(input[type="radio"]:checked) .inline-text-input {
  display: inline-block;
  animation: fadeInInput 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInInput {
  from { opacity: 0; transform: translateX(-8px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Common Final Step Specifics */
#step-waitlist .form-group input[type="tel"] {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 16px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--round-md);
  color: #FFFFFF;
  outline: none;
  transition: var(--smooth-transition);
}

#step-waitlist .form-group input[type="tel"]:focus {
  border-color: var(--primary);
  background-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.2);
}

/* Checkbox container for privacy agreement */
.checkbox-container {
  display: block;
  position: relative;
  padding-left: 28px;
  cursor: pointer;
  user-select: none;
  color: var(--text-muted);
  line-height: 1.5;
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 3px;
  left: 0;
  height: 18px;
  width: 18px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  transition: var(--smooth-transition);
}

.checkbox-container:hover input ~ .checkmark {
  border-color: var(--primary);
  background-color: rgba(167, 139, 250, 0.04);
}

.checkbox-container input:checked ~ .checkmark {
  background-color: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(167, 139, 250, 0.4);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
  display: block;
}

.checkbox-container .checkmark:after {
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid #030712;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.privacy-link {
  color: var(--primary);
  text-decoration: underline;
  transition: var(--smooth-transition);
}

.privacy-link:hover {
  color: var(--primary-hover);
  text-shadow: 0 0 8px var(--primary);
}

/* Funnel Navigation Row */
.survey-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.btn-survey-nav {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  padding: 12px 24px;
  border-radius: var(--round-md);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--spring-transition);
}

.btn-survey-nav:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary);
  transform: translateY(-1px);
}

.btn-survey-nav.next-step, .btn-survey-nav.submit-waitlist {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #030712;
  border: none;
  margin-left: auto;
  box-shadow: 0 4px 15px rgba(167, 139, 250, 0.25);
}

.btn-survey-nav.next-step:hover, .btn-survey-nav.submit-waitlist:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 20px rgba(167, 139, 250, 0.4);
}

/* Complete Screen */
.survey-complete-screen {
  text-align: center;
  padding: 2rem 1rem;
  animation: fadeInStep 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.complete-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.btn-survey-reset {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  padding: 12px 32px;
  border-radius: var(--round-md);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--spring-transition);
}

.btn-survey-reset:hover {
  background: #FFFFFF;
  color: var(--bg-canvas);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Stats Block */
.waitlist-stats {
  display: flex;
  justify-content: space-around;
  width: 100%;
}

.stat-item {
  flex: 1;
}

.stat-number {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--primary);
  text-shadow: 0 0 10px rgba(167, 139, 250, 0.3);
}

.stat-number span {
  color: var(--text-ink);
  font-size: 1rem;
  font-weight: 400;
}

.stat-label {
  color: var(--text-muted);
}

/* Core Features Staggered Grid (Asymmetric Grid) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -15px rgba(167, 139, 250, 0.15) !important;
}

/* Staggered Desktop Sizing (asymmetric grid splits) */
.feature-card.wide-top {
  grid-column: span 8;
}

.feature-card.narrow-top {
  grid-column: span 4;
}

.feature-card.narrow-bottom-1 {
  grid-column: span 5;
}

.feature-card.wide-bottom-2 {
  grid-column: span 7;
}

.feature-card-header {
  margin-bottom: 32px;
}

.feature-icon-box {
  width: 56px;
  height: 56px;
  background-color: rgba(167, 139, 250, 0.08);
  border: 1px solid rgba(167, 139, 250, 0.2);
  border-radius: var(--round-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 24px;
  box-shadow: 0 0 15px rgba(167, 139, 250, 0.1);
}

.feature-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: #FFFFFF;
}

.feature-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Upcoming Features Grid (4 columns) */
.upcoming-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.upcoming-card {
  padding: 32px;
  transition: var(--smooth-transition);
}

.upcoming-card:hover {
  border-color: var(--primary) !important;
  box-shadow: 0 20px 40px -10px rgba(167, 139, 250, 0.12) !important;
  transform: translateY(-4px);
}

.upcoming-icon {
  font-size: 1.8rem;
  margin-bottom: 20px;
  display: inline-block;
}

.upcoming-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #FFFFFF;
}

.upcoming-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Teaser Video Mockup */
.video-section {
  background-color: transparent;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.video-container {
  max-width: 1000px;
  margin: 0 auto;
}

.video-mockup {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: var(--bg-canvas);
  border-radius: var(--round-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.3s ease;
}

.video-mockup:hover {
  border-color: rgba(167, 139, 250, 0.3);
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(167, 139, 250, 0.1) 0%, rgba(3, 7, 18, 0.75) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #FFFFFF;
  z-index: 2;
  transition: var(--smooth-transition);
}

.video-mockup:hover .video-overlay {
  background: linear-gradient(180deg, rgba(167, 139, 250, 0.15) 0%, rgba(3, 7, 18, 0.85) 100%);
}

.play-btn {
  width: 90px;
  height: 90px;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #030712;
  font-size: 2rem;
  margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(167, 139, 250, 0.35);
  transition: var(--spring-transition);
}

.video-mockup:hover .play-btn {
  transform: scale(1.1);
  box-shadow: 0 15px 40px rgba(167, 139, 250, 0.5);
  color: #030712;
}

.video-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.video-subtitle {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  opacity: 0.8;
  letter-spacing: 0.02em;
}

/* Footer styling */
.footer {
  background-color: var(--bg-canvas);
  padding: 80px 0 40px;
  border-top: 1px solid var(--border-brush);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 80px;
  margin-bottom: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.footer-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 460px;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.footer-links-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-ink);
}

.footer-link-item {
  font-size: 1rem;
  color: var(--text-ink);
  text-decoration: none;
  transition: var(--smooth-transition);
}

.footer-link-item:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-meta {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Entrance Animations using Intersection Observer */
.fade-up-init {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up-init.fade-up-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delay classes */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .container {
    padding: 0 40px;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .hero-content {
    align-items: center;
    text-align: center;
  }
  
  .hero-title {
    text-align: center;
  }
  
  .hero-subtext {
    display: block;
    margin-bottom: 2px;
  }
  
  .slider-container {
    display: block;
    width: 100% !important;
    text-align: center;
    margin: 2px auto;
  }
  
  .slider-text {
    text-align: center !important;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-card.wide-top,
  .feature-card.narrow-top,
  .feature-card.narrow-bottom-1,
  .feature-card.wide-bottom-2 {
    grid-column: span 12;
  }
  
  .upcoming-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .live-card-overlay-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .live-card-loc {
    justify-content: center;
  }
  
  .live-card-badge-row {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  :root {
    --section-gap-lg: 80px;
  }
  
  .container {
    padding: 0 20px;
  }
  
  .header-container {
    height: 70px;
  }
  

  
  .hamburger {
    display: block;
  }
  
  .hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .btn-header {
    width: 100%;
    text-align: center;
  }
  
  .section-title {
    font-size: 1.8rem;
  }

  .hero {
    padding-top: 85px; /* 기존 130px -> 85px로 더욱 밀착하여 모바일 헤더 하단의 빈공간을 최소화 */
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-subtext {
    display: block;
    margin-bottom: 2px;
  }
  
  .slider-container {
    display: block;
    width: 100% !important;
    text-align: center;
    margin: 2px auto;
    height: 1.6em; /* 모바일에서도 높이 충분히 지정하여 짤림 방지 */
  }
  
  .slider-text {
    text-align: center !important;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .live-card-media {
    height: 280px;
  }
  
  .live-card-overlay-content {
    padding: 16px 20px; /* 모바일 패딩 축소로 자식 요소 짤림 방지 */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .live-card-title {
    font-size: 1.25rem; /* 모바일 타이틀 폰트 크기 축소 */
  }
  
  .live-card-loc {
    font-size: 0.85rem; /* 모바일 위치 폰트 크기 축소 */
    justify-content: center;
  }
  
  .live-card-badge-row {
    margin-top: 10px;
    justify-content: center;
  }
  
  .survey-card {
    padding: 32px 20px;
  }
  
  .survey-question {
    font-size: 1.15rem; /* 모바일 설문 질문 크기 축소하여 레이아웃 밀림 방지 */
    margin-bottom: 24px;
  }
  
  .survey-options {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .option-btn {
    padding: 16px; /* 모바일 설문 옵션 패딩 축소 */
    font-size: 0.95rem; /* 모바일 폰트 크기 축소 */
    gap: 4px;
  }
  
  .option-desc {
    font-size: 0.8rem; /* 모바일 설명 크기 축소 */
  }
  
  .upcoming-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-links-col {
    align-items: flex-start;
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* ==========================================================================
   5. Modern Startup High-Growth Aesthetics & TwinH Elements
   ========================================================================== */

/* Ambient Glow Matrix Mesh */
.ambient-glows-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: -2;
}

.glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.08; /* Very subtle to not overwhelm content */
  mix-blend-mode: screen; /* Blend cleanly on deep midnight dark bg */
  animation: float-glow 25s infinite alternate ease-in-out;
  will-change: transform, opacity;
}

.glow-purple {
  width: 650px;
  height: 650px;
  background-color: var(--primary);
  top: -120px;
  left: -120px;
  animation: float-glow 22s infinite alternate ease-in-out, pulse-glow-1 12s infinite ease-in-out;
}

.glow-indigo {
  width: 850px;
  height: 850px;
  background-color: var(--secondary);
  top: 15%;
  right: -250px;
  animation: float-glow 32s infinite alternate ease-in-out, pulse-glow-2 15s infinite ease-in-out;
  animation-delay: -6s;
}

.glow-cyan {
  width: 550px;
  height: 550px;
  background-color: #06B6D4;
  top: 48%;
  left: 12%;
  opacity: 0.05;
  animation: float-glow 28s infinite alternate ease-in-out, pulse-glow-1 18s infinite ease-in-out;
  animation-delay: -12s;
}

@keyframes float-glow {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(90px, 70px) rotate(180deg);
  }
  100% {
    transform: translate(-50px, -90px) rotate(360deg);
  }
}

@keyframes pulse-glow-1 {
  0%, 100% {
    opacity: 0.07;
    transform: scale(1);
  }
  50% {
    opacity: 0.095;
    transform: scale(1.15);
  }
}

@keyframes pulse-glow-2 {
  0%, 100% {
    opacity: 0.06;
    transform: scale(1.1);
  }
  50% {
    opacity: 0.085;
    transform: scale(0.9);
  }
}

/* Custom Cursor Tracker */
.custom-cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 999999; /* 모달 백드롭보다 더 높게 격상하여 모달 위에서도 커서가 항시 노출되도록 보장 */
  transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease;
}

.custom-cursor-ring {
  width: 32px;
  height: 32px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 999998; /* 모달 백드롭보다 더 높게 격상하여 링 인터랙션이 모달 위에서도 완벽 노출되도록 보장 */
  transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1), height 0.3s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.3s ease, background-color 0.3s ease;
}

/* Custom Cursor hover state */
body.cursor-hovering .custom-cursor-ring {
  width: 60px;
  height: 60px;
  background-color: rgba(132, 8, 233, 0.1);
  border-color: transparent;
}

body.cursor-hovering .custom-cursor-dot {
  background-color: var(--primary-hover);
  width: 12px;
  height: 12px;
}

/* Hide cursor on interactive items to let custom cursor shine */
@media (min-width: 1025px) {
  a, button, input, select, textarea, .option-btn, .video-mockup {
    cursor: none !important;
  }
  body {
    cursor: none !important;
  }
  .slider-text {
    text-align: left;
  }
}

@media (max-width: 1024px) {
  .custom-cursor-dot, .custom-cursor-ring {
    display: none !important;
  }
}

/* Hero Text Slogan Slider */
.hero-subtext {
  display: block;
  margin-bottom: 2px;
}.slider-container {
  display: block;
  position: relative;
  overflow: hidden;
  height: 1.6em; /* 높이를 충분히 주어 짤림 방지 */
  width: 100%;
  margin: 4px 0;
  padding: 2px 0; /* 렌더링 세로 버퍼 확보 */
}

.slider-text {
  display: block;
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  opacity: 0;
  color: var(--primary);
  -webkit-text-fill-color: var(--primary);
  background-clip: border-box;
  -webkit-background-clip: border-box;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
  font-weight: 800;
  white-space: nowrap;
  line-height: 1.5; /* 줄 높이를 넉넉하게 주어 짤림 방지 */
  text-align: left;
  letter-spacing: -0.05em; /* 촘촘하고 세련된 자간으로 가로 짤림 예방 */
  text-shadow: 0 0 20px rgba(167, 139, 250, 0.4);
}
.slider-text.active {
  top: 0;
  opacity: 1;
  transform: translateY(0);
}

.slider-text.exit {
  transform: translateY(-100%);
  opacity: 0;
}

.highlight-purple {
  display: inline-block;
  color: #FFFFFF;
  -webkit-text-fill-color: #FFFFFF;
  background-clip: border-box;
  -webkit-background-clip: border-box;
  background: linear-gradient(120deg, var(--primary-glow) 0%, rgba(79, 70, 229, 0.15) 100%);
  padding: 4px 18px;
  border-radius: var(--round-sm);
  margin-top: 4px;
  text-shadow: 0 0 10px rgba(167, 139, 250, 0.5);
  border: 1px solid rgba(167, 139, 250, 0.25);
}

/* Parallax Waves Styling */
.waves-container {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 10;
  pointer-events: none;
}

.parallax-waves {
  position: relative;
  width: 100%;
  height: 80px;
  min-height: 40px;
  max-height: 120px;
}

/* Waves motion keyframes */
.parallax-layer > use {
  animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
}

.parallax-layer > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}

.parallax-layer > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}

.parallax-layer > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}

.parallax-layer > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}

@keyframes move-forever {
  0% {
    transform: translate3d(-90px, 0, 0);
  }
  100% {
    transform: translate3d(85px, 0, 0);
  }
}

@media (max-width: 768px) {
  .parallax-waves {
    height: 40px;
  }
}

/* Infinite Horizontal Marquee Roller */
.section-roller {
  background: rgba(10, 15, 29, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 24px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-brush);
  overflow: hidden;
  position: relative;
  z-index: 5;
}

.roller-wrapper {
  display: flex;
  width: 100%;
}

.roller-track {
  display: flex;
  white-space: nowrap;
  gap: 50px;
  animation: marquee-roll 40s linear infinite;
}

.roller-track span {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--smooth-transition);
}

.roller-track span:hover {
  color: var(--primary);
  transform: scale(1.05);
}

@keyframes marquee-roll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 25px));
  }
}

/* Platform Stats Cards Counter Section */
.stats-section {
  background-color: var(--bg-canvas);
  border-bottom: 1px solid var(--border-brush);
  padding: var(--section-gap-sm) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.stat-card {
  background-color: var(--bg-porcelain);
  border-radius: var(--round-lg);
  border: 1px solid var(--border-brush);
  box-shadow: var(--shadow-ambient);
  padding: 40px;
  text-align: center;
  transition: var(--spring-transition);
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.stat-num-box {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  font-weight: 800;
  background: linear-gradient(135deg, #FFFFFF 0%, #E2E8F0 40%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  filter: drop-shadow(0 0 15px rgba(167, 139, 250, 0.3));
}

.stat-plus {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 700;
}

.stat-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-ink);
  margin-bottom: 12px;
}

.stat-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .stat-card {
    padding: 30px 20px;
  }
}

/* Floating Quick CTA Button */
.floating-cta {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--bg-porcelain);
  padding: 16px 28px;
  border-radius: 9999px;
  box-shadow: 0 10px 30px rgba(132, 8, 233, 0.3);
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--spring-transition);
}

.floating-cta:hover {
  transform: scale(1.06) translateY(-4px);
  box-shadow: 0 15px 40px rgba(132, 8, 233, 0.5);
}

.floating-cta-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 9999px;
  border: 2px solid var(--primary);
  box-sizing: border-box;
  animation: pulse-out 2s infinite;
  pointer-events: none;
  opacity: 0.8;
}

@keyframes pulse-out {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}

.floating-cta-icon {
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .floating-cta {
    bottom: 20px;
    right: 20px;
    padding: 12px 20px;
    font-size: 0.85rem;
  }
}

/* Small mobile responsive optimization to prevent horizontal slogan clipping */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.6rem;
  }
}

/* Toast Message Style */
.toast {
  position: fixed;
  bottom: 2rem;
  right: -350px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #030712;
  padding: 1rem 1.8rem;
  border-radius: var(--round-md);
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(167, 139, 250, 0.3);
  z-index: 10000;
  transition: var(--smooth-transition);
}

.toast.show {
  right: 2rem;
}

/* Modal Overlay Dialog Styling */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: rgba(10, 15, 29, 0.95);
  border: 1px solid var(--border-brush);
  border-radius: var(--round-lg);
  width: 90%;
  max-width: 600px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 
              0 0 100px rgba(167, 139, 250, 0.1);
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.modal.show .modal-content {
  transform: translateY(0);
}

.modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-size: 1.3rem;
  color: #FFFFFF;
  font-family: var(--font-display);
}

.close-modal {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  transition: var(--smooth-transition);
}

.close-modal:hover {
  color: #FFFFFF;
  text-shadow: 0 0 8px #FFFFFF;
}

.modal-body {
  padding: 2rem;
  overflow-y: auto;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.modal-body p {
  margin-bottom: 1.5rem;
}

/* Privacy Modal Table */
.privacy-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.8rem;
}

.privacy-table th, .privacy-table td {
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 12px;
  text-align: left;
}

.privacy-table th {
  background: rgba(255, 255, 255, 0.03);
  color: #FFFFFF;
  font-weight: 600;
}

.privacy-table td strong {
  color: var(--primary);
}

.term-highlight {
  color: var(--primary);
  text-shadow: 0 0 8px rgba(167, 139, 250, 0.2);
}

.privacy-notes {
  border-left: 2px solid var(--primary);
  padding-left: 12px;
  margin-top: 1.5rem;
}

.privacy-notes p {
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

/* Legal Documents Page Styles */
.legal-container {
  max-width: 900px;
  margin: 150px auto 60px; /* absolute 캔버스 격리 후, 헤더에 가려지지 않도록 상단 여백을 넉넉히(150px) 확보 */
  padding: 0 20px;
  position: relative;
  z-index: 10;
}

.legal-document-card {
  background: rgba(10, 6, 22, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-brush);
  border-radius: 20px;
  padding: 50px 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(157, 78, 221, 0.1);
  position: relative;
  overflow: hidden;
}

.legal-document-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(157, 78, 221, 0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.legal-content-wrapper {
  position: relative;
  z-index: 2;
}

.legal-header {
  text-align: center;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 30px;
}

.legal-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #FFF 30%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(157, 78, 221, 0.15);
}

.legal-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.legal-section {
  margin-bottom: 30px;
}

.legal-section h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-top: 40px;
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(167, 139, 250, 0.1);
  padding-bottom: 8px;
}

.legal-section h5 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-top: 25px;
  margin-bottom: 10px;
}

.legal-section p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 15px;
  word-break: keep-all;
}

.legal-section ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 15px;
}

.legal-section li {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 8px;
  word-break: keep-all;
}

.legal-section strong {
  color: #FFFFFF;
  font-weight: 600;
}

.legal-section a {
  color: var(--primary-light);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.legal-section a:hover {
  color: var(--primary-hover);
  text-shadow: 0 0 8px var(--primary);
}

/* Mobile responsive styles for legal pages */
@media (max-width: 768px) {
  .legal-container {
    margin: 120px auto 40px; /* 모바일 헤더(70px)에 가려지지 않도록 상단 마진을 120px로 확보 */
    padding: 0 15px;
  }
  
  .legal-document-card {
    padding: 30px 20px;
    border-radius: 16px;
  }
  
  .legal-title {
    font-size: 1.8rem;
  }
  
  .legal-section h4 {
    font-size: 1.15rem;
    margin-top: 30px;
  }
  
  .legal-section h5 {
    font-size: 1rem;
    margin-top: 20px;
  }
}

/* ==========================================================================
   10. Premium Custom Dialog Modal (Alert & Confirm Glassmorphism)
   ========================================================================== */
.melwith-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99990; /* 커스텀 커서(999999)보다 한 단계 낮춰서 커서가 항상 위에 렌더링되게 수정 */
  background: rgba(3, 1, 10, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.melwith-modal-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

.melwith-modal-card {
  width: 90%;
  max-width: 420px;
  background: rgba(10, 6, 22, 0.72);
  border: 1px solid rgba(167, 139, 250, 0.18);
  border-radius: 24px;
  box-shadow: var(--shadow-ambient), 0 0 50px rgba(167, 139, 250, 0.08);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.melwith-modal-backdrop.show .melwith-modal-card {
  transform: scale(1) translateY(0);
}

/* Subtle top neon border */
.melwith-modal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  border-radius: 0 0 8px 8px;
}

/* Custom Neon Icons depending on type */
.melwith-modal-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(167, 139, 250, 0.08);
  border: 1px solid rgba(167, 139, 250, 0.25);
  box-shadow: 0 0 20px rgba(167, 139, 250, 0.12);
  color: var(--primary);
  transition: var(--smooth-transition);
}

.melwith-modal-icon.type-confirm {
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(99, 102, 241, 0.25);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.12);
  color: #818CF8;
}

.melwith-modal-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.melwith-modal-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.melwith-modal-message {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 28px;
  word-break: keep-all;
  white-space: pre-wrap;
}

/* Button Layout */
.melwith-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.melwith-modal-btn {
  font-family: var(--font-body);
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--smooth-transition);
  outline: none;
  border: none;
}

.melwith-modal-btn-confirm {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(167, 139, 250, 0.25);
}

.melwith-modal-btn-confirm:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(167, 139, 250, 0.35);
}

.melwith-modal-btn-cancel {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.melwith-modal-btn-cancel:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

/* Lucide Icons Custom Integration */
.lucide {
  stroke-width: 2.2px;
  stroke: currentColor;
  fill: none;
  display: inline-block;
  vertical-align: middle;
}

/* Feature section Lucide box adjustment */
.feature-icon-box i {
  width: 24px;
  height: 24px;
}

/* Upcoming features icons */
.upcoming-icon {
  width: 28px;
  height: 28px;
  color: var(--primary);
  margin-bottom: 20px;
  display: block;
}
.upcoming-icon i {
  width: 100%;
  height: 100%;
}

/* Live Card Location Pin spacing */
.live-card-loc i {
  margin-right: 4px;
  width: 14px;
  height: 14px;
  color: var(--primary);
}

/* Rolling banner icon spacing */
.roller-track span i {
  margin-right: 6px;
  width: 14px;
  height: 14px;
  color: var(--primary-glow);
}

/* Video Section Play Button Lucide integration */
.play-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
}
.play-btn i {
  width: 24px;
  height: 24px;
  color: #FFFFFF;
  fill: #FFFFFF; /* make play arrow solid white */
}

/* Survey Option Button Icons alignment */
.option-btn i {
  margin-right: 8px;
  width: 1.15rem;
  height: 1.15rem;
  vertical-align: -0.15em;
  color: var(--primary);
}

/* Placeholder clapper icon */
#video-iframe-placeholder p i {
  margin-right: 6px;
  vertical-align: middle;
  width: 20px;
  height: 20px;
  display: inline-block;
}

/* Complete screen sparkles icon */
.complete-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--primary);
  filter: drop-shadow(0 0 10px rgba(167, 139, 250, 0.4));
  margin-bottom: 1.5rem;
}
.complete-icon i {
  width: 48px;
  height: 48px;
}

/* ==========================================================================
   11. 완벽한 반응형 미디어 쿼리 (Tablet & Mobile) 오버라이드
   ========================================================================== */

/* 태블릿 브레이크포인트 (1024px 이하) */
@media (max-width: 1024px) {
  /* 글로벌 컨테이너 여백 축소 */
  .container {
    padding: 0 40px;
  }

  /* 헤더 높이 및 여백 */
  .header-container {
    height: 70px;
  }

  /* 히어로 섹션 1열 배치 */
  .hero {
    padding-top: 100px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-content {
    align-items: center;
    text-align: center;
  }

  .hero-title {
    text-align: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
    width: 100%;
  }

  .hero-visual {
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
  }

  /* 4대 혁신 그리드 카드 - 정갈한 2열 격자 배치 */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .feature-card.wide-top,
  .feature-card.narrow-top,
  .feature-card.narrow-bottom-1,
  .feature-card.wide-bottom-2 {
    grid-column: span 1 !important;
  }

  .feature-card {
    padding: 32px;
    min-height: 280px;
  }

  /* 출시 예정 기능 그리드 - 2열 배치 */
  .upcoming-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .upcoming-card {
    padding: 24px;
  }

  /* 설문조사 카드 패딩 축소 */
  .survey-card {
    padding: 36px;
  }
}

/* 모바일 브레이크포인트 (768px 이하) */
@media (max-width: 768px) {
  /* 글로벌 컨테이너 여백 축소 */
  .container {
    padding: 0 20px;
  }

  /* 모바일 네비게이션 햄버거 메뉴 */
  .hamburger {
    display: block;
    position: relative;
    z-index: 1002;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 290px;
    height: 100vh;
    background: rgba(10, 15, 29, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    padding: 80px 40px;
    border-left: 1px solid var(--border-brush);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1001;
  }

  .nav-links.active {
    right: 0;
  }

  /* 모바일 네비게이션 CTA 버튼 조정 */
  .btn-header {
    width: 100%;
    margin-top: 10px;
  }

  /* 햄버거 라인 애니메이션 */
  .hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }

  /* 히어로 영역 폰트 및 레이아웃 고도화 */
  .hero-title {
    font-size: clamp(1.8rem, 6.5vw, 2.3rem);
    line-height: 1.3;
  }

  .hero-desc {
    font-size: 1rem;
    margin-bottom: 28px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    padding: 14px 20px;
  }

  .live-card-media {
    height: 300px;
  }

  .live-card-overlay-content {
    padding: 20px;
  }

  .live-card-title {
    font-size: 1.3rem;
  }

  /* 4대 혁신 그리드 - 1열 수직 배열 및 여백 축소 */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    padding: 24px;
    min-height: auto;
  }

  .feature-title {
    font-size: 1.35rem;
    margin-bottom: 12px;
  }

  .feature-desc {
    font-size: 0.95rem;
  }

  .feature-icon-box {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
  }

  /* 출시 예정 기능 그리드 - 1열 수직 배열 */
  .upcoming-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .upcoming-card {
    padding: 24px;
  }

  /* 설문조사 Funnel 카드 극대 최적화 */
  .survey-header {
    margin-bottom: 28px;
    text-align: center;
  }

  .survey-title {
    font-size: 1.8rem;
  }

  .survey-card {
    padding: 24px 16px;
    border-radius: var(--round-md);
  }

  .survey-question {
    font-size: 1rem !important;
    margin-bottom: 1.2rem !important;
  }

  .option-btn {
    padding: 12px 16px;
    font-size: 0.9rem;
  }

  .option-btn input[type="radio"] {
    width: 16px;
    height: 16px;
    margin-right: 12px;
  }

  /* 인라인 커스텀 입력 필드가 튀어나가지 않도록 조율 */
  .option-btn:has(input[type="radio"]:checked) {
    flex-wrap: wrap;
    gap: 8px;
  }

  .inline-text-input {
    margin-left: 0;
    width: 100%;
    margin-top: 8px;
    flex: none;
  }

  /* 설문지 내비게이션 버튼 */
  .survey-nav {
    display: flex;
    gap: 8px;
  }

  .btn-survey-nav {
    flex: 1;
    text-align: center;
    padding: 10px 12px !important;
    font-size: 0.8rem !important;
  }

  /* 통계 블록 수직 스택 */
  .waitlist-stats {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .stat-item {
    width: 100%;
    padding: 12px 0;
  }

  .stat-item:first-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  /* 티저 비디오 16:9 비율 유지 */
  .video-container {
    padding: 0;
  }

  .play-btn {
    width: 60px;
    height: 60px;
  }

  .video-title {
    font-size: 1.15rem;
  }

  .video-subtitle {
    font-size: 0.8rem;
    padding: 0 16px;
    text-align: center;
  }

  /* 푸터 1열 배치 */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-brand .logo {
    justify-content: center;
  }

  .footer-text {
    margin: 16px auto 0;
    max-width: 400px;
  }

  .footer-links-col {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    align-items: center;
  }
}



