﻿* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(34, 197, 94, 0.16), transparent 30rem),
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.18), transparent 34rem),
    linear-gradient(180deg, #06111f, #0b1728);
  color: #f8fafc;
}

a {
  color: inherit;
}

.page {
  min-height: 100vh;
  padding: 28px 18px 72px;
}

.container {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 38px;
  padding: 18px;
  border-radius: 28px;
  background: rgba(248, 250, 252, 0.97);
  color: #07111f;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #07111f;
  color: white;
  font-weight: 950;
  font-size: 22px;
}

.brand strong {
  display: block;
  font-size: 1.08rem;
}

.brand span {
  display: block;
  color: #475569;
  font-size: 0.82rem;
  font-weight: 800;
}

.top-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.top-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #ffffff;
  color: #07111f;
  font-weight: 900;
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 28px;
  align-items: center;
}

.badge {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 10px 16px;
  border: 1px solid rgba(134, 239, 172, 0.26);
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  color: #86efac;
  font-size: 0.86rem;
  font-weight: 950;
}

h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.7rem, 5vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.08em;
}

.hero-copy p {
  margin: 22px 0 0;
  color: #dbeafe;
  font-size: 1.08rem;
  line-height: 1.8;
  max-width: 720px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-btn,
.secondary-btn,
.lesson-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 950;
  text-decoration: none;
}

.primary-btn {
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(22, 163, 74, 0.25);
}

.secondary-btn {
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.course-card,
.panel,
.lesson-card,
.price-card,
.path-card,
.promise-card {
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.14), transparent 22rem),
    rgba(15, 23, 42, 0.84);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.course-card {
  padding: 28px;
}

.course-card h2,
.panel h2,
.lesson-card h3,
.price-card h3,
.path-card h3,
.promise-card h3 {
  margin: 0;
  color: #ffffff;
  letter-spacing: -0.045em;
}

.course-card h2,
.panel h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.course-stats {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.course-stat {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(134, 239, 172, 0.18);
}

.course-stat strong {
  display: block;
  color: #86efac;
  font-size: 0.92rem;
}

.course-stat span {
  display: block;
  margin-top: 6px;
  color: #cbd5e1;
  line-height: 1.55;
}

.section {
  margin-top: 34px;
}

.panel {
  padding: 28px;
}

.panel p,
.lesson-card p,
.price-card p,
.path-card p,
.promise-card p {
  color: #cbd5e1;
  line-height: 1.8;
}

.panel ul,
.panel ol {
  margin: 16px 0 0;
  padding-left: 22px;
  color: #cbd5e1;
  line-height: 1.85;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.lesson-card,
.price-card,
.path-card,
.promise-card {
  display: block;
  padding: 24px;
  color: #ffffff;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.lesson-card:hover,
.price-card:hover,
.path-card:hover {
  transform: translateY(-4px);
  border-color: rgba(134, 239, 172, 0.48);
  box-shadow:
    0 30px 85px rgba(0, 0, 0, 0.34),
    0 0 0 4px rgba(34, 197, 94, 0.08);
}

.lesson-card span,
.price-card span,
.path-card span,
.promise-card span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(134, 239, 172, 0.18);
  color: #86efac;
  font-size: 0.8rem;
  font-weight: 950;
}

.lesson-card strong,
.price-card strong,
.path-card strong {
  display: inline-flex;
  margin-top: 12px;
  color: #bfdbfe;
}

.highlight-box {
  padding: 24px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(34, 197, 94, 0.18), transparent 24rem),
    #020617;
  border: 1px solid rgba(134, 239, 172, 0.25);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.25);
}

.highlight-box h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.8rem, 3vw, 3rem);
  letter-spacing: -0.055em;
}

.highlight-box p {
  color: #dbeafe;
  line-height: 1.8;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.related-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.16);
  color: #bfdbfe;
  border: 1px solid rgba(147, 197, 253, 0.25);
  text-decoration: none;
  font-weight: 900;
}

.lesson-content {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 20px;
  align-items: start;
}

.lesson-sidebar {
  position: sticky;
  top: 24px;
}

.checklist li {
  margin-bottom: 8px;
}

details {
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.82);
  padding: 18px;
  margin-top: 12px;
}

summary {
  cursor: pointer;
  color: #ffffff;
  font-weight: 950;
}

