:root {
 --rose: #e8a0b8;
 --rose-dark: #c97896;
 --rose-light: #fdf2f6;
 --gold: #c9a87c;
 --gold-light: #f5ebe0;
 --charcoal: #2d2a32;
 --gray: #6b6570;
 --gray-light: #f7f5f8;
 --white: #ffffff;
 --shadow: 0 4px 24px rgba(45, 42, 50, 0.08);
 --shadow-lg: 0 12px 48px rgba(45, 42, 50, 0.12);
 --radius: 16px;
 --radius-sm: 10px;
 --font-display: "Cormorant Garamond", Georgia, serif;
 --font-body: "Outfit", system-ui, sans-serif;
 --transition: 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
 font-family: var(--font-body);
 color: var(--charcoal);
 background: var(--gray-light);
 line-height: 1.6;
 min-height: 100vh;
}

img, video { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea {
 font-family: inherit;
 font-size: inherit;
}

/* ── Header ── */
.header {
 position: sticky;
 top: 0;
 z-index: 100;
 background: rgba(255, 255, 255, 0.92);
 backdrop-filter: blur(12px);
 border-bottom: 1px solid rgba(232, 160, 184, 0.2);
}

.header__inner {
 max-width: var(--width-content, 1100px);
 margin: 0 auto;
 padding: 1rem var(--content-pad, 1.25rem);
 box-sizing: border-box;
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 1rem;
}

.logo {
 font-family: var(--font-display);
 font-size: 1.75rem;
 font-weight: 600;
 letter-spacing: 0.02em;
 color: var(--charcoal);
}

.logo span { color: var(--rose-dark); }

.nav {
 display: flex;
 align-items: center;
 gap: 2rem;
}

.nav__link {
 font-size: 0.95rem;
 font-weight: 500;
 color: var(--gray);
 transition: color var(--transition);
 cursor: pointer;
 background: none;
 border: none;
}

.nav__link:hover,
.nav__link.active { color: var(--rose-dark); }

.header__actions {
 display: flex;
 align-items: center;
 gap: 0.75rem;
}

.cart-btn {
 position: relative;
 background: var(--rose-light);
 border: none;
 width: 44px;
 height: 44px;
 border-radius: 50%;
 cursor: pointer;
 display: flex;
 align-items: center;
 justify-content: center;
 transition: background var(--transition);
}

.cart-btn:hover { background: var(--rose); color: white; }

.cart-btn svg { width: 20px; height: 20px; }

.cart-badge {
 position: absolute;
 top: -4px;
 right: -4px;
 background: var(--rose-dark);
 color: white;
 font-size: 0.7rem;
 font-weight: 700;
 width: 20px;
 height: 20px;
 border-radius: 50%;
 display: flex;
 align-items: center;
 justify-content: center;
}

.cart-badge.hidden { display: none; }

.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 gap: 0.5rem;
 padding: 0.75rem 1.5rem;
 border-radius: 999px;
 font-weight: 600;
 font-size: 0.95rem;
 border: none;
 cursor: pointer;
 transition: all var(--transition);
}

.btn--primary {
 background: linear-gradient(135deg, var(--rose-dark), var(--rose));
 color: white;
 box-shadow: 0 4px 16px rgba(201, 120, 150, 0.35);
}

.btn--primary:hover {
 transform: translateY(-2px);
 box-shadow: 0 6px 24px rgba(201, 120, 150, 0.45);
}

.btn--secondary {
 background: white;
 color: var(--charcoal);
 border: 2px solid var(--rose);
}

.btn--secondary:hover {
 background: var(--rose-light);
}

