/**
 * Premium Course Landing Page Styles
 * Dark Mode + Glassmorphism + CRO Optimized
 */

/* ==========================================================================
   1. DESIGN SYSTEM EXTENSIONS
   ========================================================================== */
:root {
    /* Premium Card Colors */
    --color-card-bg: rgba(24, 27, 50, 0.6);
    --color-card-solid: #12152a;
    --color-card-border: rgba(111, 78, 246, 0.15);
    --color-card-hover: rgba(111, 78, 246, 0.25);

    /* Shadow System */
    --shadow-soft: 0 4px 30px rgba(0, 0, 0, 0.3);
    --shadow-glow-primary: 0 0 40px rgba(111, 78, 246, 0.3);
    --shadow-glow-secondary: 0 0 40px rgba(11, 212, 193, 0.2);

    /* Accent Colors */
    --color-gold-accent: #f4c150;
    --color-text-muted: rgba(255, 255, 255, 0.6);
    --color-text-subtle: rgba(255, 255, 255, 0.4);

    /* Gradients */
    --gradient-dark-depth: linear-gradient(180deg, #070e27 0%, #0d1633 100%);
    --gradient-card: linear-gradient(145deg, rgba(24, 27, 50, 0.8) 0%, rgba(18, 21, 42, 0.9) 100%);
    --gradient-primary-button: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary-main) 100%);
}

/* ==========================================================================
   2. PREMIUM LAYOUT - BASE STRUCTURE
   ========================================================================== */
.premium-course-layout {
    background: var(--gradient-dark-depth);
    min-height: 100vh;
    color: #fff;
    padding-bottom: 60px;
    overflow: visible;
    /* Safety for sticky behavior */
}

.premium-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* CSS Grid Layout for Desktop */
.course-grid-container {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    /* align-items: start removed to allow columns to stretch to full height */
    padding-top: 48px;
}

/* ==========================================================================
   3. LEFT COLUMN - CONTENT
   ========================================================================== */
.course-left-col {
    min-width: 0;
    /* Prevent grid blowout */
}

/* Hero / Header Section */
.course-header-info {
    margin-bottom: 48px;
}

.course-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #fff;
}

.course-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

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

.course-meta .meta-item {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.course-meta .meta-item i {
    color: var(--color-primary-light);
    margin-right: 6px;
}

.course-meta .meta-item a {
    color: var(--color-secondary-main);
}

.course-rating-summary {
    margin-top: 16px;
}

.course-rating-summary .star-rating i {
    color: var(--color-gold-accent);
}

/* Section Titles */
.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    position: relative;
}

/* ==========================================================================
   4. GLASS CARDS - REUSABLE COMPONENT
   ========================================================================== */
.glass-card {
    background: var(--gradient-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--color-card-border);
    border-radius: 16px;
    padding: 28px;
    box-shadow: var(--shadow-soft);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    border-color: var(--color-card-hover);
}

/* ==========================================================================
   5. STATS BOX - "What's Included"
   ========================================================================== */
.course-stats-box {
    background: var(--gradient-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-card-border);
    border-radius: 16px;
}

.course-stats-list li {
    padding: 8px 0;
}

.course-stats-list .icon-box {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(111, 78, 246, 0.15);
    border-radius: 10px;
    color: var(--color-primary-light);
    font-size: 1.2rem;
}

/* ==========================================================================
   6. BENEFITS SECTION - "What You'll Learn"
   ========================================================================== */
.course-benefits-section .glass-card {
    padding: 32px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.benefit-item {
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    /* Increased visibility */
    backdrop-filter: blur(8px);
    /* Mini glass effect */
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Stronger border */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.benefit-item:hover {
    background: rgba(111, 78, 246, 0.1);
    border-color: var(--color-primary-light);
    transform: translateY(-2px);
}

.benefit-item i {
    color: var(--color-secondary-main);
    font-size: 1.1rem;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: rgba(11, 212, 193, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    margin-right: 14px;
    transition: all 0.3s ease;
}

.benefit-item:hover i {
    background: var(--color-secondary-main);
    color: #12152a;
    box-shadow: 0 0 12px rgba(11, 212, 193, 0.4);
    transform: scale(1.1);
}

.benefit-item span {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ==========================================================================
   7. CURRICULUM ACCORDION
   ========================================================================== */
.course-curriculum-section {
    margin-bottom: 48px;
    content-visibility: auto;
    contain-intrinsic-size: 0 500px;
}

.course-curriculum-wrap {
    border: 1px solid var(--color-card-border);
    border-radius: 16px;
    overflow: hidden;
}

.course-section {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.course-section:last-child {
    border-bottom: none;
}

/* First section header: rounded top corners */
.course-section:first-child .course-section-header {
    border-radius: 16px 16px 0 0;
}

/* Last section header (when collapsed): rounded bottom corners */
.course-section:last-child .course-section-header {
    border-radius: 0 0 16px 16px;
}

/* First AND last (single section): all corners rounded */
.course-section:first-child:last-child .course-section-header {
    border-radius: 16px;
}

/* When any section is expanded, its content gets rounded bottom corners */
.course-section.active-section .course-section-body {
    border-radius: 0 0 16px 16px;
}

/* When any section is expanded, the NEXT sibling's header gets rounded top corners */
.course-section.active-section+.course-section .course-section-header {
    border-radius: 16px 16px 0 0;
}

/* When last section is expanded, remove bottom radius from header, content has it */
.course-section:last-child.active-section .course-section-header,
.course-section:last-child .course-section-body.expanded~.course-section-header {
    border-radius: 0;
}

/* Last section body (when expanded): rounded bottom corners */
.course-section:last-child .course-section-body.expanded .course-section-inner {
    border-radius: 0 0 16px 16px;
}

/* Middle sections: no rounded corners at all */
.course-section:not(:first-child):not(:last-child) .course-section-header {
    border-radius: 0;
}

.course-section-header {
    background: rgba(24, 27, 50, 0.8);
    padding: 18px 24px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.course-section-header:hover {
    background: rgba(111, 78, 246, 0.1);
}

.course-section-header[aria-expanded="true"] .transition-icon {
    transform: rotate(180deg);
}

.transition-icon {
    transition: transform 0.3s ease;
}

.course-section-name {
    color: #fff;
    display: flex;
    align-items: flex-start;
    gap: 0;
    flex: 1;
    min-width: 0;
}

.course-section-name .transition-icon {
    flex-shrink: 0;
    margin-top: 3px;
    /* align icon with first line of text */
}

.course-section-lecture-count {
    color: var(--color-text-subtle);
    font-size: 0.85rem;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: 8px;
}

.course-section-body {
    background: rgba(7, 14, 39, 0.5);
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s ease-out;
    will-change: grid-template-rows;
}

.course-section-body.expanded {
    grid-template-rows: 1fr;
}

.course-section-inner {
    overflow: hidden;
    min-height: 0;
    /* Padding removed to ensure full collapse in grid animation */
}

/* Spacing for child elements to ensure full collapse */
.course-section-inner .course-curriculum-item:first-child {
    margin-top: 8px;
}

.course-section-inner .course-curriculum-item:last-child {
    margin-bottom: 8px;
}

/* ==========================================================================
   8. REVIEWS SECTION
   ========================================================================== */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.review-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.15);
}

.quote-icon {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.2);
    float: left;
    margin-top: -5px;
}

.review-content {
    font-size: 0.95rem;
    line-height: 1.6;
}

#show-more-reviews-btn {
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

#show-more-reviews-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

.course-curriculum-item {
    padding: 14px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.2s ease;
}

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

.course-curriculum-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

.curriculum-item-icon {
    color: var(--color-text-subtle);
    width: 28px !important;
    min-width: 28px !important;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.curriculum-item-title {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.preview-badge {
    color: var(--color-secondary-main);
    font-size: 0.85rem;
    font-weight: 600;
}

.preview-badge:hover {
    color: var(--color-secondary-light);
}

.locked-course-item {
    pointer-events: auto !important;
    /* Force clicks to register on the item */
    cursor: pointer !important;
}

/* ==========================================================================
   8. REQUIREMENTS & DESCRIPTION
   ========================================================================== */
.course-requirements-section,
.course-description-section {
    margin-bottom: 48px;
}

.requirement-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 12px 16px;
    transition: background 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.requirement-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
}

.req-icon-box {
    width: 32px;
    height: 32px;
    background: rgba(111, 78, 246, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-light);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.course-description-content {
    line-height: 1.8;
    color: var(--color-text-muted);
}

/* Description Show More - Premium UX */
.description-box {
    position: relative;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    /* Smother easing */
    /* Default state is expanded in CSS, JS adds collapsed */
    will-change: max-height;
}

.description-box.collapsed {
    max-height: 280px;
    -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

.description-box:not(.collapsed) {
    -webkit-mask-image: none;
    mask-image: none;
}

/* Remove old overlay styles if they exist, or just overrides */
.description-fade-overlay {
    display: none !important;
}

#description-toggle-btn {
    color: var(--color-primary-light);
    background: rgba(111, 78, 246, 0.1);
    /* Subtle pill background */
    padding: 10px 24px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 16px auto 0;
    /* Center horizontally */
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: 1px solid transparent;
}

#description-toggle-btn:hover {
    background: var(--color-primary-main);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(111, 78, 246, 0.3);
}

#description-toggle-btn i {
    font-size: 1.1rem;
    margin-right: 8px;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    display: inline-block;
    transform-origin: center;
}

#description-toggle-btn.expanded i {
    transform: rotate(180deg);
}

.course-description-section {
    display: flex;
    flex-direction: column;
    /* To center the button */
}

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

/* ==========================================================================
   9. INSTRUCTORS SECTION
   ========================================================================== */
.course-instructors-section {
    margin-bottom: 48px;
    content-visibility: auto;
    contain-intrinsic-size: 0 300px;
}

.instructor-img img,
.instructor-img .profile-image-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-card-border);
}

