/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0A0A0B;
  --surface: #141415;
  --surface-2: #1C1C1E;
  --border: #2A2A2D;
  --text: #EDEDEF;
  --text-secondary: #8E8E93;
  --accent: #C4956A;
  --accent-glow: rgba(196, 149, 106, 0.15);
  --accent-bright: #E8B88A;
  --radius: 12px;
  --radius-lg: 20px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 11, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Noto Serif KR', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  background: var(--accent);
  color: #0A0A0B;
  padding: 8px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: opacity 0.2s;
}

.nav-cta:hover {
  opacity: 0.9;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 160px 32px 0;
  text-align: center;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.hero h1 {
  font-family: 'Noto Serif KR', serif;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.accent {
  color: var(--accent);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 16px;
}

.email-input {
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 12px 20px;
  border-radius: 8px;
  color: var(--text);
  font-size: 0.9rem;
  width: 260px;
  outline: none;
  transition: border-color 0.2s;
}

.email-input:focus {
  border-color: var(--accent);
}

.btn-primary {
  background: var(--accent);
  color: #0A0A0B;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-primary:hover {
  opacity: 0.9;
}

.hero-note {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Hero Video */
.hero-video-wrapper {
  position: relative;
  max-width: 900px;
  margin: 60px auto 0;
}

.video-container {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 32px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  pointer-events: none;
}

.video-caption {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  transition: color 0.5s;
}

.video-caption.caption-happy {
  color: var(--accent-bright);
}

/* placeholder removed - using real video */

.video-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(transparent, var(--bg));
  pointer-events: none;
}

/* ===== Roles Explain ===== */
.roles-explain {
  padding: 100px 32px;
  border-bottom: 1px solid var(--border);
}

.roles-explain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.role-explain-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: border-color 0.3s;
}

.role-explain-card:hover {
  border-color: var(--accent);
}

.role-explain-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.role-explain-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.role-explain-card p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== Languages ===== */
.languages-section {
  padding: 80px 32px;
  border-bottom: 1px solid var(--border);
}

.lang-grid {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.lang-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: border-color 0.3s;
}

.lang-item:hover {
  border-color: var(--accent);
}

.lang-flag {
  font-size: 1.4rem;
}

.lang-name {
  font-size: 0.9rem;
  font-weight: 500;
}

.lang-note {
  font-size: 0.7rem;
  background: var(--accent-glow);
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 8px;
}

/* ===== Features ===== */
.features {
  padding: 100px 32px;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-family: 'Noto Serif KR', serif;
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
}

.section-sub {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 60px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: border-color 0.3s, transform 0.2s;
}

.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== Demo Section ===== */
.demo-section {
  padding: 100px 32px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.demo-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.demo-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 30px rgba(196, 149, 106, 0.08);
}

.demo-video-area {
  aspect-ratio: 16/9;
  background: var(--surface-2);
  position: relative;
  overflow: hidden;
}

.demo-video-area video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.demo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 8px;
  background: linear-gradient(135deg, var(--surface-2) 0%, var(--bg) 100%);
}

.demo-ph-icon {
  font-size: 2.5rem;
  opacity: 0.5;
}

.demo-placeholder p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.demo-ph-badge {
  background: var(--accent-glow);
  border: 1px solid rgba(196, 149, 106, 0.3);
  color: var(--accent);
  font-size: 0.7rem;
  padding: 3px 10px;
  border-radius: 12px;
  margin-top: 4px;
}

.demo-text {
  padding: 20px 24px;
}

.demo-text h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.demo-text p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Demo Detail (expandable) */
.demo-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.demo-detail.open {
  max-height: 500px;
}

