/*
Theme Name: neve-fse-child
Template: neve-fse
*/

:root {
  --color-primary: #6366f1;
  --color-primary-dark: #4f46e5;
  --color-secondary: #8b5cf6;
  --color-accent: #06b6d4;
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;
  
  --color-slate-50: #f8fafc;
  --color-slate-100: #f1f5f9;
  --color-slate-200: #e2e8f0;
  --color-slate-300: #cbd5e1;
  --color-slate-400: #94a3b8;
  --color-slate-500: #64748b;
  --color-slate-600: #475569;
  --color-slate-700: #334155;
  --color-slate-800: #1e293b;
  --color-slate-900: #0f172a;
  
  --font-family: 'MuseoModerno', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Plus Jakarta Sans', sans-serif;
  
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-slate-700);
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--color-primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.no-title h1,
.no-title .entry-title {
    display: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* Typography */
.text-gradient {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 1rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: white;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px -5px rgba(99, 102, 241, 0.4);
  color: white;
}

.btn-secondary {
  background: white;
  color: var(--color-slate-700);
  border: 1px solid var(--color-slate-200);
}

.btn-secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-ghost {
  background: transparent;
  color: var(--color-slate-600);
}

.btn-ghost:hover {
  background: rgba(99, 102, 241, 0.1);
  color: var(--color-primary);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-slate-100);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-slate-900);
  text-decoration: none;
}

.nav-logo-icon {
  width: 2rem;
  height: 2rem;
  background: var(--color-slate-100);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: white;
}

.nav-menu {
  display: none;
}

@media (min-width: 1024px) {
  .nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }
}

.nav-link {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-slate-600);
  border-radius: var(--radius-md);
  text-decoration: none;
}

.nav-link:hover {
  color: var(--color-primary);
  background: rgba(99, 102, 241, 0.1);
}

.nav-actions {
  display: none;
}

@media (min-width: 1024px) {
  .nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
}

.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--color-slate-100);
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  color: var(--color-slate-600);
}

@media (min-width: 1024px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu {
  display: none;
  padding: 1rem 0;
  border-top: 1px solid var(--color-slate-100);
  background: white;
}

.mobile-menu.active {
  display: block;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-link {
  padding: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-slate-700);
  border-radius: var(--radius-md);
  text-decoration: none;
}

.mobile-nav-link:hover {
  background: var(--color-slate-50);
  color: var(--color-primary);
}

/* Sponsor Bar */
.sponsor-bar {
    background: #1e1b2e; /* slightly lighter than pure black */
    border-top: 1px solid rgba(167, 139, 250, 0.2);
    border-bottom: 1px solid rgba(167, 139, 250, 0.2);
    padding: 0.6rem 0;
    font-size: 0.8rem;
    text-align: center;
}

.sponsor-label {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.85); /* was 0.35 — much more visible now */
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.2rem 0.5rem;
    border-radius: 20px;
    flex-shrink: 0;
}

.sponsor-text {
    color: rgba(255, 255, 255, 0.85); 
}

.sponsor-name {
    font-weight: 700;
    color: #ddd6fe; /* lighter purple, more visible */
    letter-spacing: 0.02em;
}

.sponsor-divider {
    color: rgba(255, 255, 255, 0.15);
}

.sponsor-cta {
    display: inline-block;
    color: #0f0f1a;
    background: #a78bfa;
    font-weight: 600;
    font-size: 0.72rem;
    white-space: nowrap;
    padding: 0.2rem 0.7rem;
    border-radius: 20px;
    text-decoration: none;
    transition: background 0.2s, transform 0.1s;
}

.sponsor-cta:hover {
    background: #c4b5fd;
    transform: scale(1.03);
}

@media (max-width: 480px) {
    .sponsor-text {
        display: none;
    }
}

/* Hide on very small screens if needed */
@media (max-width: 400px) {
    .sponsor-divider,
    .sponsor-text {
        display: none;
    }
}

/* Hero Layout */
.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 4rem;
    align-items: center;
    min-height: 85vh;
    padding: 4rem 0;
}

/* Left Content */
.hero-content {
    max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  box-shadow: var(--shadow-md);
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: var(--color-slate-600);
}


.hero-badge-dot {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
}

.badge-count {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: white;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}


.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: #000000;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.6;
    color: rgba(156, 163, 175, 1);
    margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
}


/* Right Side - Rankings Card */
.hero-rankings {
    width: 100%;
}

.rankings-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 24px;
    padding: 1.75rem;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    transition: transform 0.1s ease-out;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.rankings-header {
    margin-bottom: 1.5rem;
}

.live-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.live-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: #16a34a;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.rankings-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000000;
    margin: 0 0 0.5rem 0;
}

