/* ============================================================
   SmallBizReviews — Main Stylesheet
   Color palette, typography, layout, components
   ============================================================ */

/* ── Google Fonts are loaded in HTML ── */

/* ── CSS Custom Properties ── */
:root {
  --bg-primary:    #0f1117;
  --bg-card:       #1a1d27;
  --bg-card-hover: #1e2132;
  --accent:        #4f8cff;
  --accent-glow:   rgba(79, 140, 255, 0.25);
  --accent-hover:  #3a7ae8;
  --green:         #34d399;
  --green-dim:     rgba(52, 211, 153, 0.15);
  --star:          #facc15;
  --star-dim:      rgba(250, 204, 21, 0.18);
  --text-primary:  #f1f5f9;
  --text-secondary:#94a3b8;
  --border:        #2d3348;
  --border-light:  #3a4060;
  --gold:          #f59e0b;
  --gold-glow:     rgba(245, 158, 11, 0.2);

  --font-body:     'Inter', sans-serif;
  --font-head:     'Plus Jakarta Sans', sans-serif;

  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  18px;
  --radius-xl:  24px;
  --radius-full:9999px;

  --shadow-card: 0 4px 24px rgba(0,0,0,0.35);
  --shadow-lift: 0 12px 40px rgba(0,0,0,0.5);
  --transition: 0.22s ease;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }
input, textarea { font-family: var(--font-body); }

/* ── Container ── */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  line-height: 1.2;
  color: var(--text-primary);
}

/* ── Utility ── */
.hide-sm { display: inline; }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-full);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 0 var(--accent-glow);
}
.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 0 20px 4px var(--accent-glow);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-light);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(79,140,255,0.06);
}

.btn-lg {
  padding: 14px 30px;
  font-size: 1rem;
}

/* =============================================
   NAVIGATION
   ============================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 17, 23, 0.7);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: rgba(15, 17, 23, 0.92);
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text-primary);
  flex-shrink: 0;
  letter-spacing: -0.3px;
}
.nav-logo:hover { color: var(--accent); }

.logo-star {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  transition: all var(--transition);
}
.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-search-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--text-secondary);
  border: 1.5px solid var(--border);
  font-size: 0.85rem;
  transition: all var(--transition);
}
.nav-search-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(79,140,255,0.07);
}

/* Mobile toggle */
.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04);
  border: 1.5px solid var(--border);
  z-index: 1010;
}
.nav-mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-mobile-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-mobile-toggle.open span:nth-child(2) { opacity: 0; }
.nav-mobile-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 990;
}

/* =============================================
   STARS
   ============================================= */
.stars { display: inline-flex; gap: 2px; color: var(--star); }
.stars.stars-lg { font-size: 1.35rem; gap: 3px; }
.stars.stars-sm { font-size: 0.85rem; gap: 2px; }

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
  text-align: center;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(79,140,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,140,255,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 0;
}
.hero-bg-grid::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(79,140,255,0.12) 0%, transparent 70%);
}

.hero-bg-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(79,140,255,0.15) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  background: rgba(79,140,255,0.1);
  border: 1px solid rgba(79,140,255,0.3);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 28px;
  letter-spacing: 0.3px;
}
.hero-badge i { color: var(--star); font-size: 0.8rem; }

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -1px;
  margin-bottom: 22px;
  background: linear-gradient(135deg, #f1f5f9 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 42px;
}

/* Hero Search */
.hero-search-wrap { width: 100%; max-width: 640px; margin-bottom: 26px; }

.hero-search-box {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 6px 6px 6px 20px;
  transition: border-color var(--transition), box-shadow var(--transition);
  gap: 10px;
}
.hero-search-box:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
}

.search-icon {
  color: var(--text-secondary);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.hero-search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: var(--font-body);
}
.hero-search-input::placeholder { color: var(--text-secondary); }

.search-btn {
  flex-shrink: 0;
  padding: 10px 24px;
}

/* Category Pills */
.hero-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 50px;
}

.tag-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.cat-pill {
  padding: 6px 16px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: transparent;
  transition: all var(--transition);
  cursor: pointer;
}
.cat-pill:hover,
.cat-pill.active-pill {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.hero-stat-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}
.hero-stat-label {
  font-size: 0.78rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* =============================================
   SECTION HELPERS
   ============================================= */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 28px;
  padding: 8px 20px;
  background: var(--gold-glow);
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: var(--radius-full);
}
.eyebrow-icon { font-size: 1rem; }

.grid-footer {
  margin-top: 48px;
  text-align: center;
}

/* =============================================
   FEATURED BUSINESS SPOTLIGHT
   ============================================= */
.featured-section {
  padding: 90px 0 80px;
  text-align: center;
}

