/* --- COMPACT NAVBAR STYLES --- */
.nav-wrap {
  min-height: 54px !important;
  gap: 10px !important;
}
.brand-text {
  font-size: 18px !important;
}
.main-nav {
  gap: 2px !important;
}
.nav-link {
  height: 36px !important;
  padding: 0 14px !important;
  font-weight: 600 !important;
  font-size: 15px !important;
}
.nav-search {
  width: 210px !important;
  height: 34px !important;
  gap: 6px !important;
  padding: 0 8px !important;
}
.nav-search input {
  font-size: 14px !important;
  font-weight: 500 !important;
}
.cta-btn {
  height: 34px !important;
  padding: 0 12px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  gap: 6px !important;
}
/* --- END COMPACT NAVBAR STYLES --- */

:root {
  --bg: #f7f9fa;
  --white: #ffffff;
  --text-dark: #101828;
  --text-mid: #364152;
  --text-soft: #6b7280;
  --green-700: #0e9f83;
  --green-600: #129e86;
  --green-100: #e8f6f2;
  --green-200: #b7e4dc;
  --line: #e5e7eb;
  --shadow-soft: 0 8px 24px rgba(16, 24, 40, 0.06);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background: linear-gradient(180deg, #f5f8f8 0%, #f9fbfb 65%, #f8fbfc 100%);
  color: var(--text-dark);
  overflow-x: hidden;
}

.container {
  width: min(1280px, calc(100% - 88px));
  margin: 0 auto;
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  min-height: 54px !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px !important;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dark);
  text-decoration: none;
  flex-shrink: 0;
}

.brand-icon-box {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--green-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-icon {
  width: 15px;
  height: 15px;
}

.brand-text {
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  text-decoration: none;
  flex-shrink: 0;
}

.brand-text strong {
  color: var(--green-600);
}

.main-nav {
  display: inline-flex;
  align-items: center;
  gap: 2px !important;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  height: 36px !important;
  padding: 0 14px !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  color: var(--text-mid);
  border-radius: 999px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link.active {
  color: var(--green-600);
  background: var(--green-100);
  border: 1px solid var(--green-200);
}

.nav-link:hover {
  color: var(--green-600);
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.nav-search {
  width: 210px !important;
  height: 34px !important;
  border-radius: 999px;
  border: 1px solid #d4d9e1;
  background: #f8fafc;
  display: inline-flex;
  align-items: center;
  gap: 6px !important;
  padding: 0 8px !important;
}

.search-icon {
  width: 19px;
  height: 19px;
  opacity: 0.65;
  flex-shrink: 0;
}

.nav-search input,
.hero-search input {
  border: 0;
  background: transparent;
  outline: 0;
  width: 100%;
  font-family: inherit;
}

.nav-search input {
  color: #111827;
  font-size: 16px;
  font-weight: 600;
}

.nav-search input::placeholder {
  color: #111827;
  opacity: 0.9;
}

.cta-btn {
  height: 34px !important;
  padding: 0 12px !important;
  border: 0;
  border-radius: 999px;
  background: var(--green-600);
  color: #ffffff;
  font-family: inherit;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px !important;
  cursor: pointer;
}

.add-icon {
  width: 15px;
  height: 15px;
}

.hero {
  padding: 56px 0 32px;
  min-height: calc(100vh - 74px);
}

.hero-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 100%;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 34px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--green-100);
  border: 1px solid var(--green-200);
  color: #0b8d76;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-600);
}

.hero h1 {
  margin: 30px 0 18px;
  font-size: clamp(52px, 5.9vw, 98px);
  line-height: 1.4;
  letter-spacing: -0.035em;
  color: #0f172a;
  font-weight: 800;
  white-space: normal;
  max-width: 13.2ch;
}

.hero h1 span {
  color: var(--green-600);
}

#heroTypingWord {
  display: inline-block;
  vertical-align: bottom;
}

#heroTypingWord.typing-caret {
  border-right: 3px solid var(--green-600);
  padding-right: 4px;
  animation: heroCaretBlink 0.75s steps(1, end) infinite;
}

@keyframes heroCaretBlink {
  0%,
  49% {
    border-right-color: var(--green-600);
  }
  50%,
  100% {
    border-right-color: transparent;
  }
}

.hero p {
  margin: 0;
  color: #667085;
  font-size: clamp(14px, 1.15vw, 20px);
  line-height: 1.45;
  font-weight: 500;
}

.hero p strong {
  color: #344054;
  font-weight: 800;
}

.hero-search {
  margin-top: 28px;
  width: min(720px, 100%);
  min-height: 60px;
  border-radius: 999px;
  border: 1px solid #d5dae1;
  background: #f8fafc;
  display: inline-flex;
  align-items: center;
  padding: 5px 6px 5px 16px;
  gap: 9px;
  box-shadow: var(--shadow-soft);
}

.hero-search .search-icon {
  width: 19px;
  height: 19px;
}

.hero-search input {
  font-size: clamp(15px, 1.25vw, 24px);
  color: #98a2b3;
  font-weight: 600;
  min-width: 0;
}

.hero-search input::placeholder {
  color: #98a2b3;
}

.hero-search button {
  border: 0;
  background: #0f9d83;
  color: #fff;
  font-family: inherit;
  font-size: clamp(16px, 1.1vw, 22px);
  font-weight: 700;
  padding: 0 24px;
  min-width: 154px;
  height: 48px;
  border-radius: 999px;
  cursor: pointer;
}

