/* ==========================================================
   TOOLSHUB4U — HOMEPAGE DESIGN LAYER (v3)
   Loaded on index.html only, after main.css.
   Elevates the Aurora system: 2-column hero with a live
   tool-launcher visual, marquee strip, category tiles,
   bento featured grid and refined section polish.
   ========================================================== */

/* ==============================
   1. HERO — split layout + visual
   ============================== */
.hero {
  padding: calc(var(--space-4xl) + 20px) 0 calc(var(--space-4xl) + 8px);
}

.hero__inner {
  max-width: var(--container-max);
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  text-align: left;
}

.hero__title {
  font-size: clamp(1.9rem, 4.6vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -.03em;
  margin-bottom: var(--space-md);
}

.hero__subtitle {
  max-width: 560px;
  margin: 0 0 var(--space-2xl);
  font-size: var(--font-size-lg);
}

.hero__search {
  max-width: 560px;
  margin: 0 0 var(--space-lg);
}

/* Search bar — bigger, brighter, more tactile */
.search-box {
  padding: 7px 7px 7px 24px;
  background: rgba(10, 16, 30, .78);
  border: 1.5px solid rgba(255, 255, 255, .2);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.search-box:focus-within {
  border-color: rgba(129, 140, 248, .85);
  box-shadow: 0 0 0 5px rgba(99, 102, 241, .22), 0 20px 56px rgba(0, 0, 0, .5),
              inset 0 1px 0 rgba(255, 255, 255, .1);
}
.search-box__input { padding: 14px 0; font-size: var(--font-size-base); }
.search-box__btn {
  padding: 14px 30px;
  background: linear-gradient(135deg, #6366f1, #a855f7 55%, #22d3ee);
  background-size: 160% 160%;
  animation: homeBtnShimmer 6s ease infinite;
}
.search-box__btn:hover { transform: translateY(-1px) scale(1.02); }

@keyframes homeBtnShimmer {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* Popular tags — refined chips */
.hero__tags { justify-content: flex-start; margin-bottom: var(--space-2xl); }
.hero__tags .tag {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .14);
  backdrop-filter: blur(8px);
}
.hero__tags .tag:hover {
  background: rgba(99, 102, 241, .28);
  border-color: var(--primary-light);
  box-shadow: 0 4px 18px rgba(99, 102, 241, .35);
}

/* Stats — glass band instead of floating numbers */
.hero__stats {
  justify-content: flex-start;
  gap: 0;
  max-width: 560px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-xl);
  padding: 18px 12px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .3);
}
.hero__stat { flex: 1; padding: 0 18px; }
.hero__stat-number { font-size: var(--font-size-2xl); }
.hero__stats .hero__stat + .hero__stat {
  border-left: 1px solid rgba(255, 255, 255, .12);
  padding-left: 18px;
}
.hero__stat-label {
  color: rgba(255, 255, 255, .55);
  font-weight: 500;
  letter-spacing: .02em;
}

/* ==============================
   HERO VISUAL — tool launcher
   ============================== */
.hero__visual {
  position: relative;
  z-index: 2;
  perspective: 1400px;
}

.launcher {
  background: linear-gradient(160deg, rgba(20, 30, 54, .92), rgba(10, 16, 30, .94));
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .04) inset,
              0 0 60px rgba(99, 102, 241, .14);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  animation: launcherIn .8s cubic-bezier(.2, .8, .25, 1) .15s both;
  transform: rotateY(-4deg) rotateX(2deg);
}
.launcher:hover { transform: rotateY(0) rotateX(0); transition: transform .6s cubic-bezier(.2, .8, .25, 1); }

@keyframes launcherIn {
  from { opacity: 0; transform: rotateY(-14deg) rotateX(6deg) translateY(30px); }
  to   { opacity: 1; transform: rotateY(-4deg) rotateX(2deg) translateY(0); }
}

