/* Navigation System */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-5) 0; /* تم التعديل هنا */
    background: rgba(13, 13, 13, 0.7);
    backdrop-filter: var(--blur-xl) saturate(180%);
    border-bottom: 1px solid var(--border-secondary);
    transition: all 0.3s var(--ease-out-expo);
}

.navbar.scrolled {
    padding: var(--space-3) 0; /* تم التعديل هنا */
    background: rgba(13, 13, 13, 0.8);
    backdrop-filter: var(--blur-2xl) saturate(180%);
    border-bottom-color: var(--border-primary);
    box-shadow: var(--shadow-xl);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.4rem; /* تم التعديل هنا */
    color: #1FDCF9;
    text-decoration: none;
    padding-right: 0;
    margin-right: 2rem;
    transition: all 0.3s var(--ease-out-expo);
}

.logo:hover {
    /* transform: translateY(-1px); تم إزالة هذه الخاصية لمنع الحركة */
    color: var(--color-primary);
}

.logo i {
    transition: all 0.3s var(--ease-out-expo);
}

.logo:hover i {
    /* transform: rotate(15deg); تم إزالة هذه الخاصية */
    color: var(--color-primary);
}
.nav-links {
    display: flex;
    list-style: none;
    gap: var(--space-8);
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-md);
    transition: all 0.3s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.nav-links a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--bg-surface);
    opacity: 0;
    transition: opacity 0.3s var(--ease-out-expo);
}

.nav-links a:hover::before {
    opacity: 1;
}

.nav-links a:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
}

.nav-cta {
    background: var(--gradient-primary) !important;
    color: var(--bg-primary) !important;
    padding: var(--space-3) var(--space-6) !important;
    border-radius: var(--radius-full);
    font-weight: 600;
    box-shadow: var(--shadow-glow-primary);
    border: none;
}

.nav-cta::before {
    background: rgba(255, 255, 255, 0.1) !important;
}

.nav-cta:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-primary), var(--shadow-xl);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: var(--space-2);
}

.mobile-menu span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: var(--radius-full);
    transition: all 0.3s var(--ease-out-expo);
}

/* Button System */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-8);
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
    outline: none;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    opacity: 0;
    transition: opacity 0.3s var(--ease-out-expo);
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-primary);
    box-shadow: var(--shadow-glow-primary);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow-primary), var(--shadow-2xl);
}

.btn-secondary {
    background: var(--bg-glass);
    backdrop-filter: var(--blur-md) saturate(180%);
    border: 1px solid var(--border-primary);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--bg-glass-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

/* Upload Zone */
.upload-zone {
    background: var(--bg-glass);
    backdrop-filter: var(--blur-lg) saturate(180%);
    border: 2px dashed var(--border-primary);
    border-radius: var(--radius-2xl);
    padding: var(--space-12) var(--space-6);
    width: 100%;
    max-width: 500px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s var(--ease-out-expo) 0.8s both;
}

.upload-zone::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-primary);
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s var(--ease-out-expo);
    z-index: -1;
}

.upload-zone::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--bg-glass);
    backdrop-filter: var(--blur-lg) saturate(180%);
    border-radius: calc(var(--radius-2xl) - 2px);
    z-index: -1;
}

.upload-zone:hover {
    transform: translateY(-8px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow-primary), var(--shadow-2xl);
}

.upload-zone:hover::before {
    opacity: 1;
}

.upload-icon {
    font-size: 4rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-6);
    animation: float 3s ease-in-out infinite;
}

.upload-zone h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-2);
    color: var(--text-primary);
}

.upload-zone p {
    color: var(--text-tertiary);
    font-size: 1.1rem;
    margin-bottom: var(--space-4);
}

.supported-formats {
    display: flex;
    gap: var(--space-2);
    justify-content: center;
    flex-wrap: wrap;
}

.format-tag {
    background: var(--bg-surface);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    color: var(--text-quaternary);
    border: 1px solid var(--border-secondary);
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: var(--bg-glass);
    backdrop-filter: var(--blur-md) saturate(180%);
    border: 1px solid var(--border-primary);
    padding: var(--space-2) var(--space-6);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
    transition: all 0.3s var(--ease-out-expo);
    animation: fadeInUp 0.8s var(--ease-out-expo);
}

.hero-badge:hover {
    background: var(--bg-glass-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--color-success);
    border-radius: var(--radius-full);
    animation: pulse 2s infinite;
}

.gradient-text {
    background: var(--gradient-primary) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* Loading Animation */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-secondary);
    border-top: 3px solid var(--color-primary);
    border-radius: var(--radius-full);
    animation: spin 1s linear infinite;
}

/* Advanced Interactions */
.ripple-effect {
    position: absolute;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple 0.6s linear;
}

/* تم إزالة القواعد التي تسبب الانحراف */
/*
.navbar .logo {
    transform: translateX(-70px); 
}

.navbar .logo i {
    margin-left: 0.2rem;
}
*/

.upload-button {
    all: unset; /* يلغى أي ستايل قديم */
}
