
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

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

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #8b5cf6;
    --accent: #ec4899;
    --accent-light: #f472b6;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --dark: #0f172a;
    --dark-2: #1e293b;
    --dark-3: #334155;
    --light: #ffffff;
    --light-2: #f8fafc;
    --light-3: #f1f5f9;
    --text: #1e293b;
    --text-light: #64748b;
    --border: #e2e8f0;
    
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --gradient-card: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 4px 0 rgba(0, 0, 0, 0.06), 0 1px 2px 0 rgba(0, 0, 0, 0.1);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-2xl: 0 35px 60px -12px rgba(0, 0, 0, 0.35);
    --shadow-glow: 0 0 30px rgba(102, 126, 234, 0.4);
    --shadow-glow-pink: 0 0 30px rgba(236, 72, 153, 0.4);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Cairo', 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--text);
    background: var(--light-2);
    direction: rtl;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(102, 126, 234, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(118, 75, 162, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(236, 72, 153, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: backgroundMove 20s ease infinite;
}

@keyframes backgroundMove {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, 20px) scale(1.1); }
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* Navbar - Ultra Modern */
.navbar {
    background: rgba(255, 255, 255, 0.85);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1.5rem 0;
}


.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand a {
    font-size: 1.875rem;
    font-weight: 900;
    -webkit-background-clip: text;
    background-clip: text;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.875rem;
    letter-spacing: -0.5px;
}

.nav-brand a i {
    font-size: 2.25rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 14px;
    font-size: 0.95rem;
}





.theme-toggle {
    background: var(--gradient-1);
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: white;
    padding: 0.75rem;
    border-radius: 14px;
    transition: var(--transition);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: var(--shadow-glow);
}

.mobile-menu-toggle {
    display: none;
    background: var(--gradient-1);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
    padding: 0.75rem;
    border-radius: 14px;
    width: 48px;
    height: 48px;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.mobile-menu-toggle:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

/* Buttons - Stunning Design */
.btn {
    padding: 1rem 2.25rem;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    font-family: 'Cairo', sans-serif;
    letter-spacing: 0.3px;
    box-shadow: var(--shadow-md);
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::after {
    width: 400px;
    height: 400px;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    filter: brightness(1.1);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.btn-danger:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-sm {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
    display: block;
}

.btn-google {
    background: white;
    color: #333;
    border: 2px solid var(--border);
    box-shadow: var(--shadow);
}

.btn-google:hover {
    background: var(--light-2);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Hero - Jaw Dropping */
.hero {
    background: var(--gradient-hero);
    color: white;
    padding: 10rem 0 8rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.2) 0%, transparent 50%);
    animation: rotate 25s linear infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.2) 0%, transparent 50%);
    animation: rotate 30s linear infinite reverse;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2.25rem;
    opacity: 0.95;
    font-weight: 400;
    animation: fadeInUp 1s ease;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Hero extras - trust & stats */
.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(248, 250, 252, 0.25);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.btn.btn-outline {
    background: transparent;
    color: #131314;
    border: 1px solid rgba(100, 102, 105, 0.4);
    box-shadow: none;
}

.btn.btn-outline:hover {
    background: rgba(15, 23, 42, 0.35);
    transform: translateY(-2px);
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.hero-stat {
    min-width: 180px;
    padding: 1rem 1.4rem;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(248, 250, 252, 0.18);
    backdrop-filter: blur(16px);
    text-align: right;
}

.hero-stat-number {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
}

.hero-stat-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.85;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Products Grid - Stunning Cards */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    padding: 4rem 0;
}

.product-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
    cursor: pointer;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transform-origin: right;
    transition: var(--transition);
    z-index: 1;
}

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

.product-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-2xl), var(--shadow-glow);
    border-color: transparent;
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 320px;
    background: var(--gradient-card);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.product-card:hover .product-image img {
    transform: scale(1.2) rotate(2deg);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    padding: 2rem;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-info {
    padding: 2rem;
}

.product-info h3 {
    margin-bottom: 0.875rem;
    color: var(--text);
    font-weight: 800;
    font-size: 1.375rem;
    line-height: 1.3;
}

.product-category {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 0.625rem;
    margin-bottom: 1.5rem;
}

.price {
    font-size: 2rem;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.currency {
    color: var(--text-light);
    font-size: 1.125rem;
    font-weight: 700;
}

/* Features - Eye Catching */
.features {
    padding: 8rem 0;
    background: white;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.feature-item {
    text-align: center;
    padding: 3rem 2.5rem;
    border-radius: 24px;
    background: var(--light-2);
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-item:hover::before {
    transform: scaleX(1);
}

.feature-item:hover {
    transform: translateY(-8px);
    background: white;
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    border-color: var(--primary-light);
}

.feature-item i {
    font-size: 4rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    display: inline-block;
    transition: var(--transition);
}

.feature-item:hover i {
    transform: scale(1.2) rotate(10deg);
    filter: brightness(1.2);
}

.feature-item h3 {
    margin-bottom: 1.25rem;
    font-weight: 800;
    font-size: 1.625rem;
    color: var(--text);
}

.feature-item p {
    color: var(--text-light);
    font-size: 1.0625rem;
    line-height: 1.8;
}

/* Footer - Modern */

.footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 5rem 0 2.5rem;
    margin-top: 8rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-section h3 {
    margin-bottom: 2rem;
    font-weight: 800;
    font-size: 1.5rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 1rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: var(--transition-fast);
    display: inline-block;
    font-weight: 500;
}

.footer-section a:hover {
    color: white;
    transform: translateX(-8px);
    padding-right: 8px;
}

.social-links {
    display: flex;
    gap: 1.25rem;
}

.social-links a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    font-size: 1.375rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background: var(--gradient-1);
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-glow);
    border-color: transparent;
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}


/* Auth Pages - Stunning */
.auth-page {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
    position: relative;
}

.auth-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    padding: 4rem;
    border-radius: 32px;
    box-shadow: var(--shadow-2xl);
    width: 100%;
    max-width: 520px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
}

.auth-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-1);
}

