/* ============================================ */
/* فوبــلاكس - الأنماط المخصصة */
/* ============================================ */

/* الخطوط */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800;900&family=JetBrains+Mono:wght@400;600;700&display=swap');

/* CSS Variables */
:root {
    --foblax-900: #0A0A0F;
    --foblax-800: #0F0F1A;
    --foblax-700: #1A1A2E;
    --foblax-orange: #F86624;
    --foblax-blue: #3B82F6;
    --foblax-green: #10B981;
    --foblax-purple: #8B5CF6;
    --text-primary: #FFFFFF;
    --text-secondary: #A1A1AA;
    --text-muted: #71717A;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Body */
body {
    background: var(--foblax-900);
    font-family: 'Cairo', sans-serif;
    overflow-x: hidden;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #F86624 0%, #FF6B35 50%, #FFD93D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-blue {
    background: linear-gradient(135deg, #3B82F6 0%, #6366F1 50%, #8B5CF6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-green {
    background: linear-gradient(135deg, #10B981 0%, #34D399 50%, #6EE7B7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Gradient Borders */
.gradient-border {
    position: relative;
    border: 1px solid transparent;
    background-clip: padding-box;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, #F86624, #3B82F6, #8B5CF6);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

/* Glass Effect */
.glass {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-hover:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}
.text-center {
    text-align: center !important;
}
.w-55{
    width: 50%;
}
.w-20.h-20.bg-white\/\[0\.03\].border.border-white\/\[0\.1\].rounded-3xl.flex.items-center.justify-center.backdrop-blur-sm {
    border-radius: 90% !important;
    width: 113px !important;
    padding: 10px !important;
    height: 113px !important;
}
.main-color{
    color: #ea580c !important;
}
/* Glow Effects */
.glow-orange {
    box-shadow: 0 0 60px rgba(248, 102, 36, 0.15), 0 0 120px rgba(248, 102, 36, 0.05);
}

.glow-blue {
    box-shadow: 0 0 60px rgba(59, 130, 246, 0.15), 0 0 120px rgba(59, 130, 246, 0.05);
}

.glow-purple {
    box-shadow: 0 0 60px rgba(139, 92, 246, 0.15), 0 0 120px rgba(139, 92, 246, 0.05);
}

/* Navbar Transitions */
#mainNav {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#mainNav.scrolled {
    background: rgba(15, 15, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Nav Link Hover Effect */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, #F86624, #FFD93D);
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* Feature Cards */
.feature-card {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(248, 102, 36, 0.2);
    box-shadow: 0 20px 60px rgba(248, 102, 36, 0.08);
}

/* Code Block */
.code-block {
    background: rgba(15, 15, 26, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Terminal Typing Animation */
.terminal-line::before {
    content: '>';
    color: #F86624;
    margin-right: 8px;
    font-weight: 700;
}

/* Floating Particles */
.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: float 20s infinite ease-in-out;
}

.particle:nth-child(2) {
    animation-delay: -7s;
}

.particle:nth-child(3) {
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(80px, -60px) scale(1.15); }
    50% { transform: translate(-40px, 40px) scale(0.9); }
    75% { transform: translate(-60px, -40px) scale(1.05); }
}

/* Animations */
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-slow {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

.animate-slide-left {
    animation: slideInLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-pulse-slow {
    animation: pulse-slow 3s infinite ease-in-out;
}

/* Grid Background */
.grid-bg {
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* Dot Pattern */
.dot-pattern {
    background-image: radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* Hero Glow */
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.25;
    pointer-events: none;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--foblax-900);
}

::-webkit-scrollbar-thumb {
    background: var(--foblax-700);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #F86624;
}

/* Selection */
::selection {
    background: rgba(248, 102, 36, 0.3);
    color: white;
}

/* Loading Skeleton */
.skeleton {
    background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.06) 50%, rgba(255,255,255,0.03) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Focus Styles */
input:focus, textarea:focus, select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(248, 102, 36, 0.15);
}

/* Responsive helpers */
@media (max-width: 1024px) {
    .hide-mobile {
        display: none;
    }
}

@media (min-width: 1025px) {
    .show-mobile {
        display: none;
    }
}

html[dir="ltr"] * {
    /* display: none; */
    /* display: flex; */
    direction: ltr;
    text-align: start;
}

html[dir="ltr"] aside {
    left: 0 !important;
    right: unset !important;
}
html[dir="ltr"] main {
    margin-left: 260px !important;
    margin-right: unset !important;
}