/* ===== BaSe ===== */
:root {
  --text: #0b0b10;
  --muted: rgba(20, 20, 30, 0.68);
  --glass: rgba(255, 255, 255, 0.72);
  --border: rgba(0, 0, 0, 0.08);
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.12);
  --radius-xl: 26px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Helvetica,
    Arial;
  color: var(--text);
  background:
    radial-gradient(900px 600px at 20% 35%,
      rgba(97, 128, 255, 0.55),
      transparent 60%),
    radial-gradient(900px 600px at 70% 35%,
      rgba(255, 128, 214, 0.55),
      transparent 60%),
    radial-gradient(1200px 800px at 50% 80%,
      rgba(255, 80, 80, 0.55),
      transparent 60%),
    #f6f6f8;
  min-height: 100vh;
  padding-top: 78px;
}

/* ===== Navbar ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  z-index: 1000;
}

.nav-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: 10px;
}

.nav-link {
  text-decoration: none;
  color: rgba(20, 20, 30, 0.72);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 10px;
}

.nav-link:hover {
  background: rgba(0, 0, 0, 0.04);
  color: var(--text);
}

.nav-actions {
  margin-left: auto;
  display: flex;
  gap: 10px;
}

.btn {
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: 9px 12px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  background: transparent;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.55);
}

.btn-solid {
  border: none;
  background: #111;
  color: #fff;
  padding: 9px 14px;
}

/* ===== Container ===== */
.container {
  margin: 0 auto 90px;
  text-align: center;
}

/* ===== Hero ===== */
.hero {
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 60px;
}

.hero-inner {
  width: min(1100px, 96%);
  margin: 0px auto 70px;

}

.hero-title {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  margin-bottom: 8px;
}

.hero-subtitle {
  font-size: 14px;
  margin-bottom: 26px;
  color: var(--muted);
}

/* ===== Search Box ===== */
.prompt-card {
  margin: 0 auto;
  width: min(850px, 100%);
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 18px 18px;
}

.prompt-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

#searchInput {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 18px;
  padding: 14px 12px;
}

#searchInput::placeholder {
  color: rgba(0, 0, 0, 0.45);
}

.send-btn {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: none;
  background: #111;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prompt-bottom {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

.pill-select {
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.6);
  padding: 9px 12px;
  font-size: 13px;
  outline: none;
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
  .nav-links {
    display: none;
  }

  .prompt-bottom {
    flex-direction: column;
  }

  .pill-select {
    width: 100%;
  }
}

/* ===== TOP PICKS ===== */
#topPicks {
  /* width: min(1280px, 94%); */
  width: min(1400px, 96%);
  margin: 18px auto 0;
}

#topPicks .topPicksGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: stretch;
}

#topPicks .topPickCard {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  padding: 16px 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  text-align: left;
  min-height: 140px;
  contain: layout;
}

#topPicks .topPickCard h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 800;
}

#topPicks .topPickCard p {
  margin: 0 0 12px;
  font-size: 13px;
  color: rgba(20, 20, 30, 0.7);
  line-height: 1.45;
}

/* #topPicks .topPickCard a {
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  background: #111;
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
} */

@media (max-width: 900px) {
  #topPicks .topPicksGrid {
    grid-template-columns: 1fr;
  }
}

/* ===== RESULTS ===== */
.section-title {
  width: min(500px, 92%);
  margin: 20px auto 10px;
  text-align: center;
  font-size: 18px;
  font-weight: 850;
}

#results {
  /* width: min(860px, 92%); */
  margin: 18px auto 0;
}

.result-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  text-align: center;
  margin-bottom: 14px;
  contain: layout;
}

.result-card a {
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  background: #111;
  /* color: #fff !important; */
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
}

.result-card .saveBtn {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  font-weight: 700;
}

/* ===== Auth Modal ===== */
.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}



.auth-card {
  position: relative;
  width: min(460px, calc(100% - 32px));
  margin: 90px auto;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 22px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.16);
  padding: 20px 18px 14px;
  text-align: center;
  contain: layout;
}

.auth-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.65);
  cursor: pointer;
}

.auth-title {
  margin: 8px 0 6px;
  font-size: 20px;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.auth-subtitle {
  margin: 0 0 14px;
  font-size: 13px;
  color: rgba(20, 20, 30, 0.7);
}

.auth-social {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.auth-social-btn {
  width: 100%;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.65);
  font-weight: 750;
  cursor: pointer;
  text-align: left;
  padding-left: 14px;
}

.auth-social-btn:hover {
  background: linear-gradient(135deg, #6d5dfcb2, #9b6bffb5);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 10px;
  color: rgba(20, 20, 30, 0.55);
  font-size: 12px;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: rgba(0, 0, 0, 0.1);
}

.auth-divider span {
  padding: 0 6px;
}

.auth-tabs {
  display: flex;
  gap: 8px;
  margin: 6px 0 12px;
}

.auth-tab {
  flex: 1;
  padding: 10px 10px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  font-weight: 800;
  font-size: 13px;
}

.auth-tab.active {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.14);
}

.auth-panel {
  display: grid;
  gap: 10px;
  text-align: left;
}

.auth-panel input {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.7);
  outline: none;
  font-size: 14px;
}

.auth-panel input::placeholder {
  color: rgba(0, 0, 0, 0.45);
}

.auth-primary {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: none;
  background: #111;
  color: #fff;
  font-weight: 850;
  cursor: pointer;
}

.auth-foot {
  margin: 12px 0 0;
  font-size: 11px;
  color: rgba(20, 20, 30, 0.6);
}

/* ===== Premium System Popup ===== */
.sys-popup {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.65);
}

.sys-popup-card {
  width: min(520px, 92%);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.18);
  padding: 20px 18px 16px;
  position: relative;
  text-align: left;
  transform: translateY(6px) scale(0.98);
  opacity: 0;
  animation: sysPopIn 0.16s ease-out forwards;
  contain: layout;
}

@keyframes sysPopIn {
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.sys-popup-title {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.sys-popup-msg {
  margin: 0 0 14px;
  color: rgba(20, 20, 30, 0.72);
  line-height: 1.45;
  font-size: 14px;
}

.sys-popup-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.sys-popup-ok {
  border: none;
  background: #111;
  color: #fff;
  padding: 10px 14px;
  border-radius: 14px;
  font-weight: 800;
  cursor: pointer;
}

.sys-popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.75);
  cursor: pointer;
}

.sys-popup-close:hover {
  background: rgba(255, 255, 255, 0.95);
}

#topPicks:empty,
#results:empty {
  display: none;
}

/* ===== HOME TABS UI ===== */
.tabs-row {
  width: min(1280px, 94%);
  margin: 30px auto 14px;
  display: flex;
  gap: 60px;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding-bottom: 10px;
  justify-content: center;
  text-align: center;
}

.tab-btn {
  border: none;
  background: transparent;
  font-size: 16px;
  font-weight: 850;
  cursor: pointer;
  padding: 10px 8px;
  border-bottom: 3px solid transparent;
  color: rgba(20, 20, 30, 0.7);
}

.tab-btn.active {
  color: var(--text);
  border-bottom-color: #111;
}

.tab-panels {
  width: min(1280px, 94%);
  margin: 0 auto 30px;
}

/* ✅ Tabs panel visibility fix (prevents other sections showing below) */
.tab-panels .tab-panel {
  display: none !important;
}

.tab-panels .tab-panel.active {
  display: grid !important;
}

/* ===== Section grid ===== */
.section-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 1000px) {
  .section-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .tabs-row {
    gap: 10px;
    overflow-x: auto;
  }

  .section-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Tool cards ===== */
.section-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease;
  contain: layout;
}

.section-card:hover {
  transform: translateY(-4px);
}

.tool-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  padding: 18px;
  contain: layout;
}

.tool-logo-wrap {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 10px;
}

.tool-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.tool-info {
  text-align: left;
}

.tool-name {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 900;
}

.tool-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(20, 20, 30, 0.7);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tool-actions {
  margin-top: 14px;
  display: flex;
  justify-content: flex-start;
}


/* ===== FIXED FOOTERS (Aixploria style) ===== */
.section-footer {
  display: none;
  margin: 14px auto 0;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.section-footer.active {
  display: flex;
  /* only active tab footer shows */
}

.section-more-btn {
  flex: 1;
  text-align: center;
  padding: 14px 16px;
  border-radius: 0px 0px 20px 20px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.6);
  font-weight: 900;
  text-decoration: none;
  color: #111;
  margin-top: 5px;
}

.section-more-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
  border-color: #7c5cff;
  color: #7c5cff;
  background: rgba(124, 92, 255, 0.08);
}


.all-categories-wrap .all-categories-btn {
  width: 100%;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  :root {
    --text: #ecf1ff;
    --muted: rgba(236, 241, 255, 0.62);
    --glass: rgba(20, 22, 30, 0.62);
    --border: rgba(255, 255, 255, 0.1);
    --shadow: 0 22px 70px rgba(0, 0, 0, 0.55);
  }

  body {
    background:
      radial-gradient(900px 600px at 20% 35%,
        rgba(97, 128, 255, 0.35),
        transparent 60%),
      radial-gradient(900px 600px at 70% 35%,
        rgba(255, 128, 214, 0.3),
        transparent 60%),
      radial-gradient(1200px 800px at 50% 80%,
        rgba(255, 80, 80, 0.18),
        transparent 60%),
      #070a12;
    color: var(--text);
  }

  .tabs-row {
    border-bottom-color: rgba(255, 255, 255, 0.12);
  }

  .tab-btn {
    color: rgba(236, 241, 255, 0.7);
  }

  .tab-btn.active {
    border-bottom-color: #fff;
  }

  .section-card {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 16px 52px rgba(0, 0, 0, 0.45);
  }

  .tool-logo-wrap {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
  }

  .tool-desc {
    color: rgba(236, 241, 255, 0.7);
  }

  .section-more-btn,
  .all-categories-btn {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.02);
    color: rgba(236, 241, 255, 0.92);
  }


  .btn {
    border-color: rgba(255, 255, 255, 0.14);
  }

  .btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
  }

  .btn-solid {
    background: #fff;
    color: #0b0b10;
  }
}

/* =========================
   FIX: 5 COLUMN GRID (Desktop)
   Paste this at END of style.css
========================= */

/* panels wrapper a little wider */
.tab-panels {
  width: min(1400px, 96%);
  margin: 0 auto 43px;
}

/* 5 columns on big screens */
.section-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* Responsive breakpoints */
@media (max-width: 1280px) {
  .section-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1024px) {
  .section-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 780px) {
  .section-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .section-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Premium "SEE THE FULL LIST" Button (Aixploria vibe) ===== */

.all-categories-wrap {
  width: min(500px, 92%);
  margin: 28px auto 80px;
  display: flex;
  justify-content: center;
}

.all-categories-btn {
  flex: 1;
  width: min(720px, 92%);
  text-align: center;
  padding: 8px 18px;
  margin-top: 0px;
  border-radius: 18px;
  font-weight: 350;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;

  /* gradient border like screenshot */
  border: 2px solid transparent;
  background:
    linear-gradient(rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.78)) padding-box,
    linear-gradient(90deg,
      rgba(97, 128, 255, 0.95),
      rgba(255, 128, 214, 0.95),
      rgb(80 190 255 / 95%)) border-box;

  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.1);
  color: #111;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.all-categories-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(109, 93, 252, 0.45);
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .all-categories-btn {
    background:
      linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)) padding-box,
      linear-gradient(90deg,
        rgba(97, 128, 255, 0.95),
        rgba(255, 128, 214, 0.95),
        rgb(80 190 255 / 95%)) border-box;
    color: #ffffff;
    box-shadow: 0 18px 50px rgba(109, 93, 252, 0.25);
  }
}

/* =========================
   TRENDING CATEGORIES (Theme-ready)
   Paste at END of style.css
========================= */

/* Button aur trending ke beech gap */
.all-categories-wrap {
  margin: 28px auto 120px;
  /* ✅ yaha gap bada */
}



/* Title */
.trending-title {
  text-align: center;
  font-size: clamp(26px, 3vw, 40px);
  /* ✅ thoda chota */
  font-weight: 900;
  letter-spacing: -0.03em;
  margin: 0 0 26px;
  color: var(--text);
  text-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

/* Grid */
.trending-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 1050px) {
  .trending-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 780px) {
  .trending-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 420px) {
  .trending-grid {
    grid-template-columns: 1fr;
  }
}

/* Card */
.trend-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;

  padding: 26px 18px;
  border-radius: 22px;

  text-decoration: none !important;
  /* ✅ underline kill */
  color: var(--text) !important;
  /* ✅ blue link kill */

  background: var(--glass);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);

  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.trend-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
}

/* Icon box */
.trend-icon {
  width: 88px;
  height: 88px;
  border-radius: 20px;

  display: grid;
  place-items: center;

  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.trend-card:hover .trend-icon {
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.18);
}

/* icon image */
.trend-icon img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  opacity: 0.95;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.2));
}

/* text */
.trend-text {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.01em;
  text-align: center;
  line-height: 1.15;
  text-decoration: none !important;
  /* ✅ underline kill */
}

/* Dark mode icon box tune */
@media (prefers-color-scheme: dark) {
  .trend-card {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.55);
  }

  .trend-icon {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
  }

  .trend-card:hover {
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.65);
  }
}

/* =========================
   PREMIUM TRENDING SECTION
========================= */

