body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: #f5f6fa;
}

.header {
    text-align: center;
    padding: 15px;
    background: #2f3640;
    color: white;
}

.container {
    padding: 15px;
}

.card {
    background: white;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.card.small {
    background: #dcdde1;
}

button {
    padding: 10px;
    border: none;
    background: #40739e;
    color: white;
    border-radius: 8px;
    cursor: pointer;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #2f3640;
    display: flex;
    justify-content: space-around;
}

.bottom-nav button {
    flex: 1;
    padding: 10px;
    background: none;
    color: white;
}
.card ul {
    padding-left: 20px;
    margin: 0;
}

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

.lesson-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 70px;
}

.lesson-actions button {
    flex: 1;
}
#answers button {
    width: 100%;
    margin-bottom: 10px;
    text-align: left;
}
.answer-btn {
    width: 100%;
    margin-bottom: 10px;
    text-align: left;
    background: white;
    color: #222;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.book-card {
    text-align: center;
}

.book-cover {
    width: 180px;
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    object-fit: cover;
}
.progress-bar {
    width: 100%;
    height: 20px;
    background: #dcdde1;
    border-radius: 10px;
    overflow: hidden;
    margin: 10px 0;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: #40739e;
}
.lesson-actions-wrap {
    flex-wrap: wrap;
}

.lesson-actions-wrap button {
    flex: 1 1 30%;
    min-width: 140px;
}

.lesson-item-card {
    background: #f0f2f5;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 12px;
    border: 1px solid #d9dde3;
}

.lesson-item-card h4 {
    margin-top: 0;
    margin-bottom: 8px;
}

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

