/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:       #1a6ef5;
  --blue-dark:  #1254c4;
  --blue-light: #e8f0fe;
  --teal:       #0ec4c4;
  --dark:       #0d1b2a;
  --gray:       #4b5563;
  --light-gray: #f8faff;
  --white:      #ffffff;
  --shadow:     0 4px 24px rgba(26,110,245,.12);
  --radius:     14px;
  --transition: .25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Heebo', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.65;
  direction: rtl;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,110,245,.35); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline:hover { background: rgba(255,255,255,.15); }

.btn-lg { padding: 16px 34px; font-size: 17px; }
.btn-block { width: 100%; justify-content: center; }

/* ===== PULSE ANIMATION ===== */
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(26,110,245,.5); }
  50%      { box-shadow: 0 0 0 16px rgba(26,110,245,0); }
}
.pulse { animation: pulse 2.2s infinite; }

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0; right: 0; left: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26,110,245,.08);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.08); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-icon { font-size: 28px; }
.logo-title { display: block; font-size: 18px; font-weight: 800; color: var(--blue); line-height: 1.1; }
.logo-sub   { display: block; font-size: 11px; color: var(--gray); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links li a {
  font-size: 15px;
  font-weight: 500;
  color: var(--dark);
  transition: color var(--transition);
}
.nav-links li a:hover { color: var(--blue); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 0 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0d1b2a 0%, #1a3a6e 50%, #1a6ef5 100%);
  z-index: -1;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(14,196,196,.18) 0%, transparent 70%);
}

.hero-content {
  text-align: center;
  color: var(--white);
  padding-bottom: 80px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero-content h1 {
  font-size: clamp(42px, 7vw, 80px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
}
.highlight {
  background: linear-gradient(135deg, var(--teal), #4af);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: clamp(16px, 2vw, 20px);
  opacity: .85;
  max-width: 560px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: 20px 40px;
  display: inline-flex;
}
.stat { text-align: center; }
.stat strong { display: block; font-size: 28px; font-weight: 900; }
.stat span   { font-size: 13px; opacity: .75; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,.2); }

.hero-wave {
  position: absolute;
  bottom: 0; right: 0; left: 0;
}
.hero-wave svg { display: block; width: 100%; }

/* ===== SECTIONS ===== */
.section { padding: 88px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
  letter-spacing: .5px;
}
.section-header h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; margin-bottom: 12px; }
.section-header p  { font-size: 17px; color: var(--gray); max-width: 520px; margin: 0 auto; }

/* ===== GRID ===== */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ===== CARDS ===== */
.card {
  position: relative;
  background: var(--white);
  border: 1.5px solid #e5ecf8;
  border-radius: 20px;
  padding: 36px 28px;
  transition: var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--blue); }