@media (max-width: 1240px) {
  .container {
    width: min(1280px, calc(100% - 40px));
  }

  .nav-wrap {
    flex-wrap: wrap;
    padding: 14px 0;
    justify-content: center;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .nav-actions {
    order: 2;
  }

  .nav-link {
    font-size: 17px;
    height: 40px;
  }

  .brand-text {
    font-size: 21px;
  }

  .nav-search {
    width: 280px;
    height: 46px;
  }

  .nav-search input {
    font-size: 16px;
  }

  .cta-btn {
    font-size: 16px;
    height: 46px;
    padding: 0 20px;
  }

  .pill {
    font-size: 13px;
    height: 32px;
    padding: 0 16px;
  }

  .hero h1 {
    max-width: 13.5ch;
  }
}

@media (max-width: 1024px) {
  .container {
    width: min(1280px, calc(100% - 32px));
  }

  .nav-wrap {
    gap: 12px;
  }

  .nav-link {
    font-size: 16px;
    padding: 0 16px;
    height: 38px;
  }

  .nav-search {
    width: 250px;
  }

  .cta-btn {
    height: 44px;
    padding: 0 18px;
  }

  .hero {
    padding-top: 54px;
  }

  .hero h1 {
    font-size: clamp(42px, 6.2vw, 74px);
    margin: 30px 0 20px;
  }

  .hero p {
    font-size: clamp(14px, 2vw, 20px);
  }

  .hero-search {
    width: min(700px, 100%);
  }
}

@media (max-width: 900px) {
  .brand {
    width: 100%;
    justify-content: center;
  }

  .nav-actions {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .nav-search {
    flex: 1;
    min-width: 240px;
    max-width: 420px;
  }

  .main-nav {
    gap: 8px;
  }

  .hero h1 {
    font-size: clamp(40px, 9vw, 68px);
  }

  .hero-search {
    min-height: 58px;
    padding: 6px;
    padding-left: 14px;
  }
}

@media (max-width: 768px) {
  .container {
    width: calc(100% - 24px);
  }

  .hero {
    padding-top: 46px;
  }

  .hero h1 {
    margin-top: 26px;
    line-height: 1;
    font-size: clamp(34px, 10.5vw, 54px);
  }

  .hero p {
    font-size: 16px;
    line-height: 1.5;
  }

  .main-nav {
    gap: 6px;
  }

  .nav-link {
    font-size: 15px;
    padding: 0 14px;
    height: 36px;
  }

  .hero-search {
    min-height: 62px;
    padding: 6px;
    padding-left: 16px;
    gap: 8px;
  }

  .hero-search .search-icon {
    width: 22px;
    height: 22px;
  }

  .hero-search button {
    min-width: 108px;
    height: 48px;
    padding: 0 16px;
  }

  .nav-actions {
    width: 100%;
    justify-content: center;
  }

  .nav-search {
    flex: 1;
    min-width: 0;
    max-width: 520px;
  }
}

@media (max-width: 560px) {
  .container {
    width: calc(100% - 20px);
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 5;
  }

  .brand {
    justify-content: flex-start;
  }

  .brand-text {
    font-size: 20px;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .pill {
    font-size: 12px;
    height: 30px;
    padding: 0 14px;
    gap: 8px;
  }

  .hero p {
    font-size: 15px;
  }

  .hero-search {
    min-height: 56px;
    padding-left: 12px;
    gap: 6px;
  }

  .hero-search button {
    min-width: 96px;
    height: 44px;
    padding: 0 12px;
  }

  .hero-search input {
    font-size: 14px;
  }
}

  /* Trending Section Styles */
  #trending-section {
      --bg-color: #fcfdfe;
      --card-bg: #ffffff;
      --text-main: #1a202c;
      --text-muted: #718096;
      --accent-teal: #0d9488;
      --border-color: #f1f5f9;
  }
  #trending-section .trending-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; }
  #trending-section .badge-hot-now { background: #f0fdfa; color: #0d9488; padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 600; border: 1px solid #ccfbf1; display: inline-block; margin-bottom: 12px; }
  #trending-section .section-title { font-size: clamp(28px, 5vw, 42px); font-weight: 800; color: #1e293b; }
  #trending-section .header-nav { display: flex; gap: 12px; }
  #trending-section .nav-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #e2e8f0; background: white; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s ease; font-size: 18px; }
  #trending-section .nav-btn:hover { border-color: var(--accent-teal); color: var(--accent-teal); }
  #trending-section .nav-btn.next { background: var(--accent-teal); color: white; border-color: var(--accent-teal); }
  #trending-section .nav-btn.next:hover { background: #0f766e; }
  #trending-section .slider-wrapper { overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; padding: 10px 5px 30px 5px; cursor: grab; scroll-behavior: smooth; scroll-snap-type: x mandatory; }
  #trending-section .slider-wrapper::-webkit-scrollbar { display: none; }
  #trending-section .slider-wrapper:active { cursor: grabbing; }
  #trending-section .cards-grid { display: flex; gap: 24px; }
  #trending-section .card { min-width: calc(25% - 18px); flex: 0 0 auto; background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 24px; padding: 24px; position: relative; transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; scroll-snap-align: start; }
  #trending-section .card:hover { transform: translateY(-5px); box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05); }
  @media (max-width: 1024px) { #trending-section .card { min-width: calc(33.333% - 16px); } }
  @media (max-width: 768px) { #trending-section .card { min-width: calc(50% - 12px); } }
  @media (max-width: 480px) { #trending-section .card { min-width: 85%; } }
  #trending-section .card-badges { position: absolute; top: 20px; right: 20px; display: flex; gap: 6px; }
  #trending-section .badge-new, #trending-section .badge-hot { font-size: 10px; font-weight: 700; padding: 4px 8px; border-radius: 12px; }
  #trending-section .badge-new { color: #0d9488; background: #f0fdfa; border: 1px solid #ccfbf1; }
  #trending-section .badge-hot { color: #f97316; background: #fff7ed; border: 1px solid #ffedd5; }
  #trending-section .icon-wrapper { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
  #trending-section .icon-wrapper img { width: 28px; height: 28px; filter: brightness(0) invert(1); }
  #trending-section .bg-orange { background: #ff7e67; }
  #trending-section .bg-dark { background: #1a202c; }
  #trending-section .bg-purple { background: linear-gradient(135deg, #d946ef, #7c3aed); }
  #trending-section .bg-blue { background: #60a5fa; }
  #trending-section .card h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; color: var(--text-main); }
  #trending-section .card p { font-size: 14px; color: var(--text-muted); line-height: 1.5; margin-bottom: 24px; flex-grow: 1; }
  #trending-section .card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
  #trending-section .tag { font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 20px; }
  #trending-section .tag-ai { background: #f0fdfa; color: #0d9488; }
  #trending-section .tag-dev { background: #fff7ed; color: #c2410c; }
  #trending-section .tag-media { background: #fdf4ff; color: #a21caf; }
  #trending-section .tag-research { background: #eff6ff; color: #1d4ed8; }
  #trending-section .rating { font-size: 13px; font-weight: 700; margin-right: 10px; }
  #trending-section .try-link { text-decoration: none; color: var(--accent-teal); font-weight: 700; font-size: 14px; }

  /* Drops Section Styles */
  #drops-section {
      --primary: #0ea883;
      --primary-hover: #0d9473;
      --primary-light: #f0fdfa;
    --primary-border: #99f6e4;
    --emerald-border: #99f6e4;
      --text-dark: #0f172a;
      --text-muted: #64748b;
      --border: #f1f5f9;
      --bg-body: #ffffff;
      --bg-card: #ffffff;
      --orange: #ea580c;
      --orange-bg: #fff7ed;
      --purple: #9333ea;
      --purple-bg: #faf5ff;
      --blue: #2563eb;
      --blue-bg: #eff6ff;
      --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  }
  #drops-section .container { max-width: 1240px; margin: 0 auto; padding: 40px 24px; }
  #drops-section .header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; }
  #drops-section .badge-main { display: inline-flex; align-items: center; gap: 6px; background: var(--primary-light); color: var(--primary); padding: 6px 14px; border-radius: 50px; font-size: 13px; font-weight: 700; border: 1px solid #99f6e4; margin-bottom: 12px; }
  #drops-section h1 { font-size: 42px; font-weight: 800; letter-spacing: -1.2px; }
  #drops-section .controls { display: flex; gap: 12px; }
  #drops-section .btn-ctrl { display: flex; align-items: center; gap: 8px; padding: 10px 18px; border: 1px solid var(--border); background: #f8fafc; border-radius: 12px; font-size: 14px; font-weight: 600; color: var(--text-muted); cursor: pointer; transition: 0.2s; }
  #drops-section .btn-ctrl:hover { border-color: #cbd5e1; background: #f1f5f9; }
  #drops-section .layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; }
  #drops-section .tool-list { display: flex; flex-direction: column; gap: 24px; }
  #drops-section .tool-card { border: 1px solid var(--border); border-radius: 24px; padding: 32px; background: var(--bg-card); transition: 0.2s; position: relative; }
  #drops-section .tool-card:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,0,0,0.04); }
  #drops-section .tool-top { display: flex; gap: 20px; margin-bottom: 20px; }
  #drops-section .tool-icon { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; }
  #drops-section .tool-title { font-size: 18px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
  #drops-section .new-tag { background: var(--primary-light); color: var(--primary); font-size: 10px; font-weight: 800; padding: 2px 8px; border-radius: 4px; }
  #drops-section .tool-hook { font-size: 14px; font-weight: 600; color: var(--orange); }
  #drops-section .tool-desc { color: var(--text-muted); font-size: 15px; line-height: 1.6; margin-bottom: 20px; }
  #drops-section .tags { display: flex; gap: 8px; margin-bottom: 28px; }
  #drops-section .tag-pill { background: #f1f5f9; color: var(--text-muted); font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 6px; }
  #drops-section .tool-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border); padding-top: 24px; }
  #drops-section .cat-badge { padding: 4px 14px; border-radius: 50px; font-size: 12px; font-weight: 700; }
  #drops-section .cat-orange { background: var(--orange-bg); color: var(--orange); }
  #drops-section .cat-purple { background: var(--purple-bg); color: var(--purple); }
  #drops-section .cat-blue { background: var(--blue-bg); color: var(--blue); }
  #drops-section .rating-box { display: flex; align-items: center; gap: 24px; }
  #drops-section .star-rating { display: flex; align-items: center; gap: 4px; font-weight: 800; font-size: 14px; }
  #drops-section .star-rating i { fill: #f59e0b; color: #f59e0b; }
  #drops-section .try-btn { color: var(--primary); font-weight: 800; font-size: 14px; display: flex; align-items: center; gap: 4px; cursor: pointer; }
  #drops-section .sidebar { display: flex; flex-direction: column; gap: 32px; }
  #drops-section .sidebar-widget { background: #fafafa; border: 1px solid var(--border); border-radius: 24px; padding: 24px; }
  #drops-section .widget-head { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 800; margin-bottom: 24px; }
  #drops-section .widget-head i { color: var(--primary); }
  #drops-section .cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  #drops-section .cat-btn { background: white; border: 1px solid var(--border); padding: 10px 12px; border-radius: 12px; font-size: 13px; font-weight: 600; display: flex; justify-content: space-between; cursor: pointer; transition: 0.2s; }
  #drops-section .cat-btn:hover { border-color: var(--primary); background: var(--primary-light); }
  #drops-section .cat-val { color: #cbd5e1; font-weight: 500; }
  #drops-section .winner-row { background: white; border: 1px solid var(--border); border-radius: 16px; padding: 14px; display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
  #drops-section .rank-circle { width: 34px; height: 34px; background: #f1f5f9; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: #94a3b8; }
  #drops-section .rank-gold { background: #fef3c7; color: #f59e0b; }
  #drops-section .winner-img { width: 32px; height: 32px; border-radius: 8px; }
  #drops-section .winner-info { flex: 1; }
  #drops-section .winner-name { font-size: 13px; font-weight: 700; margin-bottom: 2px; }
  #drops-section .winner-saves { font-size: 11px; color: var(--text-muted); }
  #drops-section .news-widget { background: var(--primary-light); border: 1px solid var(--emerald-border); border-radius: 24px; padding: 24px; }
  #drops-section .news-head { display: flex; align-items: center; gap: 10px; font-weight: 800; margin-bottom: 12px; }
  #drops-section .news-desc { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; line-height: 1.5; }
  #drops-section .news-input { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--primary-border); background: white; outline: none; margin-bottom: 12px; }
  #drops-section .news-btn { width: 100%; background: var(--primary); color: white; border: none; padding: 14px; border-radius: 12px; font-weight: 700; cursor: pointer; transition: 0.2s; }
  #drops-section .load-more-center { display: flex; justify-content: center; margin-top: 40px; }
  #drops-section .load-btn { display: flex; align-items: center; gap: 10px; background: white; border: 1px solid var(--border); padding: 14px 40px; border-radius: 99px; font-weight: 700; cursor: pointer; transition: 0.2s; }
  #drops-section .load-btn:hover { background: #f8fafc; border-color: #cbd5e1; }
  @media (max-width: 1024px) {
      #drops-section .layout { grid-template-columns: 1fr; }
      #drops-section .sidebar { margin-top: 40px; }
      #drops-section h1 { font-size: 32px; }
  }

  /* Builders Section Styles */
  #builders-section {
    --primary: #0ea883;
    --primary-light: #f0fdfa;
    --primary-border: #99f6e4;
    --dark: #0f172a;
    --muted: #64748b;
    --white: #ffffff;
    --bg-body: #f8fafc;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  #builders-section .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
  }
  #builders-section .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-light);
    border: 1px solid var(--primary-border);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 99px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
  }
  #builders-section .badge svg {
    width: 14px;
    height: 14px;
  }
  #builders-section h2 {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
  }
  #builders-section .subtitle {
    color: var(--muted);
    font-size: 16px;
    margin-bottom: 60px;
  }
  #builders-section .makers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
  }
  #builders-section .maker-card {
    background: var(--white);
    border: 1px solid #f1f5f9;
    border-radius: 24px;
    padding: 40px 20px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  }
  #builders-section .maker-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-border);
  }
  #builders-section .avatar {
    width: 85px;
    height: 85px;
    border-radius: 24px;
    object-fit: cover;
    margin-bottom: 20px;
    background: #e2e8f0;
  }
  #builders-section .name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
  }
  #builders-section .role {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 20px;
  }
  #builders-section .tool-link {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
  }
  #builders-section .maker-card:hover .tool-link {
    background: var(--primary);
    color: white;
  }

  /* Numbers Section Styles */
  #numbers-section {
    --primary-teal: #0ea883;
    --bg-teal: #f0fdfa;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --border-color: #f1f5f9;
    --white: #ffffff;
  }
  #numbers-section .stats-section {
    max-width: 1160px;
    margin: 0 auto;
    text-align: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
  }
  #numbers-section .stats-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-teal);
    border: 1px solid #99f6e4;
    color: var(--primary-teal);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
  }
  #numbers-section .section-title {
    font-size: clamp(1.8rem, 3.7vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 30px;
  }
  #numbers-section .stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
    background-image: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
  }
  #numbers-section .stat-card {
    padding: 34px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    justify-content: center;
  }
  #numbers-section .stat-card:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background-color: var(--border-color);
  }
  #numbers-section .icon-box {
    width: 52px;
    height: 52px;
    background-color: var(--bg-teal);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    box-shadow: inset 0 0 0 1px #ccfbf1, 0 8px 16px rgba(14, 168, 131, 0.07);
  }
  #numbers-section .numbers-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
  }
  #numbers-section .stat-number {
    font-size: clamp(30px, 3.1vw, 46px);
    font-weight: 800;
    margin-bottom: 6px;
    letter-spacing: -1.2px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
  }
  #numbers-section .stat-label {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
  }
  @media (max-width: 1024px) {
    #numbers-section .stats-container {
      grid-template-columns: repeat(2, 1fr);
    }
    #numbers-section .stat-card:nth-child(2)::after {
      display: none;
    }
    #numbers-section .stat-card:nth-child(1), #numbers-section .stat-card:nth-child(2) {
      border-bottom: 1px solid var(--border-color);
    }
  }

  /* Latest Issue Section Styles */
  #latest-issue-section {
      --primary-emerald: #0ea883;
      --emerald-light: #f0fdfa;
      --emerald-border: #99f6e4;
      --text-dark: #0f172a;
      --text-muted: #64748b;
      --white: #ffffff;
      --border-light: #f1f5f9;
  }
  #latest-issue-section .container { max-width: 1240px; margin: 0 auto; }
  #latest-issue-section .header-top { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; }
  #latest-issue-section .section-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--emerald-light); color: var(--primary-emerald); padding: 6px 14px; border-radius: 50px; font-size: 13px; font-weight: 600; margin-bottom: 16px; border: 1px solid var(--emerald-border); }
  #latest-issue-section .title-h2 { font-size: 40px; font-weight: 800; letter-spacing: -1px; margin-bottom: 12px; }
  #latest-issue-section .header-desc { color: var(--text-muted); font-size: 16px; }
  #latest-issue-section .subscribe-btn-top { background: var(--emerald-light); color: var(--primary-emerald); border: 1px solid var(--emerald-border); padding: 12px 24px; border-radius: 50px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 8px; }
  #latest-issue-section .editions-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; margin-bottom: 60px; }
  #latest-issue-section .featured-card { background: var(--white); border: 1px solid var(--border-light); border-radius: 24px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.02); }
  #latest-issue-section .feat-img-box { position: relative; height: 320px; }
  #latest-issue-section .feat-img-box img { width: 100%; height: 100%; object-fit: cover; }
  #latest-issue-section .latest-issue-tag { position: absolute; top: 20px; left: 20px; background: rgba(14, 168, 131, 0.9); color: white; padding: 4px 12px; border-radius: 50px; font-size: 11px; font-weight: 800; display: flex; align-items: center; gap: 6px; }
  #latest-issue-section .issue-num { position: absolute; top: 20px; right: 20px; color: white; font-weight: 700; font-size: 14px; }
  #latest-issue-section .feat-content { padding: 32px; }
  #latest-issue-section .feat-meta { color: var(--text-muted); font-size: 13px; display: flex; gap: 15px; margin-bottom: 16px; }
  #latest-issue-section .feat-title { font-size: 26px; font-weight: 800; margin-bottom: 16px; line-height: 1.3; }
  #latest-issue-section .feat-text { color: var(--text-muted); line-height: 1.6; margin-bottom: 24px; font-size: 15px; }
  #latest-issue-section .tag-row { display: flex; gap: 8px; margin-bottom: 32px; flex-wrap: wrap; }
  #latest-issue-section .tag-pill { padding: 5px 14px; border-radius: 50px; font-size: 12px; font-weight: 600; }
  #latest-issue-section .tag-green { background: #f0fdfa; color: #0d9488; }
  #latest-issue-section .tag-orange { background: #fff7ed; color: #ea580c; }
  #latest-issue-section .tag-yellow { background: #fefce8; color: #a16207; }
  #latest-issue-section .feat-footer { border-top: 1px solid var(--border-light); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; }
  #latest-issue-section .tool-list { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-muted); }
  #latest-issue-section .tool-chip { background: #f8fafc; padding: 4px 10px; border-radius: 6px; color: var(--text-dark); font-weight: 600; }
  #latest-issue-section .read-link { color: var(--primary-emerald); text-decoration: none; font-weight: 700; font-size: 14px; }
  #latest-issue-section .side-col { display: flex; flex-direction: column; gap: 20px; }
  #latest-issue-section .side-item { background: var(--white); border: 1px solid var(--border-light); border-radius: 20px; padding: 20px; display: flex; gap: 16px; transition: 0.2s; cursor: pointer; }
  #latest-issue-section .side-item:hover { transform: translateX(4px); border-color: var(--primary-emerald); }
  #latest-issue-section .side-img { width: 100px; height: 100px; border-radius: 12px; object-fit: cover; }
  #latest-issue-section .side-info { flex: 1; }
  #latest-issue-section .side-meta { font-size: 12px; margin-bottom: 6px; display: flex; gap: 10px; }
  #latest-issue-section .side-meta .id { color: var(--primary-emerald); font-weight: 700; }
  #latest-issue-section .side-meta .date { color: var(--text-muted); }
  #latest-issue-section .side-title { font-size: 15px; font-weight: 800; margin-bottom: 12px; line-height: 1.4; }
  #latest-issue-section .sub-banner { max-width: 900px; margin: 40px auto 0; background: #ffffff; border: 1px solid var(--border-light); border-radius: 20px; padding: 24px 40px; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 4px 15px rgba(0,0,0,0.02); }
  #latest-issue-section .sub-content { display: flex; align-items: center; gap: 20px; }
  #latest-issue-section .mail-icon-box { width: 48px; height: 48px; background: var(--emerald-light); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--primary-emerald); }
  #latest-issue-section .sub-text h4 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
  #latest-issue-section .sub-text p { font-size: 14px; color: var(--text-muted); }
  #latest-issue-section .sub-button-final { background: var(--primary-emerald); color: white; border: none; padding: 14px 32px; border-radius: 50px; font-weight: 600; cursor: pointer; }
  @media (max-width: 1024px) {
      #latest-issue-section .editions-grid { grid-template-columns: 1fr; }
      #latest-issue-section .sub-banner { flex-direction: column; text-align: center; gap: 24px; padding: 30px 20px; }
      #latest-issue-section .sub-content { flex-direction: column; }
  }

  /* Newsletter Section Styles */
  #newsletter-section {
      --primary-emerald: #0ea883;
      --emerald-hover: #0d9473;
      --emerald-bg: #f0fdfa;
      --text-dark: #0f172a;
      --text-muted: #64748b;
      --border-color: #e2e8f0;
      --white: #ffffff;
  }
  #newsletter-section.subscribe-hero {
      max-width: 800px;
      text-align: center;
      padding: 60px 20px;
      margin: 0 auto;
      margin-bottom: 52px;
      position: relative;
    }
    #newsletter-section.subscribe-hero::after {
      content: "";
      position: absolute;
      left: 50%;
      bottom: -26px;
      transform: translateX(-50%);
      width: min(1120px, calc(100vw - 56px));
      height: 1px;
      background: linear-gradient(90deg, transparent 0%, #d9e0e6 18%, #d9e0e6 82%, transparent 100%);
  }
  #newsletter-section .top-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--emerald-bg);
      border: 1px solid #99f6e4;
      color: var(--primary-emerald);
      padding: 8px 18px;
      border-radius: 50px;
      font-size: 14px;
      font-weight: 600;
      margin-bottom: 32px;
  }
  #newsletter-section h1 {
      font-size: clamp(2.5rem, 6vw, 4rem);
      font-weight: 800;
      letter-spacing: -0.04em;
      margin-bottom: 24px;
  }
  #newsletter-section h1 span {
      color: var(--primary-emerald);
  }
  #newsletter-section .description {
      color: var(--text-muted);
      font-size: 1.15rem;
      line-height: 1.6;
      max-width: 650px;
      margin: 0 auto 40px;
  }
  #newsletter-section .benefits-group {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 12px;
      margin-bottom: 48px;
  }
  #newsletter-section .benefit-pill {
      background: var(--white);
      border: 1px solid var(--border-color);
      padding: 10px 20px;
      border-radius: 50px;
      font-size: 15px;
      font-weight: 500;
      display: flex;
      align-items: center;
      gap: 8px;
      box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
      transition: transform 0.2s ease;
  }
  #newsletter-section .benefit-pill:hover {
      transform: translateY(-2px);
      border-color: var(--primary-emerald);
  }
  #newsletter-section .icon-star { color: #06b6d4; }
  #newsletter-section .icon-bolt { color: #fbbf24; }
  #newsletter-section .icon-building { color: #6366f1; }
  #newsletter-section .icon-device { color: #ec4899; }
  #newsletter-section .input-group {
      display: flex;
      background: var(--white);
      border: 1px solid var(--border-color);
      padding: 8px;
      border-radius: 16px;
      max-width: 500px;
      margin: 0 auto 20px;
      box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
  }
  #newsletter-section .input-wrapper {
      flex: 1;
      display: flex;
      align-items: center;
      padding-left: 16px;
      gap: 12px;
  }
  #newsletter-section .input-wrapper svg {
      color: var(--text-muted);
  }
  #newsletter-section input {
      border: none;
      outline: none;
      width: 100%;
      font-size: 16px;
      color: var(--text-dark);
  }
  #newsletter-section .btn-subscribe {
      background: var(--primary-emerald);
      color: white;
      border: none;
      padding: 14px 28px;
      border-radius: 12px;
      font-weight: 700;
      font-size: 15px;
      cursor: pointer;
      transition: background 0.2s ease;
      white-space: nowrap;
  }
  #newsletter-section .btn-subscribe:hover {
      background: var(--emerald-hover);
  }
  #newsletter-section .footer-note {
      font-size: 13px;
      color: var(--text-muted);
  }
  @media (max-width: 600px) {
      #newsletter-section .input-group {
          flex-direction: column;
          background: transparent;
          border: none;
          box-shadow: none;
          padding: 0;
      }
      #newsletter-section .input-wrapper {
          background: white;
          border: 1px solid var(--border-color);
          padding: 16px;
          border-radius: 12px;
          margin-bottom: 12px;
      }
      #newsletter-section .btn-subscribe {
          width: 100%;
          padding: 16px;
      }
      #newsletter-section.subscribe-hero {
        margin-bottom: 40px;
      }
      #newsletter-section.subscribe-hero::after {
        bottom: -20px;
        width: calc(100vw - 30px);
      }
  }

  /* Footer Section Styles */
  #site-footer {
      --primary: #0ea883;
      --text-dark: #0f172a;
      --text-muted: #64748b;
      --border: #f1f5f9;
      --bg-light: #fdfdfd;
      --font-main: 'Robusta', 'Inter', system-ui, -apple-system, sans-serif;
      margin-top: 28px;
      width: 100%;
      max-width: 1200px;
      margin-left: auto;
      margin-right: auto;
      padding: 100px 24px 60px;
  }
  @font-face {
      font-family: 'Robusta';
      src: url('fonts/robusta-bold.woff2') format('woff2');
      font-weight: 800;
      font-style: normal;
  }
  @font-face {
      font-family: 'Robusta';
      src: url('fonts/robusta-medium.woff2') format('woff2');
      font-weight: 500;
      font-style: normal;
  }
  #site-footer .footer-brand {
      text-align: center;
      margin-bottom: 70px;
  }
  #site-footer .logo-box {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 24px;
  }
  #site-footer .logo-icon {
      width: 44px;
      height: 44px;
      background: var(--primary);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 8px;
  }
    #site-footer .footer-logo-robot {
      width: 24px;
      height: 24px;
      display: block;
      object-fit: contain;
    }
  #site-footer .logo-text {
      font-size: 28px;
      font-weight: 800;
      letter-spacing: -0.03em;
  }
  #site-footer .logo-text span {
      color: var(--primary);
  }
  #site-footer .footer-tagline {
      color: var(--text-muted);
      font-size: 16px;
      max-width: 540px;
      margin: 0 auto;
      line-height: 1.6;
      font-weight: 500;
  }
  #site-footer .footer-nav {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      max-width: 850px;
      margin: 0 auto 100px;
      justify-items: center;
      gap: 20px;
  }
  #site-footer .nav-column h4 {
      color: var(--primary);
      font-size: 13px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      margin-bottom: 28px;
  }
  #site-footer .nav-column ul {
      list-style: none;
      padding-left: 0;
      margin: 0;
      text-align: center;
  }
  #site-footer .nav-column ul li {
      margin-bottom: 16px;
  }
  #site-footer .nav-column ul li a {
      color: var(--text-muted);
      text-decoration: none;
      font-size: 15px;
      font-weight: 500;
      transition: all 0.2s ease;
  }
  #site-footer .nav-column ul li a:hover {
      color: var(--primary);
      transform: translateX(4px);
      display: inline-block;
  }
  #site-footer .footer-bottom {
      border-top: 1px solid var(--border);
      padding-top: 40px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 20px;
      max-width: 1200px;
      margin: 0 auto;
  }
  #site-footer .copyright {
      color: var(--text-muted);
      font-size: 14px;
      font-weight: 500;
      margin: 0;
  }
  #site-footer .social-icons {
      display: flex;
      gap: 12px;
  }
  #site-footer .social-btn {
      width: 42px;
      height: 42px;
      border: 1px solid var(--border);
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: white;
      color: var(--text-muted);
      text-decoration: none;
        transition: none;
      font-size: 18px;
  }
  #site-footer .social-btn:hover {
      border-color: var(--primary);
      color: var(--primary);
  }
  @media (max-width: 768px) {
      #site-footer .footer-nav {
          grid-template-columns: 1fr;
          gap: 50px;
          text-align: center;
      }
      #site-footer .footer-bottom {
          flex-direction: column-reverse;
          text-align: center;
      }
  }