.auth-container::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.05) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

.auth-container h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text);
    font-weight: 900;
    font-size: 2.25rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.auth-form .form-group {
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.auth-form label {
    display: block;
    margin-bottom: 0.875rem;
    color: var(--text);
    font-weight: 700;
    font-size: 1rem;
}

.auth-form input,
.auth-form select {
    width: 100%;
    padding: 1.125rem 1.5rem;
    border: 2px solid var(--border);
    border-radius: 14px;
    font-size: 1rem;
    transition: var(--transition);
    background: white;
    font-family: 'Cairo', sans-serif;
}

.auth-form input:focus,
.auth-form select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 5px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.auth-divider {
    text-align: center;
    margin: 3rem 0;
    position: relative;
    z-index: 1;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border);
}

.auth-divider span {
    background: rgba(255, 255, 255, 0.95);
    padding: 0 2rem;
    position: relative;
    color: var(--text-light);
    font-weight: 600;
}

.social-auth {
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

.auth-link {
    text-align: center;
    color: var(--text-light);
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.auth-link a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition-fast);
}

.auth-link a:hover {
    text-decoration: underline;
}

.alert {
    padding: 1.5rem 2rem;
    border-radius: 14px;
    margin-bottom: 2rem;
    border: 2px solid;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border-color: #fecaca;
}

/* Dashboard */
.dashboard-page {
    padding: 4rem 0;
}

.dashboard-content {
    margin-top: 3rem;
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.order-card {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.order-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--gradient-1);
    transform: scaleY(0);
    transition: var(--transition);
}

.order-card:hover::before {
    transform: scaleY(1);
}

.order-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border);
}

