/* --- משתני צבעים - Dark Tech Theme --- */
:root {
    --bg-dark: #05070a; /* כמעט שחור עתידני */
    --bg-accent: #0a0e14; /* אפור-כחול כהה */
    --text-main: #e0e6ed; /* לבן-אפור רך */
    --text-muted: #9ca3af;
    --primary: #2563eb; /* כחול טכנולוגי */
    --primary-glow: rgba(37, 99, 235, 0.5);
    --secondary: #a855f7; /* סגול ניאון */
    --secondary-glow: rgba(168, 85, 247, 0.4);
    --border-tech: rgba(255, 255, 255, 0.08);
    
    --font-main: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --border-radius-sm: 4px;
    --border-radius-lg: 12px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- הגדרות בסיס --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--bg-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased; /* פיקסל פרפקט */
}

.container { width: 92%; max-width: 1400px; margin: 0 auto; padding: 4rem 0; }
.text-center { text-align: center; }
.bg-dark-accent { background-color: var(--bg-accent); }

/* --- טקסטים דולקים (Glow Effects) --- */
.glow-text {
    font-size: 3.5rem; font-weight: 800; line-height: 1.1;
    background: linear-gradient(135deg, #fff 0%, var(--primary) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px var(--primary-glow);
    margin-bottom: 1.5rem;
}
.glow-text-sm {
    font-size: 2.2rem; font-weight: 700;
    color: #fff; text-shadow: 0 0 20px var(--primary-glow);
    margin-bottom: 1rem;
}
.subtitle { color: var(--secondary); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 0.5rem; }

/* --- כפתורים מתקדמים --- */
.btn {
    display: inline-block; padding: 0.8rem 2rem; border-radius: var(--border-radius-sm);
    font-weight: 700; cursor: pointer; transition: var(--transition); font-size: 1rem;
    border: none; position: relative; overflow: hidden;
}
.btn-primary { background-color: var(--primary); color: #fff; }
.btn-primary:hover { background-color: #1d4ed8; transform: translateY(-2px); }
.btn-glow { box-shadow: 0 0 20px var(--primary-glow); }
.btn-glow:hover { box-shadow: 0 0 30px var(--primary-glow); }
.btn-outline { border: 2px solid var(--border-tech); color: var(--text-main); background: transparent; }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.05); }

/* --- אזור Hero והאנימציה --- */
.hero-section { position: relative; padding: 10rem 0 8rem; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100vh; }
.animation-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; opacity: 0.6; /* התאמה לאווירה הכהה */ }
.hero-concept-fallback { width: 100%; height: 100%; object-fit: cover; }
.hero-content { position: relative; z-index: 1; max-width: 900px; }
.hero-subtitle { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 3rem; max-width: 700px; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; }

/* --- אלמנטים ויזואליים הייטק --- */
.tech-border {
    border: 1px solid var(--border-tech);
    position: relative; border-radius: var(--border-radius-lg);
    background: rgba(255,255,255,0.01);
}
.tech-border::before { /* אפקט הילה בפינה */
    content: ''; position: absolute; top: -1px; left: -1px; width: 40px; height: 40px;
    border-top: 2px solid var(--primary); border-left: 2px solid var(--primary);
    border-radius: var(--border-radius-lg) 0 0 0;
}

/* --- מודולים (כרטיסיות טכנולוגיות) --- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.tech-card {
    background-color: var(--bg-dark); padding: 2.5rem;
    border-radius: var(--border-radius-lg); border: 1px solid var(--border-tech);
    transition: var(--transition); position: relative;
}
.tech-card:hover {
    border-color: var(--primary); transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.15);
}
.tech-card h3 { font-size: 1.5rem; margin-bottom: 1rem; color: #fff; }

/* --- תמחור --- */
.pricing-grid { margin-top: 4rem; }
.pricing-card { padding: 3rem 2rem; display: flex; flex-direction: column; justify-content: space-between; }
.pricing-card h3 { font-size: 1.8rem; color: var(--secondary); margin-bottom: 0.5rem; }
.price { font-size: 3rem; font-weight: 800; color: #fff; margin: 1.5rem 0; }
.price span { font-size: 1rem; color: var(--text-muted); }
.pricing-card ul { text-align: right; list-style: none; margin-bottom: 2rem; color: var(--text-muted); }
.pricing-card li { margin-bottom: 0.75rem; position: relative; padding-right: 1.5rem; }
.pricing-card li::before { content: '✓'; position: absolute; right: 0; color: var(--primary); }

/* --- רספונסיביות מושלמת (פיקסל פרפקט במובייל) --- */
@media (max-width: 1024px) {
    .glow-text { font-size: 2.8rem; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    :root { padding: 1rem; } /* הגדלת שוליים למובייל */
    .hero-section { padding: 8rem 0 5rem; }
    .glow-text { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .hero-actions { flex-direction: column; width: 100%; max-width: 300px; }
    
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 1.5rem; }
    .image-side { order: -1; } /* תמונה לפני טקסט במובייל */
    .glow-text-sm { font-size: 1.8rem; }
    
    .tech-card { padding: 2rem; }
}