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

:root {
  /* Color Palette */
  --bg-dark: #f8fafc; /* Light grayish-blue background */
  --bg-card: rgba(0, 0, 0, 0.02);
  --bg-card-hover: rgba(0, 0, 0, 0.04);
  --border-color: rgba(15, 23, 42, 0.08); /* Slate 900 with opacity */
  --border-focus: rgba(147, 51, 234, 0.6);
  
  --primary: #7c3aed; /* Slightly darker purple for contrast */
  --primary-glow: rgba(124, 58, 237, 0.1);
  --secondary: #0891b2; /* Darker cyan */
  --secondary-glow: rgba(8, 145, 178, 0.1);
  --accent: #059669; /* Darker green */
  --accent-glow: rgba(5, 150, 105, 0.1);
  
  --text-primary: #0f172a; /* Slate 900 for light mode text */
  --text-muted: #64748b; /* Slate 500 */
  --text-dark: #ffffff;
  
  /* Fonts */
  --font-en: 'Outfit', sans-serif;
  --font-ko: 'Noto Sans KR', sans-serif;
  
  /* Transition */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-ko);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
}

h1, h2, h3, h4, p, span, a, button {
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* Background Gradients & Glow Effects */
.bg-glow-1 {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, var(--primary-glow) 0%, rgba(0,0,0,0) 70%);
  z-index: -1;
  pointer-events: none;
  filter: blur(80px);
}

.bg-glow-2 {
  position: absolute;
  top: 40%;
  right: -10%;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, var(--secondary-glow) 0%, rgba(0,0,0,0) 70%);
  z-index: -1;
  pointer-events: none;
  filter: blur(80px);
}

/* Typography & Layout */
header {
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
}

.logo {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid var(--primary);
  padding: 0.1rem 0.4rem;
  border-radius: 9999px;
  color: var(--primary);
  -webkit-text-fill-color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.btn-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #ffffff;
  border: none;
  padding: 0.8rem 1.6rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-ko);
  transition: var(--transition-fast);
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.35);
}

.btn-header:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5);
}

/* Sections General */
section {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

.section-tag {
  color: var(--secondary);
  font-family: var(--font-en);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: inline-block;
  font-size: 0.9rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.section-title span {
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 700px;
  margin-bottom: 3rem;
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 4rem;
  min-height: calc(90vh - 80px);
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-content h1 span {
  background: linear-gradient(135deg, #fff 0%, var(--text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content h1 mark {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  color: var(--text-muted);
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #ffffff;
  border: none;
  padding: 1.25rem 2.75rem;
  border-radius: 16px;
  font-size: 1.3rem;
  font-weight: 800;
  cursor: pointer;
  font-family: var(--font-ko);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.4);
}

.btn-primary span.sub {
  font-size: 0.85rem;
  opacity: 0.9;
  font-weight: 500;
  margin-top: 0.2rem;
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 35px rgba(124, 58, 237, 0.6);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  padding: 1rem 2rem;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-ko);
  transition: var(--transition-fast);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--text-muted);
}

/* Smartphone Mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-container {
  width: 320px;
  height: 640px;
  background: #000;
  border: 10px solid #1e293b;
  border-radius: 40px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 40px var(--primary-glow);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-notch {
  width: 140px;
  height: 25px;
  background: #1e293b;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  z-index: 10;
}

.phone-screen {
  flex: 1;
  background: #0f172a;
  padding: 2.5rem 1rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: var(--text-primary);
  overflow-y: auto;
}

/* Mock Widgets / Notification */
.mock-widget {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1rem;
  backdrop-filter: blur(8px);
}

.widget-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.widget-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--secondary);
}

.widget-rooms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.widget-room {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.4rem;
  text-align: center;
  font-size: 0.7rem;
}

.widget-room.occupied {
  border-color: var(--primary);
  background: rgba(147, 51, 234, 0.1);
}

.widget-room.checkin {
  border-color: var(--accent);
  background: rgba(16, 185, 129, 0.1);
}

