/* Course Platform Pro - Styles */
/* Fonts: uses Geologica (headings) and DM Sans (body) from the theme's local @font-face */

/* ============================================
   CSS VARIABLES - Centralized Color Scheme
   ============================================ */
:root {
    /* Brand Fonts */
    --cpp-font-heading: 'Geologica', 'Geologica Fallback', sans-serif;
    --cpp-font-body: 'DM Sans', 'DM Sans Fallback', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Primary Colors */
    --cpp-primary: #FF9500;
    --cpp-primary-dark: #FF7A00;
    --cpp-primary-light: #fff7ed;
    
    /* Brand Colors */
    --cpp-brand: #0d3b2e;
    --cpp-brand-light: #e8f0ec;
    --cpp-dot: #f97316;
    
    /* Accent Colors */
    --cpp-accent: #667eea;
    --cpp-accent-dark: #764ba2;
    
    /* Status Colors */
    --cpp-success: #10b981;
    --cpp-success-dark: #059669;
    --cpp-error: #ef4444;
    --cpp-warning: #f59e0b;
    
    /* Text Colors */
    --cpp-text: #1f2937;
    --cpp-text-muted: #6b7280;
    --cpp-text-light: #9ca3af;
    
    /* Background Colors */
    --cpp-bg: #ffffff;
    --cpp-bg-light: #f9fafb;
    --cpp-bg-dark: #f3f4f6;
    
    /* Border Colors */
    --cpp-border: #e5e7eb;
    --cpp-border-dark: #d1d5db;
}

/* Brand: orange dot accent (matches theme's .mj-dot) */
.cpp-dot { color: var(--cpp-dot, #f97316); }

/* Global anchor tag reset - prevent default underlines */
a.cpp-chapter-card,
a.cpp-chapter-card:hover,
a.cpp-chapter-card:visited,
a.cpp-chapter-card:link,
a.cpp-chapter-card:active,
a.cpp-chapter-card:focus {
    text-decoration: none !important;
}

a.cpp-chapter-card h3,
a.cpp-chapter-card p,
a.cpp-chapter-card span,
a.cpp-chapter-card div {
    text-decoration: none !important;
}

/* Ensure smooth scrolling without hang */
html {
    scroll-behavior: auto;
}

.cpp-dashboard-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.cpp-dashboard-header {
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.cpp-logout-btn {
    padding: 8px 20px;
    background: #f3f4f6;
    color: #6b7280;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--cpp-font-heading);
    transition: all 0.2s;
    white-space: nowrap;
}

.cpp-logout-btn:hover {
    background: #e5e7eb;
    color: #374151;
}

.cpp-user-welcome h2 {
    font-family: var(--cpp-font-heading);
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -1.2px;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.cpp-user-welcome p {
    font-size: 16px;
    color: #6b7280;
}

.cpp-no-courses {
    background: #f9fafb;
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    padding: 60px 40px;
    text-align: center;
}

.cpp-no-courses p {
    font-size: 18px;
    color: #6b7280;
}

.cpp-courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
}

.cpp-course-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s;
}

.cpp-course-card:hover {
    border-color: #FF9500;
    box-shadow: 0 4px 12px rgba(255, 149, 0, 0.15);
}

.cpp-course-card h3 {
    font-size: 22px;
    color: #1f2937;
    margin-bottom: 12px;
}

.cpp-course-card > p {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.cpp-progress-section {
    background: #f3f4f6;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.cpp-progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.cpp-progress-text {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

.cpp-progress-percentage {
    font-size: 18px;
    font-weight: 700;
    color: #FF9500;
}

.cpp-progress-bar {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.cpp-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #FF9500 0%, #FF7A00 100%);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.cpp-progress-details {
    margin-top: 8px;
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 0;
}

.cpp-btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-family: var(--cpp-font-heading);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.cpp-btn-primary {
    background: linear-gradient(135deg, #FF9500 0%, #FF7A00 100%);
    color: white !important;
    width: 100%;
    box-shadow: 0 4px 15px rgba(255, 149, 0, 0.25);
}

.cpp-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 149, 0, 0.4);
}

.cpp-btn-secondary {
    background: #6b7280;
    color: white !important;
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    width: 100%;
}

.cpp-btn-secondary:hover {
    background: #4b5563;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3);
}

/* Course Detail View */
.cpp-course-detail {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.cpp-course-header {
    margin-bottom: 40px;
}

.cpp-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #f3f4f6;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    color: #374151;
    transition: all 0.3s;
    margin-bottom: 20px;
}

.cpp-back-btn:hover {
    background: #e5e7eb;
}

.cpp-course-header h2 {
    font-size: 36px;
    color: #1f2937;
    margin-bottom: 16px;
}

.cpp-course-description {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.6;
}

.cpp-chapters-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cpp-chapter-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s;
    cursor: pointer;
    display: block;
    text-decoration: none !important;
    color: inherit;
}

.cpp-chapter-card:hover {
    border-color: #FF9500;
    box-shadow: 0 4px 12px rgba(255, 149, 0, 0.15);
    text-decoration: none !important;
}

.cpp-chapter-card:visited,
.cpp-chapter-card:link,
.cpp-chapter-card:active,
.cpp-chapter-card:focus {
    text-decoration: none !important;
    color: inherit;
}

/* Ensure no underlines on any child elements */
.cpp-chapter-card * {
    text-decoration: none !important;
}

.cpp-chapter-card h3,
.cpp-chapter-card p,
.cpp-chapter-card div {
    text-decoration: none !important;
}

.cpp-chapter-card.completed {
    background: #f0fdf4;
    border-color: #86efac;
}

.cpp-chapter-card.active {
    background: #eff6ff;
    border-color: #FF9500;
}

.cpp-chapter-card.locked {
    opacity: 0.6;
    cursor: not-allowed;
}

.cpp-chapter-card.locked:hover {
    border-color: #e5e7eb;
    box-shadow: none;
}

.cpp-chapter-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 12px;
}

.cpp-chapter-number {
    font-size: 12px;
    font-weight: 600;
    color: #FF9500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cpp-chapter-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
}

.cpp-chapter-status.completed {
    color: #16a34a;
}

.cpp-chapter-status.in-progress {
    color: #FF9500;
}

.cpp-chapter-status.locked {
    color: #9ca3af;
}

.cpp-chapter-title {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
    text-decoration: none !important;
}

.cpp-chapter-description {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
    text-decoration: none !important;
}

.cpp-chapter-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #9ca3af;
}

