/**
 * Homepage Premium Styles - Al-Jawhara Platform
 * تصميم متقدم يعكس الذكاء والابتكار
 */

/* ========================================
   1. CSS Variables - المتغيرات
   ======================================== */
:root {
    /* Dark Theme Colors */
    --bg-dark: #0a0a1a;
    --bg-darker: #050510;
    --bg-gradient: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    --bg-hero: linear-gradient(180deg, #0a0a1a 0%, #1a1a3e 50%, #0f0c29 100%);

    /* Neon Accent Colors */
    --neon-blue: #00d4ff;
    --neon-purple: #a855f7;
    --neon-pink: #ec4899;
    --neon-green: #10b981;
    --neon-orange: #f59e0b;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-bg-hover: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-border-hover: rgba(255, 255, 255, 0.2);

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --text-muted: #64748b;

    /* Shadows & Glows */
    --glow-blue: 0 0 40px rgba(0, 212, 255, 0.3);
    --glow-purple: 0 0 40px rgba(168, 85, 247, 0.3);
    --glow-pink: 0 0 40px rgba(236, 72, 153, 0.3);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.5);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ========================================
   2. Base Styles - الأساسيات
   ======================================== */

/* Fix white space and scrollbar issue - إصلاح المساحة البيضاء وشريط التمرير */
html {
    background: #0a0a1a !important;
    overflow-x: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 212, 255, 0.3) transparent;
}

body {
    background: #0a0a1a !important;
    overflow-x: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Custom Scrollbar for WebKit browsers */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 212, 255, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 212, 255, 0.5);
}

.homepage-premium {
    background: var(--bg-dark);
    min-height: 100vh;
    width: 100%;
    position: relative;
    /* Scrolling handled by body only */
}

.homepage-premium * {
    box-sizing: border-box;
}

/* RTL Text Alignment Fix - إصلاح المحاذاة للغة العربية */
.homepage-premium,
.homepage-premium h1,
.homepage-premium h2,
.homepage-premium h3,
.homepage-premium h4,
.homepage-premium p {
    text-align: center;
}

.homepage-premium .glass-card,
.homepage-premium .stat-card-premium,
.homepage-premium .features-grid-premium>*,
.homepage-premium .stats-grid-premium>* {
    text-align: center;
}

.homepage-premium .section-header-premium,
.homepage-premium .section-title-premium,
.homepage-premium .section-subtitle-premium,
.homepage-premium .cta-title-premium,
.homepage-premium .hero-title-premium,
.homepage-premium .hero-subtitle-premium,
.homepage-premium .glass-card-title,
.homepage-premium .glass-card-description,
.homepage-premium .stat-number-premium,
.homepage-premium .stat-label-premium {
    text-align: center !important;
}

/* Icon Centering Fix - توسيط الأيقونات */
.homepage-premium .glass-card-icon,
.homepage-premium .stat-icon-premium,
.homepage-premium .glass-card>div[style*="background"],
.homepage-premium .stat-card-premium>div {
    margin-left: auto !important;
    margin-right: auto !important;
}

.homepage-premium .glass-card,
.homepage-premium .stat-card-premium {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.homepage-premium .features-grid-premium .glass-card,
.homepage-premium .stats-grid-premium .stat-card-premium {
    justify-content: flex-start;
    align-items: center;
}

/* Ensure all inline icon divs are centered */
.homepage-premium [style*="margin: 0 auto"] {
    margin-left: auto !important;
    margin-right: auto !important;
}



/* ========================================
   3. Neural Background - خلفية الشبكة العصبية
   ======================================== */
.neural-canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.6;
    pointer-events: none;
}

#neural-canvas {
    width: 100%;
    height: 100%;
}

/* Animated Gradient Orbs */
.gradient-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    animation: float-orb 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.gradient-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
    top: -150px;
    right: 0;
    animation-delay: 0s;
}

.gradient-orb-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, transparent 70%);
    bottom: -200px;
    left: 0;
    animation-delay: -10s;
}

.gradient-orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.1) 0%, transparent 70%);
    top: 40%;
    left: 30%;
    animation-delay: -5s;
}

@keyframes float-orb {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(50px, -30px) scale(1.05);
    }

    50% {
        transform: translate(-30px, 50px) scale(0.95);
    }

    75% {
        transform: translate(-50px, -20px) scale(1.02);
    }
}

/* ========================================
   4. Hero Section - قسم البطل
   ======================================== */
.hero-premium {
    overflow: hidden !important;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 80px;
    z-index: 1;
}

.hero-premium-content {
    max-width: 900px;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Animated Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--neon-blue);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    animation: pulse-glow 3s ease-in-out infinite;
}

.hero-badge i {
    animation: spin-slow 4s linear infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
    }

    50% {
        box-shadow: 0 0 40px rgba(0, 212, 255, 0.4);
    }
}

