/* pages/landing/computer-3d/css/hero.css
   Hero section: tag, sub, cta-primary, model-frame, model-badge.
*/

/* ─── HERO ──────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: white;
  padding: 50px 20px 70px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  inset-inline-start: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(246,166,126,0.15), transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
}
.hero-tag {
  display: inline-block;
  background: rgba(246,166,126,0.15);
  color: var(--orange);
  border: 1.5px solid var(--orange);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero h1 .hl {
  color: var(--orange);
  position: relative;
  display: inline-block;
}
.hero h1 .hl::after {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  bottom: -2px;
  width: 100%;
  height: 6px;
  background: var(--orange);
  opacity: 0.3;
  border-radius: 3px;
}
.hero-sub {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 32px;
  line-height: 1.65;
}
.hero-sub strong { color: var(--orange-light); }

.hero-cta-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
/* CTA tagline (חדש 26/5/2026, אחרי התייעצות עם Gemini + GPT),
   הוצאת שורת המבצע מתוך הכפתור ושמה מעליו כטקסט עזר. הכפתור עצמו
   נשאר נקי עם פעולה אחת ברורה. הקהל 50-75 קורא 2 אלמנטים נפרדים
   מהר יותר מאשר כפתור עמוס. */
.cta-tagline {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  margin-bottom: 14px;
  letter-spacing: 0.005em;
}
.cta-tagline strong {
  font-weight: 800;
  color: white;
}
.cta-tagline .cta-tagline-price {
  color: var(--orange-light);
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}
.cta-tagline s {
  opacity: 0.6;
  font-weight: 500;
}

.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--orange-deep);
  color: white;
  border: none;
  padding: 20px 40px;
  border-radius: 14px;
  font-size: 1.22rem;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(232,133,74,0.4);
  transition: all 0.2s;
  text-decoration: none;
  animation: cta-pulse 2.5s ease-in-out infinite;
  text-align: center;
  white-space: nowrap;
}
.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(232,133,74,0.5);
}
@keyframes cta-pulse {
  0%,100% { box-shadow: 0 12px 30px rgba(232,133,74,0.4); }
  50% { box-shadow: 0 12px 30px rgba(232,133,74,0.4), 0 0 0 12px rgba(232,133,74,0.15); }
}
.cta-sub {
  display: flex;
  gap: 18px;
  font-size: 0.9rem;
  /* 0.92 במקום 0.75 כדי לעבור WCAG AA על navy (4.5:1).
     27/5/2026, ישיבת קבינט. */
  color: rgba(255,255,255,0.92);
  flex-wrap: wrap;
}
.cta-sub span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ─── HERO VISUAL ──────────────────────────────────────────
   הצד הימני של ה-hero (RTL) כעת מכיל .hero-3d-wrap עם המנגנון
   החדש של Tap to Interact (video → model-viewer). הסגנונות
   המלאים ב-css/inline-3d.css. */

/* ─── MOBILE LAYOUT ────────────────────────────────────────
   על מובייל (90% מהתעבורה), ה-grid נופל ל-stack אחיד, הטקסט
   קודם ואז ה-3D wrap. ה-aspect-ratio: 1/1 על ה-wrap נשמר
   (ב-inline-3d.css). מצמצמים padding לחיסכון במקום. */
@media (max-width: 760px) {
  .hero {
    padding: 30px 16px 50px;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .hero h1 {
    text-align: center;
  }
  .hero-sub {
    text-align: center;
    font-size: 1.05rem;
  }
  .hero-cta-wrap {
    align-items: center;
  }
  .cta-tagline {
    text-align: center;
    font-size: 0.95rem;
    margin-bottom: 12px;
    line-height: 1.65;
  }
  .cta-tagline .cta-tagline-price {
    font-size: 1.05rem;
  }
  .cta-primary {
    padding: 18px 28px;
    font-size: 1.1rem;
    width: 100%;
    max-width: 360px;
    justify-content: center;
    white-space: normal;
  }
  .cta-sub {
    justify-content: center;
    font-size: 0.82rem;
    gap: 12px;
  }
  .hero-tag {
    display: block;
    width: fit-content;
    margin-inline: auto;
    margin-bottom: 16px;
  }
}

