/* AI Adoption Guide page specific styles */

/* Guide-specific container */
.guide-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Enhanced header for guide */
.guide-header {
    text-align: center;
    margin-bottom: 60px;
}

.guide-header h1 {
    font-size: 2.8em;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.guide-header h1 span {
    color: var(--accent-orange);
}

.guide-header .subtitle {
    color: var(--text-secondary);
    font-size: 1.2em;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Intro box styling */
.intro-box {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid var(--accent-orange);
    margin-bottom: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.intro-box p {
    font-size: 1.1em;
    color: var(--text-primary);
    text-align: center;
    font-weight: 500;
}

/* Page divider */
.page-divider {
    border: none;
    height: 3px;
    background: linear-gradient(45deg, var(--accent-orange), var(--accent-blue));
    margin: 50px 0;
    border-radius: 2px;
}

/* Page headers for different sections */
.page-header {
    background: var(--bg-secondary);
    padding: 25px 30px;
    border-radius: 12px;
    margin: 40px 0 30px 0;
    border-left: 5px solid var(--accent-blue);
    box-shadow: 0 3px 10px var(--shadow-light);
}

.page-header h2 {
    color: var(--text-primary);
    font-size: 2em;
    margin-bottom: 8px;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 1.1em;
}

/* Pillars grid for foundational concepts */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.pillar-card {
    background: var(--bg-secondary);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--accent-orange);
    transition: height 0.3s ease;
}

.pillar-card:nth-child(even)::before {
    background: var(--accent-blue);
}

.pillar-card:hover::before {
    height: 100%;
}

.pillar-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.pillar-card h4 {
    color: var(--accent-orange);
    margin-bottom: 15px;
    font-size: 1.3em;
}

.pillar-card:nth-child(even) h4 {
    color: var(--accent-blue);
}

/* Phase grid for implementation phases */
.phase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.phase-card {
    background: var(--bg-secondary);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.phase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--accent-blue);
}

.phase-card:nth-child(odd)::before {
    background: var(--accent-orange);
}

.phase-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-light);
}

.phase-card h4 {
    color: var(--accent-blue);
    margin-bottom: 10px;
    font-size: 1.3em;
}

.phase-card:nth-child(odd) h4 {
    color: var(--accent-orange);
}

.phase-card h5 {
    color: var(--text-primary);
    margin: 20px 0 10px 0;
    font-size: 1.1em;
    font-weight: 600;
}

/* Success factors grid */
.success-factors {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.success-factor {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: 10px;
    border-left: 3px solid var(--accent-orange);
    transition: all 0.3s ease;
}

.success-factor:nth-child(even) {
    border-left-color: var(--accent-blue);
}

.success-factor:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-light);
}

.success-factor h4 {
    color: var(--text-primary);
    margin-bottom: 12px;
    font-size: 1.2em;
}

/* Specialized boxes for different content types */
.pitfalls {
    background: rgba(231, 76, 60, 0.1);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #e74c3c;
    margin: 20px 0;
}

.advantages {
    background: rgba(46, 204, 113, 0.1);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #2ecc71;
    margin: 20px 0;
}

/* Next steps grid */
.next-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.step-card {
    background: var(--bg-secondary);
    padding: 25px;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 4px;
    background: var(--accent-orange);
    transition: width 0.3s ease;
}

.step-card:hover::before {
    width: 100%;
}

.step-card:hover {
    border-color: var(--accent-orange);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-light);
}

.step-card h4 {
    color: var(--accent-orange);
    margin-bottom: 15px;
    font-size: 1.3em;
}

/* Maturity assessment section */
.maturity-assessment {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px var(--shadow-light);
}

.maturity-assessment h3 {
    color: var(--text-primary);
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.4em;
}

.maturity-level {
    padding: 15px;
    margin: 10px 0;
    border-radius: 8px;
    border-left: 4px solid var(--accent-blue);
    background: rgba(52, 152, 219, 0.05);
    transition: all 0.3s ease;
}

.maturity-level:hover {
    background: rgba(52, 152, 219, 0.1);
    transform: translateX(5px);
}

.maturity-level strong {
    color: var(--accent-blue);
    font-weight: 600;
}

/* Call-to-action section */
.contact-cta {
    background: linear-gradient(135deg, var(--accent-orange), #e55a2b);
    color: var(--text-primary);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    margin: 50px 0;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
    position: relative;
    overflow: hidden;
}

.contact-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.contact-cta h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.contact-cta p {
    font-size: 1.1em;
    margin-bottom: 25px;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.contact-item {
    align-items: center;
    display: flex;
    justify-content: center;
    background: var(--bg-primary);
    padding: 15px 25px;
    border-radius: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.contact-item:hover {
    background: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Enhanced content styling for guide */
.guide-content h2 {
    color: var(--text-primary);
    margin: 40px 0 20px 0;
    font-size: 1.8em;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
    position: relative;
}

.guide-content h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--accent-orange);
}

.guide-content h3 {
    color: var(--text-primary);
    margin: 30px 0 15px 0;
    font-size: 1.4em;
}

.guide-content h4 {
    color: var(--text-primary);
    margin: 25px 0 12px 0;
    font-size: 1.2em;
}

/* Progressive disclosure for sections */
.section-toggle {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 15px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-toggle:hover {
    background: var(--bg-tertiary);
    border-color: var(--accent-blue);
}

.section-toggle.active {
    border-color: var(--accent-orange);
    background: rgba(255, 107, 53, 0.05);
}

.section-toggle-icon {
    transition: transform 0.3s ease;
}

.section-toggle.active .section-toggle-icon {
    transform: rotate(180deg);
}

.section-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.section-content.active {
    max-height: 1000px;
    padding: 20px 0;
}

/* Print styles for guide */
@media print {
    .guide-container {
        max-width: none;
        padding: 20px;
    }
    
    .page-divider {
        page-break-before: always;
    }
    
    .contact-cta {
        background: var(--text-primary) !important;
        color: white !important;
        box-shadow: none !important;
    }
    
    .pillar-card,
    .phase-card,
    .step-card {
        break-inside: avoid;
    }
}

/* Responsive design for guide */
@media (max-width: 768px) {
    .guide-container {
        padding: 40px 15px;
    }
    
    .guide-header h1 {
        font-size: 2.2em;
    }
    
    .pillars-grid,
    .phase-grid,
    .next-steps {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: center;
    }
    
    .page-header {
        padding: 20px;
    }
    
    .phase-card,
    .pillar-card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .guide-header h1 {
        font-size: 1.8em;
    }
    
    .page-header h2 {
        font-size: 1.6em;
    }
    
    .contact-cta {
        padding: 30px 20px;
    }
    
    .contact-item {
        padding: 12px 20px;
        font-size: 14px;
    }
}