/* ====================================
   Home Page Styles - أنماط الصفحة الرئيسية
   For non-authenticated users only
   ==================================== */

/* ====================================
   Hero Section - قسم البطل الرئيسي
   ==================================== */

.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.hero-icon {
    font-size: 5rem;
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
    animation: fadeInUp 1.2s ease;
}

.hero-description {
    margin-bottom: 3rem;
    opacity: 0.9;
    line-height: 1.6;
    animation: fadeInUp 1.4s ease;
}

.hero-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.15);
    padding: 1rem 1.5rem;
    border-radius: 25px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-item:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.feature-item i {
    margin-left: 0.5rem;
    font-size: 1.2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-actions .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-actions .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.certificate-preview {
    font-size: 15rem;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

/* ====================================
   Features Section - قسم الميزات
   ==================================== */

.features-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.15);
    border-color: #667eea;
}

.feature-card .feature-icon {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    color: #764ba2;
}

.feature-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* ====================================
   Pricing Section - قسم التسعيرات
   ==================================== */

.pricing-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    position: relative;
    overflow: hidden;
}

.pricing-table {
    background: rgba(255,255,255,0.15);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.pricing-header {
    padding: 2rem;
    text-align: center;
    background: rgba(255,255,255,0.1);
}

.pricing-header h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.pricing-body {
    padding: 1rem;
}

.pricing-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.pricing-item:hover {
    transform: translateX(-10px);
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.3);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.pricing-item.featured {
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.3);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.popular-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255,107,107,0.4);
}

.pricing-range {
    font-size: 1.2rem;
    font-weight: 600;
}

.pricing-price {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.original-price {
    text-decoration: line-through;
    opacity: 0.7;
    font-size: 1rem;
}

.final-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4ecdc4;
}

.discount {
    background: #4ecdc4;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(78,205,196,0.4);
}

/* ====================================
   Animations
   ==================================== */

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ====================================
   Responsive Design
   ==================================== */

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
    }

    .certificate-preview {
        font-size: 8rem;
    }

    .pricing-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .pricing-price {
        flex-direction: column;
        gap: 0.5rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-icon {
        font-size: 3rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }
}
