@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Source+Sans+3:wght@300;400;600;700&display=swap');

:root {
    --green-900: #0f3f2e;
    --green-800: #145237;
    --green-700: #1b5f3f;
    --yellow-500: #f0c419;
    --cream: #f7f4ef;
    --sand: #f0ece4;
    --ink: #1d1c1a;
    --muted: #6b655b;
    --white: #ffffff;
    --border: #e0d9cd;
    --shadow: 0 18px 38px rgba(17, 33, 24, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
    color: var(--ink);
    background: radial-gradient(circle at top left, rgba(240, 236, 228, 0.8), transparent 55%),
        linear-gradient(180deg, var(--cream) 0%, #fffaf3 40%, #ffffff 100%);
}

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

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

textarea {
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--border);
    font-family: inherit;
    resize: vertical;
}

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

.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 10;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 8px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.logo-image {
    height: 70px;
    width: auto;
}

.logo-text {
    font-family: "Playfair Display", serif;
    font-size: 1.05rem;
}

.nav {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 0.95rem;
}

.nav-close {
    display: none;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--white);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-direction: column;
}

.nav-toggle-bar {
    width: 18px;
    height: 2px;
    background: var(--green-900);
    border-radius: 999px;
}

.nav a {
    color: var(--muted);
    font-weight: 600;
}

.nav a:hover {
    color: var(--green-900);
}

.nav .cta {
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--green-900);
    color: var(--white);
    font-weight: 700;
}

.nav .cta:hover {
    color: var(--white);
}

.main {
    min-height: 70vh;
}

.main > :first-child {
    margin-top: 0;
}

.hero {
    padding: 0px;
    position: relative;
    overflow: hidden;
    margin-top: -1px;
    border-top: 1px solid transparent;
    display: flow-root;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 63, 46, 0.95), rgba(17, 84, 56, 0.88));
    z-index: 0;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.06) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255, 255, 255, 0.06) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.06) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.06) 75%);
    background-size: 80px 80px;
    background-position: 0 0, 0 40px, 40px -40px, -40px 0px;
    opacity: 0.4;
    z-index: 0;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: 40px;
    color: var(--white);
}

.hero-kicker {
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.75);
}

.hero-kicker::before,
.hero-kicker::after {
    content: "";
    height: 1px;
    width: 32px;
    background: rgba(255, 255, 255, 0.5);
}

.hero h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(2.4rem, 4vw, 4rem);
    margin: 16px 0 14px;
    line-height: 1.1;
}

.hero p {
    max-width: 520px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.05rem;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 999px;
    font-weight: 700;
    border: 2px solid transparent;
    font-family: "Source Sans 3", sans-serif;
}

.btn-primary {
    background: var(--yellow-500);
    color: var(--green-900);
}

.btn-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.6);
    color: var(--white);
}

.hero-image {
    position: relative;
    height: 320px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: grid;
    place-items: center;
    overflow: hidden;
}

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

.section {
    padding: 60px 0;
}

.section-center {
    text-align: center;
}

.section-title {
    font-family: "Playfair Display", serif;
    font-size: 2rem;
    margin: 0 0 12px;
}

.section-subtitle {
    color: var(--muted);
    margin: 0 0 32px;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 320px));
    gap: 24px;
    justify-content: start;
}

.section-card {
    border: 2px solid var(--green-700);
    border-radius: 18px;
    background: #fff;
    padding: 22px;
    box-shadow: var(--shadow);
    margin-top: 24px;
    text-align: left;
}

.section-card .section-title {
    margin-top: 0;
}

.course-catalog-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.course-filter {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fffdf8;
    box-shadow: 0 10px 22px rgba(15, 63, 46, 0.08);
}

.course-filter-icon {
    font-size: 1rem;
    color: var(--muted);
}

.course-filter-input {
    border: none;
    outline: none;
    background: transparent;
    min-width: 220px;
    font-size: 0.95rem;
    color: var(--ink);
}

.course-filter-input::placeholder {
    color: var(--muted);
}

.course-filter-reset {
    border: none;
    background: var(--green-900);
    color: var(--white);
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.8rem;
}

.course-filter-reset:hover {
    background: var(--green-800);
}

.course-filter-status {
    margin: 6px 0 20px;
    color: var(--muted);
    font-size: 0.9rem;
}

.course-filter-empty {
    margin-top: -6px;
}

.newsletter-landing {
    padding: 80px 0 90px;
    position: relative;
    overflow: hidden;
}

.newsletter-landing::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(15, 63, 46, 0.95), rgba(24, 88, 60, 0.8));
    z-index: 0;
}

.newsletter-landing::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 20%, rgba(240, 196, 25, 0.18), transparent 45%),
        radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.12), transparent 50%);
    z-index: 0;
}

.newsletter-landing-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 36px;
    align-items: center;
    color: var(--white);
}

.newsletter-landing-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.75);
}

.newsletter-landing-kicker::before,
.newsletter-landing-kicker::after {
    content: "";
    width: 28px;
    height: 1px;
    background: rgba(255, 255, 255, 0.45);
}

.newsletter-landing-content h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    margin: 18px 0 12px;
}

.newsletter-landing-content p {
    max-width: 520px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    line-height: 1.6;
}

.newsletter-landing-email {
    margin: 18px 0;
    padding: 12px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    gap: 10px;
    align-items: center;
    font-size: 0.95rem;
}

.newsletter-landing-alert {
    margin: 16px 0;
    padding: 12px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff3d4;
    font-weight: 600;
}

.newsletter-landing-actions {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.newsletter-landing-card {
    background: rgba(255, 255, 255, 0.94);
    color: var(--ink);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 24px 48px rgba(7, 31, 22, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.newsletter-landing-card-top span {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.7rem;
    color: var(--muted);
}

.newsletter-landing-card-top h2 {
    font-family: "Playfair Display", serif;
    margin: 8px 0 16px;
    font-size: 1.7rem;
    color: var(--green-900);
}

.newsletter-landing-list {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    display: grid;
    gap: 12px;
}

.newsletter-landing-list li {
    padding: 12px 14px;
    border-radius: 14px;
    background: #f7f4ee;
    border: 1px solid rgba(15, 63, 46, 0.12);
    font-size: 0.95rem;
    line-height: 1.5;
}

.newsletter-landing-note {
    font-size: 0.9rem;
    color: var(--muted);
}

.owned-grid {
    display: grid;
    gap: 16px;
}

.owned-card {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 16px;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    background: var(--white);
    align-items: stretch;
}

.owned-media {
    background: linear-gradient(135deg, var(--green-900), var(--green-700));
    min-height: 120px;
    position: relative;
}

.owned-media.has-cover {
    background-size: cover;
    background-position: center;
}

.owned-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 63, 46, 0.75), rgba(15, 63, 46, 0.35));
}

.owned-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--yellow-500);
    color: var(--green-900);
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.7rem;
    z-index: 1;
}

.owned-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
}

.owned-body h3 {
    margin: 6px 0 6px;
    font-size: 1.1rem;
}

