/* ===== Latest Vertical Slider Styles ===== */
.latest-vertical-slider {
    background: var(--marsad-surface, #ffffff);
    border-radius: 18px;
    padding: 24px;
    margin: 20px 0;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--marsad-border, rgba(17, 24, 39, 0.08));
}

/* Header */
.lvs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--marsad-border, rgba(17, 24, 39, 0.08));
}

.lvs-title-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
}

.lvs-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 14px;
    color: white;
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.35);
}

.lvs-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.lvs-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--marsad-text, #111827);
    margin: 0;
}

.lvs-subtitle {
    font-size: 13px;
    color: var(--marsad-muted, #6b7280);
}

.lvs-controls {
    display: flex;
    gap: 8px;
}

.lvs-nav-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid var(--marsad-border, rgba(17, 24, 39, 0.12));
    background: var(--marsad-surface, #ffffff);
    color: var(--marsad-text, #111827);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.lvs-nav-btn:hover:not(:disabled) {
    background: var(--marsad-accent, #3b82f6);
    color: white;
    border-color: var(--marsad-accent, #3b82f6);
    transform: translateY(-2px);
}

.lvs-nav-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

/* Main Content Grid */
.lvs-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 24px;
    min-height: 420px;
}

/* Main Display */
.lvs-main-display {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.lvs-display-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.lvs-display-item.active {
    position: relative;
    opacity: 1;
    visibility: visible;
}

.lvs-display-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    background: var(--marsad-surface, #ffffff);
    border: 1px solid var(--marsad-border, rgba(17, 24, 39, 0.08));
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.lvs-display-link:hover {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
    border-color: var(--marsad-accent, #3b82f6);
}

.lvs-display-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.lvs-display-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.lvs-display-link:hover .lvs-display-image img {
    transform: scale(1.05);
}

.lvs-display-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    font-size: 56px;
    color: #94a3b8;
}

.lvs-display-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    pointer-events: none;
}

.lvs-video-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: rgba(220, 38, 38, 0.95);
    color: white;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(6px);
}

.lvs-display-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.lvs-display-badge {
    margin-bottom: 12px;
}

.lvs-display-badge span {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: white;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.lvs-display-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--marsad-text, #111827);
    margin: 0 0 12px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lvs-display-excerpt {
    font-size: 14px;
    line-height: 1.8;
    color: var(--marsad-muted, #6b7280);
    margin: 0 0 auto 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lvs-display-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--marsad-muted, #6b7280);
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--marsad-border, rgba(17, 24, 39, 0.08));
}

.lvs-display-source {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lvs-source-logo {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--marsad-border, rgba(17, 24, 39, 0.1));
}

.lvs-display-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.lvs-read-more {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 12px 18px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    justify-content: center;
    transition: all 0.3s ease;
}

.lvs-display-link:hover .lvs-read-more {
    transform: translateX(-5px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

/* Thumbnails */
.lvs-thumbnails-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background: var(--marsad-bg-alt, #f8fafc);
    border: 1px solid var(--marsad-border, rgba(17, 24, 39, 0.06));
}

.lvs-thumbnails-track {
    display: flex;
    flex-direction: column;
    gap: 0;
    height: 564px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(59, 130, 246, 0.3) transparent;
    scroll-behavior: smooth;
}

.lvs-thumbnails-track::-webkit-scrollbar {
    width: 4px;
}

.lvs-thumbnails-track::-webkit-scrollbar-track {
    background: transparent;
}

.lvs-thumbnails-track::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.3);
    border-radius: 4px;
}

.lvs-thumb-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border-bottom: 1px solid var(--marsad-border, rgba(17, 24, 39, 0.06));
}

.lvs-thumb-item:last-child {
    border-bottom: none;
}

.lvs-thumb-item:hover {
    background: rgba(59, 130, 246, 0.06);
}

.lvs-thumb-item.active {
    background: rgba(59, 130, 246, 0.1);
}

.lvs-thumb-indicator {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 2px 0 0 2px;
    transition: height 0.3s ease;
}

.lvs-thumb-item.active .lvs-thumb-indicator {
    height: 60%;
}

.lvs-thumb-number {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--marsad-surface, #ffffff);
    border: 1px solid var(--marsad-border, rgba(17, 24, 39, 0.1));
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--marsad-muted, #6b7280);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.lvs-thumb-item.active .lvs-thumb-number {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border-color: transparent;
}

.lvs-thumb-image {
    position: relative;
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.lvs-thumb-item.active .lvs-thumb-image {
    border-color: var(--marsad-accent, #3b82f6);
}

.lvs-thumb-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lvs-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    font-size: 22px;
    color: #94a3b8;
}

.lvs-thumb-video-icon {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 38, 38, 0.95);
    color: white;
    border-radius: 5px;
    font-size: 10px;
}

.lvs-thumb-content {
    flex: 1;
    min-width: 0;
}

.lvs-thumb-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--marsad-text, #111827);
    margin: 0 0 6px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.lvs-thumb-item.active .lvs-thumb-title {
    color: var(--marsad-accent, #3b82f6);
}

.lvs-thumb-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: var(--marsad-muted, #6b7280);
}

.lvs-thumb-source {
    font-weight: 500;
}

.lvs-thumb-date {
    display: flex;
    align-items: center;
    gap: 3px;
}

/* Progress Bar */
.lvs-progress {
    margin-top: 20px;
    height: 4px;
    background: var(--marsad-border, rgba(17, 24, 39, 0.08));
    border-radius: 2px;
    overflow: hidden;
}

.lvs-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 2px;
    transition: width 0.1s linear;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .lvs-content {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .lvs-main-display {
        order: 1;
    }
    
    .lvs-thumbnails-wrapper {
        order: 2;
    }
    
    .lvs-thumbnails-track {
        height: auto;
        max-height: 300px;
    }
    
    .lvs-display-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .latest-vertical-slider {
        padding: 18px;
        margin: 14px 0;
        border-radius: 14px;
    }
    
    .lvs-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    
    .lvs-controls {
        align-self: flex-end;
    }
    
    .lvs-icon {
        width: 44px;
        height: 44px;
    }
    
    .lvs-title {
        font-size: 20px;
    }
    
    .lvs-display-title {
        font-size: 17px;
    }
    
    .lvs-thumb-item {
        padding: 12px;
    }
    
    .lvs-thumb-image {
        width: 60px;
        height: 60px;
    }
    
    .lvs-thumb-title {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .latest-vertical-slider {
        padding: 14px;
    }
    
    .lvs-display-content {
        padding: 16px;
    }
    
    .lvs-display-title {
        font-size: 16px;
    }
    
    .lvs-display-excerpt {
        -webkit-line-clamp: 2;
    }
    
    .lvs-thumb-number {
        display: none;
    }
    
    .lvs-thumb-image {
        width: 55px;
        height: 55px;
    }
}

/* ===== Dark Mode ===== */
[data-theme="dark"] .latest-vertical-slider,
body.dark-mode .latest-vertical-slider {
    background: var(--marsad-surface-dark, #1e293b);
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .lvs-display-link,
body.dark-mode .lvs-display-link {
    background: var(--marsad-surface-dark, #1e293b);
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .lvs-thumbnails-wrapper,
body.dark-mode .lvs-thumbnails-wrapper {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .lvs-thumb-item:hover,
body.dark-mode .lvs-thumb-item:hover {
    background: rgba(59, 130, 246, 0.1);
}

[data-theme="dark"] .lvs-thumb-item.active,
body.dark-mode .lvs-thumb-item.active {
    background: rgba(59, 130, 246, 0.15);
}

[data-theme="dark"] .lvs-nav-btn,
body.dark-mode .lvs-nav-btn {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
}

[data-theme="dark"] .lvs-thumb-number,
body.dark-mode .lvs-thumb-number {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .lvs-title,
body.dark-mode .lvs-title,
[data-theme="dark"] .lvs-display-title,
body.dark-mode .lvs-display-title,
[data-theme="dark"] .lvs-thumb-title,
body.dark-mode .lvs-thumb-title {
    color: #f1f5f9;
}

[data-theme="dark"] .lvs-display-placeholder,
body.dark-mode .lvs-display-placeholder,
[data-theme="dark"] .lvs-thumb-placeholder,
body.dark-mode .lvs-thumb-placeholder {
    background: linear-gradient(135deg, #334155 0%, #475569 100%);
}

[data-theme="dark"] .lvs-progress,
body.dark-mode .lvs-progress {
    background: rgba(255, 255, 255, 0.08);
}

/* ===== Country News Blocks Styles ===== */
.countries-blocks-section {
    margin: 40px 0;
}

.countries-blocks-section .section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 30px;
}

.cnb-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* البلوك الرئيسي */
.cnb-block {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.cnb-block:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* رأس البلوك */
.cnb-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid #e5e7eb;
}

.cnb-flag {
    width: 40px;
    height: 28px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.cnb-country-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

/* الكارت الرئيسي */
.cnb-main-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.cnb-main-card:hover {
    background: #f8fafc;
}

.cnb-main-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.cnb-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.cnb-main-card:hover .cnb-main-image img {
    transform: scale(1.05);
}

.cnb-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
}

.cnb-no-image svg {
    width: 48px;
    height: 48px;
    color: #9ca3af;
}

.cnb-source {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
}

.cnb-main-content {
    padding: 16px 20px;
}

.cnb-main-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cnb-main-excerpt {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0 0 10px 0;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cnb-main-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cnb-source-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cnb-source-logo {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #e5e7eb;
}

.cnb-source-name {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

.cnb-time {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    color: #94a3b8;
}

.cnb-time svg {
    width: 14px;
    height: 14px;
}

/* الكروت الصغيرة */
.cnb-small-cards {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #e5e7eb;
}

.cnb-small-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s ease;
}

.cnb-small-card:last-child {
    border-bottom: none;
}

.cnb-small-card:hover {
    background: #f8fafc;
}

.cnb-small-image {
    width: 70px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.cnb-small-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cnb-no-image-small {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e5e7eb;
}

.cnb-no-image-small svg {
    width: 24px;
    height: 24px;
    color: #9ca3af;
}

.cnb-small-content {
    flex: 1;
    min-width: 0;
}

.cnb-small-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    margin: 0 0 4px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cnb-small-meta {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cnb-small-source-logo {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    object-fit: cover;
}

.cnb-small-source {
    font-size: 0.75rem;
    color: #9ca3af;
}

.cnb-small-date {
    font-size: 0.7rem;
    color: #94a3b8;
    margin-right: auto;
}

.cnb-small-date::before {
    content: "•";
    margin: 0 4px;
    color: #d1d5db;
}

/* زر المزيد */
.cnb-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    margin-top: auto;
}

.cnb-more-btn:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
}

.cnb-more-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.cnb-more-btn:hover svg {
    transform: translateX(-4px);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .cnb-grid {
        gap: 20px;
    }

    .cnb-main-image {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .cnb-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cnb-main-image {
        height: 200px;
    }

    .cnb-small-cards {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .cnb-small-card {
        flex-direction: column;
        text-align: center;
        padding: 12px;
    }

    .cnb-small-image {
        width: 100%;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .cnb-small-cards {
        grid-template-columns: 1fr;
    }

    .cnb-small-card {
        flex-direction: row;
        text-align: right;
    }

    .cnb-small-image {
        width: 70px;
        height: 50px;
    }

    .cnb-header {
        padding: 12px 16px;
    }

    .cnb-main-content {
        padding: 12px 16px;
    }

    .cnb-country-name {
        font-size: 1.1rem;
    }

    .cnb-flag {
        width: 32px;
        height: 22px;
    }
}

/* ===== Dark Mode ===== */


/* Dark mode class-based */
.dark .cnb-block,
[data-theme="dark"] .cnb-block {
    background: #1e293b;
    border-color: #334155;
}

.dark .cnb-header,
[data-theme="dark"] .cnb-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-color: #334155;
}

.dark .cnb-country-name,
[data-theme="dark"] .cnb-country-name {
    color: #f1f5f9;
}

.dark .cnb-main-card:hover,
[data-theme="dark"] .cnb-main-card:hover {
    background: #334155;
}

.dark .cnb-main-title,
[data-theme="dark"] .cnb-main-title {
    color: #f1f5f9;
}

.dark .cnb-main-excerpt,
[data-theme="dark"] .cnb-main-excerpt {
    color: #94a3b8;
}

.dark .cnb-small-cards,
[data-theme="dark"] .cnb-small-cards {
    border-color: #334155;
}

.dark .cnb-small-card,
[data-theme="dark"] .cnb-small-card {
    border-color: #334155;
}

.dark .cnb-small-card:hover,
[data-theme="dark"] .cnb-small-card:hover {
    background: #334155;
}

.dark .cnb-small-title,
[data-theme="dark"] .cnb-small-title {
    color: #e2e8f0;
}

    /* ===== أنماط تصميم قسم تطبيق مرصد ===== */
    :root {
        --primary-color: #3b82f6;
        --primary-dark: #1d4ed8;
        --text-dark: #1e293b;
        --text-light: #64748b;
        --background-light: #f8fafc;
        --card-bg: #ffffff;
        --shadow-color: rgba(0, 0, 0, 0.07);
        --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        --border-radius: 16px;
    }




    .app-features-container {
        max-width: 1200px;
        margin: 20px auto;
        padding: 20px;
        background: linear-gradient(145deg, #f8fafc 0%, #f1f5f9 100%);
        border-radius: var(--border-radius);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
        position: relative;
        overflow: hidden;
    }

    /* تأثير خلفية زخرفية */
    .app-features-container::before {
        content: '';
        position: absolute;
        top: -30%;
        right: -20%;
        width: 300px;
        height: 300px;
        background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
        z-index: 0;
    }

    /* رأس القسم */
    .app-features-header {
        display: flex;
        flex-direction: column;
        gap: 25px;
        margin-bottom: 35px;
        position: relative;
        z-index: 1;
    }

    .app-title-section {
        text-align: center;
    }

    .app-main-title {
        font-size: 2rem;
        color: var(--text-dark);
        margin-bottom: 10px;
        font-weight: 800;
        line-height: 1.2;
    }

    .app-main-title .highlight {
        color: var(--primary-color);
        position: relative;
    }

    .app-main-title .highlight::after {
        content: '';
        position: absolute;
        bottom: 5px;
        right: 0;
        width: 100%;
        height: 6px;
        background-color: rgba(59, 130, 246, 0.2);
        z-index: -1;
        border-radius: 3px;
    }

    .app-subtitle {
        font-size: 1.1rem;
        color: var(--text-light);
        max-width: 600px;
        margin: 0 auto;
        line-height: 1.6;
    }

    /* زر تحميل Google Play */
    .download-cta {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        background: var(--card-bg);
        padding: 20px;
        border-radius: var(--border-radius);
        text-decoration: none;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
        transition: var(--transition);
        border: 1px solid #e2e8f0;
        max-width: 400px;
        margin: 0 auto;
    }

    .download-cta:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
        border-color: var(--primary-color);
    }

    .play-store-badge {
        height: 50px;
        width: auto;
    }

    .cta-text {
        font-weight: 700;
        color: var(--text-dark);
        font-size: 1.1rem;
    }

    /* بطاقة المقدمة */
    .intro-card {
        background: var(--card-bg);
        padding: 25px;
        border-radius: var(--border-radius);
        margin-bottom: 35px;
        border-right: 6px solid var(--primary-color);
        position: relative;
        z-index: 1;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    }

    .intro-card.card-glowing {
        box-shadow: 0 10px 25px rgba(59, 130, 246, 0.15);
    }

    .intro-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
        border-radius: 12px;
        padding: 12px;
    }

    .intro-icon svg {
        width: 36px;
        height: 36px;
        color: var(--primary-color);
    }

    .app-description {
        font-size: 1.05rem;
        line-height: 1.7;
        color: #334155;
        margin: 0;
        text-align: center;
    }

    /* عنوان المميزات */
    .features-title-section {
        text-align: center;
        margin-bottom: 35px;
        position: relative;
        z-index: 1;
    }

    .features-main-title {
        font-size: 1.7rem;
        color: var(--text-dark);
        margin-bottom: 12px;
        font-weight: 700;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .features-main-title .highlight {
        color: var(--primary-color);
    }

    .title-icon {
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
        border-radius: 50%;
        padding: 10px;
    }

    .title-icon svg {
        width: 30px;
        height: 30px;
        color: #f59e0b;
    }

    .features-subtitle {
        font-size: 1.05rem;
        color: var(--text-light);
        max-width: 700px;
        margin: 0 auto;
        line-height: 1.6;
    }

    /* شبكة بطاقات المميزات */
    .features-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
        position: relative;
        z-index: 1;
    }

    .feature-card {
        background: var(--card-bg);
        padding: 24px;
        border-radius: var(--border-radius);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
        transition: var(--transition);
        border: 1px solid #f1f5f9;
        position: relative;
        display: flex;
        flex-direction: column;
    }

    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        border-color: #e2e8f0;
    }

    .feature-card-header {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-bottom: 15px;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
        border-radius: 12px;
        padding: 10px;
    }

    .feature-icon svg {
        width: 28px;
        height: 28px;
        color: var(--primary-color);
    }

    .feature-card-title {
        font-size: 1.2rem;
        color: var(--text-dark);
        margin: 0;
        font-weight: 700;
    }

    .feature-card-text {
        color: #475569;
        line-height: 1.7;
        margin: 0;
    }

    /* البطاقة المميزة الخاصة */
    .card-highlighted {
        border: 2px solid var(--primary-color);
        background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    }

    .card-highlighted:hover {
        box-shadow: 0 15px 35px rgba(59, 130, 246, 0.2);
    }

    .highlight-badge {
        position: absolute;
        top: 15px;
        left: 15px;
        background: var(--primary-color);
        color: white;
        padding: 6px 15px;
        border-radius: 20px;
        font-size: 0.8rem;
        font-weight: 700;
        letter-spacing: 0.5px;
    }

    /* قسم الاتصال والتحميل النهائي */
    .contact-download-section {
        display: flex;
        flex-direction: column;
        gap: 30px;
        padding: 25px;
        background: var(--card-bg);
        border-radius: var(--border-radius);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
        position: relative;
        z-index: 1;
        border-top: 1px solid #f1f5f9;
    }

    .contact-info {
        text-align: center;
    }

    .contact-title {
        font-size: 1.4rem;
        color: var(--text-dark);
        margin-bottom: 12px;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
        border-radius: 50%;
        padding: 8px;
    }

    .contact-icon svg {
        width: 24px;
        height: 24px;
        color: #db2777;
    }

    .contact-email {
        display: inline-block;
        font-size: 1.2rem;
        color: var(--primary-color);
        font-weight: 700;
        text-decoration: none;
        margin-bottom: 8px;
        transition: color 0.2s;
        word-break: break-word;
    }

    .contact-email:hover {
        color: var(--primary-dark);
        text-decoration: underline;
    }

    .contact-note {
        color: var(--text-light);
        font-size: 0.95rem;
        margin: 5px 0 0 0;
    }

    .final-download-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
        color: white;
        padding: 20px;
        border-radius: var(--border-radius);
        text-decoration: none;
        font-weight: 800;
        font-size: 1.2rem;
        text-align: center;
        transition: var(--transition);
        box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
    }

    .final-download-btn:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4);
    }

    .btn-icon {
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 10px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        padding: 10px;
    }

    .btn-icon svg {
        width: 28px;
        height: 28px;
        color: white;
    }

    .btn-subtext {
        font-size: 0.9rem;
        font-weight: 500;
        opacity: 0.9;
        margin-top: 5px;
    }

    /* ===== التصميم المتجاوب ===== */
    @media (min-width: 576px) {
        .app-features-container {
            padding: 25px;
            margin: 25px auto;
        }

        .app-main-title {
            font-size: 2.2rem;
        }

        .features-grid {
            grid-template-columns: repeat(2, 1fr);
        }

        .download-cta {
            flex-direction: row;
            justify-content: center;
        }
    }

    @media (min-width: 768px) {
        .app-features-header {
            flex-direction: row;
            justify-content: space-between;
            align-items: center;
        }

        .app-title-section {
            text-align: right;
        }

        .app-subtitle {
            margin: 0;
        }

        .download-cta {
            margin: 0;
            max-width: 350px;
        }

        .contact-download-section {
            flex-direction: row;
            justify-content: space-between;
            align-items: center;
            text-align: right;
        }

        .contact-info {
            text-align: right;
        }

        .contact-title {
            justify-content: flex-end;
        }

        .features-grid {
            grid-template-columns: repeat(3, 1fr);
            gap: 25px;
        }

        .app-description {
            text-align: right;
        }
    }

    @media (min-width: 992px) {
        .app-features-container {
            padding: 30px;
            margin: 40px auto;
        }

        .app-main-title {
            font-size: 2.5rem;
        }

        .features-main-title {
            font-size: 2rem;
            flex-direction: row;
            justify-content: center;
        }

        .features-grid {
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        }
    }

    @media (min-width: 1200px) {
        .features-grid {
            grid-template-columns: repeat(3, 1fr);
        }
    }



    /* أنماط الأيقونات */
    .icon {
        display: inline-block;
        width: 24px;
        height: 24px;
        stroke-width: 2;
        stroke: currentColor;
        fill: none;
        stroke-linecap: round;
        stroke-linejoin: round;
    }