/* Plyph Premium Landing Page Styles: Deep Sea Fusion Design System */

:root {
  color-scheme: dark;
  --bg: #050505;
  --surface: rgba(15, 23, 42, 0.85); /* Navy Glass */
  --accent: #38BDF8; /* Sky Blue Accent */
  --border: rgba(56, 189, 248, 0.15); /* Tinted subtle border */
  --text-primary: #F8FAFC;
  --text-muted: #94A3B8;
  --font-title: 'Plus Jakarta Sans', 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.6;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  margin: 0;
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  background-color: var(--bg);
}

/* Ambient Deep Sea Glow Balls for futuristic depth */
.bg-glow {
  position: absolute;
  width: min(80vw, 700px);
  height: min(80vw, 700px);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(140px);
  z-index: -1;
  opacity: 0.18;
}

.bg-glow--1 {
  top: -10%;
  left: -5%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
}

.bg-glow--2 {
  bottom: 10%;
  right: -5%;
  background: radial-gradient(circle, #0F172A 0%, transparent 70%);
}

.page-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 80px 0 100px;
  display: flex;
  flex-direction: column;
  gap: 120px; /* Desktop section gap */
}

/* Premium Text Gradient Utilities */
.text-gradient {
  background: linear-gradient(135deg, #FFFFFF 10%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Deep Sea Glass Card Pattern */
.glass-card {
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 28px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.95);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 35px 80px -10px rgba(56, 189, 248, 0.08);
}

/* --- Layer 1: Hero Section Grid Orchestration --- */
.hero-section {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  column-gap: 56px;
  row-gap: 32px;
  align-items: start;
}

.hero-header {
  grid-column: 1;
  grid-row: 1;
}

.hero-visual {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  width: 100%;
}

.hero-details {
  grid-column: 1;
  grid-row: 2;
}

.waitlist-form {
  grid-column: 1;
  grid-row: 3;
  width: 100%;
}

.eyebrow {
  margin-bottom: 18px;
  font-size: 0.85rem;
  font-family: var(--font-title);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-weight: 800;
  color: var(--accent);
}

.hero-section h1 {
  font-family: var(--font-title);
  font-size: clamp(2.4rem, 4.5vw, 4.2rem);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 1.12rem;
  line-height: 1.75;
  margin-bottom: 8px;
  max-width: 640px;
}

/* Founder Note Card */
.hero-note {
  display: flex;
  gap: 16px;
  padding: 24px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.note-avatar {
  font-size: 1.5rem;
  background: rgba(56, 189, 248, 0.1);
  padding: 8px;
  border-radius: 12px;
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.note-content {
  font-size: 0.98rem;
  color: #E2E8F0;
  line-height: 1.7;
}

.note-content strong {
  color: var(--accent);
}

/* Hero Questions Section */
.hero-questions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 8px;
  border-left: 2px solid rgba(56, 189, 248, 0.25);
  padding-left: 20px;
}

.question-item {
  font-size: 1rem;
  color: #CBD5E1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.question-icon {
  font-size: 1.1rem;
}

/* Waitlist Form Styling (Pill Radius applied) */
.form-label {
  display: block;
  margin-bottom: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #E2E8F0;
}

.input-group {
  display: flex;
  background: rgba(5, 5, 5, 0.7);
  border: 1px solid var(--border);
  border-radius: 9999px; /* Pill radius */
  padding: 6px;
  gap: 8px;
  transition: all 0.3s ease;
}

.input-group:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.25);
}

.input-group input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 14px 20px;
  color: var(--text-primary);
  font-size: 1rem;
  outline: none;
}

.input-group input::placeholder {
  color: #64748B;
}

/* Glow Primary Button */
.btn-primary {
  border: none;
  background: var(--accent);
  color: #050505;
  border-radius: 9999px; /* Pill radius */
  padding: 0 32px;
  font-size: 1rem;
  font-weight: 800;
  font-family: var(--font-title);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(56, 189, 248, 0.55);
  background: #7DD3FC; /* lighter blue */
}

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

.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 12px;
  padding-left: 8px;
}

.status-message {
  margin-top: 16px;
  font-size: 0.95rem;
  font-weight: 700;
  min-height: 1.5rem;
  padding-left: 8px;
  transition: all 0.3s ease;
}

/* --- WOW Element: Interactive Video Player Mockup --- */
.video-card {
  padding: 24px;
}

.video-timeline-badges {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.chapter-badge {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--font-title);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.badge-dot {
  width: 6px;
  height: 6px;
  background-color: var(--text-muted);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.chapter-badge:hover {
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.25);
  color: var(--accent);
}

.chapter-badge.active {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.15);
}

.chapter-badge.active .badge-dot {
  background-color: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  transform: scale(1.5);
}

.video-mockup-screen {
  background: #090D1A;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 36px 28px 24px;
  position: relative;
  min-height: 290px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: inset 0 2px 20px rgba(0,0,0,0.8);
  overflow: hidden;
}

/* Glow behind the mock player */
.video-mockup-screen::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140%;
  height: 140%;
  background: radial-gradient(circle, rgba(56,189,248,0.03) 0%, transparent 60%);
  pointer-events: none;
}

