/* ========================================
   COURSE DETAILS MODERN - CSS
   Diseño moderno tipo CRYPTO
   ======================================== */

/* ========================================
   1. HERO SECTION
   ======================================== */
.course-hero {
    position: relative;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding: 80px 0;
    margin-bottom: 0;
}

.course-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-breadcrumb .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 20px;
}

.hero-breadcrumb .breadcrumb-item {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.hero-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s;
}

.hero-breadcrumb .breadcrumb-item a:hover {
    color: #fff;
}

.hero-breadcrumb .breadcrumb-item.active {
    color: #fff;
}

.hero-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
}

.course-category-badge {
    margin-bottom: 15px;
}

.course-category-badge span {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.course-hero-title {
    color: #fff;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.course-hero-description {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 700px;
}

.course-hero-instructor {
    display: flex;
    align-items: center;
    gap: 15px;
}

.instructor-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
    object-fit: cover;
}

.instructor-info {
    display: flex;
    flex-direction: column;
}

.instructor-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-bottom: 3px;
}

.instructor-name {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.instructor-name:hover {
    color: #667eea;
}

/* ========================================
   2. STATS CARDS SECTION
   ======================================== */
.course-stats-section {
    background: #f8f9fa;
    padding: 60px 0;
    margin-top: -50px;
    position: relative;
    z-index: 3;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    cursor: default;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.stat-icon {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon svg {
    color: #fff;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.95rem;
    color: #718096;
    margin: 0;
}

/* ========================================
   3. MAIN CONTENT AREA
   ======================================== */
.course-main-content {
    padding: 60px 0;
}

/* ========================================
   4. VIDEO PREVIEW
   ======================================== */
.course-video-preview {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.preview-thumbnail {
    width: 100%;
    height: auto;
    display: block;
}

.play-button-modern {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    transition: all 0.3s;
}

.play-button-modern:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button-modern svg {
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

/* ========================================
   5. TABS NAVIGATION - Moderna
   ======================================== */
.course-tabs-modern {
    background: #fff;
    border-radius: 15px;
    padding: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.nav-tabs-modern {
    border-bottom: 2px solid #e2e8f0;
    padding: 0 30px;
    display: flex;
    gap: 10px;
}

.nav-tabs-modern .nav-item {
    margin-bottom: 0;
}

.nav-tabs-modern .nav-link {
    border: none;
    background: transparent;
    color: #718096;
    font-weight: 600;
    font-size: 1rem;
    padding: 20px 25px;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    cursor: pointer;
}

.nav-tabs-modern .nav-link:hover {
    color: #667eea;
    background: transparent;
}

.nav-tabs-modern .nav-link.active {
    color: #667eea;
    background: transparent;
    border-bottom-color: #667eea;
}

.tab-content-modern {
    padding: 40px 30px;
}

/* ========================================
   6. TAB 1: OVERVIEW
   ======================================== */
.overview-content {
    max-width: 100%;
}

.overview-section {
    margin-bottom: 35px;
}

.overview-section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 15px;
}

.section-text {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.7;
    margin: 0;
}

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

.learning-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    color: #4a5568;
    line-height: 1.6;
}

.learning-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

/* ========================================
   7. TAB 2: CURRICULUM MODERNO
   ======================================== */
.curriculum-modern {
    max-width: 100%;
}

.curriculum-section {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s;
}

.curriculum-section:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.section-header {
    padding: 20px 25px;
    background: #f7fafc;
    border-bottom: 1px solid #e2e8f0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.section-header:hover {
    background: #edf2f7;
}

.section-header.collapsed .chevron-icon {
    transform: rotate(-90deg);
}

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

.section-header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-header-left .section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
}

.section-header-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

.section-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: #718096;
}

.section-meta svg {
    flex-shrink: 0;
}

.section-lessons {
    padding: 10px 0;
}

.lesson-item {
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0f4f8;
    transition: all 0.3s;
}

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

.lesson-item:hover {
    background: #f7fafc;
}

.lesson-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.lesson-play-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
    flex-shrink: 0;
}

.lesson-play-btn svg {
    color: #fff;
}

.lesson-play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.lesson-item.lesson-locked .lesson-play-btn {
    background: #cbd5e0;
    cursor: not-allowed;
}

.lesson-item.lesson-locked .lesson-play-btn:hover {
    transform: none;
    box-shadow: none;
}

.lesson-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.lesson-number {
    color: #a0aec0;
    font-weight: 600;
    font-size: 0.95rem;
}

.lesson-title {
    color: #2d3748;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s;
}

.lesson-title:hover {
    color: #667eea;
}

.lesson-item.lesson-locked .lesson-title {
    color: #a0aec0;
    cursor: not-allowed;
}

.lesson-item.lesson-locked .lesson-title:hover {
    color: #a0aec0;
}

.lesson-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lesson-duration {
    color: #718096;
    font-size: 0.9rem;
    font-weight: 500;
}

.lesson-lock-icon {
    flex-shrink: 0;
}

.lesson-lock-icon.unlock {
    color: #48bb78;
}

.lesson-lock-icon.lock {
    color: #cbd5e0;
}

/* ========================================
   8. TAB 3: INSTRUCTOR SHOWCASE
   ======================================== */
.instructor-showcase {
    max-width: 100%;
}

.instructor-showcase-header {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.instructor-image-large {
    width: 300px;
    flex-shrink: 0;
}

.instructor-image-large img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.instructor-info-large {
    flex: 1;
}

.instructor-name-large {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
}

.instructor-designation {
    font-size: 1.1rem;
    color: #718096;
    margin-bottom: 25px;
}

.instructor-stats {
    display: flex;
    gap: 25px;
}

.instructor-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4a5568;
    font-weight: 500;
}

.instructor-bio h5 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 15px;
}

