/* Pro 플랜 모달 전용 CSS */

/* Pro 플랜 모달 스타일 */
#pro-modal {
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

#pro-modal .modal-content {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 30px;
  border: none;
  border-radius: 20px;
  width: 90%;
  max-width: 700px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
}
#pro-modal.show .modal-content {
  opacity: 1;
}

#pro-modal .close-modal {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 28px;
  font-weight: bold;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1;
}

#pro-modal .close-modal:hover {
  color: #ff6b6b;
  transform: rotate(90deg);
}

#pro-modal .pro-header {
  text-align: center;
  margin-bottom: 25px;
}

#pro-modal h2 {
  margin: 0 0 10px 0;
  font-size: 2.4rem;
  font-weight: 800;
  background: linear-gradient(45deg, #fff, #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#pro-modal .pro-price {
  font-size: 2rem;
  font-weight: 700;
  margin: 10px 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

#pro-modal .pro-badge {
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  color: white;
  padding: 10px 25px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  animation: pulse 2s infinite;
  margin-bottom: 10px;
}

#pro-modal .pro-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin: 25px 0;
}

#pro-modal .pro-features,
#pro-modal .pro-channels {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

#pro-modal .pro-features h3,
#pro-modal .pro-channels h3 {
  margin: 0 0 15px 0;
  font-size: 1.3rem;
  color: #ffd700;
  text-align: center;
}

#pro-modal .pro-features ul,
#pro-modal .pro-channels ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#pro-modal .pro-features li,
#pro-modal .pro-channels li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  padding-left: 25px;
  font-size: 0.95rem;
}

#pro-modal .pro-features li:before,
#pro-modal .pro-channels li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 10px;
  color: #4CAF50;
  font-weight: bold;
  font-size: 1.1rem;
}

#pro-modal .pro-features li:last-child,
#pro-modal .pro-channels li:last-child {
  border-bottom: none;
}

#pro-modal .pro-languages {
  grid-column: 1 / -1;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 10px;
}

#pro-modal .pro-languages h3 {
  margin: 0 0 15px 0;
  font-size: 1.3rem;
  color: #ffd700;
  text-align: center;
}

#pro-modal .language-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 15px;
}

#pro-modal .language-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

#pro-modal .language-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

#pro-modal .language-item.featured {
  background: rgba(255, 215, 0, 0.2);
  border: 2px solid rgba(255, 215, 0, 0.4);
  font-weight: 600;
}

#pro-modal .pro-advanced {
  grid-column: 1 / -1;
  background: rgba(255, 107, 107, 0.2);
  border-radius: 15px;
  padding: 20px;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 107, 107, 0.3);
  margin-top: 10px;
}

#pro-modal .pro-advanced h3 {
  margin: 0 0 15px 0;
  font-size: 1.3rem;
  color: #ffcdd2;
  text-align: center;
}

#pro-modal .advanced-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

#pro-modal .advanced-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

#pro-modal .advanced-item h4 {
  margin: 0 0 8px 0;
  font-size: 1rem;
  color: #ffcdd2;
}

#pro-modal .advanced-item p {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.9;
}

#pro-modal .pro-highlight {
  background: rgba(255, 107, 107, 0.3);
  border-radius: 10px;
  padding: 15px;
  margin: 20px 0;
  text-align: center;
  border: 2px solid rgba(255, 107, 107, 0.5);
}

#pro-modal .pro-highlight h4 {
  margin: 0 0 10px 0;
  color: #ffcdd2;
  font-size: 1.2rem;
}

#pro-modal .pro-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 25px;
  flex-wrap: wrap;
}

#pro-modal .btn {
  padding: 12px 25px;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 140px;
  justify-content: center;
}

#pro-modal .btn-primary {
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

#pro-modal .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
}

#pro-modal .btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

#pro-modal .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

#pro-modal .pro-note {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 15px;
  text-align: center;
  font-style: italic;
}

/* 애니메이션 */
/* 기존 modalSlideIn 애니메이션 제거 */

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* 반응형 디자인 */
@media (max-width: 768px) {
  #pro-modal .modal-content {
    padding: 20px;
    width: 95%;
  }

  #pro-modal .pro-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  #pro-modal .language-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }

  #pro-modal .advanced-grid {
    grid-template-columns: 1fr;
  }

  #pro-modal h2 {
    font-size: 2rem;
  }

  #pro-modal .pro-price {
    font-size: 1.7rem;
  }

  #pro-modal .pro-actions {
    flex-direction: column;
    align-items: center;
  }

  #pro-modal .btn {
    width: 100%;
    max-width: 250px;
  }
}

@media (max-width: 480px) {
  #pro-modal .modal-content {
    padding: 15px;
  }

  #pro-modal h2 {
    font-size: 1.8rem;
  }

  #pro-modal .pro-price {
    font-size: 1.5rem;
  }

  #pro-modal .pro-badge {
    font-size: 1rem;
    padding: 8px 20px;
  }

  #pro-modal .language-grid {
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 8px;
  }

  #pro-modal .language-item {
    padding: 8px;
    font-size: 0.8rem;
  }
}