/* ================================================================
   LACUNA ASTRO — Courses Page Styles
   Depends on: assets/css/style.css
================================================================ */

/* ── Footer (courses simple version) ── */
footer { padding: 40px 6% 24px; text-align: center; }

/* ── Price range tag ── */
.price-range {
  display: inline-block; background: rgba(232,201,106,.1);
  border: 1px solid rgba(232,201,106,.25); border-radius: 20px;
  padding: 10px 28px; color: var(--gold); font-weight: 600; font-size: 1.05rem;
}

/* ── Level filter bar ── */
.filter-bar {
  position: relative; z-index: 1;
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
  padding: 40px 6% 0;
}
.filter-btn {
  background: rgba(28,21,50,.8); border: 1px solid rgba(196,168,245,.15);
  color: var(--muted); padding: 9px 22px; border-radius: 30px;
  cursor: pointer; font-family: 'Raleway', sans-serif; font-size: .85rem;
  transition: all .2s; letter-spacing: .5px;
}
.filter-btn:hover, .filter-btn.active {
  background: rgba(108,63,197,.25); border-color: rgba(196,168,245,.4); color: var(--lavender);
}

/* ── Courses grid ── */
.courses-section {
  position: relative; z-index: 1;
  padding: 60px 6% 100px;
  max-width: 1280px; margin: 0 auto;
}
.courses-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px;
}

/* ── Course card ── */
.course-card {
  background: linear-gradient(160deg, rgba(28,21,50,.95), rgba(15,11,28,.95));
  border: 1px solid rgba(196,168,245,.12);
  border-radius: 24px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.course-card:hover {
  transform: translateY(-8px);
  border-color: rgba(196,168,245,.3);
  box-shadow: 0 20px 60px rgba(108,63,197,.25);
}
.course-banner {
  height: 160px; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
}
.course-banner::before { content: ''; position: absolute; inset: 0; background: inherit; filter: blur(0); }
.course-badge {
  position: absolute; top: 14px; right: 14px;
  background: var(--gold); color: #0a0612;
  font-size: .65rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 4px 12px; border-radius: 20px;
}
.course-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.course-tag {
  display: inline-block; font-size: .7rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--violet); background: rgba(108,63,197,.15);
  border: 1px solid rgba(155,89,232,.25); padding: 4px 12px; border-radius: 20px;
  margin-bottom: 14px;
}
.course-title { font-family: 'Cinzel', serif; font-size: 1.2rem; color: var(--white); margin-bottom: 10px; }
.course-desc { color: var(--muted); font-size: .88rem; margin-bottom: 20px; flex: 1; }
.course-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.course-meta-item { font-size: .8rem; color: var(--muted); }
.course-meta-item strong { display: block; color: var(--lavender); font-size: .85rem; }
.course-level { display: flex; gap: 4px; }
.level-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(196,168,245,.2); }
.level-dot.filled { background: var(--violet); }
.course-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 18px; border-top: 1px solid rgba(196,168,245,.1);
}
.course-price { font-family: 'Cinzel', serif; font-size: 1.6rem; font-weight: 700; color: var(--gold); }
.course-price small { font-size: .75rem; color: var(--muted); font-family: 'Raleway', sans-serif; font-weight: 400; }
.course-old-price { font-size: .8rem; color: var(--muted); text-decoration: line-through; margin-left: 4px; }

/* ── Enroll buttons ── */
.btn-buy {
  background: linear-gradient(135deg, var(--purple), var(--violet));
  color: #fff; padding: 11px 22px; border-radius: 30px;
  text-decoration: none; font-weight: 600; font-size: .85rem;
  box-shadow: 0 0 20px rgba(108,63,197,.35);
  transition: all .2s; white-space: nowrap;
}
.btn-buy:hover { box-shadow: 0 0 40px rgba(108,63,197,.6); transform: translateY(-2px); }
.btn-buy-gold { background: linear-gradient(135deg, #c9973a, var(--gold)); color: #0a0612; }

/* ── Bundle ── */
.bundle-section { position: relative; z-index: 1; padding: 0 6% 100px; }
.bundle-card {
  max-width: 900px; margin: 0 auto;
  background: linear-gradient(135deg, rgba(108,63,197,.25), rgba(155,89,232,.1));
  border: 1px solid rgba(196,168,245,.3); border-radius: 28px;
  padding: 60px; text-align: center;
  box-shadow: 0 0 80px rgba(108,63,197,.2);
}
.bundle-card h2 { font-family: 'Cinzel', serif; font-size: clamp(1.6rem, 3.5vw, 2.5rem); color: var(--white); margin-bottom: 14px; }
.bundle-card p { color: var(--muted); max-width: 540px; margin: 0 auto 32px; }
.bundle-includes { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.bundle-pill {
  background: rgba(255,255,255,.05); border: 1px solid rgba(196,168,245,.2);
  color: var(--lavender); padding: 7px 18px; border-radius: 20px; font-size: .82rem;
}
.bundle-price-row { display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: 32px; }
.bundle-price {
  font-family: 'Cinzel', serif; font-size: 3rem; font-weight: 700;
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.bundle-was { color: var(--muted); text-decoration: line-through; font-size: 1.2rem; }
.bundle-save {
  background: rgba(37,211,102,.15); border: 1px solid rgba(37,211,102,.3);
  color: #25d366; padding: 6px 16px; border-radius: 20px; font-size: .85rem; font-weight: 600;
}
.btn-bundle {
  display: inline-block;
  background: linear-gradient(135deg, #c9973a, var(--gold));
  color: #0a0612; padding: 16px 48px; border-radius: 50px;
  text-decoration: none; font-weight: 700; font-size: 1.05rem; letter-spacing: .5px;
  box-shadow: 0 0 40px rgba(232,201,106,.35); transition: all .2s;
}
.btn-bundle:hover { transform: translateY(-3px); box-shadow: 0 0 60px rgba(232,201,106,.5); }

/* ── How it works ── */
.how-section { position: relative; z-index: 1; padding: 0 6% 100px; text-align: center; }
.steps-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px; margin-top: 60px; max-width: 900px; margin-left: auto; margin-right: auto;
}
.step-card {
  background: rgba(28,21,50,.5); border: 1px solid rgba(196,168,245,.1);
  border-radius: 20px; padding: 36px 24px;
}
.step-num { font-family: 'Cinzel', serif; font-size: 2.5rem; font-weight: 700; color: rgba(196,168,245,.2); margin-bottom: 12px; }
.step-icon { font-size: 2rem; margin-bottom: 10px; display: block; }
.step-card h3 { font-family: 'Cinzel', serif; font-size: 1rem; color: var(--lavender); margin-bottom: 8px; }
.step-card p { color: var(--muted); font-size: .85rem; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .bundle-card { padding: 36px 24px; }
  .bundle-price-row { flex-direction: column; gap: 10px; }
}