/* Chapter Detail View */
.cpp-chapter-detail {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.cpp-chapter-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
}

.cpp-complete-btn {
    padding: 10px 24px;
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.cpp-complete-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

.cpp-complete-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
}

.cpp-chapter-content {
    margin-bottom: 40px;
}

.cpp-chapter-number-badge {
    display: inline-block;
    background: #eff6ff;
    color: #FF9500;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.cpp-chapter-content h1 {
    font-size: 36px;
    color: #1f2937;
    margin-bottom: 16px;
}

.cpp-chapter-body {
    font-size: 18px;
    line-height: 1.8;
    color: #374151;
}

.cpp-chapter-body h2 {
    font-size: 28px;
    color: #1f2937;
    margin-top: 32px;
    margin-bottom: 16px;
}

.cpp-chapter-body h3 {
    font-size: 24px;
    color: #1f2937;
    margin-top: 24px;
    margin-bottom: 12px;
}

.cpp-chapter-body p {
    margin-bottom: 20px;
}

.cpp-chapter-body ul,
.cpp-chapter-body ol {
    margin-left: 24px;
    margin-bottom: 20px;
}

.cpp-chapter-body li {
    margin-bottom: 8px;
}

.cpp-chapter-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 24px 0;
}

.cpp-chapter-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 2px solid #e5e7eb;
}

/* Login Required */
.cpp-login-required,
.cpp-not-enrolled,
.cpp-error {
    background: #fef2f2;
    border: 2px solid #fecaca;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
}

.cpp-login-required p,
.cpp-not-enrolled p,
.cpp-error p {
    font-size: 16px;
    color: #991b1b;
    margin: 0;
}

.cpp-login-required a,
.cpp-not-enrolled a {
    color: #FF9500;
    font-weight: 600;
    text-decoration: none;
}

.cpp-login-required a:hover,
.cpp-not-enrolled a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .cpp-courses-grid {
        grid-template-columns: 1fr;
    }

    .cpp-course-header h2,
    .cpp-chapter-content h1 {
        font-size: 28px;
    }

    .cpp-chapter-nav,
    .cpp-chapter-footer {
        flex-direction: column;
        gap: 12px;
    }

    .cpp-back-btn,
    .cpp-complete-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .cpp-chapter-body {
        font-size: 16px;
    }
}

/* Success notification */
.cpp-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #10b981;
    color: white;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Shop Styles */
.cpp-shop-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

/* ============================================
   SHOP HEADERS - Course & Travel Guides
   ============================================ */
.cpp-shop-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 20px;
}

.cpp-shop-header h1 {
    font-size: 42px;
    color: #1f2937;
    margin-bottom: 16px;
}

.cpp-shop-header p {
    font-size: 18px;
    color: #6b7280;
}

/* Course-Focused Hero */
.cpp-shop-header-course {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    border-radius: 20px;
    padding: 60px 40px;
    color: white;
    margin-bottom: 40px;
}

.cpp-shop-header-course h1 {
    color: white;
    font-size: 48px;
    margin-bottom: 12px;
}

.cpp-shop-header-course .cpp-hero-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 20px;
    margin-bottom: 32px;
}

/* Travel Guides Hero */
.cpp-shop-header-guides {
    background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
    border-radius: 20px;
    padding: 60px 40px;
    color: white;
    margin-bottom: 40px;
}

.cpp-shop-header-guides h1 {
    color: white;
    font-size: 48px;
    margin-bottom: 12px;
}

.cpp-shop-header-guides .cpp-hero-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 20px;
    margin-bottom: 32px;
}

.cpp-hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

