﻿.course-page {
    --primary-black: #050505;
    --gold-vibrant: #d4af37;
    --gold-glow: rgba(212, 175, 55, 0.35);
    --pearl-white: #fafaf9;
    --card-bg: #ffffff;
    --accent-gradient: linear-gradient(135deg, #d4af37 0%, #f1de65 100%);
    --ig-gray: #8e8e8e;
    --border-light: #efefef;
    --shadow-soft: 0 10px 28px rgba(0, 0, 0, 0.03);
    --shadow-gold: 0 18px 40px rgba(212, 175, 55, 0.15);
    position: relative;
    min-height: 100vh;
    background: transparent;
    color: var(--primary-black);
    font-family: 'Segoe UI', system-ui, sans-serif;
    overflow-x: hidden;
    padding-top: 100px;
}

.course-page * {
    box-sizing: border-box;
}

.course-page .lazy-section {
    /* Keep section rendering stable across browsers (Safari/Firefox variations). */
    content-visibility: visible;
    contain: none;
}

.course-page .bg-particles {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.035) 0%, transparent 22%),
        radial-gradient(circle at 90% 80%, rgba(212, 175, 55, 0.03) 0%, transparent 22%);
    animation: courseParticlesDrift 16s ease-in-out infinite alternate;
}

@keyframes courseParticlesDrift {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    100% {
        transform: translate3d(14px, -12px, 0) scale(1.02);
    }
}

.course-page .hero-bento {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 5% 40px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.course-page .bento-item {
    background: var(--card-bg);
    border: 1px solid rgba(212, 175, 55, 0.12);
    border-radius: 36px;
    padding: 36px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.course-page .bento-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-gold);
    border-color: rgba(212, 175, 55, 0.45);
}

.course-page .item-profile-mega {
    grid-column: span 4;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 36px;
}

.course-page .profile-main-side {
    border-left: 1px solid var(--border-light);
    padding-left: 20px;
}

.course-page .ig-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    margin-bottom: 26px;
}

.course-page .ig-avatar-wrapper {
    width: 148px;
    height: 148px;
    padding: 5px;
    border-radius: 50%;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.course-page .ig-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 5px solid #fff;
    object-fit: cover;
}

