:root {
    --teal: #48B9B2;
    --deep-teal: #003E43;
    --gold: #FFD000;
    --dark-1: #002C38;
    --dark-2: #001316;

    --background: #F4F7F8;
    --surface: #FFFFFF;
    --surface-soft: #F8FBFB;

    --text: #102027;
    --muted: #617177;
    --border: #DDE7E8;

    --success: #15803D;
    --danger: #B42318;

    --shadow: 0 12px 30px rgba(0, 44, 56, 0.08);
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Roboto", Arial, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(72, 185, 178, 0.12), transparent 32%),
        var(--background);
    color: var(--text);
    line-height: 1.55;
}

a {
    color: var(--deep-teal);
    text-decoration: none;
    font-weight: 500;
}

a:hover {
    color: var(--teal);
}

.page-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 32px 24px 56px;
    flex: 1;
}

/* Navbar */

.navbar {
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 20;
}

.navbar-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-logo {
    height: 52px;
    width: auto;
    display: block;
}

.brand-name {
    display: block;
    color: var(--deep-teal);
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.brand-tagline {
    color: var(--muted);
    font-size: 0.92rem;
    margin-top: 1px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.nav-links a {
    font-size: 0.95rem;
}

.nav-button,
.nav-button-link {
    background: var(--deep-teal);
    color: white !important;
    border: 1px solid var(--deep-teal);
    border-radius: 999px;
    padding: 9px 16px;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(0, 62, 67, 0.16);
}

.nav-button:hover,
.nav-button-link:hover {
    background: var(--dark-2);
    text-decoration: none;
}

.form-inline {
    display: inline;
}

/* Hero */

.hero {
    background:
        linear-gradient(135deg, rgba(0, 44, 56, 0.97), rgba(0, 62, 67, 0.96)),
        linear-gradient(90deg, var(--dark-1), var(--dark-2));
    color: white;
    padding: 72px 24px;
    border-bottom: 6px solid var(--teal);
}

.hero-inner {
    max-width: 1120px;
    margin: 0 auto;
}

.hero h1 {
    margin: 0 0 14px;
    max-width: 820px;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.hero p {
    margin: 0;
    max-width: 760px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.1rem;
}

.hero h1 {
    color: white;
    position: relative;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.hero h1::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    margin-top: 14px;
    background: var(--teal);
    border-radius: 2px;
}

.hero p {
    color: rgba(255, 255, 255, 0.88);
}

/* Typography */

h1,
h2,
h3 {
    color: var(--text);
    letter-spacing: -0.035em;
    line-height: 1.16;
}

h1 {
    font-size: clamp(2rem, 3vw, 2.9rem);
    margin: 0 0 18px;
}

h2 {
    font-size: 1.65rem;
    margin: 0 0 16px;
}

h3 {
    font-size: 1.15rem;
    margin: 0 0 12px;
}

p {
    margin-top: 0;
}

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

.section-title {
    margin: 36px 0 18px;
}

.price {
    font-weight: 900;
    color: var(--deep-teal);
}

/* Cards and layout */

.card,
.info-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 22px;
    box-shadow: var(--shadow);
}

.card:hover,
.info-box:hover {
    border-color: rgba(72, 185, 178, 0.55);
}

.grid-two {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 26px;
    align-items: start;
}

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

.badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    background: rgba(72, 185, 178, 0.14);
    color: var(--deep-teal);
    border: 1px solid rgba(72, 185, 178, 0.28);
    border-radius: 999px;
    padding: 6px 11px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    margin-bottom: 12px;
}

/* Buttons */

.button,
button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--deep-teal);
    color: white;
    border: 1px solid var(--deep-teal);
    border-radius: 999px;
    padding: 11px 18px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 800;
    box-shadow: 0 10px 22px rgba(0, 62, 67, 0.16);
}

.button:hover,
button:hover {
    background: var(--dark-2);
    color: white;
    text-decoration: none;
}

.button-secondary {
    background: white;
    color: var(--deep-teal);
    border-color: var(--border);
    box-shadow: none;
}

.button-secondary:hover {
    background: var(--surface-soft);
    color: var(--deep-teal);
}

/* Lists */