.launcher__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.launcher__dots { display: flex; gap: 6px; }
.launcher__dots i {
  width: 10px; height: 10px; border-radius: 50%;
  background: #f87171; display: block;
}
.launcher__dots i:nth-child(2) { background: #fbbf24; }
.launcher__dots i:nth-child(3) { background: #34d399; }
.launcher__title {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: rgba(255, 255, 255, .85);
  letter-spacing: .02em;
}

/* Quick tool tiles inside the launcher */
.launcher__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.launcher__tool {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 8px 12px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 16px;
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: rgba(255, 255, 255, .8);
  transition: all var(--transition-slow);
}
.launcher__tool span {
  font-size: 1.45rem;
  filter: drop-shadow(0 4px 10px rgba(99, 102, 241, .35));
  transition: transform var(--transition-slow);
}
.launcher__tool:hover {
  background: rgba(99, 102, 241, .18);
  border-color: rgba(129, 140, 248, .5);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(99, 102, 241, .3);
}
.launcher__tool:hover span { transform: scale(1.15) rotate(-6deg); }

/* Live "results" feed inside the launcher */
.launcher__results { display: flex; flex-direction: column; gap: 8px; }
.launcher__result {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
  transition: background var(--transition);
}
.launcher__result > span { font-size: 1.2rem; flex-shrink: 0; }
.launcher__result div { flex: 1; min-width: 0; }
.launcher__result strong {
  display: block;
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: rgba(255, 255, 255, .9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.launcher__result i {
  font-style: normal;
  font-size: .72rem;
  color: rgba(255, 255, 255, .45);
}
.launcher__result em {
  font-style: normal;
  font-size: .8rem;
  color: #34d399;
  font-weight: 800;
  flex-shrink: 0;
}

/* Floating trust chips */
.hero__float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(15, 23, 42, .82);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: #fff;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .45);
  animation: floatBob 5s ease-in-out infinite;
  white-space: nowrap;
  z-index: 3;
}
.hero__float--1 { top: -18px; left: -34px; animation-delay: 0s; }
.hero__float--2 { bottom: 84px; right: -26px; animation-delay: -1.6s; }
.hero__float--3 { bottom: -20px; left: 12%; animation-delay: -3.2s; }
.hero__float--1::before, .hero__float--2::before, .hero__float--3::before {
  content: '';
  width: 8px; height: 8px; border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 10px #34d399;
}

@keyframes floatBob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* ==============================
   3. CATEGORY TILES
   (Marquee component lives in assets/css/marquee.css)
   ============================== */
.cat-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-3xl);
}
.cat-tile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow),
              border-color var(--transition-slow);
  isolation: isolate;
}
.cat-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99,102,241,.08), rgba(34,211,238,.06));
  opacity: 0;
  transition: opacity var(--transition-slow);
  z-index: -1;
}
.cat-tile::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity var(--transition-slow);
}
.cat-tile:hover {
  transform: translateY(-4px);
  border-color: var(--primary-100);
  box-shadow: var(--shadow-lg);
}
.cat-tile:hover::before { opacity: 1; }
.cat-tile:hover::after { opacity: 1; }

.cat-tile__icon {
  width: 52px; height: 52px;
  flex-shrink: 0;
  display: grid; place-items: center;
  font-size: 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .1);
  transition: transform var(--transition-slow);
}
.cat-tile:hover .cat-tile__icon { transform: scale(1.1) rotate(-5deg); }

/* Per-category tile icon gradients */
.cat-tile--calc   .cat-tile__icon { background: linear-gradient(135deg, rgba(129,140,248,.32), rgba(99,102,241,.14)); box-shadow: 0 8px 22px rgba(129,140,248,.3), inset 0 1px 0 rgba(255,255,255,.18); }
.cat-tile--text   .cat-tile__icon { background: linear-gradient(135deg, rgba(52,211,153,.3), rgba(16,185,129,.14)); box-shadow: 0 8px 22px rgba(52,211,153,.28), inset 0 1px 0 rgba(255,255,255,.18); }
.cat-tile--pdf    .cat-tile__icon { background: linear-gradient(135deg, rgba(248,113,113,.3), rgba(239,68,68,.14)); box-shadow: 0 8px 22px rgba(248,113,113,.28), inset 0 1px 0 rgba(255,255,255,.18); }
.cat-tile--seo    .cat-tile__icon { background: linear-gradient(135deg, rgba(251,191,36,.3), rgba(245,158,11,.14)); box-shadow: 0 8px 22px rgba(251,191,36,.26), inset 0 1px 0 rgba(255,255,255,.18); }
.cat-tile--dev    .cat-tile__icon { background: linear-gradient(135deg, rgba(34,211,238,.3), rgba(6,182,212,.14)); box-shadow: 0 8px 22px rgba(34,211,238,.28), inset 0 1px 0 rgba(255,255,255,.18); }
.cat-tile--games  .cat-tile__icon { background: linear-gradient(135deg, rgba(244,114,182,.3), rgba(236,72,153,.14)); box-shadow: 0 8px 22px rgba(244,114,182,.28), inset 0 1px 0 rgba(255,255,255,.18); }