.instructor-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}

.instructor-name:hover {
    color: var(--color-secondary-main);
}

.instructor-title {
    color: var(--color-primary-light);
    font-size: 0.95rem;
}

.instructor-bio {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ==========================================================================
   10. REVIEWS SECTION
   ========================================================================== */
.course-reviews-section {
    margin-bottom: 48px;
    content-visibility: auto;
    contain-intrinsic-size: 0 400px;
}

.rating-big {
    min-width: 120px;
}

.rating-big .display-3 {
    font-size: 3rem;
    line-height: 1;
}

.rating-bars .progress {
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
}

.rating-bars .progress-bar {
    background: var(--color-gold-accent);
}

.single-review {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.user-img img,
.user-img .profile-image-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

/* ==========================================================================
   11. FAQ SECTION
   ========================================================================== */
.course-faq-section {
    margin-bottom: 48px;
    content-visibility: auto;
    contain-intrinsic-size: 0 400px;
}

.faq-item {
    background: var(--gradient-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--color-card-border);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--color-card-hover);
    box-shadow: var(--shadow-soft);
}

.faq-header {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.02);
    transition: background 0.2s ease;
}

.faq-header:hover {
    background: rgba(111, 78, 246, 0.1);
}

.faq-question {
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
    line-height: 1.4;
}

.faq-icon {
    font-size: 1.2rem;
    color: var(--color-primary-light);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: rgba(0, 0, 0, 0.2);
    will-change: max-height;
}

.faq-content {
    padding: 24px;
    color: var(--color-text-muted);
    line-height: 1.7;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* Active State */
.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--color-secondary-main);
}

.faq-item.active {
    border-color: var(--color-primary-light);
}

/* ==========================================================================
   12. RIGHT COLUMN - STICKY SIDEBAR
   ========================================================================== */
.course-right-col {
    position: relative;
    /* align-self removed so it stretches to match left column height */
    height: 100%;
    /* Ensure it takes full height available */
}

.course-sidebar-sticky {
    position: -webkit-sticky;
    /* Safari fix */
    position: sticky;
    top: 24px;
    z-index: 10;
    will-change: transform;
    display: block;
    /* Safari fix */
}

/* Video Preview Card */
.video-preview-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--color-card-border);
    background: var(--color-card-solid);
}

.video-wrapper {
    position: relative;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
    background: #000;
}

.video-wrapper iframe,
.video-wrapper video,
.video-wrapper>div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-thumbnail {
    position: relative;
}

.video-thumbnail .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.video-thumbnail .play-btn:hover {
    background: var(--color-primary-main);
    transform: translate(-50%, -50%) scale(1.1);
}

/* Enroll Card - The Conversion Machine */
.course-enroll-card {
    background: var(--gradient-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--color-card-border);
    border-radius: 16px;
    padding: 28px;
    box-shadow: var(--shadow-soft), var(--shadow-glow-primary);
}

.border-gradient {
    position: relative;
}

.border-gradient::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, transparent 50%, var(--color-secondary-main) 100%);
    border-radius: 17px;
    z-index: -1;
    opacity: 0.3;
}

/* Price Block — Conversion Optimized */
.price-box {
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Offer Header Badge */
.offer-header {
    margin-bottom: 16px;
}

.offer-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.15) 0%, rgba(255, 165, 0, 0.12) 100%);
    color: #ffb347;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 30px;
    border: 1px solid rgba(255, 165, 0, 0.25);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    animation: offerPulse 3s ease-in-out infinite;
}

.offer-badge i {
    font-size: 1rem;
    color: #ff6b6b;
}

