/* --- משתנים ועיצוב בסיסי --- */
:root {
    --primary-color: #0d1b3e; /* כחול עמוק מהלוגו */
    --accent-color: #d6336c;  /* ורוד/מג'נטה מהלוגו */
    --bg-color: #f8f9fa;
    --text-color: #333;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

/* הגדרות בסיסיות לאייקונים */
.material-symbols-outlined {
  font-size: 48px; /* גודל האייקון */
  vertical-align: middle;
}

/* המחלקה שהופכת את האייקון ל"מפואר" וצבעוני */
.fancy-icon {
  /* כאן מגדירים את הטקסט כשקוף כדי שהרקע ייראה דרכו */
  color: transparent; 
  -webkit-text-fill-color: transparent; /* תמיכה לדפדפנים שונים */
  
  /* כאן "גוזרים" את הרקע לפי צורת האייקון */
  background-clip: text;
  -webkit-background-clip: text;
}
/* מיישר את האזור של האייקון */
.icon-wrapper {
    height: 90px;           /* קבע גובה שמתאים לאייקון הכי גבוה שלך */
    display: flex;          /* שימוש בפלקס ליישור */
    align-items: center;    /* מירכוז אנכי */
    justify-content: center;/* מירכוז אופקי */
    margin-bottom: 10px;    /* רווח קבוע מהכותרת */
}

/* מיישר את האזור של הכותרת */
.card-title {
    min-height: 3.5rem;     /* גובה שמספיק ל-2 שורות כותרת */
    display: flex;
    align-items: flex-start; /* הטקסט מתחיל מלמעלה */
    justify-content: center;
    margin-bottom: 0.5rem;
}
/* צבעים ספציפיים לצ'אט - גוונים של כחול/טורקיז */
.chat-gradient {
  background-image: linear-gradient(45deg, #2196F3, #00BCD4);
}

/* צבעים ספציפיים לאחסון - גוונים של כתום/זהב/אדום */
.storage-gradient {
  background-image: linear-gradient(135deg, #FFC107, #FF5722);
}
/* גרדיאנט שחור */
.black-gradient {
  background-image: linear-gradient(135deg, #000000, #434343);
}

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

body {
    font-family: 'Heebo', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- Header / תפריט עליון --- */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- עדכון לוגו תמונה --- */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px; /* גובה מותאם לתפריט העליון */
    width: auto;  /* שומר על פרופורציה */
    object-fit: contain;
}

/* אפשר למחוק את .logo span הישן, הוא לא בשימוש יותר */

@media (min-width: 768px) {
    .nav-links {
        display: flex;
        gap: 2rem;
    }
    .nav-links a {
        font-weight: 500;
        transition: var(--transition);
    }
    .nav-links a:hover {
        color: var(--accent-color);
    }
}

.cta-button-small {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1.2rem;
    border-radius: 5px;
    font-weight: bold;
    transition: var(--transition);
}

.cta-button-small:hover {
    background-color: var(--accent-color);
}

/* --- Hero Section / חלק עליון --- */
.hero {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    padding: 3rem 5%;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 80vh;
    text-align: center;
}

@media (min-width: 992px) {
    .hero {
        flex-direction: row;
        text-align: right;
        justify-content: space-between;
    }
    .hero-content {
        width: 50%;
        padding-left: 2rem;
    }
    .hero-image {
        width: 45%;
    }
}

.hero h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 900;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #555;
}

.cta-main {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(214, 51, 108, 0.3);
    transition: var(--transition);
}

.cta-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(214, 51, 108, 0.5);
}

.hero-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* --- Features / יתרונות --- */
.features {
    padding: 4rem 5%;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 0.5rem auto;
    border-radius: 2px;
}

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

.feature-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
    transition: var(--transition);
    border: 1px solid #eee;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

/* --- Gallery / Carousel Styles (מתוקן) --- */
.gallery-section {
    padding: 4rem 5%;
    background-color: var(--white);
    text-align: center;
}

.carousel-container {
    max-width: 800px;
    /* חובה כדי שהכפתורים יתמקמו ביחס לקרוסלה ולא לדף */
    position: relative; 
    margin: auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    /* תיקון לכיוון: מאפס את הכיוון בתוך הקרוסלה כדי שהחצים לא יתבלבלו */
    direction: ltr; 
    background-color: #fff;
}

.carousel-slide {
    display: none;
    width: 100%;
}

/* תיקון גודל תמונות אחיד */
.carousel-slide img {
    width: 100%;
    height: 400px;           /* גובה קבוע לכל התמונות בדסקטופ */
    object-fit: contain;     /* התאמת התמונה למסגרת ללא מתיחה */
    display: block;
    margin: 0 auto;
    background-color: #fff;  /* רקע לבן למקרה שהתמונה צרה */
}

/* כפתורי ניווט */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.6s ease;
    border-radius: 3px;
    user-select: none;
    background-color: rgba(0,0,0,0.4); /* רקע כהה */
    z-index: 10; /* מוודא שהם מעל התמונה */
    text-decoration: none;
}

/* מיקום מפורש */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev {
    left: 0;
    border-radius: 0 3px 3px 0;
}

.prev:hover, .next:hover {
    background-color: var(--accent-color);
}

/* נקודות ניווט בתחתית */
.dots-container {
    text-align: center;
    padding-top: 15px;
    direction: rtl; /* מחזיר כיוון לעברית עבור הנקודות */
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 4px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active-dot, .dot:hover {
    background-color: var(--primary-color);
}

/* התאמה למובייל של הגלריה */
@media (max-width: 768px) {
    .carousel-slide img {
        height: 300px; /* גובה קטן יותר במובייל */
    }
}

/* --- Specs / מפרט טכני --- */
.specs {
    padding: 4rem 5%;
    background-color: #f1f3f5;
}

.specs-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.spec-row {
    display: flex;
    border-bottom: 1px solid #eee;
    padding: 1rem;
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-label {
    font-weight: bold;
    width: 40%;
    color: var(--primary-color);
}
.sub-row {
    border-bottom: 1px solid #ddd; /* קו מפריד */
    padding: 5px 0;                /* קצת אוויר בין השורות */
    width: 100%;                   /* שיתפוס את כל רוחב העמודה */
}
.sub-row:last-child {
    border-bottom: none;
}

.spec-value {
    width: 60%;
    color: #555;
}

/* --- Footer --- */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 5%;
    text-align: center;
}

.footer-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-info {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.contact-phone {
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.5rem;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1rem;
}

/* --- Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

/* מיכל האייקונים */
.contact-icons {
    display: flex;
    justify-content: center;
    gap: 25px;           /* רווח בין האייקונים */
    margin-top: 20px;
    margin-bottom: 20px;
}

/* הגדרות גודל לאייקונים (SVG) */
.icon-link svg {
    width: 48px;         /* גודל האייקון */
    height: 48px;
    transition: transform 0.3s ease; /* אנימציה חלקה */
}

/* אפקט גדילה בלחיצה/מעבר עכבר */
.icon-link:hover svg {
    transform: scale(1.1);
}
/* הגדרות לקופסה שעוטפת את השאלות */
.questions-container {
    margin-top: 40px;    /* יוצר רווח גדול מהכותרת הראשית */
    margin-bottom: 50px; /* יוצר רווח גדול מהכפתורים למטה */
}

/* הגדרות לכל הפסקאות (השאלות) הרגילות */
.questions-container p {
    margin-bottom: 5px;  /* רווח קטנטן בין שורה לשורה */
    margin-top: 0;       /* ביטול רווחים מיותרים */
    font-size: 1.2rem;   /* גודל טקסט קריא */
    opacity: 0.9;        /* צבע מעט עדין יותר לשאלות הרגילות */
}

/* הגדרות מיוחדות לשורה האחרונה (התשובה) */
.questions-container .highlight-row {
    font-size: 1.6rem;   /* טקסט גדול יותר משמעותית */
    font-weight: 800;    /* כתב מודגש מאוד */
    margin-top: 15px;    /* קצת רווח מהשאלות הקודמות */
    color: #000;         /* שחור מלא ובולט */
    opacity: 1;
}