ul.lesson-list {
    padding-left: 20px;
    margin-bottom: 0;
}

.lesson-list li {
    margin-bottom: 8px;
}

/* Forms */

form p {
    margin-bottom: 16px;
}

label {
    display: block;
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--text);
}

input,
select,
textarea {
    width: 100%;
    max-width: 460px;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 11px 12px;
    font: inherit;
    background: white;
    color: var(--text);
}

input:focus,
select:focus,
textarea:focus {
    outline: 3px solid rgba(72, 185, 178, 0.22);
    border-color: var(--teal);
}

.helptext,
form ul {
    display: block;
    max-width: 680px;
    color: var(--muted);
    font-size: 0.9rem;
}

.errorlist {
    color: var(--danger);
    font-weight: 700;
}

/* Status */

.status-paid {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    color: var(--success);
    background: rgba(21, 128, 61, 0.09);
    border: 1px solid rgba(21, 128, 61, 0.18);
    border-radius: 999px;
    padding: 6px 11px;
    font-weight: 900;
}

/* Media */

iframe {
    max-width: 100%;
    border-radius: 16px;
}

/* Footer */

.footer {
    margin-top: auto;
    border-top: 1px solid var(--border);
    background: var(--dark-2);
    color: rgba(255, 255, 255, 0.76);
}

.footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 30px 24px;
    font-size: 0.94rem;
}

.footer strong {
    color: white;
}

.footer p {
    margin: 4px 0 12px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 14px 0;
}

.footer a {
    color: white;
}

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

.footer-contact {
    color: rgba(255, 255, 255, 0.72);
}

/* Mobile */

@media (max-width: 768px) {
    .navbar-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        width: 100%;
        gap: 12px;
    }

    .grid-two,
    .info-strip {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 52px 24px;
    }

    .container {
        padding: 26px 18px 44px;
    }

    .card,
    .info-box {
        padding: 20px;
    }

    input,
    select,
    textarea {
        max-width: 100%;
    }
}


/*    */
.badge-light {
    background: rgba(255, 255, 255, 0.12);
    color: white;
    border-color: rgba(255, 255, 255, 0.25);
}

.feature-card {
    background:
        linear-gradient(135deg, rgba(72, 185, 178, 0.10), rgba(255, 255, 255, 1));
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin: 42px 0 18px;
}

.section-heading h2 {
    margin-bottom: 0;
}

.section-heading p {
    max-width: 420px;
    margin-bottom: 0;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 28px;
}

.course-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 26px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    min-height: 320px;
}

.course-card:hover {
    border-color: rgba(72, 185, 178, 0.65);
    transform: translateY(-2px);
    transition: 0.2s ease;
}

.course-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.course-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--deep-teal), var(--teal));
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.course-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.course-description {
    color: var(--muted);
    margin-bottom: 18px;
}

.course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    margin-bottom: 22px;
}

.course-meta span {
    font-size: 0.82rem;
    color: var(--deep-teal);
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 6px 10px;
    font-weight: 700;
}

.course-card-footer {
    border-top: 1px solid var(--border);
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

.price-label {
    display: block;
    color: var(--muted);
    font-size: 0.82rem;
    margin-bottom: 2px;
}

.clean-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.clean-list li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 10px;
}

.clean-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 9px;
    height: 9px;
    background: var(--teal);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(72, 185, 178, 0.14);
}

.support-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

@media (max-width: 768px) {
    .section-heading,
    .support-card,
    .course-card-footer {
        flex-direction: column;
        align-items: flex-start;
    }

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

/*   */
.section-heading-simple {
    display: block;
}

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

/* Course Description */
.course-description-long {
    line-height: 1.7;
    font-size: 1.02rem;
    color: var(--text);
}

.course-description-long p {
    margin-bottom: 16px;
}

.course-description-long ul {
    margin: 12px 0;
    padding-left: 20px;
}

.course-description-long li {
    margin-bottom: 8px;
}

/* Modules/lessons */
.course-hero-card {
    padding: 30px;
}

.module-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 22px;
    margin-bottom: 18px;
    box-shadow: var(--shadow);
}

.module-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-bottom: 14px;
}

