/* --- Hero Section Styles --- */
.hero {
    padding: 60px 20px;
    color: #ffffff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    text-align: center;
    overflow: hidden;
}
.hero .container {
    max-width: 900px;
}
.hero-text h1 {
    font-size: 3.2em;
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 25px;
    font-weight: 700;
    text-shadow: 0 4px 15px rgba(0,0,0,0.2);
    line-height: 1.3;
}
/* (تعديل) جعل الشعار التسويقي H2 */
.hero-text h2 {
    font-size: 1.3em;
    color: #ecf0f1;
    max-width: 100%;
    margin: 0 0 40px 0;
    font-weight: 300;
}
.cta-button {
    display: inline-block;
    background-color: var(--white-color);
    color: #667eea !important;
    padding: 18px 40px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}
.hero-image-container {
    margin-top: 40px;
    perspective: 1000px;
}
.hero-image {
    max-width: 320px;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    transform: rotateX(10deg) rotateY(-10deg);
    transition: transform 0.5s ease;
}
.hero-image:hover {
    transform: rotateX(0deg) rotateY(0deg);
}

/* --- General Section Styles --- */
.section {
    padding: 80px 20px;
    border-bottom: 1px solid #e0e0e0;
}
.section:last-of-type { border-bottom: none; }
.section-title {
    text-align: center;
    font-size: 2.8em;
    margin-top: 0;
    margin-bottom: 50px;
}
.container { max-width: 1200px; margin: 0 auto; }

/* --- Features Section --- */
#features { background-color: #f4f7f6; }
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}
.feature-item {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
}
.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
.feature-item .icon {
    font-size: 1em;
    color: #667eea;
    background-color: rgba(102, 126, 234, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.feature-item .icon svg { width: 26px; height: 26px; stroke-width: 2; }
.feature-item h3 { font-size: 1.5em; margin: 0 0 10px 0; }
.feature-item p { font-size: 1em; line-height: 1.6; margin: 0; }

/* --- Showcase Section --- */
.feature-showcase-section {
    background-color: #ffffff;
}
.feature-showcase {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.feature-showcase-image, .feature-showcase-content {
    flex: 1;
    min-width: 300px;
}
.feature-showcase-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.feature-showcase-content {
    text-align: right;
}
.feature-showcase-content h2 {
    font-size: 2.2em;
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--dark-color);
    font-weight: 700;
}
.feature-showcase-content p {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}
.feature-showcase.reverse .feature-showcase-image { order: 2; }
.feature-showcase.reverse .feature-showcase-content { order: 1; }

/* --- CTA Section --- */
.cta-section {
    background-color: var(--primary-color);
    color: var(--white-color);
    text-align: center;
    padding: 80px 20px;
}
.cta-section h2 { font-size: 2.5em; margin-top: 0; margin-bottom: 1rem; }
.cta-section p { font-size: 1.2em; max-width: 600px; margin: 0 auto 2rem auto; }

/* --- Responsive --- */
@media (max-width: 991px) {
    .feature-showcase {
        text-align: center;
        flex-direction: column;
    }
    .feature-showcase.reverse .feature-showcase-image { order: 1; }
    .feature-showcase.reverse .feature-showcase-content { order: 2; }
    .feature-showcase-content { text-align: center; }
}
@media (max-width: 768px) {
    .hero-text h1 { font-size: 2.5em; }
    .hero-text h2 { font-size: 1.2em; } /* (تعديل) */
    .hero-image { max-width: 280px; }
    .section { padding: 60px 15px; }
    .section-title { font-size: 2.2em; margin-bottom: 30px; }
    .cta-section h2 { font-size: 2.2em; }
}

/* --- Stats Section --- */
.stats-section {
    background-color: #ffffff;
    padding: 60px 20px;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.stat-item {
    background: #f4f7f6;
    padding: 25px;
    border-radius: 12px;
}
.stat-item .stat-number {
    font-size: 2.5em;
    font-weight: 700;
    color: #667eea;
    margin: 0 0 5px 0;
    line-height: 1.2;
}
.stat-item .stat-title {
    font-size: 1.1em;
    color: #555;
    margin: 0;
}
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* (جديد) قسم محتوى SEO (تصميم البطاقة المميزة) */
.seo-content-section {
    background-color: #f4f7f6; /* خلفية رمادية للقسم */
}
.seo-content-section .container {
    max-width: 900px;
    /* (إزالة) text-align: right; */
}
/* (جديد) البطاقة البيضاء */
.seo-content-card {
    background-color: #ffffff;
    padding: 2.5rem 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: right;
}
.seo-content-card h2 {
    font-size: 2.2em;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}
.seo-content-card p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1rem;
}
@media (max-width: 768px) {
    .seo-content-card {
        padding: 1.5rem 2rem;
    }
    .seo-content-card h2 {
        font-size: 1.8em;
    }
    .seo-content-card p {
        font-size: 1em;
    }
}


/* --- START: (هذا هو التعديل) --- */
/* --- FAQ Section (Landing Page) --- */
.faq-section {
    background-color: #ffffff; /* (تعديل) تغيير الخلفية إلى الأبيض */
    padding-top: 80px; /* (تعديل) إعادة الحشو العلوي الافتراضي */
}
/* --- END: (هذا هو التعديل) --- */
.faq-container { 
    max-width: 900px; 
    margin: 0 auto; 
}
.faq-item { 
    border-bottom: 1px solid #e0e0e0; 
}
.faq-item:last-child {
    border-bottom: none;
}
.faq-item summary {
    font-size: 1.3em;
    font-weight: 500;
    padding: 20px 0;
    cursor: pointer;
    outline: none;
    position: relative;
    list-style: none; /* إخفاء السهم الافتراضي */
}
.faq-item summary::-webkit-details-marker {
    display: none; /* إخفاء السهم الافتراضي */
}
.faq-item summary::after {
    content: '+';
    position: absolute;
    left: 0;
    font-size: 1.5em;
    transition: transform 0.3s ease;
    color: var(--primary-color);
}
.faq-item[open] summary::after { 
    transform: rotate(45deg); 
}
.faq-item .faq-content { 
    padding: 0 10px 20px 10px; 
    margin: 0; 
    color: #555; 
    font-size: 1.05em; 
    line-height: 1.8;
}