.trending-wrap {
  width: min(1400px, 96%);
  margin: 0 auto 100px;
  text-align: center;
}

/* ===== Title with side lines ===== */

.trending-title {
  position: relative;
  display: inline-block;
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 600;
  /* less bold */
  letter-spacing: 0.06em;
  /* stretch effect */
  margin-bottom: 40px;
  /* margin-top: 43px; */
  color: var(--text);
}

.trending-title::before,
.trending-title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 120px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.25));
}

.trending-title::after {
  right: -140px;
  background: linear-gradient(to left, transparent, rgba(0, 0, 0, 0.25));
}

.trending-title::before {
  left: -140px;
}

/* Dark mode line adjust */
@media (prefers-color-scheme: dark) {

  .trending-title::before,
  .trending-title::after {
    background: linear-gradient(to right,
        transparent,
        rgba(255, 255, 255, 0.25));
  }
}

/* ===== Grid ===== */

.trending-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

@media (max-width: 1000px) {
  .trending-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .trending-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Card ===== */

.trend-card {
  padding: 28px 18px;
  border-radius: 24px;
  text-decoration: none !important;
  color: var(--text) !important;

  background: var(--glass);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;

  transition: all 0.25s ease;
}

.trend-card:hover {
  transform: translateY(-6px);
  border-color: rgba(109, 93, 252, 0.22);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
}

/* ===== Icon wrapper (LIGHT MODE FIXED) ===== */

.trend-icon {
  width: 78px;
  height: 78px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

/* remove ugly solid background in light */
.trend-icon img {
  width: 63px;
  height: 63px;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.15));
}

/* Dark mode icon subtle glass */
@media (prefers-color-scheme: dark) {
  .trend-icon {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .trend-icon img {
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.45));
  }
}

/* ===== Text ===== */

.trend-text {
  font-size: 16px;
  font-weight: 600;
  /* lighter */
  letter-spacing: 0.04em;
  text-decoration: none !important;
}

/* =========================================================
   PRICING SECTION (FULL COMPLETE)
   - Heading + lines
   - Free small card + Premium big card
   - Most Popular badge fix
   - Light + Dark mode (device behavior)
========================================================= */

/* Wrapper */
.pricing-wrap {
  width: min(1200px, 92%);
  margin: 110px auto 140px;
  text-align: center;
  position: relative;
}

/* Heading with side lines */
.pricing-head {
  margin-bottom: 34px;
}

.pricing-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 8px;
}

.pricing-title-row::before,
.pricing-title-row::after {
  content: "";
  height: 1px;
  width: min(220px, 18vw);
  background: rgba(0, 0, 0, 0.18);
}

.pricing-title {
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0;
}

.pricing-subtitle {
  margin: 0;
  font-size: 14px;
  color: rgba(20, 20, 30, 0.65);
}

/* Layout */
.pricing-grid {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 34px;
  flex-wrap: wrap;
  margin-top: 34px;
}

/* Base Card */
.pricing-card {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 26px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.12);
  padding: 26px 26px 22px;
  text-align: left;
  position: relative;
  overflow: hidden;
}

/* Free = Smaller */
.pricing-card.free {
  width: min(440px, 94vw);
  /* min-height: 520px; */
  transform: scale(0.96);
  opacity: 0.95;
}

/* Premium = Bigger */
.pricing-card.premium {
  width: min(640px, 94vw);
  min-height: 580px;
  /* ✅ Bigger */
  transform: scale(1.03);
  border: 1px solid rgba(97, 128, 255, 0.35);
  box-shadow:
    0 25px 80px rgba(0, 0, 0, 0.14),
    0 0 60px rgba(97, 128, 255, 0.18);
  z-index: 2;
}

/* Premium gradient vibe */
.pricing-card.premium::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 450px at 15% 10%,
      rgba(97, 128, 255, 0.5),
      transparent 55%),
    radial-gradient(900px 450px at 85% 10%,
      rgba(255, 128, 214, 0.38),
      transparent 55%),
    radial-gradient(900px 520px at 50% 105%,
      rgba(255, 80, 80, 0.28),
      transparent 58%);
  opacity: 0.55;
  pointer-events: none;
}

.pricing-card>* {
  position: relative;
  z-index: 1;
}

/* Most Popular Badge (FIXED - not sticking) */
.pricing-badge {
  position: absolute;
  top: 50px;
  /* ✅ upar ho gaya */
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 850;
  border-radius: 999px;
  background: linear-gradient(90deg,
      rgba(97, 128, 255, 0.95),
      rgba(255, 128, 214, 0.92));
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Plan Title */
.plan-name {
  margin: 6px 0 12px;
  text-align: center;
  font-size: 26px;
  font-weight: 950;
  letter-spacing: -0.02em;
  padding-top: 80px;
}

/* Price */
.plan-price {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 14px;
}

.plan-price .currency {
  font-size: 22px;
  font-weight: 950;
}

.plan-price .amount {
  font-size: 58px;
  font-weight: 1000;
  letter-spacing: -0.04em;
  line-height: 1;
}

.plan-price .per {
  font-size: 16px;
  font-weight: 800;
  color: rgba(20, 20, 30, 0.72);
}

/* Premium extra pricing line */
.plan-note {
  text-align: center;
  font-size: 13px;
  margin: 0 0 18px;
  color: rgba(20, 20, 30, 0.7);
}

.best-value {
  display: inline-flex;
  align-items: center;
  margin-left: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  background: rgba(60, 220, 140, 0.18);
  color: #0a7a45;
  border: 1px solid rgba(60, 220, 140, 0.3);
}

/* Divider */
.plan-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.12);
  margin: 16px 0 18px;
}

/* Features List */
.plan-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.plan-features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: rgba(20, 20, 30, 0.78);
  line-height: 1.35;
}

.plan-features li .tick {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 20px;
  margin-top: 1px;
  font-size: 12px;
  font-weight: 950;
}

/* Premium tick */
.pricing-card.premium .plan-features li .tick {
  background: rgba(97, 128, 255, 0.22);
  border: 1px solid rgba(97, 128, 255, 0.3);
}

/* Premium features 2 column */
.pricing-card.premium .plan-features {
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
}

/* Buttons */
.plan-btn {
  margin-top: 22px;
  width: 100%;
  padding: 14px 14px;
  border-radius: 16px;
  font-weight: 950;
  font-size: 14px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  text-align: center;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.plan-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
  border-color: #7c5cff;
  color: #7c5cff;
  background: rgba(124, 92, 255, 0.08);
}

/* Premium CTA */
.pricing-card.premium .plan-btn {
  border: none;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  /* background: linear-gradient(90deg,
      rgba(97, 128, 255, 1),
      rgba(59, 130, 246, 1)); */
  box-shadow: 0 18px 50px rgba(59, 130, 246, 0.25);
}

.pricing-card.premium .plan-btn:hover {
  box-shadow: 0 28px 80px rgba(59, 130, 246, 0.34);
}

/* Responsive */
@media (max-width: 980px) {

  .pricing-card.free,
  .pricing-card.premium {
    transform: none;
  }

  .pricing-card.premium .plan-features {
    grid-template-columns: 1fr;
  }

  .pricing-title-row::before,
  .pricing-title-row::after {
    width: 14vw;
  }
}

/* ===== Dark Mode ===== */
@media (prefers-color-scheme: dark) {

  .pricing-title-row::before,
  .pricing-title-row::after {
    background: rgba(255, 255, 255, 0.16);
  }

  .pricing-subtitle {
    color: rgba(236, 241, 255, 0.65);
  }

  .pricing-card {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 90px rgba(0, 0, 0, 0.6);
  }

  .pricing-card.premium {
    border-color: rgba(97, 128, 255, 0.35);
    box-shadow:
      0 26px 90px rgba(0, 0, 0, 0.75),
      0 0 70px rgba(97, 128, 255, 0.22);
  }

  .plan-price .per,
  .plan-note,
  .plan-features li {
    color: rgba(236, 241, 255, 0.72);
  }

  .plan-divider {
    background: rgba(255, 255, 255, 0.14);
  }

  .plan-features li .tick {
    background: rgba(255, 255, 255, 0.1);
  }

  .pricing-card.premium .plan-features li .tick {
    background: rgba(97, 128, 255, 0.2);
    border-color: rgba(97, 128, 255, 0.32);
  }

  .plan-btn {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(236, 241, 255, 0.92);
  }

  .best-value {
    background: rgba(60, 220, 140, 0.16);
    color: rgba(140, 255, 200, 0.95);
    border-color: rgba(60, 220, 140, 0.28);
  }
}

.section-title {
  text-align: center;
  font-size: 39px;
  font-weight: 750;
  position: relative;
  margin-bottom: 20px;
}

.section-title::before,
.section-title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 120px;
  height: 1px;
  background: rgba(0, 0, 0, 0.2);
}

.section-title::before {
  left: -150px;
}

.section-title::after {
  right: -150px;
}

.pricing-subtitle {
  text-align: center;
  margin-top: 8px;
  margin-bottom: 50px;
  font-size: 16px;
  opacity: 0.7;
}

.trending-wrap {
  margin-bottom: 250px;
  margin-top: 250px;
}

/* =========================
   Popular Platforms (Marquee)
   Paste at END of style.css
========================= */

.platforms-wrap {
  width: min(1400px, 96%);
  margin: 70px auto 90px;
  text-align: center;
}

/* same title system like your section-title */
.platforms-title {
  margin-bottom: 30px;
  margin-top: 280px;
}

/* glass container */
.platforms-marquee {
  position: relative;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--glass);
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 18px 10px;
}

/* fade edges like premium */
.platforms-marquee::before,
.platforms-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 110px;
  pointer-events: none;
  z-index: 2;
}

.platforms-marquee::before {
  left: 0;
  background: linear-gradient(to right,
      rgba(246, 246, 248, 1),
      rgba(246, 246, 248, 0));
}

.platforms-marquee::after {
  right: 0;
  background: linear-gradient(to left,
      rgba(246, 246, 248, 1),
      rgba(246, 246, 248, 0));
}

/* moving track */
.platforms-track {
  display: flex;
  gap: 36px;
  align-items: center;
  width: max-content;
  will-change: transform;
  animation: platformsScroll 20s linear infinite;
}

/* hover to pause */
.platforms-marquee:hover .platforms-track {
  animation-play-state: paused;
}

/* each item */
.platform-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  text-decoration: none;
  color: rgba(20, 20, 30, 0.82);
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition:
    transform 0.18s ease,
    background 0.18s ease;
  contain: layout;
}

.platform-item img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: none;
  opacity: 0.95;
}

.platform-item span {
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.02em;
}

/* hover premium feel */
.platform-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.55);
}

/* keyframes: right -> left loop */
@keyframes platformsScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* responsive */
@media (max-width: 640px) {
  .platforms-track {
    gap: 18px;
  }

  .platform-item span {
    font-size: 14px;
  }

  .platforms-marquee::before,
  .platforms-marquee::after {
    width: 60px;
  }
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
  .platforms-marquee::before {
    background: linear-gradient(to right,
        rgba(7, 10, 18, 1),
        rgba(7, 10, 18, 0));
  }

  .platforms-marquee::after {
    background: linear-gradient(to left,
        rgba(7, 10, 18, 1),
        rgba(7, 10, 18, 0));
  }

  .platform-item {
    color: rgba(236, 241, 255, 0.9);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .platform-item:hover {
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
    background: rgba(255, 255, 255, 0.09);
  }
}

/* =========================
   Testimonials + Stats
   Paste at END of style.css
========================= */

.testi-wrap {
  width: min(1280px, 94%);
  margin: 80px auto 63px;
}

.testi-head {
  text-align: center;
  margin-bottom: 35px;
  margin-top: 280px;
}

.testi-title {
  margin: 0;
  font-size: clamp(28px, 4.2vw, 44px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text);
}

/* yha se nhi hatna hai hmm ko blur theek */

.testi-highlight {
  background: linear-gradient(90deg,
      rgba(97, 128, 255, 0.95),
      rgba(255, 128, 214, 0.95),
      rgba(255, 80, 80, 0.95));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.testi-sub {
  margin: 10px auto 0;
  width: min(720px, 92%);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

/* grid */
.testi-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* card */
.testi-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 18px 18px 16px;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
  min-height: 190px;
}

.testi-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.14);
}

.testi-stars {
  font-size: 14px;
  letter-spacing: 2px;
  opacity: 0.95;
  /* “gold” without hard colors: use filter on text via gradient */
  background: linear-gradient(90deg, #f5c542, #ffd36a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 900;
  margin-bottom: 10px;
}

.testi-text {
  margin: 0 0 14px;
  color: rgba(20, 20, 30, 0.78);
  font-size: 13.5px;
  line-height: 1.55;
}

/* user */
.testi-user {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}

.testi-avatar {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.7);
}

.testi-name {
  font-weight: 900;
  font-size: 13px;
  color: var(--text);
  letter-spacing: -0.01em;
}

.testi-role {
  font-size: 12px;
  color: rgba(20, 20, 30, 0.6);
}

/* stats */
.testi-stats {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  text-align: center;
}

.stat {
  padding: 12px 10px;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.3);
}

.stat-num {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 950;
  letter-spacing: -0.03em;
  background: linear-gradient(90deg,
      rgba(97, 128, 255, 0.95),
      rgba(255, 128, 214, 0.95),
      rgba(255, 80, 80, 0.95));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13px;
  color: rgba(20, 20, 30, 0.68);
  font-weight: 700;
}

