:root {
    /* פלטת צבעים טכנולוגית - תאורת LED במקום זהב */
    --neon: #00f0ff; /* ציאן מואר וזרחני - מסמל תאורה מתקדמת */
    --neon-hover: #00c3cc;
    --dark-bg: #050b14; /* כחול-לילה עמוק מאוד */
    --dark-surface: #0e1726; /* אפור-כחלחל תעשייתי למשטחים */
    --light-text: #e2e8f0; /* לבן קריר ונקי */
    --gray-text: #8b9eb7; /* אפור טכנולוגי */
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ================== Reset & Core Settings ================== */
*, *::before, *::after {
    box-sizing: border-box; /* מבטיח שריווחים וגבולות לא יגדילו את הרוחב מעבר ל-100% */
}

html, body {
    max-width: 100vw;
    overflow-x: hidden; /* מונע לחלוטין גלילה אופקית (רווח לבן בצדדים) */
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Assistant', sans-serif;
    color: var(--light-text);
    background-color: var(--dark-bg);
    direction: rtl;
    position: relative; /* חשוב כדי שאלמנטים אבסולוטיים יתייחסו לגוף האתר */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================== Header & Glassmorphism ================== */
#main-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 0;
    transition: var(--transition);
    background: transparent;
}

#main-header.scrolled {
    padding: 15px 0;
    background: rgba(5, 11, 20, 0.85); /* מותאם ללילה העמוק */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
    border-bottom: 1px solid rgba(0, 240, 255, 0.15); /* פס תאורה עדין למטה */
}

#main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    display: flex;
    gap: 35px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

nav a {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 600; /* מודגש מעט יותר למראה טכנולוגי */
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 5px;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

/* אפקט תאורת לד לקישורי התפריט */
nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--neon);
    box-shadow: 0 0 8px var(--neon); /* אור זורח */
    transition: var(--transition);
    margin: 0 auto;
}

nav a:hover {
    color: #fff;
    text-shadow: 0 0 8px rgba(255,255,255,0.5); /* הילה מוארת לטקסט עצמו */
}

nav a:hover::after {
    width: 100%;
}

.btn-lang {
    background: rgba(0, 240, 255, 0.05);
    padding: 8px 15px;
    border-radius: 4px; /* זוויות חדות יותר מתאימות להייטק/תעשייה */
    border: 1px solid rgba(0, 240, 255, 0.2);
}

.btn-lang:hover {
    background: rgba(0, 240, 255, 0.15);
    border-color: var(--neon);
    color: var(--neon) !important;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3); /* זוהר לכפתור */
}

/* ================== Hero Section ================== */
/* ================== Hero Section (Updated for Slider) ================== */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-color: var(--dark-bg); /* רקע כהה למקרה שהתמונות יטענו לאט */
}

/* התמונות במצגת - כולן ב-opacity 0 חוץ מהפעילה */
.hero-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* מתחת לטקסט */
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0; /* מוסתר כברירת מחדל */
    transition: opacity 1.5s ease-in-out; /* אנימציית פייד חלקה של 1.5 שניות */
    z-index: 1;
}

/* התמונה הפעילה - פייד-אין */
.hero-slide.active {
    opacity: 1;
    z-index: 2; /* מעל התמונות האחרות */
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(5,11,20,0.7) 0%, rgba(5,11,20,0.4) 50%, rgba(5,11,20,1) 100%);
    z-index: 3; /* מעל התמונות */
}

.hero-content {
    position: relative;
    z-index: 4; /* מעל הרקע והתמונות */
}

/* הגדלנו מעט את ה-h1 וה-p */
.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.5rem;
    color: var(--gray-text);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto; margin-right: auto;
}

/* כפתור הייטק קריר ומואר */
.btn-primary {
    display: inline-block;
    background: transparent;
    color: var(--neon);
    padding: 16px 45px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    border: 2px solid var(--neon);
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2), inset 0 0 10px rgba(0, 240, 255, 0.1);
    letter-spacing: 1px;
}

