/* ============================================
   💎 PREMIUM ULTRA HI-END STYLES 💎
   The Most Beautiful & Luxurious Design
   ============================================ */

/* === PREMIUM CARD === */
.premium-exclusive-card {
  position: relative;
  background: linear-gradient(145deg, rgba(168, 85, 247, 0.1), rgba(236, 72, 153, 0.05));
  border-radius: 28px;
  overflow: hidden;
}

.premium-glow-border {
  position: absolute;
  inset: -3px;
  background: conic-gradient(from 0deg, #a855f7, #ec4899, #fbbf24, #22d3ee, #a855f7);
  animation: borderRotate 4s linear infinite;
  border-radius: 31px;
  z-index: -1;
  filter: blur(3px);
}
@keyframes borderRotate {
  to { transform: rotate(360deg); }
}

.premium-particles {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(2px 2px at 20% 30%, rgba(168, 85, 247, 0.5), transparent),
    radial-gradient(2px 2px at 80% 20%, rgba(251, 191, 36, 0.4), transparent),
    radial-gradient(2px 2px at 60% 80%, rgba(236, 72, 153, 0.4), transparent);
  animation: particlesFloat 20s linear infinite;
  pointer-events: none;
}
@keyframes particlesFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.premium-card-inner {
  background: linear-gradient(180deg, rgba(10, 5, 20, 0.98), rgba(15, 8, 30, 0.95));
  border-radius: 24px;
  padding: 2rem;
  position: relative;
  z-index: 1;
}

/* === PREMIUM HEADER === */
.premium-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid;
  border-image: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.5), rgba(236, 72, 153, 0.5), transparent) 1;
}