.featured-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 48px 44px;
  text-align: left;
  overflow: hidden;
  border: 1.5px solid transparent;
  background-clip: padding-box;
  box-shadow: var(--shadow-card), 0 0 60px rgba(245,158,11,0.08);
}

/* Animated gradient glow border */
.featured-glow-border {
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-xl) + 2px);
  background: linear-gradient(
    135deg,
    rgba(245,158,11,0.6) 0%,
    rgba(79,140,255,0.6) 25%,
    rgba(245,158,11,0.6) 50%,
    rgba(79,140,255,0.6) 75%,
    rgba(245,158,11,0.6) 100%
  );
  background-size: 300% 300%;
  animation: borderGlow 5s linear infinite;
  z-index: -1;
}
@keyframes borderGlow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Logo */
.featured-logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.featured-logo {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #f59e0b, #d97706);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.5rem;
  color: #fff;
  letter-spacing: -0.5px;
  box-shadow: 0 0 20px rgba(245,158,11,0.4);
  flex-shrink: 0;
  overflow: hidden;
}

/* Real image logo — featured spotlight */
.featured-logo--img {
  background: #0a0a0a;
  padding: 0;
  width: 88px;
  height: 88px;
  border-radius: var(--radius-md);
  box-shadow: 0 0 28px rgba(245,158,11,0.5), 0 0 8px rgba(245,158,11,0.3);
}
.featured-logo--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
}

.featured-badges {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.badge-verified {
  background: rgba(52,211,153,0.12);
  color: var(--green);
  border: 1px solid rgba(52,211,153,0.25);
}
.badge-featured {
  background: rgba(245,158,11,0.12);
  color: var(--gold);
  border: 1px solid rgba(245,158,11,0.25);
}

.featured-biz-name {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.featured-location {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.featured-location i { color: var(--accent); font-size: 0.85rem; }

.featured-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.cat-tag {
  padding: 5px 14px;
  background: rgba(79,140,255,0.1);
  border: 1px solid rgba(79,140,255,0.25);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
}

.featured-rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.rating-score {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text-primary);
}
.rating-out {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-right: 2px;
}
.review-count {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.featured-description {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 28px;
}

/* Featured Stats Row */
.featured-stats-row {
  display: flex;
  gap: 0;
  margin-bottom: 32px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.fstat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 8px;
  gap: 4px;
}
.fstat + .fstat { border-left: 1px solid var(--border); }
.fstat-value {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-primary);
}
.fstat-value.green { color: var(--green); }
.fstat-label {
  font-size: 0.72rem;
  color: var(--text-secondary);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.featured-cta { align-self: flex-start; }

/* Featured Right — Review Card */
.featured-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.featured-review-card {
  background: rgba(255,255,255,0.03);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 28px 22px;
  position: relative;
  overflow: hidden;
}
.featured-review-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  right: 20px;
  font-family: Georgia, serif;
  font-size: 100px;
  color: rgba(79,140,255,0.07);
  line-height: 1;
  pointer-events: none;
}

.frc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.frc-date {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.frc-text {
  font-size: 0.92rem;
  line-height: 1.72;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 20px;
}

.frc-author {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.frc-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #7c3aed);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: #fff;
  flex-shrink: 0;
}
.frc-author-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.frc-name { font-weight: 700; font-size: 0.9rem; color: var(--text-primary); }
.frc-role { font-size: 0.78rem; color: var(--text-secondary); }

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--green);
  background: var(--green-dim);
  border: 1px solid rgba(52,211,153,0.2);
  border-radius: var(--radius-full);
  padding: 4px 10px;
}

.frc-helpful {
  margin-top: 16px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.frc-helpful i { color: var(--accent); }

/* Rating Breakdown */
.featured-rating-breakdown {
  background: rgba(255,255,255,0.03);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
}
.rb-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.rb-bars { display: flex; flex-direction: column; gap: 12px; }
.rb-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.rb-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  width: 100px;
  flex-shrink: 0;
}
.rb-bar-track {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.rb-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--green));
  border-radius: var(--radius-full);
  transition: width 1.2s ease;
}
.rb-score {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  width: 28px;
  text-align: right;
  flex-shrink: 0;
}

/* =============================================
   TOP RATED BUSINESSES
   ============================================= */
.top-rated-section {
  padding: 90px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(79,140,255,0.025) 50%, transparent 100%);
}

/* Filter Bar */
.filter-bar {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 40px;
  scrollbar-width: none;
}
.filter-bar::-webkit-scrollbar { display: none; }

.filter-pill {
  flex-shrink: 0;
  padding: 8px 20px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.filter-pill:hover { border-color: var(--accent); color: var(--accent); background: rgba(79,140,255,0.06); }
.filter-pill.active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Business Grid */
.biz-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.biz-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 22px 20px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.biz-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
  border-color: var(--border-light);
  background: var(--bg-card-hover);
}