/* Layout and Motion Polish Layer */
.cta-wrap {
  display: flex;
  gap: 16px;
  margin: 32px 0 48px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background-color 0.24s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 20px rgba(16, 24, 40, 0.1);
}

.btn-green {
  background: var(--green-600);
  color: #fff;
}

.btn-orange {
  background: #fff;
  color: var(--green-600);
  border: 2px solid var(--green-200);
}

.btn-icon {
  width: 22px;
  height: 22px;
}

.ticker {
  width: 100%;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  margin-bottom: 48px;
  overflow: hidden;
  position: relative;
  z-index: -1;
}

.ticker-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  width: max-content;
  color: #6b7280;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  animation: tickerLoop 28s linear infinite;
  will-change: transform;
}

.ticker-inner > span {
  flex: 0 0 auto;
}

.ticker:not(.is-ready) .ticker-inner {
  opacity: 0;
  animation-play-state: paused;
}

.ticker.is-ready .ticker-inner {
  opacity: 1;
  transition: opacity 0.2s ease;
}

@keyframes tickerLoop {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.stats .stat-card {
  padding: 0 24px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.stats .stat-card:last-child {
  border-right: none;
}

.hero-stat-icon {
  width: 32px;
  height: 32px;
  margin: 20px auto;
}

.stats .stat-card h3 {
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 4px;
}

.stats .stat-card p {
  margin: 0;
  color: #6b7280;
  font-size: 14px;
}

.tag-row-compact {
  margin-bottom: 0 !important;
}

.tag-pill-compact {
  padding: 2px 8px !important;
  font-size: 10px !important;
}

.side-read-time {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 10px;
  font-weight: 600;
}

#trending-section .trending-header,
#drops-section .header,
#latest-issue-section .header-top {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

#trending-section .header-nav,
#drops-section .controls {
  justify-content: center;
}

#trending-section,
#drops-section,
#builders-section,
#numbers-section,
#latest-issue-section,
#newsletter-section {
  padding-top: 64px;
  padding-bottom: 64px;
}