.premium-title-area {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.premium-crown-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #a855f7, #ec4899, #fbbf24);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.5);
  animation: iconPulse 2s ease-in-out infinite;
}
@keyframes iconPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.premium-icon-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: shine 2s ease-in-out infinite;
}
@keyframes shine {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

.premium-main-title {
  font-size: 1.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #c084fc, #f472b6, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}

.premium-subtitle {
  color: #a78bfa;
  font-size: 0.85rem;
  margin: 0.3rem 0 0;
}

.premium-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.premium-badge {
  padding: 0.4rem 0.8rem;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.premium-badge.diamond { background: rgba(168, 85, 247, 0.3); color: #e9d5ff; border: 1px solid rgba(168, 85, 247, 0.5); }
.premium-badge.ultra { background: rgba(236, 72, 153, 0.3); color: #fbcfe8; border: 1px solid rgba(236, 72, 153, 0.5); }
.premium-badge.legendary { background: rgba(251, 191, 36, 0.3); color: #fef3c7; border: 1px solid rgba(251, 191, 36, 0.5); animation: legendaryPulse 1.5s infinite; }
@keyframes legendaryPulse {
  0%, 100% { box-shadow: 0 0 5px rgba(251, 191, 36, 0.3); }
  50% { box-shadow: 0 0 15px rgba(251, 191, 36, 0.6); }
}

/* === FEATURES BANNER === */
.premium-features-banner {
  background: linear-gradient(145deg, rgba(168, 85, 247, 0.12), rgba(236, 72, 153, 0.08));
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 16px;
  overflow: hidden;
}

.premium-banner-header {
  background: linear-gradient(90deg, rgba(168, 85, 247, 0.25), rgba(236, 72, 153, 0.15));
  padding: 0.8rem 1rem;
  color: #f5d0fe;
  font-size: 0.9rem;
}

.premium-features-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0;
}
@media (max-width: 1200px) { .premium-features-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 768px) { .premium-features-grid { grid-template-columns: repeat(2, 1fr); } }

.premium-feature-item {
  padding: 0.8rem 0.5rem;
  text-align: center;
  border-right: 1px solid rgba(168, 85, 247, 0.15);
  border-bottom: 1px solid rgba(168, 85, 247, 0.15);
  transition: all 0.3s;
}
.premium-feature-item:hover { background: rgba(168, 85, 247, 0.15); }
.premium-feature-item i { display: block; font-size: 1.2rem; color: #c084fc; margin-bottom: 0.3rem; }
.premium-feature-item span { font-size: 0.7rem; color: #d8b4fe; font-weight: 600; }
.premium-feature-item.highlight { background: rgba(251, 191, 36, 0.15); }
.premium-feature-item.highlight i { color: #fbbf24; }
.premium-feature-item.highlight span { color: #fef3c7; }

/* === FORM CONTAINER === */
.premium-form-container { display: flex; flex-direction: column; gap: 1.2rem; }

.premium-form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.premium-form-col {
  flex: 1;
  min-width: 200px;
}
.premium-form-col.col-2 { flex: 0 0 120px; min-width: 120px; }
.premium-form-col.col-5 { flex: 1; }
.premium-form-col.col-6 { flex: 0 0 calc(50% - 0.5rem); }
.premium-form-col.col-12 { flex: 0 0 100%; }

.premium-label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-weight: 600;
  color: #e9d5ff;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
}

.premium-required {
  font-size: 0.6rem;
  padding: 0.2rem 0.5rem;
  background: rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  border-radius: 100px;
  margin-left: auto;
}

.premium-unlimited {
  font-size: 0.65rem;
  padding: 0.15rem 0.4rem;
  background: rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
  border-radius: 100px;
}

.premium-input {
  background: rgba(15, 10, 25, 0.9) !important;
  border: 2px solid rgba(168, 85, 247, 0.3) !important;
  border-radius: 12px !important;
  color: #fff !important;
  padding: 0.7rem 1rem !important;
  font-size: 0.9rem !important;
  transition: all 0.3s !important;
}
.premium-input:focus {
  border-color: #a855f7 !important;
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.2), 0 0 20px rgba(168, 85, 247, 0.3) !important;
}
.premium-input::placeholder { color: rgba(168, 162, 158, 0.5) !important; }

.premium-hint {
  display: block;
  font-size: 0.7rem;
  color: #a78bfa;
  margin-top: 0.3rem;
}

/* === CHARACTER PREVIEW === */
.premium-character-preview {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 12px;
}
.char-emoji { font-size: 2rem; }
.char-info { display: flex; flex-direction: column; }
.char-name { font-weight: 700; color: #f5d0fe; font-size: 0.9rem; }
.char-desc { font-size: 0.75rem; color: #a78bfa; }

/* === RANDOM OPTIONS === */
.premium-random-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}

.premium-random-option { cursor: pointer; }
.premium-random-option input { display: none; }

.premium-random-option .option-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.8rem;
  background: rgba(168, 85, 247, 0.08);
  border: 2px solid rgba(168, 85, 247, 0.25);
  border-radius: 12px;
  transition: all 0.3s;
  text-align: center;
}
.premium-random-option .option-box i { font-size: 1.2rem; color: #c084fc; margin-bottom: 0.3rem; }
.premium-random-option .option-box strong { font-size: 0.75rem; color: #e9d5ff; }

.premium-random-option:hover .option-box { background: rgba(168, 85, 247, 0.15); }

.premium-random-option input:checked + .option-box {
  background: rgba(16, 185, 129, 0.15);
  border-color: #10b981;
}
.premium-random-option input:checked + .option-box i { color: #4ade80; }

/* === CAMERA SECTION === */
.premium-camera-section {
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 16px;
  overflow: hidden;
}

.premium-camera-header {
  background: linear-gradient(90deg, rgba(168, 85, 247, 0.2), rgba(236, 72, 153, 0.1));
  padding: 0.8rem 1rem;
  color: #f5d0fe;
  font-weight: 700;
  font-size: 0.9rem;
}

.premium-camera-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  padding: 1rem;
}
@media (max-width: 768px) { .premium-camera-grid { grid-template-columns: repeat(2, 1fr); } }

.premium-camera-option { cursor: pointer; }
.premium-camera-option input { display: none; }

.premium-camera-option .option-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem;
  background: rgba(168, 85, 247, 0.08);
  border: 2px solid rgba(168, 85, 247, 0.25);
  border-radius: 14px;
  transition: all 0.3s;
}
.premium-camera-option .option-card i { font-size: 1.5rem; color: #c084fc; margin-bottom: 0.4rem; }
.premium-camera-option .option-card strong { font-size: 0.8rem; color: #e9d5ff; display: block; }
.premium-camera-option .option-card small { font-size: 0.65rem; color: #a78bfa; }

.premium-camera-option:hover .option-card {
  background: rgba(168, 85, 247, 0.2);
  transform: translateY(-2px);
}

.premium-camera-option input:checked + .option-card {
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.2), rgba(34, 197, 94, 0.1));
  border-color: #10b981;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}
.premium-camera-option input:checked + .option-card i { color: #4ade80; }

/* === GENERATE BUTTON === */
.premium-generate-btn {
  position: relative;
  width: 100%;
  padding: 1.2rem 2rem;
  background: linear-gradient(135deg, #a855f7, #ec4899, #fbbf24);
  background-size: 200% 200%;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  overflow: hidden;
  animation: gradientMove 3s ease infinite;
  box-shadow: 0 10px 40px rgba(168, 85, 247, 0.4);
  transition: all 0.3s;
}
@keyframes gradientMove {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.premium-generate-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 50px rgba(168, 85, 247, 0.5);
}

.premium-generate-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.premium-generate-btn .btn-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: btnShine 2.5s ease-in-out infinite;
}
@keyframes btnShine {
  0%, 30% { transform: translateX(-100%); }
  60%, 100% { transform: translateX(100%); }
}

.premium-generate-btn .btn-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* === OUTPUT AREA === */
.premium-output-area {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* === RESULT CARDS === */
.premium-result-card {
  background: rgba(15, 10, 25, 0.9);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.result-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1rem;
  background: linear-gradient(90deg, rgba(168, 85, 247, 0.2), rgba(236, 72, 153, 0.1));
}
.result-card-header .header-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #f5d0fe;
  font-weight: 700;
  font-size: 0.9rem;
}
.result-card-header .header-left i { color: #c084fc; }

.result-card-header .copy-btn {
  background: rgba(168, 85, 247, 0.2);
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: #e9d5ff;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.3s;
}
.result-card-header .copy-btn:hover {
  background: rgba(168, 85, 247, 0.4);
}

.result-card-body {
  padding: 1rem;
}

.concept-text {
  color: #e9d5ff;
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

.premium-textarea {
  width: 100%;
  background: rgba(10, 5, 20, 0.8) !important;
  border: 1px solid rgba(168, 85, 247, 0.3) !important;
  border-radius: 10px !important;
  color: #d8b4fe !important;
  font-size: 0.85rem;
  resize: vertical;
  padding: 0.8rem;
}

/* Concept Card */
.concept-card {
  border-color: rgba(168, 85, 247, 0.5);
}
.concept-card .result-card-header {
  background: linear-gradient(90deg, rgba(168, 85, 247, 0.3), rgba(139, 92, 246, 0.15));
}

/* Caption Card */
.caption-card {
  border-color: rgba(236, 72, 153, 0.5);
}
.caption-card .result-card-header {
  background: linear-gradient(90deg, rgba(236, 72, 153, 0.25), rgba(219, 39, 119, 0.1));
}
.caption-card .header-left i { color: #f472b6; }

/* Metadata Combined Card */
.metadata-card {
  border-color: rgba(34, 211, 238, 0.5);
}
.metadata-card .result-card-header {
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.25), rgba(6, 182, 212, 0.1));
}
.metadata-card .header-left i { color: #22d3ee; }

.metadata-body {
  padding: 0 !important;
}
.metadata-section {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.metadata-section:last-child {
  border-bottom: none;
}
.metadata-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #fbbf24;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.metadata-label-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

/* SEO Tags */
.seo-display {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.seo-display .seo-tag {
  padding: 0.35rem 0.7rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 6px;
  color: #34d399;
  font-size: 0.75rem;
}

/* Hashtag Card (Hidden but keep for compatibility) */
.hashtag-card {
  border-color: rgba(99, 102, 241, 0.5);
}
.hashtag-card .result-card-header {
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.25), rgba(79, 70, 229, 0.1));
}
.hashtag-card .header-left i { color: #818cf8; }

.hashtag-count {
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  background: rgba(99, 102, 241, 0.3);
  border-radius: 100px;
  margin-left: 0.5rem;
}

.hashtags-display {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.hashtags-display .hashtag-tag {
  padding: 0.4rem 0.8rem;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.4);
  border-radius: 100px;
  color: #a5b4fc;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.3s;
}
.hashtags-display .hashtag-tag:hover {
  background: rgba(99, 102, 241, 0.3);
  transform: scale(1.05);
}

/* === SCENE CARDS === */
.premium-scenes-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.premium-scene-card {
  background: rgba(15, 10, 25, 0.9);
  border: 2px solid rgba(251, 191, 36, 0.4);
  border-radius: 16px;
  overflow: hidden;
}

.scene-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1rem;
  background: linear-gradient(90deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.1));
}
.scene-card-header .scene-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fef3c7;
  font-weight: 700;
}
.scene-card-header .scene-title i { color: #fbbf24; }

.scene-card-header .copy-btn {
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.3), rgba(236, 72, 153, 0.3));
  border: 1px solid rgba(168, 85, 247, 0.5);
  border-radius: 8px;
  color: #e9d5ff;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.scene-card-header .copy-btn:hover {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.5), rgba(236, 72, 153, 0.5));
  border-color: #a855f7;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(168, 85, 247, 0.3);
}
.scene-card-header .copy-btn.copied {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.4), rgba(52, 211, 153, 0.4));
  border-color: #10b981;
  color: #86efac;
}
.scene-card-header .copy-btn i {
  font-size: 0.85rem;
}

.scene-card-body {
  padding: 1rem;
}

.scene-voiceover {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 10px;
  padding: 0.8rem;
  margin-bottom: 1rem;
}
.scene-voiceover-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #4ade80;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.scene-voiceover-text {
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.6;
}

.scene-prompt-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #c084fc;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.scene-prompt-textarea {
  width: 100%;
  background: rgba(10, 5, 20, 0.8);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 10px;
  color: #d8b4fe;
  font-size: 0.8rem;
  font-family: 'JetBrains Mono', monospace;
  padding: 0.8rem;
  resize: vertical;
}

/* === LOCKED OVERLAY (อยู่ภายใน card) === */
.tier-locked-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 5, 20, 0.85);
  backdrop-filter: blur(4px);
  border-radius: 24px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding: 2rem 1rem;
}

.tier-locked-content {
  text-align: center;
  padding: 2rem;
  max-width: 500px;
}

.tier-locked-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(145deg, rgba(168, 85, 247, 0.2), rgba(236, 72, 153, 0.2));
  border: 3px solid rgba(168, 85, 247, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 2rem;
  color: #c084fc;
  animation: lockPulse 2s ease infinite;
}
@keyframes lockPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 30px rgba(168, 85, 247, 0.3); }
  50% { transform: scale(1.05); box-shadow: 0 0 50px rgba(168, 85, 247, 0.5); }
}

.tier-locked-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
}

.tier-locked-desc {
  color: #a78bfa;
  margin-bottom: 1rem;
}

.tier-locked-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.tier-locked-features span {
  padding: 0.4rem 0.8rem;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 100px;
  font-size: 0.75rem;
  color: #d8b4fe;
}

.tier-upgrade-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 2rem;
  background: linear-gradient(135deg, #a855f7, #ec4899);
  border: none;
  border-radius: 100px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 10px 30px rgba(168, 85, 247, 0.4);
}
.tier-upgrade-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(168, 85, 247, 0.5);
  color: #fff;
}

