/* ========================================================
   أنماط صفحات الهبوط وتحسين محركات البحث (SEO Landing Pages)
   Creen Platform - Critical SEO Stylesheet
   ======================================================== */

.seo-main-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #f8fafc;
    color: #1e293b;
    font-family: var(--font-family, 'Cairo', 'Inter', sans-serif);
}

.seo-landing-content {
    flex: 1;
    width: 100%;
    overflow-x: hidden;
}

/* Hero Section */
.seo-hero-section {
    position: relative;
    padding: 70px 20px 60px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #0369a1 100%);
    color: #ffffff;
    text-align: center;
    overflow: hidden;
}

.seo-hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 140%;
    height: 200%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.seo-hero-container {
    max-width: 960px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.seo-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #38bdf8;
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.seo-hero-title {
    font-size: 2.6rem;
    line-height: 1.35;
    font-weight: 800;
    margin: 0 0 20px;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.seo-hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.75;
    color: #cbd5e1;
    max-width: 760px;
    margin: 0 auto 32px;
}

.seo-hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.seo-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #007bff 0%, #0284c7 100%);
    color: #ffffff !important;
    padding: 13px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.02rem;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 123, 255, 0.35);
    transition: all 0.25s ease;
}

.seo-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 123, 255, 0.45);
}

.seo-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 13px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.02rem;
    text-decoration: none;
    backdrop-filter: blur(10px);
    transition: all 0.25s ease;
}

.seo-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

/* Main Container */
.seo-page-container {
    max-width: 1260px;
    margin: 0 auto;
    padding: 50px 20px 60px;
}

/* Section Header */
.seo-section-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 40px;
}

.seo-section-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
    line-height: 1.35;
}

.seo-section-desc {
    font-size: 1.02rem;
    color: #64748b;
    line-height: 1.65;
}

/* Value Props Grid - 4 Columns in One Row on Desktop */
.seo-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

@media (max-width: 1080px) {
    .seo-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

@media (max-width: 640px) {
    .seo-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.seo-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 26px 20px;
    transition: all 0.25s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
}

.seo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
}

.seo-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #eff6ff;
    color: #007bff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 18px;
}

.seo-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
    line-height: 1.4;
    unicode-bidi: plaintext;
}

.seo-card-text {
    font-size: 0.92rem;
    line-height: 1.65;
    color: #475569;
    flex: 1;
}

/* Rich Content Deep-Dive Blocks */
.seo-content-block {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 45px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.seo-content-block h2 {
    font-size: 1.65rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
}

.seo-content-block h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 24px 0 10px;
}

.seo-content-block p {
    font-size: 1.02rem;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 18px;
}

.seo-content-block ul {
    padding-right: 22px;
    margin-bottom: 20px;
}

[dir="ltr"] .seo-content-block ul {
    padding-right: 0;
    padding-left: 22px;
}

.seo-content-block li {
    font-size: 1rem;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 8px;
}

/* Steps Grid */
.seo-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.seo-step-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 24px 20px;
    position: relative;
}

.seo-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #007bff;
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 14px;
}

.seo-step-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.seo-step-desc {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
}

/* Interlinked Topics (Topic Cluster) */
.seo-related-topics {
    background: #f1f5f9;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 45px;
}

.seo-related-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.seo-related-title i {
    color: #007bff;
}

.seo-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.seo-tag-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #1e293b;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 24px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.seo-tag-link:hover {
    background: #007bff;
    color: #ffffff;
    border-color: #007bff;
    transform: translateY(-2px);
}

/* FAQ Section */
.seo-faq-section {
    margin-bottom: 50px;
}

.seo-faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 14px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.seo-faq-item[open] {
    border-color: #93c5fd;
    box-shadow: 0 4px 14px rgba(0, 123, 255, 0.08);
}

.seo-faq-question {
    padding: 18px 22px;
    font-size: 1.08rem;
    font-weight: 700;
    color: #0f172a;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.seo-faq-question::-webkit-details-marker {
    display: none;
}

.seo-faq-question::after {
    content: '+';
    font-size: 1.4rem;
    color: #007bff;
    font-weight: 700;
    transition: transform 0.2s;
}

.seo-faq-item[open] .seo-faq-question::after {
    content: '−';
}

.seo-faq-answer {
    padding: 0 22px 20px;
    font-size: 0.98rem;
    line-height: 1.75;
    color: #475569;
}

/* CTA Banner */
.seo-cta-banner {
    background: linear-gradient(135deg, #007bff 0%, #0284c7 50%, #0369a1 100%);
    border-radius: 20px;
    padding: 45px 30px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 14px 34px rgba(0, 123, 255, 0.25);
}

.seo-cta-banner h2 {
    font-size: 1.95rem;
    font-weight: 800;
    margin-bottom: 14px;
    color: #ffffff;
}

.seo-cta-banner p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #e0f2fe;
    max-width: 680px;
    margin: 0 auto 28px;
}

.seo-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: #007bff !important;
    padding: 14px 36px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1.05rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.25s ease;
}

.seo-cta-btn:hover {
    transform: scale(1.04);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
    .seo-hero-title {
        font-size: 1.9rem;
    }
    .seo-hero-subtitle {
        font-size: 1rem;
    }
    .seo-content-block {
        padding: 24px 18px;
    }
    .seo-cta-banner {
        padding: 35px 20px;
    }
    .seo-cta-banner h2 {
        font-size: 1.55rem;
    }
}

/* ========================================================
   أنماط الفوتر الموحد لصفحات SEO والصفحة الرئيسية
   ======================================================== */
.seo-footer-container {
    background: #0f172a;
    color: #cbd5e1;
    font-family: var(--font-family, 'Cairo', 'Inter', sans-serif);
    padding: 60px 20px 25px;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 10;
}

.seo-footer-wrapper {
    max-width: 1280px;
    margin: 0 auto;
}

.seo-footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
    gap: 35px;
    margin-bottom: 50px;
}

@media (max-width: 1100px) {
    .seo-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .seo-footer-col.brand-col {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .seo-footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

.seo-footer-logo img {
    height: 42px;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 16px;
}

.seo-footer-tagline {
    font-size: 0.92rem;
    line-height: 1.7;
    color: #94a3b8;
    margin-bottom: 18px;
}

.seo-footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.seo-footer-badges .badge-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    color: #38bdf8;
}

.seo-footer-heading {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 8px;
}

.seo-footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 28px;
    height: 2px;
    background: #007bff;
    border-radius: 2px;
}

[dir="ltr"] .seo-footer-heading::after {
    right: auto;
    left: 0;
}

.seo-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.seo-footer-links li {
    margin-bottom: 11px;
}

.seo-footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.seo-footer-links a i {
    font-size: 0.7rem;
    color: #64748b;
    transition: transform 0.2s ease;
}

.seo-footer-links a:hover {
    color: #38bdf8;
    transform: translateX(-3px);
}

[dir="ltr"] .seo-footer-links a:hover {
    transform: translateX(3px);
}

.seo-footer-links a:hover i {
    color: #38bdf8;
}

.seo-footer-bottom {
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.88rem;
    color: #64748b;
}

.seo-footer-bottom a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.seo-footer-bottom a:hover {
    color: #38bdf8;
}

.seo-footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.seo-footer-bottom-links .sep {
    color: #475569;
}
