/* 솔레오카 배너 스타일 */
.soleoka-banner-container {
  width: 100%;
  margin-bottom: 2rem;
  overflow: hidden;
}

/* 메인 배너 */
.soleoka-banner-main {
  position: relative;
  height: 200px;
  border-radius: 0.75rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  background-image: url('/static/img/soleoka-banner-pc.png');
  background-size: cover;
  background-position: center;
}

.soleoka-banner-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #ec4899, #be185d);
  opacity: 0.6;
  transition: background 0.5s ease-in-out;
}

.soleoka-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}

.soleoka-banner-content {
  position: relative;
  z-index: 10;
  padding: 1.5rem 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.soleoka-banner-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 100%;
}

/* 텍스트 섹션 */
.soleoka-banner-text {
  flex: 1;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.soleoka-banner-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.soleoka-banner-icon {
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  backdrop-filter: blur(4px);
}

.soleoka-banner-badge {
  background: #db2777;
  color: #ffffff;
  border: none;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 1.5rem;
  font-weight: 500;
}

.soleoka-banner-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.soleoka-banner-title {
  font-size: 2rem;
  font-weight: bold;
  line-height: 1.2;
  margin: 0;
}

.soleoka-banner-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  margin: 0;
}

.soleoka-banner-description {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 32rem;
  margin: 0;
}

.soleoka-banner-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.soleoka-banner-btn-primary {
  background: #db2777;
  color: #ffffff;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
}

.soleoka-banner-btn-primary:hover {
  opacity: 0.9;
}

.soleoka-banner-btn-secondary {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
}

.soleoka-banner-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* 통계 카드 */
.soleoka-banner-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  width: 18rem;
}

.soleoka-banner-stat-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.75rem;
  border-radius: 0.5rem;
  text-align: center;
  color: white;
  height: 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.soleoka-banner-stat-value {
  font-size: 1.25rem;
  font-weight: bold;
}

.soleoka-banner-orange {
  color: #fed7aa;
}

.soleoka-banner-pink {
  color: #fbb6ce;
}

.soleoka-banner-stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
}

/* 슬라이드 인디케이터 */
.soleoka-banner-indicators {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.soleoka-banner-indicator {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s;
}

.soleoka-banner-indicator:hover {
  background: rgba(255, 255, 255, 0.6);
}

.soleoka-banner-indicator.active {
  background: white;
  transform: scale(1.25);
}

/* 닫기 버튼 */
.soleoka-banner-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 20;
  padding: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
  background: transparent;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s;
}

.soleoka-banner-close:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

/* 퀵 가이드 섹션 */
.soleoka-banner-guide {
  margin-top: 1rem;
  border: 1px solid #fed7aa;
  background: linear-gradient(to right, #fff7ed, #fdf2f8);
  border-radius: 0.75rem;
  height: 250px;
  overflow: hidden;
}

.soleoka-banner-guide-content {
  padding: 1rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.soleoka-banner-guide-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.soleoka-banner-guide-icon {
  padding: 0.25rem;
  background: #fed7aa;
  border-radius: 50%;
  color: #ea580c;
}

.soleoka-banner-guide-title {
  font-size: 1rem;
  font-weight: 600;
  color: #374151;
  margin: 0;
}

.soleoka-banner-guide-body {
  flex: 1;
  overflow-y: auto;
}

.soleoka-banner-guide-section {
  margin-bottom: 0.75rem;
}

.soleoka-banner-guide-section-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: #4b5563;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.soleoka-banner-guide-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
}

.soleoka-banner-orange-dot {
  background: #f97316;
}

.soleoka-banner-purple-dot {
  background: #a855f7;
}

.soleoka-banner-guide-grid {
  display: grid;
  gap: 0.5rem;
}

.soleoka-banner-guide-grid-4 {
  grid-template-columns: repeat(2, 1fr);
}

.soleoka-banner-guide-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.soleoka-banner-guide-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  background: white;
  border-radius: 0.5rem;
  border: 1px solid;
  min-height: 60px;
}

.soleoka-banner-guide-step:nth-child(1),
.soleoka-banner-guide-step:nth-child(3) {
  border-color: #fed7aa;
}

