/* طبقة البصمة التقنية فوق base.css: بلا صور، مع شبكة خفيفة وطرفية (terminal) ومكدّس تقني */

.hero { grid-template-columns: 1.1fr .9fr; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0 -20px; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%);
          mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%);
  opacity: .9;
}
.hero__kicker { color: var(--teal); }
.hero__kicker::before { background: var(--teal); }

/* الطرفية */
.term {
  background: var(--night); color: var(--ivory); border-radius: 12px; overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(21, 20, 15, .55); border: 1px solid #2c2a22;
}
.term__bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; background: var(--night-2); border-bottom: 1px solid #2c2a22; }
.term__bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a372d; display: inline-block; }
.term__bar i:nth-child(1) { background: #b4372f; }
.term__bar i:nth-child(2) { background: #86572a; }
.term__bar i:nth-child(3) { background: #0f6b70; }
.term__bar span { margin-inline-start: 10px; font-family: var(--f-mono); font-size: .75rem; color: #a9a293; }
.term__body {
  font-family: var(--f-mono); font-size: .86rem; line-height: 1.95; padding: 20px 22px; margin: 0;
  white-space: pre-wrap; direction: ltr; text-align: left; color: #cfc7b6; overflow-x: auto;
}
.term__body .c { color: #5fc4c8; }
.term__body .k { color: var(--ivory); }
.term__body .v { color: #a9a293; font-family: var(--f-ar); font-size: .9em; }
.term__body .ok { color: #7ddc8a; }
.term__body .cur {
  display: inline-block; width: 8px; height: 16px; background: var(--teal-soft); margin-inline-start: 6px; vertical-align: -2px; animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* المكدّس التقني */
.stack { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ivory-2); }
.stack__in { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-block: 16px; }
.stack__in .mono { margin-inline-end: 6px; color: var(--teal); }
.tag {
  font-family: var(--f-mono); font-size: .8rem; padding: 5px 11px; border: 1px solid var(--line);
  border-radius: 999px; color: var(--ink-2); background: var(--ivory);
}

/* حالة المنتجات */
.status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: .75rem; color: #1f7a3a; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: #2fb35a; box-shadow: 0 0 0 4px rgba(47, 179, 90, .15); display: inline-block; }
.product { position: relative; }
.product::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--teal); border-radius: 12px 0 0 12px; opacity: .8;
}
.product__tag { direction: ltr; }

/* الخدمات */
.service__link { display: inline-block; margin-top: 12px; color: var(--teal); font-weight: 600; font-size: .95rem; }
.service__link:hover { text-decoration: underline; }

/* عناوين نصية بدل أسطر inline */
.about__title, .contact__title {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; line-height: 1.3; margin: 16px 0 22px;
}
.contact__title { margin-bottom: 14px; }
.contact__lead { color: var(--ink-2); margin-bottom: 24px; }
.contact form button { justify-self: start; }
.contact__info a { color: inherit; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .term__body { font-size: .78rem; }
}
