/* ============================================================
   RAADIN SHABAKEH — Home Page Styles
   ============================================================ */

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0A0E1A 0%, #0F1629 55%, #0A1535 100%);
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--bg-primary));
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content .tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-alpha);
  border: 1px solid rgba(212, 168, 67, 0.25);
  border-radius: 999px;
  padding: 6px 14px 6px 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 28px;
}

.hero-content .tag i {
  font-size: 1rem;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.hero-content h1 .highlight {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--blue-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content .lead {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

/* Stats bar */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  background: rgba(20, 27, 45, 0.6);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.hero-stat {
  padding: 20px 16px;
  text-align: center;
  border-right: 1px solid var(--bg-border);
  position: relative;
}

.hero-stat:last-child {
  border-right: none;
}

.hero-stat .num {
  font-family: var(--font-heading);
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  line-height: 1;
}

.hero-stat .num .suffix {
  color: var(--gold);
  font-size: 1.125rem;
}

.hero-stat .lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 500;
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-device-wrap {
  position: relative;
  z-index: 1;
}

.hero-device-wrap .glow-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(26, 108, 244, 0.18), transparent 70%);
  animation: glow-pulse 4s ease-in-out infinite;
}

.hero-illustration {
  width: 100%;
  max-width: 480px;
  animation: float 6s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

/* SVG Illustration for hero */
.hero-svg-wrap {
  width: 420px;
  height: 380px;
  position: relative;
  animation: float 6s ease-in-out infinite;
}

/* Floating info card on hero image */
.hero-badge {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
}

.hero-badge.badge-1 {
  bottom: 30px;
  left: -20px;
  animation: float 7s ease-in-out infinite reverse;
}

.hero-badge.badge-2 {
  top: 40px;
  right: -20px;
  animation: float 5s ease-in-out infinite;
}

.hero-badge .icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--gold-alpha);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.125rem;
}

.hero-badge .info strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.hero-badge .info span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ── Services Section ─────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

/* ── Categories Grid ──────────────────────────────────────── */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
  margin-top: 56px;
}

.category-cell {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
}

.category-cell:nth-child(1) {
  grid-column: span 2;
  aspect-ratio: 16/7;
}

.category-cell:nth-child(4) {
  grid-column: span 2;
  aspect-ratio: 16/7;
}

.category-cell .cat-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.category-cell::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 14, 26, 0.85) 0%, rgba(10, 14, 26, 0.3) 60%, transparent 100%);
  z-index: 1;
  transition: var(--transition);
}

.category-cell:hover .cat-bg {
  transform: scale(1.07);
}

.category-cell:hover::before {
  background: linear-gradient(to top, rgba(10, 14, 26, 0.92) 0%, rgba(10, 14, 26, 0.5) 70%, rgba(10, 14, 26, 0.2) 100%);
}

.category-cell .cat-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px;
  z-index: 2;
  transition: var(--transition);
}

.category-cell:hover .cat-content {
  padding-bottom: 24px;
}

.category-cell .cat-icon {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 6px;
}

.category-cell h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.category-cell .cat-count {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.category-cell .cat-arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold-alpha);
  border: 1px solid rgba(212, 168, 67, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  opacity: 0;
  transform: scale(0.8);
  transition: var(--transition);
}

.category-cell:hover .cat-arrow {
  opacity: 1;
  transform: scale(1);
}

/* Category color bg fills */
.cat-networking  { background-color: #0D1B3E; }
.cat-servers     { background-color: #0F1A2E; }
.cat-iot         { background-color: #0E1C2F; }
.cat-smarthome   { background-color: #12172A; }
.cat-security    { background-color: #1A0F1A; }
.cat-accessories { background-color: #0F1A0F; }

/* ── Why Choose Us ────────────────────────────────────────── */
.why-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.why-visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 420px;
  background: linear-gradient(135deg, #0D1B3E, #0A1535);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-visual .dubai-silhouette {
  width: 100%;
  padding: 40px;
  opacity: 0.6;
}

.why-visual .overlay-card {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(10, 14, 26, 0.8);
  backdrop-filter: blur(16px);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.why-visual .overlay-card .badge-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--gold-alpha);
  border: 1px solid rgba(212, 168, 67, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.why-visual .overlay-card strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
}

.why-visual .overlay-card span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.why-benefits {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.benefit-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.benefit-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold-alpha);
  line-height: 1;
  flex-shrink: 0;
  width: 56px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.5;
}

.benefit-body h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.benefit-body p {
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ── Brand Carousel ───────────────────────────────────────── */
.brands-section {
  padding: 60px 0;
  border-top: 1px solid var(--bg-border);
  border-bottom: 1px solid var(--bg-border);
}

.brands-label {
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.brands-swiper {
  overflow: hidden;
}

.brand-logo {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  opacity: 0.45;
  filter: grayscale(1);
  transition: var(--transition);
  cursor: default;
}

.brand-logo:hover {
  opacity: 1;
  filter: none;
}

.brand-logo span {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
}
