/* ════════════════════════════════════════════════════════════════
   home.css — Rentora Home Page
   ════════════════════════════════════════════════════════════════ */

/* ── Shared section helpers ─────────────────────────────────── */
.sec-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  margin-bottom: 14px;
}
.sec-badge--teal  { background: #ccfbf1; color: #0d6359; }
.sec-badge--amber { background: #fef3c7; color: #b45309; }


.sec-title {
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 800;
  color: var(--clr-text);
  letter-spacing: -0.6px;
  line-height: 1.2;
  margin-bottom: 10px;
}
.sec-sub { font-size: 15px; color: var(--clr-text-2); line-height: 1.65; }
.sec-hd  { margin-bottom: 48px; }
.sec-hd--center { text-align: center; }

.section-header { margin-bottom: 48px; }

/* ════════════════════════════════════════════════════════════════
   1. HERO  —  background photo + smart overlay + modern elements
   ════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #080f1a url('/static/images/hero-bg.jpg') center / cover no-repeat;
  background-attachment: fixed;
}

/* Layer 1 — Photo taming overlay (single, solid-ish dark coat) */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 12, 22, 0.68);
  z-index: 0;
}

/* Layer 2 — Ambient colour blobs (float on top of overlay) */
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 1;
}
.hero__blob--teal {
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(15,118,110,.40) 0%, transparent 70%);
  top: -160px; right: -100px;
  animation: blobDrift 13s ease-in-out infinite alternate;
}
.hero__blob--blue {
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(37,99,235,.28) 0%, transparent 70%);
  bottom: -100px; left: -60px;
  animation: blobDrift 16s ease-in-out infinite alternate-reverse;
}
.hero__blob--amber {
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(245,158,11,.16) 0%, transparent 70%);
  top: 50%; left: 42%;
  animation: blobDrift 20s ease-in-out infinite alternate;
}
@keyframes blobDrift {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(36px, 28px) scale(1.07); }
}

/* Layer 3 — Subtle grid texture */
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  z-index: 1;
}

/* Layer 4 — Content */
.hero__copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: calc(var(--header-h) + 56px) 20px 96px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Eyebrow pill */
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  color: #a7f3d0;
  font-size: 12.5px;
  font-weight: 500;
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
  width: fit-content;
}
.hero__eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 7px #34d399;
  flex-shrink: 0;
  animation: dot-pulse 2.2s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.55; transform:scale(.75); }
}

/* Headline */
.hero__h1 {
  font-size: clamp(36px, 5.5vw, 60px);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -1.8px;
  margin-bottom: 22px;
  text-shadow: 0 2px 24px rgba(0,0,0,.35);
}
.hero__h1-grad {
  background: linear-gradient(90deg, #34d399 0%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Lead paragraph */
.hero__lead {
  font-size: 16.5px;
  color: rgba(255,255,255,.70);
  line-height: 1.75;
  max-width: 530px;
  margin-bottom: 44px;
  text-shadow: 0 1px 8px rgba(0,0,0,.3);
}

/* Search bar */
.hero__search {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.95);
  border-radius: 999px;
  padding: 6px 6px 6px 20px;
  box-shadow: 0 24px 64px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.12);
  width: 100%;
  max-width: 580px;
  gap: 8px;
  margin-bottom: 32px;
  backdrop-filter: blur(14px);
}
.hero__search-icon  { color: #94a3b8; font-size: 14px; flex-shrink: 0; }
.hero__search input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font);
  font-size: 14px;
  color: #0f172a;
  background: transparent;
  min-width: 0;
}
.hero__search input::placeholder { color: #94a3b8; }
#heroSearchBtn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  background: linear-gradient(135deg, #0f766e 0%, #0284c7 100%);
  border: none;
  border-radius: 999px;
  color: #fff;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 4px 18px rgba(15,118,110,.45);
}
#heroSearchBtn:hover { opacity: .92; transform: scale(1.03); }
.hero__search-btn--loading { opacity: .75 !important; pointer-events: none; animation: ai-pulse 1.2s infinite; }
@keyframes ai-pulse {
  0%,100% { box-shadow: 0 4px 18px rgba(15,118,110,.35); }
  50%      { box-shadow: 0 8px 30px rgba(15,118,110,.75); }
}

/* Trust strip */
.hero__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,.68);
  font-size: 13px;
  font-weight: 500;
}
.hero__trust-item i { color: #34d399; font-size: 12px; }
.hero__trust-sep {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,.22);
}