/* Social Proof Bar (Course) */
.cpp-social-proof-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.cpp-proof-label {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cpp-proof-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.cpp-proof-logo {
    background: rgba(255,255,255,0.15);
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    color: white;
}

/* Credibility Bar (Travel Guides) */
.cpp-credibility-bar {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.cpp-credibility-item {
    text-align: center;
}

.cpp-credibility-number {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: white;
}

.cpp-credibility-label {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}

/* ============================================
   COURSE CARD ENHANCEMENTS
   ============================================ */
.cpp-course-card-featured {
    border: 3px solid var(--cpp-primary);
    position: relative;
    background: linear-gradient(135deg, #fffbf5 0%, #fff7ed 100%);
}

.cpp-guarantee-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.cpp-product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 20px 0;
    padding: 16px 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.cpp-product-meta span {
    font-size: 14px;
    color: #6b7280;
}

.cpp-btn-large {
    padding: 18px 32px;
    font-size: 18px;
}

.cpp-secure-note {
    text-align: center;
    font-size: 13px;
    color: #6b7280;
    margin-top: 12px;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.cpp-faq-section {
    margin-top: 60px;
    padding: 40px;
    background: #f9fafb;
    border-radius: 16px;
}

.cpp-faq-section h3 {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    text-align: center;
    margin: 0 0 32px;
}

.cpp-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.cpp-faq-item {
    background: white;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.cpp-faq-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 8px;
}

.cpp-faq-item p {
    font-size: 15px;
    color: #6b7280;
    margin: 0;
    line-height: 1.6;
}

/* ============================================
   TRAVEL GUIDE CARDS
   ============================================ */
.cpp-guides-grid {
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
}

.cpp-guide-card {
    overflow: hidden;
    padding: 0;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    background: #fff;
}

.cpp-guide-card:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}

.cpp-guide-thumbnail {
    position: relative;
    height: 220px;
    background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cpp-guide-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cpp-guide-thumbnail-placeholder {
    background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
}

.cpp-guide-icon {
    font-size: 64px;
}

.cpp-guide-overlay {
    position: absolute;
    top: 12px;
    right: 12px;
}

.cpp-guide-format {
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
}

.cpp-local-badge {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

.cpp-guide-content {
    padding: 28px;
}

.cpp-guide-content h3 {
    font-size: 22px;
    font-weight: 800;
    color: #1f2937;
    margin: 0 0 10px;
    letter-spacing: -0.3px;
}

.cpp-guide-description {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    margin: 0 0 16px;
}

.cpp-guide-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.cpp-guide-features li {
    font-size: 14px;
    color: #374151;
    padding: 5px 0;
    display: flex;
    align-items: baseline;
    gap: 10px;
    line-height: 1.5;
}

.cpp-feature-check {
    color: #16a34a;
    font-weight: 700;
    flex-shrink: 0;
}

.cpp-guide-price {
    margin-bottom: 20px;
    padding-top: 16px;
    border-top: 1px solid #f3f4f6;
}

.cpp-guide-price .cpp-price-amount {
    font-size: 32px;
    font-weight: 800;
    color: #1f2937;
}

.cpp-guide-sold {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #dc6803;
    margin-top: 4px;
}

.cpp-guide-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cpp-guide-learn-more {
    display: block;
    text-align: center;
    margin-top: 12px;
    font-size: 14px;
    color: #d97706;
    text-decoration: none;
    font-weight: 600;
}

.cpp-guide-learn-more:hover {
    color: #b45309;
    text-decoration: underline;
}

.cpp-btn-full {
    width: 100%;
    text-align: center;
}

/* ============================================
   BUNDLE OFFER
   ============================================ */
.cpp-bundle-offer {
    margin-top: 48px;
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    color: white;
}

.cpp-bundle-badge {
    display: inline-block;
    background: var(--cpp-primary);
    color: #000;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cpp-bundle-offer h3 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 12px;
    color: white;
}

.cpp-bundle-offer p {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    margin: 0 0 24px;
}

/* ============================================
   FILTER BUTTONS
   ============================================ */
.cpp-guide-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.cpp-filter-btn {
    padding: 10px 20px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
}

.cpp-filter-btn:hover {
    border-color: var(--cpp-primary);
    color: var(--cpp-primary);
}

.cpp-filter-btn.active {
    background: var(--cpp-primary);
    border-color: var(--cpp-primary);
    color: white;
}

/* Mobile Responsiveness for Shop */
@media (max-width: 768px) {
    .cpp-shop-header-course,
    .cpp-shop-header-guides {
        padding: 40px 20px;
        border-radius: 12px;
    }
    
    .cpp-shop-header-course h1,
    .cpp-shop-header-guides h1 {
        font-size: 32px;
    }
    
    .cpp-credibility-bar {
        gap: 24px;
    }
    
    .cpp-credibility-number {
        font-size: 28px;
    }
    
    .cpp-faq-grid {
        grid-template-columns: 1fr;
    }
    
    .cpp-guarantee-badge {
        font-size: 11px;
        padding: 6px 14px;
    }
}

.cpp-shop-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)) !important;
    gap: 32px !important;
}

.cpp-shop-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
    width: 100% !important;
    max-width: 100% !important;
}

.cpp-shop-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    border-color: #FF9500;
}