.owned-body small {
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.7rem;
}

.owned-body span {
    color: var(--muted);
    font-size: 0.85rem;
}

.account-payments-head {
    grid-template-columns: 1.6fr 110px 90px 100px 160px;
}

.account-payments-row {
    grid-template-columns: 1.6fr 110px 90px 100px 160px;
}

.section-center .section-subtitle {
    margin: 0 auto 32px;
    max-width: 680px;
}

.course-carousel {
    display: grid;
    gap: 18px;
}

.course-row {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 12px;
    padding: 6px 6px 18px;
    scrollbar-width: thin;
}

.course-row.is-fading {
    opacity: 0.4;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.carousel-btn {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--green-900);
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(15, 63, 46, 0.15);
}

.course-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
    overflow: hidden;
    display: grid;
    min-height: 420px;
    text-align: left;
    scroll-snap-align: start;
    flex: 0 0 calc((100% - 48px) / 3);
}

.course-media {
    background: linear-gradient(135deg, var(--green-900), var(--green-700));
    padding: 26px;
    color: var(--white);
    position: relative;
    min-height: 170px;
}

.course-media.has-cover {
    background-size: cover;
    background-position: center;
}

.course-media.has-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 63, 46, 0.9), rgba(15, 63, 46, 0.55));
    z-index: 0;
}

.course-media .label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--yellow-500);
    color: var(--green-900);
    font-weight: 700;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.75rem;
    position: relative;
    z-index: 1;
}

.course-media .label.is-new {
    background: #0d6b4f;
    color: #fff;
}

.badge-new {
    background: #0d6b4f;
    color: #fff;
}

.course-media h3 {
    font-family: "Playfair Display", serif;
    margin: 16px 0 0;
    font-size: 1.6rem;
    position: relative;
    z-index: 1;
}

.course-body {
    padding: 20px 22px 22px;
    display: grid;
    gap: 12px;
}

.course-meta {
    display: block;
    color: var(--green-900);
}

.course-meta-title {
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 0.01em;
}

.course-meta-subtitle {
    margin-top: 6px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
}
.course-meta-line {
    font-size: 0.85rem;
    color: var(--muted);
}

.badge {
    background: var(--sand);
    border-radius: 999px;
    padding: 4px 10px;
    font-weight: 600;
}

.course-title {
    font-weight: 700;
    font-size: 1.05rem;
}

.course-title-link {
    color: inherit;
}

.course-title-link:hover {
    color: var(--green-900);
}

.course-desc {
    color: var(--muted);
    margin: 0;
}

.course-price {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--green-900);
}

.course-price s,
.course-price .price-old {
    color: var(--muted);
    font-weight: 600;
    text-decoration: line-through;
    font-size: 0.9rem;
}

.course-price .price-new {
    font-size: 1.1rem;
    font-weight: 700;
}

.course-price .price-tag {
    background: var(--yellow-500);
    color: var(--green-900);
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.course-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border);
    padding-top: 12px;
    font-size: 0.85rem;
    color: var(--muted);
}

.course-footer .btn {
    padding: 8px 14px;
    border-radius: 10px;
    background: var(--green-900);
    color: var(--white);
    border: none;
}

.step-block {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px;
    display: grid;
    gap: 14px;
    background: linear-gradient(135deg, rgba(12, 87, 59, 0.18), rgba(19, 122, 84, 0.08)), repeating-linear-gradient(45deg, rgba(13, 92, 61, 0.08), rgba(13, 92, 61, 0.08) 6px, rgba(255, 255, 255, 0) 6px, rgba(255, 255, 255, 0) 12px);
    box-shadow: 0 18px 32px rgba(12, 65, 45, 0.08);
}

.step-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
}

.step-lessons {
    display: grid;
    gap: 16px;
}

.lesson-step-label {
    font-size: 0.85rem;
    color: var(--muted);
    font-weight: 600;
}

.user-courses {
    margin-bottom: 40px;
}

.course-detail {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: 28px;
    text-align: left;
}

.course-page .course-detail {
    grid-template-columns: unset;
}

.course-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 24px;
    padding: 28px;
    border-radius: 22px;
    background: linear-gradient(135deg, #fff5e2 0%, #f8efe2 45%, #ffffff 100%);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 28px;
}

.course-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        45deg,
        rgba(200, 155, 42, 0.12) 0,
        rgba(200, 155, 42, 0.12) 12px,
        transparent 12px,
        transparent 24px
    );
    opacity: 0.6;
}

.course-hero-info,
.course-hero-panel {
    position: relative;
    z-index: 1;
}

.course-hero-desc {
    color: var(--muted);
    font-size: 1rem;
    max-width: 620px;
}

.course-hero-meta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--green-900);
    font-weight: 600;
    margin: 12px 0 18px;
}

.course-hero-panel {
    border-radius: 18px;
    background: linear-gradient(160deg, var(--green-900), var(--green-700));
    color: var(--white);
    padding: 22px;
    min-height: 220px;
    display: grid;
    align-content: end;
    box-shadow: 0 14px 30px rgba(15, 63, 46, 0.2);
}

.course-hero-panel.has-cover {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 0;
}

.course-hero-panel.has-cover::after {
    display: none;
}

.course-progress {
    margin: 18px 0 6px;
    display: grid;
    gap: 8px;
    max-width: 420px;
}

.course-progress-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--muted);
    font-weight: 600;
}

.course-progress-bar {
    height: 10px;
    background: #efe7da;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.course-progress-bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--green-900), var(--green-700));
    width: 0;
    transition: width 0.3s ease;
}

.course-hero-panel-inner {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 6px;
}

.course-hero-kicker {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
}

.course-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 26px;
    align-items: start;
}

.course-lessons {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 22px;
    box-shadow: var(--shadow);
}

.course-step {
    border-top: 1px solid var(--border);
    padding-top: 18px;
    margin-top: 18px;
}

.course-step:first-of-type {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.course-step-head {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 12px;
}

.course-step-number {
    background: var(--sand);
    color: var(--green-900);
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.course-step-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #fff;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.accordion-panel {
    margin-top: 14px;
    display: grid;
    gap: 16px;
}

.course-reviews-section {
    margin-top: 36px;
}

.review-card-shell {
    padding: 22px;
}

.review-card-shell .accordion-trigger {
    box-shadow: none;
    border: 1px solid var(--border);
}

.review-form .rating-input,
.review-form label,
.review-form textarea {
    width: 100%;
}

.review-form .rating-input {
    align-items: center;
}

.review-form input,
.review-form textarea {
    width: 100%;
    box-sizing: border-box;
}

.reviews-grid {
    display: grid;
    gap: 14px;
}

.review-card {
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow);
}

.review-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.review-stars {
    color: #d7b14a;
    font-size: 0.95rem;
    display: inline-flex;
    gap: 2px;
}

.review-stars span {
    opacity: 0.25;
}

.review-stars span.is-on {
    opacity: 1;
}

.review-card p {
    margin: 0 0 8px;
    color: var(--muted);
}