#trending-section {
  padding-bottom: 28px;
}

#drops-section {
  padding-top: 8px;
}

#trending-section .card,
#drops-section .tool-card,
#builders-section .maker-card,
#latest-issue-section .featured-card,
#latest-issue-section .side-item,
#numbers-section .stats-container,
#newsletter-section .benefit-pill,
#newsletter-section .input-group {
  transition: transform 0.26s ease-out, box-shadow 0.26s ease-out, border-color 0.2s ease;
}

#latest-issue-section .featured-card:hover,
#numbers-section .stats-container:hover,
#newsletter-section .input-group:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 32px rgba(16, 24, 40, 0.08);
}

.reveal-item {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.52s ease-out, transform 0.52s ease-out;
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

#site-footer .social-icon-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
}

@media (max-width: 980px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 0;
  }

  .stats .stat-card {
    border-right: none;
  }

  .btn {
    width: 100%;
    justify-content: center;
    max-width: 340px;
  }

  #latest-issue-section .feat-footer {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  #trending-section,
  #drops-section,
  #builders-section,
  #numbers-section,
  #latest-issue-section,
  #newsletter-section {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  #trending-section {
    padding-bottom: 24px;
  }

  #drops-section {
    padding-top: 6px;
  }

  .ticker {
    margin-bottom: 32px;
  }

  .ticker-inner {
    animation-duration: 24s;
  }

  #drops-section .tool-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  #latest-issue-section .side-item {
    flex-direction: column;
  }

  #latest-issue-section .side-img {
    width: 100%;
    height: 180px;
  }
}