.cpp-shop-card-header {
    background: linear-gradient(135deg, #FF9500 0%, #FF7A00 100%);
    color: white;
    padding: 24px;
    position: relative;
}

.cpp-shop-card-header h3 {
    font-size: 24px;
    margin-bottom: 8px;
    padding-right: 80px;
}

.cpp-price-tag {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 20px;
    font-weight: 700;
}

.cpp-shop-card-body {
    padding: 24px;
}

.cpp-shop-card-body > p {
    color: #6b7280;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.cpp-course-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cpp-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #374151;
    font-size: 14px;
}

.cpp-icon {
    font-size: 18px;
}

.cpp-shop-card-footer {
    padding: 0 24px 24px;
}

/* Sales Page */
.cpp-sales-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.cpp-sales-hero {
    background: linear-gradient(135deg, #FF9500 0%, #FF7A00 100%);
    color: white;
    padding: 60px 40px;
    border-radius: 16px;
    margin-bottom: 60px;
    text-align: center;
}

.cpp-sales-hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.cpp-sales-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cpp-sales-price-box {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 32px;
    max-width: 400px;
    margin: 0 auto 24px;
}

.cpp-price-display {
    margin-bottom: 24px;
}

.cpp-currency {
    font-size: 32px;
    vertical-align: top;
}

.cpp-amount {
    font-size: 64px;
    font-weight: 700;
}

.cpp-btn-buy {
    background: white;
    color: #FF9500;
    font-size: 18px;
}

.cpp-btn-buy:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.cpp-btn-large {
    padding: 18px 36px;
    font-size: 18px;
}

.cpp-trust-badges {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 14px;
    opacity: 0.9;
}

.cpp-sales-content {
    margin-top: 60px;
}

.cpp-sales-section {
    margin-bottom: 60px;
}

.cpp-sales-section h2 {
    font-size: 36px;
    color: #1f2937;
    margin-bottom: 16px;
}

.cpp-section-subtitle {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 32px;
}

.cpp-curriculum-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cpp-curriculum-item {
    display: flex;
    gap: 24px;
    background: #f9fafb;
    padding: 24px;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
}

.cpp-curriculum-number {
    width: 48px;
    height: 48px;
    background: #FF9500;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

.cpp-curriculum-content h4 {
    font-size: 18px;
    color: #1f2937;
    margin-bottom: 8px;
}

.cpp-curriculum-content p {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.cpp-sales-cta {
    background: #f9fafb;
    padding: 60px 40px;
    border-radius: 16px;
    text-align: center;
    border: 3px solid #FF9500;
}

.cpp-faq {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cpp-faq-item {
    background: #f9fafb;
    padding: 24px;
    border-radius: 12px;
    border-left: 4px solid #FF9500;
}

.cpp-faq-item h4 {
    font-size: 18px;
    color: #1f2937;
    margin-bottom: 8px;
}

.cpp-faq-item p {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Checkout Page */
.cpp-checkout-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.cpp-checkout-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.cpp-checkout-left h1 {
    font-size: 36px;
    color: #1f2937;
    margin-bottom: 32px;
}

.cpp-order-summary {
    background: #f9fafb;
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 32px;
    border: 2px solid #e5e7eb;
}

.cpp-order-summary h3 {
    font-size: 20px;
    color: #1f2937;
    margin-bottom: 20px;
}

.cpp-order-item {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 20px;
}

.cpp-order-item-details h4 {
    font-size: 18px;
    color: #1f2937;
    margin-bottom: 4px;
}

.cpp-order-item-details p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

.cpp-order-item-price {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
}

.cpp-order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
}

.cpp-total-amount {
    font-size: 28px;
    font-weight: 700;
    color: #FF9500;
}

.cpp-checkout-form {
    background: white;
    padding: 32px;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    margin-bottom: 32px;
}

.cpp-checkout-form h3 {
    font-size: 20px;
    color: #1f2937;
    margin-bottom: 24px;
}

.cpp-form-group {
    margin-bottom: 20px;
}

.cpp-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.cpp-form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
}

.cpp-form-group input:focus {
    outline: none;
    border-color: #FF9500;
    box-shadow: 0 0 0 3px rgba(255, 149, 0, 0.1);
}

.cpp-payment-methods {
    background: white;
    padding: 32px;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
}

.cpp-payment-methods h3 {
    font-size: 20px;
    color: #1f2937;
    margin-bottom: 20px;
}

.cpp-payment-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.cpp-payment-tab {
    flex: 1;
    padding: 16px;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    color: #6b7280;
    transition: all 0.3s;
}

.cpp-payment-tab:hover {
    border-color: #FF9500;
}

.cpp-payment-tab.active {
    background: #eff6ff;
    border-color: #FF9500;
    color: #FF9500;
}

.cpp-payment-icon {
    font-size: 20px;
}

.cpp-card-element {
    padding: 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 16px;
}

.cpp-payment-errors {
    color: #dc2626;
    font-size: 14px;
    margin-bottom: 16px;
}

.cpp-security-badges {
    text-align: center;
    padding-top: 24px;
    border-top: 2px solid #e5e7eb;
    margin-top: 24px;
}

.cpp-security-badges p {
    color: #6b7280;
    font-size: 14px;
    margin: 0;
}

.cpp-checkout-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cpp-guarantee-box,
.cpp-features-box {
    background: white;
    padding: 24px;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
}

.cpp-guarantee-box h4,
.cpp-features-box h4 {
    font-size: 18px;
    color: #1f2937;
    margin-bottom: 12px;
}

.cpp-guarantee-box p {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.cpp-features-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cpp-features-box li {
    color: #6b7280;
    font-size: 14px;
    padding: 8px 0;
}

#cpp-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

#cpp-loading-overlay p {
    color: white;
    font-size: 18px;
    margin-top: 20px;
}

.cpp-spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Thank You Page */
.cpp-thank-you-wrapper {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
}

.cpp-success-box {
    background: white;
    padding: 60px 40px;
    border-radius: 16px;
    text-align: center;
    border: 3px solid #10b981;
    margin-bottom: 40px;
}

.cpp-success-icon {
    width: 80px;
    height: 80px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    margin: 0 auto 24px;
}

.cpp-success-box h1 {
    font-size: 36px;
    color: #1f2937;
    margin-bottom: 16px;
}

.cpp-success-message {
    font-size: 18px;
    color: #6b7280;
    margin: 0;
}

.cpp-next-steps {
    margin-bottom: 40px;
}

.cpp-next-steps h2 {
    font-size: 28px;
    color: #1f2937;
    margin-bottom: 32px;
    text-align: center;
}

.cpp-step-card {
    display: flex;
    gap: 24px;
    background: white;
    padding: 24px;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    margin-bottom: 20px;
}

.cpp-step-number {
    width: 48px;
    height: 48px;
    background: #FF9500;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
}

.cpp-step-content h3 {
    font-size: 20px;
    color: #1f2937;
    margin-bottom: 8px;
}

.cpp-step-content p {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.cpp-action-buttons {
    text-align: center;
    margin-bottom: 40px;
}

.cpp-support-box {
    background: #f9fafb;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid #e5e7eb;
}

.cpp-support-box h3 {
    font-size: 20px;
    color: #1f2937;
    margin-bottom: 12px;
}

.cpp-support-box p {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.cpp-already-enrolled {
    background: #eff6ff;
    border: 2px solid #FF9500;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
}

.cpp-already-enrolled h3 {
    font-size: 24px;
    color: #1f2937;
    margin-bottom: 16px;
}

/* Responsive */
@media (max-width: 968px) {
    .cpp-checkout-container {
        grid-template-columns: 1fr;
    }
    
    .cpp-checkout-right {
        order: -1;
    }
}

@media (max-width: 768px) {
    .cpp-shop-grid {
        grid-template-columns: 1fr !important;
    }
    
    .cpp-sales-hero {
        padding: 40px 24px;
    }
    
    .cpp-sales-hero h1 {
        font-size: 32px;
    }
    
    .cpp-trust-badges {
        flex-direction: column;
        gap: 12px;
    }
    
    .cpp-payment-tabs {
        flex-direction: column;
    }
}

/* ============================================
   ENHANCED CHAPTER STYLING WITH TOC SPY SCROLL
   ============================================ */

.cpp-chapter-enhanced {
    min-height: 100vh;
    background: #f9fafb;
    overflow: visible;
}

/* Sticky Header */
.cpp-chapter-header-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid #e5e7eb;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.cpp-header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 32px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.cpp-back-btn {
    background: transparent;
    border: 1px solid #d1d5db;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #374151;
    transition: all 0.2s;
}

.cpp-back-btn:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.cpp-chapter-title-mini {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.cpp-chapter-badge {
    background: linear-gradient(135deg, #FF9500 0%, #FF7A00 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cpp-chapter-name {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cpp-complete-btn-sticky {
    background: #FF9500;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
}

.cpp-complete-btn-sticky:hover:not(:disabled) {
    background: #e68600;
    transform: translateY(-1px);
}

.cpp-complete-btn-sticky.completed {
    background: #10b981;
    cursor: default;
}

.cpp-complete-btn-sticky:disabled {
    opacity: 0.7;
}

/* Reading Progress Bar */
.cpp-reading-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #e5e7eb;
}

.cpp-reading-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #FF9500 0%, #1B5E5E 100%);
    width: 0%;
    transition: width 0.3s ease;
}

/* Main Container */
.cpp-chapter-container {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 40px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    padding-left: 32px;
    padding-right: 32px;
    padding-bottom: 80px;
    align-items: start;
    overflow: visible;
}

.cpp-chapter-enhanced:not(.has-toc) .cpp-chapter-container {
    grid-template-columns: 1fr;
    max-width: 900px;
}

/* Table of Contents Sidebar - STICKY IN COLUMN */
.cpp-sidebar-fixed-nav {
    position: -webkit-sticky;
    position: sticky;
    top: 20px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

/* Legacy class for compatibility */
.cpp-toc-sticky {
    /* Not used anymore */
}

.cpp-toc-title {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 16px 0;
}

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

.cpp-toc-item {
    margin: 0;
}

.cpp-toc-link {
    display: block;
    padding: 8px 12px;
    color: #6b7280;
    text-decoration: none;
    border-left: 2px solid transparent;
    font-size: 14px;
    line-height: 1.5;
    transition: all 0.2s;
    border-radius: 4px;
}

.cpp-toc-link:hover {
    color: #FF9500;
    background: #fff7ed;
}

.cpp-toc-link.active {
    color: #FF9500;
    border-left-color: #FF9500;
    background: #fff7ed;
    font-weight: 600;
}

.cpp-toc-level-3 .cpp-toc-link {
    padding-left: 28px;
    font-size: 13px;
}

.cpp-toc-footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.cpp-reading-time {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6b7280;
    font-size: 14px;
}

/* Main Content Area */
.cpp-chapter-main {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    overflow: hidden;
}

.cpp-chapter-header-main {
    padding: 48px 64px 32px;
    border-bottom: 1px solid #e5e7eb;
}

.cpp-chapter-number-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FF9500 0%, #FF7A00 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.cpp-chapter-title-main {
    font-size: 42px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.2;
    margin: 0 0 16px 0;
}

.cpp-chapter-description {
    font-size: 18px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0 0 24px 0;
}

.cpp-chapter-meta-main {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.cpp-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6b7280;
    font-size: 14px;
}

.cpp-meta-item.completed {
    color: #10b981;
    font-weight: 600;
}

.cpp-meta-icon {
    font-size: 16px;
}

/* Enhanced Content Styling */
.cpp-chapter-content-enhanced {
    padding: 48px 64px;
    font-size: 17px;
    line-height: 1.8;
    color: #374151;
}

/* WordPress Visual Editor - Paragraph spacing */
.cpp-chapter-content-enhanced p {
    margin: 0 0 20px 0;
    line-height: 1.8;
}

.cpp-chapter-content-enhanced p:last-child {
    margin-bottom: 0;
}

/* Empty paragraphs (WordPress adds these) */
.cpp-chapter-content-enhanced p:empty {
    margin: 0;
    height: 0;
}

.cpp-chapter-content-enhanced h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    margin: 48px 0 24px 0;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
    line-height: 1.3;
}

.cpp-chapter-content-enhanced h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.cpp-chapter-content-enhanced h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1f2937;
    margin: 32px 0 16px 0;
    line-height: 1.4;
}

.cpp-chapter-content-enhanced h4 {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin: 24px 0 12px 0;
    line-height: 1.5;
}

.cpp-chapter-content-enhanced h5 {
    font-size: 18px;
    font-weight: 600;
    color: #4b5563;
    margin: 20px 0 12px 0;
    line-height: 1.5;
}

.cpp-chapter-content-enhanced h6 {
    font-size: 16px;
    font-weight: 600;
    color: #6b7280;
    margin: 16px 0 8px 0;
    line-height: 1.5;
}

.cpp-chapter-content-enhanced ul,
.cpp-chapter-content-enhanced ol {
    margin: 24px 0;
    padding-left: 32px;
}

.cpp-chapter-content-enhanced li {
    margin: 12px 0;
    line-height: 1.7;
}

.cpp-chapter-content-enhanced li p {
    margin: 8px 0;
}

.cpp-chapter-content-enhanced strong,
.cpp-chapter-content-enhanced b {
    color: #1f2937;
    font-weight: 600;
}

.cpp-chapter-content-enhanced em,
.cpp-chapter-content-enhanced i {
    font-style: italic;
}

.cpp-chapter-content-enhanced a {
    color: #FF9500;
    text-decoration: underline;
    transition: color 0.2s;
}

.cpp-chapter-content-enhanced a:hover {
    color: #FF7A00;
}

.cpp-chapter-content-enhanced blockquote {
    border-left: 4px solid #FF9500;
    padding: 20px 24px;
    margin: 32px 0;
    background: #fff7ed;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #6b7280;
}

.cpp-chapter-content-enhanced blockquote p {
    margin: 8px 0;
}

.cpp-chapter-content-enhanced blockquote p:first-child {
    margin-top: 0;
}

.cpp-chapter-content-enhanced blockquote p:last-child {
    margin-bottom: 0;
}

.cpp-chapter-content-enhanced code {
    background: #f3f4f6;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 15px;
    color: #be185d;
}

.cpp-chapter-content-enhanced pre {
    background: #1f2937;
    color: #f9fafb;
    padding: 24px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 24px 0;
    line-height: 1.6;
}

.cpp-chapter-content-enhanced pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

/* WordPress image alignment */
.cpp-chapter-content-enhanced img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 24px 0;
}

.cpp-chapter-content-enhanced .alignleft {
    float: left;
    margin: 8px 24px 24px 0;
}

.cpp-chapter-content-enhanced .alignright {
    float: right;
    margin: 8px 0 24px 24px;
}

.cpp-chapter-content-enhanced .aligncenter {
    display: block;
    margin: 24px auto;
    text-align: center;
}

/* WordPress tables */
.cpp-chapter-content-enhanced table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.cpp-chapter-content-enhanced th,
.cpp-chapter-content-enhanced td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.cpp-chapter-content-enhanced th {
    background: #f9fafb;
    font-weight: 600;
    color: #1f2937;
}

.cpp-chapter-content-enhanced tr:last-child td {
    border-bottom: none;
}

.cpp-chapter-content-enhanced tr:hover {
    background: #f9fafb;
}

/* Horizontal rule */
.cpp-chapter-content-enhanced hr {
    border: none;
    border-top: 2px solid #e5e7eb;
    margin: 40px 0;
}

.cpp-chapter-content-enhanced img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 32px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.cpp-chapter-content-enhanced a {
    color: #FF9500;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.cpp-chapter-content-enhanced a:hover {
    border-bottom-color: #FF9500;
}

/* Footer Actions */
.cpp-chapter-footer-main {
    padding: 32px 64px;
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
}

.cpp-footer-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

/* Copyright Footer */
.cpp-copyright-footer {
    margin-top: 48px;
    text-align: center;
}

.cpp-copyright-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d1d5db, transparent);
    margin: 0 auto 24px auto;
}

