/* ============================================================
   TAGHLEEFY HERO — v4.0  |  Real Product-Photo Background  |  RTL
   ============================================================ */

:root {
  --tagh-ink-900:     #0A121F;
  --tagh-ink-700:     #16283F;
  --tagh-navy-3:      #1E2A3B;
  --tagh-teal:        #0E9F9A;
  --tagh-teal-hover:  #0C8580;
  --tagh-teal-dim:    rgba(14,159,154,0.14);
  --tagh-amber:       #C68A2E;
  --tagh-amber-dim:   rgba(198,138,46,0.14);
  --tagh-text:        #E2E8F0;
  --tagh-muted:       #94A3B8;
  --tagh-white:       #FFFFFF;
  --tagh-ease:        220ms cubic-bezier(0.2,0,0.2,1);
  --tagh-glow-teal:   0 0 32px rgba(14,159,154,0.30);
}

/* ── Reset ── */
.tagh-hero, .tagh-hero * { box-sizing: border-box; }
.tagh-hero a { text-decoration: none; }

/* ── Wrapper ── */
.tagh-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background-color: var(--tagh-ink-900);
  background-image: url('https://taghleefy.com/wp-content/uploads/2026/07/taghleefy-hero-packaging-printing-products.png.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  direction: rtl;
  color: var(--tagh-text);
  font-family: 'Tajawal', 'Cairo', 'Segoe UI', system-ui, sans-serif;
}

/* ── Navy overlay: strong behind the copy, lighter over the product photo ── */
.tagh-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg,
    rgba(10,18,31,.34) 0%,
    rgba(10,18,31,.38) 25%,
    rgba(10,18,31,.55) 45%,
    rgba(10,18,31,.80) 62%,
    rgba(10,18,31,.85) 100%);
}

/* ── Main layout ── */
.tagh-hero__container {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 96px 40px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.tagh-hero__content { min-width: 0; max-width: 640px; }

/* Badge */
.tagh-hero__badge-row {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
  animation: taghFadeDown .65s ease both;
}
.tagh-hero__badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: #DFF6F4;
  background: var(--tagh-teal-dim);
  border: 1px solid rgba(14,159,154,.42);
  box-shadow: 0 0 24px rgba(14,159,154,.25), inset 0 0 14px rgba(14,159,154,.10);
}
.tagh-hero__badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--tagh-teal);
  box-shadow: 0 0 10px var(--tagh-teal);
  animation: taghGlowPulse 2s ease-in-out infinite;
}
.tagh-hero__badge-icon { width: 15px; height: 15px; flex-shrink: 0; }

/* Title */
.tagh-hero__title {
  margin: 0 0 22px;
  font-weight: 900;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.15;
  color: #F3F7FC;
  letter-spacing: -.5px;
  text-wrap: balance;
  animation: taghFadeUp .7s ease .1s both;
}
.tagh-hero__title-hl {
  display: block;
  background: linear-gradient(100deg, var(--tagh-teal), #52D9D1 55%, var(--tagh-teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Subtitle */
.tagh-hero__subtitle {
  margin: 0 0 40px;
  max-width: 560px;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.8;
  color: #A9B8CF;
  font-weight: 400;
  animation: taghFadeUp .7s ease .2s both;
}

/* CTA */
.tagh-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 44px;
  animation: taghFadeUp .7s ease .3s both;
}
.tagh-hero__cta {
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  border-radius: 12px;
  transition: transform .16s cubic-bezier(0.2,0,0.2,1), background .16s, box-shadow .16s, border-color .16s;
}
.tagh-hero__cta:active { transform: translateY(1px); }

.tagh-hero__cta--primary {
  padding: 16px 30px;
  font-weight: 800;
  color: #fff;
  background: var(--tagh-teal);
  border: none;
  box-shadow: 0 12px 30px rgba(14,159,154,.40), inset 0 1px 0 rgba(255,255,255,.18);
}
.tagh-hero__cta--primary:hover {
  background: var(--tagh-teal-hover);
  box-shadow: 0 16px 38px rgba(14,159,154,.52);
}
.tagh-hero__cta-arrow { font-size: 19px; display: inline-block; }

.tagh-hero__cta--secondary {
  padding: 16px 28px;
  font-weight: 700;
  color: #E6F7F6;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.18);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.tagh-hero__cta--secondary:hover {
  background: var(--tagh-teal-dim);
  border-color: rgba(14,159,154,.5);
}
.tagh-hero__cta-chip {
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
  font-size: 13px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(14,159,154,.18);
  color: #7FE3DD;
}

/* Trust row */
.tagh-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 26px 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.tagh-hero__trust-item {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #C3D0E2;
  font-size: 15px;
  font-weight: 600;
}
.tagh-hero__trust-item svg { flex-shrink: 0; }

/* ── Keyframes ── */
@keyframes taghGlowPulse { 0%,100% { opacity: .55; } 50% { opacity: .9; } }
@keyframes taghFadeDown { from { opacity: 0; transform: translateY(-18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes taghFadeUp   { from { opacity: 0; transform: translateY(22px); }  to { opacity: 1; transform: translateY(0); } }

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .tagh-hero__badge-dot { animation: none !important; }
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .tagh-hero__container { display: block; text-align: center; padding: 72px 24px; }
  .tagh-hero__content { max-width: 100%; }
  .tagh-hero__ctas { justify-content: center; }
  .tagh-hero__badge-row { justify-content: center; }
  .tagh-hero__trust { justify-content: center; }
  .tagh-hero__subtitle { margin-left: auto; margin-right: auto; }
  .tagh-hero { background-position: center; }
  .tagh-hero__overlay {
    background: linear-gradient(180deg,
      rgba(10,18,31,.72) 0%,
      rgba(10,18,31,.80) 55%,
      rgba(10,18,31,.86) 100%);
  }
}
@media (max-width: 480px) {
  .tagh-hero__cta { width: 100%; justify-content: center; }
}
