* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #0A0A0A;
    color: #FFFFFF;
    overflow-x: hidden;
}

/* تأثير النيون */
.neon-text {
    color: #fff;
    text-shadow: 0 0 10px #0066FF, 0 0 20px #0066FF, 0 0 30px #0066FF;
}

/* خلفية الجزيئات */
.bg-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.3;
    background: radial-gradient(circle at 20% 30%, #1A1A1A 0%, transparent 30%),
                radial-gradient(circle at 80% 70%, #1A1A1A 0%, transparent 30%),
                radial-gradient(circle at 40% 80%, #0066FF10 0%, transparent 40%),
                radial-gradient(circle at 70% 20%, #8A2BE210 0%, transparent 40%);
    animation: particleMove 20s ease-in-out infinite alternate;
}

@keyframes particleMove {
    0% { transform: scale(1) rotate(0deg); }
    100% { transform: scale(1.1) rotate(2deg); }
}

/* الهيرو */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.7) 50%, rgba(10,10,10,0.9) 100%);
    z-index: 1;
}

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

/* الأزرار */
.btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    letter-spacing: 0.5px;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: right 0.6s;
    z-index: -1;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1e40af, #2563eb);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.5), 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.btn-primary:hover::before {
    right: 100%;
}

.btn-secondary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-weight: 600;
    color: white;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    letter-spacing: 0.5px;
    z-index: 1;
}

.btn-secondary:hover {
    border-color: #2563eb;
    color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.2);
}

/* بطاقات الخدمات */
.service-card {
    background-color: #1A1A1A;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid #1f2937;
    transition: all 0.5s;
    text-align: right;
}

.service-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 0 30px rgba(0, 102, 255, 0.3);
    transform: translateY(-0.5rem);
}

/* بطاقات الأسعار */
.pricing-card {
    background-color: #1A1A1A;
    border-radius: 1rem;
    border: 1px solid #1f2937;
    overflow: hidden;
    transition: all 0.5s;
    position: relative;
    text-align: right;
}

.pricing-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(0, 102, 255, 0.4);
    border-color: #3b82f6;
}

.pricing-card.popular::before {
    content: attr(data-popular-text);
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background: linear-gradient(to left, #2563eb, #9333ea);
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    z-index: 10;
}

.pricing-header {
    padding: 2rem;
    border-bottom: 1px solid #1f2937;
    background: linear-gradient(135deg, #1A1A1A 0%, #111 100%);
}

.price-tag {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #fff 0%, #0066FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-item {
    display: flex;
    align-items: center;
    color: #d1d5db;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.feature-icon {
    color: #3b82f6;
    margin-right: 0.5rem;
    font-size: 0.875rem;
}

/* تأثيرات */
.glow-effect {
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #0066FF; }
    to { text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #0066FF; }
}

.animated-line {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #0066FF, #8A2BE2, transparent);
    margin: 20px auto;
    animation: lineMove 3s linear infinite;
}

@keyframes lineMove {
    0% { transform: translateX(100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(-100%); opacity: 0; }
}

/* هامبورجر */
.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 100;
}

.hamburger-menu span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: #1A1A1A;
    z-index: 90;
    padding: 100px 2rem 2rem;
    transition: right 0.3s ease;
    border-left: 1px solid #333;
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav a {
    display: block;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 1rem 0;
    border-bottom: 1px solid #333;
    transition: color 0.3s;
}

.mobile-nav a:hover {
    color: #2563eb;
}

/* Navbar ثابت */
.fixed-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #333;
}

section {
    scroll-margin-top: 80px;
}

/* Responsive */
@media (max-width: 768px) {
    .desktop-nav {
        display: none !important;
    }
    .hamburger-menu {
        display: flex;
    }
}