.course-page .ig-username {
    font-size: 1.45rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.course-page .ig-verified {
    color: #0095f6;
}

.course-page .ig-handle {
    margin: 0;
    color: var(--ig-gray);
    font-weight: 600;
}

.course-page .ig-stats-row {
    display: flex;
    justify-content: space-around;
    padding: 18px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.course-page .stat-box {
    text-align: center;
}

.course-page .stat-val {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
}

.course-page .stat-lbl {
    font-size: 0.8rem;
    color: var(--ig-gray);
}

.course-page .profile-mini-links {
    margin-top: 24px;
    display: flex;
    justify-content: center;
}

.course-page .hero-review-pill {
    direction: ltr;
    width: min(100%, 430px);
    min-height: 64px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.course-page .hero-review-avatars {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.course-page .hero-review-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f2f2f2;
    color: #111;
    font-size: 0.9rem;
    font-weight: 800;
    margin-left: -8px;
}

.course-page .hero-review-avatar:first-child {
    margin-left: 0;
}

.course-page .hero-review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.course-page .hero-review-avatar-initial {
    background: #f2cd74;
    color: #111;
}

.course-page .hero-review-meta {
    min-width: 0;
    flex: 1;
}

.course-page .hero-review-stars {
    display: flex;
    align-items: center;
    gap: 3px;
    color: #f6c43d;
    font-size: 1rem;
    line-height: 1;
}

.course-page .hero-review-count {
    margin-top: 2px;
    color: #4b4b4b;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.course-page .hero-review-love {
    flex-shrink: 0;
    color: var(--gold-vibrant);
    font-size: 1.1rem;
    line-height: 1;
}

.course-page .hero-review-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

@media (max-width: 520px) {
    .course-page .hero-review-pill {
        width: 100%;
        min-height: 60px;
        padding: 9px 12px;
        gap: 10px;
    }

    .course-page .hero-review-avatar {
        width: 32px;
        height: 32px;
    }

    .course-page .hero-review-count {
        font-size: 0.68rem;
    }
}

.course-page .profile-info-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.course-page .mega-bio h3 {
    margin: 0 0 12px;
    font-size: 1.75rem;
}

.course-page .mega-bio p {
    margin: 0;
    line-height: 1.8;
    color: #444;
}

.course-page .philosophy-quote {
    margin: 22px 0;
    padding: 22px;
    background: #f8f8f6;
    border-right: 4px solid var(--gold-vibrant);
    border-radius: 14px;
    font-style: italic;
    color: #555;
    line-height: 1.8;
}

.course-page .philosophy-swiper-wrap {
    margin: 22px 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.course-page .philosophySwiper {
    width: 100%;
    max-width: 100%;
    padding: 0 0 22px !important;
    cursor: grab;
    overflow: hidden;
}

.course-page .philosophySwiper .swiper-wrapper {
    align-items: stretch;
}

.course-page .philosophySwiper .swiper-slide {
    height: auto;
    display: flex;
}

.course-page .philosophySwiper .philosophy-quote {
    width: 100%;
    margin: 0;
    min-height: 0;
    padding: 18px;
    font-size: 0.96rem;
    line-height: 1.7;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.course-page .philosophySwiper .swiper-pagination {
    bottom: 0 !important;
}

.course-page .philosophySwiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
}

.course-page .philosophySwiper .swiper-pagination-bullet-active {
    width: 20px;
}

.course-page .action-area {
    display: flex;
    gap: 12px;
}

.course-page .mega-btn {
    flex: 1;
    padding: 16px;
    border-radius: 14px;
    border: 0;
    text-decoration: none;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.course-page .mega-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.course-page .btn-gold {
    background: var(--accent-gradient);
    color: #111;
}

.course-page .btn-dark {
    background: var(--primary-black);
    color: #fff;
}

.course-page .courses-section {
    grid-column: span 4;
    margin-top: 4px;
}

.course-page .courses-intro {
    margin-bottom: 8px;
}

.course-page .courses-intro h2 {
    margin: 0 0 10px;
    font-size: 2.1rem;
    font-weight: 900;
}

.course-page .courses-intro h2 span {
    color: var(--gold-vibrant);
}

.course-page .courses-intro p {
    margin: 0;
    color: var(--ig-gray);
    line-height: 1.7;
}

.course-page .coursesSwiper {
    width: 100%;
    padding: 20px 10px 58px !important;
    cursor: grab;
}

.course-page .coursesSwiper .swiper-wrapper {
    align-items: stretch;
}

.course-page .course-slide {
    height: auto;
    display: flex;
}

.course-page .course-card {
    background: #fff;
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 30px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.course-page .course-slide .course-card {
    width: 100%;
    height: 100%;
}

.course-page .course-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold-vibrant);
    box-shadow: 0 16px 35px rgba(212, 175, 55, 0.12);
}

.course-page .course-tag {
    width: fit-content;
    background: var(--gold-glow);
    color: var(--gold-vibrant);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
}

.course-page .course-media {
    position: relative;
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.2);
    background: #f5f5f5;
}

.course-page .course-cover {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.course-page .course-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: none;
    background: #000;
}

.course-page .course-play-btn {
    position: absolute;
    left: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(212, 175, 55, 0.95);
    color: #111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    cursor: pointer;
    z-index: 2;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.course-page .course-play-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.45);
}

.course-page .course-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1.5;
}

.course-page .course-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.course-page .course-features li {
    display: flex;
    gap: 8px;
    align-items: center;
    color: #555;
    font-size: 0.9rem;
    line-height: 1.6;
}

.course-page .course-features i {
    color: var(--gold-vibrant);
    font-size: 0.8rem;
}

.course-page .course-price {
    margin-top: auto;
    font-size: 1.7rem;
    font-weight: 900;
}

.course-page .course-price span {
    font-size: 0.9rem;
    color: var(--ig-gray);
    font-weight: 500;
}

.course-page .price-old {
    text-decoration: line-through;
    margin-right: 6px;
}

.course-page .course-action-btn {
    --action-text-shift: -1.7rem;
    --action-arrow-shift: 8.7rem;
    --action-arrow-shift-active: 9.5rem;
    width: 12rem;
    max-width: 100%;
    height: 3rem;
    margin: 8px auto 0;
    padding: 0;
    position: relative;
    display: inline-block;
    vertical-align: middle;
    text-decoration: none;
    cursor: pointer;
    border: 0;
    outline: none;
    background: transparent;
    font-size: inherit;
    font-family: inherit;
}

.course-page[dir="rtl"] .course-action-btn,
html[dir="rtl"] .course-page .course-action-btn {
    --action-text-shift: 1.7rem;
    --action-arrow-shift: -8.7rem;
    --action-arrow-shift-active: -9.5rem;
}

.course-page[dir="rtl"] .course-action-btn .circle .icon.arrow,
html[dir="rtl"] .course-page .course-action-btn .circle .icon.arrow {
    left: auto;
    right: 0.625rem;
}

.course-page .course-action-btn .circle {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    box-shadow: 0 0 8px 1px rgba(212, 175, 55, 0.55);
    position: relative;
    display: block;
    margin: 0;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(114deg, #fdc100 0%, #dd7d00 100%);
    border-radius: 1.625rem;
    overflow: hidden;
}

.course-page .course-action-btn .circle .icon {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    background: #fff;
}

.course-page .course-action-btn .circle .icon.arrow {
    left: 0.625rem;
    right: auto;
    width: 1rem;
    height: 0.14rem;
    background: #fff;
    transform: translateX(0);
    border-radius: 999px;
}

.course-page .course-action-btn .circle .icon.arrow::before {
    position: absolute;
    content: "";
    top: 50%;
    right: -0.07rem;
    width: 0.78rem;
    height: 0.78rem;
    border-top: 0.14rem solid #fff;
    border-right: 0.14rem solid #fff;
    transform: translateY(-50%) rotate(45deg);
    box-sizing: border-box;
}

.course-page[dir="rtl"] .course-action-btn .circle .icon.arrow::before,
html[dir="rtl"] .course-page .course-action-btn .circle .icon.arrow::before {
    right: auto;
    left: -0.07rem;
    border-right: 0;
    border-left: 0.14rem solid #fff;
    transform: translateY(-50%) rotate(-45deg);
}

.course-page .course-action-btn .button-text {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: absolute;
    inset: 0;
    padding: 0.75rem 0;
    margin: 0;
    margin-inline-start: 1.85rem;
    margin-inline-end: 0;
    color: #a6a6a6;
    font-size: 0.93rem;
    font-weight: 800;
    line-height: 1.6;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.45px;
    pointer-events: none;
}

.course-page .course-action-btn:hover .circle {
    width: 100%;
    box-shadow: 0 0 14px 3px rgba(212, 175, 55, 0.78);
}

.course-page .course-action-btn:hover .button-text {
    transform: translate(var(--action-text-shift), 0);
    color: #fff;
}

.course-page .course-action-btn:hover .circle .icon.arrow {
    background: #fff;
    transform: translate(var(--action-arrow-shift), 0);
}

.course-page .course-action-btn:active .circle .icon.arrow {
    transform: translate(var(--action-arrow-shift-active), 0);
    transition: all 0.3s;
}

.course-page .course-action-btn:active .circle {
    transform: scale(0.9);
    transition: all 0.3s;
    box-shadow: 0 0 8px 1px rgba(212, 175, 55, 0.62);
}

.course-page .course-action-btn:active .button-text {
    color: rgba(255, 255, 255, 0.55);
}

.course-page button.course-action-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.course-page button.course-action-btn:disabled .circle {
    width: 100%;
    box-shadow: 0 0 7px 1px rgba(212, 175, 55, 0.35);
}

.course-page button.course-action-btn:disabled .circle .icon.arrow {
    background: #fff;
}

.course-page button.course-action-btn:disabled .button-text {
    transform: none;
}

.course-page .course-action-owned .circle {
    background: linear-gradient(114deg, #fdc100 0%, #dd7d00 100%);
}

.course-page .courses-empty {
    grid-column: 1 / -1;
    padding: 42px 20px;
    border-radius: 20px;
    border: 1px dashed rgba(212, 175, 55, 0.5);
    background: #fff;
    text-align: center;
    color: #777;
    line-height: 1.8;
}

.course-page .courses-empty strong {
    color: var(--gold-vibrant);
}

.course-page .course-learning-section {
    margin-top: 32px;
    border-radius: 30px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    background: linear-gradient(180deg, #ffffff 0%, #fcfbf7 100%);
    box-shadow: var(--shadow-soft);
    padding: 28px 24px;
    direction: rtl;
    text-align: right;
    color: #171717;
}

.course-page .course-learning-title {
    margin: 0 0 18px;
    text-align: center;
    font-size: clamp(1.45rem, 3.2vw, 2.15rem);
    font-weight: 900;
    line-height: 1.55;
    color: #121212;
}

.course-page .course-learning-media {
    width: min(560px, 100%);
    margin: 0 auto 22px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.24);
    box-shadow: var(--shadow-soft);
    background: #fff;
    position: relative;
}

.course-page .course-learning-media img {
    width: 100%;
    height: auto;
    max-height: 760px;
    object-fit: contain;
    background: #fff;
    display: block;
}

.course-page .course-learning-media::after {
    content: none;
}

.course-page .course-learning-content {
    direction: rtl;
    text-align: right;
    padding: 0;
}

.course-page .learning-module+.learning-module {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.course-page .learning-module h4 {
    margin: 0 0 8px;
    font-size: 1.08rem;
    font-weight: 800;
    color: #111;
    line-height: 1.6;
}

.course-page .learning-module p {
    margin: 0;
    color: #666;
    font-weight: 600;
    line-height: 1.8;
}

.course-page .course-learning-content .learning-points-swiper,
.course-page .course-bonuses-content .bonuses-points-swiper {
    width: 100%;
    padding: 20px 10px 58px !important;
    cursor: grab;
}

.course-page .learning-points-swiper .swiper-wrapper,
.course-page .bonuses-points-swiper .swiper-wrapper {
    align-items: stretch;
}

.course-page .learning-points-swiper .swiper-slide,
.course-page .bonuses-points-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.course-page .learning-point-card,
.course-page .bonus-point-card {
    width: 100%;
    min-height: 340px;
    background: #ffffff;
    border: 1px solid rgba(212, 175, 55, 0.12);
    border-radius: 30px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: var(--ig-gray);
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.8;
    box-shadow: var(--shadow-soft);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.course-page .point-card-icon {
    width: 68px;
    height: 68px;
    margin-bottom: 16px;
    border-radius: 18px;
    background: #f8f8f6;
    color: var(--gold-vibrant);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    flex-shrink: 0;
}

.course-page .learning-point-card p,
.course-page .bonus-point-card p {
    margin: 0;
}

.course-page .learning-point-card h4,
.course-page .bonus-point-card h4 {
    margin: 0 0 10px;
    color: #121212;
    font-size: 1.2rem;
    font-weight: 900;
    line-height: 1.45;
}

.course-page .learning-point-card:hover,
.course-page .bonus-point-card:hover {
    border-color: var(--gold-vibrant);
    box-shadow: 0 14px 36px rgba(212, 175, 55, 0.15);
}

.course-page .course-bonuses-section {
    margin-top: 24px;
    border-radius: 30px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    background: linear-gradient(180deg, #ffffff 0%, #fcfbf7 100%);
    box-shadow: var(--shadow-soft);
    padding: 24px;
    direction: rtl;
    text-align: right;
    color: #171717;
}

.course-page .course-bonuses-media {
    width: min(560px, 100%);
    margin: 0 auto 16px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.24);
    box-shadow: var(--shadow-soft);
    background: #fff;
    position: relative;
}

.course-page .course-bonuses-media img {
    width: 100%;
    height: auto;
    max-height: 760px;
    object-fit: contain;
    background: #fff;
    display: block;
}

.course-page .course-bonuses-media::after {
    content: none;
}

.course-page .course-bonuses-content {
    max-width: 920px;
    margin: 0 auto;
}

.course-page .course-bonuses-content h3 {
    margin: 0;
    text-align: center;
    font-size: clamp(1.3rem, 2.8vw, 1.9rem);
    font-weight: 900;
    line-height: 1.6;
    color: #121212;
}

.course-page .audience-section {
    grid-column: span 4;
    padding: 42px 0 12px;
    text-align: center;
}

.course-page .audience-section .section-title {
    margin-bottom: 14px;
}

.course-page .audience-description {
    margin: 0 auto;
    max-width: 900px;
    color: #5a5a5a;
    font-size: clamp(1.05rem, 2.2vw, 1.35rem);
    font-weight: 700;
    line-height: 1.9;
}

.course-page .clients-section {
    grid-column: span 4;
    padding: 24px 0 30px;
}

.course-page .clients-section .section-title {
    margin-bottom: 8px;
}

.course-page .clients-subtitle {
    margin: 0 0 18px;
    text-align: center;
    color: #7d7d7d;
    font-size: 1rem;
    font-weight: 700;
}

.course-page .clients-stories-swiper-wrap {
    width: 100%;
    margin: 8px auto 0;
    padding-bottom: 30px;
}

.course-page .clientStoriesSwiper {
    width: 100%;
    padding: 4px 2px 8px !important;
    direction: ltr;
}

.course-page .clientStoriesSwiper .swiper-wrapper {
    align-items: stretch;
}

.course-page .clientStoriesSwiper .swiper-slide {
    height: auto;
    display: flex;
}

.course-page .client-story-card {
    width: 100%;
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.09);
    background: #fff;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
    aspect-ratio: 3 / 4;
    min-height: 360px;
}

.course-page .client-story-card img,
.course-page .client-story-card .client-story-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #f7f7f7;
}

.course-page .client-story-label {
    position: absolute;
    bottom: 12px;
    left: 12px;
    inset-block-end: 12px;
    inset-inline-start: 12px;
    z-index: 2;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.62);
    border: 1px solid rgba(212, 175, 55, 0.6);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1;
}

html[dir="rtl"] .course-page .client-story-label {
    left: auto;
    right: 12px;
}

.course-page .client-stories-pagination {
    position: static !important;
    margin-top: 14px;
    width: 100% !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    padding-inline: 2px;
    text-align: center;
}

.course-page .client-stories-pagination.swiper-pagination-lock {
    display: flex !important;
}

.course-page .client-stories-pagination .swiper-pagination-bullet {
    flex: 0 0 auto;
    margin: 0 !important;
}

.course-page .photo-separator-section {
    grid-column: span 4;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 28px 0;
}

.course-page .photo-separator-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0), rgba(212, 175, 55, 0.45), rgba(212, 175, 55, 0));
}