.rankings-subtitle {
    font-size: 0.875rem;
    line-height: 1.5;
    color: rgba(156, 163, 175, 1);
    margin: 0;
}

/* Rankings List */
.rankings-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ranking-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ranking-item:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    transform: translateX(4px);
}

.rank-number {
    font-size: 0.875rem;
    font-weight: 700;
    color: rgba(156, 163, 175, 1);
    width: 24px;
    text-align: center;
}

.ranking-item:nth-child(1) .rank-number { color: #fbbf24; }
.ranking-item:nth-child(2) .rank-number { color: #e5e7eb; }
.ranking-item:nth-child(3) .rank-number { color: #d97706; }

.rank-tool-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.rank-tool-logo {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
}

.rank-tool-name {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #334155;
}

.rank-tool-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.rank-rating {
    font-size: 0.875rem;
    font-weight: 600;
    color: #fbbf24;
}

.rank-arrow {
    color: #22c55e;
    display: flex;
    align-items: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #000000;
    border: 2px solid #000000;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-rankings {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}
/* Section Styles */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--color-slate-50);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.section-badge.primary {
  background: rgba(99, 102, 241, 0.1);
  color: var(--color-primary);
}

.section-badge.warning {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
}

.section-title {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-slate-900);
  margin-bottom: 0.75rem;
}

.section-description {
  font-size: 1.125rem;
  color: var(--color-slate-600);
  max-width: 600px;
  margin: 0 auto;
}

/* Categories Grid */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .categories-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.category-card {
  position: relative;
  background: white;
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.category-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.category-growth {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-success);
  background: #d1fae5;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
}

.category-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.category-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.category-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-slate-900);
  margin-bottom: 0.5rem;
}

.category-description {
  font-size: 0.875rem;
  color: var(--color-slate-500);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.category-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.category-count {
  font-size: 0.875rem;
  color: var(--color-slate-400);
}

.category-arrow {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--color-slate-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-slate-400);
  opacity: 0;
  transform: translateX(0.5rem);
  transition: all 0.3s ease;
}

.category-card:hover .category-arrow {
  opacity: 1;
  transform: translateX(0);
  background: var(--color-primary);
  color: white;
}

/* Featured Section */
.featured-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .featured-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.featured-main {
  background: white;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.featured-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-badges {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  gap: 0.5rem;
}

.badge {
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.badge-pricing {
  color: white;
}

.badge-pricing.free { background: var(--color-success); }
.badge-pricing.freemium { background: var(--color-warning); }
.badge-pricing.paid { background: var(--color-primary); }

.badge-users {
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-slate-700);
}

.featured-content {
  padding: 1.5rem;
}

.featured-category {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.featured-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-slate-900);
  margin-bottom: 0.75rem;
}

.featured-description {
  color: var(--color-slate-600);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.featured-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.featured-tag {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--color-primary);
  background: rgba(99, 102, 241, 0.1);
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-md);
}

.featured-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.price-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-slate-900);
}

.price-label {
  font-size: 0.875rem;
  color: var(--color-slate-500);
}

.featured-actions {
  display: flex;
  gap: 0.75rem;
}

.featured-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .featured-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

.featured-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  text-decoration: none;
}

.featured-item:hover {
  border-color: var(--color-primary);
}

.featured-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.8), transparent);
  display: flex;
  align-items: flex-end;
  padding: 0.75rem;
}

.featured-item-name {
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Leaderboard */
.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.tab {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-slate-600);
  background: var(--color-slate-100);
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab:hover {
  background: var(--color-slate-200);
}

.tab.active {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: white;
}

.leaderboard {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.leaderboard-header {
  display: grid;
  grid-template-columns: 3rem 2fr 1fr 1fr 1fr;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: var(--color-slate-50);
  border-bottom: 1px solid var(--color-slate-100);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-slate-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.leaderboard-row {
  display: grid;
  grid-template-columns: 3rem 2fr 1fr 1fr 1fr;
  gap: 1rem;
  padding: 1rem 1.5rem;
  align-items: center;
  border-bottom: 1px solid var(--color-slate-100);
  transition: background-color 0.2s ease;
}

.leaderboard-row:hover {
  background: var(--color-slate-50);
}

.leaderboard-row:last-child {
  border-bottom: none;
}

.rank {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
}

.rank-1 {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: white;
}

.rank-2 {
  background: linear-gradient(135deg, #9ca3af, #6b7280);
  color: white;
}

.rank-3 {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: white;
}

.rank-other {
  background: var(--color-slate-200);
  color: var(--color-slate-600);
}

.leaderboard-tool {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.leaderboard-tool-img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
}

.leaderboard-tool-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leaderboard-tool-info h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-slate-900);
  margin-bottom: 0.125rem;
}

.leaderboard-tool-info p {
  font-size: 0.75rem;
  color: var(--color-slate-500);
}

.leaderboard-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

.leaderboard-rating svg {
  width: 1rem;
  height: 1rem;
  color: #fbbf24;
  fill: #fbbf24;
}

.leaderboard-rating span {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-slate-900);
}

.leaderboard-users {
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-slate-600);
}