@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Hero Title */
.hero-title-premium {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.35;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero-title-premium .gradient-text-premium {
    background: linear-gradient(135deg, var(--neon-blue) 0%, var(--neon-purple) 50%, var(--neon-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: gradient-shift 5s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Hero Subtitle */
.hero-subtitle-premium {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

/* Smart Search Box */
.smart-search {
    position: relative;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.smart-search-input {
    width: 100%;
    padding: 20px 60px 20px 25px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    color: var(--text-primary);
    font-size: 1.1rem;
    backdrop-filter: blur(20px);
    transition: var(--transition-smooth);
    outline: none;
}

.smart-search-input::placeholder {
    color: var(--text-muted);
}

.smart-search-input:focus {
    border-color: var(--neon-blue);
    box-shadow: var(--glow-blue);
}

.smart-search-btn {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    border: none;
    border-radius: 14px;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.smart-search-btn:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: var(--glow-blue);
}

/* ========================================
   New CTA Sections - Client vs Provider
   ======================================== */
.hero-cta-sections {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: stretch;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.cta-section {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem;
    text-align: center;
    flex: 1;
    max-width: 380px;
    min-width: 300px;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.cta-section:hover {
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-5px);
}

.cta-section-client {
    border-color: rgba(0, 212, 255, 0.2);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(168, 85, 247, 0.05) 100%);
}

.cta-section-provider {
    border-color: rgba(168, 85, 247, 0.2);
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.05) 0%, rgba(236, 72, 153, 0.05) 100%);
}

.cta-section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.cta-section-header i {
    font-size: 1.5rem;
    color: var(--neon-blue);
}

.cta-section-provider .cta-section-header i {
    color: var(--neon-purple);
}

.cta-section-header h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
}

.cta-section-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Gradient Button for Client */
.btn-neon-gradient {
    background: linear-gradient(135deg, var(--neon-blue) 0%, var(--neon-purple) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.btn-neon-gradient:hover {
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
    transform: translateY(-3px);
}

/* Client Features */
.cta-features {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}

.cta-features span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.cta-features i {
    color: var(--neon-green);
    font-size: 0.7rem;
}

/* Provider Options */
.provider-options {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.provider-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: 16px;
    text-decoration: none;
    transition: var(--transition-smooth);
    min-width: 100px;
}

.provider-btn:hover {
    border-color: var(--neon-purple);
    background: var(--glass-bg-hover);
    transform: translateY(-3px);
}

.provider-btn i {
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.provider-btn span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Provider Button Mini Icons */
.provider-icons {
    display: flex;
    gap: 8px;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--glass-border);
}

.provider-icons i {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: var(--transition-smooth);
    opacity: 0.7;
}

.provider-btn:hover .provider-icons i {
    color: var(--neon-blue);
    opacity: 1;
}

.provider-btn:hover .provider-icons i:nth-child(2) {
    color: var(--neon-purple);
}

.provider-btn:hover .provider-icons i:nth-child(3) {
    color: var(--neon-pink);
}

.provider-btn:hover .provider-icons i:nth-child(4) {
    color: var(--neon-green);
}

/* CTA Divider */
.cta-divider {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-divider span {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-weight: 700;
}

/* VIP Investor Section - Premium Styling */
.hero-investor-vip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 1.25rem 2.5rem;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.08) 0%, rgba(245, 158, 11, 0.08) 100%);
    border: 2px solid rgba(251, 191, 36, 0.3);
    border-radius: 20px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}

.hero-investor-vip::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.vip-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    padding: 8px 16px;
    border-radius: 25px;
    color: #1a1a2e;
    font-weight: 800;
    font-size: 0.85rem;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
    position: relative;
    z-index: 1;
}

.vip-badge i {
    font-size: 0.9rem;
}

.vip-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.vip-content h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.gold-text {
    background: linear-gradient(135deg, #fbbf24, #f59e0b, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

.vip-content p {
    margin: 0.25rem 0 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.vip-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1a1a2e;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 12px;
    transition: var(--transition-smooth);
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.vip-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.5);
}

.vip-btn i {
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-cta-sections {
        flex-direction: column;
        align-items: center;
    }

    .cta-section {
        max-width: 100%;
        width: 100%;
    }

    .cta-divider {
        padding: 0.5rem 0;
    }

    .provider-options {
        gap: 0.5rem;
    }

    .provider-btn {
        padding: 0.75rem 1rem;
        min-width: 90px;
    }

    .hero-investor-vip {
        flex-direction: column;
        padding: 1rem 1.5rem;
        text-align: center;
        gap: 1rem;
    }

    .vip-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Influencer & Investor Roles Bar */
.hero-roles-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    padding: 1rem 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.hero-roles-bar .role-link {
    color: var(--neon-blue);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(0, 212, 255, 0.1);
    transition: var(--transition-smooth);
}

.hero-roles-bar .role-link:hover {
    background: rgba(0, 212, 255, 0.2);
    transform: translateY(-2px);
}

.hero-roles-bar .role-link i {
    font-size: 0.85rem;
}

.hero-roles-bar .role-divider {
    color: var(--text-muted);
    margin: 0 0.25rem;
}

.hero-roles-bar .role-discover {
    color: var(--neon-purple);
    text-decoration: none;
    font-weight: 600;
    margin-right: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition-smooth);
}

.hero-roles-bar .role-discover:hover {
    color: var(--neon-pink);
}

@media (max-width: 768px) {
    .hero-actions-premium {
        flex-direction: column;
        align-items: center;
    }

    .hero-roles-bar {
        font-size: 0.85rem;
        padding: 0.75rem 1rem;
        border-radius: 20px;
    }

    .cta-tooltip {
        font-size: 0.75rem;
    }
}

/* Premium Buttons */
.btn-neon {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 14px;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
}

.btn-neon-primary {
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    color: white;
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.3);
}

.btn-neon-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.4);
}