@keyframes offerPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 165, 0, 0.2);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(255, 165, 0, 0);
    }
}

/* Anchor Price Row — Stacked: old price on top, current + badge below */
.price-anchor-row {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

/* Override price_html layout: remove <br> breaks, use flexbox column */
.price-anchor-row .price-html-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.price-anchor-row .price-html-wrap br {
    display: none;
}

/* Old price — small, centered on top with strikethrough */
.price-anchor-row .price-html-wrap .old-price,
.price-anchor-row .price-html-wrap .old-price s {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: line-through;
    text-decoration-color: rgba(255, 107, 107, 0.6);
    text-decoration-thickness: 2px;
    order: -1;
    /* Move old price BEFORE current price */
}

/* Current price — big and bold, centered below */
.price-anchor-row .price-html-wrap .current-price {
    font-size: 2.4rem !important;
    font-weight: 800;
    color: #fff;
    letter-spacing: -1px;
    line-height: 1;
}

/* Hide the system discount-text (we use our own badge) */
.price-anchor-row .price-html-wrap .discount-text {
    display: none;
}

/* Discount Badge — Now integrated into urgency bar */
.discount-badge {
    display: none;
}

/* Savings — Removed */
.savings-line {
    display: none;
}

/* ==========  URGENCY BAR — Unified Discount + Countdown  ========== */
.urgency-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 16px;
    padding: 10px 16px;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.08) 0%, rgba(244, 193, 80, 0.08) 50%, rgba(111, 78, 246, 0.08) 100%);
    border: 1px solid rgba(255, 165, 0, 0.2);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    animation: urgencyGlow 3s ease-in-out infinite;
}

.urgency-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent);
    animation: urgencySweep 4s ease-in-out infinite;
}

@keyframes urgencySweep {
    0% {
        left: -60%;
    }

    100% {
        left: 160%;
    }
}

@keyframes urgencyGlow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.15);
        border-color: rgba(255, 165, 0, 0.2);
    }

    50% {
        box-shadow: 0 0 20px 0 rgba(255, 107, 107, 0.1);
        border-color: rgba(255, 107, 107, 0.35);
    }
}

/* Discount pill inside urgency bar */
.urgency-discount {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    color: #fff;
    padding: 6px 14px;
    border-radius: 8px;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(255, 107, 107, 0.3);
    line-height: 1;
}

.urgency-discount-num {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.urgency-discount-label {
    font-weight: 600;
    font-size: 0.6rem;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

/* Vertical divider */
.urgency-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.15);
    margin: 0 14px;
    flex-shrink: 0;
}

/* Timer section — stacked vertically to mirror discount pill */
.urgency-timer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-gold-accent);
    line-height: 1;
    gap: 3px;
}

.urgency-timer i {
    display: none;
}

.urgency-timer-label {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.85;
    white-space: nowrap;
}

.countdown-time {
    font-weight: 800;
    color: #fff;
    font-variant-numeric: tabular-nums;
    font-size: 1.2rem;
    letter-spacing: 1.5px;
}

@keyframes clockPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* Social Proof Line */
.social-proof-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    padding: 0 8px;
}

.social-proof-line i {
    color: var(--color-primary-light);
    font-size: 1.1rem;
}

.social-proof-line strong {
    color: #fff;
}

/* Guarantee Strip */
.guarantee-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.guarantee-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}

.guarantee-item i {
    font-size: 1.3rem;
    color: var(--color-secondary-main);
    opacity: 0.85;
}

.guarantee-item span {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0.2px;
}

/* Action Buttons */
.actions-box {
    padding: 0px 0;
}

.glow-button {
    background: var(--gradient-primary-button);
    border: none;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 16px 24px;
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(111, 78, 246, 0.4);
}

.glow-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(111, 78, 246, 0.5);
    color: #fff;
}

.glow-button:active {
    transform: translateY(0);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    background: transparent;
    font-weight: 600;
    padding: 14px 24px;
    border-radius: 12px;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.btn-outline-light:hover {
    border-color: var(--color-primary-light);
    background: rgba(111, 78, 246, 0.1);
    color: #fff;
}

/* Sidebar Includes List */
.sidebar-includes-list {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-includes-list h5 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
}

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

.sidebar-includes-list li {
    display: flex;
    align-items: center;
    padding: 10px 0;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   12. NEW CONTACT SECTION STYLES
   ========================================================================== */
.contact-header-bg {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.15) 0%, rgba(18, 140, 126, 0.25) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 32px 24px !important;
    /* More breathing room */
}

/* Badge Styling */
.badge-success-soft {
    background: rgba(37, 211, 102, 0.15);
    color: #4ade80;
    /* Brighter green for readability */
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    border: 1px solid rgba(37, 211, 102, 0.4);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.15);
    /* Glow effect */
    text-transform: uppercase;
}

/* Header Text Styling */
.contact-header-bg h4 {
    font-size: 1.75rem !important;
    /* Much larger title */
    margin-bottom: 8px !important;
    letter-spacing: -0.5px;
    background: linear-gradient(to right, #ffffff, #e0e0e0);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.contact-header-bg p {
    font-size: 1.1rem !important;
    color: rgba(255, 255, 255, 0.9) !important;
    /* High contrast */
    font-weight: 400;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
        transform: scale(1.02);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
        transform: scale(1);
    }
}

/* Input Styling */
.premium-input {
    background: rgba(0, 0, 0, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    color: #fff !important;
    height: 54px !important;
    padding-left: 100px;
    /* Space for flag */
    transition: all 0.3s ease;
}

.premium-input:focus {
    background: rgba(0, 0, 0, 0.3) !important;
    border-color: #25d366 !important;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.15) !important;
}

/* Whatsapp Button */
.btn-whatsapp-premium {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border: none;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 16px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-whatsapp-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn-whatsapp-premium:hover::before {
    left: 100%;
}

.btn-whatsapp-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* Avatars Stack */
.avatars-stack {
    display: flex;
}

.avatar-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--color-card-solid);
    background-size: cover;
    margin-left: -10px;
    position: relative;
}

.avatar-circle:first-child {
    margin-left: 0;
}

/* ==========================================================================
   13. INTL-TEL-INPUT OVERRIDES (Dark Theme)
   ========================================================================== */
.iti {
    display: block !important;
}

.iti__flag-container {
    padding: 2px !important;
}

.iti__selected-flag {
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 10px 0 0 10px !important;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease;
    padding: 0 12px 0 16px !important;
}

.iti__selected-flag:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}

.iti__arrow {
    border-top-color: rgba(255, 255, 255, 0.5) !important;
}

.iti__arrow--up {
    border-bottom-color: rgba(255, 255, 255, 0.5) !important;
}