.review-card small {
    color: var(--muted);
    font-size: 0.75rem;
}

.review-form {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px;
    background: #fff;
    display: grid;
    gap: 12px;
    box-shadow: var(--shadow);
}

.review-note {
    color: var(--muted);
    font-size: 0.9rem;
}

.review-note.success {
    color: var(--green-900);
    font-weight: 600;
}

.review-note.error {
    color: #7a2c1a;
    font-weight: 600;
}

.rating-input {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.star-input {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 6px;
}

.star-input input {
    position: absolute;
    opacity: 0;
}

.star-input label {
    font-size: 1.4rem;
    color: #d2c3a5;
    cursor: pointer;
}

.star-input input:checked ~ label,
.star-input label:hover,
.star-input label:hover ~ label {
    color: #d7b14a;
}

.review-modal .status-panel {
    max-width: 520px;
}

.download-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.download-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #fbfaf7;
    font-size: 0.92rem;
}

.download-item strong {
    display: block;
}

.download-item small {
    display: block;
    color: var(--muted);
    font-size: 0.75rem;
    margin-top: 4px;
}

.course-step-list .lesson-item {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #fbfaf7;
    font-size: 0.92rem;
}

.lesson-video-link {
    font-size: 0.85rem;
    color: var(--green-900);
    font-weight: 600;
    background: var(--sand);
    border: none;
    padding: 6px 12px;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.video-modal {
    position: fixed;
    inset: 0;
    display: none;
    place-items: center;
    z-index: 120;
}

.video-modal.is-open {
    display: grid;
}

.video-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 18, 12, 0.72);
}

.video-panel {
    position: relative;
    background: #000;
    border-radius: 18px;
    padding: 12px;
    width: min(92vw, 900px);
    z-index: 1;
    box-shadow: var(--shadow);
}

.video-panel video {
    width: 100%;
    border-radius: 12px;
    background: #000;
}

.video-panel iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 12px;
    background: #000;
    display: none;
}

.lesson-complete-btn {
    margin-top: 12px;
    width: 100%;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: #1a5a3d;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.video-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

.course-step-list .lesson-item small {
    display: block;
    color: var(--muted);
    font-size: 0.75rem;
    margin-top: 4px;
}

.lesson-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lesson-status .completed {
    background: #dff3e9;
    color: var(--green-900);
    padding: 3px 8px;
    border-radius: 999px;
    font-weight: 700;
}

.lesson-status .preview {
    background: var(--yellow-500);
    color: var(--green-900);
    padding: 3px 8px;
    border-radius: 999px;
    font-weight: 700;
}

.lesson-status .unlock {
    background: #e8f6ef;
    color: var(--green-900);
    padding: 3px 8px;
    border-radius: 999px;
    font-weight: 700;
}

.course-action-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 20px;
    box-shadow: var(--shadow);
    display: grid;
    gap: 12px;
    position: sticky;
    top: 110px;
}

.course-action-card .btn {
    width: 100%;
}

.course-action-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--green-900);
}

.course-action-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-size: 0.85rem;
}

.course-sidebar {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow);
}

.course-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lesson-item {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

.lesson-item:last-child {
    border-bottom: none;
}

.lesson-item.locked {
    color: var(--muted);
}

.lesson-item .lock {
    background: var(--sand);
    color: var(--muted);
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.7rem;
}

.lesson-item.is-complete {
    border-color: rgba(15, 63, 46, 0.35);
    background: #f5fbf8;
}

.course-main {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    box-shadow: var(--shadow);
}

.course-tag {
    display: inline-block;
    padding: 6px 12px;
    background: var(--sand);
    color: var(--green-900);
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.8rem;
}

.course-info ul {
    padding-left: 18px;
    margin: 12px 0 0;
    color: var(--muted);
}

.course-cta {
    margin-top: 20px;
}

.course-cta .muted {
    color: var(--muted);
    margin-top: 8px;
}

.statement-row {
    background: #f0f4ee;
    text-align: center;
}

.statement-row h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(2rem, 3.6vw, 3.2rem);
    margin: 10px auto 12px;
    color: var(--green-900);
    max-width: 860px;
}

.statement-row p {
    max-width: 760px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 1.05rem;
}

.section-intro {
    text-align: center;
    margin-bottom: 28px;
}

.section-intro .section-subtitle {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.problem-section {
    background: linear-gradient(180deg, #fff8ef 0%, #fffdf9 100%);
}

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

.problem-card {
    padding: 24px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(15, 63, 46, 0.1);
    box-shadow: var(--shadow);
}

.problem-card strong {
    display: block;
    font-size: 1.05rem;
    color: var(--green-900);
    margin-bottom: 8px;
}

.problem-card p {
    margin: 0;
    color: var(--muted);
}

.method-section {
    background: linear-gradient(180deg, rgba(15, 63, 46, 0.04) 0%, rgba(15, 63, 46, 0) 100%);
}

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

.method-card {
    position: relative;
    padding: 24px;
    border-radius: 22px;
    background: linear-gradient(160deg, #0f3f2e 0%, #145139 100%);
    color: #fff;
    overflow: hidden;
    box-shadow: 0 18px 34px rgba(15, 63, 46, 0.18);
}

.method-card::after {
    content: "";
    position: absolute;
    inset: auto -24px -24px auto;
    width: 120px;
    height: 120px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.method-card-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-weight: 700;
    margin-bottom: 14px;
}

.method-card h3 {
    margin: 0 0 10px;
    font-family: "Playfair Display", serif;
    font-size: 1.4rem;
}

.method-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
}

.emotional-section {
    padding-top: 24px;
    padding-bottom: 36px;
}

.emotional-card {
    text-align: center;
    padding: 38px 28px;
    border-radius: 28px;
    background: linear-gradient(135deg, #fff4da 0%, #fff9ef 55%, #ffffff 100%);
    border: 1px solid rgba(200, 155, 42, 0.18);
    box-shadow: 0 18px 36px rgba(27, 24, 16, 0.1);
}

.emotional-card h2 {
    margin: 10px auto 12px;
    max-width: 820px;
    font-family: "Playfair Display", serif;
    font-size: clamp(1.9rem, 3vw, 2.7rem);
    color: var(--green-900);
}

.emotional-card p {
    max-width: 740px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 1.05rem;
}

.emotional-actions {
    justify-content: center;
}

.courses-home-section {
    background: #fcfaf6;
    border-top: 1px solid rgba(15, 63, 46, 0.08);
}

@media (max-width: 900px) {
    .problem-grid,
    .method-grid {
        grid-template-columns: 1fr;
    }

    .emotional-card {
        padding: 30px 20px;
    }
}

.about-section {
    padding-top: 70px;
    padding-bottom: 70px;
}

.book-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.testimonials-section {
    padding-top: 60px;
    padding-bottom: 20px;
}

.testimonials-head {
    text-align: center;
    margin-bottom: 32px;
}

.testimonials-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(15, 63, 46, 0.25);
    color: var(--green-900);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.testimonials-head h2 {
    margin: 12px 0 8px;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.testimonials-head p {
    margin: 0 auto;
    max-width: 680px;
    color: var(--muted);
}

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

.testimonial-video-section {
    padding-top: 20px;
    padding-bottom: 40px;
    background: linear-gradient(180deg, rgba(255, 250, 244, 0.7) 0%, rgba(255, 250, 244, 0) 100%);
}

.testimonial-video-head {
    text-align: center;
    margin-bottom: 24px;
}

.testimonial-video-head h2 {
    margin: 10px 0 6px;
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}

.testimonial-video-head p {
    margin: 0 auto;
    max-width: 560px;
    color: var(--muted);
}

.testimonial-video-card {
    margin: 0 auto;
    max-width: 320px;
    border-radius: 20px;
    border: 1px solid rgba(15, 63, 46, 0.12);
    box-shadow: var(--shadow);
    background: #fff;
    padding: 12px;
}

.testimonial-video {
    width: 100%;
    height: auto;
    aspect-ratio: 9 / 16;
    border-radius: 14px;
    display: block;
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 14px 24px rgba(15, 63, 46, 0.08);
    display: grid;
    gap: 16px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.testimonial-card:hover,
.testimonial-card:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 18px 30px rgba(15, 63, 46, 0.12);
    border-color: rgba(15, 63, 46, 0.2);
    outline: none;
}

.testimonial-quote {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 30% 30%, rgba(240, 196, 25, 0.2), rgba(15, 63, 46, 0.08));
    color: var(--green-900);
    font-family: "Playfair Display", serif;
    font-size: 2rem;
    font-weight: 700;
}

.testimonial-quote::before {
    content: "“";
    transform: translateY(-2px);
}

.testimonial-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.98rem;
}

.testimonial-author {
    padding-top: 12px;
    border-top: 1px solid var(--border);
    display: grid;
    gap: 2px;
}

.testimonial-name {
    font-weight: 700;
    color: var(--green-900);
}

.testimonial-role {
    font-size: 0.85rem;
    color: var(--muted);
}

body.has-testimonial-modal {
    overflow: hidden;
}

.testimonial-modal {
    position: fixed;
    inset: 0;
    display: none;
    place-items: center;
    z-index: 140;
}

.testimonial-modal.is-open {
    display: grid;
}

.testimonial-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 18, 12, 0.72);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.28s ease;
}