/* responsive */
@media (max-width: 980px) {
  .testi-grid {
    grid-template-columns: 1fr;
  }

  .testi-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* dark mode */
@media (prefers-color-scheme: dark) {
  .testi-text {
    color: rgba(236, 241, 255, 0.76);
  }

  .testi-role {
    color: rgba(236, 241, 255, 0.58);
  }

  .testi-avatar {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(236, 241, 255, 0.92);
  }

  .stat {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.06);
  }

  .stat-label {
    color: rgba(236, 241, 255, 0.7);
  }
}

/* =========================
   Premium Footer (Glass)
   Paste at END of style.css
========================= */

.site-footer {
  width: 100%;
  margin: 103px 0 40px;
}

.footer-shell {
  width: min(1400px, 96%);
  margin: 0 auto;
  padding: 30px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

/* subtle glow */
.footer-shell::before {
  content: "";
  position: absolute;
  inset: -80px;
  background:
    radial-gradient(600px 220px at 20% 20%,
      rgba(97, 128, 255, 0.18),
      transparent 60%),
    radial-gradient(600px 220px at 80% 30%,
      rgba(255, 128, 214, 0.16),
      transparent 60%),
    radial-gradient(600px 240px at 55% 90%,
      rgba(255, 80, 80, 0.12),
      transparent 65%);
  pointer-events: none;
}

/* ✅ FOOTER TOP — tighter layout + no weird gaps */
.footer-top {
  position: relative;
  display: grid;

  /* same feel, but columns better sized */
  grid-template-columns: 1.55fr 1fr 1fr 1.35fr;

  gap: 18px;
  padding: 8px 6px 16px;

  /* ✅ important: stop “dense” auto placements */
  grid-auto-flow: row;
  align-items: start;
  align-content: start;
}

.footer-col {
  min-width: 0;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 10px;
}

.footer-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 950;
  letter-spacing: -0.02em;
  color: var(--text);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-name {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text);
}

.footer-desc {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  max-width: 520px;
}

.footer-h {
  margin: 6px 0 10px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text);
}

.footer-link {
  display: inline-flex;
  width: fit-content;
  text-decoration: none;
  color: rgba(20, 20, 30, 0.72);
  font-size: 13px;
  padding: 6px 0;
  transition:
    transform 0.15s ease,
    color 0.15s ease,
    opacity 0.15s ease;
}

.footer-link:hover {
  color: var(--text);
  transform: translateY(-1px);
}

/* ✅ Popular tags = neat grid, height kam, line-up perfect */
.footer-tags {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  /* 2 columns */
  gap: 8px;
  margin-top: 19px;
  /* 16px tha = extra gap */
  margin-bottom: 0;
  justify-items: end;
}

.tag-pill {
  text-decoration: none;
  font-size: 11.5px;
  font-weight: 850;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.52);
  color: rgba(20, 20, 30, 0.8);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
  line-height: 1.1;
  white-space: nowrap;
}


.tag-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.1);
  color: var(--text);
  border-color: #949494;
}

/* Newsletter panel */
.footer-newsletter {
  position: relative;
  margin: 10px 6px 16px;
  padding: 16px 16px;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.news-title {
  font-size: 16px;
  font-weight: 950;
  letter-spacing: -0.02em;
  color: var(--text);
}

.news-sub {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--muted);
}

.news-form {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: min(520px, 100%);
  justify-content: flex-end;
}

.news-input {
  width: min(340px, 100%);
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.65);
  outline: none;
  font-size: 13px;
}

.news-input::placeholder {
  color: rgba(0, 0, 0, 0.45);
}

.news-btn {
  padding: 12px 16px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 950;
  letter-spacing: 0.01em;
  color: #0b0b10;
  background: linear-gradient(90deg,
      rgba(110, 255, 120, 0.95),
      rgba(35, 210, 120, 0.95));
  box-shadow: 0 18px 48px rgba(35, 210, 120, 0.2);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    filter 0.15s ease;
}

.news-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.02);
  box-shadow: 0 24px 60px rgba(35, 210, 120, 0.28);
}

/* Bottom row */
.footer-bottom {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 6px 6px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-copy {
  font-size: 12px;
  color: rgba(20, 20, 30, 0.62);
  line-height: 1.4;
}

.footer-legal {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 980px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .news-form {
    min-width: 100%;
    justify-content: flex-start;
  }

  .footer-newsletter {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .footer-top {
    grid-template-columns: 1fr;
  }

  .news-form {
    flex-direction: column;
    align-items: stretch;
  }

  .news-input {
    width: 100%;
  }

  .news-btn {
    width: 100%;
  }
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
  .footer-shell {
    background: rgba(255, 255, 255, 0);
    border-color: rgba(255, 255, 255, 0.1);
  }

  .footer-mark {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
    color: rgba(236, 241, 255, 0.92);
  }

  .footer-link {
    color: rgba(236, 241, 255, 0.7);
  }

  .tag-pill {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.027);
    color: rgba(236, 241, 255, 0.78);
  }

  .footer-newsletter {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.02);
  }

  .news-input {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.02);
    color: rgba(236, 241, 255, 0.92);
  }

  .news-input::placeholder {
    color: rgba(236, 241, 255, 0.55);
  }

  .footer-bottom {
    border-top-color: rgba(255, 255, 255, 0.1);
  }

  .footer-copy {
    color: rgba(236, 241, 255, 0.6);
  }
}

/* Quick links always on new line */
.footer-col .footer-link {
  display: block;
}

.footer-h {
  margin: 0 0 10px;
}

.footer-col {
  padding-top: 0;
}




/* LOGO */

.footer-brand-logo {
  width: 34px;
  height: 34px;
  display: inline-block;
  vertical-align: middle;
  /* margin-right: 10px; */
}

.site-footer {
  font-family: var(--font-body);
}

.footer-h,
.footer-name {
  font-family: var(--font-head);
}








/* ✅ Results grid: 2 columns (desktop) */
#results.results-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

/* Responsive */
@media (max-width: 900px) {
  #results.results-container {
    grid-template-columns: 1fr;
  }
}

/* result-card margin remove because grid gap handles spacing */
#results.results-container .result-card {
  margin-bottom: 0;
  height: 100%;
}


/* ✅ Mini logo header (Top Picks + Results) */
.mini-tool-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.mini-tool-logo {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .65);
  border: 1px solid rgba(0, 0, 0, .06);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 0 0 44px;
}

.mini-tool-logo img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.mini-tool-title h3 {
  margin: 0;
}




/* =========================
   🌙 DARK MODE SUPPORT
   (Design same, just darker theme)
========================= */

@media (prefers-color-scheme: dark) {

  #results.results-container .result-card {
    background: rgba(18, 22, 30, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  }

  .mini-tool-logo {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .12);
  }

  .mini-tool-title h3 {
    color: rgba(236, 241, 255, .92);
  }

  #results.results-container .result-card p {
    color: rgba(220, 225, 240, .75);
  }
}



/* =========================
   Search Results - Load More (Premium)
   Uses your existing classes:
   .load-more-wrapper , .load-more-btn
========================= */

.load-more-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 22px 0 16px;
  grid-column: 1 / -1;
  justify-self: center;
}



.load-more-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.09) inset,
    0 0 22px rgba(91, 124, 250, 0.25),
    0 0 22px rgba(255, 91, 189, 0.18);
}

.load-more-btn:active {
  transform: translateY(0) scale(0.99);
}









/* =========================================================
   ✅ SEARCH RESULTS GRID + MINI HEADER (CLEAN)
   (Design same, just organized)
========================================================= */

/* Results grid: 2 columns (desktop) */
#results.results-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

/* Responsive */
@media (max-width: 900px) {
  #results.results-container {
    grid-template-columns: 1fr;
  }
}

/* result-card margin remove because grid gap handles spacing */
#results.results-container .result-card {
  margin-bottom: 0;
  height: 100%;
}

/* Mini logo header (Top Picks + Results) */
.mini-tool-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.mini-tool-logo {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 0 0 44px;
}

.mini-tool-logo img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.mini-tool-title h3 {
  margin: 0;
}

/* =========================================================
   ✅ LOAD MORE BUTTON (Premium)
========================================================= */
.load-more-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 22px 0 16px;
  grid-column: 1 / -1;
  justify-self: center;
}

.load-more-btn {
  -webkit-appearance: none;
  appearance: none;

  display: inline-flex;
  justify-content: center;
  align-items: center;

  padding: 10px 22px;
  min-width: 220px;
  max-width: 360px;

  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.6px;
  text-transform: uppercase;

  border-radius: 999px;
  cursor: pointer;

  background:
    linear-gradient(rgba(12, 14, 18, 0.85), rgba(12, 14, 18, 0.85)) padding-box,
    linear-gradient(90deg, #5b7cfa, #ff5bbd) border-box;
  border: 2px solid transparent;

  color: #e9ecff;

  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;


  transition: transform 0.15s ease;
}

.load-more-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.09) inset,
    0 0 22px rgba(91, 124, 250, 0.25),
    0 0 22px rgba(255, 91, 189, 0.18);
}

.load-more-btn:active {
  transform: translateY(0) scale(0.99);
}

/* =========================================================
   🌙 DARK MODE FIX PACK (Top Picks + Results + Popup + Prompt)
   (Design SAME, just dark theme)
========================================================= */
@media (prefers-color-scheme: dark) {

  /* 🔹 Prompt card + inputs (so Top Picks area feel same) */
  .prompt-card {
    background: rgba(20, 22, 30, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.55);
  }

  #searchInput {
    color: rgba(236, 241, 255, 0.92);
  }

  #searchInput::placeholder {
    color: rgba(236, 241, 255, 0.55);
  }

  .pill-select {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(236, 241, 255, 0.90);
  }

  /* 🔹 Mini logo darker */
  .mini-tool-logo {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
  }

  .mini-tool-title h3 {
    color: rgba(236, 241, 255, 0.92);
  }

  /* ✅ RESULTS dark */
  #results.results-container .result-card {
    background: rgba(18, 22, 30, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  }

  #results.results-container .result-card p,
  #results.results-container .result-card strong {
    color: rgba(220, 225, 240, 0.78);
  }

  /* ✅ TOP PICKS dark (THIS was missing) */
  #topPicks .topPickCard {
    background: rgba(18, 22, 30, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  }

  #topPicks .topPickCard p {
    color: rgba(220, 225, 240, 0.78);
  }

  /* Top picks button keep “premium” look (same vibe) */
  /* #topPicks .topPickCard a {
    background: #fff;
    color: #0b0b10 !important;
  } */

  /* ✅ SYSTEM POPUP dark */
  .sys-popup {
    background: rgba(0, 0, 0, 0.65);
  }

  .sys-popup-card {
    background: rgba(18, 22, 30, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.65);
  }

  .sys-popup-title {
    color: rgba(236, 241, 255, 0.92);
  }

  .sys-popup-msg {
    color: rgba(236, 241, 255, 0.72);
  }

  .sys-popup-close {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(236, 241, 255, 0.92);
  }

  .sys-popup-close:hover {
    background: rgba(255, 255, 255, 0.12);
  }

  .sys-popup-ok {
    background: #fff;
    color: #0b0b10;
  }
}

/* ===========================
   Premium Category Cards
   =========================== */

.page-shell {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 18px 13px 90px;
}

.page-head {
  margin-bottom: 18px;
}

.page-title {
  font-size: clamp(28px, 4vw, 44px);
  margin: 8px 0 6px;
  letter-spacing: -0.03em;
}

.page-subtitle {
  margin: 0 0 16px;
  color: var(--muted);
}

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.filter-left {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 280px;
}

.filter-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: 999px;
  padding: 12px 44px 12px 14px;
  outline: none;
  font-size: 14px;
}

.filter-clear {
  position: absolute;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  background: rgba(255, 255, 255, 0.75);
  cursor: pointer;
}

.filter-right {
  display: flex;
  gap: 10px;
  align-items: center;
}

.muted-chip {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: 999px;
  padding: 9px 12px;
  font-size: 13px;
  color: rgba(20, 20, 30, 0.75);
}

.cat-grid.premium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 1100px) {
  .cat-grid.premium {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .cat-grid.premium {
    grid-template-columns: 1fr;
  }
}

/* Card */
.cat-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.10);
  overflow: hidden;
  transition: transform .18s ease;
  contain: layout;
}

.cat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.14);
}

.cat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 16px 12px;
}

.cat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.cat-ic {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.04);
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 auto;
}

.cat-ic img {
  width: 33px;
  height: 33px;
  object-fit: contain;
}

.cat-meta {
  min-width: 0;
}

.cat-title {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cat-sub {
  margin-top: 2px;
  font-size: 13px;
  color: rgba(20, 20, 30, 0.68);
}

.cat-pill {
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.65);
  color: #111;
  font-weight: 650;
  font-size: 13px;
  white-space: nowrap;
}

.cat-pill:hover {
  background: rgba(255, 255, 255, 0.85);
}

.pill-count {
  opacity: 0.8;
}

/* list + fade blur */
.cat-body {
  padding: 0 16px 10px;
}

.cat-list-wrap {
  position: relative;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

/* Scroll (hidden by default, show on hover) */
.cat-tool-list {
  list-style: none;
  padding: 10px 10px 30px;
  margin: 0;
  max-height: 230px;
  /* so top tools show, rest scroll */
  overflow: auto;
  scrollbar-width: none;
  /* firefox hide */
}

.cat-tool-list::-webkit-scrollbar {
  width: 0;
  height: 0;
}

/* chrome hide */

.cat-card:hover .cat-tool-list {
  scrollbar-width: thin;
}

.cat-card:hover .cat-tool-list::-webkit-scrollbar {
  width: 8px;
}

.cat-card:hover .cat-tool-list::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.12);
  border-radius: 999px;
}