.cpp-copyright-text {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
    margin: 0 0 8px 0;
    letter-spacing: 0.3px;
}

.cpp-copyright-subtext {
    font-size: 13px;
    color: #9ca3af;
    margin: 0;
    font-style: italic;
}

.cpp-btn-primary {
    background: #FF9500;
    border: none;
    color: white;
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(255, 149, 0, 0.2);
}

.cpp-btn-primary:hover:not(:disabled) {
    background: #e68600;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 149, 0, 0.3);
}

.cpp-btn-primary.completed {
    background: #10b981;
    cursor: default;
}

.cpp-btn-primary:disabled {
    opacity: 0.7;
    transform: none;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .cpp-chapter-container {
        grid-template-columns: 1fr;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .cpp-sidebar-fixed-nav {
        display: none;
    }
    
    .cpp-chapter-header-main,
    .cpp-chapter-content-enhanced,
    .cpp-chapter-footer-main {
        padding-left: 32px;
        padding-right: 32px;
    }
    
    .cpp-chapter-title-main {
        font-size: 32px;
    }
    
    .cpp-copyright-footer {
        margin-top: 32px;
    }
    
    .cpp-copyright-text {
        font-size: 13px;
    }
    
    .cpp-copyright-subtext {
        font-size: 12px;
    }
    
    .cpp-header-content {
        padding: 12px 20px;
        gap: 12px;
    }
    
    .cpp-chapter-name {
        display: none;
    }
}

@media (max-width: 640px) {
    .cpp-chapter-header-main,
    .cpp-chapter-content-enhanced,
    .cpp-chapter-footer-main {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .cpp-chapter-title-main {
        font-size: 28px;
    }
    
    .cpp-chapter-content-enhanced {
        font-size: 16px;
    }
    
    .cpp-footer-actions {
        flex-direction: column;
    }
    
    .cpp-btn-secondary,
    .cpp-btn-primary {
        width: 100%;
    }
}

/* Sticky TOC with back button - Updated styles */
.cpp-toc-back-btn-wrapper {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.cpp-toc-back-btn {
    width: 100%;
    background: transparent;
    border: 1px solid #d1d5db;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cpp-toc-back-btn:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
    transform: translateX(-2px);
}

/* Remove sticky header */
.cpp-chapter-header-sticky {
    display: none !important;
}

/* Adjust container padding */
.cpp-chapter-container {
    padding-top: 40px;
}

/* Scrollbar styling for TOC */
.cpp-sidebar-fixed-nav::-webkit-scrollbar {
    width: 6px;
}

.cpp-sidebar-fixed-nav::-webkit-scrollbar-track {
    background: #f3f4f6;
    border-radius: 3px;
}

.cpp-sidebar-fixed-nav::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

.cpp-sidebar-fixed-nav::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* ==========================================
   DIGITAL PRODUCTS STYLES
   ========================================== */

/* Products Shop Grid */
.cpp-products-shop {
    padding: 40px 0;
}

.cpp-products-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
    gap: 30px !important;
    margin-top: 30px;
}

.cpp-product-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    width: 100% !important;
    max-width: 100% !important;
}

.cpp-product-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
    border-color: #FF9500;
}