.course-page .photo-separator-image {
    width: min(300px, 55vw);
}

.course-page .photo-separator-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.course-page .current-offer-section {
    grid-column: span 4;
    padding: 12px 0 30px;
}

.course-page .current-offer-section .section-title {
    margin-bottom: 18px;
}

.course-page .current-offer-card {
    max-width: 980px;
    margin: 0 auto;
    background: linear-gradient(180deg, #fffdf6 0%, #ffffff 100%);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 30px;
    padding: 28px 24px;
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.course-page .offer-price {
    margin: 0;
    color: #151515;
    font-size: clamp(1.1rem, 2.4vw, 1.55rem);
    font-weight: 900;
    line-height: 1.75;
}

.course-page .offer-alert {
    margin: 12px 0 0;
    color: #8a5c10;
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    font-weight: 700;
    line-height: 1.85;
}

.course-page .offer-cta-btn {
    margin-top: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: min(100%, 560px);
    min-height: 78px;
    border-radius: 22px;
    border: 2px solid rgba(255, 255, 255, 0.55);
    background: linear-gradient(114deg, #fdc100 0%, #dd7d00 100%);
    color: #111;
    font-size: clamp(1.05rem, 2.4vw, 1.4rem);
    font-weight: 900;
    line-height: 1.4;
    box-shadow: 0 18px 38px rgba(212, 175, 55, 0.34);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.course-page .offer-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 44px rgba(212, 175, 55, 0.45);
    filter: brightness(1.04);
}

.course-page .contact-cta-section {
    grid-column: span 4;
    padding: 12px 0 26px;
}

.course-page .contact-cta-card {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
    padding: 34px 28px;
    border-radius: 34px;
    border: 1px solid rgba(212, 175, 55, 0.34);
    background: linear-gradient(145deg, #ffffff 0%, #fffdf6 62%, #ffffff 100%);
    box-shadow: 0 18px 40px rgba(212, 175, 55, 0.14);
    text-align: center;
    overflow: hidden;
}

.course-page .contact-cta-card::before {
    content: "";
    position: absolute;
    inset-inline-start: -120px;
    inset-block-start: -120px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0) 72%);
}

.course-page .contact-cta-card .section-title {
    margin-bottom: 16px;
    color: #d4af37;
}

.course-page .contact-cta-text {
    margin: 0 auto;
    max-width: 760px;
    color: #272015;
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 700;
    line-height: 1.9;
}

.course-page .contact-cta-btn {
    margin-top: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 66px;
    width: min(100%, 420px);
    padding: 0 24px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.78);
    background: var(--accent-gradient);
    color: #fff;
    text-decoration: none;
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 900;
    box-shadow: 0 16px 34px rgba(212, 175, 55, 0.32);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.course-page .contact-cta-btn i {
    font-size: 1.18rem;
}

.course-page .contact-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 40px rgba(212, 175, 55, 0.42);
    filter: brightness(1.03);
}

.course-page .rewards-slider-section {
    grid-column: span 4;
    padding: 58px 0;
    position: relative;
}

.course-page .section-title {
    text-align: center;
    font-size: 2.4rem;
    font-weight: 900;
    margin: 0 0 36px;
}

.course-page .section-title span {
    color: var(--gold-vibrant);
}

.course-page .swiper:not(.clientStoriesSwiper) {
    width: 100%;
    padding: 20px 10px 58px !important;
    cursor: grab;
}

.course-page .reward-card {
    min-height: 340px;
    background: #fff;
    border: 1px solid rgba(212, 175, 55, 0.12);
    border-radius: 30px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-soft);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.course-page .reward-card:hover {
    border-color: var(--gold-vibrant);
    box-shadow: 0 14px 36px rgba(212, 175, 55, 0.15);
}

.course-page .reward-icon {
    width: 68px;
    height: 68px;
    margin-bottom: 16px;
    border-radius: 18px;
    background: #f8f8f6;
    color: var(--gold-vibrant);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
}

.course-page .reward-icon-highlight {
    background: var(--gold-vibrant);
    color: #fff;
}

.course-page .reward-content h4 {
    margin: 0 0 12px;
    font-size: 1.4rem;
    font-weight: 800;
}

.course-page .reward-content p {
    margin: 0;
    color: var(--ig-gray);
    line-height: 1.8;
    font-size: 0.98rem;
}

.course-page .reward-footer {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
    font-weight: 700;
    color: var(--gold-vibrant);
    display: flex;
    gap: 9px;
    align-items: center;
}

.course-page .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #ddd;
    opacity: 1;
    transition: 0.3s;
}