@media (max-width: 560px) {
  .cta-wrap {
    margin-top: 24px;
    margin-bottom: 28px;
    gap: 12px;
  }

  .btn {
    padding: 13px 20px;
    font-size: 15px;
  }

  .stats .stat-card h3 {
    font-size: 28px;
  }

  #site-footer {
    padding-top: 72px;
    padding-bottom: 42px;
  }

  #numbers-section .stat-label {
    font-size: 15px;
  }

  #site-footer .social-btn {
    width: 38px;
    height: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Mobile Navigation UX */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid #d7dee7;
  border-radius: 12px;
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  cursor: pointer;
}

.nav-toggle-line {
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: #0f172a;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-panel {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
  z-index: 9;
}

@media (max-width: 900px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 20;
  }

  .nav-wrap {
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    gap: 12px !important;
    min-height: 62px !important;
    padding: 10px 0 !important;
  }

  .brand {
    width: auto !important;
    justify-content: flex-start !important;
  }

  .nav-toggle {
    display: inline-flex;
    flex-shrink: 0;
    z-index: 21;
  }

  .nav-panel {
    position: fixed;
    top: 70px;
    left: 12px;
    right: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.16);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    transform: translateY(-10px) scale(0.98);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.22s ease, opacity 0.22s ease;
    z-index: 20;
  }

  .main-nav {
    width: 100% !important;
    order: 1 !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    justify-content: stretch !important;
  }

  .nav-link {
    width: 100%;
    height: 42px !important;
    justify-content: flex-start;
    padding: 0 14px !important;
    border-radius: 12px;
    background: #f8fafc;
  }

  .nav-actions {
    width: 100% !important;
    order: 2 !important;
    display: flex !important;
    flex-direction: column;
    gap: 10px !important;
    justify-content: stretch !important;
  }

  .nav-search {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 42px !important;
  }

  .cta-btn {
    width: 100%;
    height: 42px !important;
    justify-content: center;
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open .nav-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  body.nav-open .nav-panel {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
  }

  body.nav-open .nav-toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.nav-open .nav-toggle-line:nth-child(2) {
    opacity: 0;
  }

  body.nav-open .nav-toggle-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    min-height: auto;
  }

  .hero p {
    max-width: 62ch;
  }

  #drops-section .layout {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  #drops-section .controls {
    flex-wrap: wrap;
  }

  #latest-issue-section .header-top {
    align-items: center;
  }
}

