/* =========================================================
   AI ACADEMY 1U
   GLOBAL LESSON DESIGN SYSTEM
   Used by all lesson/video ContentVideoHTML
========================================================= */

:root {
    --lesson-bg: #eef4f5;
    --lesson-surface: #ffffff;
    --lesson-surface-soft: #f4faf8;
    --lesson-dark: #071a20;
    --lesson-dark-2: #0d3842;
    --lesson-dark-3: #103f49;
    --lesson-primary: #1aa37f;
    --lesson-primary-2: #43d1a7;
    --lesson-primary-light: #7ceccb;
    --lesson-blue: #176f91;
    --lesson-warning: #e59b2d;
    --lesson-danger: #d95c5c;
    --lesson-text: #263d43;
    --lesson-text-soft: #667d83;
    --lesson-border: #dce8ea;
    --lesson-radius-sm: 10px;
    --lesson-radius-md: 15px;
    --lesson-radius-lg: 20px;
    --lesson-radius-xl: 24px;
    --lesson-shadow-sm: 0 6px 18px rgba(0,0,0,.06);
    --lesson-shadow-md: 0 12px 32px rgba(0,0,0,.09);
    --lesson-shadow-lg: 0 18px 48px rgba(0,0,0,.16);
    --lesson-max-width: 1180px;
}

.lesson-page {
    width: 100%;
    overflow: hidden;
    background: var(--lesson-bg);
    color: var(--lesson-text);
    font-family: Inter, Arial, Helvetica, sans-serif;
}
.lesson-page * { box-sizing: border-box; }
.lesson-page img { max-width: 100%; height: auto; }
.lesson-page p {
    margin: 0 0 18px;
    font-size: 17px;
    line-height: 1.82;
}
.lesson-page strong { font-weight: 800; }