.iti__country-list {
    background-color: #1a1e32 !important;
    /* Dark background */
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5) !important;
    max-height: 250px !important;
    width: 320px !important;
    /* Wider dropup */
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.iti__country {
    padding: 12px 16px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.iti__country:hover,
.iti__country.iti__highlight {
    background-color: rgba(111, 78, 246, 0.2) !important;
}

.iti__dial-code {
    color: rgba(255, 255, 255, 0.5) !important;
}

.iti__country-name {
    margin-right: 8px;
    font-size: 0.95rem;
}

.sidebar-includes-list li i {
    width: 24px;
    color: var(--color-primary-light);
    margin-right: 12px;
}

/* Guarantee Box — Legacy (replaced by .guarantee-strip) */

/* Enrolled Status */
.enrolled-status .icon-check {
    color: var(--color-secondary-main);
}

/* ==========================================================================
   12. CONTACT SECTION
   ========================================================================== */
.course-contact-section {
    margin-top: 48px;
}

.course-contact-section p.text-white-50 {
    color: rgba(255, 255, 255, 0.8) !important;
    /* Increased contrast */
    font-size: 1.05rem;
    /* Larger text */
}

.course-contact-section label {
    font-size: 1rem !important;
    /* Larger label */
    color: rgba(255, 255, 255, 0.9) !important;
    /* Higher contrast */
    font-weight: 500;
}

.course-contact-section small.text-muted {
    font-size: 0.9rem !important;
    /* Larger help text */
    color: rgba(255, 255, 255, 0.6) !important;
}

.course-contact-section .avatars-stack+.text-muted {
    font-size: 0.95rem !important;
    color: rgba(255, 255, 255, 0.7) !important;
}

.course-contact-section .input-group .form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 14px 18px;
    font-size: 1.1rem;
    /* Larger input text */
}

/* Align Name Input with Phone Input (intl-tel-input offset) */
#whatsapp-contact-form input#name.name-input-aligned {
    padding-left: 15px !important;
}

.course-contact-section .input-group .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
    /* Better placeholder contrast */
}

.course-contact-section .input-group .form-control:focus {
    border-color: var(--color-primary-light);
    box-shadow: 0 0 0 3px rgba(111, 78, 246, 0.2);
}

.course-contact-section .btn-success {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border: none;
    padding: 14px 24px;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-3px);
    }

    75% {
        transform: translateX(3px);
    }
}

/* Success Animation */
.success-animation {
    display: flex;
    justify-content: center;
}

