/* NOBBYO — Smart hero search bar + new sections */

/* ── Smart Search Bar ────────────────────────────────── */
.smart-search { position: relative; max-width: 680px; }
.search-bar.smart {
  display: flex; align-items: center; gap: 4px;
  background: #fff; border-radius: 16px; padding: 6px;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.4);
  position: relative; z-index: 2;
  transition: box-shadow .3s, transform .3s;
}
.search-bar.smart.focused {
  box-shadow: 0 32px 80px -20px rgba(0,0,0,.55), 0 0 0 3px rgba(255,77,141,.4) !important;
  transform: translateY(-2px);
}

.search-cat {
  display: flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 14px; border: 0; background: transparent;
  border-right: 1px solid var(--line);
  font-family: inherit; font-size: 14px; font-weight: 700; color: var(--ink);
  cursor: pointer; flex-shrink: 0;
  transition: background .2s;
}
.search-cat:hover { background: var(--bg-soft); border-radius: 10px 0 0 10px; }
.search-cat .cat-ic {
  width: 24px; height: 24px; border-radius: 6px;
  display: grid; place-items: center;
  background: rgba(30,42,120,.08);
}
.search-cat .cat-label { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.cat-pop {
  position: absolute; top: calc(100% + 8px); left: 0;
  width: 240px; background: #fff;
  border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 24px 60px -16px rgba(15,23,42,.25);
  padding: 6px; z-index: 10;
  animation: popIn .25s var(--ease-spring);
}
.cat-row {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 10px; border: 0; background: transparent;
  border-radius: 10px; cursor: pointer;
  font-family: inherit; font-size: 14px; font-weight: 500; color: var(--ink);
  text-align: left;
  transition: background .15s;
}
.cat-row:hover { background: var(--bg-soft); }
.cat-row.sel { background: rgba(79,70,229,.08); color: var(--indigo); font-weight: 600; }
.cat-row .cat-ic { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; }
.check-mark { margin-left: auto; color: var(--mint); font-weight: 700; }

.search-input-wrap { flex: 1; position: relative; min-width: 0; }
.search-input { width: 100%; height: 44px; border: 0; outline: 0; padding: 0 30px 0 14px; font-size: 15px; font-family: inherit; background: transparent; color: var(--ink); }
.search-input::placeholder { color: var(--ink-2); }
.clear-btn {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px; border: 0; background: var(--bg-soft);
  color: var(--ink-2); border-radius: 50%; cursor: pointer;
  display: grid; place-items: center;
  transition: all .2s;
}
.clear-btn:hover { background: var(--coral); color: #fff; }

.search-tools { display: flex; gap: 2px; padding: 0 4px; border-right: 1px solid var(--line); }
.tool-btn {
  width: 36px; height: 36px; border: 0; background: transparent;
  border-radius: 8px; color: var(--ink-2); cursor: pointer;
  display: grid; place-items: center;
  transition: all .2s var(--ease-spring);
}
.tool-btn:hover { background: rgba(255,77,141,.1); color: #FF4D8D; transform: scale(1.08); }
.tool-btn.listening {
  background: linear-gradient(135deg, #FF4D8D, #FF5A3C); color: #fff;
  animation: micPulse 1s ease-in-out infinite;
}
@keyframes micPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(255,77,141,.6); }
  50%     { box-shadow: 0 0 0 8px rgba(255,77,141,0); }
}

.search-go { padding: 0 22px !important; height: 44px; flex-shrink: 0; }

/* Search popover */
.search-pop {
  position: absolute; top: calc(100% + 10px); left: 0; right: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 30px 80px -20px rgba(15,23,42,.3);
  padding: 14px; z-index: 5;
  animation: popIn .3s var(--ease-spring);
  max-height: 480px; overflow-y: auto;
}
.search-pop-section { padding: 8px 0; }
.search-pop-section + .search-pop-section { border-top: 1px solid var(--line); }
.search-pop-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 6px 8px;
  font-size: 12px; font-weight: 700; color: var(--ink-2);
  letter-spacing: .03em; text-transform: uppercase;
}
.search-pop-head svg { vertical-align: -2px; margin-right: 4px; }
.pulse-tag {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(16,185,129,.12); color: #10B981;
  padding: 2px 8px; border-radius: 999px;
  font-size: 10px; font-weight: 800;
}
.pulse-tag .dot {
  width: 6px; height: 6px; border-radius: 50%; background: #10B981;
  animation: livePulse 2s ease-in-out infinite;
}

.chip-row { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 6px; }
.search-chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 30px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--ink-2);
  font-family: inherit; font-size: 12px; font-weight: 500; cursor: pointer;
  transition: all .2s var(--ease-spring);
}
.search-chip:hover { background: rgba(79,70,229,.08); color: var(--indigo); border-color: var(--indigo); transform: translateY(-1px); }
.search-chip.pop:nth-child(4n+1):hover { background: rgba(255,77,141,.1); color: #FF4D8D; border-color: #FF4D8D; }
.search-chip.pop:nth-child(4n+2):hover { background: rgba(6,182,212,.1); color: #06B6D4; border-color: #06B6D4; }
.search-chip.pop:nth-child(4n+3):hover { background: rgba(245,158,11,.1); color: #F59E0B; border-color: #F59E0B; }
.search-chip.pop:nth-child(4n+4):hover { background: rgba(16,185,129,.1); color: #10B981; border-color: #10B981; }

.trend-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 0 6px; }
@media (max-width: 600px) { .trend-grid { grid-template-columns: 1fr; } }
.trend-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; cursor: pointer; text-align: left;
  font-family: inherit;
  transition: all .2s var(--ease-spring);
}
.trend-row:hover { border-color: transparent; box-shadow: 0 8px 20px -8px rgba(30,42,120,.2); transform: translateY(-1px); }
.trend-row .ic { font-size: 22px; flex-shrink: 0; }
.trend-row .meta { flex: 1; min-width: 0; }
.trend-row .t { font-size: 13px; font-weight: 600; color: var(--ink); }
.trend-row .d { font-size: 11px; color: var(--mint); font-weight: 600; margin-top: 2px; }
.trend-row > svg:last-child { color: var(--ink-2); flex-shrink: 0; }

.search-pop-foot {
  display: flex; justify-content: flex-end; gap: 16px;
  padding: 8px 6px 2px; margin-top: 4px;
  border-top: 1px solid var(--line);
  font-size: 11px; color: var(--ink-2);
}
.search-pop-foot kbd {
  display: inline-block; padding: 1px 6px; margin-right: 4px;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 4px;
  font-family: ui-monospace, monospace; font-size: 10px; font-weight: 600;
}

/* ── Today's Deals ───────────────────────────────────── */
.deals { padding: 96px 0; background: linear-gradient(180deg, #fff 0%, #FFF5F0 100%); position: relative; overflow: hidden; }
.deals .container { position: relative; z-index: 1; }
.deals::before {
  content: ""; position: absolute; right: -100px; top: 50px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,77,141,.18), transparent 70%);
  filter: blur(60px); animation: auroraDrift1 22s ease-in-out infinite;
}
.deals-head {
  display: flex; justify-content: space-between; align-items: end;
  flex-wrap: wrap; gap: 24px; margin-bottom: 36px;
}
.deals-head h2 { margin: 0; }
.countdown {
  display: flex; gap: 8px; align-items: center;
  background: linear-gradient(135deg, #FF4D8D, #FF5A3C);
  padding: 12px 18px; border-radius: 14px; color: #fff;
  box-shadow: 0 12px 32px -8px rgba(255,77,141,.5);
}
.countdown .label { font-size: 12px; font-weight: 700; opacity: .9; margin-right: 6px; text-transform: uppercase; letter-spacing: .04em; }
.countdown .num {
  background: rgba(255,255,255,.25); border-radius: 8px;
  padding: 6px 10px; font-weight: 800; font-size: 18px;
  font-variant-numeric: tabular-nums; min-width: 38px; text-align: center;
}
.countdown .colon { font-weight: 800; opacity: .8; }
.deals-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1024px) { .deals-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .deals-grid { grid-template-columns: 1fr; } }
.deal-card {
  background: #fff; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line); position: relative;
  transition: all .35s var(--ease-spring);
}
.deal-card:hover { transform: translateY(-6px); box-shadow: 0 28px 50px -16px rgba(255,77,141,.25); border-color: transparent; }
.deal-thumb {
  height: 160px; display: grid; place-items: center;
  font-size: 64px;
  background: linear-gradient(135deg, var(--t1, #FFE5DD), var(--t2, #FCE7F3));
  position: relative;
}
.deal-badge {
  position: absolute; top: 12px; left: 12px;
  background: linear-gradient(135deg, #FF4D8D, #FF5A3C); color: #fff;
  padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 800;
  box-shadow: 0 4px 10px -2px rgba(255,77,141,.5);
}
.deal-stock {
  position: absolute; bottom: 12px; right: 12px;
  background: rgba(0,0,0,.6); color: #fff; backdrop-filter: blur(8px);
  padding: 3px 8px; border-radius: 6px;
  font-size: 10px; font-weight: 700;
}
.deal-body { padding: 16px; }
.deal-name { font-size: 14px; font-weight: 600; line-height: 1.3; margin-bottom: 8px; }
.deal-prices { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.deal-now { font-size: 18px; font-weight: 800; color: #FF4D8D; }
.deal-was { font-size: 12px; color: var(--ink-2); text-decoration: line-through; }
.deal-bar {
  height: 6px; background: var(--bg-soft); border-radius: 999px; overflow: hidden;
  margin-bottom: 6px;
}
.deal-bar-fill {
  height: 100%; background: linear-gradient(90deg, #FF4D8D, #FF5A3C);
  border-radius: 999px;
  animation: barShine 3s ease-in-out infinite;
}
@keyframes barShine { 0%,100% { filter: brightness(1); } 50% { filter: brightness(1.2); } }
.deal-stock-text { font-size: 11px; color: var(--ink-2); font-weight: 500; }

/* ── Featured Sellers ────────────────────────────────── */
.sellers { padding: 96px 0; background: #fff; }
.seller-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 36px; }
@media (max-width: 1024px) { .seller-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px)  { .seller-grid { grid-template-columns: repeat(2, 1fr); } }
.seller-card {
  padding: 24px 16px; border-radius: 16px;
  background: #fff; border: 1px solid var(--line);
  text-align: center; cursor: pointer;
  transition: all .35s var(--ease-spring);
  position: relative; overflow: hidden;
}
.seller-card:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 20px 40px -16px rgba(30,42,120,.2); }
.seller-card .logo {
  width: 60px; height: 60px; border-radius: 14px;
  margin: 0 auto 12px; display: grid; place-items: center;
  font-size: 24px; font-weight: 800;
  color: #fff;
  box-shadow: 0 8px 16px -6px currentColor;
  transition: transform .35s var(--ease-spring);
}
.seller-card:hover .logo { transform: scale(1.1) rotate(-6deg); }
.seller-card .name { font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.seller-card .meta { font-size: 11px; color: var(--ink-2); }
.seller-card .verified-tag {
  position: absolute; top: 8px; right: 8px;
  width: 18px; height: 18px; border-radius: 50%;
  background: #10B981; color: #fff;
  display: grid; place-items: center;
  font-size: 10px;
}

/* ── Live Activity Feed ──────────────────────────────── */
.activity {
  padding: 96px 0; background: linear-gradient(180deg, #fff 0%, #F7F8FF 100%);
  position: relative; overflow: hidden;
}
.activity::before {
  content: ""; position: absolute; left: -100px; bottom: 50px;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(6,182,212,.18), transparent 70%);
  filter: blur(60px); animation: auroraDrift2 24s ease-in-out infinite;
}
.activity .container { position: relative; z-index: 1; }
.activity-head { display: flex; align-items: center; gap: 12px; }
.activity-feed {
  margin-top: 36px;
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 8px; box-shadow: 0 20px 50px -20px rgba(30,42,120,.15);
  max-width: 720px; margin-left: auto; margin-right: auto;
  position: relative; overflow: hidden;
}
.activity-feed::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 60px;
  background: linear-gradient(180deg, #fff, transparent); z-index: 2; pointer-events: none;
}
.activity-feed::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 60px;
  background: linear-gradient(0deg, #fff, transparent); z-index: 2; pointer-events: none;
}
.activity-list {
  height: 360px; overflow: hidden; position: relative;
}
.activity-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: 14px;
  transition: background .25s;
  animation: feedSlideIn .5s var(--ease-out-expo);
}
.activity-item:hover { background: var(--bg-soft); }
@keyframes feedSlideIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
.activity-item .ic {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center; flex-shrink: 0;
  font-size: 20px;
}
.activity-item .body { flex: 1; min-width: 0; }
.activity-item .body .t { font-size: 14px; color: var(--ink); line-height: 1.4; }
.activity-item .body .t b { color: var(--ink); font-weight: 700; }
.activity-item .body .d { font-size: 12px; color: var(--ink-2); margin-top: 3px; }
.activity-item .time { font-size: 11px; color: var(--ink-2); font-weight: 600; flex-shrink: 0; }
.activity-pulse {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(16,185,129,.12); color: #10B981;
  font-size: 12px; font-weight: 700;
}
.activity-pulse .dot {
  width: 8px; height: 8px; border-radius: 50%; background: #10B981;
  animation: livePulse 2s ease-in-out infinite;
}

/* ── Coverage Map ────────────────────────────────────── */
.coverage { padding: 96px 0; background: #fff; }
.coverage-wrap {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center;
  margin-top: 36px;
}
@media (max-width: 900px) { .coverage-wrap { grid-template-columns: 1fr; } }
.coverage-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.cov-stat {
  padding: 18px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,77,141,.08), rgba(139,92,246,.08));
  border: 1px solid var(--line);
}
.cov-stat .num {
  font-size: 28px; font-weight: 800; letter-spacing: -.02em;
  background: linear-gradient(135deg, #FF4D8D, #8B5CF6);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cov-stat .label { font-size: 12px; color: var(--ink-2); margin-top: 4px; font-weight: 500; }
.cov-districts {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 16px; max-width: 440px;
}
.cov-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(16,185,129,.1); color: #10B981;
  font-size: 11px; font-weight: 600;
}
.cov-chip.soon { background: var(--bg-soft); color: var(--ink-2); }
.cov-chip .dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.cov-map {
  position: relative; aspect-ratio: 1.05;
  background: linear-gradient(135deg, #F7F8FF, #FCE7F3);
  border-radius: 24px; overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px -20px rgba(30,42,120,.2);
}
.cov-map svg { width: 100%; height: 100%; }
.cov-pin {
  position: absolute;
  width: 14px; height: 14px; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, #FF4D8D, #8B5CF6);
  box-shadow: 0 0 0 4px rgba(255,77,141,.25);
  animation: pinPulse 2s ease-in-out infinite;
  cursor: pointer;
}
.cov-pin.lg { width: 18px; height: 18px; box-shadow: 0 0 0 6px rgba(255,77,141,.3); }
.cov-pin::after {
  content: ""; position: absolute; inset: 4px;
  border-radius: 50%; background: #fff;
}
@keyframes pinPulse {
  0%,100% { box-shadow: 0 0 0 4px rgba(255,77,141,.25); }
  50%     { box-shadow: 0 0 0 10px rgba(255,77,141,0); }
}

/* ── FAQ Accordion ───────────────────────────────────── */
.faq { padding: 96px 0; background: linear-gradient(180deg, #FFF5F0 0%, #fff 100%); }
.faq-list { max-width: 720px; margin: 36px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; transition: all .25s var(--ease-out-expo);
}
.faq-item.open { border-color: transparent; box-shadow: 0 16px 40px -16px rgba(255,77,141,.2); }
.faq-q {
  display: flex; align-items: center; gap: 14px;
  width: 100%; padding: 18px 22px;
  border: 0; background: transparent; cursor: pointer;
  font-family: inherit; font-size: 16px; font-weight: 600; color: var(--ink);
  text-align: left;
}
.faq-q .num {
  width: 28px; height: 28px; border-radius: 8px;
  display: grid; place-items: center; flex-shrink: 0;
  font-size: 12px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, #FF4D8D, #8B5CF6);
}
.faq-q .arrow {
  margin-left: auto; transition: transform .3s var(--ease-spring);
  color: var(--ink-2);
}
.faq-item.open .faq-q .arrow { transform: rotate(180deg); color: #FF4D8D; }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s var(--ease-out-expo), padding .35s;
  font-size: 14px; color: var(--ink-2); line-height: 1.6;
}
.faq-item.open .faq-a { max-height: 240px; padding: 0 22px 20px 64px; }

/* search bar mobile */
@media (max-width: 600px) {
  .search-cat .cat-label { display: none; }
  .search-tools { display: none; }
}

/* footer socials — brand-colored hover */
.foot-social { display: flex; gap: 10px; margin-top: 18px; }
.foot-social a {
  width: 40px; height: 40px; border-radius: 12px;
  background: rgba(255,255,255,.06);
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7); cursor: pointer;
  border: 1px solid rgba(255,255,255,.08);
  transition: all .25s var(--ease-spring);
  position: relative;
  text-decoration: none;
}
.foot-social a svg { display: block; }
.foot-social a[data-brand="fb"]:hover { background: #1877F2; color: #fff; border-color: #1877F2; box-shadow: 0 8px 20px -6px rgba(24,119,242,.6); }
.foot-social a[data-brand="ig"]:hover { background: linear-gradient(45deg, #F58529, #DD2A7B 50%, #8134AF 80%); color: #fff; border-color: transparent; box-shadow: 0 8px 20px -6px rgba(221,42,123,.6); }
.foot-social a[data-brand="li"]:hover { background: #0A66C2; color: #fff; border-color: #0A66C2; box-shadow: 0 8px 20px -6px rgba(10,102,194,.6); }
.foot-social a[data-brand="yt"]:hover { background: #FF0000; color: #fff; border-color: #FF0000; box-shadow: 0 8px 20px -6px rgba(255,0,0,.55); }
.foot-social a[data-brand="tt"]:hover { background: #000; color: #fff; border-color: #25F4EE; box-shadow: 0 0 0 1px #FE2C55, 0 8px 20px -6px rgba(254,44,85,.6); }
.foot-social a:hover { transform: translateY(-3px) scale(1.06); }