details p {
  color: #cbd5e1;
  line-height: 1.75;
}

@media (max-width: 900px) {
  .hero,
  .grid-2,
  .grid-3,
  .lesson-content {
    grid-template-columns: 1fr;
  }

  .lesson-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .page {
    padding: 18px 14px 54px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    border-radius: 24px;
  }

  .top-links,
  .hero-actions a {
    width: 100%;
  }

  .top-links a {
    flex: 1 1 auto;
  }

  .panel,
  .course-card,
  .lesson-card,
  .price-card,
  .path-card,
  .promise-card,
  .highlight-box {
    padding: 22px;
    border-radius: 24px;
  }
}

/* Beginner course clickable polish */

.lesson-card,
.price-card,
.path-card,
.related-links a,
.primary-btn,
.secondary-btn {
  cursor: pointer !important;
}

.lesson-card,
.price-card,
.path-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(134, 239, 172, 0.28) !important;
}

.lesson-card::after,
.price-card::after,
.path-card::after {
  content: "Open →";
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 950;
  box-shadow: 0 14px 34px rgba(22, 163, 74, 0.24);
}

.lesson-card:hover::after,
.price-card:hover::after,
.path-card:hover::after {
  background: linear-gradient(135deg, #22c55e, #38bdf8);
}

.lesson-card h3,
.price-card h3,
.path-card h3 {
  padding-right: 64px;
}

.related-links {
  align-items: center;
}

.related-links a {
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.related-links a:hover {
  transform: translateY(-3px);
  border-color: rgba(134, 239, 172, 0.5);
  box-shadow: 0 18px 42px rgba(34, 197, 94, 0.16);
}

.related-links a.full-course-button,
.full-course-button {
  background: linear-gradient(135deg, #16a34a, #22c55e) !important;
  color: #ffffff !important;
  border-color: rgba(134, 239, 172, 0.55) !important;
  box-shadow: 0 16px 36px rgba(22, 163, 74, 0.25) !important;
}

.related-links a.full-course-button::after {
  content: " →";
}

@media (max-width: 640px) {
  .lesson-card::after,
  .price-card::after,
  .path-card::after {
    position: static;
    width: fit-content;
    margin-top: 18px;
  }

  .lesson-card h3,
  .price-card h3,
  .path-card h3 {
    padding-right: 0;
  }

  .related-links a {
    width: 100%;
  }
}

/* Stronger course module CTA polish */

.lesson-card::after,
.price-card::after,
.path-card::after {
  display: none !important;
}

.lesson-card {
  cursor: pointer !important;
  min-height: 290px;
  display: flex !important;
  flex-direction: column !important;
  border-color: rgba(134, 239, 172, 0.3) !important;
}

.lesson-card h3 {
  padding-right: 0 !important;
}

.lesson-card p {
  margin-bottom: 18px;
}

.lesson-card strong {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 46px;
  margin-top: auto !important;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: #ffffff !important;
  font-weight: 950;
  box-shadow: 0 16px 36px rgba(22, 163, 74, 0.25);
}

.lesson-card:hover strong {
  background: linear-gradient(135deg, #22c55e, #38bdf8);
}

.lesson-card:hover {
  transform: translateY(-5px);
  border-color: rgba(134, 239, 172, 0.58) !important;
  box-shadow:
    0 32px 90px rgba(0, 0, 0, 0.34),
    0 0 0 4px rgba(34, 197, 94, 0.08) !important;
}

.full-course-strip {
  margin-top: 22px;
  padding: 24px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(34, 197, 94, 0.18), transparent 24rem),
    #020617;
  border: 1px solid rgba(134, 239, 172, 0.28);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.full-course-strip h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  letter-spacing: -0.04em;
}

.full-course-strip p {
  margin: 8px 0 0;
  color: #cbd5e1;
  line-height: 1.6;
}

.full-course-strip a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: #ffffff;
  text-decoration: none;
  font-weight: 950;
  box-shadow: 0 18px 40px rgba(22, 163, 74, 0.25);
}

.full-course-strip a:hover {
  background: linear-gradient(135deg, #22c55e, #38bdf8);
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .lesson-card {
    min-height: auto;
  }

  .lesson-card strong,
  .full-course-strip a {
    width: 100%;
  }
}