/* Featured card in grid */
.biz-card--featured {
  border-color: rgba(245,158,11,0.4);
  background: linear-gradient(145deg, var(--bg-card) 0%, rgba(245,158,11,0.04) 100%);
}
.biz-card--featured:hover {
  border-color: rgba(245,158,11,0.7);
  box-shadow: var(--shadow-lift), 0 0 30px rgba(245,158,11,0.12);
}

.biz-card-featured-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold);
  background: rgba(245,158,11,0.12);
  border: 1px solid rgba(245,158,11,0.25);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.biz-card.hidden { display: none; }

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

.biz-avatar {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent), #7c3aed);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.85rem;
  color: #fff;
  flex-shrink: 0;
}

.pdg-avatar {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 0 14px rgba(245,158,11,0.3);
}

/* Real image avatar — grid card */
.pdg-avatar--img {
  background: #0a0a0a;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 0 16px rgba(245,158,11,0.4);
}
.pdg-avatar--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
  display: block;
}

.biz-card-meta {
  flex: 1;
  min-width: 0;
}

.biz-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.biz-cat {
  font-size: 0.74rem;
  color: var(--accent);
  font-weight: 600;
  background: rgba(79,140,255,0.1);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  display: inline-block;
}

.biz-rating-row {
  display: flex;
  align-items: center;
  gap: 7px;
}
.rating-num {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-primary);
}
.review-cnt {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.biz-snippet {
  font-size: 0.83rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.6;
  flex: 1;
}

.biz-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.biz-location {
  font-size: 0.78rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 4px;
}
.biz-location i { color: var(--accent); font-size: 0.72rem; }

.biz-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: gap var(--transition);
}
.biz-link:hover { gap: 8px; }

/* =============================================
   RECENT REVIEWS FEED
   ============================================= */
.reviews-section {
  padding: 90px 0;
}

.reviews-feed {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.review-entry {
  display: flex;
  gap: 20px;
  padding: 32px 36px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.review-entry:last-child { border-bottom: none; }
.review-entry:hover { background: var(--bg-card-hover); }

/* Highlighted entry (PDG) */
.review-entry--highlight {
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(79,140,255,0.04) 100%);
  border-left: 3px solid var(--accent);
}

.re-left { flex-shrink: 0; }

.re-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
}
.re-avatar--blue   { background: linear-gradient(135deg, var(--accent), #2563eb); }
.re-avatar--green  { background: linear-gradient(135deg, #16a34a, #22c55e); }
.re-avatar--purple { background: linear-gradient(135deg, #7c3aed, #9333ea); }
.re-avatar--teal   { background: linear-gradient(135deg, #0891b2, #06b6d4); }
.re-avatar--orange { background: linear-gradient(135deg, #c2410c, #ea580c); }

.re-right { flex: 1; min-width: 0; }

.re-header { margin-bottom: 10px; }
.re-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.re-name { font-weight: 700; font-size: 0.92rem; color: var(--text-primary); }
.re-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--green);
}
.re-date { font-size: 0.78rem; color: var(--text-secondary); }

.re-business {
  font-size: 0.82rem;
  color: var(--text-secondary);
}
.re-biz-link {
  color: var(--accent);
  font-weight: 600;
  transition: color var(--transition);
}
.re-biz-link:hover { color: var(--text-primary); }

.re-stars { margin-bottom: 12px; }

.re-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.72;
  font-style: italic;
  margin-bottom: 14px;
}

.re-helpful { display: flex; align-items: center; }

.helpful-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  transition: all var(--transition);
}
.helpful-btn i { color: var(--accent); font-size: 0.75rem; }
.helpful-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(79,140,255,0.06);
}

/* =============================================
   HOW IT WORKS
   ============================================= */
.how-section {
  padding: 90px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(52,211,153,0.02) 50%, transparent 100%);
}

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

.step-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  text-align: center;
  position: relative;
  transition: all var(--transition);
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: var(--border-light);
}

.step-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.step-icon {
  font-size: 2.4rem;
  display: block;
  line-height: 1;
}
.step-num {
  position: absolute;
  top: -8px;
  right: -14px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 0.7rem;
  color: var(--accent);
  background: rgba(79,140,255,0.12);
  border: 1px solid rgba(79,140,255,0.3);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.68;
}

.step-arrow {
  position: absolute;
  top: 50%;
  right: -20px;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: var(--bg-primary);
  border: 1.5px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 0.75rem;
  z-index: 1;
}
.step-card:last-child .step-arrow { display: none; }

/* =============================================
   CATEGORIES SECTION
   ============================================= */
.categories-section {
  padding: 90px 0;
}

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

.cat-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: all var(--transition);
  color: var(--text-primary);
}
.cat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift), 0 0 20px rgba(79,140,255,0.1);
  border-color: var(--accent);
  background: var(--bg-card-hover);
}