.btn-primary:hover {
    background: var(--neon);
    color: #000;
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.6), inset 0 0 10px rgba(255, 255, 255, 0.5);
}

/* ================== Categories / Solutions ================== */
.categories-section {
    padding: 120px 0;
    background: var(--dark-bg);
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 60px;
    color: #fff;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.category-card {
    background: var(--dark-surface);
    padding: 50px 30px;
    border-radius: 8px; /* קווים חדים יותר */
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.03);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 3px;
    background: var(--neon);
    box-shadow: 0 0 10px var(--neon);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: center; /* האור נדלק מהאמצע */
}

.category-card:hover {
    transform: translateY(-10px);
    background: #111c2e;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 240, 255, 0.05);
    border-color: rgba(0, 240, 255, 0.2);
}

.category-card:hover::before { transform: scaleX(1); }

.card-icon i {
    font-size: 3.5rem;
    color: rgba(0, 240, 255, 0.7); /* צבע הניאון כברירת מחדל */
    margin-bottom: 25px;
    display: inline-block;
    transition: var(--transition);
}

.category-card:hover .card-icon i { 
    transform: scale(1.15) translateY(-5px); 
    color: #fff;
    filter: drop-shadow(0px 0px 15px var(--neon)); /* האייקון זורח באפקט תאורה חזק */
}

.category-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.btn-secondary {
    color: var(--gray-text);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 15px;
    transition: var(--transition);
}

.btn-secondary:hover { 
    color: var(--neon);
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.5); 
}

/* ================== Contact Section & Form ================== */
.contact-section {
    background: linear-gradient(135deg, #050b14 0%, #0e1726 100%);
    padding: 100px 0;
    position: relative;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 100%; height: 100%;
    /* הילה זוהרת ברקע ציאן */
    background: radial-gradient(circle, rgba(0, 240, 255, 0.03) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

.contact-section .container { position: relative; z-index: 1; }

.contact-form.glass-form {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(14, 23, 38, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 240, 255, 0.1); /* גבול טכנולוגי עדין */
    padding: 60px;
    border-radius: 8px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row { display: flex; gap: 25px; }

.glass-form input,
.glass-form textarea {
    width: 100%;
    padding: 18px 24px;
    background: rgba(5, 11, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light-text);
    font-family: 'Assistant', sans-serif;
    font-size: 1.1rem;
    border-radius: 4px;
    transition: var(--transition);
    box-sizing: border-box;
}

.glass-form input::placeholder,
.glass-form textarea::placeholder { color: rgba(255, 255, 255, 0.4); }

.glass-form input:hover,
.glass-form textarea:hover {
    border-color: rgba(0, 240, 255, 0.3);
    background: rgba(5, 11, 20, 0.9);
}

.glass-form input:focus,
.glass-form textarea:focus {
    outline: none;
    border-color: var(--neon);
    background: rgba(5, 11, 20, 1);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.btn-submit {
    width: 100%;
    margin-top: 15px;
    font-size: 1.2rem;
    padding: 18px;
    border-radius: 4px;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    background: var(--neon); 
    color: #000; 
    font-weight: bold;
    transition: var(--transition);
}

.btn-submit:hover {
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
    background: #fff;
}

@media (max-width: 768px) {
    .glass-form { padding: 40px 20px; }
    .form-row { flex-direction: column; gap: 20px; }
}

/* ================== Footer ================== */
#main-footer {
    background: #02050a;
    color: var(--gray-text);
    padding: 60px 0 40px;
    border-top: 1px solid rgba(0, 240, 255, 0.1);
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    gap: 30px;
}

.footer-col.copyright-col { text-align: right; }
.footer-col.security-col { text-align: center; }
.footer-col.dev-col { text-align: left; }

#main-footer p { margin: 0; line-height: 1.6; }

#main-footer a {
    color: var(--light-text);
    text-decoration: none;
    transition: var(--transition);
}

#main-footer a:hover { 
    color: var(--neon); 
    text-shadow: 0 0 8px rgba(0,240,255,0.4); 
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center !important;
        gap: 20px;
    }
    .footer-col.copyright-col,
    .footer-col.dev-col { text-align: center; }
}

/* ================== Utilities: Scroll Animations ================== */
.fade-up { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-up.show { opacity: 1; transform: translateY(0); }

/* ================== Mobile Menu & Hamburger ================== */

/* הסתרת כפתור ההמבורגר והרקע במסכים גדולים */
.hamburger,
.nav-overlay {
    display: none;
}

/* כפתור ההמבורגר */
.hamburger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1002; /* חייב להיות מעל הכל */
    position: relative;
    display: none; /* כברירת מחדל מוסתר, יוצג במדיה קוורי */
    flex-direction: column;
    gap: 6px;
}

/* עיצוב 3 הפסים של ההמבורגר */
.hamburger .bar {
    width: 30px;
    height: 3px;
    background-color: var(--neon); /* שונה לניאון */
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55); /* אנימציה "קפיצית" ויפה */
}