.order-status {
    padding: 0.625rem 1.5rem;
    border-radius: 24px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pending {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
}

.status-completed {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
}

.status-processing {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
}

/* Cart */
.cart-page {
    padding: 4rem 0;
}

.cart-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.cart-item {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 140px 2fr 1fr 1fr auto;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.cart-item:hover {
    box-shadow: var(--shadow-xl);
    transform: translateX(-8px);
}

.item-image img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.cart-summary {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    height: fit-content;
    position: sticky;
    top: 140px;
    border: 1px solid var(--border);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border);
    font-weight: 600;
    font-size: 1.0625rem;
}

.summary-row.total {
    font-size: 1.75rem;
    font-weight: 900;
    border-bottom: none;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 3px solid var(--border);
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.empty-cart {
    text-align: center;
    padding: 8rem 2rem;
}

.empty-cart i {
    font-size: 7rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2.5rem;
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
}

/* CHECKOUT PAGE - ULTRA MODERN DESIGN */
.checkout-page {
    padding: 4rem 0;
    min-height: calc(100vh - 200px);
}

.checkout-content {
    max-width: 1200px;
    margin: 0 auto;
}

.checkout-form {
    background: white;
    padding: 0;
    border-radius: 32px;
    box-shadow: var(--shadow-2xl);
    max-width: 100%;
    margin: 0 auto;
    border: 1px solid var(--border);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 0;
}

.checkout-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-1);
}

.checkout-form > div:first-child {
    padding: 4rem;
    background: var(--light-2);
    border-left: 1px solid var(--border);
}

.checkout-form > div:last-child {
    padding: 4rem;
    background: white;
    position: relative;
}

.checkout-form h2 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 3rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    padding-bottom: 1.5rem;
}

.checkout-form h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-1);
    border-radius: 2px;
}

.checkout-form .form-group {
    margin-bottom: 2rem;
}

.checkout-form label {
    display: block;
    margin-bottom: 0.875rem;
    color: var(--text);
    font-weight: 700;
    font-size: 1rem;
}

.checkout-form select,
.checkout-form input[type="text"] {
    width: 100%;
    padding: 1.125rem 1.5rem;
    border: 2px solid var(--border);
    border-radius: 14px;
    font-size: 1rem;
    transition: var(--transition);
    background: white;
    font-family: 'Cairo', sans-serif;
}

.checkout-form select:focus,
.checkout-form input[type="text"]:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 5px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.checkout-form .form-group:has(button) {
    display: flex;
    gap: 1rem;
}

.checkout-form input[type="text"] {
    flex: 1;
}

.checkout-form button[type="button"] {
    padding: 1.125rem 2rem;
    background: var(--gradient-1);
    color: white;
    border: none;
    border-radius: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    white-space: nowrap;
}

.checkout-form button[type="button"]:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.order-summary-checkout {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.order-summary-checkout h3 {
    font-size: 1.75rem;
    font-weight: 900;
    margin-bottom: 2.5rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    padding-bottom: 1.5rem;
}

.order-summary-checkout h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-1);
    border-radius: 2px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
    font-weight: 600;
    font-size: 1.0625rem;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.875rem;
    font-weight: 900;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 3px solid var(--border);
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.checkout-form button[type="submit"] {
    width: 100%;
    margin-top: 2.5rem;
    padding: 1.375rem;
    font-size: 1.125rem;
    background: var(--gradient-1);
    color: white;
    border: none;
    border-radius: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.checkout-form button[type="submit"]::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.checkout-form button[type="submit"]:hover::before {
    width: 500px;
    height: 500px;
}

.checkout-form button[type="submit"]:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-2xl), var(--shadow-glow);
    filter: brightness(1.1);
}

.checkout-form button[type="submit"]:active {
    transform: translateY(-2px);
}

/* Admin */
.admin-page {
    padding: 4rem 0;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.stat-card {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-1);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl), var(--shadow-glow);
}

.stat-card h3 {
    font-weight: 700;
    color: var(--text-light);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 0.5rem;
    display: block;
    letter-spacing: -2px;
}

.admin-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 3rem;
    border-bottom: 3px solid var(--border);
    overflow-x: auto;
}

