/* ============================================================
   INDEX PAGE — Homepage styles
   ============================================================ */

/* HERO */
.hero {
  padding: 0;
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* ── Video / photo background ── */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* If you have a real photo: add class .has-photo to .hero-bg and set background-image */
.hero-bg.has-photo {
  background-size: cover;
  background-position: center;
  /* background-image: url('../img/hero.jpg'); */
}

/* Overlay so text stays readable over any background */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.70) 50%, rgba(10,10,10,0.50) 100%);
}

/* Animated heat particles (CSS-only, no JS needed) */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-particles span {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation: particle-rise linear infinite;
}

.hero-particles span:nth-child(1)  { width:3px;  height:3px;  background:var(--accent);  left:15%; animation-duration:7s;  animation-delay:0s;   bottom:-10px; }
.hero-particles span:nth-child(2)  { width:2px;  height:2px;  background:var(--accent2); left:28%; animation-duration:9s;  animation-delay:1.5s; bottom:-10px; }
.hero-particles span:nth-child(3)  { width:4px;  height:4px;  background:var(--accent);  left:42%; animation-duration:6s;  animation-delay:3s;   bottom:-10px; }
.hero-particles span:nth-child(4)  { width:2px;  height:2px;  background:#ff3c3c;        left:57%; animation-duration:8s;  animation-delay:0.8s; bottom:-10px; }
.hero-particles span:nth-child(5)  { width:3px;  height:3px;  background:var(--accent);  left:70%; animation-duration:7.5s;animation-delay:2.2s; bottom:-10px; }
.hero-particles span:nth-child(6)  { width:2px;  height:2px;  background:var(--accent2); left:83%; animation-duration:10s; animation-delay:4s;   bottom:-10px; }
.hero-particles span:nth-child(7)  { width:5px;  height:5px;  background:var(--accent);  left:8%;  animation-duration:8s;  animation-delay:1s;   bottom:-10px; }
.hero-particles span:nth-child(8)  { width:2px;  height:2px;  background:#ff3c3c;        left:92%; animation-duration:6.5s;animation-delay:3.5s; bottom:-10px; }

@keyframes particle-rise {
  0%   { transform: translateY(0) scale(1);   opacity: 0; }
  10%  { opacity: 0.8; }
  80%  { opacity: 0.4; }
  100% { transform: translateY(-95vh) scale(0.3); opacity: 0; }
}

/* Grid overlay for techy look */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232,255,71,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,255,71,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 70%, transparent 100%);
}

/* Glow blob */
.hero-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232,255,71,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  max-width: 600px;
  position: relative;
  z-index: 1;
  padding: 100px 0 80px;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(72px, 20vw, 140px);
  line-height: 0.88;
  letter-spacing: 2px;
  color: var(--text);
  margin: 12px 0 20px;
}

.hero-title span { color: var(--accent); }

.hero-sub {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.hero-sub strong { color: var(--text); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,255,71,0.07);
  border: 1px solid rgba(232,255,71,0.18);
  border-radius: 8px;
  padding: 9px 16px;
  font-size: 12px;
  color: var(--muted);
}

.hero-tag strong { color: var(--accent); }

/* STATS BAR */
.stats-bar {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 20px;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-around;
}

.stat-item { text-align: center; flex: 1; min-width: 100px; }

.stat-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 44px;
  background: var(--border);
  flex-shrink: 0;
}

/* SERVICES GRID */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 32px;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.15s, box-shadow 0.15s;
}

.service-card:hover {
  border-color: rgba(232,255,71,0.25);
  transform: translateX(4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}

.service-icon {
  font-size: 28px;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-body { flex: 1; }

.service-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.service-body p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.service-arrow {
  font-size: 18px;
  color: var(--muted);
  flex-shrink: 0;
  transition: color 0.15s, transform 0.15s;
}

.service-card:hover .service-arrow {
  color: var(--accent);
  transform: translateX(4px);
}

/* TRUST GRID */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 28px;
}

.trust-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: border-color 0.2s;
}

.trust-card:hover { border-color: rgba(255,255,255,0.1); }

.trust-icon { font-size: 22px; flex-shrink: 0; }

.trust-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 5px;
}

.trust-body p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.trust-body strong { color: var(--accent); }

/* CTA BANNER */
.cta-banner {
  background: var(--accent);
  border-radius: 20px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.cta-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 7vw, 56px);
  line-height: 0.95;
  color: #0a0a0a;
  letter-spacing: 1px;
}

/* ── DESKTOP ── */
@media (min-width: 768px) {
  .hero { padding: 80px 0 60px; }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-divider { display: block; }

  .cta-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 40px 48px;
  }
}
