/* ═══════════════════════════════════════════
   DITEV — Home page styles
   ═══════════════════════════════════════════ */

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy-dark);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 90% 50%, rgba(0,64,140,0.45) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 10% 60%, rgba(204,0,0,0.08) 0%, transparent 60%);
  pointer-events: none;
}

/* Subtle grid pattern */
.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-block: 6rem;
}

.hero__text .badge { margin-bottom: 1.4rem; }

.hero__text h1 {
  color: var(--white);
  font-size: clamp(3rem, 6vw, 5rem);
  margin-bottom: 1.4rem;
  line-height: 0.95;
}

.hero__text p {
  color: rgba(255,255,255,0.65);
  font-size: 1.05rem;
  max-width: 460px;
  margin-bottom: 2.2rem;
  font-weight: 300;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__visual {
  display: flex;
  justify-content: center;
}

.hero__visual svg {
  width: 100%;
  max-width: 440px;
  filter: drop-shadow(0 0 40px rgba(0,51,102,0.3));
}

.hero-ring {
  animation: spin 40s linear infinite;
  transform-origin: 210px 210px;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ─── Stats bar ─── */
.stats-bar {
  background: var(--white);
  border-top: 1px solid var(--grey-200);
  border-bottom: 1px solid var(--grey-200);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-block: 2.5rem;
}

.stats-grid .stat-card {
  border-right: 1px solid var(--grey-200);
}

.stats-grid .stat-card:last-child { border-right: none; }

/* ─── Segments grid ─── */
.segments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

/* ─── Products preview grid ─── */
.products-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

/* ─── Orbinox banner ─── */
.orbinox-banner {
  display: flex;
  align-items: center;
  gap: 3rem;
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .hero__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__text p     { margin-inline: auto; }
  .hero__actions    { justify-content: center; }
  .hero__visual     { display: none; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid .stat-card:nth-child(2) { border-right: none; }
  .stats-grid .stat-card:nth-child(3),
  .stats-grid .stat-card:nth-child(4) { border-top: 1px solid var(--grey-200); }
}

@media (max-width: 560px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero__text h1 { font-size: 2.8rem; }
}
