/* Excelingo Shared Styles - One CSS to rule them all! */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #3864B2 0%, #6989C2 100%);
    padding: 20px;
    line-height: 1.8;
    color: #333;
}

/* Container */
.container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

/* Header */
.header {
    background: linear-gradient(135deg, #3864B2 0%, #6989C2 100%);
    color: white;
    padding: 40px 30px;
    text-align: center;
}

.header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: 700;
}

.header p {
    font-size: 1.1em;
    opacity: 0.9;
}

/* Content */
.content {
    padding: 40px 30px;
}

/* Intro Box */
.intro {
    background: #B6C9EC;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    border-right: 4px solid #3864B2;
}

.intro h2 {
    color: #3864B2;
    font-size: 1.8em;
    margin-bottom: 15px;
}

.intro p {
    font-size: 0.98em;
    text-align: justify;
}

/* Features (index.html) */
.features {
    margin: 40px 0;
}

.features h3 {
    color: #3864B2;
    font-size: 1.5em;
    margin-bottom: 20px;
    text-align: center;
}

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

.features li {
    margin-bottom: 15px;
    padding-right: 30px;
    position: relative;
}

.features li::before {
    content: "◆";
    color: #FF8800;
    font-weight: bold;
    position: absolute;
    right: 0;
}

/* Download Section (index.html) */
.download-section {
    background: linear-gradient(135deg, #3864B2 0%, #6989C2 100%);
    color: white;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    margin: 40px 0;
}

.download-section h3 {
    margin-bottom: 20px;
    font-size: 1.8em;
}

.download-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.download-btn {
    background: #FF8800;
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: transform 0.2s;
    display: inline-block;
}

.download-btn:hover {
    transform: scale(1.05);
}

/* Section (terms/privacy) */
.section {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e9ecef;
}

.section:last-child {
    border-bottom: none;
}

.section h2 {
    color: #3864B2;
    font-size: 1.5em;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-number {
    background: linear-gradient(135deg, #3864B2 0%, #6989C2 100%);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9em;
    font-weight: bold;
}

.section p {
    margin-bottom: 12px;
    text-align: justify;
}

.section ul {
    margin: 15px 0;
    padding-right: 25px;
}

.section li {
    margin-bottom: 10px;
    position: relative;
    list-style: none;
}

.section li::before {
    content: "◆";
    color: #FF8800;
    font-weight: bold;
    margin-left: 10px;
}

/* FAQ Category (faq.html) */
.faq-category {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e9ecef;
}

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

.faq-category-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.category-number {
    background: linear-gradient(135deg, #3864B2 0%, #6989C2 100%);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9em;
    font-weight: bold;
}

.faq-category-title {
    color: #3864B2;
    font-size: 1.5em;
    font-weight: 600;
}

/* FAQ Items (collapsible) */
details {
    margin-bottom: 12px;
    border-radius: 10px;
    background: #f8f9ff;
    border: 1px solid #dde4f5;
    overflow: hidden;
}

details[open] {
    background: #edf2ff;
    border-color: #B6C9EC;
}

summary {
    list-style: none;
    cursor: pointer;
    padding: 14px 16px;
    font-weight: 600;
    font-size: 0.98em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #3864B2;
}

/* Remove default triangle */
summary::-webkit-details-marker {
    display: none;
}

.summary-text {
    flex: 1;
    padding-left: 8px;
}

.summary-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3864B2 0%, #6989C2 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-right: 10px;
    flex-shrink: 0;
}

details[open] .summary-icon {
    background: #FF8800;
}

.faq-answer {
    padding: 0 16px 14px 16px;
    font-size: 0.95em;
    color: #444;
}

.faq-answer p {
    margin-bottom: 8px;
    text-align: justify;
}

.faq-answer ul {
    margin: 8px 0 4px 0;
    padding-right: 18px;
}

.faq-answer li {
    margin-bottom: 6px;
}

/* Common Utilities */
.highlight {
    background: #FF8800;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 600;
}

.note {
    font-size: 0.9em;
    color: #6c757d;
}

/* Contact Box */
.contact-box {
    background: linear-gradient(135deg, #3864B2 0%, #6989C2 100%);
    color: white;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    margin-top: 30px;
}

.contact-box h3 {
    margin-bottom: 10px;
    font-size: 1.3em;
}

.contact-box a {
    color: #FF8800;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
}

/* Links Bar */
.links-bar {
    background: #f1f3f9;
    padding: 16px 30px;
    text-align: center;
    border-top: 1px solid #e0e4f0;
    border-bottom: 1px solid #e0e4f0;
}

.links-bar a {
    color: #3864B2;
    text-decoration: none;
    margin: 0 10px;
    font-weight: 600;
    font-size: 0.95em;
}

.links-bar a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: #f8f9fa;
    padding: 20px;
    text-align: center;
    color: #6c757d;
    font-size: 0.9em;
}

/* Responsive */
@media (max-width: 768px) {
    .header h1 {
        font-size: 1.8em;
    }
    
    .content {
        padding: 25px 20px;
    }

    .download-buttons {
        flex-direction: column;
    }

    .download-btn {
        width: 100%;
    }

    .faq-category-title {
        font-size: 1.3em;
    }

    summary {
        font-size: 0.95em;
    }

    .links-bar a {
        display: block;
        margin: 10px 0;
    }
}