.lesson-section {
    position: relative;
    max-width: var(--lesson-max-width);
    margin: 32px auto;
    padding: 58px 55px;
    border-radius: var(--lesson-radius-xl);
}
.lesson-section-light {
    background: var(--lesson-surface);
    box-shadow: var(--lesson-shadow-md);
}
.lesson-section-soft {
    background: linear-gradient(135deg,#f7fcfb,#eaf8f4);
    box-shadow: var(--lesson-shadow-sm);
}
.lesson-section-dark {
    color: #fff;
    background:
        radial-gradient(circle at 85% 10%,rgba(65,210,165,.19),transparent 30%),
        linear-gradient(135deg,var(--lesson-dark),var(--lesson-dark-2));
    box-shadow: var(--lesson-shadow-lg);
}
.lesson-section-blue {
    color: #fff;
    background:
        radial-gradient(circle at 15% 10%,rgba(68,220,175,.17),transparent 30%),
        linear-gradient(135deg,#0a293a,#0d5960);
    box-shadow: var(--lesson-shadow-lg);
}

.lesson-hero {
    color: #fff;
    background:
        radial-gradient(circle at 12% 10%,rgba(70,221,177,.27),transparent 30%),
        radial-gradient(circle at 90% 80%,rgba(18,112,255,.17),transparent 35%),
        linear-gradient(135deg,#06191c,#0b3537,#071d28);
    box-shadow: 0 20px 55px rgba(0,0,0,.20);
}
.lesson-badge {
    display: inline-block;
    margin-bottom: 18px;
    padding: 8px 18px;
    color: #063129;
    background: linear-gradient(135deg,#82f2d0,#42cea6);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.25px;
}
.lesson-title {
    margin: 0;
    max-width: 900px;
    color: #fff;
    font-size: 48px;
    line-height: 1.14;
    font-weight: 900;
}
.lesson-subtitle {
    margin-top: 12px;
    color: var(--lesson-primary-light);
    font-size: 22px;
    line-height: 1.45;
    font-weight: 800;
}
.lesson-accent-line {
    width: 120px;
    height: 4px;
    margin: 28px 0;
    border-radius: 20px;
    background: linear-gradient(90deg,#34ca9c,#9dffe0);
}

.lesson-heading {
    display: flex;
    align-items: center;
    gap: 17px;
    margin-bottom: 32px;
}
.lesson-heading-icon,
.lesson-heading-number {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #07352d;
    background: linear-gradient(135deg,#7df0cc,#3cc79e);
    border-radius: 17px;
    font-size: 20px;
    font-weight: 900;
}
.lesson-heading-label {
    display: block;
    margin-bottom: 4px;
    color: #169677;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.3px;
}
.lesson-heading h2 {
    margin: 0;
    color: #183f47;
    font-size: 31px;
    line-height: 1.25;
    font-weight: 900;
}
.lesson-section-dark .lesson-heading h2,
.lesson-section-blue .lesson-heading h2,
.lesson-hero .lesson-heading h2 { color: #fff; }
.lesson-section-dark .lesson-heading-label,
.lesson-section-blue .lesson-heading-label,
.lesson-hero .lesson-heading-label { color: var(--lesson-primary-light); }

.lesson-card {
    padding: 25px;
    background: #fff;
    border: 1px solid var(--lesson-border);
    border-radius: var(--lesson-radius-lg);
    box-shadow: var(--lesson-shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease;
}
.lesson-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--lesson-shadow-md);
}
.lesson-card-dark {
    color: #fff;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.14);
}
.lesson-card-active {
    border: 2px solid var(--lesson-primary-2);
    background: #e6fff7;
}

.lesson-grid {
    display: grid;
    gap: 20px;
    margin: 30px 0;
}
.lesson-grid-2 { grid-template-columns: repeat(2, 1fr); }
.lesson-grid-3 { grid-template-columns: repeat(3, 1fr); }
.lesson-grid-4 { grid-template-columns: repeat(4, 1fr); }
.lesson-grid-5 { grid-template-columns: repeat(5, 1fr); }

.lesson-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: #fff;
    background: linear-gradient(135deg,#0b8c6d,#27bf94);
    border-radius: 15px;
    font-size: 20px;
    font-weight: 900;
}
.lesson-icon-circle { border-radius: 50%; }

.lesson-action {
    display: block;
    width: max-content;
    min-width: 165px;
    margin: 25px auto;
    padding: 14px 30px;
    text-align: center;
    color: #fff;
    background: linear-gradient(135deg,#0b8e6c,#24bd91);
    border-radius: 13px;
    font-size: 17px;
    font-weight: 900;
    box-shadow: 0 10px 25px rgba(24,164,124,.22);
}
.lesson-action-light {
    color: #07382f;
    background: linear-gradient(135deg,#8af3d3,#58d7af);
}
.lesson-action-danger {
    background: linear-gradient(135deg,#b74343,#df6262);
}

.lesson-highlight {
    margin: 30px 0;
    padding: 25px;
    text-align: center;
    background: linear-gradient(135deg,#dcfff5,#c7f8ea);
    border: 2px solid #47cba3;
    border-radius: 17px;
}
.lesson-highlight-label {
    display: block;
    margin-bottom: 7px;
    color: #168d6e;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.2px;
}
.lesson-highlight strong {
    color: #12433c;
    font-size: 21px;
    line-height: 1.55;
}

.lesson-note {
    margin: 30px 0;
    padding: 24px;
    background: #eafaf5;
    border-left: 5px solid #26aa81;
    border-radius: 13px;
}
.lesson-note-label {
    display: block;
    margin-bottom: 6px;
    color: #188a6c;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.2px;
}

.lesson-warning {
    margin: 30px 0;
    padding: 25px;
    background: linear-gradient(135deg,#fff8ea,#fff0cf);
    border: 1px solid #efd08c;
    border-radius: 17px;
    color: #6f4b16;
}
.lesson-warning-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 21px;
    font-weight: 900;
}
.lesson-warning-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg,#dc8d25,#f2b34a);
    border-radius: 50%;
    font-size: 23px;
    font-weight: 900;
}

.lesson-success {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 30px 0;
    padding: 23px;
    background: #e5faf3;
    border: 1px solid #8adcc2;
    border-radius: 16px;
    color: #17483f;
}
.lesson-success-icon {
    flex: 0 0 43px;
    width: 43px;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #75eac7;
    color: #07372f;
    border-radius: 50%;
    font-weight: 900;
}

.lesson-flow {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 10px;
    margin: 32px 0;
}
.lesson-flow-step {
    flex: 1;
    padding: 20px 14px;
    text-align: center;
    background: #f3f8f7;
    border: 1px solid #dce8e5;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 900;
}
.lesson-flow-step span {
    display: block;
    width: 31px;
    height: 31px;
    margin: 0 auto 8px;
    line-height: 31px;
    color: #07362f;
    background: #75e9c6;
    border-radius: 50%;
}
.lesson-flow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lesson-primary);
    font-size: 22px;
    font-weight: 900;
}

.lesson-window {
    max-width: 820px;
    margin: 32px auto;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dae5e7;
    border-radius: 18px;
    box-shadow: 0 15px 38px rgba(0,0,0,.12);
}
.lesson-window-top {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 15px 17px;
    background: #edf2f3;
}
.lesson-window-dot {
    width: 10px;
    height: 10px;
    background: #99aaae;
    border-radius: 50%;
}
.lesson-window-body { padding: 28px; }

.lesson-profile-menu {
    max-width: 380px;
    margin: 28px auto;
    padding: 14px;
    color: #fff;
    background: #142b32;
    border-radius: 17px;
    box-shadow: var(--lesson-shadow-lg);
}
.lesson-profile-header {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 12px;
    border-bottom: 1px solid rgba(255,255,255,.10);
}
.lesson-profile-avatar {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #6ce7c0;
    color: #07372f;
    border-radius: 50%;
    font-weight: 900;
}
.lesson-profile-item {
    margin-top: 7px;
    padding: 13px;
    background: rgba(255,255,255,.05);
    border-radius: 10px;
}
.lesson-profile-item-danger { color: #ffb4b4; }

.lesson-settings {
    display: grid;
    grid-template-columns: 230px 1fr;
    max-width: 850px;
    margin: 34px auto;
    overflow: hidden;
    border: 1px solid #dbe6e8;
    border-radius: 18px;
    box-shadow: var(--lesson-shadow-md);
}
.lesson-settings-menu {
    padding: 18px;
    background: #142a31;
    color: #dce8e9;
}
.lesson-settings-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 7px;
    padding: 13px;
    border-radius: 10px;
}
.lesson-settings-menu-item-active {
    color: #082f29;
    background: #72e7c3;
    font-weight: 900;
}
.lesson-settings-content {
    padding: 30px;
    background: #fff;
    color: var(--lesson-text);
}
.lesson-setting-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #e5edef;
}

.lesson-chat {
    max-width: 820px;
    margin: 32px auto;
    padding: 20px;
    background: #17282d;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 18px;
    box-shadow: 0 17px 42px rgba(0,0,0,.30);
    color: #fff;
}
.lesson-chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 17px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.lesson-chat-logo {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #07372f;
    background: #73e8c4;
    border-radius: 12px;
    font-weight: 900;
}
.lesson-chat-main {
    padding: 42px 20px;
    text-align: center;
    color: #dfeaea;
    font-size: 24px;
    font-weight: 800;
}
.lesson-chat-input {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 17px;
    background: #293b41;
    border-radius: 15px;
}
.lesson-chat-input-text { flex: 1; }
.lesson-chat-send {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #77eac6;
    color: #07352d;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 900;
}

.lesson-prompt {
    margin: 26px auto;
    padding: 20px 24px;
    text-align: center;
    color: #fff;
    background: linear-gradient(135deg,#123c54,#116c74);
    border-radius: 15px;
    font-size: 19px;
    line-height: 1.55;
    font-weight: 800;
}

.lesson-checklist {
    display: grid;
    gap: 14px;
    margin: 28px 0;
}
.lesson-check-item {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 17px;
    background: #fff;
    border: 1px solid var(--lesson-border);
    border-radius: 13px;
}
.lesson-check-icon {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--lesson-primary);
    border-radius: 50%;
    font-weight: 900;
}

.lesson-summary-card {
    padding: 25px;
    color: #fff;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 17px;
}
.lesson-summary-number {
    color: var(--lesson-primary-light);
    font-size: 27px;
    font-weight: 900;
}

.lesson-brand-message {
    margin: 30px 0;
    padding: 24px;
    text-align: center;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 16px;
}
.lesson-brand-message-label {
    display: block;
    margin-bottom: 7px;
    color: var(--lesson-primary-light);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.2px;
}

.lesson-cta {
    overflow: hidden;
    text-align: center;
    color: #fff;
    background:
        radial-gradient(circle at 50% 0%,rgba(79,221,176,.27),transparent 35%),
        linear-gradient(135deg,#06171d,#0d3c40,#06181e);
    box-shadow: 0 20px 55px rgba(0,0,0,.18);
}
.lesson-cta h2 {
    margin: 5px 0 18px;
    color: #fff;
    font-size: 39px;
    font-weight: 900;
}
.lesson-cta-text {
    max-width: 850px;
    margin: 0 auto 28px !important;
    color: #d9ebe8;
    font-size: 19px !important;
}
.lesson-library-card {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 720px;
    margin: 32px auto;
    padding: 25px;
    text-align: left;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(122,239,203,.30);
    border-radius: 18px;
}
.lesson-library-icon {
    flex: 0 0 70px;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #07352e;
    background: linear-gradient(135deg,#78edc9,#44cda8);
    border-radius: 21px;
    font-size: 24px;
    font-weight: 900;
}
.lesson-library-label {
    display: block;
    color: #75e9c5;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.2px;
}
.lesson-library-title {
    display: block;
    margin-top: 5px;
    color: #fff;
    font-size: 21px;
    font-weight: 900;
}
.lesson-thanks {
    margin-top: 34px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.14);
    color: #7cecca;
    font-size: 20px;
    font-weight: 900;
}

.lesson-text-center { text-align: center; }
.lesson-text-left { text-align: left; }
.lesson-text-right { text-align: right; }
.lesson-mt-0 { margin-top: 0 !important; }
.lesson-mt-20 { margin-top: 20px !important; }
.lesson-mt-30 { margin-top: 30px !important; }
.lesson-mb-0 { margin-bottom: 0 !important; }
.lesson-mb-20 { margin-bottom: 20px !important; }
.lesson-mb-30 { margin-bottom: 30px !important; }

@media (max-width: 991px) {
    .lesson-section {
        width: 94%;
        padding: 48px 35px;
    }
    .lesson-title { font-size: 40px; }
    .lesson-grid-4,
    .lesson-grid-5 { grid-template-columns: repeat(2, 1fr); }
    .lesson-flow { flex-direction: column; }
    .lesson-flow-arrow { transform: rotate(90deg); }
}

@media (max-width: 767px) {
    .lesson-section {
        width: 92%;
        margin: 22px auto;
        padding: 35px 21px;
        border-radius: 16px;
    }
    .lesson-page p {
        font-size: 15.5px;
        line-height: 1.75;
    }
    .lesson-title { font-size: 31px; }
    .lesson-subtitle { font-size: 17px; }
    .lesson-heading { align-items: flex-start; }
    .lesson-heading h2 { font-size: 24px; }
    .lesson-grid-2,
    .lesson-grid-3,
    .lesson-grid-4,
    .lesson-grid-5 { grid-template-columns: 1fr; }
    .lesson-settings { grid-template-columns: 1fr; }
    .lesson-settings-menu {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 5px;
    }
    .lesson-library-card {
        display: block;
        text-align: center;
    }
    .lesson-library-icon { margin: 0 auto 18px; }
    .lesson-cta h2 { font-size: 30px; }
}

@media (max-width: 480px) {
    .lesson-section {
        width: 96%;
        padding: 30px 17px;
    }
    .lesson-title { font-size: 27px; }
    .lesson-heading-number,
    .lesson-heading-icon {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
    }
    .lesson-settings-menu { grid-template-columns: 1fr; }
}


/* =========================================================
   AI ACADEMY 1U
   RICH LESSON COMPONENTS
   Reusable blocks for Gemini / ChatGPT / AI Library lessons
========================================================= */

.lesson-section-soft-blue {
    background: linear-gradient(135deg,#f3f7ff,#e9f2ff);
    box-shadow: var(--lesson-shadow-sm);
}

.lesson-section-soft-gold {
    background: linear-gradient(135deg,#fffaf0,#fff2d4);
    box-shadow: var(--lesson-shadow-sm);
}

.lesson-section-purple {
    color: #fff;
    background:
        radial-gradient(circle at 20% 20%,rgba(122,80,255,.25),transparent 35%),
        linear-gradient(135deg,#111a3c,#27205d);
    box-shadow: var(--lesson-shadow-lg);
}

.lesson-section-deep-blue {
    color: #fff;
    background:
        radial-gradient(circle at 85% 20%,rgba(22,165,121,.22),transparent 30%),
        linear-gradient(135deg,#071a36,#0c365d);
    box-shadow: var(--lesson-shadow-lg);
}

.lesson-section-purple .lesson-heading h2,
.lesson-section-deep-blue .lesson-heading h2 {
    color: #fff;
}

.lesson-section-purple .lesson-heading-label,
.lesson-section-deep-blue .lesson-heading-label {
    color: var(--lesson-primary-light);
}

.lesson-kicker {
    display: inline-block;
    margin-bottom: 15px;
    padding: 7px 17px;
    color: #102448;
    background: linear-gradient(135deg,#e3b43e,#ffe077);
    border-radius: 30px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.lesson-gold-line {
    width: 110px;
    height: 4px;
    margin: 24px 0 30px;
    border-radius: 10px;
    background: linear-gradient(90deg,#9c6b13,#ffd65f,#9c6b13);
}

.lesson-hero-message {
    margin: 30px 0;
    padding: 22px 25px;
    text-align: center;
    color: #fff;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 15px;
    font-size: 18px;
    line-height: 1.7;
    font-weight: 700;
}

.lesson-hero-message strong {
    display: block;
    margin-top: 5px;
    color: #ffd65f;
    font-size: 25px;
    font-weight: 900;
}

.lesson-feature-card {
    padding: 28px 22px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--lesson-border);
    border-radius: 17px;
    box-shadow: 0 12px 34px rgba(0,0,0,.08);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.lesson-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(0,0,0,.12);
    border-color: rgba(26,163,127,.35);
}

.lesson-feature-number {
    color: #c89727;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1px;
}

.lesson-feature-title {
    margin: 10px 0 12px;
    color: #143a75;
    font-size: 18px;
    line-height: 1.45;
    font-weight: 900;
}

.lesson-feature-value {
    color: #159b75;
    font-size: 38px;
    line-height: 1.15;
    font-weight: 900;
}

.lesson-feature-note {
    margin-top: 8px;
    color: #607087;
    font-size: 14px;
    line-height: 1.55;
    font-weight: 700;
}

.lesson-feature-card-gold {
    background: linear-gradient(135deg,#fff9ea,#fff1c9);
    border: 2px solid #d4a62e;
}

.lesson-feature-card-gold .lesson-feature-value {
    color: #c59220;
}

.lesson-quote {
    max-width: 820px;
    margin: 32px auto;
    padding: 24px 30px;
    text-align: center;
    color: #fff;
    background: linear-gradient(135deg,#123c7a,#17619a);
    border-radius: 16px;
    font-size: 20px;
    line-height: 1.6;
    font-weight: 900;
    box-shadow: 0 12px 35px rgba(0,0,0,.14);
}

.lesson-quote-gold {
    background: linear-gradient(135deg,#8f6415,#d3a62e);
}

.lesson-quote-green {
    background: linear-gradient(135deg,#087157,#16a27a);
}

.lesson-result {
    max-width: 680px;
    margin: 32px auto;
    padding: 22px 25px;
    text-align: center;
    color: #fff;
    background: linear-gradient(135deg,#087157,#16a27a);
    border-radius: 15px;
    font-size: 27px;
    line-height: 1.4;
    font-weight: 900;
    box-shadow: 0 12px 35px rgba(0,0,0,.16);
}

.lesson-formula {
    max-width: 720px;
    margin: 32px auto;
    padding: 21px 25px;
    text-align: center;
    color: #ffd65f;
    background: linear-gradient(135deg,#0d3571,#116b9e);
    border-radius: 15px;
    font-size: 25px;
    line-height: 1.4;
    font-weight: 900;
    box-shadow: 0 12px 35px rgba(0,0,0,.16);
}

.lesson-prompt-card {
    max-width: 900px;
    margin: 30px auto;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dbe6e8;
    border-radius: 18px;
    box-shadow: 0 15px 38px rgba(0,0,0,.11);
}

.lesson-prompt-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 14px 18px;
    color: #dce8ea;
    background: linear-gradient(135deg,#102c37,#164b58);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.lesson-prompt-card-badge {
    display: inline-block;
    padding: 5px 11px;
    color: #07372f;
    background: #75e9c6;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 900;
}

.lesson-prompt-card-body {
    padding: 24px 26px;
    color: #173b45;
    background: linear-gradient(135deg,#ffffff,#f7fbfb);
    font-size: 18px;
    line-height: 1.7;
    font-weight: 750;
}

.lesson-output-card {
    max-width: 900px;
    margin: 30px auto;
    padding: 26px;
    background: linear-gradient(135deg,#f7fcfb,#eaf8f4);
    border: 1px solid #bfe9dc;
    border-left: 5px solid #26aa81;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(0,0,0,.07);
}

.lesson-output-label {
    display: block;
    margin-bottom: 10px;
    color: #168d6e;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}

.lesson-step-flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 35px 0;
}

.lesson-step-card {
    position: relative;
    padding: 24px 18px;
    text-align: center;
    background: #fff;
    border: 1px solid #dce8ea;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(0,0,0,.07);
    transition: transform .28s ease, box-shadow .28s ease;
}

.lesson-step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 34px rgba(0,0,0,.11);
}

.lesson-step-number {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: #07372f;
    background: linear-gradient(135deg,#86f2d1,#4fd2aa);
    border-radius: 50%;
    font-size: 14px;
    font-weight: 900;
}

.lesson-step-title {
    color: #153b75;
    font-size: 16px;
    font-weight: 900;
}

.lesson-step-text {
    margin-top: 8px;
    color: #65778c;
    font-size: 14px;
    line-height: 1.55;
}

.lesson-compare {
    display: grid;
    grid-template-columns: 1fr 80px 1fr;
    gap: 20px;
    align-items: center;
    margin: 35px 0;
}

.lesson-compare-card {
    padding: 30px;
    text-align: center;
    background: #fff;
    border: 1px solid #dbe6e8;
    border-radius: 17px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.lesson-compare-card-active {
    background: linear-gradient(135deg,#effbf7,#ddf5ed);
    border: 2px solid #1aa17b;
}

.lesson-compare-arrow {
    text-align: center;
    color: #d1a12e;
    font-size: 42px;
    font-weight: 900;
}

.lesson-browser {
    max-width: 900px;
    margin: 34px auto;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dbe5e7;
    border-radius: 18px;
    box-shadow: 0 15px 38px rgba(0,0,0,.12);
}

.lesson-browser-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 17px;
    background: #edf2f3;
}

.lesson-browser-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #9aa9ae;
}

.lesson-browser-address {
    flex: 1;
    margin-left: 8px;
    padding: 8px 13px;
    color: #65747b;
    background: #fff;
    border-radius: 9px;
    font-size: 12px;
}

.lesson-browser-body {
    padding: 30px;
}

.lesson-tip-list {
    display: grid;
    gap: 13px;
    margin: 28px 0;
}

.lesson-tip-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--lesson-border);
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,.05);
}

.lesson-tip-icon {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #07372f;
    background: #75e9c6;
    border-radius: 50%;
    font-weight: 900;
}

.lesson-big-message {
    margin: 35px 0;
    padding: 30px;
    text-align: center;
    color: #fff;
    background:
        radial-gradient(circle at 85% 15%,rgba(45,211,157,.20),transparent 32%),
        linear-gradient(135deg,#071a36,#0c365d);
    border-radius: 18px;
    box-shadow: var(--lesson-shadow-lg);
}

.lesson-big-message-label {
    color: #b9cfdf;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.lesson-big-message strong {
    display: block;
    margin-top: 8px;
    color: #ffd65f;
    font-size: 31px;
    line-height: 1.35;
    font-weight: 900;
}

.lesson-cta-button {
    display: inline-block;
    margin-top: 12px;
    padding: 15px 28px;
    color: #07372f;
    background: linear-gradient(135deg,#86f2d1,#4fd2aa);
    border-radius: 13px;
    font-size: 16px;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(61,203,159,.24);
    transition: transform .25s ease, box-shadow .25s ease;
}

.lesson-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 32px rgba(61,203,159,.32);
}

/* Motion helpers. WOW classes remain the primary scroll-reveal system. */
.lesson-motion-float {
    animation: lessonFloat 4.8s ease-in-out infinite;
}

.lesson-motion-pulse {
    animation: lessonPulse 2.8s ease-in-out infinite;
}

.lesson-motion-glow {
    animation: lessonGlow 3.2s ease-in-out infinite;
}

.lesson-motion-shimmer {
    position: relative;
    overflow: hidden;
}

.lesson-motion-shimmer::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-120%);
    background: linear-gradient(110deg,transparent 30%,rgba(255,255,255,.22) 50%,transparent 70%);
    animation: lessonShimmer 4.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes lessonFloat {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes lessonPulse {
    0%,100% { transform: scale(1); }
    50% { transform: scale(1.025); }
}

@keyframes lessonGlow {
    0%,100% { box-shadow: 0 12px 32px rgba(0,0,0,.09); }
    50% { box-shadow: 0 16px 42px rgba(26,163,127,.20); }
}

@keyframes lessonShimmer {
    0%,65% { transform: translateX(-120%); }
    100% { transform: translateX(120%); }
}

@media (max-width: 991px) {
    .lesson-step-flow {
        grid-template-columns: repeat(2, 1fr);
    }

    .lesson-compare {
        grid-template-columns: 1fr;
    }

    .lesson-compare-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 767px) {
    .lesson-formula,
    .lesson-result {
        font-size: 20px;
    }

    .lesson-quote {
        padding: 20px;
        font-size: 18px;
    }

    .lesson-step-flow {
        grid-template-columns: 1fr;
    }

    .lesson-prompt-card-body {
        padding: 20px;
        font-size: 16px;
    }

    .lesson-big-message strong {
        font-size: 25px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lesson-motion-float,
    .lesson-motion-pulse,
    .lesson-motion-glow,
    .lesson-motion-shimmer::after {
        animation: none !important;
    }

    .lesson-card,
    .lesson-feature-card,
    .lesson-step-card,
    .lesson-cta-button {
        transition: none !important;
    }
}
