/* Help Center Page Styles */

/* Hero Section with Background Image */
.help-hero {
    position: relative !important;
    padding: 80px 20px !important;
    text-align: center !important;
    overflow: hidden !important;
    min-height: 300px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    /* Direct background image like webinars page */
    background-image: url('../images/pages/help-hero-bg.jpg') !important;
    background-image: url('../images/pages/help-hero-bg.webp') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color: #0c4a60 !important;
}

/* Remove ::before since we're using direct background */

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

.help-hero > * {
    flex-direction: column;
    text-align: center;
    width: 100%;
}

.help-hero h1 {
    color: #0c4a60 !important;
    font-size: 2.8rem !important;
    margin: 0 !important;
    font-family: 'Merriweather', serif !important;
    font-weight: 700 !important;
}

.help-hero p {
    color: #005a8b !important;
    font-size: 1.1rem !important;
    max-width: 700px !important;
    margin: 20px auto 0 auto !important;
    line-height: 1.6 !important;
}

/* Need Help Section with Background Image */
#contact-support > div {
    background: none !important;
    position: relative !important;
}

#contact-support > div::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/pages/help-needhelp-bg.jpg');
    background-image: url('../images/pages/help-needhelp-bg.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    filter: blur(2px);
    z-index: 1;
    border-radius: 12px;
}

#contact-support > div * {
    position: relative;
    z-index: 2;
}

#contact-support h2 {
    color: #0c4a60 !important;
}

#contact-support p {
    color: #005a8b !important;
}

#contact-support h4 {
    color: #0c4a60 !important;
}

/* Fix text colors in Need Help cards */
#contact-support .fas {
    color: white !important;
}

#contact-support div[style*="color: white"] h4 {
    color: #0c4a60 !important;
}

#contact-support div[style*="color: rgba(255,255,255,0.9)"] p {
    color: #005a8b !important;
}

/* Page Header */
.help-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
}

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

.stat-item i {
    color: #3182ce;
    font-size: 1.2rem;
}

/* Help Cards Section */
.help-cards-section {
    margin: 40px 0;
}

.help-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.help-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #e2e8f0;
}

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

.help-card.featured {
    border-color: #3182ce;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3182ce 0%, #2c5282 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-icon.author {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
}

.card-icon.support {
    background: linear-gradient(135deg, #ed8936 0%, #c05621 100%);
}

.card-icon i {
    color: white;
    font-size: 1.5rem;
}

.card-content h3 {
    color: #2d3748;
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.card-content p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 20px;
}

.card-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #3182ce;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.card-button:hover {
    background: #2c5282;
    color: white;
}

/* Help Sections */
.help-section {
    margin: 60px 0;
    scroll-margin-top: 100px;
}

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

.section-header h2 {
    color: #2c5282;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 2rem;
}

.section-header p {
    color: #4a5568;
    font-size: 1.1rem;
}