.testimonial-modal-panel {
    position: relative;
    z-index: 1;
    width: min(92vw, 760px);
    max-height: min(84vh, 920px);
    overflow: auto;
    padding: 28px;
    border-radius: 24px;
    background: linear-gradient(180deg, #fffefb 0%, #fbf6ee 100%);
    border: 1px solid rgba(15, 63, 46, 0.12);
    box-shadow: 0 24px 56px rgba(8, 18, 12, 0.28);
    opacity: 0;
    transform: translateY(20px) scale(0.96);
    transition: opacity 0.28s ease, transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.testimonial-modal.is-visible .testimonial-modal-backdrop {
    opacity: 1;
}

.testimonial-modal.is-visible .testimonial-modal-panel {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.testimonial-modal.is-closing .testimonial-modal-backdrop {
    opacity: 0;
}

.testimonial-modal.is-closing .testimonial-modal-panel {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
}

.testimonial-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: var(--green-900);
    color: #fff;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
}

.testimonial-modal-head {
    padding-right: 54px;
    margin-bottom: 20px;
}

.testimonial-modal-head h3 {
    margin: 0 0 6px;
    font-family: "Playfair Display", serif;
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    color: var(--green-900);
}

.testimonial-modal-head p {
    margin: 0;
    color: var(--muted);
}

.testimonial-modal-body {
    display: grid;
    gap: 14px;
}

.testimonial-modal-body p {
    margin: 0;
    color: var(--text);
    line-height: 1.7;
}

.book-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 32px;
    align-items: center;
    border-radius: 22px;
    background: linear-gradient(140deg, #fff7e9 0%, #ffffff 55%, #f6efe7 100%);
    border: 1px solid var(--border);
    padding: 32px;
    box-shadow: 0 20px 35px rgba(15, 63, 46, 0.08);
}

.book-media {
    display: grid;
    place-items: center;
}

.book-media img {
    width: min(260px, 90%);
    border-radius: 14px;
    box-shadow: 0 18px 30px rgba(15, 63, 46, 0.18);
    object-fit: cover;
}

.book-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #0d6b4f;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.book-content h2 {
    margin: 16px 0 10px;
    font-size: clamp(1.6rem, 2.2vw, 2.1rem);
}

.book-content p {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 1rem;
}

.book-actions .btn {
    padding: 10px 18px;
    border-radius: 12px;
}

.about-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 36px;
    align-items: center;
}

.about-media {
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #fff;
    align-self: stretch;
}

@media (max-width: 1024px) {
    .about-media {
        display: none;
    }
}

.about-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.about-content h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(2rem, 3vw, 2.8rem);
    margin: 10px 0 14px;
}

.about-kicker {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    color: var(--green-900);
    font-weight: 700;
}

.about-content p {
    color: var(--muted);
    margin: 0 0 20px;
    font-size: 1rem;
}

.about-page-hero {
    padding-top: 70px;
    padding-bottom: 50px;
    background: radial-gradient(circle at top, rgba(15, 63, 46, 0.08), rgba(255, 250, 244, 0.6) 55%, rgba(255, 250, 244, 0));
}

.about-page-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 28px;
    align-items: center;
}

.about-page-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(15, 63, 46, 0.2);
    color: var(--green-900);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.about-page-hero-content h1 {
    margin: 14px 0 8px;
    font-size: clamp(2.2rem, 4vw, 3rem);
}

.about-page-hero-content p {
    color: var(--muted);
    max-width: 540px;
}

.about-page-actions {
    margin-top: 18px;
}

.about-page-hero-card {
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(15, 63, 46, 0.12);
    box-shadow: 0 20px 40px rgba(17, 14, 6, 0.15);
    padding: 24px;
}

.about-page-hero-card-inner {
    background: linear-gradient(160deg, rgba(15, 63, 46, 0.08), rgba(255, 250, 244, 0.7));
    border-radius: 18px;
    padding: 24px;
}

.about-quote {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 12px;
}

.about-page-story {
    padding-top: 30px;
    padding-bottom: 40px;
}

.about-page-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.about-page-panel {
    background: #fff;
    border: 1px solid rgba(15, 63, 46, 0.12);
    border-radius: 20px;
    padding: 26px;
    box-shadow: var(--shadow);
}

.about-page-panel h2 {
    margin-top: 0;
    margin-bottom: 12px;
}

.about-page-panel p {
    color: var(--muted);
    margin: 0 0 16px;
}

.about-page-panel p:last-child {
    margin-bottom: 0;
}

.about-page-panel.is-accent {
    background: linear-gradient(160deg, rgba(15, 63, 46, 0.08), rgba(255, 250, 244, 0.85));
}