.btn--gold {
 background: linear-gradient(135deg, var(--gold), #dbb896);
 color: white;
}

.btn--outline {
 background: transparent;
 border: 2px solid var(--charcoal);
 color: var(--charcoal);
}

.btn--outline:hover {
 background: var(--charcoal);
 color: white;
}

.btn--lg { padding: 1rem 2rem; font-size: 1.05rem; }

.btn--block { width: 100%; }

.btn:disabled {
 opacity: 0.5;
 cursor: not-allowed;
 transform: none !important;
}

/* ── Views ── */
.view { display: none; animation: fadeIn 0.4s ease; }
.view.active { display: block; }

@keyframes fadeIn {
 from { opacity: 0; transform: translateY(8px); }
 to { opacity: 1; transform: translateY(0); }
}

.container {
 max-width: var(--width-content, 1100px);
 margin: 0 auto;
 padding: 0 var(--content-pad, 1.25rem);
 box-sizing: border-box;
}

.section { padding: 2.75rem 0; }

.section__title {
 font-family: var(--font-display);
 font-size: 2.5rem;
 font-weight: 600;
 text-align: center;
 margin-bottom: 0.5rem;
}

.section__subtitle {
 text-align: center;
 color: var(--gray);
 margin-bottom: 2rem;
 max-width: 560px;
 margin-left: auto;
 margin-right: auto;
}

/* ── Hero ── */
.hero {
 background: linear-gradient(135deg, var(--rose-light) 0%, var(--gold-light) 50%, var(--rose-light) 100%);
 padding: 3rem 0;
 overflow: hidden;
}

.hero__grid {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 3rem;
 align-items: center;
}

.hero__badge {
 display: inline-block;
 background: white;
 color: var(--rose-dark);
 font-size: 0.8rem;
 font-weight: 700;
 text-transform: uppercase;
 letter-spacing: 0.1em;
 padding: 0.4rem 1rem;
 border-radius: 999px;
 margin-bottom: 1.25rem;
}

.hero__title {
 font-family: var(--font-display);
 font-size: 3.5rem;
 font-weight: 600;
 line-height: 1.15;
 margin-bottom: 1.25rem;
}

.hero__title em {
 font-style: italic;
 color: var(--rose-dark);
}

.hero__text {
 color: var(--gray);
 font-size: 1.1rem;
 margin-bottom: 2rem;
 max-width: 480px;
}

.hero__actions {
 display: flex;
 gap: 1rem;
 flex-wrap: wrap;
}

.hero__stats {
 display: flex;
 gap: 2.5rem;
 margin-top: 2.5rem;
 padding-top: 2rem;
 border-top: 1px solid rgba(201, 120, 150, 0.2);
}

.hero__stat strong {
 display: block;
 font-family: var(--font-display);
 font-size: 2rem;
 color: var(--rose-dark);
}

.hero__stat span {
 font-size: 0.85rem;
 color: var(--gray);
}

.hero__media {
 position: relative;
 border-radius: var(--radius);
 overflow: hidden;
 box-shadow: var(--shadow-lg);
 aspect-ratio: 4/5;
 background: linear-gradient(145deg, var(--rose), var(--gold));
}

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

.hero__media-fallback {
 width: 100%;
 height: 100%;
 display: flex;
 align-items: center;
 justify-content: center;
 font-family: var(--font-display);
 font-size: 1.5rem;
 color: white;
 text-align: center;
 padding: 2rem;
}

.hero__media img:not([src]),
.hero__media img[src=""] { display: none; }

.hero--centered {
 padding: 4.5rem 0 4rem;
 text-align: center;
}

.hero__content--centered {
 max-width: 720px;
 margin: 0 auto;
}

.hero__content--centered .hero__text {
 margin-left: auto;
 margin-right: auto;
}

.hero__content--centered .hero__actions {
 justify-content: center;
}

.hero__content--centered .hero__stats {
 justify-content: center;
}

/* ── Instructor Spotlight (subtle) ── */
.instructor-spotlight {
 padding: 3rem 0;
 background: white;
 border-top: 1px solid rgba(232, 160, 184, 0.15);
 border-bottom: 1px solid rgba(232, 160, 184, 0.15);
}

.instructor-spotlight__inner {
 display: flex;
 align-items: flex-start;
 gap: 2rem;
 max-width: 900px;
}

.instructor-spotlight__photo-wrap {
 flex-shrink: 0;
 width: 140px;
}

.instructor-spotlight__photo {
 width: 140px;
 height: 175px;
 object-fit: cover;
 object-position: center top;
 border-radius: var(--radius-sm);
 box-shadow: var(--shadow);
 border: 3px solid var(--rose-light);
}

.instructor-spotlight__label {
 display: inline-block;
 font-size: 0.75rem;
 font-weight: 700;
 text-transform: uppercase;
 letter-spacing: 0.08em;
 color: var(--rose-dark);
 margin-bottom: 0.35rem;
}

.instructor-spotlight__name {
 font-family: var(--font-display);
 font-size: 1.65rem;
 font-weight: 600;
 margin-bottom: 0.2rem;
 color: var(--charcoal);
}

.instructor-spotlight__title {
 font-size: 0.9rem;
 font-weight: 600;
 color: var(--gray);
 margin-bottom: 0.75rem;
}

.instructor-spotlight__tagline {
 font-family: var(--font-display);
 font-size: 1.05rem;
 font-style: italic;
 color: var(--rose-dark);
 margin-bottom: 0.75rem;
 line-height: 1.5;
}

.instructor-spotlight__bio {
 font-size: 0.92rem;
 color: var(--gray);
 line-height: 1.7;
 margin-bottom: 1rem;
}

.instructor-spotlight__highlights {
 list-style: none;
 display: flex;
 flex-wrap: wrap;
 gap: 0.4rem 1.25rem;
}

.instructor-spotlight__highlights li {
 font-size: 0.82rem;
 color: var(--gray);
 display: flex;
 align-items: center;
 gap: 0.35rem;
}

.instructor-spotlight__highlights li::before {
 content: "·";
 color: var(--rose);
 font-weight: 700;
}

/* ── Categories ── */
.categories {
 display: flex;
 gap: 1rem;
 flex-wrap: wrap;
 justify-content: center;
 margin-bottom: 2.5rem;
}

.category-pill {
 padding: 0.6rem 1.25rem;
 border-radius: 999px;
 border: 2px solid transparent;
 background: white;
 color: var(--gray);
 font-weight: 500;
 cursor: pointer;
 transition: all var(--transition);
}

.category-pill:hover,
.category-pill.active {
 border-color: var(--rose);
 color: var(--rose-dark);
 background: var(--rose-light);
}

/* ── Course Cards ── */
.courses-grid {
 display: grid;
 grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
 gap: 1.25rem;
}

.course-card {
 background: white;
 border-radius: var(--radius);
 overflow: hidden;
 box-shadow: var(--shadow);
 transition: transform var(--transition), box-shadow var(--transition);
 cursor: pointer;
}

.course-card:hover {
 transform: translateY(-6px);
 box-shadow: var(--shadow-lg);
}

.course-card__image {
 position: relative;
 aspect-ratio: 16/10;
 overflow: hidden;
 background: linear-gradient(135deg, var(--rose-light), var(--gold-light));
}

.course-card__image img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 transition: transform 0.5s ease;
}