.cpp-product-thumbnail {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #FF9500 0%, #FF7A00 100%);
    position: relative;
}

.cpp-product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cpp-product-thumbnail-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cpp-product-icon {
    font-size: 64px;
    opacity: 0.3;
}

.cpp-product-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.cpp-product-type {
    display: inline-block;
    background: #fef3c7;
    color: #92400e;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
    width: fit-content;
}

/* Product type colors - use classes instead of invalid :contains() */
.cpp-product-type-pdf {
    background: #dbeafe;
    color: #1e40af;
}

.cpp-product-type-video {
    background: #dcfce7;
    color: #166534;
}

.cpp-product-type-course {
    background: #fef3c7;
    color: #92400e;
}

.cpp-product-title {
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 14px 0;
    line-height: 1.3;
    min-height: 60px;
}

.cpp-product-description {
    color: #6b7280;
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

.cpp-product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
    margin-top: auto;
}

.cpp-product-price {
    font-size: 32px;
    font-weight: 800;
    color: #1f2937;
    line-height: 1;
}

.cpp-buy-product-btn,
.cpp-download-btn {
    padding: 14px 28px !important;
    font-weight: 700;
    font-size: 15px;
    white-space: nowrap;
}

.cpp-download-btn {
    background: #10b981 !important;
    border-color: #10b981 !important;
}

.cpp-download-btn:hover {
    background: #059669 !important;
    border-color: #059669 !important;
}

/* My Products Page */
.cpp-my-products {
    padding: 40px 0;
}

.cpp-my-products h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 30px;
}

.cpp-products-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cpp-my-product-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.cpp-my-product-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.cpp-my-product-thumbnail {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.cpp-my-product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cpp-my-product-content {
    flex-grow: 1;
}

.cpp-my-product-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 8px 0 8px 0;
    color: #1f2937;
}