.leaderboard-trend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  font-size: 0.875rem;
}

.leaderboard-trend.up {
  color: var(--color-success);
}

.leaderboard-trend.down {
  color: var(--color-danger);
}

.leaderboard-trend.same {
  color: var(--color-slate-400);
}

/* Collections */
.collections-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .collections-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .collections-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.collection-card {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.collection-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.collection-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.collection-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.collection-tag {
  font-size: 0.75rem;
  color: var(--color-primary);
  background: rgba(99, 102, 241, 0.1);
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
}

.collection-like {
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.collection-like:hover {
  background: #ffe4e6;
}

.collection-like svg {
  width: 1rem;
  height: 1rem;
  color: var(--color-slate-400);
}

.collection-like.active svg {
  color: #f43f5e;
  fill: #f43f5e;
}

.collection-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-slate-900);
  margin-bottom: 0.5rem;
}

.collection-description {
  font-size: 0.875rem;
  color: var(--color-slate-500);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.collection-tools {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.collection-tools-avatars {
  display: flex;
}

.collection-tool-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid white;
  margin-left: -0.5rem;
}

.collection-tool-avatar:first-child {
  margin-left: 0;
}

.collection-tool-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collection-tools-more {
  font-size: 0.875rem;
  color: var(--color-slate-400);
}

.collection-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--color-slate-100);
}

.collection-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.collection-author-avatar {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #818cf8, #a78bfa);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.625rem;
  font-weight: 600;
}

.collection-author-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-slate-700);
}

.collection-likes {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  color: #f43f5e;
}

.collection-likes svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

/* Comparison */
.comparison-container {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.comparison-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05));
  border-bottom: 1px solid var(--color-slate-100);
  align-items: center;
}

.comparison-tool {
  text-align: center;
}

.comparison-select-wrapper {
  margin-bottom: 1rem;
  width: 100%;
}

.comparison-select {
  width: 100%;
  padding: 0.75rem 2.5rem 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-slate-700);
  background: white;
  border: 2px solid var(--color-slate-200);
  border-radius: var(--radius-lg);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  transition: all 0.3s ease;
}

.comparison-select:hover {
  border-color: var(--color-primary);
}

.comparison-select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.comparison-tool-img {
  width: 4rem;
  height: 4rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 0 auto 0.75rem;
  box-shadow: var(--shadow-md);
}

.comparison-tool-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comparison-tool h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-slate-900);
  margin-bottom: 0.25rem;
}

.comparison-tool p {
  font-size: 0.875rem;
  color: var(--color-slate-500);
}

.comparison-vs {
  display: flex;
  align-items: center;
  justify-content: center;
}

.comparison-vs span {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: white;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary);
}

.comparison-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  padding: 1rem 1.5rem;
  align-items: center;
  border-bottom: 1px solid var(--color-slate-100);
}

.comparison-row:hover {
  background: var(--color-slate-50);
}

.comparison-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-slate-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.comparison-value {
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-slate-700);
  font-weight: 500;
}

.comparison-value.winner {
  color: var(--color-success);
  font-weight: 700;
}

.winner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--color-success);
  background: #d1fae5;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  margin-left: 0.5rem;
  font-weight: 600;
}

/* Testimonials */
.testimonial-featured {
  background: white;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  padding: 2rem;
  margin-bottom: 2rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .testimonial-grid {
    grid-template-columns: auto 1fr;
  }
}

.testimonial-author {
  text-align: center;
}

@media (min-width: 768px) {
  .testimonial-author {
    text-align: left;
  }
}

.testimonial-avatar {
  width: 5rem;
  height: 5rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #818cf8, #a78bfa);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

@media (min-width: 768px) {
  .testimonial-avatar {
    margin: 0 0 1rem 0;
  }
}

.testimonial-author h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-slate-900);
  margin-bottom: 0.25rem;
}

.testimonial-author p {
  font-size: 0.875rem;
  color: var(--color-slate-500);
}

.testimonial-author .company {
  color: var(--color-primary);
  font-weight: 500;
}

.testimonial-rating {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin-top: 0.75rem;
}

@media (min-width: 768px) {
  .testimonial-rating {
    justify-content: flex-start;
  }
}

.testimonial-rating svg {
  width: 1rem;
  height: 1rem;
  color: #fbbf24;
  fill: #fbbf24;
}

