/* Activcity — sections.css (header, hero, cards, modal, footer, etc.) */

/* ────────── Header ────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--glass);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
}
.logo { display: inline-flex; align-items: center; gap: 8px; }
.logo-mark { display: inline-flex; }
.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.04em;
  line-height: 1;
}
.logo-text .logo-dot { color: var(--accent); }

.header-nav { display: flex; align-items: center; gap: 28px; }
.header-nav a {
  font-weight: 500;
  font-size: 14px;
  color: var(--ink-2);
  transition: color .15s;
}
.header-nav a:hover { color: var(--ink); }
.header-left, .header-right { flex-shrink: 0; }

.icon-btn {
  width: 40px; height: 40px;
  border-radius: var(--r-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  position: relative;
  transition: background-color .15s;
}
.icon-btn:hover { background: var(--surface-2); }
.icon-btn .badge-dot {
  position: absolute;
  top: 4px; right: 4px;
  min-width: 16px; height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 700;
  padding: 4px;
  gap: 2px;
}
.lang-toggle span {
  padding: 4px 10px;
  border-radius: var(--r-pill);
  color: var(--ink-3);
  transition: all .15s;
}
.lang-toggle .on { background: var(--ink); color: var(--bg); }

/* city picker */
.city-picker { position: relative; }
.city-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  transition: border-color .15s, background .15s;
}
.city-btn:hover { border-color: var(--line-2); background: var(--surface-2); }
.city-pop {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-pop);
  padding: 14px;
  width: 360px;
  z-index: 70;
}
.city-pop-head {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 10px;
}
.city-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.city-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: var(--r-sm);
  font-weight: 500;
  font-size: 14px;
  transition: background .15s;
}
.city-item:hover { background: var(--surface-2); }
.city-item.active { background: var(--accent-50); color: var(--accent-600); font-weight: 700; }

.header-cta { padding-inline: 14px; }
.mobile-menu { display: none; }
.mobile-menu-pop { display: none; }

@media (max-width: 1100px) {
  .header-nav { display: none; }
}
@media (max-width: 760px) {
  .city-picker { display: none; }
  .header-cta span { display: none; }
  .header-cta { padding: 0; width: 40px; justify-content: center; }
  .mobile-menu { display: inline-flex; }
  .mobile-menu-pop {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 24px;
    border-top: 1px solid var(--line);
    background: var(--surface);
  }
  .mobile-menu-pop a {
    padding: 12px 0;
    font-weight: 600;
    border-bottom: 1px solid var(--line);
  }
}

/* ────────── Hero ────────── */
.hero {
  position: relative;
  padding-top: 60px;
  padding-bottom: 80px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
}
[data-theme="dark"] .hero-blob { opacity: .35; }
.hb1 { top: -120px; left: -80px; width: 420px; height: 420px; background: var(--accent); }
.hb2 { top: 80px; right: -60px; width: 360px; height: 360px; background: var(--cat-game); opacity: .35; }
.hb3 { bottom: -120px; left: 30%; width: 400px; height: 400px; background: var(--cat-creative); opacity: .25; }
.hero-inner { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 8px 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 28px;
}
.hero-eyebrow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent), transparent 78%);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.4); }
}

.hero-title {
  font-size: clamp(40px, 6.4vw, 88px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: .98;
  margin: 0 0 24px;
  max-width: 16ch;
}
.hero-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 60ch;
  margin: 0 0 32px;
}
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

/* search bar */
.search-bar {
  display: flex;
  align-items: stretch;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 8px;
  box-shadow: var(--shadow-card);
  position: relative;
  max-width: 980px;
}
.sb-cell {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 18px;
  flex: 1 1 0;
  min-width: 0;
  position: relative;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: background .15s;
}
.sb-cell:hover { background: var(--surface-2); }
.sb-cell label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 4px;
}
.sb-cell input,
.sb-cell select {
  border: none;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  outline: none;
  padding: 0;
  width: 100%;
  appearance: none;
  cursor: pointer;
}
.sb-cell.sb-q { flex: 2; }
.sb-input-wrap {
  display: flex; align-items: center; gap: 8px;
  color: var(--ink-3);
}
.sb-input-wrap input { color: var(--ink); }
.sb-when-input {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.sb-divider { width: 1px; background: var(--line); margin: 6px 0; }
.sb-submit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  padding: 0 22px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 15px;
  background: var(--accent);
  color: var(--accent-ink);
  transition: background .15s, transform .15s;
  flex-shrink: 0;
}
.sb-submit:hover { background: var(--accent-600); color: #fff; transform: scale(1.02); }

.sb-suggest {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-pop);
  padding: 10px;
  z-index: 30;
}
.sb-suggest-head {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 6px 10px 8px;
}
.sb-suggest-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  width: 100%;
  font-size: 14px;
  text-align: left;
  transition: background .12s;
}
.sb-suggest-row:hover { background: var(--surface-2); }
.sb-suggest-icon {
  width: 28px; height: 28px;
  border-radius: var(--r-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
  color: var(--accent-600);
  flex-shrink: 0;
}
.sb-suggest-label { font-weight: 600; flex: 1; }
.sb-suggest-sub { font-size: 12px; }

@media (max-width: 900px) {
  .search-bar {
    flex-direction: column;
    border-radius: var(--r-lg);
    padding: 14px;
  }
  .sb-divider { width: 100%; height: 1px; margin: 4px 0; }
  .sb-submit { margin-left: 0; margin-top: 8px; padding: 14px; }
}

.hero-stats {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-stat-n {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}
.hero-stat-l { font-size: 13px; margin-top: 6px; }

.hero-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
}
.hero-trust-row { display: flex; }
.hero-trust-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  border: 2px solid var(--surface);
  margin-left: -8px;
}
.hero-trust-avatar:first-child { margin-left: 0; }