.about-page-reasons {
    padding-top: 10px;
    padding-bottom: 40px;
}

.about-page-list {
    display: grid;
    gap: 10px;
    margin: 16px 0 0;
    padding-left: 18px;
    color: var(--muted);
}

.about-page-stats {
    padding-top: 10px;
    padding-bottom: 70px;
}

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

.about-page-stat {
    background: #fff;
    border-radius: 18px;
    border: 1px solid rgba(15, 63, 46, 0.12);
    padding: 20px;
    text-align: left;
    box-shadow: var(--shadow);
}

.about-page-stat strong {
    font-size: 1.8rem;
    color: var(--green);
    display: block;
}

.about-page-stat span {
    display: block;
    color: var(--muted);
    margin-top: 6px;
}

@media (max-width: 980px) {
    .about-page-hero-inner {
        grid-template-columns: 1fr;
    }

    .about-page-grid {
        grid-template-columns: 1fr;
    }

    .about-page-stats-inner {
        grid-template-columns: 1fr;
    }
}

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

.about-actions {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.about-stat {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px;
    box-shadow: var(--shadow);
}

.about-stat strong {
    font-size: 1.6rem;
    color: var(--green-900);
    display: block;
    margin-bottom: 6px;
}

.about-stat span {
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.4;
}

.statement-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    color: var(--green-900);
    justify-content: center;
}

.statement-kicker::before,
.statement-kicker::after {
    content: "";
    height: 1px;
    width: 28px;
    background: rgba(15, 63, 46, 0.4);
}

.auth-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 32px;
    max-width: 460px;
    box-shadow: var(--shadow);
    margin: 0 auto;
    text-align: left;
}

.contact-card {
    max-width: 520px;
}

.contact-card + .contact-card {
    margin-top: 28px;
}

.form {
    display: grid;
    gap: 14px;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #f7f3ea;
}

.form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 2px 0 0 0;
    flex: 0 0 18px;
}

.form-check label {
    margin: 0;
    font-weight: 600;
    line-height: 1.4;
}

.form-check a {
    color: inherit;
}
.form label {
    display: grid;
    gap: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: left;
}

.form input {
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--border);
    font-family: inherit;
}

.form-error {
    background: #fff4f0;
    border: 1px solid #f3c5b5;
    color: #7a2c1a;
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 16px;
    text-align: left;
    font-size: 0.9rem;
}

.form-error ul {
    margin: 0;
    padding-left: 18px;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    line-height: 1.3;
}

.admin-form .checkbox {
    font-weight: 500;
}

.checkbox input {
    margin: 0;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.auth-links {
    margin-top: 16px;
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--muted);
}

.auth-links a {
    color: var(--green-900);
    font-weight: 600;
}

.account-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 8px;
}

.account-row--toggle {
    align-items: center;
}

.account-row--toggle .muted {
    display: block;
    font-size: 0.85rem;
    margin-top: 4px;
}

.toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.toggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.toggle-slider {
    width: 46px;
    height: 26px;
    border-radius: 999px;
    background: #e6e0d6;
    border: 1px solid rgba(15, 63, 46, 0.2);
    position: relative;
    transition: background 0.2s ease, border 0.2s ease;
}

.toggle-slider::after {
    content: "";
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    position: absolute;
    top: 2px;
    left: 2px;
    box-shadow: 0 6px 10px rgba(15, 63, 46, 0.2);
    transition: transform 0.2s ease;
}

.toggle input:checked + .toggle-slider {
    background: linear-gradient(135deg, var(--green-700), var(--green-900));
    border-color: rgba(15, 63, 46, 0.4);
}

.toggle input:checked + .toggle-slider::after {
    transform: translateX(20px);
}

.toggle-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--green-900);
    min-width: 84px;
    text-align: right;
}

.btn-small {
    padding: 6px 12px;
    font-size: 0.85rem;
}

.account-header {
    margin-bottom: 24px;
}

.account-actions {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.account-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 36px;
    text-align: left;
}

.account-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow);
}

.account-card h3 {
    margin-top: 0;
}

.account-courses {
    text-align: center;
    margin-bottom: 36px;
}

.muted {
    color: var(--muted);
}

.empty-state {
    color: var(--muted);
    margin: 16px 0 0;
}

.newsletter-strip {
    padding: 26px 0;
    background: var(--white);
    border-top: 1px solid var(--border);
}

.newsletter-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    padding-bottom: 30px;
    padding-top: 30px;
}

.newsletter-strip h3 {
    margin: 0 0 6px;
    font-family: "Playfair Display", serif;
}

.newsletter-strip p {
    margin: 0;
    color: var(--muted);
}

.newsletter-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.newsletter-form input {
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--border);
    min-width: 220px;
    font-family: inherit;
}

.newsletter-form.compact input {
    min-width: 200px;
}

.newsletter-modal {
    position: fixed;
    inset: 0;
    display: none;
    place-items: center;
    z-index: 100;
}

.newsletter-modal.is-open {
    display: grid;
}

.status-modal {
    position: fixed;
    inset: 0;
    display: none;
    place-items: center;
    z-index: 120;
}

.status-modal.is-open {
    display: grid;
}

.status-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 18, 12, 0.6);
}

.status-panel {
    position: relative;
    background: var(--white);
    border-radius: 20px;
    padding: 32px;
    max-width: 520px;
    width: min(92%, 520px);
    box-shadow: var(--shadow);
    text-align: center;
    z-index: 1;
}

.status-panel h3 {
    margin: 0 0 10px;
}

.status-panel.status-success h3 {
    color: var(--green-900);
}

.status-panel.status-error h3 {
    color: #7a2c1a;
}

.newsletter-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 18, 12, 0.6);
}

.newsletter-panel {
    position: relative;
    background: var(--white);
    border-radius: 24px;
    padding: 56px 64px;
    max-width: 820px;
    width: min(92%, 820px);
    box-shadow: var(--shadow);
    z-index: 1;
    text-align: center;
}

.newsletter-close {
    position: absolute;
    top: 16px;
    right: 16px;
    border: none;
    background: var(--green-900);
    color: var(--white);
    width: 36px;
    height: 36px;
    border-radius: 999px;
    font-size: 22px;
    cursor: pointer;
}

.newsletter-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    color: var(--muted);
}

.newsletter-kicker::before,
.newsletter-kicker::after {
    content: "";
    height: 1px;
    width: 28px;
    background: var(--border);
}

.newsletter-panel h2 {
    margin: 14px 0 10px;
    font-family: "Playfair Display", serif;
    font-size: clamp(2rem, 3vw, 2.6rem);
}

.newsletter-panel p {
    color: var(--muted);
    max-width: 520px;
    margin: 0 auto;
}

.newsletter-panel small {
    display: block;
    margin-top: 14px;
    color: var(--muted);
}

.newsletter-panel .newsletter-form {
    margin-top: 18px;
    justify-content: center;
}

.site-footer {
    padding: 48px 0 36px;
    color: rgba(255, 255, 255, 0.82);
    background: var(--green-900);
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr);
    gap: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    text-align: left;
}

