/* 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 */
    }
}

/* =========================================
   Pricing Section - Premium Design
   ========================================= */
.pricing-section {
    margin-top: 60px;
    padding: 40px 0;
}

.pricing-header {
    text-align: center;
    margin-bottom: 50px;
}

.pricing-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-header p {
    font-size: 1.1rem;
    color: var(--secondary-text);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1400px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 30px 25px;
    border: 1px solid var(--border-color);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(102, 126, 234, 0.3);
}

.pricing-card.featured {
    border: 2px solid #667eea;
    background: linear-gradient(180deg, rgba(102, 126, 234, 0.1) 0%, var(--card-bg) 30%);
    transform: scale(1.02);
}

.pricing-card.featured:hover {
    transform: scale(1.02) translateY(-10px);
}

/* Badges */
.best-value-badge,
.expert-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.best-value-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.expert-badge {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

/* Card Header */
.pricing-card .card-header {
    text-align: center;
    margin-bottom: 20px;
    padding-top: 10px;
}

.pricing-card .card-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
}

.pricing-card .card-description {
    font-size: 0.9rem;
    color: var(--secondary-text);
    line-height: 1.5;
}

/* Card Price */
.card-price {
    text-align: center;
    padding: 20px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.card-price .price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-color);
}

.card-price .currency {
    font-size: 1rem;
    color: var(--secondary-text);
    margin-right: 5px;
}

/* Features List */
.features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    flex-grow: 1;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 0.95rem;
    color: var(--secondary-text);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.features-list li:last-child {
    border-bottom: none;
}

.features-list li i {
    width: 20px;
    text-align: center;
    font-size: 0.9rem;
}

.features-list li.included i {
    color: #4ade80;
}

.features-list li.excluded {
    opacity: 0.5;
}

.features-list li.excluded i {
    color: #f87171;
}

.features-list li.limited i {
    color: #fbbf24;
}

.features-list li.highlight {
    color: var(--text-color);
    font-weight: 600;
}

.features-list li.highlight i {
    color: #fbbf24;
}

/* Subscribe Button */
.subscribe-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.subscribe-btn i {
    font-size: 1.2rem;
}

.subscribe-btn.free-btn {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-color);
}

.subscribe-btn.free-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-color);
    transform: translateY(-2px);
}

.subscribe-btn.monthly-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.subscribe-btn.monthly-btn:hover {
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
    transform: translateY(-3px);
}

.subscribe-btn.zoom-btn {
    background: linear-gradient(135deg, #20c997 0%, #0dcaf0 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(32, 201, 151, 0.4);
}

.subscribe-btn.zoom-btn:hover {
    box-shadow: 0 8px 25px rgba(32, 201, 151, 0.5);
    transform: translateY(-3px);
}

.subscribe-btn.points-btn {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(245, 87, 108, 0.4);
}

.subscribe-btn.points-btn:hover {
    box-shadow: 0 8px 25px rgba(245, 87, 108, 0.5);
    transform: translateY(-3px);
}

/* Responsive for Pricing */
@media (max-width: 992px) {
    .pricing-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 600px) {
    .pricing-cards {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }

    .pricing-header h2 {
        font-size: 1.8rem;
    }

    .card-price .price {
        font-size: 2.5rem;
    }
}