.cpp-my-product-meta {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

.cpp-my-product-actions {
    flex-shrink: 0;
}

.cpp-btn-disabled {
    background: #d1d5db !important;
    border-color: #d1d5db !important;
    color: #6b7280 !important;
    cursor: not-allowed !important;
}

/* No products message */
.cpp-no-products {
    text-align: center;
    padding: 60px 20px;
    background: #f9fafb;
    border-radius: 12px;
    margin: 40px 0;
}

.cpp-no-products p {
    font-size: 16px;
    color: #6b7280;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .cpp-products-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    
    .cpp-product-footer {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }
    
    .cpp-buy-product-btn,
    .cpp-download-btn {
        width: 100%;
    }
    
    .cpp-my-product-card {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cpp-my-product-thumbnail {
        width: 100%;
        height: 180px;
    }
    
    .cpp-my-product-actions {
        width: 100%;
    }
    
    .cpp-my-product-actions .cpp-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .cpp-product-title {
        font-size: 18px;
        min-height: auto;
    }
    
    .cpp-product-price {
        font-size: 28px;
    }
}

/* Loading state */
.cpp-product-loading {
    opacity: 0.6;
    pointer-events: none;
}

/* ==========================================
   UNIFIED DASHBOARD - COURSES & PRODUCTS
   ========================================== */

/* Dashboard Tabs */
.cpp-dashboard-tabs {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.cpp-tab-btn {
    background: transparent;
    border: 2px solid #e5e7eb;
    padding: 12px 24px;
    border-radius: 10px;
    font-family: var(--cpp-font-heading);
    font-size: 15px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cpp-tab-btn:hover {
    border-color: #d1d5db;
    color: #374151;
}

.cpp-tab-btn.active {
    background: #FF9500;
    border-color: #FF9500;
    color: white;
}

/* Tab Content */
.cpp-tab-content {
    margin-top: 30px;
}

/* Products Dashboard Grid */
.cpp-products-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.cpp-product-dashboard-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cpp-product-dashboard-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.cpp-product-dashboard-thumbnail {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, #FF9500 0%, #FF7A00 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cpp-product-dashboard-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cpp-product-dashboard-content {
    padding: 20px;
}

.cpp-product-dashboard-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 12px 0;
    color: #1f2937;
}

.cpp-product-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 16px 0;
    font-size: 13px;
    color: #6b7280;
}

.cpp-product-dashboard-actions {
    margin-top: 16px;
}

.cpp-product-dashboard-actions .cpp-btn {
    width: 100%;
    padding: 12px;
    font-weight: 600;
}

/* Empty State */
.cpp-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #f9fafb;
    border-radius: 12px;
}

.cpp-empty-icon {
    font-size: 64px;
    display: block;
    margin-bottom: 20px;
}

.cpp-empty-state h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 12px 0;
}

.cpp-empty-state p {
    font-size: 16px;
    color: #6b7280;
    margin: 0 0 24px 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cpp-dashboard-tabs {
        flex-direction: column;
    }
    
    .cpp-tab-btn {
        width: 100%;
    }
    
    .cpp-products-dashboard-grid {
        grid-template-columns: 1fr;
    }
}

/* Download Button Special Style */
.cpp-download-btn {
    background: #10b981 !important;
    border-color: #10b981 !important;
}

.cpp-download-btn:hover {
    background: #059669 !important;
    border-color: #059669 !important;
}

/* ============================================
   IMPROVED DASHBOARD CTA BUTTONS
   ============================================ */
.cpp-course-actions {
    margin-top: 16px;
}

.cpp-btn-start {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
}

.cpp-btn-start:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.cpp-btn-continue {
    background: #ff9500 !important;  /* Orange - hardcoded */
    color: white !important;
    border: none !important;
    font-weight: 600 !important;
}

.cpp-btn-continue:hover {
    background: #e68a00 !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 149, 0, 0.4);
}

.cpp-btn-completed {
    background: #10b981 !important;
    color: white !important;
    border: none;
}

.cpp-btn-completed:hover {
    background: #059669 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

.cpp-btn-outline {
    background: white !important;
    color: #374151 !important;
    border: 2px solid #e5e7eb !important;
    font-weight: 600;
}

.cpp-btn-outline:hover {
    background: #f9fafb !important;
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

.cpp-course-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ============================================
   LIFETIME UPDATES BADGE
   ============================================ */
.cpp-lifetime-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-top: 12px;
}

.cpp-lifetime-icon {
    font-size: 16px;
}

.cpp-lifetime-mini-badge {
    background: #d1fae5;
    color: #065f46;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.cpp-course-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.cpp-course-card-header h3 {
    margin: 0;
}

/* ============================================
   VIDEO WELCOME SECTION
   ============================================ */
.cpp-video-welcome {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 32px;
    color: white;
}

.cpp-video-welcome-content {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 32px;
    align-items: center;
}

.cpp-welcome-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255,255,255,0.2);
    flex-shrink: 0;
}

.cpp-welcome-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cpp-welcome-text h3 {
    font-size: 24px;
    margin: 0 0 16px;
    color: white;
}

.cpp-welcome-text p {
    font-size: 15px;
    line-height: 1.7;
    opacity: 0.9;
    margin: 0 0 12px;
}

@media (max-width: 768px) {
    .cpp-video-welcome-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cpp-welcome-photo {
        margin: 0 auto;
        width: 150px;
        height: 150px;
    }
}

/* ============================================
   BONUS CHAPTERS SECTION
   ============================================ */
.cpp-bonus-chapters-section {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 2px solid #e5e7eb;
}

.cpp-section-title {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 8px;
}

.cpp-section-subtitle {
    font-size: 16px;
    color: #6b7280;
    margin: 0 0 24px;
}

.cpp-bonus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.cpp-bonus-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.3s;
}

.cpp-bonus-card:hover {
    border-color: #FF9500;
    box-shadow: 0 4px 20px rgba(255, 149, 0, 0.15);
}

.cpp-bonus-card.locked {
    background: #f9fafb;
}

.cpp-bonus-card.unlocked {
    border-color: #10b981;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
}

.cpp-bonus-icon {
    font-size: 48px;
    text-align: center;
}

.cpp-bonus-content h4 {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 4px;
}

.cpp-bonus-publication {
    font-size: 13px;
    color: #FF9500;
    font-weight: 600;
    margin: 0 0 8px !important;
}

.cpp-bonus-content p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

.cpp-bonus-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.cpp-bonus-price {
    font-size: 32px;
    font-weight: 800;
    color: #1f2937;
}

.cpp-bonus-status {
    font-size: 12px;
    font-weight: 600;
}

.cpp-bonus-status.locked {
    color: #9ca3af;
}

.cpp-bonus-status.unlocked {
    color: #10b981;
}

.cpp-bonus-action .cpp-btn {
    width: 100%;
}

/* ============================================
   RESOURCES SECTION
   ============================================ */
.cpp-resources-section {
    padding: 20px 0;
}

.cpp-resources-header {
    margin-bottom: 32px;
}

.cpp-resources-header h3 {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 8px;
}

.cpp-resources-header p {
    font-size: 16px;
    color: #6b7280;
    margin: 0;
}

.cpp-resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.cpp-resource-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.3s;
}

.cpp-resource-card:hover {
    border-color: #FF9500;
    box-shadow: 0 4px 12px rgba(255, 149, 0, 0.1);
}