@media (max-width: 560px) {
  .brand-text {
    font-size: 19px !important;
  }

  .nav-panel {
    top: 66px;
    left: 8px;
    right: 8px;
    border-radius: 14px;
    padding: 12px;
  }

  .hero {
    padding-top: 34px !important;
  }

  .hero h1 {
    font-size: clamp(31px, 11vw, 46px) !important;
    max-width: 12.6ch;
  }

  .hero-search {
    flex-wrap: wrap;
    border-radius: 18px;
    padding: 12px;
  }

  .hero-search button {
    width: 100%;
    min-width: 0 !important;
  }

  .ticker {
    margin-bottom: 26px;
  }

  .stats {
    gap: 16px;
  }

  #trending-section .card,
  #drops-section .tool-card,
  #builders-section .maker-card,
  #latest-issue-section .featured-card,
  #latest-issue-section .side-item {
    border-radius: 18px;
  }
}

/* Final mobile layout overrides */
@media (max-width: 768px) {
  .stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
  }

  .stats .stat-card {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 16px 10px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .stats .stat-card:nth-child(2n) {
    border-right: none;
  }

  .stats .stat-card:nth-last-child(-n+2) {
    border-bottom: none;
  }

  #builders-section .makers-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
  }

  #builders-section .maker-card {
    flex: 0 0 calc(50% - 7px);
    max-width: calc(50% - 7px);
    margin: 0;
    padding: 24px 12px;
  }

  #numbers-section .stats-container {
    display: flex;
    flex-wrap: wrap;
  }

  #numbers-section .stat-card {
    flex: 0 0 50%;
    max-width: 50%;
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 28px 10px;
  }

  #numbers-section .stat-card::after {
    display: none !important;
  }

  #numbers-section .stat-card:nth-child(2n) {
    border-right: none;
  }

  #numbers-section .stat-card:nth-last-child(-n+2) {
    border-bottom: none;
  }

  .nav-search {
    height: 44px !important;
    border-radius: 12px;
    border-color: #dbe3ec;
    background: #f8fafc;
    padding: 0 12px !important;
    gap: 8px !important;
  }

  .nav-search .search-icon {
    width: 17px;
    height: 17px;
    opacity: 0.55;
  }

  .nav-search input {
    font-size: 15px !important;
    font-weight: 600 !important;
  }
}