.tab-btn {
    background: none;
    border: none;
    padding: 1.5rem 2.5rem;
    cursor: pointer;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-light);
    border-bottom: 3px solid transparent;
    margin-bottom: -3px;
    transition: var(--transition);
    white-space: nowrap;
    font-family: 'Cairo', sans-serif;
    position: relative;
}

.tab-btn::before {
    content: '';
    position: absolute;
    bottom: -3px;
    right: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-1);
    transition: var(--transition);
}

.tab-btn.active {
    color: var(--primary);
}

.tab-btn.active::before {
    width: 100%;
}

.tab-btn:hover {
    color: var(--primary);
    background: rgba(102, 126, 234, 0.05);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.admin-table {
    background: white;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--border);
}

.admin-table table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 1.75rem;
    text-align: right;
    border-bottom: 1px solid var(--border);
}

.admin-table th {
    background: var(--light-2);
    font-weight: 800;
    color: var(--text);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.admin-table tr:hover {
    background: var(--light-2);
}

.add-product-form,
.add-promo-form {
    background: var(--light-2);
    padding: 3rem;
    border-radius: 24px;
    margin-bottom: 3rem;
    border: 2px dashed var(--border);
}

.add-product-form form,
.add-promo-form form {
    display: grid;
    gap: 2rem;
}

.add-product-form input,
.add-product-form textarea,
.add-product-form select,
.add-promo-form input,
.add-promo-form select {
    padding: 1.125rem 1.5rem;
    border: 2px solid var(--border);
    border-radius: 14px;
    font-size: 1rem;
    font-family: 'Cairo', sans-serif;
    transition: var(--transition);
    background: white;
}

.add-product-form input:focus,
.add-product-form textarea:focus,
.add-product-form select:focus,
.add-promo-form input:focus,
.add-promo-form select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 5px rgba(102, 126, 234, 0.15);
}

.add-product-form textarea {
    min-height: 140px;
    resize: vertical;
}

/* Product Details */
.product-details-page {
    padding: 4rem 0;
}

.product-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    background: white;
    padding: 4rem;
    border-radius: 32px;
    box-shadow: var(--shadow-2xl);
    border: 1px solid var(--border);
}

.main-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
}

.product-info-details h1 {
    margin-bottom: 2rem;
    font-weight: 900;
    font-size: 3rem;
    color: var(--text);
    line-height: 1.2;
}

.product-price-large {
    font-size: 3.5rem;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 2.5rem 0;
    letter-spacing: -2px;
}

.product-description {
    margin: 3rem 0;
    line-height: 2;
    color: var(--text-light);
    font-size: 1.125rem;
}

.in-stock {
    color: var(--success);
    font-weight: 800;
    font-size: 1.25rem;
}

.out-of-stock {
    color: var(--danger);
    font-weight: 800;
    font-size: 1.25rem;
}

/* Products Page */
.products-page {
    padding: 4rem 0;
}