/* Scroll cue */
.hero__scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero__scroll-hint span {
  display: block;
  width: 22px; height: 36px;
  border: 2px solid rgba(255,255,255,.22);
  border-radius: 11px;
  position: relative;
}
.hero__scroll-hint span::before {
  content: '';
  position: absolute;
  top: 5px; left: 50%;
  transform: translateX(-50%);
  width: 3px; height: 7px;
  border-radius: 2px;
  background: rgba(255,255,255,.5);
  animation: scroll-cue 2s ease-in-out infinite;
}
@keyframes scroll-cue {
  0%   { top: 5px;  opacity: 1; }
  80%  { top: 18px; opacity: 0; }
  100% { top: 5px;  opacity: 0; }
}

/* ════════════════════════════════════════════════════════════════
   2. CATEGORIES  —  tall cards (original design, restored)
   ════════════════════════════════════════════════════════════════ */
.cat-section {
  padding: 80px 0;
  background: var(--clr-page-bg);
}
.cat-section .section-header,
.cat-section .sec-hd { margin-bottom: 48px; }

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

.cat-card {
  text-decoration: none;
  border-radius: 20px;
  overflow: hidden;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  display: flex;
  flex-direction: column;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.cat-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0,0,0,.12); }

/* Gradient visual area */
.cat-card__visual {
  padding: 40px 24px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.cat-card:nth-child(4n+1) .cat-card__visual { background: linear-gradient(145deg,#f0fdfa,#99f6e4); }
.cat-card:nth-child(4n+2) .cat-card__visual { background: linear-gradient(145deg,#fffbeb,#fde68a); }
.cat-card:nth-child(4n+3) .cat-card__visual { background: linear-gradient(145deg,#eff6ff,#bfdbfe); }
.cat-card:nth-child(4n+0) .cat-card__visual { background: linear-gradient(145deg,#fdf4ff,#e9d5ff); }

/* Decorative circle */
.cat-card__visual::after {
  content: "";
  position: absolute;
  width: 100px; height: 100px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  bottom: -28px; right: -20px;
  transition: transform .35s var(--ease);
}
.cat-card:hover .cat-card__visual::after { transform: scale(1.6); }

/* Icon box */
.cat-card__icon {
  width: 68px; height: 68px;
  border-radius: 18px;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  position: relative; z-index: 1;
  transition: transform .28s var(--ease);
}
.cat-card:hover .cat-card__icon { transform: scale(1.12) rotate(-6deg); }

.cat-card:nth-child(4n+1) .cat-card__icon { color: var(--clr-brand-dark); }
.cat-card:nth-child(4n+2) .cat-card__icon { color: #d97706; }
.cat-card:nth-child(4n+3) .cat-card__icon { color: #2563eb; }
.cat-card:nth-child(4n+0) .cat-card__icon { color: #7c3aed; }

/* Label strip */
.cat-card__body {
  padding: 14px 20px 16px;
  border-top: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.cat-card__name { font-size: 13.5px; font-weight: 700; color: var(--clr-text); line-height: 1.3; }
.cat-card__cta {
  font-size: 11.5px; font-weight: 600; color: var(--clr-muted);
  display: flex; align-items: center; gap: 4px;
  white-space: nowrap;
  transition: color .22s var(--ease), gap .22s var(--ease);
}
.cat-card__cta i { font-size: 10px; transition: transform .22s var(--ease); }
.cat-card:hover .cat-card__cta { color: var(--clr-brand); gap: 7px; }
.cat-card:hover .cat-card__cta i { transform: translateX(3px); }

.cat-empty { grid-column: 1/-1; text-align: center; padding: 40px; color: var(--clr-muted); font-size: 14px; }
.cat-empty i { font-size: 36px; margin-bottom: 12px; display: block; color: var(--clr-border); }

/* ════════════════════════════════════════════════════════════════
   3. STATS
   ════════════════════════════════════════════════════════════════ */
.stats-section {
  position: relative;
  padding: 72px 0;
  background: linear-gradient(135deg, #0d1b2a 0%, #0f2535 50%, #0a1e1a 100%);
  overflow: hidden;
}
.stats-section__pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.stats-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 28px 32px;
  border-right: 1px solid rgba(255,255,255,.08);
}
.stat-item:last-child { border-right: none; }

.stat-item__icon {
  width: 54px; height: 54px;
  border-radius: 16px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  color: #34d399;
  flex-shrink: 0;
}

.stat-item__val {
  display: block;
  font-size: clamp(30px, 3.5vw, 42px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1.5px;
  background: linear-gradient(135deg, #fff 40%, #a7f3d0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.stat-item__lbl {
  font-size: 13px;
  color: rgba(255,255,255,.52);
  font-weight: 500;
}

/* ════════════════════════════════════════════════════════════════
   4. FEATURED TOOLS
   ════════════════════════════════════════════════════════════════ */
.featured-section { padding: 96px 0 80px; background: var(--clr-surface); }

.featured-hd {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 16px;
}
.featured-hd__left { display: flex; flex-direction: column; gap: 4px; }

.view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--clr-brand);
  text-decoration: none;
  padding: 8px 18px;
  border: 1.5px solid #ccfbf1;
  border-radius: 999px;
  transition: background .18s, border-color .18s, gap .18s;
  flex-shrink: 0;
  white-space: nowrap;
}
.view-all:hover { background: #f0fdfa; border-color: var(--clr-brand); gap: 10px; }

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tool-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid #edf2f7;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
.tool-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(0,0,0,.12);
  border-color: #c7f7ef;
}

.tool-card__media {
  position: relative;
  aspect-ratio: 16/11;
  background: #e8edf3;
  overflow: hidden;
}
.tool-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.tool-card:hover .tool-card__img { transform: scale(1.06); }
.tool-card__ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg,#e2e8f0,#cbd5e1);
  color: #94a3b8; font-size: 40px;
}

.tool-card__cond {
  position: absolute;
  top: 12px; left: 12px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 11px; font-weight: 700;
  text-transform: capitalize; letter-spacing: .3px;
}
.tool-card__cond--excellent { background: #f59e0b; color: #fff; }
.tool-card__cond--good      { background: #0f766e; color: #fff; }
.tool-card__cond--fair      { background: #64748b; color: #fff; }

.tool-card__fav {
  position: absolute;
  top: 10px; right: 10px;
  width: 34px; height: 34px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: #94a3b8;
  border: none; cursor: pointer;
  transition: color .18s, background .18s;
}
.tool-card__fav:hover { color: #ef4444; background: #fff; }
.tool-card__fav--on   { color: #ef4444 !important; }

.tool-card__price {
  position: absolute;
  bottom: 12px; right: 12px;
  background: rgba(8,15,26,.72);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 13px; font-weight: 800;
}
.tool-card__price span { font-weight: 400; font-size: 11px; opacity: .8; }

.tool-card__body { padding: 18px; flex: 1; display: flex; flex-direction: column; gap: 10px; }

.tool-card__meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tool-card__cat  { display: inline-block; padding: 2px 10px; background: #f0fdfa; color: #0f766e; border-radius: 999px; font-size: 11px; font-weight: 700; }
.tool-card__loc  { font-size: 12px; color: #94a3b8; display: flex; align-items: center; gap: 3px; }
.tool-card__loc i { font-size: 10px; }

.tool-card__title {
  font-size: 15px; font-weight: 700; color: #1e293b; line-height: 1.35; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.tool-card__rating { display: flex; align-items: center; gap: 3px; font-size: 12.5px; color: #f59e0b; }
.tool-card__rating span { color: #64748b; margin-left: 2px; }

.tool-card__foot {
  display: flex; align-items: center; gap: 8px;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
  margin-top: auto;
}
.tool-card__avi { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.tool-card__avi--init { background: #ccfbf1; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: #0f766e; }
.tool-card__owner  { font-size: 12.5px; color: #64748b; font-weight: 500; }
.tool-card__vbadge { color: #2563eb; font-size: 13px; margin-left: auto; }

.tools-empty { grid-column: 1/-1; text-align: center; padding: 64px 24px; color: #94a3b8; }
.tools-empty i { font-size: 48px; display: block; margin-bottom: 16px; color: #e2e8f0; }
.tools-empty p  { font-size: 15px; margin-bottom: 24px; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 24px;
  border: 1.5px solid var(--clr-brand);
  border-radius: 999px;
  color: var(--clr-brand);
  font-size: 14px; font-weight: 600;
  text-decoration: none;
  transition: background .18s;
}
.btn-outline:hover { background: #f0fdfa; }

/* ════════════════════════════════════════════════════════════════
   5. HOW IT WORKS
   ════════════════════════════════════════════════════════════════ */
.how-section { padding: 100px 0; background: var(--clr-page-bg); }

.steps-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0 24px;
}

.steps-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  font-size: 20px;
  padding-top: 80px;
}

.step-card {
  background: var(--clr-surface);
  border: 1.5px solid var(--clr-border);
  border-radius: 24px;
  padding: 36px 28px 32px;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,.05);
}
.step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 56px rgba(0,0,0,.1);
  border-color: var(--clr-brand);
}

.step-card__num {
  display: block;
  font-size: 72px; font-weight: 900;
  color: #f1f5f9; line-height: 1;
  position: absolute; bottom: -8px; right: 16px;
  letter-spacing: -3px;
  pointer-events: none; user-select: none;
  transition: color .25s;
}
.step-card:hover .step-card__num { color: #e0f2fe; }

.step-card__icon {
  width: 60px; height: 60px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  transition: transform .25s ease;
}
.step-card:hover .step-card__icon { transform: scale(1.1) rotate(-5deg); }

.step-card__icon--teal   { background: #f0fdfa; color: #0f766e; }
.step-card__icon--amber  { background: #fefce8; color: #d97706; }
.step-card__icon--purple { background: #fdf4ff; color: #7c3aed; }

.step-card__title { font-size: 18px; font-weight: 700; color: #1e293b; margin: 0 0 10px; letter-spacing: -.3px; }
.step-card__desc  { font-size: 14px; color: #64748b; line-height: 1.72; margin: 0; position: relative; z-index: 1; }

/* ════════════════════════════════════════════════════════════════
   6. CTA  —  dark gradient section, button matches header exactly
   ════════════════════════════════════════════════════════════════ */
.cta-section {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(135deg, #080f1a 0%, #0c1f3a 40%, #062019 100%);
  overflow: hidden;
  text-align: center;
}

.cta-section__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.cta-section__blob--1 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(15,118,110,.32) 0%, transparent 70%);
  top: -100px; left: -80px;
}
.cta-section__blob--2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(37,99,235,.22) 0%, transparent 70%);
  bottom: -80px; right: -60px;
}

.cta-section__body { position: relative; z-index: 1; }

.cta-section__icon {
  width: 76px; height: 76px;
  border-radius: 22px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; color: #34d399;
  margin: 0 auto 28px;
  backdrop-filter: blur(8px);
}

.cta-section__title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 16px;
  line-height: 1.15;
}

.cta-section__sub {
  font-size: 16px;
  color: rgba(255,255,255,.62);
  line-height: 1.7;
  max-width: 500px;
  margin: 0 auto 40px;
}

.cta-section__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Primary CTA: inherits header .btn-list-tool — override only size */
.cta-btn--list {
  padding: 13px 28px !important;
  font-size: 15px !important;
  box-shadow: 0 4px 18px rgba(13,148,136,.35) !important;
}
.cta-btn--list:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(13,148,136,.55) !important;
}

/* Ghost secondary button */
.cta-btn--ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  background: rgba(255,255,255,.07);
  border: 1.5px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.88);
  backdrop-filter: blur(8px);
  transition: background .2s;
}
.cta-btn--ghost:hover { background: rgba(255,255,255,.13); }

/* ════════════════════════════════════════════════════════════════
   6. TESTIMONIALS
   ════════════════════════════════════════════════════════════════ */
.reviews-section {
  padding: 96px 0;
  background: var(--clr-surface);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--clr-page-bg);
  border: 1.5px solid var(--clr-border);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,.09);
  border-color: #a7f3d0;
}

.review-card--featured {
  background: linear-gradient(145deg, #f0fdfa 0%, #fff 100%);
  border-color: #99f6e4;
  box-shadow: 0 8px 32px rgba(15,118,110,.10);
}

.review-card__stars {
  display: flex;
  gap: 3px;
  color: #f59e0b;
  font-size: 14px;
}

.review-card__quote {
  font-size: 14.5px;
  color: #475569;
  line-height: 1.75;
  flex: 1;
  font-style: italic;
  position: relative;
}

.review-card__quote::before {
  content: '\201C';
  font-size: 52px;
  line-height: 0;
  color: #ccfbf1;
  font-style: normal;
  font-weight: 900;
  position: absolute;
  top: 14px;
  left: -6px;
  font-family: Georgia, serif;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--clr-border);
  text-decoration: none;
  transition: opacity .2s;
}
.review-card__author:hover { opacity: .78; }

.review-card__avi {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.review-card__name {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
}

.review-card__role {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 2px;
}

.review-card__avi--img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.review-card__tool {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #94a3b8;
  padding-top: 10px;
  border-top: 1px solid var(--clr-border);
  margin-top: -4px;
}

.review-card__tool i { font-size: 11px; color: #0f766e; }

.review-card__tool a {
  color: #0f766e;
  text-decoration: none;
  font-weight: 500;
}

.review-card__tool a:hover { text-decoration: underline; }

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .cat-grid    { grid-template-columns: repeat(3, 1fr); }
  .tools-grid  { grid-template-columns: repeat(2, 1fr); }
  .steps-row   { grid-template-columns: 1fr; gap: 20px; }
  .steps-connector { padding-top: 0; transform: rotate(90deg); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .review-card--featured { grid-column: span 2; }
}

@media (max-width: 768px) {
  .cat-grid   { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item  { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); padding: 24px 24px; }
  .stat-item:last-child { border-bottom: none; }
  .featured-hd { flex-direction: column; align-items: flex-start; }
  .hero { background-attachment: scroll; }
  .reviews-grid { grid-template-columns: 1fr; }
  .review-card--featured { grid-column: span 1; }
}

@media (max-width: 520px) {
  .cat-grid   { grid-template-columns: repeat(2, 1fr); }
  .tools-grid { grid-template-columns: 1fr; }
  #heroSearchBtn span { display: none; }
  .hero__search { padding: 6px 6px 6px 16px; }
}