/* מדיה קוורי - מובייל וטאבלט */
@media (max-width: 900px) {
    /* הצגת ההמבורגר */
    .hamburger {
        display: flex;
    }

    /* אנימציית הפיכת ההמבורגר ל-X (כשנוסף הקלאס active) 
    */
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
        background-color: #fff;
    }
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
        background-color: #fff;
    }

    /* עיצוב תפריט הצד (החלונית הצפה) 
    */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; /* מוסתר מחוץ למסך מימין */
        width: 75%;
        max-width: 350px;
        height: 100vh;
        background: rgba(5, 11, 20, 0.95); /* רקע כהה תואם לעיצוב החדש */
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-left: 1px solid rgba(0, 240, 255, 0.2); /* קו תאורה דק משמאל */
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
        display: flex;
        flex-direction: column;
        justify-content: center; /* ממרכז את הקישורים לאמצע המסך */
        transition: right 0.6s cubic-bezier(0.25, 1, 0.5, 1); /* החלקה חלקה ומהממת */
        z-index: 1001; /* מתחת להמבורגר אבל מעל הרקע */
    }

    /* כשהתפריט פתוח (מחליק פנימה) */
    .nav-links.active {
        right: 0;
    }

    /* סידור הקישורים בתוך תפריט המובייל */
    .nav-links ul {
        flex-direction: column;
        gap: 40px;
        padding: 0 40px;
        align-items: flex-start; /* מיישר לימין */
    }

    .nav-links a {
        font-size: 1.6rem;
        font-weight: 700;
        color: #fff;
    }

    .nav-links a:hover {
        color: var(--neon);
        text-shadow: 0 0 10px rgba(0, 240, 255, 0.5); /* הילה זוהרת */
        transform: translateX(-10px); /* הקישור זז קצת שמאלה (או ימינה תלוי בכיוון) כשמעבירים עליו אצבע/עכבר */
    }

    /* כפתור השפה במובייל */
    .btn-lang {
        font-size: 1.3rem !important;
        margin-top: 20px;
    }

    /* עיצוב שכבת ההחשכה מאחורי התפריט 
    */
    .nav-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.7); /* החשכה מעט יותר חזקה ללילה */
        backdrop-filter: blur(4px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
        z-index: 1000;
    }

    /* כשהתפריט פתוח, ההחשכה מופיעה */
    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

/* ================== Cookie Banner (Tech / Neon Theme) ================== */
.cookie-banner {
    position: fixed;
    bottom: 30px; left: 50%;
    transform: translateX(-50%);
    width: 90%; max-width: 650px;
    background: rgba(14, 23, 38, 0.85); /* כחול-עמוק שקוף */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 240, 255, 0.2); /* מסגרת ניאון עדינה */
    border-radius: 8px; /* זוויות חדות תעשייתיות */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 240, 255, 0.05);
    z-index: 9999;
    display: none;
    padding: 30px;
    text-align: center;
    animation: slideUpFade 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@keyframes slideUpFade {
    0% { opacity: 0; transform: translate(-50%, 50px); }
    100% { opacity: 1; transform: translate(-50%, 0); }
}