.instructor-bio p {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.7;
}

/* ========================================
   9. TAB 4: REVIEWS CON GRÁFICO
   ======================================== */
.reviews-modern {
    max-width: 100%;
}

.rating-overview {
    display: flex;
    gap: 50px;
    padding: 30px;
    background: #f7fafc;
    border-radius: 12px;
    margin-bottom: 40px;
}

.rating-summary {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 200px;
}

.rating-number-large {
    font-size: 4rem;
    font-weight: 700;
    color: #2d3748;
    line-height: 1;
    margin-bottom: 10px;
}

.rating-stars-large {
    display: flex;
    gap: 5px;
    margin-bottom: 10px;
}

.rating-stars-large svg {
    color: #f59e0b;
}

.rating-text {
    color: #718096;
    font-size: 0.95rem;
}

.rating-distribution {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rating-bar-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.rating-stars-small {
    display: flex;
    gap: 3px;
    min-width: 100px;
}

.rating-stars-small svg {
    color: #f59e0b;
}

.rating-bar-container {
    flex: 1;
    height: 8px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.rating-bar-fill {
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    transition: width 0.5s;
}

.rating-percentage {
    min-width: 50px;
    text-align: right;
    color: #718096;
    font-weight: 600;
    font-size: 0.9rem;
}

.reviews-list {
    max-width: 100%;
}

.reviews-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 25px;
}

.reviews-title span {
    color: #718096;
    font-weight: 400;
}

.review-item {
    padding: 25px 0;
    border-bottom: 1px solid #e2e8f0;
}

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

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.review-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.review-user img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.review-user-info h6 {
    font-size: 1rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
}

.review-user-info p {
    font-size: 0.85rem;
    color: #a0aec0;
    margin: 3px 0 0 0;
}

.review-rating {
    display: flex;
    gap: 3px;
}

.review-rating svg {
    color: #f59e0b;
}

.review-comment {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

/* ========================================
   10. SIDEBAR MODERNO
   ======================================== */
.course-sidebar-modern {
    position: sticky;
    top: 100px;
}

.price-card-modern {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 25px;
}

.price-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e2e8f0;
}

.current-price h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
    line-height: 1;
}

