/* ============================================================
   THE JAAL — style.css
   Premium Intelligence Platform — Clean & Analytical
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  /* Colors */
  --bg:          #050816;
  --bg-2:        #080d1e;
  --bg-card:     #0c1228;
  --blue:        #2563EB;
  --cyan:        #06B6D4;
  --purple:      #8B5CF6;
  --purple-glow: #A855F7;
  --text:        #94A3B8;
  --text-bright: #FFFFFF;
  --text-mid:    #CBD5E1;
  --border:      rgba(255,255,255,0.07);
  --border-mid:  rgba(255,255,255,0.12);

  /* Typography */
  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-sans:  'DM Sans', system-ui, sans-serif;
  --font-mono:  'DM Mono', monospace;

  /* Spacing */
  --container:  1160px;
  --section-v:  7rem;

  /* Easing */
  --ease:       cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
img, canvas { display: block; }

/* ── Layout ────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Typography ────────────────────────────────────────────── */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.75rem;
  font-weight: 300;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-bright);
  margin-bottom: 1rem;
}

.section-title em {
  font-style: italic;
  color: var(--cyan);
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text);
  max-width: 540px;
  line-height: 1.75;
  font-weight: 300;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.8rem 1.8rem;
  border-radius: 6px;
  transition: all 0.25s var(--ease);
}

.btn--primary {
  background: var(--blue);
  color: #fff;
  border: 1px solid var(--blue);
}
.btn--primary:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--text-mid);
  border: 1px solid var(--border-mid);
}
.btn--ghost:hover {
  border-color: rgba(255,255,255,0.25);
  color: var(--text-bright);
  transform: translateY(-1px);
}

/* ── Search Bar ────────────────────────────────────────────── */
.search-bar {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-mid);
  border-radius: 10px;
  transition: border-color 0.25s, box-shadow 0.25s;
  overflow: hidden;
}

.search-bar:focus-within {
  border-color: rgba(37, 99, 235, 0.6);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.search-bar--hero {
  max-width: 580px;
  margin: 0 auto;
}

.search-bar--large {
  max-width: 640px;
  margin: 0 auto 1.5rem;
}

.search-bar__icon {
  flex-shrink: 0;
  padding: 0 0.8rem 0 1.2rem;
  color: var(--text);
  display: flex;
  align-items: center;
}

.search-bar__input {
  flex: 1;
  padding: 0.9rem 0.5rem;
  background: none;
  border: none;
  outline: none;
  color: var(--text-bright);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 350;
}

.search-bar--large .search-bar__input { padding: 1.15rem 0.5rem; font-size: 1rem; }

.search-bar__input::placeholder { color: var(--text); }

.search-bar__btn {
  flex-shrink: 0;
  margin: 6px;
  padding: 0.6rem 1.2rem;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 7px;
  transition: background 0.2s;
  white-space:nowrap;
}
.search-bar__btn:hover { background: #1d4ed8; }

@media (max-width:768px){

  .search-bar{
    flex-wrap:wrap;
  }

  .search-bar__btn{
    width:95%;
    margin:6px;
  }

}

/* ── Trending Pills ────────────────────────────────────────── */
.trending {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
}

.trending__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--text);
  text-transform: uppercase;
}

.pill {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--text-mid);
  border: 1px solid var(--border-mid);
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.pill:hover {
  color: var(--text-bright);
  border-color: rgba(37, 99, 235, 0.5);
  background: rgba(37, 99, 235, 0.1);
}

/* ── Reveal Animation ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }


/* ══════════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 5rem;
  text-align: center;
  overflow: hidden;
}

/* Subtle gradient background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(37, 99, 235, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 80%, rgba(139, 92, 246, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 30% 30% at 20% 60%, rgba(6, 182, 212, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

/* Subtle horizontal line */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-mid), transparent);
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.4;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 800px;
  width: 100%;
}


/* Hero Logo */
.hero__logo-mark{
  display:flex;
  justify-content:center;
  align-items:center;
  margin-bottom:1rem;
}

.hero__logo-img{
  width:80px;
  height:auto;
  display:block;
  object-fit:contain;
}

.hero__logo-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  color: var(--text);
  text-transform: uppercase;
  font-weight: 300;
}

/* Headline */
.hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--text-bright);
  letter-spacing: -0.01em;
}
.hero__headline em {
  font-style: italic;
  color: transparent;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
}

/* Sub */
.hero__sub {
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.7;
  font-weight: 300;
  max-width: 520px;
}

/* Search */
.hero__search { width: 100%; }