.footer-brand p {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 24px;
}

.footer-links h4 {
    margin: 0 0 10px;
    font-size: 0.95rem;
    color: var(--white);
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--yellow-500);
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-social {
    display: inline-flex;
    align-items: center;
}

.footer-social-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
}

.footer-social-icon svg {
    width: 16px;
    height: 16px;
}

.footer-bottom {
    padding-top: 16px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    display: grid;
    gap: 8px;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
}

.footer-legal-name {
    font-weight: 700;
    color: var(--white);
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-legal a:hover {
    color: var(--yellow-500);
}

.error-page {
    display: flex;
    align-items: center;
    min-height: 60vh;
}

.error-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 42px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.error-code {
    display: inline-block;
    font-weight: 700;
    color: var(--green-900);
    background: var(--sand);
    padding: 6px 14px;
    border-radius: 999px;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

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

.error-detail {
    margin-top: 16px;
    padding: 12px;
    background: #f7f6f3;
    border-radius: 12px;
    text-align: left;
    font-size: 0.85rem;
    max-height: 220px;
    overflow: auto;
}

.legal-meta {
    list-style: none;
    padding: 0;
    margin: 12px 0 22px;
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: 0.95rem;
}

.legal-meta li {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.legal-meta a {
    color: var(--green-900);
    font-weight: 600;
}

.legal-meta a:hover {
    color: var(--green-700);
}

.admin-bar {
    background: #0d3326;
    padding: 8px 0;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.admin-btn {
    background: #f39c12;
    color: #1f1f1f;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 999px;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.admin-btn.is-outline {
    background: #fff;
    color: var(--green-900);
    border: 1px solid var(--green-900);
}

.admin-body {
    background: #f4f2ed;
}

.admin-shell {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    background: #123c2a;
    color: #fff;
    padding: 24px 18px;
}

.admin-brand {
    font-weight: 700;
    margin-bottom: 24px;
}

.admin-brand small {
    display: block;
    font-weight: 400;
    opacity: 0.7;
}

.admin-nav a {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 6px;
}

.admin-nav a:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.admin-content {
    padding: 24px 28px;
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.admin-topbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-upload-queue {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 0.8rem;
    color: var(--green-900);
    font-weight: 700;
    cursor: pointer;
}

.admin-upload-panel {
    position: absolute;
    top: 54px;
    right: 0;
    width: min(340px, 80vw);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 12px;
    z-index: 30;
}

.admin-upload-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.admin-upload-panel-actions {
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

.admin-upload-panel ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.admin-upload-item {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px;
    background: #fbfaf7;
    display: grid;
    gap: 6px;
}

.admin-upload-item-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--green-900);
    font-weight: 700;
    gap: 8px;
}

.admin-upload-item-bar {
    height: 6px;
    background: #efe7da;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.admin-upload-item-bar span {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--green-900), var(--green-700));
}

.admin-upload-item small {
    color: var(--muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-upload-empty {
    color: var(--muted);
    font-size: 0.85rem;
    padding: 8px 6px;
}


.admin-notifications {
    position: relative;
}

.admin-bell {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    position: relative;
}

.bell-dot {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
    background: #e03a2f;
    border-radius: 999px;
}

.admin-notifications-panel {
    position: absolute;
    right: 0;
    top: 48px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    width: min(320px, 80vw);
    box-shadow: var(--shadow);
    padding: 12px;
    z-index: 20;
}

.admin-notifications-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.admin-notifications-panel ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.admin-notifications-panel li {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px;
    background: #fbfaf7;
}

.admin-notifications-panel li.is-unread {
    border-color: rgba(15, 63, 46, 0.4);
    background: #f4fbf7;
}

.admin-notifications-panel li strong {
    display: block;
    font-size: 0.9rem;
}

.admin-notifications-panel li span {
    display: block;
    font-size: 0.8rem;
    color: var(--muted);
    margin-top: 4px;
}

.admin-table-notifications {
    grid-template-columns: 60px 1.4fr 1.6fr 100px 160px 140px;
}

.admin-filters {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-filter-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(15, 63, 46, 0.12);
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    background: #fbf7f2;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.admin-filter-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(27, 24, 16, 0.12);
}

.admin-filter-link.is-active {
    background: var(--green);
    color: #fff;
    border-color: var(--green);
}

.admin-pagination {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.admin-main .section-title {
    margin-top: 0;
}

.admin-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.admin-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px;
    box-shadow: var(--shadow);
}

.admin-card--tool {
    display: grid;
    gap: 10px;
}

.admin-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.admin-tools-group {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px;
    box-shadow: var(--shadow);
}

.admin-tools-head {
    margin-bottom: 12px;
}

.admin-tools-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.admin-tools-links li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #fbf7f2;
    border: 1px solid rgba(15, 63, 46, 0.08);
}

.admin-tools-links strong {
    display: block;
    font-size: 0.95rem;
    color: var(--green-900);
}

.admin-tools-links .muted {
    font-size: 0.82rem;
}

.admin-tools-form label {
    position: relative;
}

.admin-tools-results {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(15, 63, 46, 0.12);
    padding: 6px;
    display: grid;
    gap: 4px;
    z-index: 5;
    max-height: 220px;
    overflow: auto;
}

.admin-tools-item {
    text-align: left;
    border: none;
    background: #f7f4ef;
    padding: 8px 10px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.88rem;
}

.admin-tools-item:hover {
    background: #efe7db;
}

.admin-card strong {
    display: block;
    font-size: 1.6rem;
    margin: 6px 0;
    color: var(--green-900);
}

.admin-alert {
    background: #fff8e5;
    border: 1px solid #f2d59c;
    border-radius: 14px;
    padding: 16px;
}

.admin-alert--ok {
    background: #e6f5ea;
    border-color: #b8e3c5;
}

.admin-alert ul {
    margin: 10px 0 0;
    padding-left: 18px;
}

.admin-table {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px;
    box-shadow: var(--shadow);
}

.admin-table-row {
    display: grid;
    grid-template-columns: 60px 1fr 1fr 120px 120px;
    gap: 10px;
    padding: 10px 8px;
    align-items: center;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

.admin-table-courses {
    grid-template-columns: 60px 1.2fr 1fr 120px 100px 120px;
}

.admin-table-reviews {
    grid-template-columns: 60px 1.2fr 1.2fr 1fr 90px 120px 100px;
}

.admin-table-messages {
    grid-template-columns: 60px 140px 1fr 1.4fr 160px 100px;
}

.admin-table-wide {
    grid-template-columns: 60px 1.2fr 1.2fr 100px 90px 100px 160px;
}

.admin-table-sales {
    grid-template-columns: minmax(0, 2fr) 140px 160px;
}

.admin-table-users {
    grid-template-columns: 60px 1fr 1.4fr 120px 120px 100px 170px;
}

.admin-table-row:last-child {
    border-bottom: none;
}

.admin-table-head {
    font-weight: 700;
    color: var(--green-900);
}

.data-table {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px;
    box-shadow: var(--shadow);
}

.data-row {
    display: grid;
    grid-template-columns: 80px 1.6fr 110px 90px 100px 160px;
    gap: 10px;
    padding: 10px 8px;
    align-items: center;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

.data-row.compact {
    grid-template-columns: 1fr 140px;
}

.data-row:last-child {
    border-bottom: none;
}

.data-head {
    font-weight: 700;
    color: var(--green-900);
}

.admin-link {
    color: var(--green-900);
    font-weight: 600;
}

.admin-form {
    display: grid;
    gap: 16px;
}

.admin-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.admin-form label {
    display: grid;
    gap: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--ink);
}

.admin-form input,
.admin-form textarea,
.admin-form select {
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    font-family: inherit;
}

.admin-form .input-required {
    border-color: #c9483f;
    box-shadow: 0 0 0 1px rgba(201, 72, 63, 0.15);
}

.admin-form .input-required.is-valid {
    border-color: #2f7a47;
    box-shadow: 0 0 0 1px rgba(47, 122, 71, 0.2);
}

.admin-form .input-required.is-invalid {
    border-color: #c9483f;
    box-shadow: 0 0 0 1px rgba(201, 72, 63, 0.2);
}

.admin-section {
    padding: 16px;
    border: 2px solid var(--green-700);
    border-radius: 14px;
    background: #fff;
    display: grid;
    gap: 14px;
}

.admin-section-info {
    border-color: #1b5f3f;
    background: #fff;
}

.admin-section-price {
    border-color: #c59b2c;
    background: #fff8e5;
}

.admin-section-steps {
    border-color: #1d4f5d;
    background: #f4fbff;
}

.admin-section-lessons {
    border-color: #5a3f1f;
    background: #fbf7f2;
}

.admin-dashboard {
    display: grid;
    gap: 24px;
}

.admin-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.admin-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.admin-quick {
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--green-900);
    color: #fff;
    font-weight: 700;
    border: 1px solid var(--green-900);
}

.admin-quick.is-outline {
    background: #fff;
    color: var(--green-900);
}

.admin-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px;
}

.admin-card--kpi {
    display: flex;
    gap: 14px;
    align-items: center;
}

.admin-card-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--sand);
    color: var(--green-900);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.5px;
}

.admin-panels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.admin-panel {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px;
    box-shadow: var(--shadow);
    display: grid;
    gap: 14px;
}

.admin-panel--wide {
    grid-column: 1 / -1;
}

.admin-panel-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.admin-link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.admin-link-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 14px;
    background: #fbfaf7;
    display: grid;
    gap: 6px;
    color: var(--ink);
}

.admin-link-card:hover {
    border-color: rgba(15, 63, 46, 0.4);
    box-shadow: 0 10px 20px rgba(15, 63, 46, 0.12);
}

.admin-link-card small {
    color: var(--muted);
    font-size: 0.85rem;
}

.admin-status-list {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 8px;
    color: var(--muted);
}

.bonus-hero {
    padding: 70px 0 60px;
    text-align: center;
    background: #f6f8f4;
}

.bonus-hero-inner {
    display: grid;
    gap: 18px;
    justify-items: center;
}

.bonus-kicker {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.75rem;
    color: var(--green-900);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 16px;
}

.bonus-kicker::before,
.bonus-kicker::after {
    content: "";
    width: 46px;
    height: 1px;
    background: rgba(15, 63, 46, 0.4);
}

.bonus-hero h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(2.2rem, 3.6vw, 3.2rem);
    margin: 0;
    color: var(--ink);
}