.testimonial-quote {
  font-size: 1.125rem;
  color: var(--color-slate-700);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.testimonial-tools-label {
  font-size: 0.875rem;
  color: var(--color-slate-500);
}

.testimonial-tool-tag {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-primary);
  background: rgba(99, 102, 241, 0.1);
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
}

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

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card-small {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.testimonial-card-small:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-xl);
}

.testimonial-card-small.active {
  border-color: var(--color-primary);
  background: rgba(99, 102, 241, 0.02);
}

.testimonial-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.testimonial-card-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #818cf8, #a78bfa);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
}

.testimonial-card-author h5 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-slate-900);
}

.testimonial-card-author p {
  font-size: 0.75rem;
  color: var(--color-slate-500);
}

.testimonial-card-quote {
  font-size: 0.875rem;
  color: var(--color-slate-600);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Use Cases */
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .use-cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.use-case-card {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: all 0.3s ease;
}

.use-case-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.use-case-image {
  position: relative;
  height: 12rem;
  overflow: hidden;
}

.use-case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.use-case-card:hover .use-case-image img {
  transform: scale(1.05);
}

.use-case-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.7), transparent);
}

.use-case-industry {
  position: absolute;
  top: 1rem;
  left: 1rem;
}

.use-case-content {
  padding: 1.5rem;
}

.use-case-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-slate-900);
  margin-bottom: 0.5rem;
}

.use-case-description {
  font-size: 0.875rem;
  color: var(--color-slate-600);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.use-case-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.use-case-tool {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--color-primary);
  background: rgba(99, 102, 241, 0.1);
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
}

.use-case-tool svg {
  width: 0.75rem;
  height: 0.75rem;
}

.use-case-results {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 1rem;
  background: var(--color-slate-50);
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
}

.use-case-result-label {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.use-case-result-label.success {
  color: var(--color-success);
}

.use-case-result-label.info {
  color: var(--color-primary);
}

.use-case-result-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-slate-900);
}

.use-case-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-primary);
  background: transparent;
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.3s ease;
}

.use-case-cta:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: var(--color-primary);
}

/* All Tools */
#tools-grid {
  padding: 5rem 0;   /* spacing around the grid */
}

.tools-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

@media (min-width: 1200px) {
  .tools-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.tool-card {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid var(--color-slate-100);
  width: 100%;       /* fill the grid cell */
}

.tool-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
  border-color: var(--color-primary);
}

.tool-card-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.tool-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.tool-card:hover .tool-card-image img {
  transform: scale(1.05);
}

.tool-card-badges {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  display: flex;
  justify-content: space-between;
}

.tool-card-content {
  padding: 1.25rem;
}

.tool-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.tool-card-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-slate-900);
}

.tool-card-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
}

.tool-card-rating svg {
  width: 0.875rem;
  height: 0.875rem;
  color: #fbbf24;
  fill: #fbbf24;
}

.tool-card-description {
  font-size: 0.875rem;
  color: var(--color-slate-500);
  margin-bottom: 1rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tool-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--color-slate-100);
}

.tool-card-price {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
}

.tool-card-reviews {
  font-size: 0.75rem;
  color: var(--color-slate-400);
}

/* Filter Bar */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
  padding: 1rem;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.filter-search {
  position: relative;
  flex: 1;
  min-width: 200px;
}

.filter-search svg {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  color: var(--color-slate-400);
}

.filter-search input {
  width: 100%;
  padding: 0.5rem 0.75rem 0.5rem 2.25rem;
  font-size: 0.875rem;
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-md);
  background: white;
}

.filter-search input:focus {
  outline: none;
  border-color: var(--color-primary);
}

.filter-select {
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  font-size: 0.875rem;
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-md);
  background: white;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 1rem;
}

.filter-select:focus {
  outline: none;
  border-color: var(--color-primary);
}

/* CTA Section */
/* =========================
   CTA SECTION
========================= */

.cta {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary), #ec4899);
  overflow: hidden;
  box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.15);
}

.tools-grid.cta {
  max-width: 100%;
}
/* Background Orbs */

.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
  background: white;
}

.cta-orb-1 {
  top: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  animation: float 10s ease-in-out infinite;
}

.cta-orb-2 {
  bottom: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  animation: float 10s ease-in-out infinite;
  animation-delay: 3s;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(25px); }
  100% { transform: translateY(0px); }
}

/* Content */

.cta-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  color: white;
}

/* Badge */

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

/* Title */