/* CTAs */
.hero__ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: var(--text);
  text-transform: uppercase;
  opacity: 0;
  animation: fadeIn 1s var(--ease-out) 1.5s forwards;
}
.hero__scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--blue), transparent);
  animation: scrollDown 2.2s ease-in-out infinite;
}
@keyframes scrollDown {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}
@keyframes fadeIn { to { opacity: 1; } }

/* ══════════════════════════════════════════════════════════════
   SEARCH SECTION
══════════════════════════════════════════════════════════════ */
.search-section {
  padding: var(--section-v) 0;
  border-bottom: 1px solid var(--border);
}

.search-section__inner { text-align: center; }
.search-section__inner .section-sub { margin: 0 auto 2.5rem; }

/* ══════════════════════════════════════════════════════════════
   GRAPH SECTION
══════════════════════════════════════════════════════════════ */
.graph-section {
  padding: var(--section-v) 0;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}

.graph-section__header { text-align: center; margin-bottom: 3rem; }
.graph-section__header .section-sub { margin: 0 auto; }

.graph-wrap {
  position: relative;
  border: 1px solid var(--border-mid);
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-card);
  max-width: 900px;
  margin: 0 auto;
}

#graphCanvas {
  width: 100%;
  height: 480px;
  display: block;
}

.graph-legend {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: rgba(5, 8, 22, 0.85);
  border: 1px solid var(--border);
  padding: 0.9rem 1.1rem;
  border-radius: 8px;
  backdrop-filter: blur(8px);
}

.graph-legend__item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--text);
}

.graph-legend__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Tooltip */
.graph-tooltip {
  position: absolute;
  background: rgba(5, 8, 22, 0.95);
  border: 1px solid var(--border-mid);
  border-radius: 6px;
  padding: 0.5rem 0.9rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--text-bright);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

/* ══════════════════════════════════════════════════════════════
   FEATURES
══════════════════════════════════════════════════════════════ */
.features {
  padding: var(--section-v) 0;
  border-bottom: 1px solid var(--border);
}

.features__header { margin-bottom: 4rem; }

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.2rem;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  border-color: rgba(37, 99, 235, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}
.feature-card:hover::before { opacity: 1; }

.feature-card__number {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--blue);
  margin-bottom: 1.2rem;
  font-weight: 300;
}

.feature-card__icon {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-mid);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  color: var(--cyan);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.feature-card:hover .feature-card__icon {
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.15);
}
.feature-card__icon svg { width: 20px; height: 20px; }

.feature-card__title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text-bright);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.feature-card__desc {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.feature-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--blue);
  transition: gap 0.2s;
}
.feature-card:hover .feature-card__link { gap: 0.6rem; }

/* ══════════════════════════════════════════════════════════════
   STATS BAND
══════════════════════════════════════════════════════════════ */
.stats-band {
  padding: 4.5rem 0;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}

.stats-band__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 4rem;
  text-align: center;
  gap: 0.25rem;
}

.stat__num {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 400;
  color: var(--text-bright);
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat__label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  color: var(--text);
  text-transform: uppercase;
  font-weight: 300;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border-mid);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════
   ABOUT
══════════════════════════════════════════════════════════════ */
.about {
  padding: var(--section-v) 0;
  border-bottom: 1px solid var(--border);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 6rem;
  align-items: start;
}

.about__body {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 1.25rem;
  font-weight: 300;
}

.about__body--accent {
  color: var(--text-mid);
  border-left: 2px solid var(--blue);
  padding-left: 1.25rem;
  font-style: italic;
  margin-top: 0.5rem;
}

/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
.footer {
  padding: 4rem 0 2rem;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

/* Footer Logo */
.footer__logo{
  margin-bottom:0.6rem;
}

.footer__logo-img{
  height:65px;
  width:auto;
  display:block;
  object-fit:contain;
  transform: translatex(-13px);
}

.footer__tagline {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--text);
  text-transform: uppercase;
  font-weight: 300;
}

.footer__links {
  display: flex;
  gap: 4rem;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__col-title {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  color: var(--cyan);
  text-transform: uppercase;
  font-weight: 300;
  margin-bottom: 0.25rem;
}

.footer__col a {
  font-size: 0.875rem;
  color: var(--text);
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--text-bright); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__copy {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--text);
  font-weight: 300;
}

.footer__socials { display: flex; gap: 1rem; }

.footer__social {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border-mid);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: color 0.2s, border-color 0.2s;
}
.footer__social:hover {
  color: var(--text-bright);
  border-color: rgba(255,255,255,0.25);
}

/* ══════════════════════════════════════════════════════════════
   INFO PAGES
══════════════════════════════════════════════════════════════ */
.info-page {
  padding-top: 64px;
}