/* === PREMIUM TIER FEATURES LIST === */
.premium-locked-overlay .tier-features-list {
  text-align: left;
  margin: 1.5rem auto;
  width: 100%;
  max-width: 420px;
}

.premium-locked-overlay .features-header {
  font-size: 0.9rem;
  font-weight: 700;
  margin: 1rem 0 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.premium-locked-overlay .features-header.has-features.premium-header {
  color: #c084fc;
}

.premium-locked-overlay .features-header.bonus-features {
  color: #fbbf24;
}

.premium-locked-overlay .features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.premium-locked-overlay .feature-item {
  padding: 0.35rem 0.7rem;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.premium-locked-overlay .feature-item.included.premium {
  background: rgba(192, 132, 252, 0.15);
  border: 1px solid rgba(192, 132, 252, 0.4);
  color: #d8b4fe;
}

.premium-locked-overlay .feature-item.bonus {
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: #fcd34d;
}

.tier-locked-hint {
  margin-top: 0.5rem;
  color: #fbbf24;
  font-size: 0.8rem;
  font-weight: 600;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .premium-card-inner { padding: 1.5rem; }
  .premium-header { flex-direction: column; text-align: center; }
  .premium-title-area { flex-direction: column; text-align: center; }
  .premium-badges { justify-content: center; }
  .premium-form-col.col-6 { flex: 0 0 100%; }
  .premium-form-col.col-2 { flex: 0 0 100%; }
  .premium-form-col.col-5 { flex: 0 0 100%; }
}

/* ============================================
   📸 IMAGE ANALYZER SECTION — PREMIUM ONLY
   ============================================ */

/* Product Info Inputs */
.analyzer-product-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.08) 0%, rgba(168, 85, 247, 0.08) 100%);
  border-radius: 16px;
  border: 1px solid rgba(34, 211, 238, 0.2);
}

.analyzer-input-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.analyzer-input-row i {
  color: #22d3ee;
  font-size: 1rem;
  width: 22px;
  text-align: center;
  filter: drop-shadow(0 0 4px rgba(34, 211, 238, 0.4));
}

.analyzer-input-row label {
  font-size: 0.85rem;
  color: #94a3b8;
  min-width: 140px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.analyzer-input {
  flex: 1;
  padding: 12px 16px;
  background: rgba(15, 23, 42, 0.9);
  border: 1.5px solid rgba(34, 211, 238, 0.25);
  border-radius: 10px;
  color: #f1f5f9;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.analyzer-input:hover {
  border-color: rgba(34, 211, 238, 0.4);
  background: rgba(15, 23, 42, 1);
}

.analyzer-input:focus {
  outline: none;
  border-color: #22d3ee;
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.15), 0 0 20px rgba(34, 211, 238, 0.1);
  background: rgba(15, 23, 42, 1);
}

.analyzer-input::placeholder {
  color: #64748b;
  font-style: italic;
}

@media (max-width: 768px) {
  .analyzer-input-row {
    flex-wrap: wrap;
  }
  
  .analyzer-input-row label {
    min-width: 100%;
    margin-bottom: 6px;
  }
  
  .analyzer-input {
    width: 100%;
  }
}

.image-analyzer-card {
  position: relative;
  background: linear-gradient(145deg, rgba(34, 211, 238, 0.1), rgba(168, 85, 247, 0.08));
  border-radius: 28px;
  overflow: hidden;
}

.analyzer-glow-border {
  position: absolute;
  inset: -3px;
  background: conic-gradient(from 0deg, #22d3ee, #a855f7, #ec4899, #22d3ee);
  animation: borderRotate 5s linear infinite;
  border-radius: 31px;
  z-index: -1;
  filter: blur(4px);
}

.analyzer-card-inner {
  background: linear-gradient(180deg, rgba(10, 15, 25, 0.98), rgba(8, 12, 20, 0.95));
  border-radius: 24px;
  padding: 2rem;
  position: relative;
  z-index: 1;
}

/* Analyzer Header */
.analyzer-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid;
  border-image: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.5), rgba(168, 85, 247, 0.5), transparent) 1;
}