@media (max-width: 560px) {
  .hero-search {
    display: grid;
    grid-template-columns: 20px 1fr auto;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    border-radius: 16px;
    min-height: 56px;
    padding: 8px 8px 8px 12px;
  }

  .hero-search .search-icon {
    width: 18px;
    height: 18px;
  }

  .hero-search input {
    font-size: 16px;
    color: #667085;
  }

  .hero-search button {
    width: auto;
    min-width: 92px !important;
    height: 40px;
    padding: 0 14px;
    border-radius: 999px;
  }
}

@media (max-width: 400px) {
  .hero-search button {
    min-width: 86px !important;
    padding: 0 12px;
    font-size: 14px;
  }
}

/* Mobile refinement fixes */
@media (max-width: 768px) {
  #trending-section .slider-wrapper {
    padding: 8px 0 20px 0;
  }

  #trending-section .cards-grid {
    gap: 12px;
    width: 100%;
  }

  #trending-section .card {
    min-width: 100%;
    width: 100%;
    max-width: 100%;
  }

  .cta-wrap {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    width: 100%;
  }

  .cta-wrap .btn {
    flex: 1 1 50%;
    max-width: none;
    width: auto;
    padding: 12px 10px;
    font-size: 14px;
    justify-content: center;
  }

  .nav-panel .nav-search {
    background: #ffffff;
    border: 1px solid #cfd8e3;
    border-radius: 12px;
    height: 46px !important;
    box-shadow: inset 0 1px 0 rgba(15, 23, 42, 0.03);
  }

  .nav-panel .nav-search input {
    color: #0f172a;
    font-size: 17px !important;
    font-weight: 600 !important;
  }

  .nav-panel .nav-search input::placeholder {
    color: #64748b;
    opacity: 1;
  }
}

