/* ============================================
   Module Content Page Styles
   ============================================ */

/* Module Header */
.module-header {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(0, 217, 255, 0.05) 100%);
    border-bottom: 1px solid rgba(255, 107, 53, 0.2);
}

.module-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.module-breadcrumb a {
    color: var(--text-gray);
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.module-breadcrumb a:hover {
    color: var(--primary-orange);
}

.module-breadcrumb span {
    color: var(--text-gray);
}

.module-badge-large {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-orange-dark) 100%);
    color: var(--white);
    padding: 0.6rem 1.8rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
}

.module-title-section h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
}

.module-description {
    font-size: 1.2rem;
    max-width: 800px;
    margin-bottom: 2rem;
}

.module-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.module-stats .stat {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--white);
    font-weight: 600;
}

.module-stats .stat i {
    color: var(--primary-orange);
    font-size: 1.3rem;
}

/* Content Status Notice */
.content-status-notice {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(255, 107, 53, 0.1);
    border: 2px solid var(--primary-orange);
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
    margin-top: 2rem;
    max-width: 800px;
}

.content-status-notice i {
    color: var(--primary-orange);
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.content-status-notice p {
    margin: 0;
    color: #E2E8F0;
    font-size: 1rem;
    line-height: 1.6;
}

.content-status-notice strong {
    color: #FFF;
}

/* Content Layout */
.module-content-section {
    padding: 60px 0 100px;
}

.content-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 4rem;
    align-items: start;
}

/* Sidebar */
.content-sidebar {
    position: relative;
}

.sidebar-sticky {
    position: sticky;
    top: 100px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.sidebar-sticky h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-orange);
}

.topic-navigation {
    list-style: none;
    margin-bottom: 2rem;
}

.topic-navigation li {
    margin-bottom: 0.5rem;
}

.topic-navigation a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    color: var(--text-gray);
}

.topic-navigation a:hover,
.topic-navigation li.active a {
    background: rgba(255, 107, 53, 0.1);
    color: var(--white);
}

.topic-number {
    width: 30px;
    height: 30px;
    background: rgba(255, 107, 53, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.topic-navigation li.active .topic-number {
    background: var(--primary-orange);
    color: var(--white);
}

.topic-title {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Progress Widget */
.progress-widget {
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
}

.progress-widget h4 {
    color: var(--white);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.progress-circle {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2) 0%, rgba(0, 217, 255, 0.2) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--primary-orange);
    position: relative;
}

.progress-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-orange);
}

.btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

/* Main Content */
.main-content {
    max-width: 900px;
}

.content-topic {
    margin-bottom: 4rem;
    scroll-margin-top: 100px;
}

.topic-header {
    margin-bottom: 2rem;
}

.topic-tag {
    display: inline-block;
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-orange);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.topic-header h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 0;
}

.content-block {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 107, 53, 0.1);
    border-radius: var(--radius-lg);
    padding: 3rem;
}

.lead {
    font-size: 1.2rem;
    color: var(--white);
    font-weight: 500;
    line-height: 1.7;
    margin-bottom: 2rem;
    padding-left: 1rem;
    border-left: 4px solid var(--primary-orange);
}

.content-block h3 {
    color: var(--white);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.content-block p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Highlight Box */
.highlight-box {
    display: flex;
    gap: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(0, 217, 255, 0.1) 100%);
    border-left: 4px solid var(--primary-orange);
    border-radius: var(--radius-md);
    padding: 2rem;
    margin: 2rem 0;
}

.highlight-box i {
    font-size: 2.5rem;
    color: var(--primary-orange);
    flex-shrink: 0;
}

.highlight-box h4 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.highlight-box p {
    margin: 0;
}

/* Styled List */
.styled-list {
    list-style: none;
    margin: 2rem 0;
}

.styled-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: start;
}

.styled-list i {
    color: var(--neon-green);
    font-size: 1.2rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.styled-list strong {
    color: var(--white);
}

/* Video Container */
.video-container {
    margin: 3rem 0;
}

.video-placeholder {
    background: rgba(0, 0, 0, 0.3);
    border: 2px dashed rgba(255, 107, 53, 0.3);
    border-radius: var(--radius-lg);
    padding: 4rem 2rem;
    text-align: center;
    transition: var(--transition-base);
}

.video-placeholder:hover {
    border-color: var(--primary-orange);
    background: rgba(0, 0, 0, 0.4);
}

.video-placeholder i {
    font-size: 4rem;
    color: var(--primary-orange);
    margin-bottom: 1rem;
}

.video-placeholder p {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.video-placeholder small {
    color: var(--text-gray);
}

/* Comparison Grid */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.comparison-card {
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-md);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-card .card-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.card-icon.blue {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.2) 0%, rgba(0, 217, 255, 0.1) 100%);
    color: var(--neon-blue);
}

.card-icon.orange {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2) 0%, rgba(255, 107, 53, 0.1) 100%);
    color: var(--primary-orange);
}

.comparison-card h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.comparison-card p {
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
}

/* Info Cards */
.info-cards {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.info-card {
    background: rgba(0, 0, 0, 0.2);
    border-left: 4px solid var(--primary-orange);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    position: relative;
    padding-left: 5rem;
}

.card-number {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.info-card h4 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.info-card p {
    margin: 0;
    font-size: 0.95rem;
}

/* Comparison Table */
.comparison-table {
    margin: 2rem 0;
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-table th {
    background: rgba(255, 107, 53, 0.1);
    color: var(--white);
    font-weight: 600;
}

.comparison-table th i {
    margin-right: 0.5rem;
}

.comparison-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.comparison-table td:first-child {
    color: var(--white);
}

/* Exercise Box */
.exercise-box {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1) 0%, rgba(0, 217, 255, 0.1) 100%);
    border: 2px solid rgba(0, 255, 136, 0.3);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}

.exercise-box h4 {
    color: var(--neon-green);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.exercise-box ol {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.exercise-box li {
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.exercise-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

/* Module Navigation */
.module-navigation {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-layout {
        grid-template-columns: 1fr;
    }
    
    .content-sidebar {
        order: 2;
    }
    
    .main-content {
        order: 1;
    }
    
    .sidebar-sticky {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .module-header {
        padding: 120px 0 60px;
    }
    
    .content-block {
        padding: 2rem;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .module-navigation {
        flex-direction: column;
    }
    
    .module-stats {
        gap: 1rem;
    }
}