/* Notification banner */
.phone-notification {
  position: absolute;
  top: 40px;
  left: 10px;
  right: 10px;
  background: rgba(15, 23, 42, 0.95);
  border: 2px solid #ef4444;
  box-shadow: 0 10px 25px rgba(239, 68, 68, 0.4);
  border-radius: 16px;
  padding: 1rem;
  z-index: 50;
  transform: translateY(-150%);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.phone-notification.active {
  transform: translateY(0);
}

.noti-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #ef4444;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.noti-body {
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
  color: #f8fafc;
}

.noti-actions {
  display: flex;
  gap: 0.5rem;
}

.noti-btn {
  flex: 1;
  padding: 0.4rem;
  border-radius: 6px;
  font-size: 0.75rem;
  border: none;
  font-weight: 600;
  cursor: pointer;
}

.noti-btn.cancel {
  background: #ef4444;
  color: #fff;
}

.noti-btn.channel {
  background: #334155;
  color: #fff;
}

/* Pain Points Grid */
.pain-points-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pain-point-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pain-point-card:hover {
  transform: translateY(-5px);
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.15);
}

.card-icon-red {
  color: #f87171;
  font-size: 2rem;
}

.pain-point-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
}

.pain-point-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Simulator Section */
.simulator-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 32px;
  padding: 3rem;
  backdrop-filter: blur(12px);
}

.sim-menu {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sim-tab-btn {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  border-radius: 16px;
  text-align: left;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.sim-tab-btn h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.sim-tab-btn.active {
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(147, 51, 234, 0.15);
}

.sim-tab-btn:hover:not(.active) {
  border-color: rgba(255, 255, 255, 0.2);
}

.sim-display {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Interactive elements inside mobile screen */
.screen-chat-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
}

.chat-bubble {
  background: #fee2e2;
  color: #1e293b;
  border-radius: 12px;
  padding: 0.8rem;
  font-size: 0.8rem;
  max-width: 85%;
  align-self: flex-start;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.chat-bubble.yellow {
  background: #fef08a; /* KakaoTalk Theme */
  border-top-left-radius: 2px;
}

.chat-bubble-title {
  font-weight: 800;
  margin-bottom: 0.25rem;
  color: #854d0e;
}

.chat-bubble-btn {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  text-align: center;
  padding: 0.4rem;
  border-radius: 6px;
  margin-top: 0.5rem;
  font-weight: 700;
  font-size: 0.75rem;
  color: #1e293b;
  cursor: pointer;
  transition: background 0.2s;
}

.chat-bubble-btn:hover {
  background: #f8fafc;
}

/* QR Code Generator Mock */
.qr-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: white;
  color: var(--text-dark);
  padding: 1.5rem;
  border-radius: 16px;
  text-align: center;
  gap: 1rem;
}

.qr-code {
  width: 140px;
  height: 140px;
  background: #f1f5f9;
  border: 4px solid var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

/* Pricing Grid */
.pricing-toggle-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.pricing-toggle-label {
  font-size: 1.1rem;
  font-weight: 600;
}

.pricing-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.pricing-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--border-color);
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--primary);
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-smooth);
}

.pricing-card.premium {
  border-color: var(--primary);
  box-shadow: 0 15px 35px var(--primary-glow);
}

.pricing-card.premium::after {
  content: "BEST CHOICE";
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--primary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.3rem 0.8rem;
  border-radius: 9999px;
  letter-spacing: 0.05em;
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 2rem;
  font-family: var(--font-en);
}

.pricing-card .price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.pricing-features li::before {
  content: "✓";
  color: var(--secondary);
  font-weight: bold;
}

.pricing-features li.unsupported {
  color: var(--text-muted);
  text-decoration: line-through;
}

.pricing-features li.unsupported::before {
  content: "✕";
  color: #ef4444;
}

.pricing-card button {
  margin-top: auto;
}

/* FAQ Section */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text-primary);
  text-align: left;
  padding: 1.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--text-muted);
  transition: transform 0.3s;
}