.bonus-hero p {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 760px;
    margin: 0;
}

.bonus-split {
    padding: 70px 0;
    background: #f4f8f2;
}

.bonus-split-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 40px;
    align-items: stretch;
}

.bonus-media {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #fff;
}

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

.bonus-content {
    display: grid;
    align-content: center;
    gap: 16px;
}

.bonus-section-kicker {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.75rem;
    color: var(--green-900);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 16px;
}

.bonus-section-kicker::before,
.bonus-section-kicker::after {
    content: "";
    width: 46px;
    height: 1px;
    background: rgba(15, 63, 46, 0.4);
}

.bonus-content h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(2rem, 3vw, 2.8rem);
    margin: 0;
    color: var(--ink);
}

.bonus-video-section {
    padding: 70px 0 90px;
    background: #f4f8f2;
}

.bonus-video-section h3 {
    font-size: 1.5rem;
    margin: 0 0 18px;
    color: var(--ink);
}

.bonus-video-section h3 span {
    color: var(--green-900);
    text-decoration: underline;
}

.bonus-video {
    background: #000;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.bonus-video video {
    width: 100%;
    display: block;
}

.admin-section h3 {
    margin: 0;
    font-size: 1.05rem;
    color: var(--green-900);
}

.admin-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.admin-search {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-search input {
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid var(--border);
    min-width: 240px;
}

.step-row,
.lesson-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 10px;
    align-items: center;
    background: #fbfaf7;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px 12px;
}

.remove-row {
    justify-self: flex-start;
}

.dropzone-field {
    display: grid;
    gap: 6px;
}

.dropzone {
    border: 2px dashed rgba(15, 63, 46, 0.3);
    border-radius: 12px;
    padding: 8px 10px;
    text-align: center;
    color: var(--muted);
    cursor: pointer;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.dropzone.is-drag {
    border-color: var(--green-900);
    background: rgba(15, 63, 46, 0.08);
    color: var(--green-900);
}

.admin-actions {
    display: flex;
    justify-content: flex-end;
}

.admin-progress {
    display: grid;
    gap: 6px;
    align-items: center;
    min-width: 220px;
}

.admin-progress-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--muted);
}

.admin-progress-bar {
    height: 8px;
    background: #efe7da;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.admin-progress-bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--green-900), var(--green-700));
    width: 0;
}

.lesson-progress {
    display: grid;
    gap: 6px;
}

.lesson-progress-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--muted);
}

