/* ===== Aldebawwe — الهوية البصرية ===== */

:root {
  --brand-blue: #1a8cff;
  --brand-cyan: #22d3ee;
  --brand-navy: #0a1628;
  --brand-deep: #0d1b3e;
  --brand-glow: rgba(26, 140, 255, 0.35);
  --brand-grid: rgba(34, 211, 238, 0.06);

  --primary: #1a8cff;
  --primary-dark: #0a1628;
  --primary-mid: #0d1b3e;
  --primary-light: #22d3ee;
  --purple: #1a8cff;
  --purple-dark: #2563eb;
  --accent: #22d3ee;

  --gradient: linear-gradient(135deg, #22d3ee 0%, #1a8cff 48%, #2563eb 100%);
  --gradient-hero: linear-gradient(145deg, #0a1628 0%, #0d1b3e 42%, #0f2847 100%);
  --shadow-glow: 0 0 60px rgba(26, 140, 255, 0.18);
  --border-hover: rgba(26, 140, 255, 0.38);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  background:
    linear-gradient(var(--brand-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--brand-grid) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 20%, transparent 75%);
}

.hero-mesh {
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(26, 140, 255, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(34, 211, 238, 0.1) 0%, transparent 55%),
    var(--gradient-hero) !important;
}

.hero-orb-1 { background: rgba(26, 140, 255, 0.22) !important; }
.hero-orb-2 { background: rgba(34, 211, 238, 0.14) !important; }

.section-tag {
  background: rgba(26, 140, 255, 0.1);
  border-color: rgba(26, 140, 255, 0.28);
  color: var(--brand-cyan);
}

.logo-tagline,
.brand-slogan,
.hero-eyebrow {
  color: var(--brand-cyan);
}

/* بطاقة الهوية — قسم من نحن */
.brand-showcase {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.55) 0%, rgba(26, 140, 255, 0.55) 50%, rgba(37, 99, 235, 0.55) 100%);
  border-radius: var(--radius-lg);
  padding: 2px;
  box-shadow: var(--shadow-glow), 0 24px 48px rgba(0, 0, 0, 0.35);
}

.brand-showcase-inner {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 15%, rgba(34, 211, 238, 0.12) 0%, transparent 42%),
    radial-gradient(circle at 85% 80%, rgba(26, 140, 255, 0.14) 0%, transparent 45%),
    linear-gradient(165deg, #0a1628 0%, #0d1b3e 55%, #0f2340 100%);
  border-radius: calc(var(--radius-lg) - 2px);
  padding: 36px 28px 28px;
  text-align: center;
}

.brand-showcase-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(34, 211, 238, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

/* شعار نظام براءة الذمة — نفس أبعاد copyright.html */
.brand-logo-wrap {
  width: 88%;
  max-width: 380px;
  margin: 0 auto 22px;
  border-radius: 16px;
  overflow: hidden;
  line-height: 0;
  background: #0a1628;
  border: 1px solid rgba(34, 211, 238, 0.2);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  isolation: isolate;
}

.brand-logo-hero {
  width: 100%;
  height: auto;
  display: block;
  border: none;
  border-radius: 0;
  vertical-align: top;
  transform: scale(1.02);
  transform-origin: center center;
}

.brand-desc {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-bottom: 18px;
  line-height: 1.75;
  max-width: 320px;
  margin-inline: auto;
}

.brand-pillars {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.brand-pillar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-primary);
  background: rgba(26, 140, 255, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.22);
}

.brand-pillar-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-cyan);
  box-shadow: 0 0 8px var(--brand-cyan);
  font-style: normal;
}

.brand-features {
  padding-top: 16px;
  border-top: 1px solid rgba(34, 211, 238, 0.12);
}

.brand-features span {
  background: rgba(26, 140, 255, 0.08);
  border-color: rgba(26, 140, 255, 0.2);
}

.brand-features i { color: var(--brand-cyan); }

@keyframes brandPulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.06); opacity: 0.45; }
}

/* شعار الهيدر */
.logo-img-icon {
  filter: drop-shadow(0 0 10px rgba(34, 211, 238, 0.35));
}

.project-modal-logo {
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(34, 211, 238, 0.3));
}

@media (max-width: 768px) {
  .brand-logo-wrap {
    width: 55%;
    max-width: 200px;
  }
}