.checkmark-circle {
    width: 80px;
    height: 80px;
    position: relative;
    display: inline-block;
    vertical-align: top;
    border-radius: 50%;
    background-color: rgba(37, 211, 102, 0.2);
    border: 2px solid #25D366;
    animation: scaleIn 0.5s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark {
    width: 24px;
    height: 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    border-right: none;
    border-top: none;
    border-left: 4px solid #fff;
    border-bottom: 4px solid #fff;
    transform: translate(-50%, -60%) rotate(-45deg);
    /* Adjusted Y offset for visual centering */
    opacity: 0;
    transform-origin: center;
    animation: checkmark 0.4s 0.5s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes checkmark {
    0% {
        width: 0;
        height: 0;
        opacity: 0;
    }

    100% {
        width: 24px;
        height: 12px;
        opacity: 1;
    }
}

.animate-fade-up {
    animation: fadeUp 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ==========================================================================
   12b. MOBILE BENEFITS GUARANTEE SECTION (mobile-only)
   ========================================================================== */

/* Hidden on desktop — appears only on mobile via media query */
.course-benefits-guarantee-section {
    display: none;
}

.benefits-guarantee-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.benefit-guarantee-card {
    background: rgba(111, 78, 246, 0.06);
    border: 1px solid rgba(111, 78, 246, 0.18);
    border-radius: 14px;
    padding: 14px 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    transition: border-color 0.2s ease;
}

.benefit-guarantee-card:hover {
    border-color: rgba(111, 78, 246, 0.35);
}

.benefit-guarantee-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(111, 78, 246, 0.25) 0%, rgba(11, 212, 193, 0.15) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-guarantee-icon i {
    font-size: 1.1rem;
    background: linear-gradient(135deg, var(--color-primary-light), #0bd4c1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.benefit-guarantee-text strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 2px;
}

.benefit-guarantee-text span {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.3;
}

.benefits-guarantee-section-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 12px;
}


/* ==========================================================================
   13. MOBILE RESPONSIVE STYLES
   ========================================================================== */
@media (max-width: 1024px) {

    /* ===== DISSOLVE COLUMNS — all sections become grid children ===== */
    .course-grid-container {
        grid-template-columns: 1fr;
        gap: 0;
        padding-top: 0;
    }

    .course-left-col,
    .course-right-col,
    .course-sidebar-sticky {
        display: contents;
    }

    /* ===== VIDEO — Edge-to-edge on mobile ===== */
    .video-preview-card {
        order: 1;
        margin-bottom: 0;

        /* Force full viewport width & kill border radius */
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        border-radius: 0 !important;

        /* Remove top gap - Minimal 4px gap */
        margin-top: 0px;
    }

    /* Target only structural containers — NOT internal player controls */
    .video-preview-card .video-js,
    .video-preview-card .video-js .vjs-tech,
    .video-preview-card .video-wrapper,
    .video-preview-card img,
    .video-preview-card video,
    .video-preview-card iframe {
        border-radius: 0 !important;
    }

    .course-header-info {
        order: 2;
        padding-top: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 12px !important;
        /* Reduced from 48px — saves vertical space */
    }

    .hero-credibility-bar {
        display: none !important;
        /* Hidden on mobile — saves vertical space above CTA */
    }

    .course-enroll-card {
        order: 3;
    }

    .transformation-section {
        order: 4;
    }

    .guarantee-block-premium {
        order: 5;
    }

    .course-benefits-section {
        order: 6;
    }

    .course-curriculum-section {
        order: 7;
    }

    .course-requirements-section {
        order: 7;
    }

    .course-description-section {
        order: 8;
    }

    /* New mobile benefits section */
    .course-benefits-guarantee-section {
        order: 9;
    }

    .course-instructors-section {
        order: 10;
    }

    .course-reviews-section {
        order: 11;
    }

    .course-faq-section {
        order: 12;
    }

    .repeat-cta-section {
        order: 13;
    }

    .course-contact-section {
        order: 14;
    }

    /* ===== TRUST PILLS — hidden on mobile, info moved to benefits section ===== */
    .hero-trust-pills {
        display: none !important;
    }

    /* ===== MOBILE-ONLY BENEFITS GUARANTEE SECTION ===== */
    .course-benefits-guarantee-section {
        display: block;
    }

    /* ===== HIDE SIDEBAR EXTRAS — redundant with trust pills + CTA micro-copy ===== */
    .sidebar-includes-list {
        display: none !important;
    }

    .guarantee-block {
        display: none !important;
    }

    .guarantee-strip {
        display: none !important;
    }

    /* ===== ENROLL CARD — Ultra-compact mobile redesign ===== */
    .course-enroll-card {
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: none;
        border-radius: 0;
        padding: 0;
        box-shadow: none;
        margin-bottom: 0;
    }

    /* Remove gradient border pseudo-element */
    .course-enroll-card.border-gradient::before {
        display: none;
    }

    /* Social proof — moves to top as tiny caption before price */
    .course-enroll-card .social-proof-line {
        order: -1;
        justify-content: flex-start;
        padding: 0;
        margin-bottom: 6px;
        font-size: 0.72rem;
        opacity: 0.75;
    }

    /* Offer header — a bit more breathing room */
    .course-enroll-card .offer-header {
        margin-bottom: 10px;
    }

    .course-enroll-card .offer-badge {
        font-size: 0.68rem;
        padding: 3px 10px;
    }

    /* Price box — single compact row */
    .course-enroll-card .price-box {
        padding-bottom: 10px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        margin-bottom: 10px;
    }

    /* Hide old/strikethrough price on mobile — replaced by stacked layout */
    /* Old price now shows centered above current price */

    .course-enroll-card .price-anchor-row {
        justify-content: center;
        align-items: center;
        flex-wrap: nowrap;
        gap: 6px;
    }

    .course-enroll-card .price-anchor-row .price-html-wrap {
        align-items: center;
        justify-content: center;
        flex-direction: column;
        /* old price on top, current price below — both perfectly centered */
        flex-wrap: nowrap;
        gap: 2px;
    }

    /* Make current price smaller on mobile */
    .course-enroll-card .price-anchor-row .price-html-wrap .current-price {
        font-size: 1.9rem !important;
    }

    /* Urgency bar — compact single-line row */
    .course-enroll-card .urgency-bar {
        padding: 6px 10px;
        margin-bottom: 8px;
        border-radius: 10px;
    }

    /* Discount badge — horizontal (row) so -70% and label are inline */
    .urgency-discount {
        flex-direction: row;
        align-items: center;
        gap: 4px;
        padding: 4px 10px;
    }

    .urgency-discount-num {
        font-size: 0.85rem;
    }

    .urgency-discount-label {
        font-size: 0.6rem;
        margin-top: 0;
    }

    .urgency-divider {
        margin: 0 8px;
        height: 14px;
    }

    .urgency-timer-label {
        font-size: 0.72rem;
    }

    /* Timer label + countdown in one row to save vertical space */
    .urgency-timer {
        flex-direction: row;
        align-items: center;
        gap: 6px;
    }

    .countdown-time {
        font-size: 0.85rem;
    }

    /* Actions — minimal top padding */
    .course-enroll-card .actions-box {
        padding: 8px 0 0;
    }

    /* CTA microcopy */
    .course-enroll-card .cta-microcopy {
        margin-bottom: 6px;
        font-size: 0.72rem;
    }

    /* Enrolled status */
    .course-enroll-card .enrolled-status {
        text-align: left;
    }

    /* ===== VIDEO — Edge-to-edge on mobile ===== */
    .video-preview-card {
        border-radius: 0;
        border-left: none;
        border-right: none;
        /* Width/margin handled by the 100vw rule above */
    }

    /* ===== GENERAL MOBILE ADJUSTMENTS ===== */
    .course-title {
        font-size: 1.75rem;
    }

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

    /* Add spacing between all reordered sections */
    .course-grid-container>* {
        padding-left: 0;
        padding-right: 0;
    }

    /* Section margin for content sections */
    .transformation-section,
    .course-benefits-section,
    .course-curriculum-section,
    .course-requirements-section,
    .course-description-section,
    .course-benefits-guarantee-section,
    .course-instructors-section,
    .course-reviews-section,
    .course-faq-section,
    .repeat-cta-section,
    .course-contact-section {
        margin-bottom: 32px;
    }

    /* Remove subtitle bottom margin on mobile to save vertical space */
    .course-subtitle {
        margin-bottom: 0 !important;
    }


    /* Repeat CTA — less bottom margin on mobile */
    .repeat-cta-section {
        margin-bottom: 8px !important;
    }
}

@media (max-width: 768px) {
    .premium-container {
        padding: 0 16px;
    }

    .glass-card {
        padding: 20px;
    }

    .course-section-header {
        padding: 14px 16px;
    }

    .course-curriculum-item {
        padding: 12px 16px;
    }

    /* Video edge-to-edge — handled by 1024px rule */

    /* ===== INSTRUCTOR CARD — Stack Vertical ===== */
    .instructor-card-enhanced .d-flex.align-items-start {
        flex-direction: column;
        align-items: center !important;
        text-align: center;
    }

    .instructor-img {
        margin-right: 0 !important;
        margin-bottom: 16px;
    }

    .instructor-info {
        width: 100%;
    }

    .instructor-name {
        text-align: center;
    }

    .instructor-title {
        text-align: center;
    }

    .instructor-credibility-stats {
        justify-content: center;
    }

    .instructor-bio {
        text-align: left;
    }

    /* ===== RATING SUMMARY — Stack Vertical ===== */
    .course-reviews-section .glass-card .d-flex.align-items-center.flex-wrap {
        flex-direction: column;
        align-items: stretch !important;
    }

    .rating-big {
        margin-right: 0 !important;
        margin-bottom: 20px;
        min-width: unset;
    }

    .rating-big .display-3 {
        font-size: 2.5rem;
    }

    .rating-bars {
        width: 100%;
    }

    /* ===== REVIEWS GRID — Prevent overflow ===== */
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* ===== FAQ — Tighter spacing ===== */
    .faq-header {
        padding: 16px 18px;
    }

    .faq-question {
        font-size: 0.95rem;
    }

    .faq-content {
        padding: 18px;
    }

    .faq-icon {
        margin-left: 12px;
    }

    /* ===== URGENCY BAR — Stack for small screens ===== */
    .urgency-bar {
        flex-direction: column;
        gap: 8px;
        padding: 12px 14px;
    }

    .urgency-divider {
        width: 60%;
        height: 1px;
        margin: 4px auto;
    }

    /* ===== CONTACT HEADER — Smaller on mobile ===== */
    .contact-header-bg {
        padding: 24px 18px !important;
    }

    .contact-header-bg h4 {
        font-size: 1.4rem !important;
    }

    .contact-header-bg p {
        font-size: 1rem !important;
    }

    /* ===== COURSE META — Hidden on mobile to save vertical space ===== */
    .course-meta {
        display: none !important;
    }

    /* ===== GUARANTEE STRIP — Tighter ===== */
    .guarantee-item span {
        font-size: 0.65rem;
    }

    .guarantee-item i {
        font-size: 1.1rem;
    }

    /* ===== SCROLL MARGIN for anchor links ===== */
    .course-benefits-section,
    .course-curriculum-section,
    .course-requirements-section,
    .course-description-section,
    .course-instructors-section,
    .course-reviews-section,
    .course-faq-section,
    .course-contact-section {
        scroll-margin-top: 20px;
    }
}

/* ==========================================================================
   14. UTILITY CLASSES
   ========================================================================== */
.text-gradient-primary {
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-secondary-main) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mb-5-premium {
    margin-bottom: 48px !important;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Price HTML Override — now defined in main pricing block above */

/* ==========================================================================
   15. HERO CREDIBILITY BAR & TRUST PILLS (CRO)
   ========================================================================== */
.hero-credibility-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.credibility-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(111, 78, 246, 0.12);
    color: var(--color-primary-light);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 30px;
    border: 1px solid rgba(111, 78, 246, 0.25);
    letter-spacing: 0.3px;
}

.credibility-badge i {
    font-size: 1rem;
}

.credibility-badge.rating-badge {
    background: rgba(244, 193, 80, 0.1);
    color: var(--color-gold-accent);
    border-color: rgba(244, 193, 80, 0.25);
}

/* Trust Pills */
.hero-trust-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(11, 212, 193, 0.08);
    color: var(--color-secondary-main);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 20px;
    border: 1px solid rgba(11, 212, 193, 0.15);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.trust-pill i {
    font-size: 0.95rem;
    opacity: 0.85;
}

.trust-pill:hover {
    background: rgba(11, 212, 193, 0.15);
    border-color: rgba(11, 212, 193, 0.3);
    transform: translateY(-1px);
}

/* ==========================================================================
   16. TRANSFORMATION SECTION (Before/After)
   ========================================================================== */
.transformation-section {
    margin-bottom: 48px;
    margin-top: 48px;
}

.transformation-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    align-items: stretch;
}

.transformation-card {
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.transformation-before {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.06) 0%, rgba(255, 107, 107, 0.02) 100%);
    border-color: rgba(255, 107, 107, 0.15);
}

.transformation-after {
    background: linear-gradient(135deg, rgba(11, 212, 193, 0.06) 0%, rgba(11, 212, 193, 0.02) 100%);
    border-color: rgba(11, 212, 193, 0.15);
}

.transformation-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.transformation-before .transformation-label {
    color: rgba(255, 107, 107, 0.8);
}

.transformation-after .transformation-label {
    color: var(--color-secondary-main);
}

.transformation-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.transformation-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--color-text-muted);
}