.course-card:hover .course-card__image img { transform: scale(1.05); }

.course-card__badge {
 position: absolute;
 top: 1rem;
 left: 1rem;
 background: var(--rose-dark);
 color: white;
 font-size: 0.75rem;
 font-weight: 700;
 padding: 0.3rem 0.75rem;
 border-radius: 999px;
 text-transform: uppercase;
}

.course-card__body { padding: 1.5rem; }

.course-card__category {
 font-size: 0.8rem;
 color: var(--rose-dark);
 font-weight: 600;
 text-transform: uppercase;
 letter-spacing: 0.05em;
 margin-bottom: 0.5rem;
}

.course-card__title {
 font-family: var(--font-display);
 font-size: 1.4rem;
 font-weight: 600;
 margin-bottom: 0.5rem;
}

.course-card__title a {
 color: inherit;
 transition: color var(--transition);
}

.course-card__title a:hover {
 color: var(--rose-dark);
}

.course-card__desc {
 font-size: 0.9rem;
 color: var(--gray);
 margin-bottom: 1rem;
 display: -webkit-box;
 -webkit-line-clamp: 2;
 -webkit-box-orient: vertical;
 overflow: hidden;
}

.course-card__meta {
 display: flex;
 align-items: center;
 gap: 1rem;
 font-size: 0.85rem;
 color: var(--gray);
 margin-bottom: 1rem;
}

.course-card__footer {
 display: flex;
 align-items: center;
 justify-content: space-between;
 padding-top: 1rem;
 border-top: 1px solid var(--gray-light);
}

.course-card__price {
 font-family: var(--font-display);
 font-size: 1.5rem;
 font-weight: 700;
 color: var(--charcoal);
}

.course-card__price small {
 font-size: 0.85rem;
 font-weight: 400;
 color: var(--gray);
}