.screen-content {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.screen-content.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.screen-tag {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 12px;
}

.screen-title {
  font-family: var(--font-title);
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.35;
  color: var(--text-primary);
}

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

/* Playbar Controls */
.player-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 2;
}

.play-btn {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.25);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--accent);
  transition: all 0.3s ease;
}

.play-btn:hover {
  background: var(--accent);
  color: #050505;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
}

.play-icon {
  width: 16px;
  height: 16px;
}

.progress-bar-container {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  position: relative;
  cursor: pointer;
}

.progress-bar {
  width: 100%;
  height: 100%;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 99px;
  width: 15%;
  position: absolute;
  top: 0;
  left: 0;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
}

.progress-knob {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--text-primary);
  border: 2px solid var(--accent);
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  left: 15%;
  transition: left 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
}

.time-display {
  font-family: var(--font-title);
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 700;
  min-width: 90px;
  text-align: right;
}

/* --- Layer 2: Value Demonstration Section --- */
.section {
  padding: 80px 0;
  border-top: 1px solid rgba(56, 189, 248, 0.08);
}

.section-heading {
  margin-bottom: 56px;
}

.section-label {
  font-family: var(--font-title);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 16px;
}

.section h2 {
  font-family: var(--font-title);
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

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

.card {
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.card-icon {
  font-size: 2.2rem;
  background: rgba(56, 189, 248, 0.07);
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  border: 1px solid rgba(56, 189, 248, 0.15);
  margin-bottom: 12px;
}

.card h3 {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 800;
}

.card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.card code {
  font-family: monospace;
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--accent);
}

/* --- Layer 3: Creator Sales B2B Section --- */
.creator-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.creator-benefit-card {
  padding: 40px;
}

.benefit-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.benefit-badge {
  background: rgba(56, 189, 248, 0.1);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 800;
  border: 1px solid rgba(56, 189, 248, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.creator-benefit-card h3 {
  font-family: var(--font-title);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.creator-benefit-card p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
}

/* --- Layer 4: Scale and Investment VC Section --- */
.vision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.vision-card {
  padding: 36px;
}

.vision-card h3 {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--text-primary);
}

.vision-card p {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.7;
}

/* --- CTA Bottom Re-exposure --- */
.cta-container {
  padding: 80px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Light sphere behind bottom CTA */
.cta-container::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(56,189,248,0.04) 0%, transparent 65%);
  pointer-events: none;
}

.cta-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-top: 16px;
  margin-bottom: 40px;
  max-width: 600px;
}

.waitlist-form--compact {
  max-width: 580px;
  width: 100%;
}

/* --- Footer --- */
.page-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 60px 0 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand-logo {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--accent);
  text-shadow: 0 0 16px rgba(56, 189, 248, 0.4);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.9rem;
  color: #64748B;
}

.footer-contact a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: #7DD3FC;
}

/* --- Premium Grid Accent Glow hover effect --- */
.hover-glow {
  position: relative;
}

.hover-glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 28px;
  background: radial-gradient(800px circle at var(--x, 0px) var(--y, 0px), rgba(56, 189, 248, 0.08), transparent 40%);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hover-glow:hover::before {
  opacity: 1;
}

/* --- Responsive Media Queries (Mobile-first optimization) --- */
@media (max-width: 1024px) {
  .page-shell {
    padding: 40px 0 60px;
    gap: 56px; /* 촘촘하게 여백 감소 (버그 해결) */
  }

  /* 모바일용 Hero 요소 Flexbox 순서 재배치 오케스트레이션 (UX 향상) */
  .hero-section {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .hero-header {
    order: 1; /* 타이틀 */
  }

  .hero-visual {
    order: 2; /* 목업 플레이어 (타이틀 바로 아래로 이동!) */
  }

  .hero-details {
    order: 3; /* 소개 글 및 질문 */
  }

  .waitlist-form {
    order: 4; /* 대기열 등록 폼 (설명 다 읽은 후 맨 아래) */
  }
  
  .cards-grid,
  .vision-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 40px 0; /* 모바일 과다 여백 버그 해결 (촘촘하게 패딩 줄임) */
  }

  .section-heading {
    margin-bottom: 28px; /* 모바일 헤더 아래 간격 촘촘하게 튜닝 */
  }

  .creator-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cards-grid,
  .vision-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  
  .cta-container {
    padding: 48px 20px;
  }
}

@media (max-width: 580px) {
  .input-group {
    flex-direction: column;
    background: transparent;
    border: none;
    padding: 0;
    gap: 12px;
  }
  
  .input-group:focus-within {
    box-shadow: none;
  }
  
  .input-group input {
    background: rgba(5, 5, 5, 0.85);
    border: 1px solid var(--border);
    border-radius: 9999px;
    width: 100%;
    padding: 16px 20px;
  }
  
  .input-group input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.25);
  }
  
  .btn-primary {
    width: 100%;
    padding: 16px 0;
  }
  
  .video-mockup-screen {
    padding: 24px 18px 18px;
    min-height: 320px;
  }
  
  .player-controls {
    flex-wrap: wrap;
    gap: 12px;
  }
  
  .progress-bar-container {
    width: 100%;
    flex: none;
    order: -1;
  }
  
  .time-display {
    flex: 1;
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
