/* ========================================
   Beginner Course Styles
   ======================================== */

/* Beginner Hero */
.beginner-hero {
    background: linear-gradient(135deg, rgba(0, 119, 182, 0.9) 0%, rgba(0, 95, 142, 0.9) 100%);
    padding: 6rem 0 4rem 0;
    color: var(--text-white);
    position: relative;
    overflow: hidden;
}

.beginner-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 0;
}

/* Each series hero background */
.beginner-hero.eiyo-hero::before {
    background-image: url('../images/beginner-eiyo-hero.jpg');
}

.beginner-hero.undo-hero::before {
    background-image: url('../images/beginner-undo-hero.jpg');
}

.beginner-hero.suimin-hero::before {
    background-image: url('../images/beginner-suimin-hero.jpg');
}

.beginner-hero .container {
    position: relative;
    z-index: 1;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--text-white);
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
}

.beginner-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.beginner-title i {
    margin-right: 0.75rem;
    color: var(--accent-orange);
}

.beginner-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    opacity: 0.95;
}

/* Course Notice Section */
.course-notice-section {
    padding: 3rem 0;
    background-color: var(--bg-light);
}

.beginner-notice {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-left: 5px solid #ff9800;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.beginner-notice i {
    color: #ff9800;
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.beginner-notice div {
    flex: 1;
}

.beginner-notice p {
    font-size: 1rem;
    color: var(--text-dark);
    margin: 0 0 0.5rem 0;
    line-height: 1.6;
}

.beginner-notice p:last-child {
    margin-bottom: 0;
}

.elearning-notice {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #fff3e0 0%, #ffe8cc 100%);
    border-left: 4px solid var(--accent-orange);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.elearning-notice i {
    color: var(--accent-orange);
    font-size: 1.2rem;
}

.elearning-notice p {
    color: var(--text-dark);
    font-weight: 600;
    margin: 0;
    font-size: 0.95rem;
}

/* Course Videos Section */
.course-videos {
    padding: 4rem 0;
    background-color: var(--bg-white);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 3rem;
}

.video-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

/* All Episodes Card */
.video-item.all-episodes {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-left: 6px solid var(--primary-blue);
    padding: 2rem 2.5rem;
    box-shadow: 0 4px 16px rgba(0, 119, 182, 0.2);
}

.video-item.all-episodes:hover {
    box-shadow: 0 6px 24px rgba(0, 119, 182, 0.3);
    transform: translateY(-3px);
}

.all-badge {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #005f8e 100%);
    color: var(--text-white);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 119, 182, 0.3);
}

.video-description {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.highlight-price {
    color: var(--accent-orange);
    font-weight: 700;
    font-size: 1.2rem;
}

.video-btn-all {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #ff8c42 100%);
    font-size: 1.1rem;
    padding: 1rem 2rem;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
}

.video-btn-all:hover {
    background: linear-gradient(135deg, #ff8c42 0%, var(--accent-orange) 100%);
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* Info Text (non-link) */
.video-info-text {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: #f0f0f0;
    color: #666666;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
}

.video-item.beginner-video {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-left: 5px solid var(--primary-blue);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.video-item.beginner-video:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.video-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    min-width: 60px;
    text-align: center;
}

.video-info {
    flex: 1;
}

.video-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.video-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.video-duration,
.video-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.video-duration i,
.video-price i {
    color: var(--primary-blue);
}

.video-actions {
    display: flex;
    gap: 0.75rem;
}

/* Beginner Button */
.video-btn-beginner {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #005f8e 100%);
    color: var(--text-white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 119, 182, 0.3);
}

.video-btn-beginner:hover {
    background: linear-gradient(135deg, #0091d5 0%, var(--primary-blue) 100%);
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 119, 182, 0.4);
}

/* Disabled Button */
.video-btn-disabled {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #cccccc;
    color: #666666;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: not-allowed;
    transition: none;
    text-decoration: none;
}

.video-btn-disabled:hover {
    transform: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Set Purchase Section */
.set-purchase {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 119, 182, 0.15);
    border: 2px solid rgba(0, 119, 182, 0.2);
}

.set-purchase h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.set-purchase h3 i {
    color: var(--accent-orange);
    margin-right: 0.5rem;
}

.set-purchase p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.set-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--accent-orange) 0%, #ff8c42 100%);
    color: var(--text-white);
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
}

.set-btn:hover {
    background: linear-gradient(135deg, #ff8c42 0%, var(--accent-orange) 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(0, 119, 182, 0.05) 0%, rgba(0, 95, 142, 0.05) 100%);
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cta-btn-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #005f8e 100%);
    color: var(--text-white);
    box-shadow: 0 4px 16px rgba(0, 119, 182, 0.3);
}

.cta-btn-primary:hover {
    background: linear-gradient(135deg, #0091d5 0%, var(--primary-blue) 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 119, 182, 0.4);
}

.cta-btn-secondary {
    background: var(--bg-white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cta-btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--text-white);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 119, 182, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .beginner-title {
        font-size: 1.75rem;
    }
    
    .beginner-subtitle {
        font-size: 1rem;
    }
    
    .beginner-notice {
        flex-direction: column;
        padding: 1.25rem 1.5rem;
    }
    
    .video-item.beginner-video {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.25rem 1.5rem;
    }
    
    .video-number {
        font-size: 1.25rem;
        min-width: auto;
        text-align: left;
    }
    
    .video-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .video-actions {
        width: 100%;
    }
    
    .video-btn-beginner {
        width: 100%;
        justify-content: center;
    }
    
    .set-purchase {
        padding: 2rem 1.5rem;
    }
    
    .set-purchase h3 {
        font-size: 1.25rem;
    }
    
    .set-purchase p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cta-btn {
        width: 100%;
        justify-content: center;
    }
}
