/* ===== HERO ===== */
.hero {
  background: var(--night);
  padding: 72px 0 96px;
  position: relative;
  overflow: hidden;
}

/* Geometric grid overlay — intentional, not decorative noise */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(oklch(40% 0.04 258) 1px, transparent 1px),
    linear-gradient(90deg, oklch(40% 0.04 258) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.35;
  pointer-events: none;
}

/* Cobalt glow — single, top-right, intentional */
.hero::after {
  content: '';
  position: absolute; top: -100px; right: -80px;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, var(--cobalt) 0%, transparent 65%);
  opacity: 0.09;
  pointer-events: none;
}

.hero-inner {
  max-width: 720px; margin: 0 auto; padding: 0 20px;
  text-align: center; position: relative; z-index: 1;
}

.hero-title {
  font-size: clamp(30px, 5.5vw, 52px); font-weight: 800;
  color: var(--white); margin-bottom: 16px; line-height: 1.08;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 16px; color: oklch(68% 0.04 258); margin-bottom: 44px;
  line-height: 1.6; font-weight: 400; letter-spacing: 0.1px;
}

.hero-search {
  display: flex; background: var(--white); border-radius: var(--r);
  box-shadow: 0 16px 56px oklch(17% 0.04 258 / 0.5);
  overflow: hidden;
}
.hero-search-q {
  flex: 2; border: none; outline: none;
  padding: 17px 22px; font-size: 15px; color: var(--ink);
  font-family: 'Manrope', system-ui, sans-serif; font-weight: 400;
  background: transparent;
}
.hero-search-q::placeholder { color: var(--mist); }
.hero-sep { width: 1px; background: var(--cloud); margin: 12px 0; }
.hero-search-v {
  flex: 1; border: none; outline: none;
  padding: 17px 18px; font-size: 15px; color: var(--ink);
  font-family: 'Manrope', system-ui, sans-serif; font-weight: 400;
  background: transparent;
}
.hero-search-v::placeholder { color: var(--mist); }
.hero-search-btn {
  background: var(--cobalt); color: var(--white); border: none;
  padding: 17px 30px; font-size: 14.5px; font-weight: 700;
  display: flex; align-items: center; gap: 8px;
  cursor: pointer; transition: background var(--t); flex-shrink: 0;
  font-family: 'Manrope', system-ui, sans-serif;
}
.hero-search-btn:hover { background: var(--cobalt-d); }

/* ===== CATEGORIES ===== */
.categories-section {
  background: var(--white);
  padding: 48px 0 40px;
  border-bottom: 1px solid var(--cloud);
}
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 24px;
}
.category-card {
  display: flex; flex-direction: column; align-items: center;
  gap: 10px; padding: 18px 8px;
  border-radius: var(--r); cursor: pointer; text-decoration: none;
  transition: background var(--t), border-color var(--t), transform var(--t);
  color: var(--ink);
  border: 1.5px solid transparent;
}
.category-card:hover {
  background: var(--cobalt-l);
  border-color: oklch(78% 0.12 236);
  transform: translateY(-2px);
}
.cat-icon-wrap {
  width: 54px; height: 54px; border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background: var(--fog);
  transition: background var(--t);
}
.cat-icon-wrap svg { display: block; flex-shrink: 0; }
.category-card:hover .cat-icon-wrap { background: oklch(88% 0.1 236); }
.cat-name {
  font-size: 11.5px; font-weight: 700; text-align: center; line-height: 1.3;
  font-family: 'Manrope', system-ui, sans-serif; letter-spacing: 0.1px;
  color: var(--slate);
}

/* ===== RECENT ADS ===== */
.recent-section { padding: 44px 0; }

/* ===== PROMO BANNER ===== */
.promo-banner {
  background: var(--night);
  border: 1px solid var(--night-b);
  border-radius: var(--r-lg);
  padding: 40px 44px;
  margin: 40px 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  position: relative; overflow: hidden;
}

/* Single accent line — typographic, not decorative blob */
.promo-banner::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--cobalt);
  border-radius: var(--r-lg) 0 0 var(--r-lg);
}

.promo-banner h2 {
  font-size: 22px; font-weight: 800; color: var(--white);
  margin-bottom: 8px; letter-spacing: -0.4px;
  font-family: 'Manrope', system-ui, sans-serif;
}
.promo-banner p { color: oklch(65% 0.03 258); font-size: 14.5px; line-height: 1.55; }
.promo-banner strong { color: var(--white); font-weight: 800; }

@media (max-width: 900px) {
  .categories-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 600px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-search { flex-direction: column; border-radius: var(--r); }
  .hero-sep { width: 100%; height: 1px; margin: 0; }
  .hero-search-btn { justify-content: center; }
  .promo-banner { flex-direction: column; text-align: center; padding: 32px 24px; }
  .promo-banner::before { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 3px;
    border-radius: var(--r-lg) var(--r-lg) 0 0; }
}
@media (max-width: 400px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
}
