/* ============================================
   선수공부 - Home Page Styles
   ============================================ */

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-height);
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
}

.hero-content {
  max-width: 680px;
}

/* Hero entrance animation */
.hero-content .hero-badge,
.hero-content .hero-title,
.hero-content .hero-desc,
.hero-content .hero-actions {
  opacity: 0;
  transform: translateY(24px);
  animation: hero-fadeup 0.7s ease-out forwards;
}

.hero-content .hero-badge   { animation-delay: 0.1s; }
.hero-content .hero-title   { animation-delay: 0.3s; }
.hero-content .hero-desc    { animation-delay: 0.5s; }
.hero-content .hero-actions { animation-delay: 0.7s; }

@keyframes hero-fadeup {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: hero-fadeup 0.7s ease-out 1.2s forwards;
  z-index: 2;
}

.scroll-hint span {
  font-size: 0.75rem;
  color: var(--color-text-light);
  letter-spacing: 0.08em;
  font-weight: 500;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: var(--color-border);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--color-primary);
  animation: scroll-down 1.8s ease-in-out infinite;
}

@keyframes scroll-down {
  0% { top: -50%; }
  100% { top: 100%; }
}

/* Hero CTA pulse */
.hero-actions .btn--primary {
  box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.45);
  animation: cta-pulse 2.5s ease-in-out infinite;
}

.hero-actions .btn--primary:hover {
  animation: none;
  box-shadow: 0 2px 12px rgba(37, 99, 235, 0.3);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  background: var(--color-primary-light);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  margin-bottom: 2rem;
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--color-text);
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-title em {
  color: var(--color-primary);
  font-style: normal;
}

.hero-desc {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

/* Stats Section */
.stats {
  padding: 3rem 0;
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
  background: var(--color-bg);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat-number span {
  font-size: 1.25rem;
  font-weight: 600;
}

.stat-label {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* Worry / Pain Points Section — 2 column layout */
.worry-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: flex-start;
}

.worry-left {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
}

.worry-left .section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.worry-left .section-title {
  font-size: 2.25rem;
  line-height: 1.35;
  margin-bottom: 1.5rem;
}

.worry-closing {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.85;
  text-align: left;
}

.worry-right {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.worry-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--color-border-light);
}

.worry-item:first-child {
  padding-top: 0;
}

.worry-item:last-child {
  border-bottom: none;
}

.worry-num {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-primary-light);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.worry-item h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.375rem;
}

.worry-item p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* Teacher Overview Cards */
.teacher-overview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.teacher-ov-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

.teacher-ov-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(-3px);
}

.teacher-ov-top {
  padding: 1.5rem 1.5rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.teacher-ov-top--teal { background: var(--color-secondary-light); }
.teacher-ov-top--blue { background: var(--color-primary-light); }
.teacher-ov-top--amber { background: var(--color-accent-light); }

.teacher-ov-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.teacher-ov-top--teal .teacher-ov-avatar { color: var(--color-secondary); }
.teacher-ov-top--blue .teacher-ov-avatar { color: var(--color-primary); }
.teacher-ov-top--amber .teacher-ov-avatar { color: var(--color-accent); }

.teacher-ov-freq {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.625rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--color-text-muted);
}

.teacher-ov-body {
  padding: 1.5rem;
}

.teacher-ov-body h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.teacher-ov-role {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.875rem;
}

.teacher-ov-desc {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.75;
}

.teacher-ov-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

/* Pricing Teaser */
.pricing-teaser {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.pricing-teaser-card {
  flex: 1;
  max-width: 260px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  text-align: center;
  position: relative;
  transition: box-shadow var(--transition);
}

.pricing-teaser-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.pricing-teaser-card--featured {
  border: 2px solid var(--color-primary);
}

.pricing-teaser-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.75rem;
  border-radius: 4px;
}

.pricing-teaser-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-light);
  margin-bottom: 0.375rem;
}

.pricing-teaser-price {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.pricing-teaser-price--free {
  color: var(--color-secondary);
}

.pricing-teaser-price--purple {
  color: #534AB7;
}

.pricing-teaser-card p {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.pricing-teaser-divider {
  color: var(--color-border);
  font-size: 0.875rem;
  flex-shrink: 0;
}

.pricing-teaser-note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-top: 1.5rem;
  line-height: 1.65;
}

/* Limited Slots Banner */
.limited-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  padding: 2.5rem 2rem;
  background: var(--color-accent-light);
  border: 1px solid #EFD5A0;
  border-radius: 14px;
  max-width: 680px;
  margin: 0 auto;
  box-shadow: 0 0 0 0 rgba(239, 159, 39, 0.35);
  animation: limited-pulse 2.5s ease-in-out infinite;
}

@keyframes limited-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 159, 39, 0.35); }
  50% { box-shadow: 0 0 0 8px rgba(239, 159, 39, 0); }
}

.limited-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #EFD5A0;
  color: #85600A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.limited-content h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #633806;
  margin-bottom: 0.625rem;
}

.limited-content p {
  font-size: 0.9375rem;
  color: #854F0B;
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.limited-note {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #85600A;
}

/* CTA Closing */
.cta-closing {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(15, 110, 86, 0.15);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-closing p {
  font-size: 0.875rem;
  color: var(--color-secondary);
  line-height: 1.8;
  margin-bottom: 0;
}

.cta-closing-small {
  margin-top: 0.75rem !important;
  font-weight: 600;
}

/* Reviews Carousel */
.review-carousel-wrap {
  position: relative;
  overflow: hidden;
  padding: 0 0 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.review-carousel-wrap::before,
.review-carousel-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.review-carousel-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--color-bg-light) 0%, transparent 100%);
}

.review-carousel-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--color-bg-light) 0%, transparent 100%);
}

.review-carousel {
  display: flex;
  gap: 0.875rem;
  animation: review-scroll 35s linear infinite;
  width: max-content;
  padding: 0.5rem 0;
}

.review-carousel:hover {
  animation-play-state: paused;
}

@keyframes review-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.review-slide {
  flex-shrink: 0;
  width: 300px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1.5rem;
}

.review-slide .stars {
  color: var(--color-accent);
  font-size: 0.8125rem;
  margin-bottom: 0.75rem;
  letter-spacing: 2px;
}

.review-slide blockquote {
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 0.875rem;
}

.review-slide cite {
  font-style: normal;
  font-size: 0.75rem;
  color: var(--color-text-light);
}

/* Responsive - Pricing & Limited */
@media (max-width: 768px) {
  .pricing-teaser {
    flex-direction: column;
    gap: 1rem;
  }

  .pricing-teaser-card {
    max-width: 100%;
    width: 100%;
  }

  .pricing-teaser-divider {
    transform: rotate(90deg);
  }

  .limited-banner {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 3rem);
    padding-bottom: 3rem;
  }

  .hero-inner {
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-desc {
    font-size: 1rem;
  }

  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .teacher-overview {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .worry-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .worry-left {
    position: static;
    text-align: center;
  }

  .worry-left .section-title {
    font-size: 1.625rem;
    text-align: center !important;
  }

  .worry-closing {
    text-align: center;
  }

  .teacher-overview {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .teacher-ov-actions {
    flex-direction: column;
  }

  .review-slide {
    width: 260px;
  }

  .review-carousel-wrap::before,
  .review-carousel-wrap::after {
    width: 40px;
  }

  .cta-section h2 {
    font-size: 1.5rem;
  }
}