.analyzer-title-area {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.analyzer-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #22d3ee, #a855f7);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.5);
  animation: iconPulse 2s ease-in-out infinite;
}

.analyzer-icon-pulse {
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle, rgba(255,255,255,0.3), transparent 70%);
  animation: pulseExpand 2s ease-out infinite;
}
@keyframes pulseExpand {
  0% { transform: scale(0); opacity: 1; }
  100% { transform: scale(2); opacity: 0; }
}

.analyzer-main-title {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(90deg, #22d3ee, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
}

.analyzer-subtitle {
  color: #94a3b8;
  font-size: 0.9rem;
  margin: 0.3rem 0 0;
}

.analyzer-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.analyzer-badge {
  padding: 0.4rem 0.8rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.analyzer-badge.ai {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.2), rgba(34, 211, 238, 0.1));
  border: 1px solid rgba(34, 211, 238, 0.5);
  color: #22d3ee;
}

.analyzer-badge.premium {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(168, 85, 247, 0.1));
  border: 1px solid rgba(168, 85, 247, 0.5);
  color: #c084fc;
}

/* Upload Zone */
.analyzer-upload-section {
  margin-bottom: 1.5rem;
}

.upload-zone {
  border: 3px dashed rgba(34, 211, 238, 0.4);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  background: linear-gradient(145deg, rgba(34, 211, 238, 0.05), rgba(168, 85, 247, 0.03));
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.upload-zone:hover,
.upload-zone.drag-over {
  border-color: #22d3ee;
  background: linear-gradient(145deg, rgba(34, 211, 238, 0.1), rgba(168, 85, 247, 0.06));
  transform: scale(1.01);
}

.upload-content {
  pointer-events: none;
}

.upload-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.2), rgba(168, 85, 247, 0.2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #22d3ee;
  margin: 0 auto 1rem;
  animation: floatUpDown 3s ease-in-out infinite;
}
@keyframes floatUpDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.upload-zone h5 {
  color: #e2e8f0;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.upload-hint {
  color: #64748b;
  font-size: 0.85rem;
  margin: 0;
}

.upload-preview {
  position: relative;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}

.upload-preview img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.remove-image-btn {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.5);
}

.remove-image-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.6);
}

/* Analysis Options */
.analyzer-options-section {
  margin-bottom: 1.5rem;
}

.options-title {
  color: #e2e8f0;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.analyzer-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.analyzer-option {
  cursor: pointer;
}

.analyzer-option input {
  display: none;
}

.analyzer-option .option-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.2rem 1rem;
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
  border: 2px solid rgba(71, 85, 105, 0.3);
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
}

.analyzer-option .option-card i {
  font-size: 1.8rem;
  color: #64748b;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.analyzer-option .option-card strong {
  color: #e2e8f0;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 0.3rem;
}

.analyzer-option .option-card small {
  color: #64748b;
  font-size: 0.7rem;
}

.analyzer-option input:checked + .option-card {
  background: linear-gradient(145deg, rgba(34, 211, 238, 0.15), rgba(168, 85, 247, 0.1));
  border-color: rgba(34, 211, 238, 0.6);
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.2);
}

.analyzer-option input:checked + .option-card i {
  color: #22d3ee;
}

.analyzer-option input:checked + .option-card.highlight {
  background: linear-gradient(145deg, rgba(168, 85, 247, 0.2), rgba(236, 72, 153, 0.1));
  border-color: rgba(168, 85, 247, 0.6);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
}

.analyzer-option input:checked + .option-card.highlight i {
  color: #c084fc;
}

/* Scene Count Slider */
.analyzer-scene-count {
  margin-top: 1.5rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.6), rgba(15, 23, 42, 0.8));
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.scene-label {
  color: #e2e8f0;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

.scene-slider-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.analyzer-scene-count .scene-slider {
  flex: 1;
  height: 8px;
  background: rgba(71, 85, 105, 0.5);
  border-radius: 4px;
  outline: none;
  -webkit-appearance: none;
}

.analyzer-scene-count .scene-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #22d3ee, #a855f7);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.5);
}

.analyzer-scene-count .scene-value {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #22d3ee, #a855f7);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
}

/* Analyze Button */
.analyzer-action-section {
  text-align: center;
  margin-bottom: 1.5rem;
}

.analyzer-btn {
  position: relative;
  padding: 1rem 3rem;
  background: linear-gradient(135deg, #22d3ee, #a855f7);
  border: none;
  border-radius: 16px;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px rgba(34, 211, 238, 0.4);
}

.analyzer-btn:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(34, 211, 238, 0.5);
}

.analyzer-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.analyzer-btn .btn-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: translateX(-100%);
}

.analyzer-btn:hover:not(:disabled) .btn-glow {
  animation: slideGlow 1s ease-out;
}

@keyframes slideGlow {
  to { transform: translateX(100%); }
}

.analyzer-hint {
  color: #64748b;
  font-size: 0.85rem;
  margin-top: 1rem;
}

/* Results Area */
.analyzer-results-area {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid;
  border-image: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.4), rgba(168, 85, 247, 0.4), transparent) 1;
}

.analyzer-result-card {
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.7), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(71, 85, 105, 0.3);
  border-radius: 16px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.analyzer-result-card .result-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.1), rgba(168, 85, 247, 0.1));
  border-bottom: 1px solid rgba(71, 85, 105, 0.3);
}

.analyzer-result-card .header-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #e2e8f0;
  font-weight: 600;
}

.analyzer-result-card .header-left i {
  color: #22d3ee;
}

.analyzer-result-card .result-card-body {
  padding: 1.25rem;
}

.analyzed-info,
.selling-points,
.target-info {
  color: #cbd5e1;
  line-height: 1.7;
}

.analyzed-info strong,
.selling-points strong,
.target-info strong {
  color: #22d3ee;
}

/* Generated Prompts */
.generated-prompts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.generated-prompt-item {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(71, 85, 105, 0.4);
  border-radius: 12px;
  padding: 1rem;
}

.generated-prompt-item .scene-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.generated-prompt-item .scene-number {
  background: linear-gradient(135deg, #22d3ee, #a855f7);
  color: #fff;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
}

.generated-prompt-item .prompt-text {
  color: #e2e8f0;
  font-size: 0.9rem;
  line-height: 1.6;
  background: rgba(0,0,0,0.3);
  padding: 0.75rem;
  border-radius: 8px;
  font-family: monospace;
}

/* Use Data Button */
.analyzer-use-section {
  text-align: center;
  margin-top: 1.5rem;
}

.use-data-btn {
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #a855f7, #ec4899);
  border: none;
  border-radius: 14px;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 25px rgba(168, 85, 247, 0.4);
}

.use-data-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 35px rgba(168, 85, 247, 0.5);
}