.cpp-resource-card.bonus {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-color: #f59e0b;
}

.cpp-resource-icon {
    font-size: 36px;
}

.cpp-resource-content {
    flex: 1;
}

.cpp-resource-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 8px;
}

.cpp-resource-content p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    margin: 0 0 8px;
}

.cpp-resource-format {
    display: inline-block;
    background: #f3f4f6;
    color: #6b7280;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

.cpp-resource-download {
    width: 100%;
    text-align: center;
}

.cpp-bonus-resources {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 2px solid #e5e7eb;
}

.cpp-bonus-resources h4 {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 8px;
}

.cpp-bonus-resources > p {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 20px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .cpp-bonus-grid {
        grid-template-columns: 1fr;
    }
    
    .cpp-resources-grid {
        grid-template-columns: 1fr;
    }
    
    .cpp-lifetime-badge {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   SERVICES SECTION (1-on-1 Help)
   ============================================ */
.cpp-services-section {
    padding: 20px 0;
}

.cpp-services-header {
    margin-bottom: 32px;
}

.cpp-services-header h3 {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 8px;
}

.cpp-services-header p {
    font-size: 16px;
    color: #6b7280;
    margin: 0;
}

.cpp-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.cpp-service-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 28px;
    position: relative;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.cpp-service-card:hover {
    border-color: #FF9500;
    box-shadow: 0 8px 30px rgba(255, 149, 0, 0.15);
    transform: translateY(-4px);
}

.cpp-service-card.featured {
    border-color: #FF9500;
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
}

.cpp-service-card.premium {
    border-color: #8b5cf6;
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
}

.cpp-service-badge {
    position: absolute;
    top: -12px;
    left: 24px;
    background: linear-gradient(135deg, #FF9500 0%, #FF7A00 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.cpp-service-badge.premium {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.cpp-service-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.cpp-service-card h4 {
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 12px;
}

.cpp-service-description {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0 0 20px;
}

.cpp-service-includes {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    flex: 1;
}

.cpp-service-includes li {
    font-size: 14px;
    color: #374151;
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
}

.cpp-service-includes li:last-child {
    border-bottom: none;
}

.cpp-service-pricing {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 20px;
}

.cpp-service-price {
    font-size: 36px;
    font-weight: 800;
    color: #1f2937;
}

.cpp-service-term {
    font-size: 14px;
    color: #6b7280;
}

.cpp-btn-book {
    width: 100%;
}

/* How It Works */
.cpp-services-how-it-works {
    background: #f9fafb;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 48px;
}

.cpp-services-how-it-works h4 {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 24px;
    text-align: center;
}

.cpp-how-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.cpp-how-step {
    text-align: center;
}

.cpp-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #FF9500 0%, #FF7A00 100%);
    color: white;
    font-size: 20px;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 12px;
}

.cpp-how-step h5 {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 4px;
}

.cpp-how-step p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

/* Social Proof */
.cpp-services-proof {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
}

.cpp-proof-quote {
    background: white;
    border-left: 4px solid #FF9500;
    padding: 24px;
    border-radius: 0 12px 12px 0;
}

.cpp-proof-quote p {
    font-size: 18px;
    font-style: italic;
    color: #374151;
    line-height: 1.6;
    margin: 0 0 12px;
}

.cpp-proof-author {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

.cpp-proof-stats {
    display: flex;
    justify-content: space-around;
}

.cpp-proof-stat {
    text-align: center;
}

.cpp-proof-number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: #FF9500;
}

.cpp-proof-label {
    font-size: 13px;
    color: #6b7280;
}

@media (max-width: 768px) {
    .cpp-services-grid {
        grid-template-columns: 1fr;
    }
    
    .cpp-how-steps {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .cpp-services-proof {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   BOOKING MODAL
   ============================================ */
.cpp-booking-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cpp-booking-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
}

.cpp-booking-content {
    position: relative;
    background: white;
    border-radius: 16px;
    padding: 32px;
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.cpp-booking-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none;
    background: #f3f4f6;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    transition: all 0.2s;
}

.cpp-booking-close:hover {
    background: #e5e7eb;
    color: #1f2937;
}

.cpp-booking-header {
    margin-bottom: 24px;
}

.cpp-booking-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 8px;
}

.cpp-booking-header p {
    font-size: 15px;
    color: #6b7280;
    margin: 0;
}

.cpp-booking-form .cpp-form-group {
    margin-bottom: 20px;
}

.cpp-booking-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.cpp-booking-form input,
.cpp-booking-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.2s;
}

.cpp-booking-form input:focus,
.cpp-booking-form textarea:focus {
    outline: none;
    border-color: #FF9500;
}

.cpp-booking-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: #f9fafb;
    border-radius: 8px;
    margin-bottom: 20px;
}

.cpp-booking-price {
    font-size: 28px;
    font-weight: 800;
    color: #1f2937;
}

.cpp-card-element {
    padding: 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 12px;
}

.cpp-card-errors {
    color: #ef4444;
    font-size: 14px;
    margin-bottom: 16px;
    min-height: 20px;
}

.cpp-btn-full {
    width: 100%;
    padding: 16px;
    font-size: 16px;
}

.cpp-booking-secure {
    text-align: center;
    font-size: 13px;
    color: #6b7280;
    margin: 16px 0 0;
}

/* Booking Success */
.cpp-booking-success {
    text-align: center;
    padding: 20px 0;
}

.cpp-success-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    font-size: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.cpp-booking-success h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 12px;
}

.cpp-booking-success p {
    font-size: 15px;
    color: #6b7280;
    margin: 0 0 24px;
}

/* ============================================
   NOTIFICATION STYLES
   ============================================ */
.cpp-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--cpp-text, #1f2937);
    color: white;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 999999;
    animation: cpp-slide-in 0.3s ease;
    max-width: 400px;
}

.cpp-notification.success {
    background: var(--cpp-success, #10b981);
}

.cpp-notification.error {
    background: var(--cpp-error, #ef4444);
}

.cpp-notification.fade-out {
    animation: cpp-fade-out 0.3s ease forwards;
}

@keyframes cpp-slide-in {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes cpp-fade-out {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* Mobile notification */
@media (max-width: 768px) {
    .cpp-notification {
        left: 20px;
        right: 20px;
        max-width: none;
    }
}