.soleoka-banner-guide-step:nth-child(2),
.soleoka-banner-guide-step:nth-child(4) {
  border-color: #fbb6ce;
}

.soleoka-banner-guide-section:last-child .soleoka-banner-guide-step:nth-child(1) {
  border-color: #c4b5fd;
}

.soleoka-banner-guide-section:last-child .soleoka-banner-guide-step:nth-child(2) {
  border-color: #a5b4fc;
}

.soleoka-banner-guide-step-number {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.75rem;
  color: white;
  flex-shrink: 0;
}

.soleoka-banner-orange-bg {
  background: #f97316;
}

.soleoka-banner-pink-bg {
  background: #ec4899;
}

.soleoka-banner-gradient-bg {
  background: linear-gradient(to right, #f97316, #ec4899);
}

.soleoka-banner-gradient-bg-reverse {
  background: linear-gradient(to right, #ec4899, #f97316);
}

.soleoka-banner-purple-bg {
  background: #a855f7;
}

.soleoka-banner-indigo-bg {
  background: #6366f1;
}

.soleoka-banner-guide-step-content {
  flex: 1;
}

.soleoka-banner-guide-step-title {
  font-weight: 500;
  color: #374151;
  font-size: 0.75rem;
  margin-bottom: 0.125rem;
}

.soleoka-banner-guide-step-desc {
  font-size: 0.75rem;
  color: #6b7280;
}

.soleoka-banner-guide-footer {
  text-align: center;
  margin-top: 0.5rem;
}

.soleoka-banner-guide-btn {
  border: 1px solid #fed7aa;
  color: #ea580c;
  background: transparent;
  padding: 0.25rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
}

.soleoka-banner-guide-btn:hover {
  background: #fff7ed;
}

/* 반응형 디자인 */
@media (max-width: 1024px) {
  .soleoka-banner-layout {
    flex-direction: column;
    gap: 1rem;
  }

  .soleoka-banner-stats {
    width: 100%;
    grid-template-columns: repeat(4, 1fr);
  }

  .soleoka-banner-guide-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .soleoka-banner-main {
    height: 400px;
    background-image: url('/static/img/soleoka-banner-m.png');
  }

  .soleoka-banner-content {
    padding: 1rem;
  }

  .soleoka-banner-title {
    font-size: 1.5rem;
  }

  .soleoka-banner-subtitle {
    font-size: 1rem;
  }

  .soleoka-banner-buttons {
    flex-direction: column;
  }

  .soleoka-banner-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .soleoka-banner-guide-grid-4,
  .soleoka-banner-guide-grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .soleoka-banner-guide {
    height: 300px;
  }
}

/* 온보딩 모달 스타일 */
.soleoka-banner-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.soleoka-banner-modal.active {
  display: flex;
}

.soleoka-banner-modal-backdrop {
  position: absolute;
  inset: 0;
}

.soleoka-banner-modal-content {
  position: relative;
  width: 100%;
  max-width: 80rem;
  max-height: 95vh;
  margin: 1rem;
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* 모달 헤더 */
.soleoka-banner-modal-header {
  background: linear-gradient(to right, #f97316, #dc2626);
  color: white;
  padding: 1.5rem;
  position: relative;
}

.soleoka-banner-modal-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}

.soleoka-banner-modal-header-content {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.soleoka-banner-modal-badge-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.soleoka-banner-modal-icon {
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  backdrop-filter: blur(4px);
}

.soleoka-banner-modal-badge {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
}

.soleoka-banner-modal-close {
  background: transparent;
  border: none;
  color: white;
  padding: 0.5rem;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s;
}

.soleoka-banner-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.soleoka-banner-modal-title-section {
  position: relative;
  z-index: 10;
  margin-bottom: 1rem;
}

.soleoka-banner-modal-title {
  font-size: 2rem;
  font-weight: bold;
  margin: 0 0 0.5rem 0;
}

.soleoka-banner-modal-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.soleoka-banner-modal-progress-section {
  position: relative;
  z-index: 10;
}

.soleoka-banner-modal-progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
}

.soleoka-banner-modal-progress-bar {
  height: 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  overflow: hidden;
}

.soleoka-banner-modal-progress-fill {
  height: 100%;
  background: white;
  border-radius: 9999px;
  transition: width 0.3s ease;
  width: 13%;
}

/* 모달 바디 */
.soleoka-banner-modal-body {
  padding: 1.5rem;
  max-height: 65vh;
  overflow-y: auto;
  flex: 1;
}

.soleoka-banner-modal-description {
  text-align: center;
  margin-bottom: 1.5rem;
}

.soleoka-banner-modal-description p {
  font-size: 1.125rem;
  color: #4b5563;
  line-height: 1.6;
  margin: 0;
}

.soleoka-banner-modal-demo-toggle {
  text-align: center;
  margin-bottom: 1.5rem;
}

.soleoka-banner-modal-demo-btn {
  border: 2px dashed #93c5fd;
  color: #2563eb;
  background: transparent;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.soleoka-banner-modal-demo-btn:hover {
  background: #eff6ff;
}

.soleoka-banner-modal-features {
  margin-bottom: 1.5rem;
}

.soleoka-banner-modal-features-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.soleoka-banner-modal-features-title svg {
  color: #f97316;
}

.soleoka-banner-modal-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0.75rem;
}

.soleoka-banner-modal-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: #f9fafb;
  border-radius: 0.5rem;
}

.soleoka-banner-modal-feature-icon {
  color: #10b981;
  flex-shrink: 0;
}

.soleoka-banner-modal-feature-text {
  color: #4b5563;
}

.soleoka-banner-modal-tips {
  margin-bottom: 1.5rem;
}

.soleoka-banner-modal-tips-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.soleoka-banner-modal-tips-title svg {
  color: #ec4899;
}

.soleoka-banner-modal-tips-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.soleoka-banner-modal-tip-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  background: #eff6ff;
  border-radius: 0.5rem;
  border-left: 4px solid #3b82f6;
}

.soleoka-banner-modal-tip-dot {
  width: 0.5rem;
  height: 0.5rem;
  background: #3b82f6;
  border-radius: 50%;
  margin-top: 0.5rem;
  flex-shrink: 0;
}

.soleoka-banner-modal-tip-text {
  color: #4b5563;
  font-size: 0.875rem;
}

.soleoka-banner-modal-indicators {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding-top: 1rem;
}

.soleoka-banner-modal-step-indicator {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  border: none;
  background: #d1d5db;
  cursor: pointer;
  transition: all 0.3s;
}

.soleoka-banner-modal-step-indicator:hover {
  background: #9ca3af;
}

.soleoka-banner-modal-step-indicator.active {
  background: #f97316;
  transform: scale(1.25);
}

.soleoka-banner-modal-step-indicator.completed {
  background: #10b981;
}

/* 모달 푸터 */
.soleoka-banner-modal-footer {
  padding: 1.5rem;
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.soleoka-banner-modal-footer-left {
  display: flex;
  gap: 0.5rem;
}

.soleoka-banner-modal-btn-skip {
  color: #6b7280;
  background: transparent;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all 0.2s;
}

.soleoka-banner-modal-btn-skip:hover {
  color: #374151;
}

.soleoka-banner-modal-btn-prev {
  color: #6b7280;
  background: transparent;
  border: 1px solid #d1d5db;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: all 0.2s;
}

.soleoka-banner-modal-btn-prev:hover {
  color: #374151;
  border-color: #9ca3af;
}

.soleoka-banner-modal-btn-next {
  background: linear-gradient(to right, #f97316, #dc2626);
  color: white;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
}

.soleoka-banner-modal-btn-next:hover {
  opacity: 0.9;
}

/* 반응형 */
@media (max-width: 768px) {
  .soleoka-banner-modal-content {
    margin: 0.5rem;
    max-height: 98vh;
  }

  .soleoka-banner-modal-header {
    padding: 1rem;
  }

  .soleoka-banner-modal-title {
    font-size: 1.5rem;
  }

  .soleoka-banner-modal-body {
    padding: 1rem;
  }

  .soleoka-banner-modal-features-grid {
    grid-template-columns: 1fr;
  }

  .soleoka-banner-modal-footer {
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
  }

  .soleoka-banner-modal-footer-left,
  .soleoka-banner-modal-footer-right {
    width: 100%;
    justify-content: center;
  }
}