.cat-tool-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 8px;
  border-radius: 12px;
}

.cat-tool-row:hover {
  background: rgba(0, 0, 0, 0.04);
}

.cat-rank {
  width: 24px;
  text-align: right;
  color: rgba(20, 20, 30, 0.55);
  font-weight: 650;
  font-size: 13px;
}

.cat-tool-main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.tool-logo {
  width: 43px;
  height: 43px;
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.04);
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 auto;
}

.tool-logo img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.cat-tool-name {
  font-size: 14px;
  font-weight: 600;
  color: rgba(20, 20, 30, 0.92);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cat-tool-link {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 0, 0, 0.10);
  background: rgba(255, 255, 255, 0.65);
  color: rgba(20, 20, 30, 0.75);
  text-decoration: none;
  flex: 0 0 auto;
}

.cat-tool-link:hover {
  background: rgba(255, 255, 255, 0.90);
}

.cat-tool-link.disabled {
  opacity: 0.35;
  pointer-events: none;
}

.ext-ic {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Fade overlay */
/* .cat-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 54px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.82));
} */

/* Bottom open */
.cat-bottom {
  display: flex;
  justify-content: flex-end;
  padding: 10px 16px 14px;
}

.cat-open {
  text-decoration: none;
  font-weight: 750;
  color: rgba(20, 20, 30, 0.85);
}

.cat-open span {
  margin-left: 6px;
}

/* Empty */
.cat-empty {
  padding: 14px 12px 18px;
  color: rgba(20, 20, 30, 0.60);
  font-size: 14px;
}

/* ===========================
   Premium Tools Grid
   =========================== */

.results-container.premium {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 1180px) {
  .results-container.premium {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .results-container.premium {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .results-container.premium {
    grid-template-columns: 1fr;
  }
}

.tool-card-premium {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: 20px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.10);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 190px;
  contain: layout;
}

.tool-card-premium:hover {
  transform: translateY(-2px);
  transition: transform .16s ease;
}

.tool-card-premium .tool-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.tool-card-premium .tool-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.tool-rank {
  font-weight: 800;
  font-size: 13px;
  color: rgba(20, 20, 30, 0.60);
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 6px 8px;
  border-radius: 999px;
  flex: 0 0 auto;
}

.tool-card-premium .tool-logo {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.04);
}

.tool-card-premium .tool-logo img {
  width: 22px;
  height: 22px;
}

.tool-title-wrap {
  min-width: 0;
}

.tool-card-premium .tool-name {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tool-card-premium .tool-meta {
  margin-top: 2px;
  font-size: 12px;
  color: rgba(20, 20, 30, 0.65);
}

.tool-card-premium .tool-desc {
  font-size: 13px;
  color: rgba(20, 20, 30, 0.70);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 52px;
}

.tool-card-premium .tool-bottom {
  margin-top: auto;
  display: flex;
  justify-content: flex-start;
  gap: 10px;
}

.tool-card-premium .tool-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
}

/* =====================================================
   DARK + GLASS THEME OVERRIDES (paste at END of style.css)
   Works with:
   1) system dark mode (prefers-color-scheme)
   2) manual: <body class="theme-dark">
   ===================================================== */

:root {
  --bg-dark: #070A12;
  --bg-dark-2: #0B1020;
  --glass-dark: rgba(18, 18, 24, 0.92);
  --glass-dark-2: rgba(18, 18, 24, 0.88);
  --border-dark: rgba(255, 255, 255, 0.10);
  --border-dark-2: rgba(255, 255, 255, 0.16);
  --text-dark: rgba(255, 255, 255, 0.92);
  --muted-dark: rgba(255, 255, 255, 0.62);

  --shadow-dark: 0 22px 70px rgba(0, 0, 0, 0.55);
  --shadow-dark-2: 0 18px 50px rgba(0, 0, 0, 0.45);
}

/* helper selector: auto dark OR manual dark class */
@media (prefers-color-scheme: dark) {
  body {
    color-scheme: dark;
  }
}

body.theme-dark {
  color-scheme: dark;
}

/* ---------- Background (dark gradient like your screenshots) ---------- */
@media (prefers-color-scheme: dark) {
  body {
    color: var(--text-dark);
    background:
      radial-gradient(900px 600px at 20% 30%, rgba(80, 120, 255, 0.35), transparent 60%),
      radial-gradient(900px 600px at 72% 30%, rgba(255, 110, 200, 0.30), transparent 60%),
      radial-gradient(1200px 800px at 50% 85%, rgba(255, 80, 80, 0.22), transparent 60%),
      linear-gradient(180deg, var(--bg-dark), var(--bg-dark-2));
    min-height: 100vh;
  }
}

body.theme-dark {
  color: var(--text-dark);
  background:
    radial-gradient(900px 600px at 20% 30%, rgba(80, 120, 255, 0.35), transparent 60%),
    radial-gradient(900px 600px at 72% 30%, rgba(255, 110, 200, 0.30), transparent 60%),
    radial-gradient(1200px 800px at 50% 85%, rgba(255, 80, 80, 0.22), transparent 60%),
    linear-gradient(180deg, var(--bg-dark), var(--bg-dark-2));
}

/* ---------- Navbar glass ---------- */
@media (prefers-color-scheme: dark) {
  .nav {
    background: rgba(8, 10, 18, 0.92);
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.08); */
  }

  .brand {
    color: var(--text-dark);
  }

  .nav-link {
    color: rgba(255, 255, 255, 0.70);
  }

  .nav-link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-dark);
  }

  .btn {
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.90);
  }

  .btn-ghost {
    background: rgba(255, 255, 255, 0.06);
  }

  .btn-solid {
    background: #fff;
    color: #111;
  }
}

body.theme-dark .nav {
  background: rgba(8, 10, 18, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.theme-dark .brand {
  color: var(--text-dark);
}

body.theme-dark .nav-link {
  color: rgba(255, 255, 255, 0.70);
}

body.theme-dark .nav-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-dark);
}

body.theme-dark .btn {
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.90);
}

body.theme-dark .btn-ghost {
  background: rgba(255, 255, 255, 0.06);
}

body.theme-dark .btn-solid {
  background: #fff;
  color: #111;
}

/* ---------- Page subtitle muted ---------- */
@media (prefers-color-scheme: dark) {
  .page-subtitle {
    color: var(--muted-dark);
  }
}

body.theme-dark .page-subtitle {
  color: var(--muted-dark);
}

/* ---------- Filters glass ---------- */
@media (prefers-color-scheme: dark) {
  .filter-input {
    background: rgba(18, 18, 24, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: var(--text-dark);
  }

  .filter-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
  }

  .filter-clear {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(18, 18, 24, 0.92);
    color: rgba(255, 255, 255, 0.75);
  }

  .muted-chip {
    background: rgba(18, 18, 24, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.75);
  }

  .pill-select {
    background: rgba(18, 18, 24, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.80);
  }
}

body.theme-dark .filter-input {
  background: rgba(18, 18, 24, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: var(--text-dark);
}

body.theme-dark .filter-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

body.theme-dark .filter-clear {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(18, 18, 24, 0.92);
  color: rgba(255, 255, 255, 0.75);
}

body.theme-dark .muted-chip {
  background: rgba(18, 18, 24, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.75);
}

body.theme-dark .pill-select {
  background: rgba(18, 18, 24, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.80);
}

/* ---------- Category cards glass (the main missing piece) ---------- */
@media (prefers-color-scheme: dark) {
  .cat-card {
    background: var(--glass-dark);
    border: 1px solid var(--border-dark);
    box-shadow: var(--shadow-dark);
  }

  .cat-card:hover {
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.65);
  }

  .cat-ic {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .cat-title {
    color: rgba(255, 255, 255, 0.92);
  }

  .cat-sub {
    color: rgba(255, 255, 255, 0.58);
  }

  .cat-pill {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.92);
  }

  .cat-pill:hover {
    background: rgba(255, 255, 255, 0.12);
  }

  .cat-list-wrap {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .cat-tool-row:hover {
    background: rgba(255, 255, 255, 0.06);
  }

  .cat-rank {
    color: rgba(255, 255, 255, 0.45);
  }

  .cat-tool-name {
    color: rgba(255, 255, 255, 0.88);
  }

  .cat-tool-link {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.75);
  }

  .cat-tool-link:hover {
    background: rgba(255, 255, 255, 0.12);
  }

  /* Fade blur overlay at bottom (looks premium) */
  /* .cat-fade {
    background: linear-gradient(to bottom, rgba(10,12,20,0), rgba(10,12,20,0.88));
  } */

  .cat-open {
    color: rgba(255, 255, 255, 0.82);
  }
}

body.theme-dark .cat-card {
  background: var(--glass-dark);
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow-dark);
}

body.theme-dark .cat-card:hover {
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.65);
}

body.theme-dark .cat-ic {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body.theme-dark .cat-title {
  color: rgba(255, 255, 255, 0.92);
}

body.theme-dark .cat-sub {
  color: rgba(255, 255, 255, 0.58);
}

body.theme-dark .cat-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
}

body.theme-dark .cat-pill:hover {
  background: rgba(255, 255, 255, 0.12);
}

body.theme-dark .cat-list-wrap {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body.theme-dark .cat-tool-row:hover {
  background: rgba(255, 255, 255, 0.06);
}

body.theme-dark .cat-rank {
  color: rgba(255, 255, 255, 0.45);
}

body.theme-dark .cat-tool-name {
  color: rgba(255, 255, 255, 0.88);
}

body.theme-dark .cat-tool-link {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.75);
}

body.theme-dark .cat-tool-link:hover {
  background: rgba(255, 255, 255, 0.12);
}

body.theme-dark .cat-fade {
  background: linear-gradient(to bottom, rgba(10, 12, 20, 0), rgba(10, 12, 20, 0.88));
}

body.theme-dark .cat-open {
  color: rgba(255, 255, 255, 0.82);
}

/* ---------- Tool cards glass (category page) ---------- */
@media (prefers-color-scheme: dark) {
  .tool-card-premium {
    background: rgba(18, 18, 24, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: var(--shadow-dark-2);
  }

  .tool-rank {
    color: rgba(255, 255, 255, 0.62);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
  }

  .tool-card-premium .tool-name {
    color: rgba(255, 255, 255, 0.92);
  }

  .tool-card-premium .tool-meta {
    color: rgba(255, 255, 255, 0.62);
  }

  .tool-card-premium .tool-desc {
    color: rgba(255, 255, 255, 0.66);
  }

  .tool-card-premium .tool-logo {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .tool-card-premium .tool-btn {
    background: #fff;
    color: #111;
  }
}

body.theme-dark .tool-card-premium {
  background: rgba(18, 18, 24, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: var(--shadow-dark-2);
}

body.theme-dark .tool-rank {
  color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

body.theme-dark .tool-card-premium .tool-name {
  color: rgba(255, 255, 255, 0.92);
}

body.theme-dark .tool-card-premium .tool-meta {
  color: rgba(255, 255, 255, 0.62);
}

body.theme-dark .tool-card-premium .tool-desc {
  color: rgba(255, 255, 255, 0.66);
}

body.theme-dark .tool-card-premium .tool-logo {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body.theme-dark .tool-card-premium .tool-btn {
  background: #fff;
  color: #111;
}


#pricing {
  scroll-margin-top: 50px;
}

html {
  scroll-behavior: smooth;
}


.early-badge {
  background: linear-gradient(90deg, #ff8a00, #e52e71);
  color: white;
  padding: 3px 8px;
  font-size: 11px;
  border-radius: 20px;
  margin-left: 8px;
}

/* =========================
   Compare Feature UI
========================= */

.compare-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 16px;
  z-index: 9999;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.compare-bar-inner {
  width: min(860px, 92%);
  background: rgba(20, 20, 20, .92);
  color: #fff;
  border-radius: 16px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
  pointer-events: auto;
}

.compare-title {
  font-weight: 800;
}

.compare-count {
  font-size: 12px;
  opacity: .85;
  margin-top: 2px;
}

.compare-actions {
  display: flex;
  gap: 10px;
}

.compare-clear {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
}

.compare-now {
  padding: 10px 14px;
  border-radius: 12px;
  border: 0;
  background: #fff;
  color: #111;
  cursor: pointer;
  font-weight: 900;
}

.compare-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.compare-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.compare-card {
  position: relative;
  width: min(980px, 92%);
  max-height: 80vh;
  overflow: auto;
  background: rgba(255, 255, 255, .94);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}

.compare-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.compare-close {
  border: 0;
  background: rgba(0, 0, 0, .06);
  border-radius: 12px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  font-weight: 900;
}

.compare-body {
  padding-top: 12px;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 14px;
}

.compare-table th,
.compare-table td {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  vertical-align: top;
}

.compare-table th {
  font-size: 12px;
  opacity: .75;
}

.result-card .compareBtn {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  font-weight: 800;
}

.result-card .compareBtn.active {
  background: #111;
  color: #fff;
  border-color: rgba(0, 0, 0, .4);
}

@media (prefers-color-scheme: dark) {
  .compare-card {
    background: rgba(18, 22, 30, .92);
    color: rgba(236, 241, 255, .92);
    border: 1px solid rgba(255, 255, 255, .08);
  }

  .compare-table th,
  .compare-table td {
    border-bottom: 1px solid rgba(255, 255, 255, .10);
  }

  .compare-close {
    background: rgba(255, 255, 255, .08);
    color: #fff;
  }
}

/* =========================
   Recommended (Premium UI)
========================= */

#recommended {
  width: min(980px, 92%);
  margin: 26px auto 0;
}

/* heading */
#recommended .section-title {
  /* margin: 0 0 14px; */
  font-size: 23px;
  font-weight: 800;
  letter-spacing: .2px;
}

/* grid */
#recommended .topPicksGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 920px) {
  #recommended .topPicksGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  #recommended .topPicksGrid {
    grid-template-columns: 1fr;
  }
}

/* card */
#recommended .topPickCard {
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .08);
  border: 1px solid rgba(0, 0, 0, .06);
  background: rgba(255, 255, 255, .82);
  transition: transform .18s ease;
  contain: layout;
}

