/* Modern CSS Variables */
:root {
    --primary-dark: #0B1E40;
    --primary: #152C5C;
    --primary-light: #1E3A6B;
    --accent: #2A4A7A;
    --accent-light: #3B5F8F;
    --accent-lighter: #4A6FA0;
    --background: #FFFFFF;
    --background-light: #F8FAFC;
    --background-dark: #F1F5F9;
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #64748B;
    --text-light: #94A3B8;
    --card-bg: #FFFFFF;
    --card-border: rgba(11, 30, 64, 0.1);
    --gradient-primary: linear-gradient(135deg, #0B1E40 0%, #152C5C 50%, #2A4A7A 100%);
    --gradient-secondary: linear-gradient(135deg, #152C5C 0%, #2A4A7A 100%);
    --gradient-accent: linear-gradient(135deg, #2A4A7A 0%, #3B5F8F 100%);
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 64px rgba(11, 30, 64, 0.15);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* RTL Variables */
[dir="rtl"] {
    --font-arabic: 'Cairo', 'Tajawal', sans-serif;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

[dir="rtl"] body {
    font-family: var(--font-arabic);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.bg-circle-1 {
    width: 600px;
    height: 600px;
    background: var(--gradient-primary);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.bg-circle-2 {
    width: 500px;
    height: 500px;
    background: var(--gradient-secondary);
    bottom: -150px;
    right: -150px;
    animation-delay: 5s;
}

.bg-circle-3 {
    width: 400px;
    height: 400px;
    background: var(--gradient-accent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #FFFFFF;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(11, 30, 64, 0.1);
    transition: var(--transition);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
    background: #FFFFFF;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--primary-dark);
    transition: var(--transition);
}

.logo-icon {
    font-size: 1.2em;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(180deg); }
}

.logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-dot {
    color: var(--primary-dark);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.logo-ai {
    color: var(--primary-light);
    font-size: 0.9em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::before {
    opacity: 0.1;
}

.nav-link.active {
    color: var(--primary-dark);
    font-weight: 600;
}

.nav-link.active::before {
    opacity: 0.15;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.lang-toggle {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: var(--shadow-xs);
}

.lang-toggle:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--primary-dark);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1f3a 0%, #2d3560 50%, #1a1f3a 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(11, 30, 64, 0.4) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(21, 44, 92, 0.3) 0%, transparent 50%);
    opacity: 0.8;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(42, 74, 122, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, rgba(42, 74, 122, 0.1) 1px, transparent 1px);
    background-size: 50px 50px, 60px 60px;
    background-position: 0 0, 25px 25px;
    animation: patternMove 20s linear infinite;
    opacity: 0.3;
}

@keyframes patternMove {
    0% { background-position: 0 0, 25px 25px; }
    100% { background-position: 50px 50px, 75px 75px; }
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: shapeFloat 20s ease-in-out infinite;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(11, 30, 64, 0.6) 0%, rgba(42, 74, 122, 0.4) 100%);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(21, 44, 92, 0.5) 0%, rgba(59, 95, 143, 0.3) 100%);
    bottom: 10%;
    right: 10%;
    animation-delay: 7s;
}

.shape-3 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, rgba(42, 74, 122, 0.4) 0%, rgba(11, 30, 64, 0.5) 100%);
    top: 50%;
    right: 20%;
    animation-delay: 14s;
}

@keyframes shapeFloat {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
    33% { transform: translate(30px, -30px) scale(1.1) rotate(120deg); }
    66% { transform: translate(-20px, 20px) scale(0.9) rotate(240deg); }
}

.hero-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.5;
    animation: orbFloat 15s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, rgba(11, 30, 64, 0.8) 0%, rgba(42, 74, 122, 0.6) 100%);
    top: -150px;
    left: -150px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(21, 44, 92, 0.7) 0%, rgba(59, 95, 143, 0.5) 100%);
    bottom: -100px;
    right: -100px;
    animation-delay: 5s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(42, 74, 122, 0.6) 0%, rgba(11, 30, 64, 0.7) 100%);
    top: 50%;
    right: 15%;
    animation-delay: 10s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, -50px) scale(1.15); }
}