.current-price .old-price {
    font-size: 1.25rem;
    color: #a0aec0;
    text-decoration: line-through;
    margin: 5px 0 0 0;
}

.discount-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
}

.price-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.btn-primary-modern,
.btn-secondary-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary-modern {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: #fff;
}

.btn-secondary-modern {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary-modern:hover {
    background: #667eea;
    color: #fff;
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

.course-includes {
    padding: 25px 0;
    border-bottom: 1px solid #e2e8f0;
}

.course-includes h6 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 15px;
}

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

.course-includes li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: #4a5568;
    font-size: 0.95rem;
}

.course-includes li svg {
    color: #48bb78;
    flex-shrink: 0;
}

.course-share {
    padding-top: 25px;
}

.course-share h6 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 15px;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #f7fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #718096;
    transition: all 0.3s;
}

.share-btn:hover {
    background: #667eea;
    color: #fff;
    transform: translateY(-2px);
}

/* ========================================
   11. LIVE BANNER
   ======================================== */
.live-banner-section {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.live-banner-section::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -100px;
    width: 400px;
    height: 400px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 50%;
    transform: translateY(-50%);
}

.live-banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.live-banner-text h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.live-highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.live-banner-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin: 0;
}

.btn-live {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
}

.btn-live:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.6);
    color: #fff;
}

/* ========================================
   12. RELATED COURSES
   ======================================== */
.related-courses-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-header-modern {
    text-align: center;
    margin-bottom: 50px;
}

.section-header-modern h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
}

.section-header-modern p {
    font-size: 1.1rem;
    color: #718096;
    margin: 0;
}

.related-courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.course-card-modern {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.course-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.course-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.course-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s;
}

.course-card-modern:hover .course-card-image img {
    transform: scale(1.1);
}

.course-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.course-card-content {
    padding: 20px;
}

.course-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}

.course-card-title a {
    color: #2d3748;
    text-decoration: none;
    transition: all 0.3s;
}

.course-card-title a:hover {
    color: #667eea;
}

.course-card-instructor {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
}

.course-card-instructor img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
}

.course-card-instructor span {
    color: #718096;
    font-size: 0.9rem;
}

.course-card-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #718096;
    font-size: 0.85rem;
}

.meta-item svg {
    flex-shrink: 0;
}

.course-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
}

.course-card-price {
    display: flex;
    align-items: center;
    gap: 8px;
}

.current-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2d3748;
}

.old-price {
    font-size: 0.95rem;
    color: #a0aec0;
    text-decoration: line-through;
}

.free-badge {
    background: #48bb78;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.course-card-rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.course-card-rating svg {
    color: #f59e0b;
}

.course-card-rating span {
    font-weight: 600;
    color: #2d3748;
}

/* ========================================
   13. RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 992px) {
    .course-hero-title {
        font-size: 2.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .instructor-showcase-header {
        flex-direction: column;
    }
    
    .instructor-image-large {
        width: 100%;
    }
    
    .instructor-image-large img {
        height: auto;
    }
    
    .rating-overview {
        flex-direction: column;
    }
    
    .live-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .course-hero-title {
        font-size: 2rem;
    }
    
    .course-hero-description {
        font-size: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-tabs-modern {
        flex-wrap: wrap;
        padding: 0 15px;
    }
    
    .nav-tabs-modern .nav-link {
        padding: 15px 15px;
        font-size: 0.9rem;
    }
    
    .tab-content-modern {
        padding: 25px 15px;
    }
    
    .section-header-modern h2 {
        font-size: 2rem;
    }
    
    .related-courses-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   14. MODAL STYLES (para videos)
   ======================================== */
.white-popup {
    position: relative;
    background: #FFF;
    padding: 20px;
    width: auto;
    max-width: 500px;
    margin: 20px auto;
    border-radius: 15px;
}

.white-popup .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    border: none;
    font-weight: 600;
}

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

/* ========================================
   15. ANIMACIONES
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.course-hero-content,
.stat-card,
.curriculum-section,
.course-card-modern {
    animation: fadeInUp 0.6s ease-out;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }