/* ═══════════════════════════════════════════
   HOMEPAGE HERO
═══════════════════════════════════════════ */
.hero-shell {
  background: linear-gradient(160deg, rgba(13, 21, 38, 0.95) 0%, rgba(9, 15, 30, 0.98) 100%);
  border: 1px solid var(--border-default);
  border-radius: var(--r-2xl);
  padding: 2.5rem 2.5rem 2.8rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(59, 130, 246, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(59, 130, 246, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

.hero-shell::after {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.7), rgba(34, 197, 94, 0.5), transparent);
  background-size: 200% 100%;
  animation: shimmer 5s linear infinite;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-shell {
    padding: 1.8rem 1.4rem 2rem;
  }
}

.hero h1 {
  font-size: clamp(1.9rem, 3.5vw + 0.8rem, 2.7rem);
  font-weight: 900;
  line-height: 1.12;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
  animation: fadeUp 0.6s ease 0.1s both;
}

.hero h1 .accent {
  color: var(--blue-300);
  position: relative;
  display: inline-block;
}

.hero h1 .accent::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-500), var(--green-500));
  border-radius: 2px;
}

.hero-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 38rem;
  line-height: 1.75;
  margin-bottom: 1.4rem;
  animation: fadeUp 0.6s ease 0.2s both;
}

.hero-checklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.55rem;
  margin-bottom: 1.6rem;
  animation: fadeUp 0.6s ease 0.3s both;
}

.hero-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.check-icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(34, 197, 94, 0.45);
  background: rgba(34, 197, 94, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  color: var(--green-300);
  flex-shrink: 0;
  margin-top: 1px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1.1rem;
  animation: fadeUp 0.6s ease 0.4s both;
}

.hero-note {
  font-size: 0.8rem;
  color: var(--text-faint);
  animation: fadeUp 0.6s ease 0.5s both;
}

.hero-note strong {
  color: var(--text-muted);
  font-weight: 600;
}

/* Hero side */
.hero-side {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  animation: fadeRight 0.7s ease 0.25s both;
}

.side-card {
  background: rgba(2, 8, 23, 0.85);
  border: 1px solid var(--border-default);
  border-radius: var(--r-lg);
  padding: 1.1rem 1.15rem;
  transition: border-color var(--t-med), transform var(--t-med);
}

.side-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.side-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  margin-bottom: 0.3rem;
}

.side-kpi {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
}

.side-kpi sub {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-faint);
  vertical-align: baseline;
  margin-left: 0.15rem;
}

.side-note {
  font-size: 0.78rem;
  color: var(--text-faint);
  margin-top: 0.2rem;
  line-height: 1.5;
}

.side-list {
  margin-top: 0.5rem;
  padding-left: 1rem;
  font-size: 0.78rem;
  color: var(--text-faint);
}

.side-list li {
  margin-bottom: 0.22rem;
}

.ad-card {
  background:
    radial-gradient(ellipse at 0% 0%, rgba(59, 130, 246, 0.18) 0, rgba(2, 8, 23, 0.92) 60%),
    radial-gradient(ellipse at 100% 100%, rgba(45, 212, 191, 0.12) 0, rgba(2, 8, 23, 0.92) 60%);
  border: 1px solid var(--border-default);
  border-radius: var(--r-lg);
  padding: 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  cursor: pointer;
  transition: all var(--t-med);
}

.ad-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-blue);
}

.ad-label {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.ad-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.ad-body {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.ad-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue-300);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.2rem;
}

.ad-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: rgba(2, 8, 23, 0.8);
  border: 1px solid var(--border-subtle);
  font-size: 0.68rem;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════
   CLIENTS GRID
═══════════════════════════════════════════ */
.clients-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.client-tile {
  padding: 0.6rem 1rem;
  border-radius: var(--r-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  max-width: 170px;
  transition: all var(--t-fast);
}

.client-tile:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.client-tile img {
  max-height: 28px;
  filter: brightness(1.1) saturate(0.8);
}

.clients-note {
  font-size: 0.76rem;
  color: var(--text-faint);
  margin-top: 0.6rem;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn {
    justify-content: center;
  }
}
