/**
 * ChapterSphere Guides - Modern Professional Design
 * Clean, modern styling for individual guide pages
 */

/* Guide Hero Section */
.guide-hero {
    background: linear-gradient(135deg, var(--bni-maroon) 0%, var(--bni-maroon-dark) 100%);
    color: var(--bni-white);
    padding: 3rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.guide-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.guide-icon-large {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    backdrop-filter: blur(10px);
}

.guide-icon-large i {
    font-size: 2rem;
    color: var(--bni-white);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 2rem;
    opacity: 0.95;
    letter-spacing: -0.01em;
    color:#fff;
}

.hero-divider {
    width: 60px;
    height: 4px;
    background: var(--bni-white);
    margin: 0 auto 2rem;
    border-radius: 2px;
    opacity: 0.8;
}

.breadcrumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    backdrop-filter: blur(10px);
    display: inline-flex;
    margin: 0;
}

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

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

.breadcrumb-item.active {
    color: var(--bni-white);
}

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

/* Guide Content */
.guide-content {
    padding: 3rem 0;
    background: var(--neutral-50);
}

/* Guide Navigation Dashboard */
.guide-nav-dashboard {
    margin-bottom: 3rem;
}

.guide-nav-card {
    display: block;
    background: var(--bni-white);
    border-radius: 12px;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border: 1px solid var(--neutral-200);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: center;
    height: 100%;
}

.guide-nav-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: inherit;
}

.guide-nav-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--bni-maroon) 0%, var(--bni-maroon-light) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.guide-nav-icon i {
    font-size: 1.25rem;
    color: var(--bni-white);
}

.guide-nav-card:hover .guide-nav-icon {
    transform: scale(1.1);
}

.guide-nav-card h6 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.guide-nav-card p {
    color: var(--neutral-600);
    font-size: 0.875rem;
    line-height: 1.4;
    margin: 0;
}

/* Guide Section Container */
.guide-section {
    background: var(--bni-white);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid var(--neutral-200);
    margin-bottom: 2rem;
}

.guide-section-header {
    background: linear-gradient(135deg, var(--neutral-50) 0%, var(--bni-white) 100%);
    padding: 2rem 2rem 1.5rem;
    border-bottom: 1px solid var(--neutral-200);
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.guide-section-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--bni-maroon) 0%, var(--bni-maroon-light) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.guide-section-icon i {
    font-size: 1.5rem;
    color: var(--bni-white);
}

.guide-section-title-group {
    flex: 1;
}

.guide-section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 0.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.guide-section-subtitle {
    font-size: 1rem;
    color: var(--neutral-600);
    line-height: 1.5;
    margin: 0;
}

.guide-section-content {
    padding: 2rem;
}

/* Screenshot Placeholders */
.screenshot-placeholder {
    background: linear-gradient(135deg, var(--info-color) 0%, #0EA5E9 100%);
    border: 1px solid rgba(23, 162, 184, 0.3);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin: 1.5rem 0;
    color: var(--bni-white);
}

.screenshot-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.screenshot-placeholder h6 {
    color: var(--bni-white);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.screenshot-placeholder p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 0.9rem;
}

/* Step Lists */
.step-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--neutral-100);
}

.step-list li:last-child {
    border-bottom: none;
}

.step-number {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--bni-maroon) 0%, var(--bni-maroon-light) 100%);
    color: var(--bni-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.step-content h6 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--neutral-600);
    line-height: 1.5;
    margin: 0;
    font-size: 0.95rem;
}

/* Info Boxes */
.info-box {
    background: linear-gradient(135deg, var(--info-color) 0%, #0EA5E9 100%);
    color: var(--bni-white);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.info-box h6 {
    color: var(--bni-white);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-box p {
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    line-height: 1.5;
}

.tip-box {
    background: linear-gradient(135deg, var(--success-color) 0%, #10B981 100%);
}

.warning-box {
    background: linear-gradient(135deg, var(--warning-color) 0%, #F59E0B 100%);
}

/* Navigation Buttons */
.guide-navigation {
    background: var(--bni-white);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--neutral-200);
    margin-top: 3rem;
}

.guide-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 0.25rem;
}

.guide-nav-btn-primary {
    background: var(--bni-maroon);
    color: var(--bni-white);
}

.guide-nav-btn-primary:hover {
    background: var(--bni-maroon-dark);
    color: var(--bni-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(153, 0, 0, 0.3);
}

.guide-nav-btn-outline {
    background: transparent;
    color: var(--bni-maroon);
    border: 2px solid var(--bni-maroon);
}

.guide-nav-btn-outline:hover {
    background: var(--bni-maroon);
    color: var(--bni-white);
    transform: translateY(-2px);
}

.guide-nav-btn-secondary {
    background: var(--neutral-100);
    color: var(--neutral-700);
    border: 1px solid var(--neutral-200);
}

.guide-nav-btn-secondary:hover {
    background: var(--neutral-200);
    color: var(--neutral-800);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .guide-section-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .guide-section-content {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .guide-hero {
        padding: 2rem 0 1.5rem;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .guide-content {
        padding: 2rem 0;
    }

    .guide-nav-card {
        padding: 1rem;
    }

    .guide-nav-icon {
        width: 40px;
        height: 40px;
    }

    .guide-nav-icon i {
        font-size: 1rem;
    }

    .guide-section-header {
        padding: 1.5rem 1rem;
    }

    .guide-section-icon {
        width: 48px;
        height: 48px;
    }

    .guide-section-icon i {
        font-size: 1.25rem;
    }

    .guide-section-title {
        font-size: 1.5rem;
    }

    .guide-section-content {
        padding: 1rem;
    }

    .step-list li {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .guide-navigation {
        padding: 1.5rem 1rem;
    }

    .guide-nav-btn {
        width: 100%;
        justify-content: center;
        margin: 0.25rem 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.875rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .guide-icon-large {
        width: 64px;
        height: 64px;
    }

    .guide-icon-large i {
        font-size: 1.5rem;
    }

    .guide-nav-card h6 {
        font-size: 0.9rem;
    }

    .guide-nav-card p {
        font-size: 0.8rem;
    }

    .guide-section-title {
        font-size: 1.25rem;
    }

    .step-number {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }

    .screenshot-placeholder {
        padding: 1.5rem 1rem;
    }

    .screenshot-placeholder i {
        font-size: 2rem;
    }
}

/* Print Styles */
@media print {
    .guide-hero,
    .guide-nav-dashboard,
    .guide-navigation {
        display: none;
    }

    .guide-section {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
        margin-bottom: 1rem;
    }

    .guide-section-header {
        background: none;
        border-bottom: 2px solid #ddd;
    }

    .screenshot-placeholder {
        border: 1px solid #ddd;
        background: #f8f9fa;
        color: #333;
    }

    .info-box,
    .tip-box,
    .warning-box {
        background: #f8f9fa;
        color: #333;
        border: 1px solid #ddd;
    }
}