.cookie-content p {
    margin: 0 0 25px 0;
    color: var(--light-text);
    font-size: 1.05rem; line-height: 1.6;
}

.cookie-content a { 
    color: var(--neon); 
    text-decoration: underline; 
    font-weight: 600; 
    transition: var(--transition);
}
.cookie-content a:hover { text-shadow: 0 0 8px rgba(0, 240, 255, 0.5); }

.cookie-btns { display: flex; justify-content: center; gap: 20px; }

.cookie-btns button {
    padding: 12px 35px; border-radius: 4px;
    font-family: 'Assistant', sans-serif;
    font-size: 1rem; font-weight: 700;
    cursor: pointer; transition: var(--transition);
}

.btn-accept {
    background: var(--neon); color: #000;
    border: none; box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}
.btn-accept:hover {
    background: #fff; transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.6);
}

.btn-reject {
    background: transparent; color: var(--gray-text);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-reject:hover {
    border-color: var(--neon); color: var(--neon);
    background: rgba(0, 240, 255, 0.05);
}

/* ================== Accessibility Menu (Bottom Left - Tech Theme) ================== */
.acc-menu {
    position: fixed;
    bottom: 30px; left: 30px;
    z-index: 10000;
}

.acc-toggle {
    background: rgba(5, 11, 20, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 240, 255, 0.4);
    color: var(--neon);
    width: 60px; height: 60px;
    border-radius: 50%; font-size: 28px;
    cursor: pointer; 
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.6), inset 0 0 10px rgba(0, 240, 255, 0.1);
    transition: var(--transition);
    display: flex; align-items: center; justify-content: center;
}

.acc-toggle:hover {
    background: var(--neon); color: #000;
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.6);
}

.acc-options {
    position: absolute;
    bottom: 80px; left: 0;
    transform: translateY(20px) scale(0.95);
    transform-origin: bottom left;
    background: rgba(14, 23, 38, 0.95); /* כחול טכנולוגי עמוק */
    backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 240, 255, 0.15);
    padding: 25px; border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 240, 255, 0.05);
    display: flex; flex-direction: column; gap: 12px;
    width: 280px; max-height: 70vh; overflow-y: auto;
    opacity: 0; visibility: hidden; transition: var(--transition);
}

.acc-options.active {
    opacity: 1; visibility: visible;
    transform: translateY(0) scale(1);
}

.acc-options h4 {
    color: var(--neon); margin: 0 0 15px 0;
    font-size: 1.3rem; text-align: center;
    border-bottom: 1px solid rgba(0, 240, 255, 0.2); padding-bottom: 15px;
}

.acc-options button {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent; color: var(--light-text);
    padding: 12px 15px; cursor: pointer;
    font-family: 'Assistant', sans-serif; font-size: 1.05rem;
    border-radius: 4px; transition: var(--transition);
    text-align: right; display: flex; align-items: center; gap: 12px;
}

.acc-options button i {
    width: 20px; text-align: center;
    color: var(--neon); font-size: 1.1rem;
}

.acc-options button:hover {
    background: rgba(0, 240, 255, 0.05);
    border-color: rgba(0, 240, 255, 0.3); color: var(--neon);
    padding-right: 20px; text-shadow: 0 0 8px rgba(0, 240, 255, 0.3);
}

/* ================== Accessibility Logic States ================== */
body.keyboard-nav *:focus { outline: 3px solid var(--neon) !important; outline-offset: 2px !important; }

body.no-animations *, body.no-animations *::before, body.no-animations *::after {
    animation: none !important; transition: none !important; scroll-behavior: auto !important;
}

body.readable-font * { font-family: Arial, Helvetica, sans-serif !important; letter-spacing: 0.5px !important; }