.card-featured {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white);
  border-color: transparent;
}
.card-featured:hover { border-color: transparent; }
.card-badge {
  position: absolute;
  top: -12px; right: 24px;
  background: var(--teal);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
}
.card-icon { font-size: 40px; margin-bottom: 16px; }
.card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.card p  { font-size: 15px; opacity: .8; margin-bottom: 16px; }
.card-list li {
  font-size: 14px;
  padding: 4px 0;
  opacity: .85;
}
.card-list li::before { content: '✓ '; color: var(--teal); font-weight: 700; }
.card-featured .card-list li::before { color: #7ff; }

/* ===== WHY US ===== */
.why-us { background: var(--light-gray); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.why-text h2 { font-size: clamp(26px, 3.5vw, 38px); font-weight: 800; margin: 12px 0 16px; }
.why-text > p { color: var(--gray); margin-bottom: 32px; font-size: 16px; }

.features { display: flex; flex-direction: column; gap: 24px; }
.feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feature-icon { font-size: 28px; flex-shrink: 0; }
.feature h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.feature p  { font-size: 14px; color: var(--gray); }

/* Visual card */
.why-visual { position: relative; }
.visual-card {
  background: var(--dark);
  color: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(13,27,42,.35);
}
.vc-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  background: rgba(255,255,255,.06);
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.vc-body { padding: 20px; position: relative; }

.scan-line {
  position: absolute;
  top: 0; right: 0; left: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  animation: scan 2s linear infinite;
}
@keyframes scan {
  0%   { top: 0; }
  100% { top: 100%; }
}

.scan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.sg-cell {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  padding: 12px 8px;
  font-size: 12px;
  text-align: center;
  color: rgba(255,255,255,.55);
}
.sg-cell.detected {
  background: rgba(255,80,80,.15);
  border-color: rgba(255,80,80,.4);
  color: #ff8080;
  font-weight: 700;
  animation: blink 1.2s ease-in-out infinite;
}
@keyframes blink {
  0%,100% { opacity: 1; }
  50%      { opacity: .5; }
}
.vc-footer {
  padding: 12px 20px;
  font-size: 12px;
  color: rgba(255,255,255,.45);
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  gap: 8px;
}
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
  animation: blink 1.5s infinite;
}

.testimonial-bubble {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--white);
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  max-width: 240px;
}
.testimonial-bubble p  { font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.testimonial-bubble span { font-size: 12px; color: var(--blue); }

/* ===== PROCESS ===== */
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.step {
  flex: 1;
  min-width: 160px;
  text-align: center;
  padding: 0 16px;
}
.step-num {
  width: 56px; height: 56px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  margin: 0 auto 16px;
  box-shadow: 0 6px 20px rgba(26,110,245,.35);
}
.step h4 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step p  { font-size: 14px; color: var(--gray); }
.step-arrow {
  font-size: 24px;
  color: var(--blue);
  opacity: .4;
  align-self: flex-start;
  padding-top: 16px;
}

/* ===== CONTACT ===== */
.contact { background: var(--light-gray); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info h2 { font-size: clamp(26px, 3.5vw, 38px); font-weight: 800; margin: 12px 0 16px; }
.contact-info > p { color: var(--gray); margin-bottom: 32px; }

.contact-methods { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius);
  border: 1.5px solid #e5ecf8;
  transition: var(--transition);
}
a.contact-item:hover { border-color: var(--blue); transform: translateX(-4px); box-shadow: var(--shadow); }
.ci-icon { font-size: 24px; }
.contact-item strong { display: block; font-size: 14px; font-weight: 700; }
.contact-item span   { font-size: 15px; color: var(--blue); }

/* Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 4px 32px rgba(26,110,245,.08);
  border: 1.5px solid #e5ecf8;
}
.contact-form h3 { font-size: 20px; font-weight: 700; margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--gray); }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e5ecf8;
  border-radius: 10px;
  font-family: 'Heebo', sans-serif;
  font-size: 15px;
  color: var(--dark);
  transition: border-color var(--transition);
  outline: none;
  direction: rtl;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--blue); }
.form-group textarea { resize: vertical; }
.form-success {
  display: none;
  margin-top: 14px;
  text-align: center;
  font-weight: 600;
  color: #16a34a;
  background: #dcfce7;
  padding: 12px;
  border-radius: 10px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer .logo-title { color: var(--white); }
.footer-copy  { font-size: 13px; }
.footer-phone { font-size: 16px; font-weight: 700; color: var(--teal); }
.footer-phone:hover { color: var(--white); }

/* ===== FLOATING CTA ===== */
.floating-cta {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 58px; height: 58px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 6px 24px rgba(26,110,245,.45);
  animation: pulse 2.2s infinite;
  transition: transform var(--transition);
  z-index: 200;
}
.floating-cta:hover { transform: scale(1.1); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .grid-3     { grid-template-columns: 1fr; }
  .why-grid   { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .testimonial-bubble { display: none; }
  .steps { gap: 0; }
  .step-arrow { display: none; }
  .step { min-width: 50%; }
}

@media (max-width: 640px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 70px; right: 0; left: 0; background: var(--white); padding: 20px 24px; border-top: 1px solid #e5ecf8; box-shadow: 0 8px 24px rgba(0,0,0,.08); gap: 16px; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .hero-stats { flex-direction: column; gap: 16px; padding: 20px; }
  .stat-divider { width: 40px; height: 1px; }
  .step { min-width: 100%; }
  .contact-form-wrap { padding: 24px 18px; }
}