.cta-title {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-title span {
  background: linear-gradient(to right, #fde047, #facc15);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Description */

.cta-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Benefits */

.cta-benefits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.cta-benefit {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
}

.cta-benefit-icon {
  width: 1.5rem;
  height: 1.5rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-benefit-icon svg {
  width: 0.875rem;
  height: 0.875rem;
  color: white;
}

/* =========================
   FORM (Premium Unified Style)
========================= */

.cta-form {
  display: flex;
  gap: 0;
  max-width: 480px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.cta-input {
  flex: 1;
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
  border: none;
  border-radius: 0;
  background: white;
}

.cta-input::placeholder {
  color: var(--color-slate-400);
}

.cta-input:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.05);
}

.cta-submit {
  padding: 0.875rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-slate-900);
  background: white;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cta-submit:hover {
  background: var(--color-slate-100);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Mobile */

@media (max-width: 640px) {
  .cta-form {
    flex-direction: column;
    gap: 0.5rem;
    border-radius: 0;
  }

  .cta-input,
  .cta-submit {
    border-radius: var(--radius-lg);
  }
}

/* =========================
   TRUST SECTION
========================= */

.cta-trust {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-trust p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1rem;
}

.cta-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  opacity: 0.6;
}

.cta-logos span {
  font-size: 1.25rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
}
/*single post */ 

.site-main .container {
    max-width: 1150px;
    margin: 80px auto;
    padding-left: 20px;     /* reduce this if text feels too narrow */
    padding-right: 20px;    /* reduce this too */
}

.single-post .post-title {
    font-size: 32px;
    margin-bottom: 50px;
}

.single-post .post-meta {
    font-size: 14px;
    color: #777;
    margin-bottom: 30px;
}

.single-post .post-content {
    font-size: 18px;
    line-height: 1.8;
}

.single-post .post-content p {
    margin-bottom: 2.5em;
}

.no-title .page-content {
    font-size: 18px;       /* readable font size */
    line-height: 2.0;      /* proper spacing between lines */
    text-align: justify;        /* optional: spreads words evenly across line */
    word-spacing: 0.05em;       /* slightly adjust spacing between words */
}

.no-title .page-content p {
    margin-bottom: 1.8em; /* adds breathing room between paragraphs */
}

/* bread crumbs */

.breadcrumbs {
    padding: 1rem 0;
    font-size: 0.9rem;
    color: #586069;
}

.breadcrumbs ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumbs a {
    color: #0366d6;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs .current {
    color: #24292e;
    font-weight: 500;
}

.sep {
    color: #959da5;
}
/* Footer */
.site-footer {
  width: 100%;
  max-width: 100%;
  margin: 0;
  background: var(--color-slate-900);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr repeat(4, 1fr);
  }
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  text-decoration: none;
  color: white;
}

.footer-logo-icon {
  width: 2rem;
  height: 2rem;
  background: var(--color-slate-900);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: white;
}

.footer-logo span {
  font-size: 1.25rem;
  font-weight: 700;
}

.footer-description {
  font-size: 0.875rem;
  color: var(--color-slate-400);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.footer-newsletter {
  display: flex;
  gap: 0.5rem;
}

.footer-newsletter input {
  flex: 1;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  border: 1px solid var(--color-slate-700);
  border-radius: var(--radius-md);
  background: var(--color-slate-800);
  color: white;
}

.footer-newsletter input::placeholder {
  color: var(--color-slate-500);
}

.footer-newsletter button {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: white;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.footer-newsletter button:hover {
  opacity: 0.9;
}

.footer-column h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
  margin-bottom: 1rem;
}

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

.footer-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  color: var(--color-slate-400);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-link:hover {
  color: #818cf8;
}

.footer-link svg {
  width: 0.75rem;
  height: 0.75rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.footer-link:hover svg {
  opacity: 1;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--color-slate-800);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copyright {
  font-size: 0.875rem;
  color: var(--color-slate-500);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social-link {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--color-slate-800);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-slate-400);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-social-link:hover {
  background: var(--color-primary);
  color: white;
}

.footer-made-with {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  color: var(--color-slate-500);
}

.footer-made-with .heart {
  color: #f43f5e;
}

/* Utilities */
.hidden {
  display: none !important;
}

.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem;
}

.spinner {
  width: 2rem;
  height: 2rem;
  border: 2px solid var(--color-slate-200);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
  .leaderboard-header,
  .leaderboard-row {
    grid-template-columns: 2rem 1fr auto;
    gap: 0.75rem;
  }
  
  .leaderboard-header > *:nth-child(3),
  .leaderboard-header > *:nth-child(4),
  .leaderboard-row > *:nth-child(4),
  .leaderboard-row > *:nth-child(5),
  .leaderboard-row > *:nth-child(6) {
    display: none;
  }
  
  .comparison-header,
  .comparison-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .comparison-vs {
    order: -1;
  }
  
  .comparison-vs span {
    width: 2rem;
    height: 2rem;
    font-size: 0.625rem;
  }
  
  .comparison-tool-img {
    width: 3rem;
    height: 3rem;
  }
  
  .featured-grid {
    grid-template-columns: 1fr;
  }
  
  .featured-list {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonial-author {
    text-align: center;
  }
  
  .testimonial-avatar {
    margin: 0 auto 1rem;
  }
  
  .testimonial-rating {
    justify-content: center;
  }
  
  .use-case-results {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-cta .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .categories-grid {
    grid-template-columns: 1fr;
  }
  
  .collections-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .use-cases-grid {
    grid-template-columns: 1fr;
  }
  
  .tools-grid {
    grid-template-columns: 1fr;
  }
  
  .filter-bar {
    flex-direction: column;
  }
  
  .filter-search {
    min-width: 100%;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-brand {
    max-width: 100%;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* WordPress Specific */
.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  font-size: 0.875rem;
  color: var(--color-slate-500);
  text-align: center;
  margin-top: 0.5rem;
}

.alignleft {
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.aistack-save-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 6px;
  cursor: pointer;
  color: #9ca3af;
  transition: color 0.2s, border-color 0.2s;
  line-height: 0;
}
.aistack-save-btn:hover,
.aistack-save-btn.saved {
  color: #6366f1;
  border-color: #6366f1;
}

/* Auth pages */
.vendor-auth-wrap { display: flex; justify-content: center; padding: 60px 16px; }
.vendor-auth-box { width: 100%; max-width: 400px; }
.vendor-auth-box h1 { font-size: 22px; font-weight: 500; margin-bottom: 24px; }
.vendor-auth-box label { display: block; font-size: 13px; color: #666; margin-bottom: 4px; }
.vendor-auth-box input[type="text"],
.vendor-auth-box input[type="password"] {
    width: 100%; padding: 9px 12px; border: 1px solid #ddd;
    border-radius: 6px; font-size: 14px; margin-bottom: 16px; box-sizing: border-box;
}
.vendor-auth-box button[type="submit"] {
    width: 100%; padding: 10px; background: #111; color: #fff;
    border: none; border-radius: 6px; font-size: 14px; cursor: pointer;
}
.auth-error { background: #fef2f2; border: 1px solid #fca5a5; color: #b91c1c;
    padding: 10px 14px; border-radius: 6px; font-size: 13px; margin-bottom: 16px; }
.auth-footer { font-size: 13px; color: #888; margin-top: 20px; text-align: center; }

/* ═══════════════════════════════════════════════════════════════════════════════
   VENDOR DASHBOARD - COMPLETE STYLES
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════════
   VENDOR DASHBOARD - COMPLETE STYLES (All-in-one with Submit Form)
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ── TAB SWITCHING ────────────────────────────────────────────────────────── */
.dash-tab              { display: none !important; }
.dash-tab.active       { display: block !important; }
.dash-nav-item         { cursor: pointer; }
.dash-nav-item.active  { background: #111 !important; color: #fff !important; }

/* ── Layout ───────────────────────────────────────────────────────────────── */
.vendor-dashboard {
    display: flex;
    min-height: 100vh;
    background: #fafafa;
}

/* ── Sidebar ──────────────────────────────────────────────────────────────── */
.dash-sidebar {
    width: 200px;
    background: #fff;
    border-right: 1px solid #eee;
    padding: 24px 0;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    flex-shrink: 0;
}

.dash-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
    margin-bottom: 24px;
}

.dash-avatar {
    width: 48px;
    height: 48px;
    background: #e0e7ff;
    color: #4338ca;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
    flex-shrink: 0;
}

.dash-user-info {
    flex: 1;
    min-width: 0;
}

.dash-user-info strong {
    display: block;
    font-size: 13px;
    color: #111;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dash-user-info span {
    display: block;
    font-size: 11px;
    color: #999;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dash-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 8px;
    margin-bottom: 24px;
}

.dash-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: #666;
    transition: all 0.2s;
    text-align: left;
    position: relative;
}

.dash-nav-item:hover {
    background: #f5f5f5;
    color: #333;
}

.nav-icon {
    font-size: 16px;
    flex-shrink: 0;
}

.nav-count {
    margin-left: auto;
    background: #eee;
    color: #666;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.dash-nav-item.active .nav-count {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.queue-badge {
    margin-left: auto;
    background: #dc2626;
    color: #fff;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
}

.dash-logout {
    display: block;
    padding: 10px 12px;
    margin: 0 8px;
    color: #999;
    text-decoration: none;
    font-size: 13px;
    border-radius: 8px;
    transition: all 0.2s;
}

.dash-logout:hover {
    background: #f5f5f5;
    color: #333;
}

/* ── Main Content ─────────────────────────────────────────────────────────── */
.dash-main {
    flex: 1;
    padding: 32px 40px;
    overflow-y: auto;
}

.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
}

.dash-header h1 {
    font-size: 26px;
    font-weight: 600;
    color: #111;
    margin: 0 0 6px;
}

.dash-subtitle {
    font-size: 14px;
    color: #999;
    margin: 0;
}

.tab-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.tab-header h1 {
    font-size: 22px;
    font-weight: 600;
    color: #111;
    margin: 0 0 4px;
}

.tab-header .tab-subtitle {
    font-size: 13px;
    color: #999;
    margin: 0;
}

/* ── Empty State ──────────────────────────────────────────────────────────── */
.dash-empty,
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
}

.empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.4;
}

.dash-empty h3,
.empty-state h3 {
    font-size: 18px;
    font-weight: 600;
    color: #111;
    margin: 0 0 8px;
}

.dash-empty p,
.empty-state p {
    font-size: 14px;
    color: #999;
    margin: 0 0 16px;
}

.dash-empty button,
.empty-state button {
    margin-top: 8px;
}

/* ── Tools List ───────────────────────────────────────────────────────────── */
.tools-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tool-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 16px;
    transition: all 0.2s;
}

.tool-card:hover {
    border-color: #ddd;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.tool-logo {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #eee;
    flex-shrink: 0;
}

.tool-logo-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: #e0e7ff;
    color: #4338ca;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 20px;
    flex-shrink: 0;
}

.tool-card-body {
    flex: 1;
    min-width: 0;
}

.tool-card-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.tool-card-top strong {
    font-size: 14px;
    color: #111;
}

.tool-url {
    display: block;
    font-size: 12px;
    color: #999;
    margin-bottom: 4px;
}

.tool-tagline {
    font-size: 12px;
    color: #666;
    margin: 0;
}

.status-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: capitalize;
}

.status-approved {
    background: #dbeafe;
    color: #0284c7;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.status-rejected {
    background: #fee2e2;
    color: #991b1b;
}

.tool-card-stats {
    display: flex;
    gap: 20px;
    flex-shrink: 0;
}

.tool-stat {
    text-align: center;
}

.stat-val {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #111;
}

.stat-lbl {
    display: block;
    font-size: 11px;
    color: #999;
    margin-top: 2px;
}

.btn-ghost {
    padding: 8px 14px;
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    flex-shrink: 0;
}

.btn-ghost:hover {
    background: #f5f5f5;
    border-color: #999;
}

/* ── Analytics ────────────────────────────────────────────────────────────── */
.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 18px;
    transition: all 0.2s;
}

.stat-card:hover {
    border-color: #ddd;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.stat-icon-views {
    background: #dbeafe;
    color: #0284c7;
}

.stat-icon-clicks {
    background: #dcfce7;
    color: #16a34a;
}

.stat-icon-ctr {
    background: #fce7f3;
    color: #ec4899;
}

.stat-info {
    flex: 1;
}

.stat-label {
    display: block;
    font-size: 11px;
    color: #999;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.stat-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #111;
}

.analytics-section {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 24px;
}

.section-title {
    font-size: 15px;
    font-weight: 600;
    color: #111;
    margin: 0 0 20px;
}

.table-container {
    overflow-x: auto;
    margin-bottom: 20px;
}

.analytics-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.analytics-table thead {
    background: #f9f9f9;
    border-bottom: 1px solid #eee;
}

.analytics-table th {
    padding: 10px 12px;
    text-align: left;
    font-weight: 600;
    color: #666;
    font-size: 11px;
    text-transform: uppercase;
}

.analytics-table td {
    padding: 12px;
    border-bottom: 1px solid #f5f5f5;
    color: #333;
}

.analytics-table tbody tr:hover {
    background: #f9f9f9;
}

.text-right {
    text-align: right;
}

.table-tool-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.table-tool-logo {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid #eee;
}

.table-tool-logo-placeholder {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: #e0e7ff;
    color: #4338ca;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 12px;
}

.table-tool-name {
    font-weight: 500;
}

.ctr-badge {
    display: inline-block;
    background: #f0f9ff;
    color: #0284c7;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 12px;
}

.chart-container {
    margin: 20px 0;
}

.bar-chart {
    width: 100%;
    height: auto;
    max-height: 350px;
}

.chart-legend {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #666;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   SUBMIT FORM STYLES
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ── Alert Styles ──────────────────────────────────────────────────────────── */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 20px;
    font-size: 13px;
}

.alert i {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.alert-success {
    border-left: 3px solid #16a34a;
    background: #f0fdf4;
}

.alert-success i {
    color: #16a34a;
}

.alert-success strong {
    color: #166534;
    display: block;
}

.alert-error {
    border-left: 3px solid #dc2626;
    background: #fef2f2;
}

.alert-error i {
    color: #dc2626;
}

.alert-error strong {
    color: #991b1b;
    display: block;
}

.alert-error ul {
    margin: 8px 0 0;
    padding-left: 20px;
}

.alert-error li {
    color: #7f1d1d;
    margin-bottom: 4px;
    font-size: 12px;
}

/* ── Form Layout ──────────────────────────────────────────────────────────── */
.submit-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 20px;
}

.form-card-title {
    font-size: 14px;
    font-weight: 600;
    color: #111;
    margin: 0 0 16px;
}

/* ── Form Groups ──────────────────────────────────────────────────────────── */
.form-group {
    margin-bottom: 14px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #111;
    margin-bottom: 6px;
}

.required {
    color: #dc2626;
}

/* ── Form Inputs ──────────────────────────────────────────────────────────── */
.form-input,
.form-select,
.form-textarea {
    width: 100%;
    font-family: inherit;
    font-size: 13px;
    color: #333;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 9px 12px;
    transition: all 0.2s;
    box-sizing: border-box;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #999;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px;
}

.form-textarea {
    resize: vertical;
    font-family: inherit;
    line-height: 1.5;
}

.form-hint {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
    margin-bottom: 0;
}

/* ── Logo Upload ──────────────────────────────────────────────────────────── */
.logo-upload-area {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.logo-input {
    display: none;
}

.logo-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100px;
    height: 100px;
    background: #f9f9f9;
    border: 2px dashed #ddd;
    border-radius: 8px;
    flex-shrink: 0;
    transition: all 0.2s;
    cursor: pointer;
}

.logo-preview:hover {
    border-color: #999;
    background: #f5f5f5;
}

.logo-preview label {
    cursor: pointer;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.logo-placeholder {
    font-size: 32px;
    color: #ddd;
}

.btn-icon-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 12px;
    padding: 6px 12px;
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

.btn-icon-small:hover {
    background: #e0e0e0;
    border-color: #999;
}

.btn-icon-small i {
    font-size: 11px;
}

.btn-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    padding: 8px 14px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    font-weight: 500;
}

.btn-secondary {
    background: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
}

.btn-secondary:hover {
    background: #e8e8e8;
}

/* ── Form Actions ──────────────────────────────────────────────────────────── */
.form-actions {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 10px;
    margin-top: 8px;
}

.form-actions .btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: #000;
    color: #fff;
}