/* Locked Overlay for Analyzer */
.analyzer-locked-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(10, 15, 25, 0.97), rgba(8, 12, 20, 0.98));
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  backdrop-filter: blur(8px);
}

.analyzer-locked-content {
  text-align: center;
  padding: 3rem;
}

.analyzer-locked-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.2), rgba(168, 85, 247, 0.2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #22d3ee;
  margin: 0 auto 1.5rem;
  animation: iconPulse 2s ease-in-out infinite;
}

/* Loading State */
.analyzer-btn.loading {
  pointer-events: none;
}

.analyzer-btn.loading .btn-content {
  opacity: 0;
}

.analyzer-btn.loading::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  border: 3px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
  .analyzer-card-inner { padding: 1.5rem; }
  .analyzer-header { flex-direction: column; text-align: center; }
  .analyzer-title-area { flex-direction: column; text-align: center; }
  .analyzer-badges { justify-content: center; }
  .analyzer-options-grid { grid-template-columns: repeat(2, 1fr); }
  .analyzer-scene-count { flex-direction: column; }
}

/* Additional Analyzer Result Styles */
.info-grid {
  display: grid;
  gap: 0.75rem;
}

.info-item {
  padding: 0.75rem 1rem;
  background: rgba(15, 23, 42, 0.5);
  border-radius: 8px;
  color: #e2e8f0;
}

.info-item strong {
  color: #22d3ee;
  margin-right: 0.5rem;
}

.selling-point-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.5);
  border-radius: 12px;
  margin-bottom: 0.75rem;
  border-left: 3px solid #22d3ee;
}

.selling-point-item .point-number {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #22d3ee, #a855f7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  flex-shrink: 0;
}

.selling-point-item .point-content strong {
  color: #e2e8f0;
  display: block;
  margin-bottom: 0.25rem;
}

.selling-point-item .point-content p {
  color: #94a3b8;
  font-size: 0.85rem;
  margin: 0;
}

.target-grid {
  display: grid;
  gap: 0.75rem;
}

.target-item {
  padding: 0.75rem 1rem;
  background: rgba(15, 23, 42, 0.5);
  border-radius: 8px;
  color: #e2e8f0;
}

.target-item i {
  color: #a855f7;
  margin-right: 0.5rem;
}

.target-item strong {
  color: #c084fc;
  margin-right: 0.3rem;
}

.generated-prompt-item .prompt-desc-th {
  color: #94a3b8;
  font-size: 0.85rem;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(71, 85, 105, 0.3);
}

.generated-prompt-item .duration {
  background: rgba(34, 211, 238, 0.2);
  color: #22d3ee;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Hook badge */
.generated-prompt-item .hook-badge {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* Voiceover Section */
.voiceover-section {
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
  border-radius: 10px;
  border-left: 3px solid #a855f7;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.voiceover-label {
  color: #a855f7;
  font-weight: 600;
  font-size: 0.85rem;
}

.voiceover-text {
  color: #f1f5f9;
  font-size: 0.95rem;
  font-style: italic;
  flex: 1;
}

.word-count {
  color: #64748b;
  font-size: 0.75rem;
  background: rgba(100, 116, 139, 0.2);
  padding: 0.2rem 0.5rem;
  border-radius: 100px;
}

/* Copy button states */
.copy-btn.copied {
  background: linear-gradient(135deg, #10b981, #059669) !important;
}

/* ============================================
   🖼️ IMAGE GENERATION PROMPTS CARD
   ============================================ */
.image-gen-card {
  background: linear-gradient(145deg, rgba(59, 130, 246, 0.1), rgba(168, 85, 247, 0.05)) !important;
  border: 1px solid rgba(59, 130, 246, 0.3) !important;
}

.image-gen-card .result-card-header .header-left i {
  color: #3b82f6;
}

.image-gen-prompts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.image-gen-item {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.8));
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 16px;
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.image-gen-item:hover {
  border-color: rgba(59, 130, 246, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(59, 130, 246, 0.2);
}

.image-gen-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #3b82f6, #a855f7);
}

.image-gen-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.image-gen-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.image-gen-badge {
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

.image-gen-badge.presenter {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(168, 85, 247, 0.2));
  color: #ec4899;
  border: 1px solid rgba(236, 72, 153, 0.3);
}

.image-gen-badge.background {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(16, 185, 129, 0.2));
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.image-gen-badge.mood {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.2));
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.image-gen-prompt-text {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 12px;
  padding: 1rem;
  color: #e2e8f0;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.85rem;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
  position: relative;
}

.image-gen-copy-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  border: none;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-size: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.3s ease;
  z-index: 10;
}

.image-gen-copy-btn:hover {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  transform: scale(1.05);
}

.image-gen-copy-btn.copied {
  background: linear-gradient(135deg, #10b981, #059669);
}

/* Number badge */
.image-gen-number {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #3b82f6, #a855f7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
/* ============================================
   📖 STORY SELLING STYLES 📖
   เล่าเรื่องขายของเนียนๆ
   ============================================ */

/* === STORY SELLING CARD === */
.story-selling-card {
  position: relative;
  background: linear-gradient(145deg, rgba(34, 197, 94, 0.1), rgba(16, 185, 129, 0.05));
  border-radius: 28px;
  overflow: hidden;
}

.story-glow-border {
  position: absolute;
  inset: -3px;
  background: conic-gradient(from 0deg, #22c55e, #10b981, #3b82f6, #8b5cf6, #22c55e);
  animation: borderRotate 5s linear infinite;
  border-radius: 31px;
  z-index: -1;
  filter: blur(3px);
}

.story-card-inner {
  background: linear-gradient(180deg, rgba(10, 20, 15, 0.98), rgba(8, 25, 18, 0.95));
  border-radius: 24px;
  padding: 2rem;
  position: relative;
  z-index: 1;
}

/* === STORY HEADER === */
.story-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid;
  border-image: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.5), rgba(16, 185, 129, 0.5), transparent) 1;
}

.story-title-area {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.story-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #22c55e, #10b981, #3b82f6);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  box-shadow: 0 0 30px rgba(34, 197, 94, 0.5);
  animation: iconPulse 2s ease-in-out infinite;
}

.story-main-title {
  font-size: 1.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, #22c55e, #10b981, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
}

.story-subtitle {
  color: #94a3b8;
  font-size: 0.85rem;
  margin: 0.25rem 0 0;
}