/* Tabs */
.help-tabs {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.tab-nav {
    display: flex;
    background: #f7fafc;
    border-bottom: 1px solid #e2e8f0;
}

.tab-btn {
    flex: 1;
    padding: 16px 20px;
    background: none;
    border: none;
    color: #4a5568;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.tab-btn.active,
.tab-btn:hover {
    color: #3182ce;
    background: white;
    border-bottom-color: #3182ce;
}

.tab-content {
    display: none;
    padding: 40px;
}

.tab-content.active {
    display: block;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.content-main h3 {
    color: #2d3748;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

/* Step Guide */
.step-guide {
    space-y: 30px;
}

.step {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.step-number {
    width: 40px;
    height: 40px;
    background: #3182ce;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h4 {
    color: #2d3748;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.step-content p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 12px;
}

.step-content ul {
    padding-left: 20px;
    color: #4a5568;
}

.step-content li {
    margin: 6px 0;
    line-height: 1.5;
}

/* Navigation Guide */
.nav-section {
    margin: 30px 0;
}

.nav-section h4 {
    color: #2d3748;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Search Examples */
.search-examples {
    background: #f7fafc;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.example {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 12px 0;
    padding: 10px;
    background: white;
    border-radius: 6px;
}

.example code {
    background: #2d3748;
    color: #e2e8f0;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    min-width: 120px;
}

.example span {
    color: #4a5568;
    font-size: 0.9rem;
}

/* Access Types */
.access-guide {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0;
}

.access-type {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #f7fafc;
    border-radius: 8px;
}

.access-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.access-icon.open {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
}

.access-icon.subscription {
    background: linear-gradient(135deg, #3182ce 0%, #2c5282 100%);
}

.access-icon.trial {
    background: linear-gradient(135deg, #ed8936 0%, #c05621 100%);
}

.access-icon i {
    color: white;
    font-size: 1.2rem;
}

.access-info h4 {
    color: #2d3748;
    margin-bottom: 8px;
}

.access-info p {
    color: #4a5568;
    line-height: 1.5;
}

.oa-badge {
    background: #38a169;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

.access-troubleshooting {
    margin-top: 30px;
}

.access-troubleshooting h4 {
    color: #2d3748;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Content Sidebar */
.content-sidebar {
    space-y: 20px;
}

.help-tip, .help-resources {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.help-tip {
    background: linear-gradient(135deg, #fef5e7 0%, #fed7af 20%);
    border-color: #ed8936;
}

.help-tip h4 {
    color: #c05621;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.help-tip p {
    color: #744210;
    line-height: 1.5;
}

.help-resources h4 {
    color: #2d3748;
    margin-bottom: 15px;
}

.help-resources ul {
    list-style: none;
    padding: 0;
}

.help-resources li {
    margin: 8px 0;
}

.help-resources a {
    color: #3182ce;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.help-resources a:hover {
    background: #f7fafc;
    color: #2c5282;
}

kbd {
    background: #e2e8f0;
    color: #2d3748;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.85rem;
    font-family: monospace;
}

/* Author Workflow */
.author-workflow {
    margin: 40px 0;
}

.workflow-step {
    display: flex;
    gap: 30px;
    margin: 40px 0;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3182ce 0%, #2c5282 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-icon i {
    color: white;
    font-size: 2rem;
}

.step-content h3 {
    color: #2d3748;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.step-details h4 {
    color: #2d3748;
    margin: 20px 0 12px 0;
    font-size: 1.1rem;
}

.step-details ul {
    padding-left: 20px;
    color: #4a5568;
}

.step-details li {
    margin: 6px 0;
    line-height: 1.5;
}

/* Checklist */
.checklist {
    background: #f7fafc;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.checklist label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 12px 0;
    color: #4a5568;
    cursor: pointer;
}

.checklist input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #3182ce;
}

/* Timeline */
.timeline {
    margin: 20px 0;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 15px;
    margin: 12px 0;
    background: #f7fafc;
    border-left: 4px solid #3182ce;
    border-radius: 0 8px 8px 0;
}

.timeline-item strong {
    color: #2d3748;
    font-weight: 600;
}

.timeline-item span {
    color: #4a5568;
    font-size: 0.9rem;
}

/* Outcomes */
.outcomes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.outcome {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    border-radius: 8px;
}

.outcome.accept {
    background: #f0fff4;
    border: 1px solid #c6f6d5;
}

.outcome.revise {
    background: #fef5e7;
    border: 1px solid #fed7af;
}

.outcome.reject {
    background: #fed7d7;
    border: 1px solid #feb2b2;
}

.outcome i {
    font-size: 1.5rem;
}

.outcome.accept i {
    color: #38a169;
}

.outcome.revise i {
    color: #ed8936;
}

.outcome.reject i {
    color: #e53e3e;
}

.outcome div strong {
    display: block;
    color: #2d3748;
    margin-bottom: 4px;
}

.outcome div span {
    color: #4a5568;
    font-size: 0.9rem;
}

/* Author Resources */
.author-resources {
    margin: 50px 0;
}

.author-resources h3 {
    color: #2d3748;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.resource-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.resource-card:hover {
    border-color: #3182ce;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.resource-card i {
    font-size: 2.5rem;
    color: #3182ce;
    margin-bottom: 15px;
}

.resource-card h4 {
    color: #2d3748;
    margin-bottom: 12px;
}

.resource-card p {
    color: #4a5568;
    line-height: 1.5;
    margin-bottom: 20px;
}

.resource-link {
    color: #3182ce;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 16px;
    border: 2px solid #3182ce;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.resource-link:hover {
    background: #3182ce;
    color: white;
}

/* Support Categories */
.support-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.support-category {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.category-header {
    background: linear-gradient(135deg, #2c5282 0%, #3182ce 100%);
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.category-header i {
    font-size: 1.5rem;
}

.category-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.category-content {
    padding: 25px;
}

.troubleshooting-item {
    margin: 25px 0;
}

.troubleshooting-item h4 {
    color: #2d3748;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.troubleshooting-item ul {
    padding-left: 20px;
    color: #4a5568;
}

.troubleshooting-item li {
    margin: 6px 0;
    line-height: 1.5;
}

/* Support Contact */
.support-contact {
    margin: 50px 0;
}

.contact-options h3 {
    color: #2d3748;
    margin-bottom: 30px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1.4rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.contact-method {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-method:hover {
    border-color: #3182ce;
    transform: translateY(-3px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3182ce 0%, #2c5282 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.contact-icon i {
    color: white;
    font-size: 1.5rem;
}

.contact-info h4 {
    color: #2d3748;
    margin-bottom: 8px;
}

.contact-info p {
    color: #4a5568;
    margin-bottom: 10px;
}

.availability,
.response-time {
    display: block;
    color: #38a169;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.contact-btn {
    display: inline-block;
    background: #3182ce;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.contact-btn:hover {
    background: #2c5282;
    color: white;
}

/* System Requirements */
.system-requirements {
    margin: 50px 0;
}

.system-requirements h3 {
    color: #2d3748;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.req-category {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 25px;
}

.req-category h4 {
    color: #2d3748;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.req-category ul {
    list-style: none;
    padding: 0;
}

.req-category li {
    color: #4a5568;
    padding: 6px 0;
    border-bottom: 1px solid #f7fafc;
}

.req-category li:last-child {
    border-bottom: none;
}

/* Global FAQ */
.global-faq {
    margin: 60px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 15px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
    border: 2px solid #e2e8f0;
}

.faq-question {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #2d3748;
    transition: background-color 0.3s ease;
    font-size: 1rem;
}

.faq-question:hover {
    background-color: #f7fafc;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: #4a5568;
    line-height: 1.6;
}

.faq-answer.active {
    padding: 20px;
    max-height: 200px;
}

.faq-icon {
    transition: transform 0.3s ease;
    color: #3182ce;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-item.active {
    border-color: #3182ce;
}

/* Responsive Design */
@media (max-width: 768px) {
    .help-stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .help-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .tab-nav {
        flex-direction: column;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .workflow-step {
        flex-direction: column;
        text-align: center;
    }
    
    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .outcomes {
        grid-template-columns: 1fr;
    }
    
    .resources-grid,
    .support-categories,
    .contact-grid,
    .requirements-grid {
        grid-template-columns: 1fr;
    }
    
    /* Hero responsive design to match webinars page */
    .help-hero {
        padding: 30px 15px !important;
        min-height: 250px !important;
    }
    
    .help-hero h1 {
        font-size: 2rem !important;
    }
    
    .help-hero p {
        font-size: 1rem !important;
    }
}

@media (max-width: 480px) {
    .help-hero {
        padding: 20px 10px !important;
        min-height: 200px !important;
    }
    
    .help-hero h1 {
        font-size: 1.8rem !important;
    }
}