/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Pretendard 폰트 */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css');

.font-data {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
}

/* Glass 유틸리티 */
.glass {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.glass-input {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-input:focus {
  border-color: rgba(245, 158, 11, 0.40);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.08);
  outline: none;
}

/* Amber 글로우 (점수 전용) */
.glow-amber {
  text-shadow: 0 0 30px rgba(245, 158, 11, 0.4), 0 0 60px rgba(245, 158, 11, 0.15);
}

/* Frosted 배경 */
.bg-frosted {
  background: #1e2338;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(245, 158, 11, 0.03) 0%, transparent 60%),
    linear-gradient(180deg, #1e2338 0%, #1a1f30 50%, #161b28 100%);
  background-attachment: fixed;
}

/* 결과 카드 페이드인 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.result-fade-in {
  animation: fadeInUp 0.4s ease-out both;
}

@media (prefers-reduced-motion: reduce) {
  .result-fade-in {
    animation: none;
  }
}

/* 잠금 콘텐츠 (게이팅) */
.locked-content {
  position: relative;
  user-select: none;
  pointer-events: none;
}

.locked-content .locked-blur {
  filter: blur(8px);
  -webkit-filter: blur(8px);
  opacity: 0.6;
}

.unlock-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 10;
  pointer-events: auto;
  background: rgba(30, 35, 56, 0.4);
  border-radius: inherit;
}

.unlock-overlay .unlock-btn {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 12px;
  font-size: 15px;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}

.unlock-overlay .unlock-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

/* 요금제 카드 */
.pricing-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.pricing-card.featured {
  border-color: rgba(245, 158, 11, 0.3);
  background: rgba(245, 158, 11, 0.04);
}

.pricing-card.featured:hover {
  border-color: rgba(245, 158, 11, 0.5);
}

/* 채팅 메시지 — AI 응답 내 볼드 강조 */
.chat-message strong {
  color: rgba(245, 158, 11, 0.9);
  font-weight: 600;
}

/* 대시보드 차트 */
.chart-container {
  position: relative;
  height: 300px;
  width: 100%;
}
