/* 
    H2M Premium Design System
    Focus: Glassmorphism, Modern Gradients, & Visual Excellence
*/

:root {
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --secondary-gradient: linear-gradient(135deg, #3b82f6 0%, #2dd4bf 100%);
    --dark-glass: rgba(15, 23, 42, 0.8);
    --light-glass: rgba(255, 255, 255, 0.12);
    --glass-border: rgba(255, 255, 255, 0.15);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-light-muted: #e2e8f0;
    --premium-gold: #fbbf24;
}

.text-light-muted {
    color: var(--text-light-muted);
}

.bg-dark-glass {
    background: rgba(2, 6, 23, 0.5);
    backdrop-filter: blur(10px);
}

.text-shadow {
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.desc-premium {
    color: var(--text-light-muted) !important;
    font-size: 0.95rem;
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

body {
    background-color: #0f172a;
    color: var(--text-main);
    font-family: 'Cairo', sans-serif;
    overflow-x: hidden;
}

/* Glassmorphism Navbar */
.navbar-premium {
    background: rgba(15, 23, 42, 0.7) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Premium Hero Section */
.hero-premium {
    position: relative;
    padding: 120px 0;
    background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.15), transparent),
                radial-gradient(circle at bottom left, rgba(168, 85, 247, 0.15), transparent);
    overflow: hidden;
}

.hero-title {
    font-weight: 800;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero-image-container {
    position: relative;
    padding: 10px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    border-radius: 30px;
    box-shadow: inset 0 0 50px rgba(15, 23, 42, 0.8);
    transition: all 0.5s ease;
}

.hero-image-container img {
    mask-image: linear-gradient(to bottom, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 90%, transparent 100%);
}

.hero-glow {
    filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.2));
}

/* Glass Cards */
.glass-card {
    background: var(--light-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Premium Buttons */
.btn-premium {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-premium:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
    color: white;
}

.btn-outline-premium {
    background: transparent;
    color: white;
    border: 1px solid var(--glass-border);
    padding: 12px 30px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.btn-outline-premium:hover {
    background: var(--light-glass);
    border-color: white;
}

/* Float WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
}

/* Section Headings */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-weight: 700;
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 50%;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

/* Category Badges */
.badge-premium {
    background: var(--secondary-gradient);
    padding: 6px 15px;
    border-radius: 10px;
    font-weight: 600;
}

/* Stats Counter */
.stat-item {
    text-align: center;
    padding: 30px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Custom Footer */
.footer-premium {
    background: #020617;
    border-top: 1px solid var(--glass-border);
    padding: 60px 0 30px;
}

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