#recommended .topPickCard:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 70px rgba(0, 0, 0, .12);
}

#recommended .topPickCard p {
  margin: 10px 0 14px;
  font-size: 13px;
  line-height: 1.5;
  /* color: rgba(0, 0, 0, .72); */
}

/* head */
#recommended .mini-tool-head {
  display: flex;
  gap: 10px;
  align-items: center;
}

#recommended .mini-tool-logo {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 0, 0, .08);
  background: rgba(0, 0, 0, .04);
  overflow: hidden;
}

#recommended .mini-tool-logo img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

#recommended .mini-tool-title h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 900;
  color: rgba(0, 0, 0, .9);
}

/* button */
/* #recommended .topPickCard a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #111;
  color: #fff !important;
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
} */

/* ===== Dark Mode ===== */
@media (prefers-color-scheme: dark) {
  #recommended .topPickCard {
    background: rgba(18, 22, 30, 0.78);
    border: 1px solid rgba(255, 255, 255, .09);
    box-shadow: 0 26px 80px rgba(0, 0, 0, .55);
  }

  #recommended .mini-tool-logo {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .14);
  }

  #recommended .mini-tool-title h3 {
    color: rgba(236, 241, 255, .92);
  }

  #recommended .topPickCard p {
    color: rgba(220, 225, 240, .75);
  }

}

#recommended,
#topPicks,
.results-container {
  width: min(1400px, 96%);
  margin: 0 auto;
}

/* ✅ Competitors UI */
#competitorsBox {
  width: min(980px, 92%);
  margin: 14px auto 0;
}

.comp-wrap {
  border-radius: 18px;
  padding: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
}

.comp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.comp-head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 900;
}

.comp-close {
  border: none;
  background: rgba(0, 0, 0, 0.06);
  padding: 8px 10px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 900;
}

.comp-sub {
  margin: 12px 0 10px;
  font-size: 13px;
  opacity: .8;
  font-weight: 800;
}

.comp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 920px) {
  .comp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 580px) {
  .comp-grid {
    grid-template-columns: 1fr;
  }
}

.comp-card {
  border-radius: 16px;
  padding: 14px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.70);
}

.comp-title {
  font-weight: 900;
  font-size: 13.5px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.comp-pill {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
  font-weight: 900;
}

.comp-desc {
  font-size: 12.5px;
  opacity: .82;
  line-height: 1.35;
  /* margin-bottom: 10px; */
}

.comp-link {
  display: inline-flex;
  align-items: center;
  padding: 9px 11px;
  border-radius: 12px;
  background: #111;
  color: #fff !important;
  text-decoration: none;
  font-weight: 900;
  font-size: 12px;
}

.result-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 12px;
}

.competitorBtn {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  font-weight: 800;
}

/* dark mode */
@media (prefers-color-scheme: dark) {
  .comp-wrap {
    background: rgba(18, 22, 30, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.55);
  }

  .comp-card {
    background: rgba(18, 22, 30, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .comp-desc {
    color: rgba(220, 225, 240, .78);
  }

  .comp-pill {
    background: rgba(255, 255, 255, 0.10);
  }

  .comp-close {
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
  }
}

/* ===== Theme tokens (auto dark/light) ===== */
:root {
  --rev-surface: rgba(255, 255, 255, .72);
  --rev-card: rgba(255, 255, 255, .86);
  --rev-border: rgba(0, 0, 0, .08);
  --rev-text: rgba(0, 0, 0, .88);
  --rev-muted: rgba(0, 0, 0, .65);
  --rev-tag: rgba(0, 0, 0, .07);
  --rev-shadow: 0 18px 50px rgba(0, 0, 0, .10);
}

/* Auto detect dark mode */
@media (prefers-color-scheme: dark) {
  :root {
    --rev-surface: rgba(16, 18, 24, .65);
    --rev-card: rgba(20, 22, 30, .72);
    --rev-border: rgba(255, 255, 255, .10);
    --rev-text: rgba(255, 255, 255, .92);
    --rev-muted: rgba(255, 255, 255, .68);
    --rev-tag: rgba(255, 255, 255, .10);
    --rev-shadow: 0 18px 60px rgba(0, 0, 0, .45);
  }
}

/* ===== Revenue Discovery UI ===== */
#revenueBox {
  width: min(1400px, 96%);
  margin: 22px auto 10px;
}

.rev-wrap {
  background: var(--rev-surface);
  border: 1px solid var(--rev-border);
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--rev-shadow);
}

.rev-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.rev-head h3 {
  margin: 0;
  font-size: 23px;
  color: var(--rev-text);
  letter-spacing: .2px;
}

.rev-sub {
  margin: 0;
  color: var(--rev-muted);
  font-size: 13px;
}

.rev-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.rev-card {
  background: var(--rev-card);
  border: 1px solid var(--rev-border);
  border-radius: 16px;
  padding: 14px;
  transition: transform .15s ease;
  contain: layout;
}

.rev-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .12);
}

.rev-title {
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--rev-text);
}

.rev-line {
  font-size: 13px;
  color: var(--rev-muted);
  margin: 4px 0;
}

.rev-line b {
  color: var(--rev-text);
}

.rev-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.rev-tag {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--rev-tag);
  border: 1px solid var(--rev-border);
  color: var(--rev-text);
  font-weight: 700;
}

@media (max-width: 900px) {
  .rev-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Revenue Discovery (Theme Ready) ===== */
:root {
  --rev-bg: rgba(255, 255, 255, 0.75);
  --rev-border: rgba(0, 0, 0, 0.08);
  --rev-text: rgba(0, 0, 0, 0.85);
  --rev-muted: rgba(0, 0, 0, 0.55);
  --rev-card: rgba(255, 255, 255, 0.9);
  --rev-chip: rgba(0, 0, 0, 0.06);
  --rev-shadow: 0 18px 60px rgba(0, 0, 0, 0.10);
}

@media (prefers-color-scheme: dark) {
  :root {
    --rev-bg: rgba(20, 20, 25, 0.65);
    --rev-border: rgba(255, 255, 255, 0.10);
    --rev-text: rgba(255, 255, 255, 0.90);
    --rev-muted: rgba(255, 255, 255, 0.55);
    --rev-card: rgba(30, 30, 38, 0.75);
    --rev-chip: rgba(255, 255, 255, 0.08);
    --rev-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
  }
}

.rev-wrap {
  background: var(--rev-bg);
  border: 1px solid var(--rev-border);
  border-radius: 18px;
  padding: 13px;
  box-shadow: var(--rev-shadow);
}

.rev-head h3 {
  margin: 0;
  color: var(--rev-text);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.rev-subtitle {
  margin: 6px 0 0;
  color: var(--rev-muted);
  font-size: 13px;
}

.rev-grid2 {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

@media(max-width: 950px) {
  .rev-grid2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media(max-width: 620px) {
  .rev-grid2 {
    grid-template-columns: 1fr;
  }
}

.rev-card2 {
  background: var(--rev-card);
  border: 1px solid var(--rev-border);
  border-radius: 13px;
  padding: 18px;
}

.rev-title {
  color: var(--rev-text);
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 6px;
}

.rev-oneliner {
  color: var(--rev-muted);
  font-size: 13px;
  margin-bottom: 10px;
}

.rev-row {
  color: var(--rev-text);
  font-size: 13px;
  margin: 6px 0;
}

.rev-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 8px;
}

.rev-pill {
  background: var(--rev-chip);
  border: 1px solid var(--rev-border);
  color: var(--rev-text);
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
}

.rev-steps-h {
  color: var(--rev-text);
  font-weight: 800;
  font-size: 12px;
  margin-top: 10px;
  margin-bottom: 6px;
}

.rev-steps ol {
  margin: 0 0 0 18px;
  color: var(--rev-muted);
  font-size: 12px;
}

.rev-stack {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rev-chip {
  background: var(--rev-chip);
  border: 1px solid var(--rev-border);
  color: var(--rev-text);
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
}

.rev-upsell {
  margin-top: 10px;
  color: var(--rev-text);
  font-size: 12px;
  opacity: 0.95;
}

/* Skeleton */
.rev-skeleton {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.rev-skel-card {
  height: 170px;
  border-radius: 16px;
  border: 1px solid var(--rev-border);
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.04));
  background-size: 200% 100%;
  will-change: transform;
  animation: revShimmer 1.1s infinite linear;
}

@media (prefers-color-scheme: dark) {
  .rev-skel-card {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.06));
    background-size: 200% 100%;
  }
}

@keyframes revShimmer {
  0% {
    background-position: 0% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.rev-chip-link {
  text-decoration: none;
  cursor: pointer;
}

.rev-chip-link:hover {
  text-decoration: underline;
}

.rev-roadmap-btn {
  border: 1px solid #ddd;
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
}

.rev-roadmap-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
  border-color: #7c5cff;
  color: #7c5cff;
  background: rgba(124, 92, 255, 0.08);
}

.rev-skill-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* ✅ make <a class="btn"> look like button */
a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  text-underline-position: none;
}

/* ===== AI Learning & Resources ===== */


.learn-title {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.learn-card {
  min-height: 160px;
  display: grid;
  align-content: center;
  gap: 13px;
}

.learn-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.10);
}

.learn-ico {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 30px;
  margin: 0 auto 6px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.learn-name {
  font-weight: 900;
  font-size: 16px;
}

.learn-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

.learn-ico img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
}

@media (max-width: 900px) {
  .learn-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   Dark mode (auto)
========================= */
@media (prefers-color-scheme: dark) {
  :root {
    --text: rgba(255, 255, 255, 0.92);
    --muted: rgba(255, 255, 255, 0.68);
    --glass: rgba(18, 18, 24, 0.62);
    --border: rgba(255, 255, 255, 0.10);
    --shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
  }

  body {
    background:
      radial-gradient(900px 600px at 20% 35%,
        rgba(97, 128, 255, 0.22),
        transparent 60%),
      radial-gradient(900px 600px at 70% 35%,
        rgba(255, 128, 214, 0.18),
        transparent 60%),
      radial-gradient(1200px 800px at 50% 80%,
        rgba(255, 80, 80, 0.16),
        transparent 60%),
      #0b0b10;
  }

  .nav-link {
    color: rgba(255, 255, 255, 0.72);
  }

  .nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
  }

  .btn {
    border: 1px solid rgba(255, 255, 255, 0.14);
  }

  .btn-ghost {
    background: rgba(20, 20, 28, 0.55);
  }

  .btn-solid {
    background: #fff;
    color: #111;
  }

  #searchInput::placeholder {
    color: rgba(255, 255, 255, 0.45);
  }

  .pill-select {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(20, 20, 28, 0.55);
    color: var(--text);
  }

  /* cards tone */
  .result-card,
  #topPicks .topPickCard {
    background: rgba(18, 18, 24, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  }


  .result-card .saveBtn {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(18, 18, 24, 0.75);
    color: var(--text);
  }

  /* your new resource icon images */
  .learn-ico {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
  }
}

/* ===== AI Learning & Resources block ===== */
.learn-wrap {
  width: min(1280px, 94%);
  margin: 50px auto 0;
  text-align: center;
}

.learn-title {
  font-size: 34px;
  font-weight: 600;
  margin: 0 0 26px;
  color: var(--text);
}

.learn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 23px;
  margin-bottom: 143px;
}

.learn-card {
  background: var(--card);
  /* background: radial-gradient(400px 450px at 9% 21%, rgb(97 125 255 / 32%), transparent 55%), radial-gradient(400px 300px at 85% 0%, rgb(255 128 214 / 29%), transparent 55%), radial-gradient(837px 327px at 120% 114%, rgb(255 80 80 / 8%), transparent 58%); */
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 22px;
  padding: 140px 18px;
  text-decoration: none;
  color: var(--text);
  transition: transform .18s ease, background .18s ease;
}

.learn-card:hover {
  transform: translateY(-3px);
  background: color-mix(in srgb, var(--card) 85%, #fff 15%);
}

.learn-ico {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card2);
  border: 1px solid var(--border);
}

.learn-ico img {
  width: 26px;
  height: 26px;
}

.learn-h {
  font-size: 16px;
  font-weight: 850;
  margin: 0 0 6px;
}

.learn-p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .learn-grid {
    grid-template-columns: 1fr;
  }
}

/* make sure dropdown can float nicely */
.prompt-card {
  position: relative;
  overflow: visible;
}

.prompt-top {
  position: relative;
}