.transformation-before .transformation-list li i {
    color: rgba(255, 107, 107, 0.6);
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.transformation-after .transformation-list li i {
    color: var(--color-secondary-main);
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.transformation-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
}

.transformation-arrow i {
    font-size: 1.5rem;
    color: var(--color-primary-light);
    opacity: 0.6;
    animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes arrowPulse {

    0%,
    100% {
        transform: translateX(0);
        opacity: 0.4;
    }

    50% {
        transform: translateX(4px);
        opacity: 0.9;
    }
}

/* ==========================================================================
   17. PROMINENT GUARANTEE BLOCK
   ========================================================================== */
.guarantee-block {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    margin-top: 20px;
    margin-bottom: 8px;
    background: linear-gradient(135deg, rgba(11, 212, 193, 0.08) 0%, rgba(11, 212, 193, 0.03) 100%);
    border: 1px solid rgba(11, 212, 193, 0.2);
    border-radius: 12px;
}

.guarantee-block-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(11, 212, 193, 0.15);
    border-radius: 50%;
    flex-shrink: 0;
}

.guarantee-block-icon i {
    font-size: 1.4rem;
    color: var(--color-secondary-main);
}

.guarantee-block-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.guarantee-block-text strong {
    font-size: 0.9rem;
    color: #fff;
    font-weight: 700;
}

.guarantee-block-text span {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    line-height: 1.4;
}

/* ==========================================================================
   18. REPEAT CTA SECTION (Before Contact Form)
   ========================================================================== */
.repeat-cta-section {
    margin-bottom: 48px;
    margin-top: 16px;
}

.repeat-cta-inner {
    background: var(--gradient-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--color-card-border);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    position: relative;
    overflow: hidden;
}

.repeat-cta-inner::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, transparent 50%, var(--color-secondary-main) 100%);
    border-radius: 17px;
    z-index: -1;
    opacity: 0.2;
}

.repeat-cta-text h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.repeat-cta-text p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin: 0;
}

.repeat-cta-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.repeat-cta-price {
    text-align: center;
    margin-bottom: 4px;
}

.repeat-cta-price .old-price,
.repeat-cta-price .old-price s {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: line-through;
}

.repeat-cta-price .current-price {
    font-size: 1.5rem !important;
    font-weight: 800;
    color: #fff;
}

.repeat-cta-price .discount-text {
    display: none;
}

.repeat-cta-price br {
    display: none;
}

.repeat-cta-action .glow-button {
    white-space: nowrap;
    padding: 14px 32px;
}

/* ==========================================================================
   19. STICKY MOBILE CTA BAR
   ========================================================================== */