.story-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.story-badge {
  padding: 0.4rem 0.75rem;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.story-badge.storytelling {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(16, 185, 129, 0.2));
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.story-badge.multi-clip {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(99, 102, 241, 0.2));
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.story-badge.soft-sell {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(168, 85, 247, 0.2));
  color: #ec4899;
  border: 1px solid rgba(236, 72, 153, 0.3);
}

/* === CONCEPT BOX === */
.story-concept-box {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(16, 185, 129, 0.05));
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 16px;
  overflow: hidden;
}

.concept-header {
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.2), rgba(16, 185, 129, 0.1));
  padding: 0.75rem 1rem;
  color: #22c55e;
  font-size: 0.9rem;
}

.concept-content {
  padding: 1rem;
}

.concept-content p {
  color: #e2e8f0;
  margin: 0 0 1rem;
  font-size: 0.9rem;
}

.concept-examples {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.example-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  font-size: 0.8rem;
  color: #cbd5e1;
}

.example-badge {
  padding: 0.3rem 0.6rem;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
}

.example-badge.health {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(168, 85, 247, 0.2));
  color: #ec4899;
}

.example-badge.gadget {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.2));
  color: #fbbf24;
}

.example-badge.finance {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(16, 185, 129, 0.2));
  color: #22c55e;
}

/* === STORY FORM === */
.story-form-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.story-form-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.story-form-col {
  flex: 1;
  min-width: 200px;
}

.story-form-col.col-2 { flex: 0 0 calc(16.67% - 0.5rem); min-width: 120px; }
.story-form-col.col-4 { flex: 0 0 calc(33.33% - 0.67rem); min-width: 180px; }
.story-form-col.col-6 { flex: 0 0 calc(50% - 0.5rem); }
.story-form-col.col-12 { flex: 0 0 100%; }

.story-label {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.story-required {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  font-size: 0.6rem;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  margin-left: 0.5rem;
}

.story-info {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  font-size: 0.6rem;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  margin-left: 0.5rem;
}

.story-input {
  background: rgba(15, 23, 42, 0.8) !important;
  border: 1px solid rgba(34, 197, 94, 0.3) !important;
  border-radius: 12px !important;
  color: #e2e8f0 !important;
  padding: 0.75rem 1rem !important;
  transition: all 0.3s ease;
}

.story-input:focus {
  border-color: #22c55e !important;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15) !important;
}

.story-hint {
  font-size: 0.7rem;
  color: #64748b;
  margin-top: 0.25rem;
}

/* === STORY GENERATE BUTTON === */
.story-generate-btn {
  position: relative;
  width: 100%;
  padding: 1.25rem 2rem;
  background: linear-gradient(135deg, #22c55e, #10b981, #3b82f6);
  border: none;
  border-radius: 16px;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 4px 25px rgba(34, 197, 94, 0.4);
}

.story-generate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 35px rgba(34, 197, 94, 0.5);
}

.story-generate-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.story-generate-btn .btn-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: translateX(-100%);
  animation: btnShine 3s infinite;
}

.story-generate-btn .btn-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* === STORY OUTPUT === */
.story-output-area {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.story-result-card {
  background: linear-gradient(145deg, rgba(34, 197, 94, 0.08), rgba(16, 185, 129, 0.04));
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 16px;
  overflow: hidden;
}

.story-result-card .result-card-header {
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.15), rgba(16, 185, 129, 0.1));
  padding: 0.875rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(34, 197, 94, 0.15);
}

.story-result-card .result-card-header .header-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #22c55e;
  font-weight: 600;
}

.story-result-card .result-card-body {
  padding: 1.25rem;
}

.overview-text {
  color: #e2e8f0;
  line-height: 1.8;
  font-size: 0.95rem;
  margin: 0;
}

/* === STORY CLIPS CONTAINER === */
.story-clips-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.story-clip-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(10, 18, 35, 0.95));
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.story-clip-card:hover {
  border-color: rgba(34, 197, 94, 0.4);
  transform: translateX(5px);
}

.clip-header {
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.15), transparent);
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(34, 197, 94, 0.1);
}

.clip-number {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.clip-badge {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #22c55e, #10b981);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}

.clip-title {
  color: #e2e8f0;
  font-weight: 600;
  font-size: 0.9rem;
}

.clip-timeline {
  background: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

.clip-body {
  padding: 1rem;
}

.clip-hook-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.2));
  color: #fbbf24;
  padding: 0.3rem 0.6rem;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.clip-script {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(34, 197, 94, 0.15);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 0.75rem;
}

.clip-script-label {
  color: #22c55e;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.clip-script-text {
  color: #e2e8f0;
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
}

.clip-visual {
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 12px;
  padding: 0.75rem 1rem;
}

.clip-visual-label {
  color: #3b82f6;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.clip-visual-text {
  color: #94a3b8;
  font-size: 0.85rem;
  margin: 0;
}

/* Video Prompt Section */
.clip-prompt {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(168, 85, 247, 0.08));
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 12px;
  padding: 1rem;
  margin-top: 0.5rem;
}

.clip-prompt-label {
  color: #a78bfa;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.clip-prompt-text {
  color: #e2e8f0;
  font-size: 0.85rem;
  line-height: 1.7;
  margin: 0;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.75rem;
  border-radius: 8px;
  font-family: 'Consolas', 'Monaco', monospace;
  word-break: break-word;
  white-space: pre-wrap;
}

.clip-copy-btn {
  background: linear-gradient(135deg, #22c55e, #10b981);
  color: #fff;
  border: none;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-size: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.3s ease;
}

.clip-copy-btn:hover {
  transform: scale(1.05);
}

.clip-copy-btn.copied {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

/* Story Textarea */
.story-textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 10px;
  color: #e2e8f0;
  padding: 0.75rem;
  font-size: 0.9rem;
  resize: none;
}

/* === STORY LOCKED OVERLAY === */
.story-locked-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
}

.story-locked-content {
  text-align: center;
  padding: 2rem;
  max-width: 500px;
}

.story-locked-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #22c55e, #10b981);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #fff;
  margin: 0 auto 1.5rem;
  animation: iconPulse 2s ease-in-out infinite;
}

.story-upgrade-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #22c55e, #10b981, #3b82f6);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 12px;
  text-decoration: none;
  margin-top: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.4);
}

.story-upgrade-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(34, 197, 94, 0.5);
  color: #fff;
}

.features-header.story-header {
  color: #22c55e;
}