/* dropdown */
#suggestBox.suggest-box {
  position: absolute;
  left: -21px;
  /* ✅ inside padding like input */
  right: -21px;
  top: calc(100% + 50px);
  /* ✅ just below input row */

  background: var(--rev-surface);
  border: 1px solid var(--rev-border);
  color: var(--rev-text);

  border-radius: 16px;
  box-shadow: var(--rev-shadow);

  max-height: 260px;
  /* ✅ not too tall */
  overflow: auto;
  z-index: 9999;
  /* ✅ above everything */
  margin-top: 47px;
}

/* hide */
#suggestBox.hidden {
  display: none;
}

/* item */
#suggestBox .suggest-item {
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.2;
  cursor: pointer;
  border-bottom: 1px solid var(--rev-border);
  background: transparent;
}

/* hover */
#suggestBox .suggest-item:hover {
  background: var(--rev-tag);
}

/* last */
#suggestBox .suggest-item:last-child {
  border-bottom: none;
}

/* (optional) smooth scrollbar in webkit browsers */
#suggestBox::-webkit-scrollbar {
  width: 3px;
}

#suggestBox::-webkit-scrollbar-thumb {
  background: rgba(109, 93, 252, 0.12);
  border-radius: 999px;
}

@media (prefers-color-scheme: dark) {
  #suggestBox::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
  }
}



#suggestBox .suggest-item.active {
  background: var(--rev-tag);
  font-weight: 700;
}


#suggestBox .suggest-item.active {
  background: rgba(0, 0, 0, .08);
  font-weight: 700;
}

@media (prefers-color-scheme: dark) {
  #suggestBox .suggest-item.active {
    background: rgba(255, 255, 255, .12);
  }
}



#searchInput {
  resize: none;
  overflow: hidden;
  line-height: 1.35;
}



/* ===== PREMIUM SUGGESTION BOX (FindOzi v2) ===== */

#suggestBox {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--bg, #fff);
  border-radius: var(--radius-sm, 14px);
  border: 1px solid var(--border, rgba(109, 93, 252, 0.15));
  box-shadow: var(--shadow-md, 0 16px 46px rgba(11, 13, 18, 0.12));
  overflow: hidden;
  z-index: 9999;

  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.2s cubic-bezier(0.34, 1.4, 0.64, 1);
}

#suggestBox:not(.hidden) {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.suggest-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text);
  font-family: var(--font-body);
  border-bottom: 1px solid var(--border, rgba(109, 93, 252, 0.07));
  transition: background 0.12s ease;
  position: relative;
}

.suggest-item:last-child {
  border-bottom: none;
}

.suggest-item::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.28;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

.suggest-item:hover,
.suggest-item.active {
  background: rgba(109, 93, 252, 0.06);
}

.suggest-item.active {
  background: rgba(109, 93, 252, 0.10);
}

/* ── Dark Mode ── */
@media (prefers-color-scheme: dark) {
  #suggestBox {
    background: #0f1020;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  }

  .suggest-item {
    color: rgba(255, 255, 255, 0.88);
    border-bottom-color: rgba(255, 255, 255, 0.06);
  }

  .suggest-item::before {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
  }

  .suggest-item:hover,
  .suggest-item.active {
    background: rgba(109, 93, 252, 0.12);
  }
}

.suggest-item {
  justify-content: space-between;
  /* ye line add karo existing rule mein */
}

.sug-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: 10px;
}

.sug-badge-cat {
  background: rgba(109, 93, 252, 0.12);
  color: #6d5dfc;
}

.sug-badge-tool {
  background: rgba(20, 184, 166, 0.12);
  color: #0d9488;
}

@media (prefers-color-scheme: dark) {
  .sug-badge-cat {
    background: rgba(109, 93, 252, 0.22);
    color: #a78bfa;
  }

  .sug-badge-tool {
    background: rgba(20, 184, 166, 0.20);
    color: #2dd4bf;
  }
}

.sug-text {
  flex: 1;
  text-align: left;
}

/* ===== END SUGGESTION BOX ===== */

/* prompt-top ko anchor banao taaki suggestBox sahi place ho */
.prompt-top {
  position: relative;
}

/* Multi-line textarea look same as input */
.search-textarea {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
  line-height: 1.35;
  padding: 14px 56px 14px 16px;
  /* right side button space */
  resize: none;
  overflow: hidden;
  min-height: 54px;
  max-height: 160px;
  /* auto-grow limit */
}

/* Placeholder fade animation helper */
.search-textarea.ph-fade {
  opacity: 0.85;
  transition: opacity 180ms ease;
}

/* Suggest dropdown box should come below textarea */
.suggest-box {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 10px);
  z-index: 50;
}



.search-textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.search-textarea.typing::placeholder {
  will-change: transform;
  animation: blinkCursor 1s infinite;
}

@keyframes blinkCursor {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

/* /*EMPTY LINE DESINE / */

.empty-state {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px auto 0;
  max-width: 500px;
  padding: 8px 16px;
  border-radius: 18px;
  text-align: left;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 245, 255, 0.9)),
    rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(109, 93, 252, 0.14);
  box-shadow:
    0 18px 48px rgba(17, 19, 35, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  color: #12131e;
}

.empty-state::before {
  content: "";
  position: absolute;
  inset: -1px;
  background:
    radial-gradient(circle at top left, rgba(155, 107, 255, 0.18), transparent 34%),
    radial-gradient(circle at right center, rgba(109, 93, 252, 0.16), transparent 30%);
  pointer-events: none;
}

.empty-state__icon,
.empty-state__content {
  position: relative;
  z-index: 1;
}

.empty-state__icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(109, 93, 252, 0.16), rgba(155, 107, 255, 0.24));
  border: 1px solid rgba(109, 93, 252, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 8px 18px rgba(109, 93, 252, 0.12);
}

.empty-state__logo {
  width: 39px;
  height: 39px;
  display: block;
  object-fit: contain;
}

.empty-state__content {
  min-width: 0;
}

.empty-state__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 7px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(109, 93, 252, 0.1);
  border: 1px solid rgba(109, 93, 252, 0.12);
  color: rgba(73, 53, 191, 0.92);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.empty-state__title {
  display: block;
  margin: 0;
  font-size: clamp(14px, 1.5vw, 17px);
  line-height: 1.22;
  font-weight: 750;
  letter-spacing: -0.03em;
  color: #12131e;
}

.empty-state__text {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 500;
  color: rgba(18, 19, 30, 0.72);
}

@media (max-width: 640px) {
  .empty-state {
    gap: 12px;
    padding: 8px 14px;
    border-radius: 16px;
  }

  .empty-state__icon {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .empty-state__logo {
    width: 36px;
    height: 36px;
  }

  .empty-state__title {
    font-size: 14px;
  }

  .empty-state__text {
    font-size: 11.5px;
  }
}

@media (prefers-color-scheme: dark) {
  .empty-state {
    background:
      linear-gradient(180deg, rgba(19, 22, 39, 0.92), rgba(14, 15, 29, 0.92)),
      rgba(12, 14, 28, 0.88);
    border-color: rgba(141, 123, 255, 0.24);
    box-shadow:
      0 22px 58px rgba(0, 0, 0, 0.42),
      inset 0 1px 0 rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.94);
  }

  .empty-state::before {
    background:
      radial-gradient(circle at top left, rgba(155, 107, 255, 0.24), transparent 34%),
      radial-gradient(circle at right center, rgba(109, 93, 252, 0.18), transparent 30%);
  }

  .empty-state__icon {
    background:
      linear-gradient(135deg, rgba(109, 93, 252, 0.16), rgba(155, 107, 255, 0.2));
    border-color: rgba(141, 123, 255, 0.22);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.06),
      0 14px 28px rgba(0, 0, 0, 0.28);
  }

  .empty-state__logo {
    filter: invert(1) brightness(1.15) contrast(1.08);
  }

  .empty-state__eyebrow {
    background: rgba(141, 123, 255, 0.12);
    border-color: rgba(141, 123, 255, 0.2);
    color: rgba(216, 210, 255, 0.9);
  }

  .empty-state__title {
    color: rgba(255, 255, 255, 0.95);
  }

  .empty-state__text {
    color: rgba(255, 255, 255, 0.7);
  }
}

html.theme-dark .empty-state {
  background:
    linear-gradient(180deg, rgba(19, 22, 39, 0.92), rgba(14, 15, 29, 0.92)),
    rgba(12, 14, 28, 0.88);
  border-color: rgba(141, 123, 255, 0.24);
  box-shadow:
    0 22px 58px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.94);
}

html.theme-dark .empty-state::before {
  background:
    radial-gradient(circle at top left, rgba(155, 107, 255, 0.24), transparent 34%),
    radial-gradient(circle at right center, rgba(109, 93, 252, 0.18), transparent 30%);
}

html.theme-dark .empty-state__icon {
  background:
    linear-gradient(135deg, rgba(109, 93, 252, 0.16), rgba(155, 107, 255, 0.2));
  border-color: rgba(141, 123, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 14px 28px rgba(0, 0, 0, 0.28);
}

html.theme-dark .empty-state__logo {
  filter: invert(1) brightness(1.15) contrast(1.08);
}

html.theme-dark .empty-state__eyebrow {
  background: rgba(141, 123, 255, 0.12);
  border-color: rgba(141, 123, 255, 0.2);
  color: rgba(216, 210, 255, 0.9);
}

html.theme-dark .empty-state__title {
  color: rgba(255, 255, 255, 0.95);
}

html.theme-dark .empty-state__text {
  color: rgba(255, 255, 255, 0.7);
}

html.theme-light .empty-state {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 245, 255, 0.9)),
    rgba(255, 255, 255, 0.86);
  border-color: rgba(109, 93, 252, 0.14);
  box-shadow:
    0 18px 48px rgba(17, 19, 35, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  color: #12131e;
}

html.theme-light .empty-state::before {
  background:
    radial-gradient(circle at top left, rgba(155, 107, 255, 0.18), transparent 34%),
    radial-gradient(circle at right center, rgba(109, 93, 252, 0.16), transparent 30%);
}

html.theme-light .empty-state__icon {
  background:
    linear-gradient(135deg, rgba(109, 93, 252, 0.16), rgba(155, 107, 255, 0.24));
  border-color: rgba(109, 93, 252, 0.18);
  color: #6d5dfc;
}

html.theme-light .empty-state__eyebrow {
  background: rgba(109, 93, 252, 0.1);
  border-color: rgba(109, 93, 252, 0.12);
  color: rgba(73, 53, 191, 0.92);
}

html.theme-light .empty-state__title {
  color: #12131e;
}

html.theme-light .empty-state__text {
  color: rgba(18, 19, 30, 0.72);
}

.recent-searches {
  max-width: 820px;
  margin: 10px auto 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.recent-chip {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.recent-chip:hover {
  transform: translateY(-1px);
}




/* #categoryFilter,
#pricingFilter {
  padding: 0px 11px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  background: rgba(255, 255, 255, 0.85);
  margin-top: 18px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .2px;
} */



/* =========================
   PROMPT CARD GRID LAYOUT
   Filters LEFT + Recent RIGHT (under arrow)
========================= */

.prompt-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  /* left content + right small column */
  grid-auto-rows: auto;
  gap: 12px;
}

/* Row 1: textarea + arrow stays same */
.prompt-top {
  grid-column: 1 / -1;
}

/* Row 2: filters on LEFT */
.prompt-bottom {
  grid-column: 1 / 2;
  grid-row: 2;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
}

/* Row 2: recent button on RIGHT (exactly under arrow column) */
/* .recent-toggle-wrap {
  grid-column: 2 / 3;
  grid-row: 2;
  display: flex;
  justify-content: flex-end;
  align-items: center;
} */

/* Row 3: recent list full width */
#recentSearches {
  grid-column: 1 / -1;
  grid-row: 3;
}

/* =========================
   Premium Select (filters)
========================= */

.pill-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  height: 28px;
  padding: 0 38px 0 14px;
  border-radius: 12px;

  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.10);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);

  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(0, 0, 0, 0.75);

  cursor: pointer;
  outline: none;

  background-image:
    linear-gradient(45deg, transparent 50%, rgba(0, 0, 0, 0.55) 50%),
    linear-gradient(135deg, rgba(0, 0, 0, 0.55) 50%, transparent 50%);
  background-position:
    calc(100% - 16px) 14px,
    calc(100% - 11px) 14px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.pill-select:focus {
  border-color: rgba(97, 128, 255, 0.45);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.10), 0 0 0 4px rgba(97, 128, 255, 0.12);
}

/* =========================
   Recent Button (premium pill)
========================= */

.recent-toggle-btn {
  padding: 10px;
  margin-top: 30px;
  margin-right: 53px;
  gap: 8px;
}

.recent-toggle-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.12);
}

.recent-toggle-btn:active {
  transform: translateY(0px);
}

/* =========================
   Recent list container
========================= */

.recent-searches {
  margin-top: 10px;
  padding-top: 8px;

  display: flex;
  flex-wrap: wrap;
  gap: 10px;

  justify-content: center;
  /* chips center (premium look) */
}

/* chips */
.recent-searches .recent-chip {
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;

  background: rgba(255, 255, 255, 0.70);
  border: 1px solid rgba(0, 0, 0, 0.10);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);

  color: rgba(0, 0, 0, 0.70);
  cursor: pointer;

  max-width: 240px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

  transition: transform .15s ease;
  contain: layout;
}

.recent-searches .recent-chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.10);
}

/* hidden helper */
.hidden {
  display: none !important;
}

