/* ===== style.css - PREMIUM DARK AI THEME ===== */

:root {
  /* צבעי רקע עמוקים - משדר טכנולוגיה ויוקרה */
  --bg-core: #050508;
  --bg-gradient: radial-gradient(circle at 50% 0%, #1a1a2e 0%, #050508 70%);
  
  /* אפקט זכוכית (Glassmorphism) */
  --surface: rgba(255, 255, 255, 0.03);
  --surface-hover: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.1);
  
  /* צבעי מותג */
  --gold: #D4AF37;
  --gold-glow: 0 0 20px rgba(212, 175, 55, 0.3);
  --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #F5D060 100%);
  --blue-accent: #3b82f6; /* לפעולות משניות */

  /* טיפוגרפיה */
  --font-main: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --text-main: #ffffff;
  --text-muted: #a0a0b0;
}

/* איפוס והגדרות בסיס */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; padding: 0;
  font-family: var(--font-main);
  background: var(--bg-core);
  background-image: var(--bg-gradient);
  background-attachment: fixed; /* הרקע נשאר קבוע בגלילה */
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: 0.3s ease; }
ul { list-style: none; padding: 0; margin: 0; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 2; }

/* --- כותרות חזקות --- */
h1, h2, h3 { margin: 0 0 15px; font-weight: 800; line-height: 1.2; }

.main-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem); /* רספונסיבי */
  background: linear-gradient(to bottom, #ffffff 40%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
  /* מונע חיתוך טקסט */
  padding-bottom: 10px; 
}

.section-title {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}
.section-title::after {
  content: ''; display: block; width: 80px; height: 4px;
  background: var(--gold);
  margin: 10px auto 0;
  border-radius: 2px;
  box-shadow: var(--gold-glow);
}

/* --- כפתורים ממירים (CTA) --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700; font-size: 1.1rem;
  background: var(--gold-gradient);
  color: #000;
  box-shadow: var(--gold-glow);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative; overflow: hidden;
  border: none; cursor: pointer;
}
.btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: #fff;
  box-shadow: none;
}
.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* --- כרטיסיות Glassmorphism --- */
.card {
  background: var(--surface);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
  height: 100%;
  display: flex; flex-direction: column;
}
.card:hover {
  transform: translateY(-10px);
  background: var(--surface-hover);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card:hover .card-img { transform: scale(1.05); }

.card-content { padding: 25px; flex: 1; display: flex; flex-direction: column; }
.card h3 { font-size: 1.4rem; color: #fff; }
.card p { font-size: 1rem; color: var(--text-muted); flex: 1; }

/* תגיות KPI (תוצאות) */
.kpi-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 15px; }
.kpi {
  font-size: 0.85rem; font-weight: bold;
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold);
  padding: 5px 12px; border-radius: 99px;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

/* --- גריד רספונסיבי --- */
.grid { display: grid; gap: 24px; }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

/* --- כפתורים צפים (מתוקן לימין) --- */
.floating-actions {
  position: fixed;
  right: 20px; /* צד ימין - קריטי ל-UX */
  bottom: 25px;
  z-index: 1000;
  display: flex; flex-direction: column; gap: 15px;
}
.float-btn {
  width: 60px; height: 60px;
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.5);
  transition: 0.3s;
}
.float-btn svg { width: 30px; height: 30px; fill: white; }
.btn-wa { background: #25D366; }
.btn-phone { background: var(--blue-accent); }
.float-btn:hover { transform: scale(1.1); }

/* --- Footer --- */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0; text-align: center;
  font-size: 0.9rem; color: var(--text-muted);
  background: #020203;
}