.lesson-progress-bar {
    height: 6px;
    background: #efe7da;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.lesson-progress-bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--green-900), var(--green-700));
    width: 0;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.status-none {
    background: #e9e2d6;
    color: #6b655b;
}

.status-pending {
    background: #fff3d6;
    color: #8b5d0b;
}

.status-uploading {
    background: #f0edff;
    color: #4c3d8f;
}

.status-processing {
    background: #e5f2ff;
    color: #1f5d9a;
}

.status-ready {
    background: #e4f6ea;
    color: #1f6b43;
}

.status-failed {
    background: #fde9e6;
    color: #8c2f24;
}

@media (max-width: 1024px) {
    .course-row {
        scroll-padding: 8px;
    }

    .course-detail {
        grid-template-columns: 1fr;
    }

    .course-hero {
        grid-template-columns: 1fr;
    }

    .course-layout {
        grid-template-columns: 1fr;
    }

    .course-action-card {
        position: static;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .book-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .book-actions {
        display: flex;
        justify-content: center;
    }

    .about-inner {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .nav {
        position: fixed;
        inset: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 18px;
        background: rgba(15, 63, 46, 0.98);
        color: var(--white);
        z-index: 120;
        font-size: 1.2rem;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-12px);
        transition: opacity 0.25s ease, transform 0.25s ease;
    }

    .nav.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-toggle {
        display: inline-flex;
    }

    .header-inner {
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }

    .nav a {
        color: var(--white);
        font-weight: 700;
    }

    .nav .cta {
        background: var(--yellow-500);
        color: var(--green-900);
    }

    .nav-close {
        display: inline-flex;
        position: absolute;
        top: 24px;
        right: 24px;
        width: 44px;
        height: 44px;
        border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        background: transparent;
        color: var(--white);
        font-size: 30px;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .newsletter-panel {
        padding: 32px 24px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }

    .footer-links {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        justify-items: center;
        gap: 16px;
    }

    .footer-links h4 {
        margin-bottom: 6px;
    }

    .footer-links a {
        margin-bottom: 4px;
    }

    .course-row {
        scroll-padding: 8px;
    }

    .admin-shell {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        display: none;
    }
}

@media (max-width: 840px) {
    .section {
        padding: 48px 0;
    }

    .hero {
        padding: 30px 0 18px;
    }

    .hero-inner {
        gap: 26px;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
        margin-top: 18px;
    }

    .hero-inner > img {
        width: min(100%, 420px);
        margin: 0 auto;
        border-radius: 18px;
        box-shadow: var(--shadow);
    }

    .course-card {
        flex: 0 0 calc((100% - 24px) / 2);
    }

    .course-media {
        min-height: 150px;
    }

    .about-content {
        text-align: center;
    }

    .newsletter-strip-inner {
        text-align: center;
        justify-content: center;
    }

    .course-catalog-head {
        justify-content: center;
        text-align: center;
    }

    .course-filter {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .course-filter-input {
        min-width: 0;
        flex: 1 1 180px;
    }

    .newsletter-landing-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .newsletter-landing-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .newsletter-landing-actions {
        justify-content: center;
    }

    .newsletter-landing-email {
        justify-content: center;
    }

    .bonus-split-inner {
        grid-template-columns: 1fr;
    }

    .bonus-content {
        text-align: center;
        justify-items: center;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 34px 0 22px;
    }

    .hero h1 {
        margin: 18px 0 16px;
    }

    .hero p {
        margin: 0 auto;
        max-width: 28ch;
        line-height: 1.6;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .section-subtitle {
        margin-bottom: 22px;
    }

    .course-card {
        min-height: auto;
        flex: 0 0 100%;
    }

    .hero-inner > img {
        display: none;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .course-body {
        padding: 18px;
    }

    .course-media h3 {
        font-size: 1.35rem;
    }

    .course-meta {
        gap: 6px;
    }

    .about-inner {
        gap: 24px;
    }

    .about-stats {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .about-stat {
        width: min(100%, 360px);
        text-align: center;
    }

    .owned-card {
        grid-template-columns: 1fr;
    }

    .owned-body {
        flex-direction: column;
        align-items: flex-start;
    }

    .account-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .newsletter-form {
        width: 100%;
        justify-content: center;
    }

    .newsletter-form input {
        width: min(100%, 320px);
    }

    .course-filter {
        border-radius: 18px;
        padding: 12px 16px;
    }

    .course-filter-reset {
        width: 100%;
        justify-content: center;
    }

    .newsletter-landing {
        padding: 64px 0 70px;
    }

    .newsletter-landing-card {
        padding: 22px;
    }

    .bonus-hero {
        padding: 54px 0 46px;
    }

    .bonus-hero h1 {
        font-size: 2rem;
    }

    .bonus-hero p {
        font-size: 1rem;
    }

    .bonus-split {
        padding: 54px 0;
    }

    .bonus-video-section {
        padding: 54px 0 70px;
    }
}
.admin-hero--pro {
    background: #0b3c2b;
    color: #fff;
    border-radius: 20px;
    padding: 22px 24px;
    box-shadow: 0 18px 32px rgba(11, 60, 43, 0.2);
}

.admin-hero--pro .section-title,
.admin-hero--pro .section-subtitle {
    color: #fff;
}

.admin-kicker {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.7rem;
    opacity: 0.7;
    margin-bottom: 6px;
}

.admin-kpi-grid--pro .admin-card {
    border: 1px solid rgba(15, 63, 46, 0.12);
    background: #fffdf9;
}

.admin-card--stat {
    padding: 18px 20px;
}

.admin-card--stat strong {
    font-size: 1.6rem;
    color: var(--green-900);
}

.admin-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    margin-bottom: 6px;
}

.admin-meta {
    display: block;
    margin-top: 6px;
    font-size: 0.85rem;
    color: var(--muted);
}

.admin-dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 20px;
}

@media (max-width: 1024px) {
    .admin-dashboard-grid {
        grid-template-columns: 1fr;
    }
}

.admin-panel--pro {
    background: #fff;
    border: 1px solid rgba(15, 63, 46, 0.12);
    box-shadow: 0 14px 28px rgba(15, 63, 46, 0.08);
}

.admin-panel--full {
    width: 100%;
}

.admin-revenue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.admin-revenue-grid strong {
    font-size: 1.2rem;
    color: var(--green-900);
}

.admin-sparkline {
    background: #f6f2ea;
    border-radius: 14px;
    padding: 12px;
    display: grid;
    gap: 6px;
}

.admin-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.admin-pill--ok {
    background: #dff3e6;
    color: #1b6b3e;
}

.admin-pill--warn {
    background: #fff3d4;
    color: #8a5b00;
}

.admin-pill--alert {
    background: #fde1df;
    color: #9b2c2c;
}

.admin-pill--neutral {
    background: #e8e3d9;
    color: #5c5244;
}

.admin-ops-list {
    display: grid;
    gap: 12px;
}

.admin-ops-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #fbf7f2;
    border: 1px solid rgba(15, 63, 46, 0.08);
}

.admin-actions-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-panels--pro {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.admin-table-mini {
    display: grid;
    gap: 8px;
}

.admin-table-mini-row {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 0.8fr);
    gap: 10px;
    padding: 10px 6px;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

.admin-table-mini-row span {
    min-width: 0;
}

.admin-table-mini-row.admin-table-mini-head {
    font-weight: 700;
    color: var(--green-900);
    border-bottom: 1px solid rgba(15, 63, 46, 0.2);
}

.admin-table-mini-row:last-child {
    border-bottom: none;
}

.admin-table-mini-row:nth-child(even) {
    background: #fbfaf7;
    border-radius: 10px;
}

.admin-table-mini-row .admin-pill {
    width: fit-content;
}

@media (max-width: 780px) {
    .admin-table-mini-row {
        grid-template-columns: 1fr;
    }
}
.admin-table-mini--3 .admin-table-mini-row {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.9fr) minmax(0, 0.8fr);
}

.admin-table-mini--2 .admin-table-mini-row {
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 0.6fr);
}