.course-page .swiper-pagination-bullet-active {
    background: var(--gold-vibrant) !important;
    width: 30px;
    border-radius: 10px;
}

.course-page .site-footer {
    position: relative;
    z-index: 1;
    margin: 40px 5% 0;
}

@media (max-width: 1000px) {
    .course-page .item-profile-mega {
        grid-template-columns: 1fr;
    }

    .course-page .profile-main-side {
        border-left: 0;
        border-bottom: 1px solid var(--border-light);
        padding-left: 0;
        padding-bottom: 24px;
    }

    .course-page .course-learning-section,
    .course-page .course-bonuses-section {
        padding: 24px 18px;
    }

    .course-page .course-learning-media,
    .course-page .course-bonuses-media {
        max-width: 460px;
    }

    .course-page .clients-stories-swiper-wrap {
        padding-bottom: 24px;
    }

    .course-page .client-story-card {
        min-height: 330px;
    }

    .course-page .current-offer-card {
        padding: 24px 18px;
    }

    .course-page .contact-cta-card {
        padding: 28px 20px;
    }

}

@media (max-width: 768px) {
    .course-page {
        padding-top: 88px;
    }

    .course-page .hero-bento {
        gap: 16px;
    }

    .course-page .bento-item {
        padding: 22px;
        border-radius: 22px;
    }

    .course-page .courses-intro h2 {
        font-size: 1.7rem;
    }

    .course-page .section-title {
        font-size: 1.8rem;
    }

    .course-page .action-area {
        flex-direction: column;
    }

    .course-page .course-learning-section,
    .course-page .course-bonuses-section {
        padding: 20px 14px;
        border-radius: 22px;
    }

    .course-page .course-learning-title,
    .course-page .course-bonuses-content h3 {
        font-size: 1.28rem;
    }

    .course-page .course-learning-media,
    .course-page .course-bonuses-media {
        border-radius: 18px;
    }

    .course-page .learning-module h4 {
        font-size: 1rem;
    }

    .course-page .learning-point-card,
    .course-page .bonus-point-card {
        min-height: 270px;
        font-size: 0.92rem;
        padding: 22px;
    }

    .course-page .learning-point-card h4,
    .course-page .bonus-point-card h4 {
        font-size: 1.05rem;
    }

    .course-page .audience-description {
        font-size: 1rem;
    }

    .course-page .clientStoriesSwiper {
        padding: 2px 0 6px !important;
    }

    .course-page .client-story-card {
        min-height: 300px;
        border-radius: 18px;
    }

    .course-page .client-story-label {
        padding: 6px 10px;
        font-size: 0.78rem;
    }

    .course-page .photo-separator-section {
        gap: 12px;
        flex-direction: column;
    }

    .course-page .photo-separator-line {
        width: 100%;
    }

    .course-page .photo-separator-image {
        width: min(250px, 70vw);
    }

    .course-page .offer-cta-btn {
        width: 100%;
        min-height: 68px;
        border-radius: 16px;
        padding: 0 16px;
    }

    .course-page .contact-cta-card {
        padding: 24px 16px;
        border-radius: 24px;
    }

    .course-page .contact-cta-text {
        font-size: 1rem;
        line-height: 1.8;
    }

    .course-page .contact-cta-btn {
        width: 100%;
        min-height: 62px;
        padding: 0 16px;
    }

    .course-page .site-footer {
        margin: 32px 0 0;
    }
}
