/* XIVIX AI 마스터 클래스 - 프리미엄 전체화면 디자인 */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');

:root {
  --deep-navy: #0A192F;
  --navy-secondary: #1B263B;
  --electric-blue: #00B4D8;
  --cyan-accent: #64FFDA;
  --premium-gray: #333333;
  --white: #FFFFFF;
}

/* 전체 화면 활용 드로어 */
.guide-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;  /* 전체 화면 사용 */
  height: 100vh;
  background: var(--white);
  transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 10000;
  overflow-y: auto;
}

.guide-drawer.active {
  right: 0;
}

/* 드로어 헤더 - 더 크고 임팩트 있게 */
.drawer-header {
  background: linear-gradient(135deg, var(--deep-navy) 0%, var(--navy-secondary) 100%);
  color: var(--white);
  padding: 3rem 4rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(10, 25, 47, 0.3);
}

.drawer-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.drawer-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid var(--cyan-accent);
  color: var(--cyan-accent);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s;
}

.drawer-close:hover {
  background: var(--cyan-accent);
  color: var(--deep-navy);
  transform: scale(1.1);
}

/* 학습 목표 - 전체 너비 활용 */
.objective-card {
  background: linear-gradient(135deg, var(--electric-blue), var(--cyan-accent));
  color: var(--white);
  padding: 2rem 4rem;
  margin: 0;
}

.objective-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}

.objective-list li {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 10px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
}

.objective-list li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: var(--white);
  color: var(--electric-blue);
  border-radius: 50%;
  margin-right: 1rem;
  flex-shrink: 0;
  font-weight: bold;
}

/* 세션 탭 - 더 크고 명확하게 */
.session-tabs {
  display: flex;
  background: #f0f4f8;
  padding: 1rem 4rem;
  gap: 1rem;
  position: sticky;
  top: 140px;
  z-index: 90;
  border-bottom: 3px solid var(--deep-navy);
}

.session-tab {
  flex: 1;
  max-width: 250px;
  padding: 1.5rem 2rem;
  background: var(--white);
  border: 2px solid transparent;
  border-radius: 12px;
  color: var(--premium-gray);
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.session-tab:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,180,216,0.2);
  border-color: var(--electric-blue);
}

.session-tab.active {
  background: var(--deep-navy);
  color: var(--white);
  border-color: var(--deep-navy);
}

/* 세션 컨텐츠 - 전체 화면 활용 */
.session-content {
  padding: 3rem 4rem;
}

.session-header {
  margin-bottom: 3rem;
}

.session-header h3 {
  font-size: 2rem;
  color: var(--deep-navy);
  margin-bottom: 1rem;
}

.session-header p {
  font-size: 1.2rem;
  color: var(--premium-gray);
}

/* 스텝 그리드 레이아웃 - 큰 화면 최적화 */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

/* 스텝 카드 - 크고 명확하게 */
.step-card-large {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(10, 25, 47, 0.1);
  transition: all 0.3s;
}

.step-card-large:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(10, 25, 47, 0.2);
}

.step-header {
  background: linear-gradient(135deg, var(--deep-navy), var(--navy-secondary));
  color: var(--white);
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.step-number-large {
  width: 60px;
  height: 60px;
  background: var(--cyan-accent);
  color: var(--deep-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  flex-shrink: 0;
}

.step-instruction-large {
  font-size: 1.3rem;
  line-height: 1.5;
  flex: 1;
}

/* 실제 스크린샷 컨테이너 - 크게 표시 */
.screenshot-container-large {
  position: relative;
  background: #f5f5f5;
  padding: 2rem;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.screenshot-container-large img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* 실제 스크린샷이 없을 때 표시할 가이드 */
.screenshot-placeholder {
  width: 100%;
  max-width: 400px;
  background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
}

.phone-mockup {
  width: 300px;
  height: 600px;
  margin: 0 auto;
  background: #000;
  border-radius: 30px;
  padding: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

/* 클릭 포인트 애니메이션 - 더 크게 */
.click-indicator {
  position: absolute;
  width: 80px;
  height: 80px;
  border: 4px solid #FF4757;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.click-indicator::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  background: #FF4757;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.5;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes pulse-dot {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
  }
}

/* 실습 팁 박스 */
.practice-tip {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: var(--white);
  padding: 2rem 3rem;
  border-radius: 12px;
  margin: 2rem 0;
  font-size: 1.1rem;
  position: relative;
  overflow: hidden;
}

.practice-tip::before {
  content: '💡';
  position: absolute;
  top: -20px;
  right: 20px;
  font-size: 4rem;
  opacity: 0.2;
}

/* 반응형 - 태블릿과 모바일 */
@media (max-width: 1024px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
  
  .session-tabs {
    padding: 1rem 2rem;
    gap: 0.5rem;
  }
  
  .drawer-header {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .objective-list {
    grid-template-columns: 1fr;
  }
  
  .session-tab {
    padding: 1rem;
    font-size: 0.9rem;
  }
}