.feature-item.included.story {
  border-color: rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

/* === MOBILE RESPONSIVE === */
@media (max-width: 768px) {
  .story-card-inner {
    padding: 1.25rem;
  }
  
  .story-form-col.col-4,
  .story-form-col.col-6 {
    flex: 0 0 100%;
  }
  
  .story-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .story-badges {
    margin-top: 0.5rem;
  }
  
  .example-item {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .clip-header {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }
}

/* === STORY HISTORY BUTTON === */
.story-history-btn {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(99, 102, 241, 0.2));
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 16px;
  color: #3b82f6;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.story-history-btn:hover {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(99, 102, 241, 0.3));
  border-color: rgba(59, 130, 246, 0.5);
  transform: translateY(-2px);
}

.history-count {
  background: #3b82f6;
  color: #fff;
  padding: 0.2rem 0.5rem;
  border-radius: 100px;
  font-size: 0.75rem;
  min-width: 20px;
  text-align: center;
}

/* === STORY HISTORY MODAL === */
.story-history-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.story-history-content {
  background: linear-gradient(145deg, #0a1410, #0d1916);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 20px;
  width: 100%;
  max-width: 600px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.story-history-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(34, 197, 94, 0.2);
}

.story-history-header h4 {
  margin: 0;
  color: #22c55e;
  font-size: 1.1rem;
  font-weight: 700;
}

.story-history-close {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.story-history-close:hover {
  background: rgba(239, 68, 68, 0.3);
  transform: scale(1.1);
}

.story-history-list {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}

.story-history-item {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(34, 197, 94, 0.15);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.story-history-item:hover {
  border-color: rgba(34, 197, 94, 0.4);
  background: rgba(34, 197, 94, 0.05);
  transform: translateX(5px);
}

.story-history-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.story-history-item-title {
  color: #22c55e;
  font-weight: 600;
  font-size: 0.95rem;
}

.story-history-item-time {
  color: #64748b;
  font-size: 0.75rem;
}

.story-history-item-detail {
  color: #94a3b8;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.story-history-item-meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.story-history-tag {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  font-size: 0.7rem;
}

.story-history-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: #64748b;
}

.story-history-empty i {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.story-history-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(34, 197, 94, 0.2);
}

.story-clear-history-btn {
  width: 100%;
  padding: 0.75rem;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 10px;
  color: #ef4444;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.story-clear-history-btn:hover {
  background: rgba(239, 68, 68, 0.25);
}

/* Autocomplete Dropdown */
.autocomplete-wrapper {
  position: relative;
}

.autocomplete-dropdown {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.autocomplete-dropdown::-webkit-scrollbar {
  width: 6px;
}

.autocomplete-dropdown::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}

.autocomplete-dropdown::-webkit-scrollbar-thumb {
  background: rgba(34, 197, 94, 0.3);
  border-radius: 3px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .story-form-col.col-8,
  .story-form-col.col-4 {
    flex: 0 0 100%;
  }
  
  .story-history-content {
    max-height: 90vh;
  }
}

/* ============================== */
/* 🎨 BEAUTIFUL LOCKED OVERLAY    */
/* ============================== */

/* Base Beautiful Locked Content */
.tier-locked-beautiful {
  position: relative;
  padding: 2.5rem 2rem !important;
  max-width: 520px;
  overflow: hidden;
}

/* Background Effects */
.tier-locked-bg-effects {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.tier-locked-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  animation: lockedGlowFloat 6s ease-in-out infinite;
}

.tier-locked-glow.glow-1 {
  width: 200px;
  height: 200px;
  top: -50px;
  left: -50px;
  background: rgba(251, 191, 36, 0.5);
}

.tier-locked-glow.glow-2 {
  width: 150px;
  height: 150px;
  bottom: -30px;
  right: -30px;
  background: rgba(245, 158, 11, 0.5);
  animation-delay: -3s;
}

.tier-locked-glow.premium-glow.glow-1 {
  background: rgba(168, 85, 247, 0.5);
}

.tier-locked-glow.premium-glow.glow-2 {
  background: rgba(236, 72, 153, 0.5);
}

.tier-locked-glow.premium-glow.glow-3 {
  width: 100px;
  height: 100px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(139, 92, 246, 0.3);
  animation-delay: -1.5s;
}

.tier-locked-glow.analyzer-glow.glow-1 {
  background: rgba(34, 197, 94, 0.4);
}

.tier-locked-glow.analyzer-glow.glow-2 {
  background: rgba(16, 185, 129, 0.4);
}

@keyframes lockedGlowFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -20px) scale(1.1); }
  66% { transform: translate(-10px, 10px) scale(0.95); }
}

/* Icon Wrapper */
.tier-locked-icon-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem;
}

.tier-locked-icon-wrapper .tier-locked-icon {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
}

.tier-locked-icon-ring {
  position: absolute;
  inset: -8px;
  border: 2px solid rgba(251, 191, 36, 0.3);
  border-radius: 50%;
  animation: ringPulse 2s ease-in-out infinite;
}

.tier-locked-icon-ring.premium-ring {
  border-color: rgba(168, 85, 247, 0.3);
}

.tier-locked-icon-ring.analyzer-ring {
  border-color: rgba(34, 197, 94, 0.3);
}

@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.5; }
}

/* VIP Icon Style */
.vip-icon-wrapper .tier-locked-icon {
  background: linear-gradient(145deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.15));
  border: 3px solid rgba(251, 191, 36, 0.5);
  color: #fbbf24;
  text-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
}

/* Premium Icon Style */
.premium-icon-wrapper .tier-locked-icon {
  background: linear-gradient(145deg, rgba(168, 85, 247, 0.25), rgba(236, 72, 153, 0.2));
  border: 3px solid transparent;
  background-clip: padding-box;
  position: relative;
}

.premium-icon-wrapper .tier-locked-icon::before {
  content: '';
  position: absolute;
  inset: -3px;
  background: linear-gradient(135deg, #a855f7, #ec4899, #8b5cf6);
  border-radius: 50%;
  z-index: -1;
  animation: premiumBorderRotate 3s linear infinite;
}

@keyframes premiumBorderRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.premium-icon-wrapper .tier-locked-icon {
  color: #e879f9;
  text-shadow: 0 0 20px rgba(236, 72, 153, 0.6);
}

/* Analyzer Icon Style */
.analyzer-icon-wrapper .tier-locked-icon {
  background: linear-gradient(145deg, rgba(34, 197, 94, 0.2), rgba(16, 185, 129, 0.15));
  border: 3px solid rgba(34, 197, 94, 0.5);
  color: #22c55e;
  text-shadow: 0 0 20px rgba(34, 197, 94, 0.5);
}

/* Title Styles */
.tier-locked-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.tier-locked-badge {
  display: inline-block;
  padding: 0.3rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.tier-locked-title-vip .tier-locked-badge {
  background: rgba(251, 191, 36, 0.2);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: #fbbf24;
}

.tier-locked-title-premium .tier-locked-badge.premium-badge-glow {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.25), rgba(236, 72, 153, 0.2));
  border: 1px solid rgba(168, 85, 247, 0.5);
  color: #e879f9;
  animation: premiumBadgePulse 2s ease-in-out infinite;
}

