@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;900&display=swap');

:root {
    --primary-blue: #0b1a3d; /* Deep Royal Blue */
    --accent-blue: #2a5bd7;  /* Bright Royal Blue for accents */
    --bg-white: #ffffff;
    --bg-silver: #f3f4f6;
    --text-dark: #1f2937;
    --text-light: #f9fafb;
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--bg-silver);
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    direction: rtl;
    text-align: right;
}

/* Utilities */
.text-primary { color: var(--primary-blue) !important; }
.text-accent { color: var(--accent-blue) !important; }
.bg-primary { background-color: var(--primary-blue) !important; }
.bg-silver { background-color: var(--bg-silver) !important; }

/* Glassmorphism */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 20px;
}

.glass-nav {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

/* Navbar */
.navbar {
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--primary-blue);
    text-decoration: none;
    letter-spacing: -1px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-blue);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(11, 26, 61, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(11, 26, 61, 0.4);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 8rem 5% 5rem;
    background: radial-gradient(circle at top right, #eef2f9, #ffffff);
    overflow: hidden;
}

.hero-content {
    flex: 1;
    z-index: 2;
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* 3D Visuals */
.hero-visual {
    flex: 1;
    position: relative;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.floating-card {
    position: absolute;
    width: 280px;
    height: 180px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    padding: 1.5rem;
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Specific Card Positioning for "Floating" effect */
.card-erp {
    transform: rotateY(-15deg) rotateX(10deg) translateZ(50px) translateY(-80px) translateX(-40px);
    z-index: 2;
}

.card-pos {
    transform: rotateY(15deg) rotateX(-5deg) translateZ(0px) translateY(120px) translateX(60px);
    z-index: 3;
}

.card-logistics {
    transform: rotateY(-5deg) rotateX(-10deg) translateZ(-50px) translateY(0px) translateX(150px);
    z-index: 1;
    background: rgba(255, 255, 255, 0.7);
}

/* Floating Animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.hero-visual {
    animation: float 6s ease-in-out infinite;
}

.card-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-silver);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-blue);
}

.card-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-blue);
    margin-top: 1rem;
}

.card-desc {
    font-size: 0.85rem;
    color: #9ca3af;
}

/* Background Gradients/Bokeh */
.bokeh-bg {
    position: absolute;
    top: -20%;
    left: -10%;
    width: 50%;
    height: 80%;
    background: radial-gradient(circle, rgba(42, 91, 215, 0.1) 0%, rgba(255,255,255,0) 70%);
    z-index: 0;
    pointer-events: none;
}

.bokeh-bg-2 {
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(11, 26, 61, 0.05) 0%, rgba(255,255,255,0) 70%);
    z-index: 0;
    pointer-events: none;
}