body {
    background: linear-gradient(135deg, #eef2f7, #dfe9f3);
}

.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    padding: 20px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.card {
    background: white;
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 16px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

button {
    background: linear-gradient(135deg, #2a5298, #1e3c72);
    color: white;
    border: none;
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

button:hover {
    transform: scale(1.05);
    opacity: 0.95;
}
body {
    background: linear-gradient(180deg, #f5f7fa 0%, #e4ecf5 100%);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.container {
    max-width: 900px;
    margin: auto;
}

.header {
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: white;
    padding: 28px 20px;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
}

.card {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(8px);
    border-radius: 18px;
    padding: 20px;
    margin-bottom: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.25s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}
button {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    border: none;
    color: white;
    padding: 10px 16px;
    border-radius: 12px;
    font-weight: 500;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.2s ease;
}

button:hover {
    transform: scale(1.05);
    opacity: 0.95;
}
.lesson-item-card {
    background: linear-gradient(135deg, #ffffff, #f0f4f9);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
    border: 1px solid #dde3ea;
}
.book-subtitle {
    color: #4a5568;
    margin-top: 8px;
}

.highlight-card {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
}

.callout-card {
    background: linear-gradient(135deg, #203a43, #2c5364);
    color: white;
    text-align: center;
}

.callout-card button {
    background: white;
    color: #1e3c72;
    font-weight: 600;
    margin-top: 10px;
}

.contact-link {
    color: #1e3c72;
    text-decoration: none;
    font-weight: 600;
}

.contact-link:hover {
    text-decoration: underline;
}
.book-body {
    background:
        radial-gradient(circle at top left, rgba(81, 127, 196, 0.16), transparent 32%),
        radial-gradient(circle at bottom right, rgba(42, 82, 152, 0.18), transparent 30%),
        linear-gradient(180deg, #f4f7fb 0%, #e9eef6 100%);
    min-height: 100vh;
}

.book-shell {
    max-width: 1120px;
    margin: 0 auto;
    padding: 28px 18px 100px 18px;
}

.book-top {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 26px;
    align-items: center;
    margin-bottom: 26px;
}

.book-top-left {
    background: rgba(255,255,255,0.82);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 28px;
    padding: 34px 30px;
    box-shadow: 0 18px 50px rgba(21, 40, 70, 0.10);
}

.book-tag {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.book-title-main {
    font-size: 2.6rem;
    line-height: 1.06;
    margin: 0 0 16px 0;
    color: #14263f;
}

.book-lead {
    font-size: 1.06rem;
    line-height: 1.75;
    color: #42566d;
    max-width: 680px;
    margin: 0 0 24px 0;
}

.book-cta-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.book-primary-btn {
    background: linear-gradient(135deg, #16335f, #2a5298);
    color: white;
    border: none;
    border-radius: 14px;
    padding: 14px 20px;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 10px 24px rgba(30, 60, 114, 0.25);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.book-primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(30, 60, 114, 0.30);
    opacity: 0.98;
}

.book-primary-btn.large {
    padding: 15px 24px;
}

.book-secondary-link {
    color: #1f4f93;
    font-weight: 700;
    text-decoration: none;
}

.book-secondary-link:hover {
    text-decoration: underline;
}

.book-top-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.book-cover-frame {
    width: 100%;
    max-width: 360px;
    padding: 18px;
    border-radius: 30px;
    background: linear-gradient(145deg, rgba(255,255,255,0.96), rgba(233,240,249,0.86));
    box-shadow: 0 24px 60px rgba(18, 36, 66, 0.16);
    border: 1px solid rgba(255,255,255,0.75);
}

.book-cover-premium {
    width: 100%;
    display: block;
    border-radius: 20px;
    box-shadow: 0 16px 38px rgba(0,0,0,0.22);
}

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

.book-info-card {
    background: rgba(255,255,255,0.88);
    border: 1px solid rgba(255,255,255,0.58);
    border-radius: 22px;
    padding: 22px 20px;
    box-shadow: 0 12px 32px rgba(18, 36, 66, 0.08);
}

.book-info-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6d7f92;
    margin-bottom: 10px;
}

.book-info-text {
    margin: 0;
    color: #21384d;
    line-height: 1.65;
    font-size: 1rem;
}

.book-highlight-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    background: linear-gradient(135deg, #10243f, #1d3d69, #2d5b9d);
    border-radius: 30px;
    padding: 28px;
    color: white;
    box-shadow: 0 18px 48px rgba(21, 40, 70, 0.20);
    margin-bottom: 24px;
}

.book-section-title {
    margin: 0 0 14px 0;
    font-size: 1.6rem;
    line-height: 1.15;
}

.book-section-text {
    margin: 0;
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.92);
}

.book-highlight-right {
    display: grid;
    gap: 14px;
}

.book-benefit-box {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 18px;
    padding: 16px 18px;
}

.book-benefit-box p {
    margin: 0;
    line-height: 1.6;
    color: rgba(255,255,255,0.96);
}

.book-benefit-no {
    min-width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(255,255,255,0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
}

.book-order-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, #10243f 0%, #1c3e69 48%, #2b5d9b 100%);
    color: white;
    border-radius: 28px;
    padding: 28px 28px;
    box-shadow: 0 20px 46px rgba(18, 36, 66, 0.20);
    margin-bottom: 18px;
}

.book-order-text h3 {
    margin: 0 0 8px 0;
    color: white;
    font-size: 1.4rem;
}

.book-order-text p {
    margin: 0;
    color: rgba(255,255,255,0.90);
    line-height: 1.7;
}

.book-order-action {
    flex-shrink: 0;
}

@media (max-width: 980px) {
    .book-top,
    .book-highlight-panel {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 680px) {
    .book-shell {
        padding: 18px 14px 92px 14px;
    }

    .book-title-main {
        font-size: 2rem;
    }

    .book-top-left {
        padding: 24px 20px;
    }

    .book-info-grid {
        grid-template-columns: 1fr;
    }

    .book-order-strip {
        flex-direction: column;
        align-items: stretch;
    }

    .book-order-action {
        width: 100%;
    }

    .book-order-action .book-primary-btn {
        width: 100%;
    }
}
.book-chapters-showcase {
    margin-bottom: 24px;
    background: linear-gradient(135deg, rgba(255,255,255,0.92), rgba(245,248,252,0.88));
    border: 1px solid rgba(255,255,255,0.58);
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 14px 38px rgba(18, 36, 66, 0.08);
}

.chapters-head {
    margin-bottom: 22px;
}

.chapters-kicker {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5f7390;
    margin-bottom: 10px;
}

.chapters-head h2 {
    margin: 0 0 10px 0;
    font-size: 1.9rem;
    color: #13263f;
}

.chapters-head p {
    margin: 0;
    max-width: 760px;
    color: #50657c;
    line-height: 1.75;
}

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

.chapter-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #ffffff, #eef4fb);
    border: 1px solid #dbe6f2;
    border-radius: 22px;
    padding: 22px 20px 20px 20px;
    box-shadow: 0 12px 26px rgba(21, 40, 70, 0.07);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.chapter-card::after {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(42,82,152,0.16), transparent 70%);
    pointer-events: none;
}

.chapter-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 34px rgba(21, 40, 70, 0.12);
    border-color: #bdd0e7;
}

.chapter-no {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #16335f, #2a5298);
    color: white;
    font-weight: 800;
    font-size: 0.95rem;
    margin-bottom: 16px;
    box-shadow: 0 10px 20px rgba(30,60,114,0.24);
}

.chapter-card h3 {
    margin: 0 0 12px 0;
    font-size: 1.08rem;
    line-height: 1.4;
    color: #17314d;
}

.chapter-card p {
    margin: 0;
    color: #53687f;
    line-height: 1.68;
    font-size: 0.98rem;
}

@media (max-width: 860px) {
    .chapters-grid {
        grid-template-columns: 1fr;
    }
}
.chapter-card-a {
    background: linear-gradient(145deg, #ffffff, #eef4ff);
}

.chapter-card-b {
    background: linear-gradient(145deg, #ffffff, #eefaf6);
}

.chapter-card-c {
    background: linear-gradient(145deg, #ffffff, #f6f1ff);
}

.chapter-card-d {
    background: linear-gradient(145deg, #ffffff, #fff5ec);
}

.chapter-card-e {
    background: linear-gradient(145deg, #ffffff, #eef7fb);
}

.chapter-card-f {
    background: linear-gradient(145deg, #ffffff, #f9f4ee);
}

.chapter-card-a .chapter-no {
    background: linear-gradient(135deg, #1b4f9c, #3d7be0);
}

.chapter-card-b .chapter-no {
    background: linear-gradient(135deg, #0f7b5f, #26b38a);
}

.chapter-card-c .chapter-no {
    background: linear-gradient(135deg, #5a3aa5, #8b63e6);
}

.chapter-card-d .chapter-no {
    background: linear-gradient(135deg, #b25a13, #ea8d3a);
}

.chapter-card-e .chapter-no {
    background: linear-gradient(135deg, #245a78, #4e97bf);
}

.chapter-card-f .chapter-no {
    background: linear-gradient(135deg, #7a5a2c, #b88a45);
}
.book-top-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0f2238 0%, #15355a 45%, #2a5ea1 100%);
    border-radius: 34px;
    padding: 34px;
    box-shadow: 0 24px 60px rgba(18, 36, 66, 0.22);
    margin-bottom: 28px;
    min-height: 520px;
}

.book-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 20%, rgba(255,255,255,0.16), transparent 26%),
        radial-gradient(circle at 80% 25%, rgba(255,255,255,0.10), transparent 24%),
        radial-gradient(circle at 72% 78%, rgba(255,255,255,0.12), transparent 20%);
    pointer-events: none;
}

.hero-content,
.hero-cover-zone {
    position: relative;
    z-index: 2;
}

.book-top-hero .book-top-left {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    box-shadow: none;
}

.book-top-hero .book-tag {
    background: rgba(255,255,255,0.14);
    color: white;
    border: 1px solid rgba(255,255,255,0.14);
}

.book-top-hero .book-title-main {
    color: white;
    font-size: 3rem;
    margin-bottom: 18px;
    max-width: 720px;
}

.book-top-hero .book-lead {
    color: rgba(255,255,255,0.92);
    font-size: 1.08rem;
    max-width: 700px;
    margin-bottom: 22px;
}

.book-hero-points {
    display: grid;
    gap: 12px;
    margin-bottom: 26px;
}

.hero-point {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.96);
    font-size: 0.98rem;
    line-height: 1.5;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffffff, #9fd0ff);
    box-shadow: 0 0 0 6px rgba(255,255,255,0.08);
    flex-shrink: 0;
}

.hero-btn {
    background: white;
    color: #173764;
    box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}

.hero-btn:hover {
    box-shadow: 0 16px 34px rgba(0,0,0,0.22);
}

.hero-link {
    color: white;
    font-weight: 700;
}

.hero-link:hover {
    text-decoration: underline;
}

.hero-cover-zone {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100%;
    position: relative;
}

.book-cover-glow {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.22), rgba(255,255,255,0.02) 70%, transparent 75%);
    filter: blur(4px);
}

.hero-cover-frame {
    background: linear-gradient(145deg, rgba(255,255,255,0.98), rgba(226,236,248,0.92));
    border: 1px solid rgba(255,255,255,0.72);
    box-shadow: 0 28px 60px rgba(8, 22, 44, 0.34);
    transform: rotate(-2deg);
}

.hero-cover-frame .book-cover-premium {
    transform: rotate(2deg);
}

@media (max-width: 980px) {
    .book-top-hero {
        min-height: auto;
        padding: 22px;
    }

    .book-top-hero .book-title-main {
        font-size: 2.3rem;
    }
}

@media (max-width: 680px) {
    .book-top-hero .book-title-main {
        font-size: 1.9rem;
    }

    .book-top-hero .book-lead {
        font-size: 1rem;
    }

    .hero-point {
        align-items: flex-start;
    }

    .hero-cover-frame {
        transform: none;
    }

    .hero-cover-frame .book-cover-premium {
        transform: none;
    }
}

.book-audience-panel {
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(255,255,255,0.58);
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 14px 38px rgba(18, 36, 66, 0.08);
    margin-bottom: 24px;
}

.book-audience-head {
    margin-bottom: 20px;
}

.book-audience-kicker {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64788f;
    margin-bottom: 10px;
}

.book-audience-head h2 {
    margin: 0;
    font-size: 1.85rem;
    color: #13263f;
}

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

.audience-card {
    background: linear-gradient(145deg, #ffffff, #f1f6fb);
    border: 1px solid #dce7f2;
    border-radius: 22px;
    padding: 22px 20px;
    box-shadow: 0 10px 24px rgba(18, 36, 66, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.audience-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(18, 36, 66, 0.10);
}

.audience-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #173764, #2f65ab);
    color: white;
    font-weight: 800;
    margin-bottom: 16px;
    box-shadow: 0 10px 20px rgba(23,55,100,0.20);
}

.audience-card h3 {
    margin: 0 0 10px 0;
    color: #17314d;
    font-size: 1.05rem;
}

.audience-card p {
    margin: 0;
    color: #53687f;
    line-height: 1.7;
}

@media (max-width: 860px) {
    .book-audience-grid {
        grid-template-columns: 1fr;
    }
}
.home-book-banner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 20px;
    align-items: center;
    background: linear-gradient(135deg, #10243f 0%, #1c3e69 48%, #2b5d9b 100%);
    color: white;
    border-radius: 26px;
    padding: 24px;
    margin-bottom: 18px;
    box-shadow: 0 18px 42px rgba(18, 36, 66, 0.18);
    overflow: hidden;
}

.home-book-left h2 {
    margin: 0 0 10px 0;
    font-size: 1.8rem;
    line-height: 1.15;
}

.home-book-left p {
    margin: 0 0 16px 0;
    color: rgba(255,255,255,0.92);
    line-height: 1.7;
}

.home-book-tag {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.14);
    color: white;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.home-book-actions button {
    background: white;
    color: #173764;
    font-weight: 700;
    border-radius: 12px;
    padding: 12px 18px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.16);
}

.home-book-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-book-cover {
    width: 180px;
    max-width: 100%;
    border-radius: 16px;
    box-shadow: 0 18px 34px rgba(0,0,0,0.26);
}

@media (max-width: 780px) {
    .home-book-banner {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .home-book-right {
        justify-content: center;
    }

    .home-book-left h2 {
        font-size: 1.5rem;
    }
}
.lesson-book-callout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 18px;
    align-items: center;
    background: linear-gradient(135deg, #f8fbff 0%, #edf4fb 100%);
    border: 1px solid #dbe7f2;
    border-radius: 24px;
    padding: 22px;
    margin-bottom: 18px;
    box-shadow: 0 12px 28px rgba(18, 36, 66, 0.07);
}

.lesson-book-callout-left h3 {
    margin: 0 0 10px 0;
    color: #17314d;
    font-size: 1.35rem;
}

.lesson-book-callout-left p {
    margin: 0 0 16px 0;
    color: #50657c;
    line-height: 1.7;
}

.lesson-book-tag {
    display: inline-block;
    padding: 7px 11px;
    border-radius: 999px;
    background: linear-gradient(135deg, #173764, #2f65ab);
    color: white;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.lesson-book-btn {
    background: linear-gradient(135deg, #173764, #2f65ab);
    color: white;
    font-weight: 700;
    border-radius: 12px;
    padding: 11px 16px;
    box-shadow: 0 10px 22px rgba(23,55,100,0.20);
}

.lesson-book-callout-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.lesson-book-cover {
    width: 150px;
    max-width: 100%;
    border-radius: 14px;
    box-shadow: 0 16px 28px rgba(0,0,0,0.20);
}

@media (max-width: 780px) {
    .lesson-book-callout {
        grid-template-columns: 1fr;
    }

    .lesson-book-callout-left h3 {
        font-size: 1.2rem;
    }
}
.modules-body {
    background:
        radial-gradient(circle at top left, rgba(71, 112, 173, 0.12), transparent 28%),
        radial-gradient(circle at bottom right, rgba(42, 82, 152, 0.14), transparent 25%),
        linear-gradient(180deg, #f4f7fb 0%, #e8eef6 100%);
    min-height: 100vh;
}

.modules-hero {
    background: linear-gradient(135deg, #10243f 0%, #1c3e69 48%, #2b5d9b 100%);
    color: white;
    padding: 38px 20px 34px 20px;
    border-bottom-left-radius: 28px;
    border-bottom-right-radius: 28px;
    box-shadow: 0 18px 46px rgba(18, 36, 66, 0.18);
}

.modules-hero-content {
    max-width: 980px;
    margin: 0 auto;
}

.modules-kicker {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.12);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.modules-hero h1 {
    margin: 0 0 12px 0;
    font-size: 2.4rem;
    line-height: 1.08;
}

.modules-hero p {
    margin: 0;
    max-width: 760px;
    line-height: 1.75;
    color: rgba(255,255,255,0.92);
}

.modules-page {
    margin-top: 24px;
    margin-bottom: 94px;
}

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

.module-premium-card {
    border-radius: 26px;
    padding: 24px;
    box-shadow: 0 16px 40px rgba(18, 36, 66, 0.10);
    border: 1px solid rgba(255,255,255,0.58);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.module-premium-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 46px rgba(18, 36, 66, 0.14);
}

.module-card-a {
    background: linear-gradient(145deg, #ffffff, #eef4ff);
}

.module-card-b {
    background: linear-gradient(145deg, #ffffff, #eefaf6);
}

.module-card-c {
    background: linear-gradient(145deg, #ffffff, #f6f1ff);
}

.module-card-d {
    background: linear-gradient(145deg, #ffffff, #fff5ec);
}

.module-card-top h2 {
    margin: 0 0 12px 0;
    font-size: 1.45rem;
    line-height: 1.25;
    color: #16304c;
}

.module-card-top p {
    margin: 0 0 18px 0;
    color: #52677e;
    line-height: 1.7;
}

.module-badge {
    display: inline-block;
    margin-bottom: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    color: white;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.module-card-a .module-badge {
    background: linear-gradient(135deg, #1b4f9c, #3d7be0);
}

.module-card-b .module-badge {
    background: linear-gradient(135deg, #0f7b5f, #26b38a);
}

.module-card-c .module-badge {
    background: linear-gradient(135deg, #5a3aa5, #8b63e6);
}

.module-card-d .module-badge {
    background: linear-gradient(135deg, #b25a13, #ea8d3a);
}

.module-points {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}

.module-point {
    background: rgba(255,255,255,0.72);
    border: 1px solid #dde8f2;
    border-radius: 14px;
    padding: 12px 14px;
    color: #29425a;
    line-height: 1.5;
    font-size: 0.95rem;
}

.module-hook {
    background: rgba(17, 44, 79, 0.06);
    border-left: 4px solid #2d5b9b;
    border-radius: 14px;
    padding: 14px 15px;
    color: #36516a;
    line-height: 1.65;
    margin-bottom: 18px;
    font-size: 0.96rem;
}

.module-actions button {
    width: 100%;
    border-radius: 14px;
    padding: 13px 16px;
    font-weight: 700;
}

.modules-book-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, #10243f 0%, #1c3e69 48%, #2b5d9b 100%);
    color: white;
    border-radius: 28px;
    padding: 26px 28px;
    box-shadow: 0 18px 44px rgba(18, 36, 66, 0.18);
}

.modules-book-mini {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.82);
}

.modules-book-strip-text h3 {
    margin: 0 0 8px 0;
    font-size: 1.3rem;
}

.modules-book-strip-text p {
    margin: 0;
    line-height: 1.7;
    color: rgba(255,255,255,0.90);
    max-width: 720px;
}

.modules-book-strip-action {
    flex-shrink: 0;
}

.modules-book-strip-action button {
    background: white;
    color: #173764;
    font-weight: 700;
    border-radius: 14px;
    padding: 13px 18px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.14);
}

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

    .modules-book-strip {
        flex-direction: column;
        align-items: flex-start;
    }

    .modules-book-strip-action {
        width: 100%;
    }

    .modules-book-strip-action button {
        width: 100%;
    }
}

@media (max-width: 680px) {
    .modules-hero h1 {
        font-size: 1.9rem;
    }

    .modules-hero p {
        font-size: 0.98rem;
    }

    .module-card-top h2 {
        font-size: 1.25rem;
    }
}
.module-detail-body {
    background:
        radial-gradient(circle at top left, rgba(71, 112, 173, 0.12), transparent 28%),
        radial-gradient(circle at bottom right, rgba(42, 82, 152, 0.14), transparent 25%),
        linear-gradient(180deg, #f4f7fb 0%, #e8eef6 100%);
    min-height: 100vh;
}

.module-detail-hero {
    background: linear-gradient(135deg, #10243f 0%, #1c3e69 48%, #2b5d9b 100%);
    color: white;
    padding: 36px 20px 32px 20px;
    border-bottom-left-radius: 28px;
    border-bottom-right-radius: 28px;
    box-shadow: 0 18px 46px rgba(18, 36, 66, 0.18);
}

.module-detail-hero-content {
    max-width: 980px;
    margin: 0 auto;
}

.module-detail-kicker {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.12);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.module-detail-hero h1 {
    margin: 0 0 10px 0;
    font-size: 2.3rem;
    line-height: 1.08;
}

.module-detail-hero p {
    margin: 0;
    max-width: 760px;
    line-height: 1.75;
    color: rgba(255,255,255,0.92);
    font-size: 1.02rem;
}

.module-detail-page {
    margin-top: 24px;
    margin-bottom: 94px;
}

.module-detail-intro {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 20px;
    margin-bottom: 24px;
}

.module-detail-intro-left {
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(255,255,255,0.58);
    border-radius: 26px;
    padding: 24px;
    box-shadow: 0 14px 38px rgba(18, 36, 66, 0.08);
}

.module-detail-intro-left h2 {
    margin: 0 0 12px 0;
    color: #13263f;
    font-size: 1.5rem;
}

.module-detail-intro-left p {
    margin: 0;
    color: #52677e;
    line-height: 1.8;
    font-size: 1rem;
}

.module-detail-intro-right {
    display: flex;
    align-items: stretch;
}

.module-detail-callout {
    width: 100%;
    background: linear-gradient(135deg, #10243f 0%, #1c3e69 48%, #2b5d9b 100%);
    color: white;
    border-radius: 26px;
    padding: 24px;
    box-shadow: 0 18px 42px rgba(18, 36, 66, 0.16);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.module-detail-callout-tag {
    display: inline-block;
    align-self: flex-start;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.12);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.module-detail-callout p {
    margin: 0 0 18px 0;
    line-height: 1.75;
    color: rgba(255,255,255,0.92);
}

.module-detail-callout button {
    background: white;
    color: #173764;
    font-weight: 700;
    border-radius: 14px;
    padding: 12px 16px;
    align-self: flex-start;
    box-shadow: 0 12px 24px rgba(0,0,0,0.14);
}

.module-detail-lessons-section {
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(255,255,255,0.58);
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 14px 38px rgba(18, 36, 66, 0.08);
}

.module-detail-lessons-head {
    margin-bottom: 22px;
}

.module-lessons-mini {
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64788f;
    margin-bottom: 10px;
}

.module-detail-lessons-head h2 {
    margin: 0 0 10px 0;
    color: #13263f;
    font-size: 1.8rem;
}

.module-detail-lessons-head p {
    margin: 0;
    max-width: 760px;
    color: #50657c;
    line-height: 1.75;
}

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

.lesson-item-card {
    background: linear-gradient(145deg, #ffffff, #eef4fb);
    border: 1px solid #dce7f2;
    border-radius: 22px;
    padding: 22px 20px;
    box-shadow: 0 10px 24px rgba(18, 36, 66, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lesson-item-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(18, 36, 66, 0.10);
}

.lesson-item-card h4 {
    margin: 0 0 10px 0;
    color: #17314d;
    font-size: 1.06rem;
    line-height: 1.45;
}

.lesson-item-card p {
    margin: 0 0 14px 0;
    color: #53687f;
    line-height: 1.7;
    font-size: 0.96rem;
}

.lesson-item-card button {
    width: 100%;
    border-radius: 12px;
    padding: 11px 14px;
    font-weight: 700;
}

@media (max-width: 980px) {
    .module-detail-intro {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 680px) {
    .module-detail-hero h1 {
        font-size: 1.9rem;
    }

    .module-detail-hero p {
        font-size: 0.98rem;
    }

    .module-detail-intro-left h2,
    .module-detail-lessons-head h2 {
        font-size: 1.45rem;
    }

    .module-detail-lessons-section {
        padding: 22px;
    }
}
.quiz-body {
    background:
        radial-gradient(circle at top left, rgba(71, 112, 173, 0.12), transparent 28%),
        radial-gradient(circle at bottom right, rgba(42, 82, 152, 0.14), transparent 25%),
        linear-gradient(180deg, #f4f7fb 0%, #e8eef6 100%);
    min-height: 100vh;
}

.quiz-hero {
    background: linear-gradient(135deg, #10243f 0%, #1c3e69 48%, #2b5d9b 100%);
    color: white;
    padding: 36px 20px 32px 20px;
    border-bottom-left-radius: 28px;
    border-bottom-right-radius: 28px;
    box-shadow: 0 18px 46px rgba(18, 36, 66, 0.18);
}

.quiz-hero-content {
    max-width: 980px;
    margin: 0 auto;
}

.quiz-kicker {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.12);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.quiz-hero h1 {
    margin: 0 0 10px 0;
    font-size: 2.3rem;
    line-height: 1.08;
}

.quiz-hero p {
    margin: 0;
    max-width: 760px;
    line-height: 1.75;
    color: rgba(255,255,255,0.92);
    font-size: 1.02rem;
}

.quiz-page {
    margin-top: 24px;
    margin-bottom: 94px;
}

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

.quiz-module-card {
    border-radius: 24px;
    padding: 22px;
    box-shadow: 0 14px 34px rgba(18, 36, 66, 0.08);
    border: 1px solid rgba(255,255,255,0.58);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.quiz-module-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(18, 36, 66, 0.12);
}

.quiz-card-a {
    background: linear-gradient(145deg, #ffffff, #eef4ff);
}

.quiz-card-b {
    background: linear-gradient(145deg, #ffffff, #eefaf6);
}

.quiz-card-c {
    background: linear-gradient(145deg, #ffffff, #f6f1ff);
}

.quiz-card-d {
    background: linear-gradient(145deg, #ffffff, #fff5ec);
}

.quiz-module-badge {
    display: inline-block;
    margin-bottom: 12px;
    padding: 8px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #173764, #2f65ab);
    color: white;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.quiz-module-card h3 {
    margin: 0 0 10px 0;
    color: #17314d;
    font-size: 1.2rem;
}

.quiz-module-card p {
    margin: 0 0 14px 0;
    color: #53687f;
    line-height: 1.7;
}

.quiz-module-card button {
    width: 100%;
    border-radius: 12px;
    padding: 11px 14px;
    font-weight: 700;
}

.quiz-area {
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(255,255,255,0.58);
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 14px 38px rgba(18, 36, 66, 0.08);
}

.quiz-progress-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    padding: 14px 16px;
    background: #f3f7fb;
    border: 1px solid #dce7f2;
    border-radius: 16px;
    color: #29425a;
    font-weight: 600;
    flex-wrap: wrap;
}

.quiz-question-card {
    background: linear-gradient(145deg, #ffffff, #eef4fb);
    border: 1px solid #dce7f2;
    border-radius: 20px;
    padding: 22px;
    margin-bottom: 18px;
}

.quiz-question-card h2 {
    margin: 0;
    color: #16304c;
    font-size: 1.35rem;
    line-height: 1.5;
}

.quiz-answers {
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
}

.answer-btn {
    width: 100%;
    margin-bottom: 0;
    text-align: left;
    background: white;
    color: #22313f;
    border: 1px solid #d4deea;
    border-radius: 14px;
    padding: 15px 16px;
    box-shadow: 0 8px 18px rgba(18,36,66,0.05);
    line-height: 1.6;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.answer-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(18,36,66,0.08);
    border-color: #bcd0e5;
}

.quiz-feedback {
    background: linear-gradient(145deg, #eef7ff, #f6fbff);
    border: 1px solid #d5e4f2;
    border-radius: 16px;
    padding: 16px;
    color: #29425a;
    line-height: 1.7;
    margin-bottom: 18px;
}

.quiz-result-card {
    background: rgba(255,255,255,0.94);
    border: 1px solid rgba(255,255,255,0.58);
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 18px 40px rgba(18, 36, 66, 0.10);
    text-align: center;
}

.quiz-result-badge {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #173764, #2f65ab);
    color: white;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.quiz-result-card h2 {
    margin: 0 0 12px 0;
    color: #16304c;
}

.quiz-result-score {
    font-size: 1.4rem;
    font-weight: 700;
    color: #173764;
    margin-bottom: 12px;
}

.quiz-result-text {
    color: #53687f;
    line-height: 1.7;
    margin-bottom: 18px;
}

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

@media (max-width: 680px) {
    .quiz-hero h1 {
        font-size: 1.9rem;
    }

    .quiz-question-card h2 {
        font-size: 1.15rem;
    }

    .quiz-area {
        padding: 22px;
    }
}
.home-body {
    background:
        radial-gradient(circle at top left, rgba(71, 112, 173, 0.12), transparent 28%),
        radial-gradient(circle at bottom right, rgba(42, 82, 152, 0.14), transparent 25%),
        linear-gradient(180deg, #f4f7fb 0%, #e8eef6 100%);
    min-height: 100vh;
}

.home-hero {
    background: linear-gradient(135deg, #10243f 0%, #1c3e69 48%, #2b5d9b 100%);
    color: white;
    padding: 42px 20px 36px 20px;
    border-bottom-left-radius: 28px;
    border-bottom-right-radius: 28px;
    box-shadow: 0 18px 46px rgba(18, 36, 66, 0.18);
}

.home-hero-content {
    max-width: 980px;
    margin: 0 auto;
}

.home-kicker {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.12);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.home-hero h1 {
    margin: 0 0 10px 0;
    font-size: 2.6rem;
    line-height: 1.05;
}

.home-subtitle {
    margin: 0 0 20px 0;
    max-width: 760px;
    line-height: 1.75;
    color: rgba(255,255,255,0.92);
    font-size: 1.03rem;
}

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

.home-hero-actions button {
    border-radius: 14px;
    padding: 13px 18px;
    font-weight: 700;
}

.home-secondary-btn {
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.16);
    color: white;
}

.home-page {
    margin-top: 24px;
    margin-bottom: 94px;
}

.home-section-head {
    margin-bottom: 18px;
}

.home-section-kicker {
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64788f;
    margin-bottom: 10px;
}

.home-section-head h2 {
    margin: 0 0 10px 0;
    color: #13263f;
    font-size: 1.9rem;
}

.home-section-head p {
    margin: 0;
    max-width: 780px;
    color: #50657c;
    line-height: 1.75;
}

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

.home-module-card {
    border-radius: 24px;
    padding: 22px;
    box-shadow: 0 14px 34px rgba(18, 36, 66, 0.08);
    border: 1px solid rgba(255,255,255,0.58);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.home-module-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(18, 36, 66, 0.12);
}

.home-module-a {
    background: linear-gradient(145deg, #ffffff, #eef4ff);
}

.home-module-b {
    background: linear-gradient(145deg, #ffffff, #eefaf6);
}

.home-module-c {
    background: linear-gradient(145deg, #ffffff, #f6f1ff);
}

.home-module-d {
    background: linear-gradient(145deg, #ffffff, #fff5ec);
}

.home-module-badge {
    display: inline-block;
    margin-bottom: 12px;
    padding: 8px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #173764, #2f65ab);
    color: white;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-module-card h3 {
    margin: 0 0 10px 0;
    color: #17314d;
    font-size: 1.18rem;
    line-height: 1.45;
}

.home-module-card p {
    margin: 0 0 14px 0;
    color: #53687f;
    line-height: 1.7;
}

.home-module-card button {
    width: 100%;
    border-radius: 12px;
    padding: 11px 14px;
    font-weight: 700;
}

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

.home-quick-card {
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(255,255,255,0.58);
    border-radius: 24px;
    padding: 22px;
    box-shadow: 0 14px 34px rgba(18, 36, 66, 0.08);
}

.home-quick-mini {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64788f;
}

.home-quick-card h3 {
    margin: 0 0 10px 0;
    color: #13263f;
}

.home-quick-card p {
    margin: 0 0 14px 0;
    color: #53687f;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .home-modules-grid,
    .home-quick-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .home-hero h1 {
        font-size: 2rem;
    }

    .home-subtitle {
        font-size: 0.98rem;
    }

    .home-section-head h2 {
        font-size: 1.55rem;
    }
}
.profile-body {
    background:
        radial-gradient(circle at top left, rgba(71, 112, 173, 0.12), transparent 28%),
        radial-gradient(circle at bottom right, rgba(42, 82, 152, 0.14), transparent 25%),
        linear-gradient(180deg, #f4f7fb 0%, #e8eef6 100%);
    min-height: 100vh;
}

.profile-hero {
    background: linear-gradient(135deg, #10243f 0%, #1c3e69 48%, #2b5d9b 100%);
    color: white;
    padding: 36px 20px 32px 20px;
    border-bottom-left-radius: 28px;
    border-bottom-right-radius: 28px;
    box-shadow: 0 18px 46px rgba(18, 36, 66, 0.18);
}

.profile-hero-content {
    max-width: 980px;
    margin: 0 auto;
}

.profile-kicker {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.12);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.profile-hero h1 {
    margin: 0 0 10px 0;
    font-size: 2.3rem;
    line-height: 1.08;
}

.profile-hero p {
    margin: 0;
    max-width: 760px;
    line-height: 1.75;
    color: rgba(255,255,255,0.92);
    font-size: 1.02rem;
}

.profile-page {
    margin-top: 24px;
    margin-bottom: 94px;
}

.profile-top-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 22px;
}

.profile-user-card,
.profile-progress-card {
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(255,255,255,0.58);
    border-radius: 26px;
    padding: 24px;
    box-shadow: 0 14px 38px rgba(18, 36, 66, 0.08);
}

.profile-card-mini {
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64788f;
    margin-bottom: 10px;
}

.profile-user-card h2,
.profile-progress-card h2 {
    margin: 0 0 10px 0;
    color: #13263f;
    font-size: 1.55rem;
}

.profile-user-card p,
.profile-progress-note {
    margin: 0;
    color: #53687f;
    line-height: 1.75;
}

.premium-progress-bar {
    width: 100%;
    height: 22px;
    background: #dde6f0;
    border-radius: 999px;
    overflow: hidden;
    margin: 14px 0 14px 0;
    box-shadow: inset 0 2px 6px rgba(18, 36, 66, 0.08);
}

.premium-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(135deg, #173764, #2f65ab);
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(23,55,100,0.20);
}

.profile-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 22px;
}

.profile-stat-card {
    background: linear-gradient(145deg, #ffffff, #eef4fb);
    border: 1px solid #dce7f2;
    border-radius: 22px;
    padding: 20px;
    box-shadow: 0 10px 24px rgba(18, 36, 66, 0.06);
}

.profile-stat-label {
    display: block;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64788f;
    margin-bottom: 10px;
}

.profile-stat-card strong {
    display: block;
    color: #17314d;
    line-height: 1.5;
    font-size: 1rem;
}

.profile-achievements-panel {
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(255,255,255,0.58);
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 14px 38px rgba(18, 36, 66, 0.08);
    margin-bottom: 22px;
}

.profile-achievements-head {
    margin-bottom: 20px;
}

.profile-achievements-head h2 {
    margin: 0 0 10px 0;
    color: #13263f;
    font-size: 1.8rem;
}

.profile-achievements-head p {
    margin: 0;
    color: #50657c;
    line-height: 1.75;
}

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

.profile-badge-card {
    background: linear-gradient(145deg, #ffffff, #f1f6fb);
    border: 1px solid #dce7f2;
    border-radius: 22px;
    padding: 22px 20px;
    box-shadow: 0 10px 24px rgba(18, 36, 66, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.profile-badge-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(18, 36, 66, 0.10);
}

.profile-badge-no {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #173764, #2f65ab);
    color: white;
    font-weight: 800;
    margin-bottom: 14px;
    box-shadow: 0 10px 20px rgba(23,55,100,0.20);
}

.profile-badge-card h3 {
    margin: 0 0 10px 0;
    color: #17314d;
    font-size: 1.05rem;
}

.profile-badge-card p {
    margin: 0;
    color: #53687f;
    line-height: 1.7;
}

.profile-actions-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, #10243f 0%, #1c3e69 48%, #2b5d9b 100%);
    color: white;
    border-radius: 28px;
    padding: 26px 28px;
    box-shadow: 0 18px 44px rgba(18, 36, 66, 0.18);
}

.profile-actions-text h3 {
    margin: 0 0 8px 0;
    font-size: 1.35rem;
}

.profile-actions-text p {
    margin: 0;
    line-height: 1.7;
    color: rgba(255,255,255,0.90);
    max-width: 720px;
}

.profile-actions-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.profile-actions-buttons button {
    border-radius: 14px;
    padding: 12px 16px;
    font-weight: 700;
}

.profile-secondary-btn {
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.16);
    color: white;
}

@media (max-width: 980px) {
    .profile-top-grid {
        grid-template-columns: 1fr;
    }

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

    .profile-badges-grid {
        grid-template-columns: 1fr;
    }

    .profile-actions-strip {
        flex-direction: column;
        align-items: flex-start;
    }

    .profile-actions-buttons {
        width: 100%;
    }
}

@media (max-width: 680px) {
    .profile-hero h1 {
        font-size: 1.9rem;
    }

    .profile-hero p {
        font-size: 0.98rem;
    }

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

    .profile-actions-buttons button {
        width: 100%;
    }
}
.register-form input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d7e1ec;
    border-radius: 12px;
    font-size: 1rem;
    box-sizing: border-box;
    margin-top: 6px;
}

.register-form label {
    font-weight: 600;
    color: #17314d;
}

.register-form p {
    margin-bottom: 16px;
}


@media (min-width: 981px) {
    .profile-stats-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}