/* =========================
   DARK MODE (device theme)
========================= */
@media (prefers-color-scheme: dark) {
  .pill-select {
    background: rgba(20, 20, 28, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.78);

    background-image:
      linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.55) 50%),
      linear-gradient(135deg, rgba(255, 255, 255, 0.55) 50%, transparent 50%);
  }

  .pill-select:focus {
    border-color: rgba(97, 128, 255, 0.55);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.35), 0 0 0 4px rgba(97, 128, 255, 0.16);
  }

  .recent-toggle-btn {
    background: rgba(20, 20, 28, 0.50);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.78);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.30);
  }

  .recent-searches .recent-chip {
    background: rgba(20, 20, 28, 0.50);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.76);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.25);
  }
}



/* ======================================
   Tool action buttons (Theme-safe)
   Works with CSS variables + auto dark mode
====================================== */

:root {
  /* Fallbacks (agar tumhare project me vars already nahi hain) */
  --surface: #ffffff;
  --surface-2: #f6f7fb;
  --text: #111111;
  --muted: rgba(0, 0, 0, .65);
  --border: rgba(0, 0, 0, .12);
  --shadow: 0 10px 28px rgba(0, 0, 0, .10);
  --shadow-soft: 0 8px 18px rgba(0, 0, 0, .08);

  --btn-primary-bg: #111;
  /* Use Tool */
  --btn-primary-text: #fff;

  --btn-ghost-bg: var(--surface);
  --btn-ghost-text: var(--text);
  --btn-ghost-border: var(--border);

  --radius-lg: 14px;
}

/* ✅ Auto dark mode fallback (agar tum manually data-theme set nahi kar rahe) */
@media (prefers-color-scheme: dark) {
  :root {
    --surface: #0f1115;
    --surface-2: #141824;
    --text: #f2f4f8;
    --muted: rgba(255, 255, 255, .72);
    --border: rgba(255, 255, 255, .12);
    --shadow: 0 16px 40px rgba(0, 0, 0, .55);
    --shadow-soft: 0 10px 24px rgba(0, 0, 0, .45);

    --btn-primary-bg: #f2f4f8;
    --btn-primary-text: #0f1115;

    --btn-ghost-bg: rgba(255, 255, 255, .04);
    --btn-ghost-text: var(--text);
    --btn-ghost-border: rgba(255, 255, 255, .14);
  }
}

/* Buttons row */
.tool-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ✅ Explore / ghost button */
.tool-explore,
.exploreBtn,
.tool-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--btn-ghost-border);
  background: var(--btn-ghost-bg);
  color: var(--btn-ghost-text);
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s ease, border-color .15s ease;
}

.tool-explore:hover,
.exploreBtn:hover,
.tool-btn-ghost:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
  border-color: color-mix(in srgb, var(--btn-ghost-border) 40%, transparent);
}

/* ✅ Use Tool button (primary) */
/* (agar tumhare project me already .tool-visit hai to ye perfect match karega) */
.tool-visit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  font-weight: 800;
  text-decoration: none;
  transition: transform .15s ease;
}

.tool-visit:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
  filter: brightness(1.02);
}





/* body {
   background:
    radial-gradient(900px circle at 18% 35%, rgba(120, 160, 255, 0.45), transparent 60%),
    radial-gradient(900px circle at 82% 25%, rgba(255, 150, 210, 0.55), transparent 55%),
    radial-gradient(850px circle at 50% 92%, rgba(255, 120, 110, 0.55), transparent 60%),
    linear-gradient(180deg, #f7f7fc 0%, #f6f6fb 45%, #f6f6fb 100%);

  filter: saturate(115%) contrast(105%);
  background-attachment: fixed;  
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 100vh;
}



@media (prefers-color-scheme: dark) {
  body {
    color: var(--text-dark);
    background:
      radial-gradient(900px 600px at 20% 30%, rgba(80, 120, 255, 0.35), transparent 60%),
      radial-gradient(900px 600px at 72% 30%, rgba(255, 110, 200, 0.30), transparent 60%),
      radial-gradient(1200px 800px at 50% 85%, rgba(255, 80, 80, 0.22), transparent 60%),
      linear-gradient(180deg, var(--bg-dark), var(--bg-dark-2));
    min-height: 100vh;
    background-attachment: fixed; 
  }
} */








/* ===== Result pills + why line ===== */
.meta-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 10px 0;
}

.pill {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid rgba(0 0 0 / 9%);
  background: rgba(255, 255, 255, .06);
}

.pill-fresh {
  border-color: rgb(255 0 0);
}

.pill-cat {
  border-color: rgba(109, 93, 252, 0.35);
  background: rgba(109, 93, 252, 0.12);
  text-decoration: none;
}

.pill-sub {
  border-color: rgba(109, 93, 252, 0.22);
  background: rgba(109, 93, 252, 0.07);
  text-decoration: none;
}

.pill-price {
  border-color: rgba(16, 185, 129, 0.42);
  background: rgba(16, 185, 129, 0.15);
  text-decoration: none;
}

body.theme-dark .pill-cat {
  border-color: rgba(167, 139, 250, 0.4);
  background: rgba(109, 93, 252, 0.2);
}

body.theme-dark .pill-sub {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

body.theme-dark .pill-price {
  border-color: rgba(52, 211, 153, 0.45);
  background: rgba(16, 185, 129, 0.22);
}

.why-line {
  margin: 10px 0;
  font-size: 13px;
  opacity: .92;
}

/* =========================
   Tool screenshots gallery
========================= */

.tool-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 720px) {
  .tool-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.tool-shot {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .10);
  background: rgba(255, 255, 255, .06);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .08);
  transition: transform .15s ease;
  contain: layout;
}

.tool-shot:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .12);
}

.tool-shot img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

@media (prefers-color-scheme: dark) {
  .tool-shot {
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .45);
  }
}


@media (max-width:600px) {
  #searchInput {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 16px;
    padding: 14px 12px;
  }
}



/* ✅ logo bigger */
.brand-logo {
  width: 40px;
  height: 40px;
  display: block;
}

/* ✅ Verified badge */
.name-with-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.verify-badge {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
  flex: 0 0 auto;
}

/* slightly smaller on mobile */
@media (max-width: 520px) {
  .verify-badge {
    width: 16px;
    height: 16px;
  }
}


.page-cat-tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  border: 1px solid var(--border);
  background: var(--glass);
}

/* ===== STAR RATING SYSTEM ===== */

.rc-star-badge {
  position: absolute;
  top: 18px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  z-index: 2;
  padding: 5px 10px;
  border-radius: 20px;
  transition: all 0.2s cubic-bezier(.34, 1.56, .64, 1);
  overflow: hidden;
}

.rc-star-badge::before {
  content: '';
  position: absolute;
  inset: 0;

  opacity: 0;
  transition: opacity 0.2s;
  border-radius: 20px;
}

.rc-star-badge:hover {
  border-color: red;
  transform: scale(1.05);
}

.rc-star-badge:hover::before {
  opacity: 1;
}

.rc-star-badge:active {
  transform: scale(0.97);
}

.rc-card-star {
  display: inline-flex;
}

.rc-star-badge:hover .rc-card-star:nth-child(1) svg {
  animation: rcStarWiggle 0.4s ease 0.00s forwards;
}

.rc-star-badge:hover .rc-card-star:nth-child(2) svg {
  animation: rcStarWiggle 0.4s ease 0.04s forwards;
}

.rc-star-badge:hover .rc-card-star:nth-child(3) svg {
  animation: rcStarWiggle 0.4s ease 0.08s forwards;
}

.rc-star-badge:hover .rc-card-star:nth-child(4) svg {
  animation: rcStarWiggle 0.4s ease 0.12s forwards;
}

.rc-star-badge:hover .rc-card-star:nth-child(5) svg {
  animation: rcStarWiggle 0.4s ease 0.16s forwards;
}

@keyframes rcStarWiggle {
  0% {
    transform: scale(1) rotate(0deg);
  }

  30% {
    transform: scale(1.35) rotate(-8deg);
  }

  60% {
    transform: scale(1.2) rotate(6deg);
  }

  100% {
    transform: scale(1) rotate(0deg);
  }
}

.rc-count-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--primary);
  white-space: nowrap;
  background: rgba(109, 93, 252, 0.1);
  padding: 2px 7px;
  border-radius: 10px;
  margin-left: 3px;
}

/* === MODAL OVERLAY === */
.rc-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  pointer-events: none;
  transition: background 0.25s ease;
}

.rc-popup-overlay.rc-open {
  background: rgba(0, 0, 0, 0.65);
  pointer-events: all;
}

.rc-popup-box {
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem 1.75rem;
  width: min(360px, 90vw);
  position: relative;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  transform: scale(0.82) translateY(24px);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(.34, 1.56, .64, 1), opacity 0.25s ease;
}

.rc-popup-overlay.rc-open .rc-popup-box {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.rc-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface-2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--muted);
  transition: all 0.15s;
}

.rc-popup-close:hover {
  background: var(--surface);
  transform: rotate(90deg);
  color: var(--text);
}

.rc-popup-icon {
  text-align: center;
  margin-bottom: 0.5rem;
  min-height: 10px;
}

.rc-popup-title {
  font-size: 18px;
  font-weight: 700;
  font-family: var(--font-head);
  text-align: center;
  color: var(--text);
  margin-bottom: 4px;
}

.rc-popup-title span {
  color: var(--primary);
}

.rc-popup-sub {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin-bottom: 1.5rem;
}

/* === STAR PICKER === */
.rc-picker-wrap {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 1rem;
}

.rc-sp-star {
  width: 48px;
  height: 48px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: all 0.18s cubic-bezier(.34, 1.56, .64, 1);
  position: relative;
}

.rc-sp-star:hover {
  transform: scale(1.15) translateY(-3px);
  border-color: #f5a623;
  background: rgba(245, 166, 35, 0.08);
}

.rc-sp-star.rc-sp-selected {
  background: rgba(245, 166, 35, 0.12);
  border-color: #f5a623;
  transform: scale(1.1);
}

.rc-label-row {
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  height: 24px;
  color: var(--primary);
  margin-bottom: 1.25rem;
  transition: all 0.2s;
}

/* === SUBMIT BUTTON === */
.rc-popup-submit {
  width: 100%;
  padding: 13px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  transition: transform 0.15s, opacity 0.15s;
  letter-spacing: 0.01em;
}

.rc-popup-submit:not(:disabled):hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(109, 93, 252, 0.4);
}

.rc-popup-submit:not(:disabled):active {
  transform: translateY(0);
  box-shadow: none;
}

.rc-popup-submit:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* === SUCCESS STATE === */
.rc-success-wrap {
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0.5rem 0;
  animation: rcFadeUp 0.4s cubic-bezier(.34, 1.56, .64, 1);
}

@keyframes rcFadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.rc-success-ring {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  display: flex;
  align-items: center;
  justify-content: center;
}

.rc-success-title {
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-head);
  color: var(--text);
  text-align: center;
}

.rc-success-sub {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

/* === PARTICLES === */
.rc-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  pointer-events: none;
  animation: rcBurst 0.6s ease-out forwards;
}

@keyframes rcBurst {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }

  100% {
    transform: translate(var(--tx), var(--ty)) scale(0);
    opacity: 0;
  }
}

/* === DARK MODE (matches your theme's prefers-color-scheme) === */
@media (prefers-color-scheme: dark) {
  .rc-count-label {
    color: #a89dff;
    background: rgba(109, 93, 252, 0.18);
  }

  .rc-popup-box {
    background: var(--bg);
    border-color: rgba(109, 93, 252, 0.2);
  }

  .rc-sp-star {
    background: var(--surface);
    border-color: var(--border);
  }

  .rc-sp-star:hover {
    background: rgba(245, 166, 35, 0.1);
  }

  .rc-sp-star.rc-sp-selected {
    background: rgba(245, 166, 35, 0.15);
  }
}

/* ===== END STAR RATING SYSTEM ===== */

/* ===== About Page ===== */
.static-about,
.static-contact,
.static-faq,
.static-tags,
.static-tool-service {
  max-width: 960px;
  margin: 0 auto;
  padding: 6.5rem 1.5rem 5rem;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  color: var(--text);
}

.static-page.legal-page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 5rem;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  color: var(--text);
}

.static-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.static-tags .static-inner {
  max-width: 1100px;
}

.static-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.5rem;
  font-weight: 700;
}

.static-h1 {
  font-family: var(--font-head, ui-sans-serif, system-ui);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 0.75rem;
  color: var(--text);
}

.static-h2 {
  font-family: var(--font-head, ui-sans-serif, system-ui);
  font-size: 1.25rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  color: var(--text);
}

.static-h2.with-icon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.static-h2-ico {
  display: flex;
  color: var(--primary);
  flex-shrink: 0;
}

.static-h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  color: var(--text);
}

.static-lead {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
  max-width: 38rem;
}

.static-prose {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 1rem;
}