.detail-content {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 0 24px 24px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.detail-screenshot {
  background: var(--surface-2);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 9/16;
  border: 1px solid var(--border);
}

.detail-screenshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.screenshot-placeholder {
  color: var(--text-secondary);
  font-size: 0.75rem;
  padding: 16px;
  text-align: center;
  opacity: 0.6;
}

.detail-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--accent);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.detail-info ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.detail-info ul li {
  font-size: 0.8rem;
  color: var(--text-secondary);
  padding: 8px 12px;
  padding-left: 28px;
  position: relative;
  line-height: 1.4;
  background: var(--surface);
  border-radius: 8px;
  border: 1px solid transparent;
  transition: border-color 0.2s;
}

.detail-info ul li:hover {
  border-color: var(--border);
}

.detail-info ul li::before {
  content: "→";
  position: absolute;
  left: 10px;
  color: var(--accent);
  font-size: 0.75rem;
}

/* ===== Pricing Table ===== */
.pricing-section {
  padding: 100px 32px;
}

.pricing-table-wrap {
  overflow-x: auto;
  margin-bottom: 20px;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.pricing-table thead {
  background: var(--surface-2);
}

.pricing-table th {
  padding: 14px 16px;
  text-align: center;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.pricing-table th:first-child {
  text-align: left;
}

.pricing-table td {
  padding: 12px 16px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}

.pricing-table td.feature-name {
  text-align: left;
  color: var(--text);
  font-weight: 500;
}

.pricing-table tbody tr:hover {
  background: var(--surface);
}

.price-tbd {
  background: rgba(196, 149, 106, 0.1);
  color: var(--accent);
  padding: 3px 10px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
}

.price-free {
  color: #4ade80;
  font-weight: 600;
  font-size: 0.8rem;
}

.price-na {
  color: var(--text-secondary);
  opacity: 0.4;
}

.pricing-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== Compare Table ===== */
.compare-section {
  padding: 100px 32px;
  border-top: 1px solid var(--border);
}

.compare-highlight {
  color: var(--accent) !important;
  font-weight: 600;
}

/* ===== How it works ===== */
.how-section {
  padding: 100px 32px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.how-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
}

.how-step {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  flex: 1;
  max-width: 280px;
}

.how-number {
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: #0A0A0B;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  margin: 0 auto 16px;
}

.how-step h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.how-step p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.how-arrow {
  color: var(--accent);
  font-size: 1.5rem;
  padding-top: 48px;
  font-weight: 300;
}

/* ===== FAQ ===== */
.faq-section {
  padding: 100px 32px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.faq-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.faq-item p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== Contact ===== */
.contact-section {
  padding: 80px 32px;
  border-top: 1px solid var(--border);
}

.contact-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 32px;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 180px;
}

.contact-card:hover {
  border-color: var(--accent);
}

.contact-icon {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.contact-card strong {
  font-size: 0.9rem;
}

.contact-card span {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ===== Waitlist ===== */
.waitlist-section {
  padding: 100px 32px;
  border-top: 1px solid var(--border);
}

.waitlist-card {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.waitlist-card h2 {
  font-family: 'Noto Serif KR', serif;
  font-size: 2rem;
  margin-bottom: 12px;
}

.waitlist-card > p {
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.waitlist-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 12px;
}

.waitlist-note {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 32px 20px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-family: 'Noto Serif KR', serif;
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 4px;
}

.footer-brand p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-bottom {
  max-width: 1100px;
  margin: 20px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-align: center;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero h1 {
    font-size: 2.4rem;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .demo-grid {
    grid-template-columns: 1fr;
  }

  .roles-explain-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .detail-content {
    grid-template-columns: 1fr;
  }

  .detail-screenshot {
    aspect-ratio: auto;
    max-height: 200px;
  }

  .how-grid {
    flex-direction: column;
    align-items: center;
  }

  .how-arrow {
    transform: rotate(90deg);
    padding: 0;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .email-input {
    width: 100%;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .roles-explain-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .waitlist-form {
    flex-direction: column;
  }

  .lang-grid {
    gap: 10px;
  }

  .lang-item {
    padding: 10px 14px;
  }
}
