/* 
 * Landing Page Modern Styles
 * High-end, premium aesthetic focusing on glassmorphism, micro-animations, and vibrant, non-modified brand colors.
 */

/* Import Google Font (Cairo) for a modern Arabic typography */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800;900&display=swap');

:root {
    --brand-primary: #ff6a22;
    --brand-primary-dark: #ed4d18;
    --brand-gradient: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
    
    --surface-light: #ffffff;
    --surface-muted: #fffaf7;
    --text-main: #20242a;
    --text-muted: #5a616b;
    
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body.landing-page {
    font-family: 'Cairo', sans-serif;
    background-color: var(--surface-muted);
    color: var(--text-main);
    overflow-x: hidden;
}

/* Animations */
@keyframes fadeInUpModern {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatElement {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(255, 106, 34, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(255, 106, 34, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 106, 34, 0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

.animate-fadeInUpModern {
    animation: fadeInUpModern 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* Navbar Overrides for Modern Landing */
.main-navbar {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--glass-shadow);
    transition: var(--transition-smooth);
}
.brand-word {
    font-weight: 900;
    font-family: 'Cairo', sans-serif;
}

/* Modern Hero Section */
.hero-section-modern {
    position: relative;
    padding: 7rem 0 6rem;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero-bg-modern {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 10% 20%, rgba(255, 106, 34, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(237, 77, 24, 0.08) 0%, transparent 40%);
    z-index: 0;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
    opacity: 0.6;
}

.hero-shape-1 {
    width: 300px; height: 300px;
    background: var(--brand-primary);
    top: -50px; right: -100px;
    animation: floatElement 10s infinite ease-in-out;
}

.hero-shape-2 {
    width: 400px; height: 400px;
    background: #ffccb3;
    bottom: -100px; left: -150px;
    animation: floatElement 12s infinite ease-in-out reverse;
}

.hero-section-modern .container {
    position: relative;
    z-index: 2;
}

.hero-badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255, 106, 34, 0.1);
    border: 1px solid rgba(255, 106, 34, 0.2);
    border-radius: 50px;
    color: var(--brand-primary-dark);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.hero-badge-modern span {
    width: 8px; height: 8px;
    background: var(--brand-primary);
    border-radius: 50%;
    display: inline-block;
    animation: pulseGlow 2s infinite;
}

.hero-title-modern {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.2;
    color: var(--text-main);
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-title-modern .highlight {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-desc-modern {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 32px;
    max-width: 90%;
}

.hero-buttons-modern {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn-modern-primary {
    background: var(--brand-gradient);
    color: white !important;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 20px -5px rgba(255, 106, 34, 0.4);
    transition: var(--transition-smooth);
    border: none;
    text-decoration: none;
}

.btn-modern-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 25px -5px rgba(255, 106, 34, 0.5);
    color: white !important;
}

.btn-modern-secondary {
    background: var(--surface-light);
    color: var(--text-main);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: var(--transition-smooth);
    text-decoration: none;
}

.btn-modern-secondary:hover {
    background: var(--surface-muted);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
    color: var(--brand-primary);
}

.hero-trust-row-modern {
    display: flex;
    gap: 24px;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
}

.hero-trust-row-modern span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-trust-row-modern i {
    color: var(--brand-primary);
    font-size: 1.1rem;
}

/* Glassmorphic Window */
.hero-window-modern {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08), inset 0 0 0 1px rgba(255,255,255,0.5);
    overflow: hidden;
    position: relative;
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: var(--transition-smooth);
}

.hero-window-modern:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
    box-shadow: 0 30px 60px rgba(255, 106, 34, 0.15), inset 0 0 0 1px rgba(255,255,255,0.8);
}

.hero-window-top {
    background: rgba(255,255,255,0.9);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.hero-window-dots {
    display: flex;
    gap: 8px;
}

.hero-window-dots span {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: #e0e0e0;
}
.hero-window-dots span:nth-child(1) { background: #ff5f56; }
.hero-window-dots span:nth-child(2) { background: #ffbd2e; }
.hero-window-dots span:nth-child(3) { background: #27c93f; }

.hero-window-url {
    margin: 0 auto;
    background: #f5f7fa;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-window-body {
    padding: 30px;
}

.floating-card-modern {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.8);
    padding: 16px 24px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 10;
    animation: floatElement 4s infinite ease-in-out;
}

.floating-card-1 {
    top: 20%;
    right: -30px;
    animation-delay: 0s;
}

.floating-card-2 {
    bottom: 20%;
    left: -40px;
    animation-delay: 2s;
}

.fc-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: rgba(255, 106, 34, 0.1);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.fc-text strong {
    display: block;
    font-size: 1rem;
    color: var(--text-main);
    font-weight: 800;
}
.fc-text small {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Store Badges Modern */
.stores-section-modern {
    padding: 3rem 0;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.6) 50%, transparent);
    position: relative;
    z-index: 2;
}

.store-badge-modern {
    background: var(--surface-light);
    border: 1px solid rgba(0,0,0,0.05);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    transition: var(--transition-smooth);
}

.store-badge-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.06);
    color: var(--brand-primary);
    border-color: rgba(255, 106, 34, 0.3);
}

.store-badge-modern i {
    font-size: 1.2rem;
    color: var(--text-main);
    transition: var(--transition-smooth);
}
.store-badge-modern:hover i {
    color: var(--brand-primary);
}

/* Steps Section Modern */
.section-title-modern {
    font-size: 2.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 10px;
    color: var(--text-main);
}
.section-subtitle-modern {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 50px;
}

.step-card-modern {
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    height: 100%;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.step-card-modern::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 4px;
    background: var(--brand-gradient);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.step-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    background: var(--surface-light);
}

.step-card-modern:hover::before {
    transform: scaleX(1);
}

.step-icon-modern {
    width: 80px; height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, rgba(255,106,34,0.1), rgba(237,77,24,0.05));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--brand-primary);
    position: relative;
    transition: var(--transition-smooth);
}

.step-card-modern:hover .step-icon-modern {
    background: var(--brand-gradient);
    color: white;
    transform: rotate(10deg);
}

.step-number-modern {
    position: absolute;
    top: 15px; right: 20px;
    font-size: 3rem;
    font-weight: 900;
    color: rgba(0,0,0,0.03);
    line-height: 1;
    transition: var(--transition-smooth);
}

.step-card-modern:hover .step-number-modern {
    color: rgba(255, 106, 34, 0.1);
}

.step-title-modern {
    font-weight: 800;
    font-size: 1.25rem;
    margin-bottom: 12px;
}
.step-desc-modern {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* Features Section Modern */
.features-section-modern {
    padding: 6rem 0;
    background: var(--surface-light);
    position: relative;
}

.feature-glass-card {
    background: var(--surface-muted);
    border-radius: 20px;
    padding: 30px;
    height: 100%;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
}

.feature-glass-card:hover {
    background: var(--surface-light);
    border-color: rgba(255,106,34,0.2);
    box-shadow: 0 15px 35px rgba(255,106,34,0.05);
    transform: translateY(-5px);
}

.feature-icon-modern {
    width: 56px; height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    transition: var(--transition-smooth);
}

.feature-glass-card:hover .feature-icon-modern {
    transform: scale(1.1);
}

/* CTA Modern */
.cta-section-modern {
    padding: 6rem 0;
    background: var(--surface-muted);
}

.cta-card-modern {
    background: var(--brand-gradient);
    border-radius: 30px;
    padding: 4rem 2rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(237,77,24,0.3);
}

.cta-shape {
    position: absolute;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}
.cta-shape-1 { width: 300px; height: 300px; top: -100px; right: -100px; }
.cta-shape-2 { width: 200px; height: 200px; bottom: -50px; left: -50px; }

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

.cta-title-modern {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 16px;
}
.cta-desc-modern {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 32px;
}

.btn-cta-modern {
    background: white;
    color: var(--brand-primary-dark);
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-cta-modern:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    color: var(--brand-primary);
}

@media (max-width: 991px) {
    .hero-title-modern { font-size: 2.2rem; }
    .hero-section-modern { padding: 5rem 0 3rem; min-height: auto; text-align: center; }
    .hero-buttons-modern { justify-content: center; }
    .hero-trust-row-modern { justify-content: center; flex-wrap: wrap; }
    .floating-card-modern { display: none; } /* Hide floating cards on mobile for cleaner view */
}

@media (max-width: 767px) {
    .hero-title-modern { font-size: 1.8rem; }
    .hero-desc-modern { font-size: 1rem; margin-bottom: 24px; max-width: 100%; }
    .hero-badge-modern { font-size: 0.8rem; padding: 4px 12px; }
    
    .btn-modern-primary, .btn-modern-secondary {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .hero-window-body { padding: 20px; }
    .hero-window-body strong { font-size: 1rem !important; }
    .hero-window-body small { font-size: 0.8rem; }
    .hero-window-body span { font-size: 0.75rem !important; }
    
    .section-title-modern { font-size: 1.8rem; }
    .section-subtitle-modern { font-size: 0.95rem; margin-bottom: 30px; }
    
    .step-card-modern { padding: 30px 20px; }
    .step-number-modern { font-size: 2.5rem; top: 10px; right: 15px; }
    .step-icon-modern { width: 60px; height: 60px; font-size: 1.5rem; }
    
    .features-section-modern { padding: 4rem 0; }
    .feature-glass-card { padding: 20px; text-align: center; align-items: center; }
    .feature-glass-card p { text-align: center; }
    
    .cta-section-modern { padding: 4rem 0; }
    .cta-card-modern { padding: 3rem 1.5rem; border-radius: 20px; }
    .cta-title-modern { font-size: 1.8rem; }
    .cta-desc-modern { font-size: 1rem; }
    .btn-cta-modern { width: 100%; justify-content: center; font-size: 1.1rem; padding: 14px 24px; }
}

@media (max-width: 575px) {
    .hero-window-modern { transform: none !important; border-radius: 16px; }
    .hero-window-modern:hover { transform: none !important; }
    
    .hero-trust-row-modern { flex-direction: column; gap: 12px; font-size: 0.9rem; }
    .stores-section-modern { padding: 2rem 0; }
    .store-badge-modern { padding: 8px 16px; font-size: 0.85rem; }
}