@media (max-width: 560px) {
  #numbers-section .stats-container {
    border-radius: 18px;
  }

  #numbers-section .stat-card {
    padding: 20px 8px;
  }

  #numbers-section .icon-box {
    width: 44px;
    height: 44px;
    margin-bottom: 10px;
  }

  #numbers-section .numbers-icon {
    width: 20px;
    height: 20px;
  }

  #numbers-section .stat-number {
    font-size: clamp(24px, 8.3vw, 36px);
    letter-spacing: -0.8px;
    white-space: normal;
  }

  #numbers-section .stat-card:last-child .stat-number {
    font-size: clamp(22px, 7.5vw, 32px);
    line-height: 0.95;
  }

  #numbers-section .stat-label {
    font-size: 11px;
    line-height: 1.25;
  }

  .cta-wrap {
    margin-bottom: 20px;
  }

  .cta-wrap .btn {
    min-height: 44px;
    border-radius: 12px;
  }
}






/* --- new search page ai --- */



.search-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.search-card {
    padding: 15px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.search-card:hover {
    transform: translateY(-5px);
}

.search-card img {
    width: 100%;
    border-radius: 8px;
}

.type {
    display: inline-block;
    margin-top: 5px;
    font-size: 12px;
    color: #888;
}



/* ===== AI SEARCH DROPDOWN ONLY ===== */

.ai-search-box {
  position: relative; /* already hoga but safe */
}

#ai-search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 20px 40px rgba(16, 24, 40, 0.08);
  z-index: 9999;
  display: none;
  overflow: hidden;
}

/* Single item */
#ai-search-results .result-item {
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.2s ease;
}

/* Last item border remove */
#ai-search-results .result-item:last-child {
  border-bottom: none;
}

/* Link styling */
#ai-search-results .result-item a {
  display: block;
  text-decoration: none;
  color: #0f172a;
  font-size: 14px;
  font-weight: 600;
}

/* Type text (AI Tool / Company) */
#ai-search-results .result-item small {
  display: block;
  font-size: 12px;
  color: #64748b;
  margin-top: 2px;
  font-weight: 500;
}

/* Hover effect */
#ai-search-results .result-item:hover {
  background: #f8fafc;
}

/* Scroll if more results */
#ai-search-results {
  max-height: 300px;
  overflow-y: auto;
}

/* Smooth scrollbar (optional) */
#ai-search-results::-webkit-scrollbar {
  width: 6px;
}

#ai-search-results::-webkit-scrollbar-thumb {
  background: #e2e8f0;
  border-radius: 10px;
}