body.highlight-headings h1, body.highlight-headings h2, body.highlight-headings h3, 
body.highlight-headings h4, body.highlight-headings h5, body.highlight-headings h6 {
    background-color: var(--neon) !important; color: #000 !important;
    border: 2px solid #000 !important; display: inline-block;
}

body.highlight-links a, body.highlight-links button {
    background-color: var(--neon) !important; color: #000 !important;
    text-decoration: underline !important; font-weight: bold !important;
    border: 2px solid #000 !important;
}

body.high-contrast { background-color: #000 !important; color: #fff !important; }
body.high-contrast * { background-color: #000 !important; color: var(--neon) !important; border-color: var(--neon) !important; }

/* ================== התאמות מיוחדות למובייל (Hero Section) ================== */
@media (max-width: 768px) {
    /* דחיפת התוכן המרכזי למטה כדי שההאדר לא יעלה עליו */
    .hero-content {
        padding-top: 100px; /* מרווח ביטחון מההאדר */
        padding-left: 15px;
        padding-right: 15px;
    }

    /* הקטנת כותרת ענקית */
    .hero-content h1 {
        font-size: 2.4rem; 
        margin-bottom: 15px;
        line-height: 1.2;
    }

    /* הקטנת פסקת תיאור */
    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }

    /* התאמת הכפתור למובייל */
    .btn-primary {
        padding: 12px 30px;
        font-size: 1rem;
        width: 100%; /* כפתור ברוחב מלא במובייל נראה יותר טוב */
        max-width: 280px; /* אבל לא רחב מדי */
    }

    /* התאמת ריווח אזור הקטגוריות למובייל */
    .categories-section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }
}

/* התאמה מיוחדת למסכים ממש קטנים (כמו אייפון SE) */
@media (max-width: 400px) {
    .hero-content h1 {
        font-size: 2rem;
    }
}

/* ================== התאמות האדר ולוגו למובייל ================== */
@media (max-width: 900px) {
    /* 1. מצב התחלתי במובייל (לפני גלילה) - קומפקטי יותר מהדסקטופ */
    #main-header {
        padding: 15px 0;
    }
    
    #main-header .logo img {
        max-height: 60px; /* לוגו מותאם למובייל */
    }

    /* 2. מצב גלילה במובייל - מינימליסטי ודק כדי לחסוך מקום במסך */
    #main-header.scrolled {
        padding: 10px 0;
    }
    
    #main-header.scrolled .logo img {
        max-height: 45px; /* לוגו ממש קטן בגלילה */
    }
    
    /* 3. יישור כפתור ההמבורגר לאמצע מול הלוגו */
    .hamburger {
        padding: 5px;
        margin-top: 8px; /* דחיפה קלה למטה שיישב בקו אחד עם הלוגו */
    }
}

/* ================== תיקוני טופס: יישור טלפון והתאמה למובייל ================== */

/* 1. תיקון שדה הטלפון: אילוץ יישור לימין עבור הטקסט בעברית */
.glass-form input[type="tel"] {
    text-align: right;
    direction: rtl;
}

/* בונוס UX: כשמתחילים להקליד את המספר, הכיוון מתהפך לשמאל כדי שהמספרים יסתדרו נכון */
.glass-form input[type="tel"]:focus {
    direction: ltr;
    text-align: left;
}

/* 2. הגדלת השדות והטופס במסכי מובייל */
@media (max-width: 768px) {
    .contact-form.glass-form {
        padding: 35px 20px;
        gap: 20px;
    }
    
    .glass-form input,
    .glass-form textarea {
        padding: 16px 20px; /* שטח לחיצה גדול ונוח יותר לאצבע */
        font-size: 16px !important; /* קריטי: מונע זום אוטומטי באייפון (iOS) */
        border-radius: 6px;
    }
    
    /* מרווח נשימה לשורת השם והטלפון שהופכת לעמודה במובייל */
    .form-row {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .btn-submit {
        padding: 18px;
        font-size: 1.2rem;
        margin-top: 10px;
    }
}

/* ================== About Overview Section (Tech Text Block) ================== */
.about-overview-section {
    padding: 100px 0 20px;
    background: var(--dark-bg);
    position: relative;
    z-index: 5;
}

/* רקע של "רשת הנדסית" שקופה מאחורי הטקסט */
.about-overview-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
    pointer-events: none;
}