.cat-tile__info { min-width: 0; }
.cat-tile__info strong {
  display: block;
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1px;
}
.cat-tile__info span {
  font-size: var(--font-size-xs);
  color: var(--text-tertiary);
  font-weight: 500;
}
.cat-tile__arrow {
  margin-left: auto;
  flex-shrink: 0;
  font-size: var(--font-size-lg);
  font-weight: 800;
  color: var(--primary-light);
  opacity: 0;
  transform: translateX(-8px);
  transition: all var(--transition-slow);
}
.cat-tile:hover .cat-tile__arrow { opacity: 1; transform: translateX(0); }

/* ==============================
   4. TABS — segmented pill control
   ============================== */
.category-tabs {
  gap: 6px;
  padding: 6px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-3xl);
  max-width: 100%;
}
.category-tab {
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  font-weight: 600;
}
.category-tab:hover { background: var(--surface); transform: none; }
.category-tab--active {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 6px 20px rgba(99, 102, 241, .4);
  transform: translateY(-1px);
}

/* ==============================
   5. TOOL CARDS — premium polish
   ============================== */
.tools-grid { gap: var(--space-lg); }
.tool-card {
  border-radius: 20px;
  padding: 22px;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
}
.tool-card__icon {
  width: 58px; height: 58px;
  font-size: 1.7rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .14);
}
[data-category="calculators"] .tool-card__icon { background: linear-gradient(135deg, rgba(129,140,248,.3), rgba(99,102,241,.12)); color: #a5b4fc; box-shadow: 0 10px 26px rgba(129,140,248,.28), inset 0 1px 0 rgba(255,255,255,.16); }
[data-category="text"] .tool-card__icon { background: linear-gradient(135deg, rgba(52,211,153,.28), rgba(16,185,129,.1)); color: #6ee7b7; box-shadow: 0 10px 26px rgba(52,211,153,.26), inset 0 1px 0 rgba(255,255,255,.16); }
[data-category="pdf"] .tool-card__icon { background: linear-gradient(135deg, rgba(248,113,113,.28), rgba(239,68,68,.1)); color: #fca5a5; box-shadow: 0 10px 26px rgba(248,113,113,.26), inset 0 1px 0 rgba(255,255,255,.16); }
[data-category="seo"] .tool-card__icon { background: linear-gradient(135deg, rgba(251,191,36,.28), rgba(245,158,11,.1)); color: #fcd34d; box-shadow: 0 10px 26px rgba(251,191,36,.24), inset 0 1px 0 rgba(255,255,255,.16); }
[data-category="developer"] .tool-card__icon { background: linear-gradient(135deg, rgba(34,211,238,.28), rgba(6,182,212,.1)); color: #67e8f9; box-shadow: 0 10px 26px rgba(34,211,238,.26), inset 0 1px 0 rgba(255,255,255,.16); }
[data-category="games"] .tool-card__icon { background: linear-gradient(135deg, rgba(244,114,182,.28), rgba(236,72,153,.1)); color: #f9a8d4; box-shadow: 0 10px 26px rgba(244,114,182,.26), inset 0 1px 0 rgba(255,255,255,.16); }

.tool-card__title { font-size: var(--font-size-base); }
.tool-card__cta {
  border-radius: 12px;
  padding: 10px 20px;
}

/* ==============================
   6. WHY CHOOSE — icon chips
   ============================== */
.glass-card { border-radius: 22px; padding: var(--space-2xl) 24px; }
.glass-card__icon {
  width: 62px; height: 62px;
  margin: 0 auto var(--space-md);
  display: grid; place-items: center;
  font-size: 1.75rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(99,102,241,.26), rgba(168,85,247,.14));
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 12px 30px rgba(99, 102, 241, .22), inset 0 1px 0 rgba(255, 255, 255, .18);
  transition: transform var(--transition-slow);
}
.glass-card:hover .glass-card__icon { transform: scale(1.1) rotate(-6deg); }
.glass-card__title { font-size: var(--font-size-lg); }

/* ==============================
   7. FEATURED — bento grid
   ============================== */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
.featured-card {
  border-radius: 22px;
  padding: 24px;
  justify-content: flex-start;
}
.featured-card__icon {
  width: 58px; height: 58px;
  display: grid; place-items: center;
  font-size: 1.7rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .14);
  transition: transform var(--transition-slow);
  position: relative;
  z-index: 1;
}
.featured-card:hover .featured-card__icon { transform: scale(1.1) rotate(-5deg); }
.featured-card__title { font-size: var(--font-size-lg); position: relative; z-index: 1; }
.featured-card__desc { position: relative; z-index: 1; }
.featured-card__cta {
  color: var(--primary-light);
  font-size: var(--font-size-sm);
  position: relative;
  z-index: 1;
}

/* Per-tool icon colors */
.featured-card--indigo .featured-card__icon { background: linear-gradient(135deg, rgba(129,140,248,.32), rgba(99,102,241,.12)); color: #a5b4fc; box-shadow: 0 10px 26px rgba(129,140,248,.28), inset 0 1px 0 rgba(255,255,255,.16); }
.featured-card--emerald .featured-card__icon { background: linear-gradient(135deg, rgba(52,211,153,.3), rgba(16,185,129,.1)); color: #6ee7b7; box-shadow: 0 10px 26px rgba(52,211,153,.26), inset 0 1px 0 rgba(255,255,255,.16); }
.featured-card--rose .featured-card__icon { background: linear-gradient(135deg, rgba(248,113,113,.3), rgba(239,68,68,.1)); color: #fca5a5; box-shadow: 0 10px 26px rgba(248,113,113,.26), inset 0 1px 0 rgba(255,255,255,.16); }
.featured-card--amber .featured-card__icon { background: linear-gradient(135deg, rgba(251,191,36,.3), rgba(245,158,11,.1)); color: #fcd34d; box-shadow: 0 10px 26px rgba(251,191,36,.24), inset 0 1px 0 rgba(255,255,255,.16); }
.featured-card--cyan .featured-card__icon { background: linear-gradient(135deg, rgba(34,211,238,.3), rgba(6,182,212,.1)); color: #67e8f9; box-shadow: 0 10px 26px rgba(34,211,238,.26), inset 0 1px 0 rgba(255,255,255,.16); }

/* Hero card of the bento — spans 2 columns with a gradient wash */
.featured-card--wide {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  gap: 26px;
  background: linear-gradient(120deg, rgba(99,102,241,.16), rgba(52,211,153,.07) 55%, rgba(34,211,238,.09)), var(--surface);
}
.featured-card--wide:hover { background: linear-gradient(120deg, rgba(99,102,241,.22), rgba(52,211,153,.1) 55%, rgba(34,211,238,.13)), var(--surface-2); }
.featured-card--wide .featured-card__icon {
  width: 84px; height: 84px;
  font-size: 2.4rem;
  border-radius: 24px;
  flex-shrink: 0;
  margin-bottom: 0;
}
.featured-card--wide .featured-card__body { display: flex; flex-direction: column; align-items: flex-start; }
.featured-card--wide .featured-card__desc { max-width: 420px; }

/* Mini feature chips inside the wide card */
.featured-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  position: relative;
  z-index: 1;
}
.featured-card__chips span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  font-size: .72rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
}

/* ==============================
   8. HOW IT WORKS
   ============================== */
.step { padding: var(--space-xl) var(--space-md); }
.step__number {
  width: 46px; height: 46px;
  font-size: var(--font-size-base);
  box-shadow: 0 0 0 7px rgba(99, 102, 241, .12), 0 10px 26px rgba(99, 102, 241, .35);
  margin-bottom: var(--space-md);
}
.step__connector {
  margin-top: 98px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), transparent);
  position: relative;
}
.step__connector::after {
  content: '';
  position: absolute;
  top: 50%; right: -2px;
  width: 7px; height: 7px;
  border-top: 2px solid var(--secondary);
  border-right: 2px solid var(--secondary);
  transform: translateY(-50%) rotate(45deg);
}

/* ==============================
   9. TESTIMONIALS
   ============================== */
.testimonial-card { border-radius: 22px; }
.testimonial-card__avatar {
  outline: 2px solid rgba(129, 140, 248, .35);
  outline-offset: 3px;
  box-shadow: 0 8px 24px rgba(99, 102, 241, .35);
}
.testimonial-card__stars { font-size: 1.05rem; }
.testimonial-card__text { font-size: var(--font-size-base); }

/* ==============================
   10. CTA
   ============================== */
.cta__inner { border-radius: 30px; }
.cta__title { font-size: clamp(1.9rem, 4.2vw, 2.6rem); }
.cta__buttons .btn { padding: 15px 34px; font-size: var(--font-size-base); border-radius: var(--radius-lg); }

/* ==============================
   11. LIGHT THEME overrides
   (Hero, CTA, footer stay dark — banner pattern)
   ============================== */
[data-theme="light"] .category-tabs { background: var(--bg-secondary); }
[data-theme="light"] .category-tab:hover { background: #fff; }
[data-theme="light"] .cat-tile__icon,
[data-theme="light"] .tool-card__icon,
[data-theme="light"] .featured-card__icon,
[data-theme="light"] .glass-card__icon { border-color: rgba(15, 23, 42, .08); }
[data-theme="light"] .featured-card--wide {
  background: linear-gradient(120deg, rgba(99,102,241,.12), rgba(52,211,153,.06) 55%, rgba(34,211,238,.08)), #fff;
}
[data-theme="light"] .featured-card--wide:hover {
  background: linear-gradient(120deg, rgba(99,102,241,.18), rgba(52,211,153,.09) 55%, rgba(34,211,238,.11)), #f7f9fd;
}

/* ==============================
   12. RESPONSIVE
   ============================== */
@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: 1fr; gap: 56px; text-align: center; }
  .hero__subtitle, .hero__search, .hero__tags, .hero__stats { margin-left: auto; margin-right: auto; }
  .hero__tags { justify-content: center; }
  .hero__visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .hero__float--1 { left: -20px; }
  .hero__float--2 { right: -14px; }
  .cat-tiles { grid-template-columns: repeat(2, 1fr); }
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-card--wide { grid-column: span 2; }
}

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

@media (max-width: 768px) {
  .hero { padding: calc(var(--space-3xl) + 8px) 0 var(--space-3xl); }
  .hero__title { font-size: clamp(1.75rem, 6.5vw, 2.4rem); }
  .hero__stats { flex-wrap: wrap; justify-content: center; gap: 12px 0; }
  .hero__stats .hero__stat { flex: 1 1 40%; padding: 8px 12px; }
  .hero__float { display: none; }
  .launcher { transform: none; animation: launcherIn .8s cubic-bezier(.2, .8, .25, 1) .15s both; }
  .launcher:hover { transform: none; }
  .featured-card--wide { flex-direction: column; align-items: flex-start; }
  .featured-card--wide .featured-card__icon { margin-bottom: 0; }
  .category-tabs { border-radius: var(--radius-xl); }
  .section__header { margin-bottom: var(--space-2xl); }
}

@media (max-width: 560px) {
  .cat-tiles { grid-template-columns: 1fr; }
  .featured-grid { grid-template-columns: 1fr; }
  .featured-card--wide { grid-column: span 1; }
  .launcher__grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .launcher__tool { padding: 11px 4px 9px; font-size: .68rem; }
  .search-box { padding: 5px 5px 5px 16px; }
  .search-box__btn { padding: 12px 18px; font-size: var(--font-size-xs); }
  .hero__stats .hero__stat { flex: 1 1 100%; border-left: none !important; padding-left: 12px !important; }
}

/* ==============================
   13. REDUCED MOTION
   ============================== */
@media (prefers-reduced-motion: reduce) {
  .hero__float { animation: none; }
  .launcher { animation: none; transform: none; }
  .search-box__btn { animation: none; }
}

/* ==============================
   14. WHAT'S NEW
   ============================== */
.whats-new__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.whats-new__card {
  position: relative;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  border-radius: 20px;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  overflow: hidden;
  text-decoration: none;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.whats-new__card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity var(--transition);
}
.whats-new__card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
}
.whats-new__card:hover::before { opacity: 1; }
.whats-new__icon {
  flex: 0 0 auto;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  font-size: 1.45rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .14);
  transition: transform var(--transition-slow);
}
.whats-new__card:hover .whats-new__icon { transform: scale(1.08) rotate(-4deg); }
.whats-new__body { min-width: 0; }
.whats-new__meta {
  display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.whats-new__cat {
  font-size: .68rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  color: var(--text-tertiary);
  background: var(--surface-hover);
  border: 1px solid var(--border-light);
}
.whats-new__meta time {
  font-size: .72rem;
  color: var(--text-tertiary);
}
.whats-new__title {
  font-size: 1.02rem; font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 6px;
}
.whats-new__desc {
  font-size: .83rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
}
.whats-new__arrow {
  flex: 0 0 auto;
  align-self: center;
  font-size: 1.05rem;
  color: var(--text-tertiary);
  transition: transform var(--transition), color var(--transition);
}
.whats-new__card:hover .whats-new__arrow {
  transform: translateX(3px);
  color: var(--primary);
}

/* per-category gradient chips (mirrors the tool-card palette) */
.whats-new__card--indigo .whats-new__icon { background: linear-gradient(135deg, rgba(129,140,248,.32), rgba(99,102,241,.12)); color: #a5b4fc; box-shadow: 0 10px 26px rgba(129,140,248,.28), inset 0 1px 0 rgba(255,255,255,.16); }
.whats-new__card--emerald .whats-new__icon { background: linear-gradient(135deg, rgba(52,211,153,.3), rgba(16,185,129,.1)); color: #6ee7b7; box-shadow: 0 10px 26px rgba(52,211,153,.26), inset 0 1px 0 rgba(255,255,255,.16); }
.whats-new__card--rose .whats-new__icon { background: linear-gradient(135deg, rgba(248,113,113,.3), rgba(239,68,68,.1)); color: #fca5a5; box-shadow: 0 10px 26px rgba(248,113,113,.26), inset 0 1px 0 rgba(255,255,255,.16); }
.whats-new__card--amber .whats-new__icon { background: linear-gradient(135deg, rgba(251,191,36,.3), rgba(245,158,11,.1)); color: #fcd34d; box-shadow: 0 10px 26px rgba(251,191,36,.24), inset 0 1px 0 rgba(255,255,255,.16); }
.whats-new__card--cyan .whats-new__icon { background: linear-gradient(135deg, rgba(34,211,238,.3), rgba(6,182,212,.1)); color: #67e8f9; box-shadow: 0 10px 26px rgba(34,211,238,.26), inset 0 1px 0 rgba(255,255,255,.16); }
.whats-new__card--pink .whats-new__icon { background: linear-gradient(135deg, rgba(244,114,182,.3), rgba(236,72,153,.1)); color: #f9a8d4; box-shadow: 0 10px 26px rgba(244,114,182,.26), inset 0 1px 0 rgba(255,255,255,.16); }

/* light theme */
[data-theme="light"] .whats-new__card { background: linear-gradient(160deg, #ffffff, #f6f8fc); border-color: #e4e9f2; }
[data-theme="light"] .whats-new__card:hover { border-color: #c9d4e6; box-shadow: 0 16px 36px rgba(15, 23, 42, .08); }
[data-theme="light"] .whats-new__cat { color: #64748b; background: #eef2f8; border-color: #e2e8f0; }
[data-theme="light"] .whats-new__title { color: #0f172a; }
[data-theme="light"] .whats-new__desc, [data-theme="light"] .whats-new__meta time { color: #64748b; }
[data-theme="light"] .whats-new__icon { border-color: rgba(15, 23, 42, .08); }

/* responsive */
@media (max-width: 1024px) {
  .whats-new__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .whats-new__grid { grid-template-columns: 1fr; }
}