.module-header h3 {
    margin-bottom: 0;
}

.module-count {
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 700;
}

.module-lesson-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.module-lesson-list li {
    padding: 11px 0;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.module-lesson-list a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.lesson-dot {
    width: 10px;
    height: 10px;
    background: var(--teal);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(72, 185, 178, 0.14);
}

.locked-card {
    background: linear-gradient(135deg, rgba(0, 62, 67, 0.05), white);
}

.access-card {
    position: sticky;
    top: 110px;
}

.access-price {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 18px 0;
    margin: 18px 0;
}

.access-price span {
    display: block;
    color: var(--muted);
    font-size: 0.86rem;
    margin-bottom: 4px;
}

.access-price strong {
    display: block;
    font-size: 1.7rem;
    color: var(--deep-teal);
}

.small-note {
    margin-top: 14px;
    color: var(--muted);
    font-size: 0.9rem;
}

.lesson-layout {
    max-width: 880px;
    margin: 0 auto;
}

.lesson-card {
    padding: 32px;
}

.lesson-content {
    margin-top: 24px;
    font-size: 1.04rem;
    line-height: 1.75;
}

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

.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    margin: 24px 0;
    border-radius: 18px;
    overflow: hidden;
    background: var(--dark-2);
}

.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .access-card {
        position: static;
    }

    .module-header,
    .module-lesson-list li {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* Forms */

.form-container {
    max-width: 520px;
    margin: 0 auto;
}

.form-card {
    padding: 28px;
}

.full-width {
    width: 100%;
    margin-top: 12px;
}

.form-footer {
    margin-top: 18px;
    font-size: 0.92rem;
}

/* Empty courses */

.empty-state {
    text-align: center;
    padding: 32px;
}

.empty-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

/* active nav */

.nav-links a.active {
    color: var(--teal);
    font-weight: 800;
}


/* legal pages */

.legal-container {
    max-width: 820px;
    margin: 0 auto;
}

.legal-header {
    margin-bottom: 22px;
}

.legal-card {
    padding: 30px;
}

.legal-content h2 {
    margin-top: 26px;
    font-size: 1.2rem;
}

.legal-content p {
    color: var(--muted);
    line-height: 1.7;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content {
    font-size: 1rem;
}

.legal-content a {
    font-weight: 800;
}


/* course progress */

.progress-bar {
    width: 100%;
    height: 10px;
    background: #e8e8e8;
    border-radius: 999px;
    overflow: hidden;
    margin: 10px 0 16px;
}

.progress-fill {
    height: 100%;
    background: #111827;
    border-radius: 999px;
}

/* Next / Previous lesson buttons */

.lesson-navigation {
    margin-top: 30px;
}

.lesson-navigation .nav-buttons {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center;
    width: 100%;
}

.lesson-navigation .nav-buttons a {
    display: inline-block;
    min-width: 120px;
    text-align: center;
}

/* Course completion */

.completed {
    color: green;
    font-weight: bold;
    margin-left: 10px;
}

/* Lesson Progress */

.progress-container {
    margin: 20px 0;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background-color: #eee;
    border-radius: 5px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: #4CAF50;
    width: 0%;
    transition: width 0.3s ease;
}

/* Lesson Locking */
.locked-lesson {
    color: #999;
    cursor: not-allowed;
    display: inline-block;
}

.locked-lesson:hover {
    text-decoration: none;
}

/* Messages/errors/alerts */
.messages {
    max-width: 900px;
    margin: 1.5rem auto 0;
    padding: 0 1rem;
}

.alert {
    padding: 1rem 1.25rem;
    border-radius: 14px;
    margin-bottom: 1rem;
    font-weight: 600;
}

.alert-error {
    background: #fff3f3;
    color: #8a1f1f;
    border: 1px solid #f1b5b5;
}

.alert-success {
    background: #effaf5;
    color: #116b3a;
    border: 1px solid #a8e0c2;
}

.alert-info {
    background: #eef8fb;
    color: #0c5263;
    border: 1px solid #afdde8;
}

.protected-content {
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.protected-content img {
    pointer-events: none;
    -webkit-user-drag: none;
    user-drag: none;
}