.btn-neon-outline {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-neon-outline:hover {
    background: var(--glass-bg-hover);
    border-color: var(--neon-blue);
    transform: translateY(-3px);
}

/* ========================================
   5. Stats Section - قسم الإحصائيات
   ======================================== */
.stats-premium {
    position: relative;
    padding: 5rem 0;
    z-index: 1;
}

.stats-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.stat-card-premium {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(20px);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.stat-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
    opacity: 0;
    transition: var(--transition-smooth);
}

.stat-card-premium:hover {
    transform: translateY(-10px);
    border-color: var(--glass-border-hover);
    box-shadow: var(--glow-blue);
}

.stat-card-premium:hover::before {
    opacity: 1;
}

.stat-icon-premium {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
}

.stat-icon-premium.blue {
    background: linear-gradient(135deg, var(--neon-blue), #0099ff);
}

.stat-icon-premium.purple {
    background: linear-gradient(135deg, var(--neon-purple), #7c3aed);
}

.stat-icon-premium.pink {
    background: linear-gradient(135deg, var(--neon-pink), #db2777);
}

.stat-icon-premium.green {
    background: linear-gradient(135deg, var(--neon-green), #059669);
}

.stat-number-premium {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.stat-label-premium {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* ========================================
   6. Glass Cards - بطاقات الزجاج
   ======================================== */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.glass-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 40%,
            rgba(255, 255, 255, 0.03) 50%,
            transparent 60%);
    transform: rotate(45deg);
    transition: var(--transition-smooth);
    pointer-events: none;
}

.glass-card:hover {
    transform: translateY(-8px);
    border-color: var(--glass-border-hover);
    box-shadow: var(--shadow-lg);
}

.glass-card:hover::after {
    animation: shine 0.6s ease;
}

@keyframes shine {
    from {
        transform: translateX(-100%) rotate(45deg);
    }

    to {
        transform: translateX(100%) rotate(45deg);
    }
}

/* Card Icon */
.glass-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
}

.glass-card-icon::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 18px;
    background: inherit;
    filter: blur(15px);
    opacity: 0.4;
    z-index: -1;
}

/* Card Title & Description */
.glass-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.glass-card-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ========================================
   7. Section Headers - عناوين الأقسام
   ======================================== */
.section-header-premium {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title-premium {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-subtitle-premium {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   8. Feature Grid - شبكة الميزات
   ======================================== */
.features-premium {
    position: relative;
    padding: 6rem 0;
    z-index: 1;
}

.features-grid-premium {
    display: grid;
    /* 4 cards in a row for "Why Al-Jawhara" section */
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Responsive card grid */
@media (max-width: 1024px) {
    .features-grid-premium {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .features-grid-premium {
        grid-template-columns: 1fr;
    }
}

/* Explore Grid - 8 cards section (4 per row) */
.explore-grid {
    grid-template-columns: repeat(4, 1fr) !important;
}

.explore-grid .glass-card {
    padding: 1.5rem;
}

.explore-grid .glass-card-icon {
    width: 55px;
    height: 55px;
    font-size: 1.3rem;
}

@media (max-width: 1024px) {
    .explore-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .explore-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .explore-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .explore-grid .glass-card {
        padding: 1rem;
    }
}


/* ========================================
   9. CTA Section - قسم الدعوة للعمل
   ======================================== */
.cta-premium {
    position: relative;
    padding: 6rem 0;
    text-align: center;
    z-index: 1;
    overflow: hidden;
}

.cta-premium::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
    pointer-events: none;
}

.cta-content-premium {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.cta-title-premium {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

/* ========================================
   10. Responsive Design - التصميم المتجاوب
   ======================================== */
@media (max-width: 768px) {
    .hero-title-premium {
        font-size: 2rem;
    }

    .hero-subtitle-premium {
        font-size: 1rem;
    }

    .smart-search-input {
        padding: 16px 50px 16px 20px;
        font-size: 1rem;
    }

    .smart-search-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .btn-neon {
        padding: 14px 24px;
        font-size: 0.9rem;
    }

    .stat-number-premium {
        font-size: 2rem;
    }

    .section-title-premium {
        font-size: 1.75rem;
    }
}

/* ========================================
   11. Animations - الحركات
   ======================================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stagger-1 {
    animation-delay: 0.1s;
}

.stagger-2 {
    animation-delay: 0.2s;
}

.stagger-3 {
    animation-delay: 0.3s;
}

.stagger-4 {
    animation-delay: 0.4s;
}

.stagger-5 {
    animation-delay: 0.5s;
}