@keyframes premiumBadgePulse {
  0%, 100% { box-shadow: 0 0 10px rgba(168, 85, 247, 0.3); }
  50% { box-shadow: 0 0 25px rgba(168, 85, 247, 0.5); }
}

.tier-locked-title-analyzer .analyzer-badge {
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #22c55e;
}

/* Features Showcase */
.tier-features-showcase {
  background: rgba(15, 23, 42, 0.6);
  border-radius: 16px;
  padding: 1.25rem;
  margin: 1.5rem 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.tier-features-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fbbf24;
  margin-bottom: 1rem;
}

.premium-features-showcase .tier-features-header-badge,
.premium-features-showcase .premium-header-badge {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(236, 72, 153, 0.15));
  border-color: rgba(168, 85, 247, 0.4);
  color: #e879f9;
}

.analyzer-features-showcase .tier-features-header-badge,
.analyzer-features-showcase .analyzer-header-badge {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.tier-features-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}

.tier-feature-card {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.8rem;
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.2);
  border-radius: 10px;
  font-size: 0.75rem;
  color: #fcd34d;
  transition: all 0.2s ease;
}

.tier-feature-card:hover {
  background: rgba(251, 191, 36, 0.15);
  transform: translateY(-2px);
}

.tier-feature-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(251, 191, 36, 0.2);
  border-radius: 8px;
  color: #fbbf24;
  font-size: 0.8rem;
}

/* Premium Feature Cards */
.tier-feature-card.premium-card {
  background: rgba(168, 85, 247, 0.08);
  border-color: rgba(168, 85, 247, 0.2);
  color: #d8b4fe;
}

.tier-feature-card.premium-card:hover {
  background: rgba(168, 85, 247, 0.15);
}

.tier-feature-card.premium-card .tier-feature-icon.premium-icon {
  background: rgba(168, 85, 247, 0.2);
  color: #c084fc;
}

.tier-feature-card.highlight-card {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.15), rgba(168, 85, 247, 0.1));
  border-color: rgba(236, 72, 153, 0.3);
  color: #f9a8d4;
}

.tier-feature-card.highlight-card .tier-feature-icon.premium-icon {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.3), rgba(168, 85, 247, 0.2));
  color: #f472b6;
}

/* Analyzer Feature Cards */
.tier-feature-card.analyzer-card {
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.2);
  color: #86efac;
}

.tier-feature-card.analyzer-card:hover {
  background: rgba(34, 197, 94, 0.15);
}

.tier-feature-card.analyzer-card .tier-feature-icon.analyzer-icon {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

/* Price Display */
.tier-price-display {
  margin: 1.5rem 0;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.5);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.tier-price-original {
  font-size: 1rem;
  color: #94a3b8;
  text-decoration: line-through;
  opacity: 0.7;
  margin-bottom: 0.25rem;
}

.tier-price-main {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.2rem;
}

.tier-price-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fbbf24;
}

.tier-price-amount {
  font-size: 3rem;
  font-weight: 900;
  color: #fbbf24;
  line-height: 1;
  text-shadow: 0 0 30px rgba(251, 191, 36, 0.4);
}

.vip-price-display .tier-price-currency,
.vip-price-display .tier-price-amount {
  color: #fbbf24;
}

.premium-price-display .tier-price-currency,
.premium-price-display .tier-price-amount,
.premium-price-main .tier-price-currency,
.premium-price-main .tier-price-amount {
  color: #e879f9;
  text-shadow: 0 0 30px rgba(168, 85, 247, 0.4);
}

.tier-price-discount {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.8rem;
  background: linear-gradient(135deg, #ef4444, #f97316);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  color: white;
  margin-top: 0.5rem;
  animation: discountPulse 2s ease-in-out infinite;
}

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

.tier-price-tag {
  font-size: 0.8rem;
  color: #fbbf24;
  margin-top: 0.5rem;
}

.premium-price-display .tier-price-tag {
  color: #e879f9;
}

/* Beautiful Upgrade Button */
.tier-upgrade-btn-beautiful {
  position: relative;
  overflow: hidden;
  padding: 1rem 2.5rem !important;
  font-size: 1rem !important;
  border-radius: 100px !important;
  transition: all 0.3s ease !important;
}

.tier-upgrade-btn-beautiful .tier-btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: skewX(-20deg);
  animation: btnShine 3s ease-in-out infinite;
}

@keyframes btnShine {
  0%, 100% { left: -100%; }
  50% { left: 100%; }
}

.vip-upgrade-btn.tier-upgrade-btn-beautiful {
  background: linear-gradient(135deg, #fbbf24, #f59e0b) !important;
  color: #000 !important;
  box-shadow: 0 10px 40px rgba(251, 191, 36, 0.4) !important;
}

.vip-upgrade-btn.tier-upgrade-btn-beautiful:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 15px 50px rgba(251, 191, 36, 0.5) !important;
}

.premium-upgrade-btn.tier-upgrade-btn-beautiful,
.premium-btn-beautiful {
  background: linear-gradient(135deg, #a855f7, #ec4899) !important;
  color: #fff !important;
  box-shadow: 0 10px 40px rgba(168, 85, 247, 0.4) !important;
}

.premium-upgrade-btn.tier-upgrade-btn-beautiful:hover,
.premium-btn-beautiful:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 15px 50px rgba(168, 85, 247, 0.5) !important;
}

.premium-btn-beautiful .tier-btn-shine.premium-shine {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
}

/* Contact Beautiful */
.tier-locked-contact-beautiful {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #94a3b8;
}

.premium-contact {
  color: #c084fc;
}

/* Mobile Responsive */
@media (max-width: 576px) {
  .tier-locked-beautiful {
    padding: 1.5rem 1rem !important;
  }
  
  .tier-locked-icon-wrapper {
    width: 80px;
    height: 80px;
  }
  
  .tier-locked-icon-wrapper .tier-locked-icon {
    font-size: 1.8rem !important;
  }
  
  .tier-features-items {
    grid-template-columns: 1fr;
  }
  
  .tier-price-amount {
    font-size: 2.5rem;
  }
  
  .tier-upgrade-btn-beautiful {
    padding: 0.8rem 1.5rem !important;
    font-size: 0.9rem !important;
  }
}
