/* My Home Balance Page Specific Styles */

.hero-section {
    background: linear-gradient(135deg, #EB5353 0%, #F9D923 50%, #187498 100%);
    color: white;
    padding: 40px 0; /* تقليل الارتفاع */
    margin-bottom: 40px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.app-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.app-subtitle {
    font-size: 1.6rem;
    opacity: 1;
    font-weight: 400;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
    margin-top: 0.5rem;
}

.section-title {
    color: #2c3e50;
    border-bottom: 3px solid #667eea;
    padding-bottom: 10px;
    margin-bottom: 2rem;
    font-weight: 600;
}

.feature-card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-radius: 15px;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.how-to-card {
    border-left: 4px solid #667eea;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.how-to-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateX(5px);
}

.pricing-card {
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: scale(1.05);
}

.pricing-free {
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
    color: white;
}

.pricing-monthly {
    background: linear-gradient(135deg, #fd79a8 0%, #e84393 100%);
    color: white;
}

.pricing-yearly {
    background: linear-gradient(135deg, #fdcb6e 0%, #e17055 100%);
    color: white;
    position: relative;
}

.savings-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #00b894;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.video-placeholder {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    margin: 20px 0;
}

.cta-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    margin: 3rem 0;
}

.contact-section {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
}

.final-message {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    margin: 2rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .app-title {
        font-size: 2.5rem;
    }
    
    .app-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .pricing-card {
        margin-bottom: 1rem;
    }
    
    .feature-card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .app-title {
        font-size: 2rem;
    }
    
    .hero-section {
        padding: 40px 0;
        margin-bottom: 20px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}

/* RTL Support */
[dir="rtl"] .how-to-card:hover {
    transform: translateX(-5px);
}

[dir="rtl"] .how-to-card {
    border-left: none;
    border-right: 4px solid #667eea;
}

/* Final Message Section */
.final-message {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
}

.final-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.final-message p {
    position: relative;
    z-index: 2;
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
}