.faq-item.active {
  border-color: rgba(255, 255, 255, 0.2);
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: rgba(255, 255, 255, 0.01);
}

.faq-answer-inner {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Footer CTA */
.footer-cta {
  text-align: center;
  max-width: 900px;
  margin: 4rem auto 6rem auto;
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
  border: 1px solid var(--border-color);
  border-radius: 32px;
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}

.footer-cta::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.1) 0%, rgba(0,0,0,0) 50%);
  pointer-events: none;
}

/* Interactive Room Slider / Live calculator */
.calculator-box {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  border-radius: 16px;
  margin-top: 1.5rem;
}

.calculator-box label {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.calculator-box input[type="range"] {
  width: 100%;
  accent-color: var(--primary);
  margin-bottom: 1rem;
}

/* Social Proof Carousel/Grid */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
}

.author-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
}

.author-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Responsive Styling */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .simulator-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .pain-points-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
  
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  header {
    padding: 0.85rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .nav-links {
    display: none !important; /* Hide desktop nav links on narrow mobile screens to prevent letter wrapping */
  }
  
  .logo {
    font-size: 1.25rem;
  }
  
  .logo span {
    font-size: 0.65rem;
    padding: 0.1rem 0.35rem;
  }
  
  .btn-header {
    padding: 0.5rem 1rem !important;
    font-size: 0.85rem !important;
    box-shadow: none !important;
  }
  
  .hero {
    padding: 2.5rem 1.25rem;
    min-height: auto;
  }
  
  .section-tag {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
  }
  
  .hero-content h1 {
    font-size: clamp(2rem, 7.5vw, 2.7rem) !important;
    font-weight: 900 !important;
    line-height: 1.32 !important;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
  }
  
  .hero-content p {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    word-break: keep-all !important;
  }
  
  .section-title {
    font-size: 1.6rem !important;
    line-height: 1.35 !important;
    word-break: keep-all !important;
  }
  
  .phone-container {
    max-width: 300px !important;
    height: 520px !important;
    padding: 10px !important;
    margin: 0 auto;
  }
  
  .phone-screen {
    padding: 0.75rem !important;
    font-size: 0.75rem !important;
  }
  
  .simulator-container {
    padding: 1.25rem 0.85rem !important;
    border-radius: 20px !important;
    gap: 1.5rem !important;
    width: 100% !important;
    overflow: hidden !important;
  }
  
  .sim-menu {
    gap: 0.6rem !important;
    width: 100% !important;
  }
  
  .sim-tab-btn {
    padding: 0.85rem 0.95rem !important;
    border-radius: 12px !important;
    width: 100% !important;
  }
  
  .sim-tab-btn h4 {
    font-size: 0.95rem !important;
    word-break: keep-all !important;
    margin-bottom: 0.2rem !important;
  }
  
  .sim-tab-btn p {
    font-size: 0.75rem !important;
    word-break: keep-all !important;
    line-height: 1.35 !important;
  }
}

/* Signup Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(9, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 2.5rem;
  width: 90%;
  max-width: 420px;
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15), 0 0 30px var(--primary-glow);
}

.modal-overlay.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--text-primary);
}

.modal-header {
  margin-bottom: 1.75rem;
  text-align: center;
}

.modal-header h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.modal-header p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.form-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-input {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0.8rem 1rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: var(--font-ko);
  transition: var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
  background: #ffffff;
}

.kakao-btn {
  width: 100%;
  background: #fee500;
  color: #191919;
  border: none;
  padding: 0.85rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: var(--font-ko);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  transition: var(--transition-fast);
}

.kakao-btn:hover {
  background: #fdd800;
  transform: translateY(-2px);
}

.divider-text {
  text-align: center;
  margin: 1.25rem 0;
  font-size: 0.75rem;
  color: var(--text-muted);
  position: relative;
}

.divider-text::before, .divider-text::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 30%;
  height: 1px;
  background: var(--border-color);
}

.divider-text::before { left: 0; }
.divider-text::after { right: 0; }