.page-header {
    margin-bottom: 4rem;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 3rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.search-filter {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2.5rem;
}

.search-form {
    display: flex;
    gap: 1.25rem;
}

.search-form input {
    flex: 1;
    padding: 1.125rem 1.75rem;
    border: 2px solid var(--border);
    border-radius: 14px;
    font-size: 1.0625rem;
    font-family: 'Cairo', sans-serif;
    transition: var(--transition);
}

.search-form input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 5px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.search-form button {
    padding: 1.125rem 2.5rem;
    background: var(--gradient-1);
    color: white;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.search-form button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.category-filter {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.category-filter a {
    padding: 0.875rem 2rem;
    background: white;
    border: 2px solid var(--border);
    border-radius: 24px;
    text-decoration: none;
    color: var(--text);
    transition: var(--transition);
    font-weight: 700;
    font-size: 1rem;
}

.category-filter a.active,
.category-filter a:hover {
    background: var(--gradient-1);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.no-products {
    text-align: center;
    padding: 8rem 2rem;
    color: var(--text-light);
    font-size: 1.75rem;
    font-weight: 600;
}

/* Error Page */
.error-page {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
}

.error-content {
    text-align: center;
}

.error-content i {
    font-size: 7rem;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2.5rem;
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
}

.error-content h1 {
    margin-bottom: 2rem;
    font-weight: 900;
    font-size: 3rem;
}

.error-content p {
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.375rem;
}

/* Section Title */
.section-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 4rem;
    text-align: center;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.featured-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 0.98rem;
    max-width: 520px;
}

/* Responsive */
@media (max-width: 1024px) {
    .checkout-form {
        grid-template-columns: 1fr;
    }
    
    .checkout-form > div:first-child {
        border-left: none;
        border-bottom: 1px solid var(--border);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 90px;
        right: -100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(30px);
        flex-direction: column;
        width: 85%;
        height: calc(100vh - 90px);
        padding: 3rem;
        box-shadow: var(--shadow-2xl);
        transition: var(--transition);
        border-left: 1px solid var(--border);
    }

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

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.375rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .featured-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cart-content {
        grid-template-columns: 1fr;
    }

    .product-details {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 2.5rem;
    }

    .cart-item {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }

    .admin-stats {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .checkout-form {
        padding: 0;
    }
    
    .checkout-form > div:first-child,
    .checkout-form > div:last-child {
        padding: 2.5rem;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--light-2);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-1);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Contact Page */
.contact-page {
    padding: 4rem 0 5rem;
}

.contact-intro {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 760px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.contact-card,
.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    padding: 2rem;
}

.contact-card h2,
.contact-form-wrapper h2 {
    margin-bottom: 1.25rem;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-guidelines {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.85rem;
}

.contact-guidelines li {
    background: var(--light-3);
    border-radius: 12px;
    padding: 0.75rem 1rem;
}

.contact-links {
    display: grid;
    gap: 0.9rem;
    margin-bottom: 1.25rem;
}

.contact-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    font-weight: 700;
    border-radius: 12px;
    padding: 0.85rem 1rem;
    transition: var(--transition-fast);
}

.contact-link.whatsapp {
    background: #e8fff3;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.contact-link.email {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.contact-link:hover {
    transform: translateY(-2px);
}

.contact-email-title {
    margin-top: 0.5rem;
}

.contact-form {
    display: grid;
    gap: 1.2rem;
}

.contact-form .form-group {
    margin-bottom: 0;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 0.9rem 1rem;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    background: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
}

/* About Page */
.about-page {
    padding: 4rem 0 5rem;
}

.about-intro {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 760px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.about-card,
.about-highlight {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    padding: 2rem;
}

.about-card h2,
.about-highlight h2 {
    margin-bottom: 1rem;
    font-size: 1.35rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.about-card p,
.about-highlight p {
    color: var(--text-light);
}

.about-card ul {
    list-style: none;
    display: grid;
    gap: 0.65rem;
}

.about-card ul li {
    background: var(--light-3);
    border-radius: 10px;
    padding: 0.7rem 0.9rem;
}

.about-highlight {
    display: grid;
    gap: 1rem;
}

.about-highlight .btn {
    width: fit-content;
}

/* ============================================
   2026 VISUAL REFRESH - calmer premium look
============================================ */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #60a5fa;
    --secondary: #0f172a;
    --accent: #14b8a6;
    --light-2: #f7f9fc;
    --light-3: #eef2f8;
    --text: #111827;
    --text-light: #4b5563;
    --border: #dbe4f0;
    --gradient-1: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
    --gradient-hero: linear-gradient(130deg, #0f172a 0%, #1e3a8a 45%, #0ea5e9 100%);
    --shadow-lg: 0 22px 42px -24px rgba(15, 23, 42, 0.45);
    --shadow-xl: 0 30px 65px -30px rgba(15, 23, 42, 0.5);
    --shadow-2xl: 0 42px 95px -40px rgba(15, 23, 42, 0.55);
}

body {
    background: linear-gradient(180deg, #f8fbff 0%, #f5f7fc 100%);
}

body::before {
    background:
        radial-gradient(circle at 15% 15%, rgba(14, 165, 233, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 80% 12%, rgba(37, 99, 235, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 50% 85%, rgba(20, 184, 166, 0.07) 0%, transparent 50%);
    animation: none;
}

.navbar {
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 10px 30px -25px rgba(15, 23, 42, 0.5);
}

.nav-menu a {
    color: var(--text-light);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    right: 1.5rem;
    left: 1.5rem;
    bottom: 0.45rem;
    height: 2px;
    background: var(--gradient-1);
    border-radius: 999px;
    transform: scaleX(0);
    transform-origin: center;
    transition: var(--transition-fast);
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
    color: var(--primary-dark);
    background: rgba(37, 99, 235, 0.08);
}

.nav-menu a:hover::after,
.nav-menu a:focus-visible::after {
    transform: scaleX(1);
}

.hero {
    border-radius: 0 0 56px 56px;
    margin-bottom: 2rem;
}

.hero-content h1 {
    font-size: clamp(2.1rem, 5.5vw, 4.25rem);
    max-width: 920px;
    margin-inline: auto;
}

.hero-content p {
    max-width: 760px;
    margin-inline: auto;
}

.product-card,
.feature-item,
.cart-item,
.cart-summary,
.order-card,
.admin-table,
.stat-card,
.product-details,
.auth-container,
.contact-card,
.contact-form-wrapper,
.about-card,
.about-highlight {
    border: 1px solid rgba(148, 163, 184, 0.24);
    box-shadow: var(--shadow-lg);
}

.product-card:hover,
.feature-item:hover,
.stat-card:hover,
.order-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.product-image {
    height: 280px;
}

.price,
.product-price-large,
.section-title,
.page-header h1,
.checkout-form h2,
.order-summary-checkout h3,
.auth-container h2 {
    letter-spacing: -0.3px;
}

.footer {
    background: linear-gradient(135deg, #0b1220 0%, #111c34 100%);
}

.footer-section a:hover {
    transform: translateX(-4px);
}

.search-form input,
.auth-form input,
.auth-form select,
.contact-form input,
.contact-form textarea,
.contact-form select,
.checkout-form input[type="text"],
.checkout-form select {
    background: #fbfdff;
}

@media (max-width: 768px) {
    .hero {
        border-radius: 0 0 34px 34px;
        padding-top: 7rem;
    }

    .nav-menu {
        border-left: 1px solid rgba(148, 163, 184, 0.25);
    }

    .product-image {
        height: 250px;
    }
}

/* ============================================
   2026 LIGHTWEIGHT REFRESH - clean & fast UI
   (كل شيء أبسط وأخف بدون إضاءة وزحمة)
============================================ */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #60a5fa;
    --secondary: #111827;
    --accent: #0ea5e9;
    --light-2: #f9fafb;
    --light-3: #edf2f7;
    --text: #0f172a;
    --text-light: #6b7280;
    --border: #e5e7eb;
    --gradient-1: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
    --gradient-hero: radial-gradient(circle at top right, #e0f2fe 0, transparent 50%),
                     radial-gradient(circle at bottom left, #e5e7eb 0, transparent 55%),
                     #f9fafb;
    --shadow-sm: 0 4px 10px rgba(15, 23, 42, 0.05);
    --shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 10px 28px rgba(15, 23, 42, 0.08);
    --shadow-xl: 0 18px 40px rgba(15, 23, 42, 0.10);
    --shadow-2xl: 0 24px 60px rgba(15, 23, 42, 0.12);
}

body {
    background: #f3f4f6;
}

body::before {
    opacity: 0.4;
    animation: none;
}

/* هيدر أنظف وأخف */
.navbar {
    background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(209, 213, 219, 0.7);
    box-shadow: 0 8px 20px -16px rgba(15, 23, 42, 0.35);
}

.nav-menu a {
    color: var(--text-light);
    position: relative;
    border-radius: 999px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    inset-inline: 1.3rem;
    bottom: 0.55rem;
    height: 2px;
    background: var(--primary);
    border-radius: 999px;
    transform: scaleX(0);
    transform-origin: center;
    transition: var(--transition-fast);
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
    color: var(--primary-dark);
    background: rgba(37, 99, 235, 0.05);
}

.nav-menu a:hover::after,
.nav-menu a:focus-visible::after {
    transform: scaleX(1);
}

/* هيرو بسيط بدون حركات مزعجة */
.hero {
    background: var(--gradient-hero);
    color: var(--text);
    padding: 6rem 0 4rem;
    text-align: center;
    border-radius: 0 0 32px 32px;
    box-shadow: 0 18px 38px -26px rgba(15, 23, 42, 0.35);
}

.hero::before,
.hero::after {
    display: none;
}

.hero-content h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    max-width: 780px;
    margin: 0 auto 1.5rem;
    color: #0f172a;
    text-shadow: none;
}

.hero-content p {
    max-width: 620px;
    margin: 0 auto 2rem;
    font-size: 1.05rem;
    color: var(--text-light);
    text-shadow: none;
}

.hero-kicker {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(209, 213, 219, 0.8);
    color: var(--primary-dark);
}

.hero-badges {
    gap: 1rem;
}

.hero-stat {
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: var(--shadow-sm);
}

/* كروت المنتجات أخف وبدون زوم مبالغ */
.products-grid {
    padding: 3rem 0 4rem;
}

.product-card {
    border-radius: 18px;
    box-shadow: var(--shadow);
    border: 1px solid #e5e7eb;
    transform: translateY(0);
}

.product-card::before {
    display: none;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: #cbd5e1;
}

.product-image {
    height: 240px;
    background: #f3f4f6;
}

.product-image img {
    transform: none;
}

.product-card:hover .product-image img {
    transform: none;
}

.product-overlay {
    background: linear-gradient(to top, rgba(15, 23, 42, 0.75) 0%, transparent 55%);
}

.product-info {
    padding: 1.5rem 1.75rem 1.75rem;
}

.product-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
}

.product-price {
    margin-bottom: 1.25rem;
}

.price {
    font-size: 1.6rem;
}

/* سيكشن المميزات أبسط */
.features {
    padding: 5rem 0;
    background: #fff;
}

.feature-item {
    padding: 2.2rem 2rem;
    border-radius: 18px;
    background: #f9fafb;
    box-shadow: var(--shadow-sm);
}

.feature-item::before {
    display: none;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: #d1d5db;
}

.feature-item i {
    font-size: 3rem;
}

/* فوتر نظيف */
.footer {
    background: #0b1120;
    margin-top: 5rem;
    padding: 3.5rem 0 2rem;
}

.footer-section h3 {
    font-size: 1.2rem;
}

.footer-section a {
    padding-right: 0;
}

.footer-section a:hover {
    transform: none;
    padding-right: 0;
    color: #e5e7eb;
}

.social-links a {
    box-shadow: none;
}

/* عناوين الأقسام */
.section-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.featured-header {
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 0.95rem;
}

/* صفحات ثانية (كارت، تشيك آوت، داشبورد) نفس الروح الهادية */
.cart-item,
.cart-summary,
.order-card,
.stat-card,
.admin-table,
.product-details,
.auth-container,
.contact-card,
.contact-form-wrapper,
.about-card,
.about-highlight,
.checkout-form {
    border-radius: 18px;
    box-shadow: var(--shadow);
    border: 1px solid #e5e7eb;
}

.order-card:hover,
.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.checkout-form {
    gap: 0;
}

.checkout-form > div:first-child,
.checkout-form > div:last-child {
    padding: 2.5rem;
}

.checkout-form h2,
.order-summary-checkout h3,
.page-header h1,
.auth-container h2 {
    font-size: 1.7rem;
}

/* نمط موبايل أبسط */
@media (max-width: 768px) {
    .hero {
        border-radius: 0 0 24px 24px;
        padding: 5rem 0 3rem;
    }

    .product-image {
        height: 210px;
    }

    .checkout-form > div:first-child,
    .checkout-form > div:last-child {
        padding: 2rem 1.5rem;
    }
}