.about-overview-content {
    position: relative;
    z-index: 1;
    background: rgba(14, 23, 38, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 240, 255, 0.15);
    border-right: 4px solid var(--neon); /* פס ניאון עבה בצד ימין למראה תעשייתי */
    border-radius: 8px;
    padding: 60px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), inset 0 0 30px rgba(0, 240, 255, 0.03);
    display: grid;
    grid-template-columns: 1.6fr 1fr; /* חלוקה לטקסט ולגרפיקה */
    gap: 50px;
    align-items: center;
}

/* עיצוב הטקסטים */
.overview-text h2 {
    color: #fff;
    font-size: 2.2rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.overview-text h2 i {
    color: var(--neon);
    text-shadow: 0 0 15px var(--neon);
}

.overview-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--gray-text);
    margin-bottom: 20px;
}

.overview-text p strong {
    color: #fff;
}

/* הבלטת פסקת ה-LED */
.highlight-p {
    background: rgba(0, 240, 255, 0.05);
    padding: 25px;
    border-radius: 6px;
    border: 1px solid rgba(0, 240, 255, 0.2);
    color: var(--light-text);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-top: 35px;
    box-shadow: inset 0 0 20px rgba(0, 240, 255, 0.05);
}

.highlight-p span {
    line-height: 1.6;
    font-size: 1.1rem;
}

.highlight-p strong {
    color: var(--neon);
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.4);
}

.highlight-p i {
    font-size: 2rem;
    color: var(--neon);
    margin-top: 5px;
    filter: drop-shadow(0 0 10px var(--neon));
}

/* אלמנט הגרפיקה: מעגל טכנולוגי זורח */
.overview-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tech-circle-wrapper {
    position: relative;
    width: 280px;
    height: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: 2px dashed rgba(0, 240, 255, 0.3);
    animation: spinSlow 30s linear infinite; /* מסתובב לאט */
}

/* שומר שהאייקון בפנים יישאר ישר למרות הסיבוב */
.tech-circle-inner {
    width: 160px;
    height: 160px;
    background: rgba(0, 240, 255, 0.08);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.3);
    border: 1px solid rgba(0, 240, 255, 0.4);
    animation: spinSlowReverse 30s linear infinite, pulseNeon 4s infinite alternate;
}

.tech-circle-inner i {
    font-size: 4.5rem;
    color: #fff;
    filter: drop-shadow(0 0 15px var(--neon));
}

/* אנימציות למעגל */
@keyframes spinSlow { 100% { transform: rotate(360deg); } }
@keyframes spinSlowReverse { 100% { transform: rotate(-360deg); } }
@keyframes pulseNeon {
    0% { box-shadow: 0 0 20px rgba(0, 240, 255, 0.2); }
    100% { box-shadow: 0 0 60px rgba(0, 240, 255, 0.6); }
}

/* התאמה רספונסיבית מושלמת למובייל וטאבלט */
@media (max-width: 992px) {
    .about-overview-content {
        grid-template-columns: 1fr; /* שובר לשורה אחת מעל השנייה */
        padding: 40px 25px;
        gap: 40px;
    }

    .overview-text h2 {
        font-size: 1.8rem;
    }

    .overview-visual {
        order: -1; /* במובייל, הגרפיקה תופיע מעל הטקסט! */
    }

    .tech-circle-wrapper {
        width: 200px;
        height: 200px;
    }

    .tech-circle-inner {
        width: 120px;
        height: 120px;
    }

    .tech-circle-inner i {
        font-size: 3rem;
    }
}