/* ============================================================
   DECODE MINDSET — Homepage styles
   ============================================================ */

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
  background: var(--ink);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .45;
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: var(--violet);
  top: -120px;
  right: -100px;
}

.hero-orb-2 {
  width: 350px;
  height: 350px;
  background: var(--gold);
  bottom: -80px;
  left: -60px;
  opacity: .25;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero-inner {
  position: relative;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.hero-eyebrow {
  margin-bottom: 24px;
}

.hero-headline {
  color: #fff;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.5px;
}

.hero-highlight {
  background: linear-gradient(135deg, var(--gold) 0%, #ff9500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  color: rgba(255,255,255,.72);
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 560px;
  margin: 24px auto 0;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 36px;
}

.hero-actions .btn-ghost {
  color: rgba(255,255,255,.85);
  border-color: rgba(255,255,255,.2);
}
.hero-actions .btn-ghost:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
}

.hero-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.1);
  flex-wrap: wrap;
}

.proof-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.proof-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.proof-label {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  font-weight: 500;
}

.proof-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.12);
}

/* ── Section base ─────────────────────────────────────────── */
.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--surface-2);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}

.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 12px;
}

.section-sub {
  font-size: 17px;
  color: var(--ink-soft);
  margin-top: 12px;
  line-height: 1.65;
}

/* ── How it works ─────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--violet);
}

.step-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 14.5px;
  line-height: 1.65;
}

/* ── Courses grid ─────────────────────────────────────────── */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.course-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--violet);
}

.course-coming-soon {
  opacity: .75;
}

.course-cover {
  height: 200px;
  background: var(--violet-light);
  position: relative;
  overflow: hidden;
}

.course-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-cover-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--violet-light), #ddd5ff);
  font-size: 40px;
  color: var(--violet);
}

.course-badge-overlay {
  position: absolute;
  top: 14px;
  right: 14px;
}

.course-body {
  padding: 24px;
}

.course-title {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.course-tagline {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.course-pricing {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.price-original {
  font-size: 15px;
  color: var(--ink-soft);
  text-decoration: line-through;
}

.price-current {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--violet);
}

.course-skeleton {
  height: 380px;
  background: linear-gradient(90deg, var(--border) 25%, #f0eeff 50%, var(--border) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: var(--radius-lg);
}

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── About ────────────────────────────────────────────────── */
.about-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 72px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(145deg, var(--violet-light), #ddd5ff);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--violet);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  line-height: 1.5;
}

.about-badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-lg);
}

.about-content p {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--ink-mid);
}

/* ── CTA section ──────────────────────────────────────────── */
.cta-section {
  background: var(--ink);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.cta-inner {
  text-align: center;
  position: relative;
}

.cta-orb {
  position: absolute;
  width: 600px;
  height: 600px;
  background: var(--violet);
  border-radius: 50%;
  filter: blur(120px);
  opacity: .3;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  padding-bottom: 48px;
}

.footer-links {
  display: flex;
  gap: 48px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 14px;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color .15s;
}

.footer-col a:hover { color: var(--violet); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  font-size: 13px;
  color: var(--ink-soft);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .about-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-image-placeholder { aspect-ratio: 4/3; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  .hero { padding: 72px 0 60px; }
  .proof-divider { display: none; }
  .hero-proof { gap: 24px; }
  .section { padding: 64px 0; }
  .footer-links { flex-wrap: wrap; gap: 32px; }
}