.hero-content {
    text-align: center;
    max-width: 900px;
    z-index: 1;
    position: relative;
    padding: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.hero-badge:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.badge-icon {
    font-size: 1.2em;
    animation: bounce 2s ease-in-out infinite;
    color: rgba(255, 255, 255, 0.9);
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.title-line {
    display: block;
}

.title-highlight {
    background: linear-gradient(135deg, #FFFFFF 0%, rgba(255, 255, 255, 0.8) 50%, rgba(147, 197, 253, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.2) 100%);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-dark);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.download-icon {
    font-size: 1.2em;
    transition: var(--transition);
}

.btn-download:hover .download-icon {
    transform: translateY(3px);
}

.btn-arrow {
    transition: var(--transition);
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

[dir="rtl"] .btn:hover .btn-arrow {
    transform: translateX(-4px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FFFFFF 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    animation: fadeInUp 1s ease-out 1.5s backwards;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% { top: 8px; opacity: 1; }
    100% { top: 24px; opacity: 0; }
}

/* Animations */
.animate-fade-in {
    animation: fadeInUp 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.animate-fade-in-delay-2 {
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.animate-fade-in-delay-3 {
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

.animate-fade-in-delay-4 {
    animation: fadeInUp 1s ease-out 0.8s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Sections */
.section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(11, 30, 64, 0.1);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.section-line {
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 0 auto;
    border-radius: 2px;
}

/* About Section */
.about-section {
    background: var(--background-light);
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.about-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(11, 30, 64, 0.3);
}

.about-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.card-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
    font-weight: 700;
}

.card-text {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.125rem;
}

.vision-mission {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.vm-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.vm-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.vm-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.vm-card:hover::after {
    opacity: 0.05;
}

.vm-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(11, 30, 64, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.vm-card:hover .vm-icon-wrapper {
    background: var(--gradient-primary);
    transform: scale(1.1) rotate(5deg);
}

.vm-icon {
    font-size: 2.5rem;
}

.vm-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
    font-weight: 700;
}

.vm-text {
    color: var(--text-secondary);
    line-height: 1.8;
}

.values-section {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 3rem;
}

.values-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-dark);
    font-weight: 700;
    text-align: center;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(11, 30, 64, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(11, 30, 64, 0.1);
    transition: var(--transition);
    cursor: pointer;
}

.value-item:hover {
    background: rgba(11, 30, 64, 0.1);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.value-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.value-content h4 {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

/* Products Section */
.products-section {
    background: var(--background);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(11, 30, 64, 0.3);
}

.product-card:hover::before {
    opacity: 0.05;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.product-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.product-badge {
    padding: 0.375rem 0.875rem;
    background: rgba(11, 30, 64, 0.1);
    border: 1px solid rgba(11, 30, 64, 0.2);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.product-badge-special {
    background: var(--gradient-primary);
    color: white;
    border: none;
}

.product-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
    font-weight: 700;
}

.product-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    flex-grow: 1;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature-tag {
    padding: 0.375rem 0.875rem;
    background: rgba(11, 30, 64, 0.05);
    border-radius: 8px;
    font-size: 0.875rem;
    color: var(--primary-dark);
    font-weight: 500;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    margin-top: auto;
}

.product-link:hover {
    gap: 0.75rem;
    color: var(--primary);
}

.link-arrow {
    transition: var(--transition);
}

.product-link:hover .link-arrow {
    transform: translateX(4px);
}

[dir="rtl"] .product-link:hover .link-arrow {
    transform: translateX(-4px);
}

.product-card-featured {
    border-color: var(--primary-dark);
    background: linear-gradient(135deg, rgba(11, 30, 64, 0.05) 0%, rgba(21, 44, 92, 0.02) 100%);
}

.product-card-special {
    background: linear-gradient(135deg, rgba(11, 30, 64, 0.05) 0%, rgba(21, 44, 92, 0.02) 100%);
}

/* Industries Section */
.industries-section {
    background: var(--background-light);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.industry-item {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.industry-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.industry-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.industry-item:hover::before {
    opacity: 0.1;
}

.industry-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    transition: var(--transition);
}

.industry-item:hover .industry-icon {
    transform: scale(1.2) rotate(5deg);
}

.industry-item h4 {
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 600;
}

/* Why Ensyte Section */
.why-section {
    background: var(--background);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.why-item {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.why-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    border-radius: 20px;
    transition: var(--transition);
    z-index: -1;
}

.why-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.why-item:hover::after {
    opacity: 0.1;
}

.why-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    transition: var(--transition);
}

.why-item:hover .why-icon {
    transform: scale(1.2) rotate(5deg);
}

.why-item h4 {
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.why-item p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.solutions-hero {
    min-height: 60vh;
    padding: 150px 0 60px;
}

.solutions-hero .hero-content {
    max-width: 800px;
}

/* Solutions Section */
.solutions-section {
    background: var(--background);
}

.solution-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 3rem;
    margin-bottom: 3rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(11, 30, 64, 0.3);
}

.solution-card:hover::before {
    transform: scaleX(1);
}

.solution-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.solution-icon {
    font-size: 3.5rem;
    flex-shrink: 0;
}

.solution-title-wrapper {
    flex: 1;
}

.solution-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin: 0;
    line-height: 1.2;
}

.solution-tagline {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.solution-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.solution-content {
    margin-bottom: 2.5rem;
}

.solution-subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 2rem 0 1rem 0;
}

.solution-subtitle:first-child {
    margin-top: 0;
}

.solution-text {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.solution-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.solution-features li {
    position: relative;
    padding-left: 2rem;
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.6;
}

.solution-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-dark);
    font-weight: bold;
    font-size: 1.25rem;
}

[dir="rtl"] .solution-features li {
    padding-left: 0;
    padding-right: 2rem;
}

[dir="rtl"] .solution-features li::before {
    left: auto;
    right: 0;
}

.solution-action {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--card-border);
}

.solution-action .btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
}

.solution-action .btn-primary:hover {
    background: var(--gradient-secondary);
    color: white;
}

/* Contact Section */
.contact-section {
    background: var(--background-light);
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: start;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 16px;
    border: 1px solid var(--card-border);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

[dir="rtl"] .contact-item:hover {
    transform: translateX(-5px);
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.whatsapp-link {
    color: var(--primary-dark);
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.whatsapp-link:hover {
    color: #25D366;
    text-decoration: none;
}

.contact-details h4 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.contact-details p {
    color: var(--text-secondary);
}

.contact-details a {
    color: var(--primary-dark);
    text-decoration: none;
    transition: var(--transition);
}

.contact-details a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.try-products {
    background: linear-gradient(135deg, rgba(11, 30, 64, 0.05) 0%, rgba(21, 44, 92, 0.03) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(11, 30, 64, 0.15);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.try-products:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border-color: rgba(11, 30, 64, 0.25);
}

.try-title {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
    font-weight: 700;
}

.try-subtitle {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.try-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.try-buttons .btn-outline {
    background: transparent;
    border: 2px solid rgba(11, 30, 64, 0.3);
    color: var(--primary-dark);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    justify-content: center;
}

.try-buttons .btn-outline:hover {
    background: rgba(11, 30, 64, 0.05);
    color: var(--primary-dark);
    border-color: rgba(11, 30, 64, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(11, 30, 64, 0.15);
}

.try-buttons .download-icon {
    font-size: 1.2em;
    transition: var(--transition);
}

.try-buttons .btn-download:hover .download-icon {
    transform: scale(1.1);
}

/* Footer */
.footer {
    background: var(--background-dark);
    border-top: 1px solid var(--card-border);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand {
    flex: 1;
}

.footer-logo {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.footer-logo .logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--primary-dark);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--card-border);
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem 1.5rem;
        gap: 1rem;
        transform: translateX(-100%);
        transition: var(--transition);
        border-top: 1px solid var(--card-border);
        box-shadow: var(--shadow-lg);
        z-index: 1001;
        overflow-y: auto;
        max-height: calc(100vh - 70px);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu .nav-link {
        display: block;
        width: 100%;
        padding: 1rem 1.25rem;
        font-size: 1.05rem;
        font-weight: 600;
        color: var(--primary-dark);
        text-align: center;
        border-radius: 10px;
        transition: all 0.3s ease;
        background: rgba(255, 255, 255, 0.5);
        border: 1px solid rgba(11, 30, 64, 0.1);
    }

    .nav-menu .nav-link:hover {
        background: rgba(11, 30, 64, 0.05);
        color: var(--primary-dark);
        border-color: rgba(11, 30, 64, 0.2);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(11, 30, 64, 0.1);
    }

    .nav-menu .nav-link.active {
        background: rgba(11, 30, 64, 0.08);
        color: var(--primary-dark);
        border-color: rgba(11, 30, 64, 0.25);
        font-weight: 700;
    }

    .nav-menu .nav-link::before {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-stats {
        gap: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .vision-mission {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .industries-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .about-card,
    .vm-card,
    .product-card {
        padding: 2rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .card-title {
        font-size: 1.5rem;
    }
}

/* RTL Specific Styles */
[dir="rtl"] .nav-link::before {
    left: auto;
    right: 0;
}

[dir="rtl"] .scroll-arrow {
    transform: rotate(-135deg);
}

[dir="rtl"] .hero-buttons {
    flex-direction: row-reverse;
}

[dir="rtl"] .contact-item {
    flex-direction: row-reverse;
}

[dir="rtl"] .try-buttons {
    direction: rtl;
}

/* Smooth Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--background-light);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    background: #20BA5A;
}

.whatsapp-icon {
    width: 35px;
    height: 35px;
    fill: white;
    z-index: 2;
    position: relative;
}

.whatsapp-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25D366;
    opacity: 0.8;
    animation: ripple-whatsapp 2s ease-out infinite;
}

@keyframes pulse-whatsapp {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes ripple-whatsapp {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

[dir="rtl"] .whatsapp-float {
    right: auto;
    left: 20px;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 56px;
        height: 56px;
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-icon {
        width: 32px;
        height: 32px;
    }
    
    [dir="rtl"] .whatsapp-float {
        left: 15px;
    }
}