.info-hero {
  padding: 7rem 0 4rem;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 60% 45% at 50% 0%, rgba(37,99,235,0.12), transparent 70%),
    var(--bg);
}

.info-hero .section-title {
  max-width: 760px;
}

.info-section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}

.info-section--alt {
  background: var(--bg-2);
}

.info-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.35fr;
  gap: 5rem;
  align-items: start;
}

.info-copy {
  color: var(--text);
  font-weight: 300;
}

.info-copy--wide {
  max-width: 820px;
}

.info-copy h2 {
  color: var(--text-bright);
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 400;
  margin: 2rem 0 0.65rem;
}

.info-copy h2:first-child {
  margin-top: 0;
}

.info-copy p {
  margin-bottom: 1.2rem;
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.info-cards article {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
}

.info-cards h3 {
  color: var(--text-bright);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4rem;
  align-items: start;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
}

.contact-form label {
  display: block;
  color: var(--text-mid);
  font-size: 0.88rem;
  margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.85rem 0.95rem;
  color: var(--text-bright);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-mid);
  border-radius: 8px;
  outline: none;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(37,99,235,0.65);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}

.form-notice {
  border-radius: 8px;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
}

.form-notice--success {
  color: #86efac;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.3);
}

.form-notice--error {
  color: #fca5a5;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3);
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .about__inner   { grid-template-columns: 1fr; gap: 3rem; }
  .footer__top    { flex-direction: column; gap: 2.5rem; }
}

@media (max-width: 768px) {
  :root { --section-v: 5rem; }

 
  .hero { padding: 7rem 1.5rem 5rem; }
  .hero__headline { font-size: clamp(2.2rem, 8vw, 3.5rem); }

  .features__grid { grid-template-columns: 1fr; }
  .stats-band__grid { flex-wrap: wrap; }
  .stat { padding: 1.2rem 2rem; }
  .stat-divider { display: none; }

  .footer__links { flex-direction: column; gap: 2rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .info-hero { padding: 5rem 0 3rem; }
  .info-grid,
  .contact-layout,
  .info-cards {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .br-desk { display: none; }
  #graphCanvas { height: 320px; }
}

@media (max-width: 480px) {
  .hero__ctas { flex-direction: column; width: 100%; }
  .btn { width: 100%; justify-content: center; }
  .search-bar--hero { margin: 0; }
}

/* ══════════════════════════════════════════════════════════════
   NAV SEARCH DROPDOWN
   Added: connects search icon to dropdown search box
══════════════════════════════════════════════════════════════ */
.nav__search-dropdown {
  position: absolute;
  top: 64px; /* below nav */
  left: 0; right: 0;
  z-index: 99;
  background: rgba(5,8,22,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  /* Hidden by default */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16,1,0.3,1),
              opacity    0.25s ease;
  opacity: 0;
  pointer-events: none;
}

.nav__search-dropdown.open {
  max-height: 160px;
  opacity: 1;
  pointer-events: auto;
}

.nav__search-dropdown__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 1.25rem 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Search form inside dropdown */
.nav__search-form {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 0 0.5rem 0 1.2rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.nav__search-form:focus-within {
  border-color: rgba(37,99,235,0.6);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.nav__search-form svg { color: #94A3B8; flex-shrink: 0; }

.nav__search-input {
  flex: 1;
  padding: 0.5rem 0.5rem;
  background: none;
  border: none;
  outline: none;
  color: #FFFFFF;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 1rem;
}
.nav__search-input::placeholder { color: #94A3B8; }

.nav__search-submit {
  flex-shrink: 0;
  padding: 0.55rem 1.3rem;
  background: #2563EB;
  color: #fff;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 7px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.nav__search-submit:hover { background: #1d4ed8; }

/* Trending pills row */
.nav__search-trending {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.nav__search-trending__label {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #94A3B8;
  font-weight: 300;
  flex-shrink: 0;
}
.nav__search-pill {
  font-size: 0.78rem;
  color: #CBD5E1;
  border: 1px solid rgba(255,255,255,0.12);
  padding: 0.22rem 0.75rem;
  border-radius: 100px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.nav__search-pill:hover {
  color: #FFFFFF;
  border-color: rgba(37,99,235,0.5);
  background: rgba(37,99,235,0.1);
}

/* ── Responsive adjustments ── */
@media (max-width: 768px) {
  .nav__search-dropdown__inner { padding: 1rem 1.5rem 1.25rem; }
  .nav__search-trending { display: none; } /* hide pills on small screens */
}