.static-prose--compact {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.static-muted {
  color: var(--muted);
  opacity: 0.95;
}

.static-divider {
  height: 1px;
  background: var(--border);
  margin: 2.25rem 0;
  border: 0;
}

.static-section {
  margin: 0;
}

.static-hero-illu {
  margin: 0 0 1.5rem;
}

.static-illu-svg {
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
  color: var(--primary);
}

.static-offer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.static-offer-list>li {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
  align-items: flex-start;
}

.static-offer-list>li:first-child {
  border-top: none;
  padding-top: 0.25rem;
}

.static-offer-ico {
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 0.1rem;
}

.static-offer-list p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.static-founder {
  display: grid;
  grid-template-columns: minmax(0, 140px) 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 600px) {
  .static-founder {
    grid-template-columns: 1fr;
  }
}

.static-founder-photo-stub {
  aspect-ratio: 1;
  border-radius: 14px;
  border: 1px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.75rem;
  line-height: 1.3;
  color: var(--muted);
  padding: 0.75rem;
  background: var(--surface);
  max-width: 160px;
}

.static-founder-name {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 0 0.25rem;
  color: var(--text);
}

.static-founder-meta,
.static-founder-loc {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 0.4rem;
}

.static-cta {
  text-align: left;
}

.static-cta-btn {
  margin-top: 0.75rem;
  display: inline-flex;
}

/* ===== About Page — New Design Sections ===== */

/* Hero SVG position fix — SVG upar, title neeche */
.static-hero {
  position: relative;
}

.static-hero-illu {
  margin: 0 0 1rem;
}

.static-illu-svg {
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
  color: var(--primary);
}

/* Offerings grid */
.ab-offerings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 1.5rem;
}

.ab-offering-item {
  background: var(--surface);
  padding: 28px;
  transition: background 0.2s;
}

.ab-offering-item:hover {
  background: var(--surface-2, var(--surface));
  filter: brightness(0.97);
}

.ab-offering-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.ab-offering-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 6px;
}

.ab-offering-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 540px) {
  .ab-offerings-grid {
    grid-template-columns: 1fr;
  }
}

/* Story card */
.ab-story-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 40px;
  position: relative;
  overflow: hidden;
  margin-top: 1rem;
}

.ab-story-card::before {
  content: '"';
  font-size: 120px;
  color: var(--primary);
  opacity: 0.1;
  position: absolute;
  top: -10px;
  left: 20px;
  line-height: 1;
  pointer-events: none;
}

.ab-story-text {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.85;
  position: relative;
  z-index: 1;
  margin: 0;
}

.ab-story-origin {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ab-origin-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

.ab-origin-text {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Founder card */
.ab-founder-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  display: flex;
  gap: 36px;
  align-items: flex-start;
  margin-top: 1.5rem;
}

@media (max-width: 600px) {
  .ab-founder-card {
    flex-direction: column;
    gap: 24px;
  }
}

.ab-founder-photo-wrap {
  position: relative;
  flex-shrink: 0;
  cursor: pointer;
}

.ab-founder-photo {
  width: 160px;
  height: 183px;
  border-radius: 12px;
  overflow: hidden;
}

.ab-photo-bw {
  width: 100%;
  height: 100%;
  filter: grayscale(100%);
  transition: filter 0.5s ease;
}

.ab-photo-bw img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ab-founder-photo-wrap:hover .ab-photo-bw {
  filter: grayscale(0%);
}

.ab-hover-hint {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
  letter-spacing: 0.05em;
}

.ab-founder-info {
  flex: 1;
}

.ab-founder-name {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 4px;
}

.ab-founder-role {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  margin: 0 0 4px;
}

.ab-founder-location {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.ab-founder-bio {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
  margin: 0 0 20px;
}

.ab-founder-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ab-founder-link {
  font-size: 0.8rem;
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ab-founder-link:hover {
  background: var(--surface-2, color-mix(in srgb, var(--primary) 6%, transparent));
  color: var(--text);
  border-color: var(--primary);
}

/* Contact band */
.ab-contact-band {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 56px 32px;
  text-align: center;
  margin: 1rem 0 2rem;
}

.ab-contact-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text);
  margin: 0 0 10px;
}

.ab-contact-sub {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 24px;
}

.ab-contact-btn {
  display: inline-flex;
  padding: 12px 28px;
  font-size: 0.9rem;
}

/* Hero background SVG — title ke peeche */
.static-hero-bg {
  position: absolute;
  right: -60px;
  top: -20px;
  pointer-events: none;
  z-index: 0;
  width: 520px;
  height: 420px;
}

.static-geo-canvas {
  width: 100%;
  height: 100%;
}

.static-hero-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

/* ===== Contact Page ===== */
.static-page-head {
  margin-bottom: 0.5rem;
}

.static-head-deco {
  margin-bottom: 1.25rem;
}

.static-head-svg {
  max-width: 200px;
  height: auto;
  display: block;
}

.static-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.4rem;
}

.static-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.static-info-list>li {
  display: flex;
  gap: 0.9rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.static-info-list>li:first-child {
  padding-top: 0;
}

.static-info-ico {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.static-inline-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid transparent;
}

.static-inline-link:hover {
  border-bottom-color: var(--primary);
}

.static-footnote {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 1rem 0 0;
  line-height: 1.5;
}

.static-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-top: 0.5rem;
}

.static-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.static-input,
.static-textarea,
.static-select {
  font: inherit;
  font-size: 1rem;
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  transition: border-color 0.15s ease;
}

.static-input:focus,
.static-textarea:focus,
.static-select:focus {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
  border-color: var(--primary);
}

.static-textarea {
  min-height: 8rem;
  resize: vertical;
}

.static-form-submit {
  align-self: flex-start;
  margin-top: 0.25rem;
}

/* ===== FAQ Page ===== */
.static-faq .static-faq-cat {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 800;
  margin: 0 0 0.75rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
  background: transparent;
}

.faq-sum {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0.25rem 1rem 0;
  font-size: 0.98rem;
  font-weight: 650;
  color: var(--text);
  line-height: 1.4;
}

.faq-sum::-webkit-details-marker {
  display: none;
}

.faq-chev {
  flex-shrink: 0;
  color: var(--muted);
  display: flex;
  transition: transform 0.2s ease, color 0.15s ease;
}

.faq-item[open] .faq-chev {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-ans {
  padding: 0 0 1rem;
}

.faq-ans p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
  max-width: 45rem;
}

/* ===== Tags Page ===== */
.static-tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.4rem;
  margin-top: 1rem;
}

.static-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.7rem 0.45rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.2;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.static-tag:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.static-tag-ico {
  display: flex;
  color: var(--primary);
  opacity: 0.85;
}

.static-tag--soft {
  padding-left: 0.75rem;
  font-weight: 500;
  text-transform: none;
}

.static-tag-txt {
  max-width: 20rem;
}

@media (min-width: 768px) {
  .static-tag-grid {
    gap: 0.55rem 0.5rem;
  }
}

@media (min-width: 1024px) {
  .static-h1 {
    font-size: 2.5rem;
  }
}

/* Static pages: dark / theme-dark alignment */
@media (prefers-color-scheme: dark) {

  .static-input,
  .static-textarea,
  .static-select,
  .static-founder-photo-stub,
  .static-tag {
    background: var(--surface-2);
  }

  .static-input:focus,
  .static-textarea:focus,
  .static-select:focus {
    outline-color: var(--primary);
  }
}

body.theme-dark .static-input,
body.theme-dark .static-textarea,
body.theme-dark .static-select,
body.theme-dark .static-founder-photo-stub,
body.theme-dark .static-tag {
  background: var(--surface-2);
}

/* ===== Shared legal / policy layout ===== */

.legal-toc-list a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  line-height: 1.4;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.legal-toc-list a:hover,
.legal-toc-list a:focus-visible {
  color: var(--text);
  border-bottom-color: var(--primary);
  outline: none;
}

.legal-doc {
  min-width: 0;
  max-width: 46rem;
}

.legal-doc-head {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.legal-doc-title {
  font-family: var(--font-head, ui-sans-serif, system-ui);
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.legal-doc-meta {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

.legal-ph {
  font-weight: 600;
  color: var(--text);
  word-break: break-all;
}

.legal-intro {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 1.75rem;
  max-width: 42rem;
}

.legal-section {
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
}

.legal-sec-title {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 1.15rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 0 0 0.9rem;
  color: var(--text);
  font-family: var(--font-head, ui-sans-serif, system-ui);
}

.legal-ico {
  flex-shrink: 0;
  color: var(--primary);
  display: flex;
  margin-top: 0.1rem;
  opacity: 0.95;
}

.legal-p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 0.9rem;
}

.legal-p:last-child {
  margin-bottom: 0;
}

.legal-ul {
  margin: 0 0 0.5rem;
  padding: 0 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.legal-ul li {
  margin-bottom: 0.5rem;
}

.legal-a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

.legal-a:hover,
.legal-a:focus-visible {
  text-decoration: none;
  outline: none;
}

.legal-code {
  font-size: 0.88em;
  padding: 0.1em 0.35em;
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  word-break: break-all;
}

.legal-divider {
  height: 0;
  margin: 1.5rem 0;
  border: none;
  border-top: 1px solid var(--border);
  opacity: 0.9;
}

/* ===== Static Pages — Premium Hero with Background SVG ===== */
.static-page-head {
  position: relative;
  overflow: hidden;
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
}

.static-page-bg {
  position: absolute;
  right: -40px;
  top: -30px;
  pointer-events: none;
  z-index: 0;
  width: 480px;
  height: 380px;
  opacity: 1;
}

.static-page-bg svg {
  width: 100%;
  height: 100%;
}

.static-page-head-content {
  position: relative;
  z-index: 2;
  max-width: 540px;
}

/* Tags page premium grid */
.static-tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.45rem;
  margin-top: 1.25rem;
}

.static-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem 0.5rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.static-tag:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 10%, transparent);
}

/* ===== Privacy Page ===== */
/* (Uses shared .legal-page — section-specific overrides only) */

/* ===== Terms Page ===== */
/* (Uses shared .legal-page — section-specific overrides only) */

/* ===== Cookie Policy Page ===== */
/* (Uses shared .legal-page) */

/* ===== DMCA Page ===== */
/* (Uses shared .legal-page) */

/* ===== Report Tool Page ===== */
.form-tool-hero-ico {
  margin-bottom: 0.5rem;
}

.form-tool-hero-ico svg {
  display: block;
}

.form-tool-footnote {
  max-width: 32rem;
}

.form-tool-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}

.form-tool-step {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.form-tool-step-ico {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  border-radius: 10px;
  background: color-mix(in srgb, var(--primary) 8%, transparent);
}

.form-tool-step-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  margin: 0 0 0.25rem;
  line-height: 1.35;
}

.form-tool-step-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.form-tool-cta {
  text-align: left;
}

.form-tool-cta .static-prose {
  margin: 0 0 0.9rem;
  max-width: 36rem;
}

/* ===== Request Tool Page ===== */
.form-tool-cta .btn {
  margin-top: 0.2rem;
}

@supports not (background: color-mix(in srgb, red 5%, white)) {
  .form-tool-step-ico {
    background: rgba(109, 93, 252, 0.1);
  }
}

body.theme-dark .form-tool-step-ico {
  background: color-mix(in srgb, var(--primary) 14%, var(--surface-2));
}

@media (prefers-reduced-motion: reduce) {

  .platforms-track,
  .rev-skel-card,
  .search-textarea.typing::placeholder {
    animation: none !important;
  }
}

.legal-wrap {
  display: flex;
  flex-direction: row-reverse;
  gap: 3rem;
  align-items: flex-start;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
  position: relative;
}
.legal-doc {
  flex: 1;
  min-width: 0;
}
.legal-toc {
  width: 220px;
  flex-shrink: 0;
  position: sticky;
  top: 5rem;
  align-self: start;
  max-height: calc(100vh - 6rem);
  overflow-y: auto;
  background: var(--surface-2, #18181b);
  border: 1px solid var(--border, rgba(255,255,255,0.08));
  border-radius: 14px;
  padding: 1.25rem 1rem;
  scrollbar-width: thin;
}
.legal-toc-heading {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.75rem;
}
.legal-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  counter-reset: toc-counter;
}
.legal-toc-list li {
  counter-increment: toc-counter;
}
.legal-toc-list li a {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.45rem 0.5rem;
  border-radius: 7px;
  font-size: 0.815rem;
  color: var(--muted);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  line-height: 1.35;
}
.legal-toc-list li a::before {
  content: counter(toc-counter) ".";
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
  min-width: 1.2rem;
}
.legal-toc-list li a:hover {
  background: color-mix(in srgb, var(--primary) 8%, transparent);
  color: var(--text);
}
@media (max-width: 768px) {
  .legal-wrap {
    flex-direction: column;
  }
  .legal-toc {
    width: 100%;
    position: static;
    max-height: none;
  }
}

/* Top 50 Continue Button */
.top50-continue-wrap {
  display: flex;
  justify-content: center;
  margin: 32px 0 16px;
}
.top50-continue-btn {
  width: min(520px, 92%);
  text-align: center;
  padding: 7px 18px;
  margin-top: 0px;
  border-radius: 99px;
  font-weight: 350;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  background:
    linear-gradient(rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.78)) padding-box,
    linear-gradient(90deg,
      rgba(97, 128, 255, 0.95),
      rgba(255, 128, 214, 0.95),
      rgb(80 190 255 / 95%)) border-box;

  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.1);
  color: #111;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.top50-continue-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(109, 93, 252, 0.45);
}
@media (prefers-color-scheme: dark) {
  .top50-continue-btn {
    background:
      linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)) padding-box,
      linear-gradient(90deg,
        rgba(97, 128, 255, 0.95),
        rgba(255, 128, 214, 0.95),
        rgb(80 190 255 / 95%)) border-box;
    color: #ffffff;
    box-shadow: 0 18px 50px rgba(109, 93, 252, 0.25);
  }
}
.top50-fire { font-size: 18px; }