/* ── Course Detail ── */
.course-detail__back {
 display: inline-flex;
 align-items: center;
 gap: 0.5rem;
 color: var(--gray);
 font-weight: 500;
 margin: 2rem 0 1.5rem;
 cursor: pointer;
 background: none;
 border: none;
 transition: color var(--transition);
}

.course-detail__back:hover { color: var(--rose-dark); }

.course-detail__grid {
 display: grid;
 grid-template-columns: 1fr 380px;
 gap: 3rem;
 align-items: start;
 padding-bottom: 4rem;
}

.course-detail__video {
 border-radius: var(--radius);
 overflow: hidden;
 background: var(--charcoal);
 aspect-ratio: 16/9;
 margin-bottom: 2rem;
 box-shadow: var(--shadow-lg);
}

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

.course-detail__video-placeholder {
 width: 100%;
 height: 100%;
 display: flex;
 flex-direction: column;
 align-items: center;
 justify-content: center;
 color: white;
 gap: 1rem;
 background: linear-gradient(135deg, var(--charcoal), #4a4450);
}

.course-detail__video-placeholder svg {
 width: 64px;
 height: 64px;
 opacity: 0.6;
}

.course-detail__title {
 font-family: var(--font-display);
 font-size: 2.5rem;
 font-weight: 600;
 margin-bottom: 1rem;
}

.course-detail__instructor {
 display: flex;
 align-items: center;
 gap: 0.75rem;
 margin-bottom: 1.5rem;
 color: var(--gray);
}

.course-detail__instructor-avatar {
 width: 40px;
 height: 40px;
 border-radius: 50%;
 background: var(--rose);
 display: flex;
 align-items: center;
 justify-content: center;
 color: white;
 font-weight: 700;
}

.course-detail__rating {
 display: flex;
 align-items: center;
 gap: 0.5rem;
 margin-bottom: 1.5rem;
}

.stars { color: var(--gold); letter-spacing: 2px; }

.course-detail__desc {
 color: var(--gray);
 font-size: 1.05rem;
 margin-bottom: 2rem;
 line-height: 1.8;
}

.course-detail__learn h3,
.course-detail__curriculum h3 {
 font-family: var(--font-display);
 font-size: 1.5rem;
 margin-bottom: 1rem;
}

.learn-list {
 list-style: none;
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 0.75rem;
 margin-bottom: 2.5rem;
}

.learn-list li {
 display: flex;
 align-items: flex-start;
 gap: 0.5rem;
 font-size: 0.95rem;
}

.learn-list li::before {
 content: "✓";
 color: var(--rose-dark);
 font-weight: 700;
 flex-shrink: 0;
}

.curriculum {
 border: 1px solid rgba(232, 160, 184, 0.3);
 border-radius: var(--radius-sm);
 overflow: hidden;
}

.curriculum__module {
 border-bottom: 1px solid rgba(232, 160, 184, 0.2);
}

.curriculum__module:last-child { border-bottom: none; }

.curriculum__header {
 display: flex;
 align-items: center;
 justify-content: space-between;
 padding: 1rem 1.25rem;
 background: white;
 cursor: pointer;
 font-weight: 600;
 transition: background var(--transition);
}

.curriculum__header:hover { background: var(--rose-light); }

.curriculum__lessons {
 display: none;
 background: var(--gray-light);
}

.curriculum__module.open .curriculum__lessons { display: block; }

.curriculum__lesson {
 display: flex;
 align-items: center;
 justify-content: space-between;
 padding: 0.75rem 1.25rem 0.75rem 2rem;
 font-size: 0.9rem;
 color: var(--gray);
 border-top: 1px solid rgba(232, 160, 184, 0.15);
}

.curriculum__lesson span:last-child {
 font-size: 0.8rem;
 color: var(--rose-dark);
}

/* Sidebar purchase box */
.purchase-box {
 background: white;
 border-radius: var(--radius);
 padding: 2rem;
 box-shadow: var(--shadow-lg);
 position: sticky;
 top: 100px;
}

.purchase-box__price {
 font-family: var(--font-display);
 font-size: 2.5rem;
 font-weight: 700;
 margin-bottom: 0.25rem;
}

.purchase-box__original {
 text-decoration: line-through;
 color: var(--gray);
 font-size: 1.1rem;
 margin-bottom: 1.5rem;
}

.purchase-box__includes {
 list-style: none;
 margin: 1.5rem 0;
}

.purchase-box__includes li {
 display: flex;
 align-items: center;
 gap: 0.5rem;
 padding: 0.5rem 0;
 font-size: 0.9rem;
 color: var(--gray);
 border-bottom: 1px solid var(--gray-light);
}

.purchase-box__includes li::before {
 content: "✓";
 color: var(--rose-dark);
 font-weight: 700;
}

.purchase-box__guarantee {
 text-align: center;
 font-size: 0.85rem;
 color: var(--gray);
 margin-top: 1rem;
}

/* ── Cart ── */
.cart-page { padding: 3rem 0 5rem; }

.cart-page__title {
 font-family: var(--font-display);
 font-size: 2.5rem;
 margin-bottom: 2rem;
}

.cart-empty {
 text-align: center;
 padding: 4rem 2rem;
 background: white;
 border-radius: var(--radius);
}

.cart-empty svg {
 width: 80px;
 height: 80px;
 color: var(--rose);
 margin: 0 auto 1.5rem;
}

.cart-empty h3 {
 font-family: var(--font-display);
 font-size: 1.5rem;
 margin-bottom: 0.5rem;
}

.cart-empty p {
 color: var(--gray);
 margin-bottom: 1.5rem;
}

.cart-layout {
 display: grid;
 grid-template-columns: 1fr 380px;
 gap: 2rem;
 align-items: start;
}

.cart-items { display: flex; flex-direction: column; gap: 1rem; }

.cart-item {
 display: flex;
 gap: 1.5rem;
 background: white;
 padding: 1.5rem;
 border-radius: var(--radius);
 box-shadow: var(--shadow);
}

.cart-item__image {
 width: 140px;
 height: 90px;
 border-radius: var(--radius-sm);
 overflow: hidden;
 flex-shrink: 0;
 background: var(--rose-light);
}

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

.cart-item__info { flex: 1; }

.cart-item__title {
 font-family: var(--font-display);
 font-size: 1.2rem;
 margin-bottom: 0.25rem;
}

.cart-item__category {
 font-size: 0.8rem;
 color: var(--rose-dark);
 font-weight: 600;
 text-transform: uppercase;
}

.cart-item__price {
 font-weight: 700;
 font-size: 1.1rem;
 margin-top: 0.5rem;
}

.cart-item__remove {
 background: none;
 border: none;
 color: var(--gray);
 cursor: pointer;
 font-size: 0.85rem;
 margin-top: 0.5rem;
 transition: color var(--transition);
}

.cart-item__remove:hover { color: #e74c3c; }

.cart-summary {
 background: white;
 padding: 2rem;
 border-radius: var(--radius);
 box-shadow: var(--shadow-lg);
 position: sticky;
 top: 100px;
}

.cart-summary h3 {
 font-family: var(--font-display);
 font-size: 1.3rem;
 margin-bottom: 1.5rem;
}

.summary-row {
 display: flex;
 justify-content: space-between;
 padding: 0.5rem 0;
 font-size: 0.95rem;
 color: var(--gray);
}

.summary-row.total {
 font-size: 1.2rem;
 font-weight: 700;
 color: var(--charcoal);
 border-top: 2px solid var(--gray-light);
 margin-top: 0.5rem;
 padding-top: 1rem;
}

.promo-input {
 display: flex;
 gap: 0.5rem;
 margin: 1rem 0;
}

.promo-input input {
 flex: 1;
 padding: 0.75rem 1rem;
 border: 2px solid var(--gray-light);
 border-radius: var(--radius-sm);
 outline: none;
 transition: border-color var(--transition);
}

.promo-input input:focus { border-color: var(--rose); }

/* ── Checkout ── */
.checkout-steps {
 display: flex;
 align-items: center;
 justify-content: center;
 gap: 0;
 margin-bottom: 3rem;
}

.checkout-step {
 display: flex;
 align-items: center;
 gap: 0.5rem;
 color: var(--gray);
 font-size: 0.9rem;
 font-weight: 500;
}

.checkout-step__num {
 width: 32px;
 height: 32px;
 border-radius: 50%;
 border: 2px solid var(--gray-light);
 display: flex;
 align-items: center;
 justify-content: center;
 font-weight: 700;
 font-size: 0.85rem;
}

.checkout-step.active .checkout-step__num,
.checkout-step.done .checkout-step__num {
 background: var(--rose-dark);
 border-color: var(--rose-dark);
 color: white;
}

.checkout-step.active { color: var(--charcoal); }

.checkout-step.done { color: var(--rose-dark); }

.checkout-step__line {
 width: 60px;
 height: 2px;
 background: var(--gray-light);
 margin: 0 0.75rem;
}

.checkout-step__line.done { background: var(--rose-dark); }

.checkout-layout {
 display: grid;
 grid-template-columns: 1fr 380px;
 gap: 2rem;
 align-items: start;
 padding-bottom: 4rem;
}

.checkout-form {
 background: white;
 padding: 2rem;
 border-radius: var(--radius);
 box-shadow: var(--shadow);
}

.checkout-form h3 {
 font-family: var(--font-display);
 font-size: 1.5rem;
 margin-bottom: 1.5rem;
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
 display: block;
 font-size: 0.85rem;
 font-weight: 600;
 margin-bottom: 0.4rem;
 color: var(--charcoal);
}

.form-group input,
.form-group select {
 width: 100%;
 padding: 0.85rem 1rem;
 border: 2px solid var(--gray-light);
 border-radius: var(--radius-sm);
 outline: none;
 transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus { border-color: var(--rose); }

.form-row {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 1rem;
}

.card-icons {
 display: flex;
 gap: 0.5rem;
 margin-top: 0.5rem;
}

.card-icon {
 padding: 0.25rem 0.5rem;
 background: var(--gray-light);
 border-radius: 4px;
 font-size: 0.7rem;
 font-weight: 700;
 color: var(--gray);
}

.secure-note {
 display: flex;
 align-items: center;
 gap: 0.5rem;
 font-size: 0.85rem;
 color: var(--gray);
 margin-top: 1rem;
}

.secure-note svg { width: 16px; height: 16px; color: #27ae60; }

/* ── Payment Processing ── */
.processing-overlay {
 position: fixed;
 inset: 0;
 background: rgba(45, 42, 50, 0.7);
 display: none;
 align-items: center;
 justify-content: center;
 z-index: 200;
}

.processing-overlay.active { display: flex; }

.processing-card {
 background: white;
 padding: 3rem;
 border-radius: var(--radius);
 text-align: center;
 max-width: 400px;
 width: 90%;
}

.spinner {
 width: 48px;
 height: 48px;
 border: 4px solid var(--rose-light);
 border-top-color: var(--rose-dark);
 border-radius: 50%;
 animation: spin 0.8s linear infinite;
 margin: 0 auto 1.5rem;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ── Success ── */
.success-page {
 text-align: center;
 padding: 5rem 2rem;
 max-width: 600px;
 margin: 0 auto;
}

.success-icon {
 width: 80px;
 height: 80px;
 background: linear-gradient(135deg, #27ae60, #2ecc71);
 border-radius: 50%;
 display: flex;
 align-items: center;
 justify-content: center;
 margin: 0 auto 2rem;
 color: white;
 font-size: 2.5rem;
}

.success-page h2 {
 font-family: var(--font-display);
 font-size: 2.5rem;
 margin-bottom: 1rem;
}

.success-page p {
 color: var(--gray);
 margin-bottom: 2rem;
 font-size: 1.05rem;
}

.order-details {
 background: white;
 padding: 1.5rem;
 border-radius: var(--radius);
 text-align: left;
 margin-bottom: 2rem;
 box-shadow: var(--shadow);
}

.order-details h4 {
 font-size: 0.85rem;
 text-transform: uppercase;
 letter-spacing: 0.05em;
 color: var(--gray);
 margin-bottom: 1rem;
}

.order-details p {
 margin-bottom: 0.5rem;
 font-size: 0.95rem;
 color: var(--charcoal);
}

/* ── My Courses ── */
.my-courses-grid {
 display: grid;
 grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
 gap: 2rem;
 padding-bottom: 4rem;
}

.my-course-card {
 background: white;
 border-radius: var(--radius);
 overflow: hidden;
 box-shadow: var(--shadow);
}

.my-course-card__banner {
 height: 8px;
 background: linear-gradient(90deg, var(--rose), var(--gold));
}

.my-course-card__body { padding: 1.5rem; }

.my-course-card__progress {
 margin: 1rem 0;
}

.progress-bar {
 height: 8px;
 background: var(--gray-light);
 border-radius: 999px;
 overflow: hidden;
}

.progress-bar__fill {
 height: 100%;
 background: linear-gradient(90deg, var(--rose-dark), var(--rose));
 border-radius: 999px;
 transition: width 0.5s ease;
}

.progress-label {
 display: flex;
 justify-content: space-between;
 font-size: 0.85rem;
 color: var(--gray);
 margin-bottom: 0.5rem;
}

.lesson-viewer {
 background: white;
 border-radius: var(--radius);
 overflow: hidden;
 box-shadow: var(--shadow-lg);
 margin-bottom: 2rem;
}

.lesson-viewer__video {
 aspect-ratio: 16/9;
 background: var(--charcoal);
}

.lesson-viewer__video video {
 width: 100%;
 height: 100%;
 object-fit: cover;
}

.lesson-viewer__content { padding: 2rem; }

.lesson-viewer__content h3 {
 font-family: var(--font-display);
 font-size: 1.5rem;
 margin-bottom: 0.5rem;
}

/* ── Footer ── */
.footer {
 background: var(--charcoal);
 color: rgba(255, 255, 255, 0.7);
 padding: 3rem 0 1.5rem;
 margin-top: auto;
}

.footer__grid {
 display: grid;
 grid-template-columns: 2fr 1fr 1fr 1fr;
 gap: 2rem;
 margin-bottom: 2rem;
}

.footer__brand {
 font-family: var(--font-display);
 font-size: 1.5rem;
 color: white;
 margin-bottom: 0.75rem;
}

.footer__brand span { color: var(--rose); }

.footer h4 {
 color: white;
 font-size: 0.9rem;
 margin-bottom: 1rem;
}

.footer ul { list-style: none; }

.footer li { margin-bottom: 0.5rem; }

.footer a {
 font-size: 0.9rem;
 transition: color var(--transition);
 cursor: pointer;
}

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

.footer__bottom {
 border-top: 1px solid rgba(255, 255, 255, 0.1);
 padding-top: 1.5rem;
 text-align: center;
 font-size: 0.85rem;
}

.prototype-badge {
 position: fixed;
 bottom: 1rem;
 right: 1rem;
 background: var(--charcoal);
 color: white;
 font-size: 0.75rem;
 font-weight: 600;
 padding: 0.5rem 1rem;
 border-radius: 999px;
 z-index: 99;
 opacity: 0.85;
}

/* ── Toast ── */
.toast {
 position: fixed;
 bottom: 4rem;
 right: 1.5rem;
 background: var(--charcoal);
 color: white;
 padding: 1rem 1.5rem;
 border-radius: var(--radius-sm);
 box-shadow: var(--shadow-lg);
 transform: translateY(100px);
 opacity: 0;
 transition: all 0.3s ease;
 z-index: 150;
}

.toast.show {
 transform: translateY(0);
 opacity: 1;
}

/* ── Responsive ── */
@media (max-width: 900px) {
 .hero__grid,
 .course-detail__grid,
 .cart-layout,
 .checkout-layout,
 .footer__grid {
 grid-template-columns: 1fr;
 }

 .hero__title { font-size: 2.5rem; }

 .nav { display: none; }

 .learn-list { grid-template-columns: 1fr; }

 .purchase-box,
 .cart-summary { position: static; }
}

@media (max-width: 600px) {
 .hero { padding: 3rem 0; }

 .instructor-spotlight__inner {
 flex-direction: column;
 align-items: center;
 text-align: center;
 }

 .instructor-spotlight__highlights {
 justify-content: center;
 }

 .hero__stats { flex-direction: column; gap: 1rem; }

 .cart-item { flex-direction: column; }

 .cart-item__image { width: 100%; height: 160px; }

 .form-row { grid-template-columns: 1fr; }

 .checkout-steps { flex-wrap: wrap; gap: 0.5rem; }

 .checkout-step__line { width: 30px; }
}