.mobile-sticky-cta {
    display: none;
    /* Hidden on desktop */
    position: fixed;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    left: 50%;
    width: calc(100% - 32px);
    max-width: 480px;
    z-index: 1000;
    background: rgba(18, 21, 42, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(111, 78, 246, 0.3);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    padding: 12px 16px;
    transform: translate(-50%, 150%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-sticky-cta.visible {
    transform: translate(-50%, 0);
}

.mobile-sticky-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 480px;
    margin: 0 auto;
}

.mobile-sticky-price {
    flex-shrink: 0;
}

.mobile-sticky-price .current-price {
    font-size: 1.3rem !important;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.mobile-sticky-price .old-price,
.mobile-sticky-price .old-price s {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: line-through;
    display: block;
    line-height: 1;
    margin-bottom: 2px;
}

.mobile-sticky-price .discount-text {
    display: none;
}

.mobile-sticky-price br {
    display: none;
}

.mobile-price-text {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--color-secondary-main);
}

.mobile-sticky-form {
    flex-grow: 1;
}

.mobile-sticky-btn {
    width: 100%;
    padding: 14px 20px !important;
    font-size: 1rem !important;
    font-weight: 700;
    border-radius: 10px;
}

/* Show on mobile only */
@media (max-width: 1024px) {
    .mobile-sticky-cta {
        display: block;
    }

    /* Add bottom padding so content doesn't hide behind sticky bar */
    .premium-course-layout {
        padding-bottom: 100px;
    }
}

/* ==========================================================================
   RESPONSIVE OVERRIDES FOR NEW CRO COMPONENTS
   ========================================================================== */
@media (max-width: 1024px) {
    .transformation-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .transformation-arrow {
        padding: 12px 0;
    }

    .transformation-arrow i {
        transform: rotate(90deg);
    }

    @keyframes arrowPulse {

        0%,
        100% {
            transform: rotate(90deg) translateX(0);
            opacity: 0.4;
        }

        50% {
            transform: rotate(90deg) translateX(4px);
            opacity: 0.9;
        }
    }

    .repeat-cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .repeat-cta-action {
        width: 100%;
    }

    .repeat-cta-action .glow-button {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-trust-pills {
        gap: 8px;
    }

    .trust-pill {
        font-size: 0.75rem;
        padding: 6px 10px;
    }

    .credibility-badge {
        font-size: 0.78rem;
        padding: 6px 12px;
    }

    .transformation-card {
        padding: 18px;
    }

    .transformation-list li {
        font-size: 0.85rem;
    }
}

/* ==========================================================================
   20. HERO TRANSFORMATION SUBTITLE
   ========================================================================== */
.hero-transformation-line {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-secondary-main);
    background: linear-gradient(135deg, rgba(11, 212, 193, 0.08) 0%, rgba(111, 78, 246, 0.06) 100%);
    border: 1px solid rgba(11, 212, 193, 0.15);
    border-radius: 8px;
    padding: 10px 18px;
    margin-bottom: 16px;
    letter-spacing: 0.2px;
}

.hero-transformation-line i {
    font-size: 1.1rem;
    color: var(--color-primary-light);
}

@media (max-width: 768px) {

    /* Glass Card Mobile Optimization */
    .glass-card {
        padding: 16px !important;
    }

    .course-benefits-section .glass-card {
        padding: 20px !important;
    }

    .review-card {
        padding: 16px !important;
    }

    .hero-transformation-line {
        font-size: 0.82rem;
        padding: 8px 14px;
    }
}

/* ==========================================================================
   21. CTA MICRO-COPY (Trust text below button)
   ========================================================================== */
.cta-microcopy {
    text-align: center;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.cta-microcopy i {
    font-size: 0.85rem;
    color: rgba(11, 212, 193, 0.5);
}

/* ==========================================================================
   22. INSTRUCTOR CREDIBILITY STATS
   ========================================================================== */
.instructor-card-enhanced {
    transition: border-color 0.3s ease;
}

.instructor-card-enhanced:hover {
    border-color: rgba(111, 78, 246, 0.3);
}

.instructor-credibility-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cred-stat {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cred-stat i {
    font-size: 1.3rem;
    color: var(--color-primary-light);
    opacity: 0.7;
}

.cred-stat-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.cred-stat-info strong {
    font-size: 1rem;
    color: #fff;
    font-weight: 700;
}

.cred-stat-info span {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .instructor-credibility-stats {
        gap: 12px;
    }

    .cred-stat-info strong {
        font-size: 0.9rem;
    }
}

/* ==========================================================================
   23. SMALL MOBILE BREAKPOINT (≤480px) — iPhone SE / Mini / Small Android
   ========================================================================== */
@media (max-width: 480px) {

    /* Container — tighter padding */
    .premium-container {
        padding: 0 12px;
    }

    /* Grid top spacing - reset for Udemy layout */
    .course-grid-container {
        gap: 0;
        padding-top: 0;
    }

    /* ===== HERO ===== */
    .course-header-info {
        margin-bottom: 32px;
    }

    .course-title {
        font-size: 1.45rem;
        line-height: 1.25;
    }

    .course-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 16px;
    }

    /* Credibility badges — full-width stack */
    .hero-credibility-bar {
        flex-direction: column;
        gap: 8px;
    }

    .credibility-badge {
        font-size: 0.75rem;
        padding: 6px 12px;
        justify-content: center;
    }

    /* Trust pills — 2 per row */
    .hero-trust-pills {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-top: 16px;
        padding-top: 16px;
    }

    .trust-pill {
        font-size: 0.72rem;
        padding: 6px 8px;
        justify-content: center;
        white-space: normal;
        text-align: center;
        gap: 4px;
    }

    /* Course meta — stack vertical */
    .course-meta {
        flex-direction: column;
        gap: 8px;
    }

    .course-meta .meta-item {
        font-size: 0.82rem;
        margin-right: 0 !important;
    }

    /* ===== SECTION TITLES ===== */
    .section-title {
        font-size: 1.25rem;
    }

    /* ===== TRANSFORMATION ===== */
    .transformation-card {
        padding: 14px;
    }

    .transformation-label {
        font-size: 0.72rem;
        margin-bottom: 12px;
    }

    .transformation-list li {
        font-size: 0.82rem;
        gap: 8px;
        padding: 6px 0;
    }

    .transformation-arrow {
        padding: 8px 0;
    }

    /* ===== BENEFITS ===== */
    .benefit-item span {
        font-size: 0.88rem;
    }

    .benefit-item i {
        font-size: 1.1rem;
    }

    /* ===== CURRICULUM ===== */
    .course-section-header {
        padding: 12px 14px;
    }

    .course-section-name {
        font-size: 0.9rem;
    }

    .course-section-lecture-count {
        font-size: 0.75rem;
    }

    .course-curriculum-item {
        padding: 10px 14px;
    }

    .curriculum-item-title {
        font-size: 0.85rem;
    }

    /* ===== REQUIREMENTS ===== */
    .requirement-item {
        font-size: 0.88rem;
    }

    .req-icon-box {
        margin-right: 10px !important;
    }

    /* ===== DESCRIPTION ===== */
    .course-description-content {
        font-size: 0.9rem;
    }

    /* ===== REVIEWS ===== */
    .review-card {
        padding: 16px !important;
    }

    .review-content {
        font-size: 0.88rem;
    }

    .user-img img,
    .user-img .profile-image-avatar {
        width: 40px;
        height: 40px;
    }

    /* ===== FAQ ===== */
    .faq-header {
        padding: 14px 14px;
    }

    .faq-question {
        font-size: 0.88rem;
    }

    .faq-content {
        padding: 14px;
        font-size: 0.88rem;
    }

    .faq-item {
        margin-bottom: 12px;
    }

    /* ===== REPEAT CTA ===== */
    .repeat-cta-inner {
        padding: 20px 16px;
        gap: 16px;
    }

    .repeat-cta-text h3 {
        font-size: 1.15rem;
    }

    .repeat-cta-text p {
        font-size: 0.88rem;
    }

    .repeat-cta-action .glow-button {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    /* ===== INLINE PRICING (was enroll card) ===== */
    .price-anchor-row .price-html-wrap .current-price {
        font-size: 1.8rem !important;
    }

    .urgency-bar {
        padding: 10px 12px;
        border-radius: 10px;
    }

    .urgency-discount-num {
        font-size: 1rem;
    }

    .countdown-time {
        font-size: 1rem;
    }

    .social-proof-line {
        font-size: 0.78rem;
    }

    /* ===== CONTACT ===== */
    .course-contact-section .p-4 {
        padding: 16px !important;
    }

    .contact-header-bg {
        padding: 20px 14px !important;
    }

    .contact-header-bg h4 {
        font-size: 1.25rem !important;
    }

    .btn-whatsapp-premium {
        font-size: 1rem;
        padding: 14px;
    }

    /* ===== INSTRUCTOR ===== */
    .instructor-card-enhanced {
        padding: 16px !important;
    }

    .instructor-img img,
    .instructor-img .profile-image-avatar {
        width: 72px;
        height: 72px;
    }

    .instructor-name {
        font-size: 1.05rem;
    }

    .instructor-bio {
        font-size: 0.88rem;
        display: -webkit-box;
        -webkit-line-clamp: 5;
        line-clamp: 5;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* ===== GLASS CARD general ===== */
    .glass-card {
        padding: 16px;
        border-radius: 12px;
    }

    /* ===== MOBILE STICKY CTA ===== */
    .mobile-sticky-cta {
        padding: 10px 12px;
        padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    }

    .mobile-sticky-price .current-price {
        font-size: 1.1rem !important;
    }

    .mobile-sticky-btn {
        padding: 12px 16px !important;
        font-size: 0.9rem !important;
    }

    /* ===== VIDEO PREVIEW ===== */
    .video-preview-card {
        border-radius: 12px;
    }
}

/* ==========================================================================
   24. FOCUS-VISIBLE ACCESSIBILITY
   ========================================================================== */
.glow-button:focus-visible,
.btn-outline-light:focus-visible,
.btn-whatsapp-premium:focus-visible,
.mobile-sticky-btn:focus-visible {
    outline: 2px solid var(--color-secondary-main);
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(11, 212, 193, 0.25);
}

.faq-header:focus-visible {
    outline: 2px solid var(--color-primary-light);
    outline-offset: -2px;
    border-radius: 12px;
}

.course-section-header:focus-visible {
    outline: 2px solid var(--color-primary-light);
    outline-offset: -2px;
}

/* ==========================================================================
   13. CRO ENHANCEMENTS & UX TWEAKS
   ========================================================================== */

/* Button Shine Effect for .glow-button */
.glow-button {
    position: relative;
    overflow: hidden;
}

.glow-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: buttonShine 4s cubic-bezier(0.19, 1, 0.22, 1) infinite;
}

@keyframes buttonShine {
    0% {
        left: -150%;
    }

    15% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

/* Price Anchoring Enhancements */
.price-anchor-row .price-html-wrap .old-price,
.price-anchor-row .price-html-wrap .old-price s {
    color: #a0a0a0 !important;
    font-size: 1.2rem !important;
    opacity: 0.7;
    margin-bottom: 2px;
    display: inline-block;
}

.price-anchor-row .price-html-wrap .current-price {
    font-size: 2.5rem !important;
    color: var(--color-secondary-main) !important;
    font-weight: 800 !important;
    text-shadow: 0 0 15px rgba(11, 212, 193, 0.3);
}

/* Make Urgent Discount Badge pop more */
.urgency-discount {
    background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%) !important;
    color: white !important;
    padding: 8px 16px !important;
    box-shadow: 0 4px 15px rgba(255, 65, 108, 0.4) !important;
    border: none !important;
    border-radius: 8px;
}

.urgency-discount-num {
    font-weight: 800 !important;
    font-size: 1.4rem !important;
}

/* Eyebrow Responsive Logic */
.eyebrow-desktop {
    display: inline-block;
}

.eyebrow-mobile {
    display: none;
}

@media (max-width: 1024px) {
    .eyebrow-desktop {
        display: none !important;
    }

    .eyebrow-mobile {
        display: block !important;
    }

    /* Make the play text smaller so it doesn't overlap on mobile */
    .play-text-mobile {
        font-size: 0.75rem !important;
        padding: 4px 10px !important;
    }
}

/* ==========================================================================
   25. PREMIUM TOAST NOTIFICATION (LOCKED CONTENT)
   ========================================================================== */
.premium-toast {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(18, 21, 42, 0.85);
    /* Deep elegant navy, soft transparency */
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Extremely subtle white border for glass effect */
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    /* Light catching the top edge */
    border-radius: 50px;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.6),
        0 0 50px rgba(251, 123, 162, 0.12),
        /* Soft rose glow */
        inset 0 0 100px rgba(111, 78, 246, 0.05);
    /* Soft, luxurious inner and outer glow */
    z-index: 999999;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    /* Smoother, more elegant iOS-like snap */
    width: max-content;
    max-width: 90vw;
    pointer-events: auto;
}

.premium-toast.show {
    bottom: 30px;
    opacity: 1;
}

.toast-indicator {
    background: linear-gradient(135deg, #e6c875 0%, #f6a56c 100%);
    /* Elegant Champagne/Gold gradient for premium feel */
    color: #12152a;
    /* Dark violet/navy icon on gold */
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(230, 200, 117, 0.4);
    /* Gold glow */
}

.toast-message {
    display: flex;
    flex-direction: column;
}

.toast-message strong {
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.2;
}

.toast-message span {
    color: var(--color-text-muted);
    font-size: 0.8rem;
    line-height: 1.2;
}

.toast-action {
    background: var(--color-primary-main);
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
    outline: none;
}

.toast-action:hover {
    background: var(--color-primary-light);
    transform: scale(1.05);
}

.toast-close {
    background: transparent;
    border: none;
    color: var(--color-text-subtle);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
    outline: none;
}

.toast-close:hover {
    color: #fff;
}

/* Pulse animation for the action button inside toast */
.animate-pulse-soft {
    animation: pulseSoft 0.5s ease-in-out 2;
}

@keyframes pulseSoft {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(111, 78, 246, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(111, 78, 246, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(111, 78, 246, 0);
    }
}

@media (max-width: 1024px) {
    .premium-toast.show {
        bottom: 120px;
        /* Highly important to clear the sticky mobile CTA bar */
    }

    .premium-toast {
        flex-wrap: wrap;
        border-radius: 16px;
        padding: 16px;
        justify-content: space-between;
    }

    .toast-message {
        width: calc(100% - 70px);
        /* 36 icon + 16 gap + padding */
    }

    .toast-action {
        width: 100%;
        margin-top: 12px;
        padding: 10px;
        text-align: center;
    }

    .toast-close {
        position: absolute;
        top: 12px;
        right: 12px;
    }
}