.btn-primary:hover {
    background: #222;
}

.btn-primary i {
    font-size: 14px;
}

.form-actions .btn-secondary {
    background: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
}

.form-actions .btn-secondary:hover {
    background: #e8e8e8;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .vendor-dashboard {
        flex-direction: column;
    }

    .dash-sidebar {
        width: 100%;
        height: auto;
        position: relative;
        border-right: none;
        border-bottom: 1px solid #eee;
        padding: 16px;
    }

    .dash-nav {
        flex-direction: row;
        overflow-x: auto;
        flex-wrap: nowrap;
        gap: 8px;
    }

    .dash-nav-item {
        white-space: nowrap;
        flex-shrink: 0;
    }

    .dash-main {
        padding: 20px 16px;
    }

    .stats-cards {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .logo-upload-area {
        flex-direction: column;
        align-items: center;
    }

    .logo-preview {
        width: 120px;
        height: 120px;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
    }

    .tool-card {
        flex-wrap: wrap;
    }

    .tool-card-stats {
        width: 100%;
    }
}

/* ── Streak function ───────────────────────────────────────────────────────────── */

.nav-streak {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 107, 0, 0.12);
    border: 1px solid rgba(255, 107, 0, 0.3);
    border-radius: 999px;
    padding: 5px 12px;
    cursor: default;
    transition: background 0.2s;
    position: relative;
}

.nav-streak:hover {
    background: rgba(255, 107, 0, 0.2);
}

.streak-flame {
    display: flex;
    align-items: center;
    line-height: 1;
}

.streak-count {
    font-size: 14px;
    font-weight: 700;
    color: #ff6b00;
}

.nav-streak--guest {
    opacity: 0.55;
    cursor: pointer;
}

.nav-streak--guest:hover {
    opacity: 1;
}

.streak-tooltip {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a1a;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    padding: 7px 12px;
    border-radius: 8px;
    pointer-events: none;
    z-index: 9999;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

.streak-tooltip::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-bottom-color: #1a1a1a;
}

.nav-streak--guest:hover .streak-tooltip,
.nav-streak--guest.tooltip-visible .streak-tooltip {
    display: block;
}

.mobile-nav-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,107,0,0.15);
}