/* Landing Page Styles */
:root {
    --bg-color: #18191a;
    --card-bg: #242526;
    --text-color: #e4e6eb;
    --secondary-text: #b0b3b8;
    --accent-color: #2563eb;
    --accent-hover: #1d4ed8;
    --border-color: #3a3b3c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    direction: rtl;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Header */
.landing-header {
    background: #242526;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 12px;
    /* حواف مستديرة */
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.auth-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 8px 16px;
    /* تصغير الحجم */
    border-radius: 6px;
    /* تصغير التدوير قليلاً ليناسب الحجم الجديد */
    text-decoration: none;
    font-weight: 500;
    /* تقليل السمك قليلاً */
    transition: all 0.3s ease;
    font-size: 0.9rem;
    /* تصغير الخط */
}

.btn-primary {
    background: var(--accent-color);
    color: white;
    border: none;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #e4e6eb;
}

/* Main Content */
.main-content {
    padding: 40px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Swiper Section */
.hero-swiper-container {
    width: 100%;
    margin-bottom: 50px;
    padding: 20px 0;
}

.swiper {
    width: 100%;
    padding-bottom: 50px;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 300px;
    /* Base width */
    height: auto;
    border-radius: 15px;
    overflow: hidden;
    /* Aspect Ratio 9:16 approx for mobile view cards */
    aspect-ratio: 9/16;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s;
    background: var(--card-bg);
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Video Section */
.video-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.video-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.video-card h3 {
    margin-bottom: 15px;
    text-align: center;
    color: var(--secondary-text);
}

/* Plyr Customization for Dark Theme */
.plyr {
    border-radius: 10px;
    overflow: hidden;
    --plyr-color-main: var(--accent-color);
}

/* Responsive */
@media (max-width: 768px) {
    .landing-header {
        padding: 15px;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .btn {
        padding: 6px 12px;
        font-size: 0.8rem;
        border-radius: 5px;
    }

    .auth-buttons {
        gap: 8px;
    }

    .swiper-slide {
        width: 70%;
        /* Show partial next slides */
    }
}