.cat-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(79,140,255,0.1);
  border: 1px solid rgba(79,140,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent);
  transition: all var(--transition);
}
.cat-card:hover .cat-icon-wrap {
  background: rgba(79,140,255,0.18);
  box-shadow: 0 0 16px rgba(79,140,255,0.2);
}

.cat-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.cat-count {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* =============================================
   CALL TO ACTION
   ============================================= */
.cta-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0f1117 0%, #131827 50%, #0f1117 100%);
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 100%, rgba(79,140,255,0.1) 0%, transparent 65%),
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(79,140,255,0.06) 0%, transparent 70%);
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(79,140,255,0.12) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

.cta-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: rgba(79,140,255,0.12);
  border: 1.5px solid rgba(79,140,255,0.3);
  font-size: 1.6rem;
  color: var(--accent);
  margin-bottom: 24px;
  box-shadow: 0 0 30px rgba(79,140,255,0.15);
}

.cta-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.7px;
  line-height: 1.2;
  margin-bottom: 18px;
}

.cta-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 32px;
  line-height: 1.65;
}

.cta-perks {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.cta-perk {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.cta-perk i { color: var(--green); font-size: 0.85rem; }

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

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: #0a0c12;
  border-top: 1px solid var(--border);
  padding: 70px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border);
}

.footer-logo { margin-bottom: 14px; }
.footer-tagline {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 10px;
  font-style: italic;
}
.footer-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
}

.social-icons {
  display: flex;
  gap: 10px;
}
.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--border-light);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: all var(--transition);
}
.social-icon:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(79,140,255,0.08);
  transform: translateY(-2px);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.footer-col-title {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color var(--transition);
  line-height: 1.4;
}
.footer-links a:hover { color: var(--text-primary); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.footer-bottom-badges {
  display: flex;
  gap: 12px;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
}
.trust-badge i { color: var(--green); font-size: 0.75rem; }

/* =============================================
   BACK TO TOP
   ============================================= */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(79,140,255,0.35);
  z-index: 800;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition);
  pointer-events: none;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.back-to-top:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

/* =============================================
   SCROLL REVEAL ANIMATIONS
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* =============================================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================================= */
@media (max-width: 1024px) {
  .biz-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cat-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .featured-card {
    grid-template-columns: 1fr;
  }
  .featured-right {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .featured-review-card,
  .featured-rating-breakdown {
    flex: 1;
    min-width: 280px;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =============================================
   RESPONSIVE — MOBILE (≤ 768px)
   ============================================= */
@media (max-width: 768px) {
  .hide-sm { display: none; }

  /* Nav */
  .nav-mobile-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 280px;
    background: #13151f;
    border-right: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 28px 32px;
    gap: 8px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a {
    font-size: 1.05rem;
    width: 100%;
    padding: 10px 14px;
  }
  .nav-overlay.open { display: block; }
  .nav-actions .btn { display: none; }
  .nav-actions .btn:last-child { display: inline-flex; }

  /* Hero */
  .hero { padding: 70px 0 60px; }
  .hero-stats { gap: 20px; }
  .hero-stat-divider { height: 28px; }

  /* Featured */
  .featured-section { padding: 60px 0; }
  .featured-card { padding: 32px 24px; }
  .featured-stats-row { flex-wrap: wrap; }
  .fstat { min-width: 45%; border: none !important; }
  .featured-right { flex-direction: column; }

  /* Grid */
  .biz-grid { grid-template-columns: 1fr; gap: 16px; }
  .top-rated-section { padding: 60px 0; }

  /* Reviews */
  .reviews-section { padding: 60px 0; }
  .review-entry { padding: 24px 20px; }

  /* Steps */
  .how-section { padding: 60px 0; }
  .steps-grid { grid-template-columns: 1fr; gap: 20px; }
  .step-arrow { display: none; }

  /* Categories */
  .categories-section { padding: 60px 0; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-card { padding: 24px 18px; }

  /* CTA */
  .cta-section { padding: 70px 0; }
  .cta-perks { gap: 14px; }

  /* Footer */
  .footer { padding: 50px 0 0; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 14px; }

  /* Back to top */
  .back-to-top { bottom: 20px; right: 20px; width: 42px; height: 42px; }
}

/* =============================================
   RESPONSIVE — SMALL MOBILE (≤ 480px)
   ============================================= */
@media (max-width: 480px) {
  .hero-title { font-size: 1.85rem; }
  .hero-search-box { padding: 6px 6px 6px 14px; }
  .search-btn { padding: 9px 16px; font-size: 0.85rem; }
  .featured-biz-name { font-size: 1.4rem; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .nav-logo { font-size: 1rem; }
  .cta-title { font-size: 1.6rem; }
  .section-title { font-size: 1.5rem; }
}
