:root {
    --primary: #0f2c59; /* כחול אוקיינוס עמוק */
    --accent: #00d4ff;  /* טורקיז הייטק */
    --accent-hover: #009acb;
    --dark: #1a1a1a;
    --light: #f8f9fa;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.95);
    --glass-dark: rgba(15, 44, 89, 0.9);
    --shadow: 0 10px 40px rgba(0,0,0,0.08);
    --font-main: 'Heebo', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-main); direction: rtl; background: var(--light); color: var(--dark); overflow-x: hidden; }

/* --- TYPOGRAPHY --- */
h1, h2, h3 { font-weight: 800; line-height: 1.2; }
.highlight { color: var(--accent); }

/* --- BUTTONS --- */
.btn {
    display: inline-block; padding: 12px 35px; border-radius: 50px;
    font-weight: 700; text-decoration: none; transition: 0.3s; cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}
.btn-primary { background: linear-gradient(45deg, var(--primary), #1a4a8a); color: var(--white); border: none; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(15, 44, 89, 0.4); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; box-shadow: none; }
.btn-outline:hover { background: var(--primary); color: var(--white); }

/* --- NAVIGATION --- */
.main-nav {
    position: fixed; top: 0; width: 100%; height: 80px;
    background: var(--white); box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 5%; z-index: 1000; transition: 0.3s;
}
.logo { font-size: 1.8rem; font-weight: 900; color: var(--primary); letter-spacing: 1px; display: flex; align-items: center; gap: 10px; }
.logo i { color: var(--accent); font-size: 1.4rem; }

.desktop-menu a { text-decoration: none; color: var(--dark); margin-left: 30px; font-weight: 500; transition: 0.3s; position: relative; }
.desktop-menu a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; right: 0; background: var(--accent); transition: 0.3s; }
.desktop-menu a:hover::after { width: 100%; }
.desktop-menu a:hover { color: var(--primary); }

.mobile-toggle { display: none; font-size: 1.8rem; color: var(--primary); cursor: pointer; }

/* Mobile Menu Overlay */
.mobile-overlay {
    position: fixed; top: 0; right: -100%; width: 100%; height: 100vh;
    background: var(--glass-dark); backdrop-filter: blur(10px);
    z-index: 2000; transition: 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.mobile-overlay.open { right: 0; }
.close-btn { position: absolute; top: 30px; right: 30px; color: var(--white); font-size: 2rem; cursor: pointer; }
.mobile-links a { font-size: 1.8rem; color: var(--white); text-decoration: none; margin: 15px 0; font-weight: 700; transition: 0.3s; }
.mobile-links a:hover { color: var(--accent); }

/* --- HERO SECTION --- */
.hero {
    position: relative; height: 90vh; display: flex; align-items: center; justify-content: center;
    background: #000; overflow: hidden;
}
.hero-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }
.hero-content {
    position: relative; z-index: 2; text-align: center; color: var(--white); max-width: 900px; padding: 20px;
}
.hero-content h1 { font-size: 4.5rem; margin-bottom: 20px; text-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.hero-content p { font-size: 1.4rem; margin-bottom: 40px; color: #e0e0e0; font-weight: 300; }

/* --- CLIENTS LOGO STRIP (ANIMATION) --- */
.clients-strip { background: var(--white); padding: 40px 0; overflow: hidden; border-bottom: 1px solid #eee; }
.clients-strip h3 { text-align: center; color: #aaa; margin-bottom: 20px; font-size: 1rem; letter-spacing: 2px; }
.logos-track {
    display: flex; width: calc(200px * 10); /* רוחב לפי מספר לוגואים */
    animation: scroll 20s linear infinite;
}
.client-logo { width: 200px; display: flex; justify-content: center; align-items: center; }
.client-logo i { font-size: 3rem; color: #ccc; transition: 0.3s; }
.client-logo:hover i { color: var(--primary); }

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-200px * 5)); }
}

/* --- CARDS & GRID --- */
.section { padding: 100px 5%; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 3rem; color: var(--primary); margin-bottom: 15px; }
.section-header p { font-size: 1.2rem; color: #666; max-width: 600px; margin: 0 auto; }

.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }

.service-card {
    background: var(--white); padding: 40px 30px; border-radius: 20px;
    box-shadow: var(--shadow); transition: 0.4s; position: relative; overflow: hidden;
    border-top: 5px solid transparent;
}
.service-card:hover { transform: translateY(-15px); border-top-color: var(--accent); }
.icon-box {
    width: 70px; height: 70px; background: rgba(15, 44, 89, 0.05);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: var(--primary); margin-bottom: 25px; transition: 0.3s;
}
.service-card:hover .icon-box { background: var(--primary); color: var(--white); }
.service-card h3 { font-size: 1.5rem; margin-bottom: 15px; color: var(--dark); }
.service-card p { color: #666; line-height: 1.6; }

/* --- FORM (LP) --- */
.lead-form-wrapper {
    background: var(--glass); backdrop-filter: blur(20px);
    padding: 40px; border-radius: 20px; box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.2); max-width: 500px; margin: 0 auto;
}
.form-input {
    width: 100%; padding: 15px; margin-bottom: 15px; border: 1px solid #ddd;
    border-radius: 8px; font-size: 1rem; background: #fdfdfd; transition: 0.3s;
}
.form-input:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px rgba(15, 44, 89, 0.1); }
.form-submit { width: 100%; padding: 15px; font-size: 1.2rem; margin-top: 10px; }

/* --- ABOUT / DIVISIONS (WEBSITE) --- */
.split-section { display: flex; align-items: center; gap: 60px; margin-bottom: 100px; }
.split-section.reverse { flex-direction: row-reverse; }
.split-img { flex: 1; position: relative; }
.split-img img { width: 100%; border-radius: 20px; box-shadow: 20px 20px 0 var(--light), 20px 20px 0 2px var(--primary); }
.split-content { flex: 1; }
.split-content h3 { color: var(--accent); font-size: 1.1rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; }
.split-content h2 { font-size: 2.8rem; margin-bottom: 20px; color: var(--primary); }
.split-content p { font-size: 1.1rem; line-height: 1.8; color: #555; margin-bottom: 20px; }
.features li { list-style: none; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; color: var(--dark); font-weight: 500; }
.features i { color: var(--accent); }

/* --- FOOTER --- */
footer { background: var(--primary); color: var(--white); padding: 60px 5% 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-col h4 { font-size: 1.3rem; margin-bottom: 20px; color: var(--accent); }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #ccc; text-decoration: none; transition: 0.3s; }
.footer-col a:hover { color: var(--white); padding-right: 5px; }
.copyright { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; color: #aaa; }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .hero-content h1 { font-size: 3rem; }
    .desktop-menu, .btn-header { display: none; }
    .mobile-toggle { display: block; }
    .split-section { flex-direction: column !important; gap: 40px; }
    .clients-strip { display: none; } /* Hide animation on mobile to save performance */
}