/* ==========================================================
   home.css — BEELESSON Public Landing Page
   Page-specific: hero, promo videos, reviews
   (Shared/base styles live in global.css)
   ========================================================== */

/* ================= HERO ================= */
.hero-section {
  position: relative;
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f9fafb;
  background-color: #020617;
  background-size: cover;
  background-position: 35% 25%;
  background-repeat: no-repeat;
}

/* 모바일에서는 이미지가 더 많이 보이도록 contain 사용 */
@media (max-width: 768px) {
  .hero-section {
    background-size: contain;
    background-position: top center;
    background-repeat: no-repeat;
  }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}
.hero-kicker {
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #d1fae5;
  margin-bottom: 0.8rem;
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3rem);
  line-height: 1.15;
  font-weight: 800;
  margin: 0 0 1rem;
}
.hero-subtitle {
  max-width: 32rem;
  font-size: 1rem;
  color: #e5e7eb;
  margin-bottom: 1.5rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.8rem;
}
.hero-cta {
  min-width: 160px;
}
.hero-cta-secondary {
  color: #e5e7eb;
}

/* Hero stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 28rem;
}
.stat-item {
  padding: 0.7rem 0.75rem;
  border-radius: 0.75rem;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.3);
  backdrop-filter: blur(8px);
}
.stat-label {
  font-size: 0.75rem;
  color: #cbd5e1;
  margin-bottom: 0.25rem;
}
.stat-value {
  font-size: 1.1rem;
  font-weight: 700;
}

/* ================= PROMO SECTION ================= */
.promo-section {
  position: relative;
}
.promo-list {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
}
.promo-list::-webkit-scrollbar {
  height: 6px;
}
.promo-list::-webkit-scrollbar-track {
  background: transparent;
}
.promo-list::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.6);
  border-radius: 999px;
}

.promo-card {
  flex: 0 0 95%;          /* 모바일에서 화면 대부분 차지 */
  max-width: 520px;       /* 카드 자체도 더 넓게 */
  scroll-snap-align: start;
  background-color: var(--card-bg);
  border-radius: 1rem;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .promo-card {
    flex: 0 0 420px;      /* 태블릿 이상에서 더 넓게 */
  }
}

@media (min-width: 1024px) {
  .promo-card {
    flex: 0 0 480px;      /* 데스크탑에서 한 카드가 더 눈에 띄게 */
  }
}


.promo-video-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background-color: #020617;
}
.promo-video-inner {
  position: absolute;
  inset: 0;
}
.promo-body {
  padding: 0.85rem 1rem 1rem;
}
.promo-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.promo-meta {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-bottom: 0.25rem;
}
.promo-desc {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 0.6rem;
}
.promo-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem;
}
.promo-rating {
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.promo-rating-stars {
  color: #fcbf49;
  margin-right: 0.25rem;
}
.promo-link {
  font-size: 0.85rem;
  color: var(--accent);
  text-decoration: none;
}
.promo-link:hover {
  text-decoration: underline;
}

/* ================= REVIEWS SECTION ================= */
.reviews-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}
@media (min-width: 640px) {
  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.review-card {
  background-color: var(--card-bg);
  border-radius: 1rem;
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
  padding: 0.85rem 0.9rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  cursor: pointer;
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out,
    border-color 0.12s ease-out;
}
.review-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.16);
  border-color: var(--accent-soft);
}
.review-header {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: baseline;
}
.review-course {
  font-size: 0.85rem;
  font-weight: 600;
}
.review-nickname {
  font-size: 0.8rem;
  color: var(--ink-soft);
}
.review-rating {
  font-size: 0.8rem;
  color: #f59e0b;
  white-space: nowrap;
}
.review-body {
  font-size: 0.9rem;
  color: var(--ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.review-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--ink-soft);
}

.promo-free-badge {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.1rem 0.4rem;
  border-radius: 9999px;
  background-color: #facc15; /* yellow-ish */
  color: #111827;
  vertical-align: middle;
}

.promo-free-tag {
  margin-left: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #22c55e; /* green-ish */
}

.review-see-course {
  cursor: pointer;
  font-weight: 500;
}
.review-see-course:hover {
  text-decoration: underline;
}

/* ================= LANDING CTA SECTION ================= */
.landing-cta-section {
  padding: 4rem 0 4.5rem;
  text-align: center;
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.18), transparent 55%),
              radial-gradient(circle at bottom, rgba(244, 244, 245, 0.8), transparent 60%);
}

.landing-cta-eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 0.75rem;
}

.landing-cta-text {
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.5;
  font-weight: 800;
  color: #111827;
  margin-bottom: 1.8rem;
}

.landing-cta-text br {
  display: none;
}

@media (min-width: 640px) {
  .landing-cta-text br {
    display: inline;
  }
}

.landing-cta-highlight {
  background: linear-gradient(120deg, #facc15, #f97316);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding: 0 0.1em;
}

.landing-cta-highlight-alt {
  background: linear-gradient(120deg, #38bdf8, #22c55e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding: 0 0.1em;
}

.landing-cta-button {
  padding-inline: 2.5rem;
  padding-block: 0.9rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 999px;
}

