:root {
  --primary: #4F46E5;
  --primary-hover: #4338CA;
  --secondary: #10B981;
  --accent: #8B5CF6;
  --accent-hover: #7C3AED;
  --bg: #F8FAFC;
  --bg-secondary: #F1F5F9;
  --bg-tertiary: #E2E8F0;
  --bg-card: #FFFFFF;
  --text: #0F172A;
  --text-muted: #475569;
  --border: rgba(0, 0, 0, 0.08);
  --border-glow: rgba(0, 0, 0, 0.08);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.04), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
  --shadow-glow: 0 0 20px rgba(79, 70, 229, 0.15);
  
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease-out;
  --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.26, 1.55);
  --nav-height: 80px;

  --primary-dark: #6D28D9;
  --secondary-dark: #0891B2;
  --gold-elite: #F59E0B;
  --bg-card-hover: #F8FAFC;
  --text-dim: #64748B;
  --shadow-purple: 0 8px 32px rgba(124, 58, 237, 0.25);
  --shadow-lift: 0 30px 60px rgba(124, 58, 237, 0.25);
  --gradient: linear-gradient(135deg, #7C3AED 0%, #06B6D4 100%);
  --gradient-soft: linear-gradient(135deg, rgba(124,58,237,0.1) 0%, rgba(6,182,212,0.1) 100%);
  --gradient-hero: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 50%, #F8FAFC 100%);
  --radius-xl: 32px;
  --section-pad: 80px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  word-break: break-word;
  overflow-wrap: break-word;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; outline: none; }
input, textarea, select { font-family: inherit; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 99px; }

::selection { background: rgba(0,242,254,0.3); color: #fff; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad {
  padding: var(--section-pad) 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(79, 70, 229, 0.06);
  border: 1px solid rgba(79, 70, 229, 0.15);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 99px;
  margin-bottom: 16px;
  white-space: nowrap;
}

.badge svg { width: 14px; height: 14px; }

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 12px;
}

.section-title span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 560px;
}

.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 99px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  background-size: 200% auto;
  color: #fff;
  box-shadow: 0 4px 14px rgba(37,99,235,0.25);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 24px rgba(37,99,235,0.4);
  background-position: right center;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 30px rgba(124,58,237,0.25);
}

/* ═══════════════════════════════════════════════════ */
/* PREMIUM NAVBAR REDESIGN                            */
/* ═══════════════════════════════════════════════════ */

/* Header Wrapper - Floating Capsule Container */
.site-header {
  position: fixed !important;
  top: 20px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 90% !important;
  max-width: 1200px !important;
  height: 70px !important;
  z-index: 1000 !important;
  background: rgba(10, 11, 22, 0.75) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 9999px !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.05) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Scrolled state: slightly more compact and darker background */
.site-header.scrolled {
  top: 10px !important;
  height: 64px !important;
  background: rgba(8, 9, 18, 0.92) !important;
  border-color: rgba(99, 102, 241, 0.25) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 15px rgba(99, 102, 241, 0.15) !important;
}

.navbar {
  height: 100% !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 24px !important;
}

.nav-container {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  height: 100% !important;
}

/* ── Logo ── */
.nav-logo {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 800 !important;
  font-size: 1.35rem !important;
  color: #ffffff !important;
  text-decoration: none !important;
  letter-spacing: -0.02em !important;
  flex-shrink: 0 !important;
  transition: transform 0.3s ease !important;
}

.nav-logo:hover {
  transform: scale(1.02) !important;
}

.logo-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #a5b4fc !important;
  filter: drop-shadow(0 0 8px rgba(165, 180, 252, 0.5)) !important;
}

.logo-icon svg {
  width: 24px !important;
  height: 24px !important;
  stroke: #a5b4fc !important;
}

.logo-dot {
  color: #a5b4fc !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: initial !important;
}

/* ── Desktop Nav Links ── */
.nav-links {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.navbar .nav-links {
  position: absolute !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.65) !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  padding: 10px 16px !important;
  border-radius: 9999px !important;
  transition: all 0.25s ease !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  white-space: nowrap !important;
}

.nav-links a:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

/* Active Link State: rounded pill background and centered horizontal underline */
.nav-links a.active {
  color: var(--primary) !important;
  background: rgba(0, 0, 0, 0.05) !important;
  font-weight: 600 !important;
}

.nav-links a.active::after {
  content: '' !important;
  position: absolute !important;
  bottom: 6px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 14px !important;
  height: 2px !important;
  background: #ffffff !important;
  border-radius: 999px !important;
}

/* ── Right Actions ── */
.nav-actions {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

/* Saved Button */
.nav-saved {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  padding: 8px 16px !important;
  border-radius: 9999px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  transition: all 0.3s ease !important;
}

.nav-saved:hover {
  background: rgba(0, 0, 0, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
}

.nav-saved svg {
  stroke: currentColor !important;
  fill: none !important;
}

.nav-saved.active {
  color: var(--primary) !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(79, 70, 229, 0.25) !important;
}

.nav-bookmark-count {
  background: rgba(255, 255, 255, 0.1) !important;
  color: rgba(255, 255, 255, 0.85) !important;
  padding: 2px 8px !important;
  border-radius: 9999px !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  min-width: 20px !important;
  text-align: center !important;
}

/* Get Prompts CTA Button */
.nav-roadmap-btn {
  display: inline-flex !important;
  flex-shrink: 0 !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  padding: 10px 24px !important;
  border-radius: 9999px !important;
  text-decoration: none !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3) !important;
  transition: all 0.3s ease !important;
}

.nav-roadmap-btn:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5) !important;
  filter: brightness(1.1) !important;
}

/* ── Hamburger / Mobile Toggle ── */
.mobile-toggle {
  display: none !important;
  background: none !important;
  border: none !important;
  color: #0f172a !important;
  padding: 8px !important;
  cursor: pointer !important;
  transition: opacity 0.3s ease !important;
}

.mobile-toggle:hover {
  opacity: 0.8 !important;
}

.hamburger-icon {
  display: block !important;
}

.hamburger-icon line {
  transition: transform 0.3s ease, opacity 0.3s ease !important;
  transform-origin: center !important;
}

.mobile-toggle.open .line-mid {
  opacity: 0 !important;
}

.mobile-toggle.open .line-top {
  transform: translateY(6px) rotate(45deg) !important;
}

.mobile-toggle.open .line-bot {
  transform: translateY(-6px) rotate(-45deg) !important;
}

/* ── Mobile Navigation Menu (Full-Screen Overlay Redesign) ── */
.mobile-nav {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(8, 9, 17, 0.98) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 100px 24px 40px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  overflow-y: auto !important;
  transform: translateY(-20px) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  z-index: 999 !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  pointer-events: none !important;
  box-sizing: border-box !important;
}

.mobile-nav.open {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}

.mobile-nav a {
  padding: 16px 24px !important;
  border-radius: 16px !important;
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 1.15rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  transition: all 0.3s ease !important;
  border: 1px solid transparent !important;
  background: transparent !important;
}

.mobile-nav a:hover, 
.mobile-nav a.active {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.mobile-nav a.active {
  color: #a5b4fc !important;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(168, 85, 247, 0.05)) !important;
  border: 1px solid rgba(99, 102, 241, 0.2) !important;
  box-shadow: inset 0 0 20px rgba(99, 102, 241, 0.05) !important;
}

.mobile-nav .nav-roadmap-btn {
  margin-top: 24px !important;
  width: 100% !important;
  padding: 18px !important;
  text-align: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, #4f46e5, #9333ea) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.25) !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
}
/* ── Responsive Styling ── */
@media (max-width: 1150px) {
  .site-header {
    width: 94% !important;
  }
}

@media (max-width: 1050px) {
  .nav-links {
    display: none !important;
  }
  .mobile-toggle {
    display: block !important;
  }
  .nav-actions .nav-search-wrap,
  .nav-actions .nav-saved,
  .nav-actions .nav-roadmap-btn {
    display: none !important;
  }
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 0;
  overflow: hidden;
}

.hero-bg::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0,242,254,0.2) 0%, transparent 70%);
  top: -100px;
  left: -100px;
  border-radius: 50%;
  animation: pulse-glow 6s ease-in-out infinite;
}

.hero-bg::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,8,68,0.15) 0%, transparent 70%);
  bottom: -100px;
  right: -80px;
  border-radius: 50%;
  animation: pulse-glow 8s ease-in-out infinite reverse;
}

@keyframes panMesh {
  0% { transform: translateY(0) translateX(0); }
  100% { transform: translateY(60px) translateX(60px); }
}

.hero-grid {
  position: absolute;
  inset: -120px;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  animation: panMesh 20s linear infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  background: rgba(10, 10, 19, 0.4);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 48px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,242,254,0.1);
  border: 1px solid rgba(0,242,254,0.35);
  color: #6df4ff;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 7px 18px;
  border-radius: 99px;
  margin-bottom: 24px;
  animation: fadeInDown 0.6s ease both;
  box-shadow: 0 0 20px rgba(0,242,254,0.15), inset 0 1px 0 rgba(255,255,255,0.1);
  white-space: nowrap;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: #00f2fe;
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  color: #fff;
  margin-bottom: 24px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  animation: fadeInUp 0.7s ease 0.1s both;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.hero h1 .highlight {
  background: linear-gradient(135deg, #00f2fe, #4facfe, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  filter: drop-shadow(0 0 16px rgba(0, 242, 254, 0.3));
}

.hero p {
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-bottom: 36px;
  max-width: 600px;
  animation: fadeInUp 0.7s ease 0.2s both;
}

.home-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  animation: fadeInUp 0.7s ease 0.4s both;
}

.h-stat {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 16px 24px;
  flex: 1;
  min-width: 140px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.3s ease;
}

.h-stat:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}

.h-stat-num {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #00f2fe, #4facfe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.h-stat-lbl {
  font-size: 0.85rem;
  color: #cbd5e1;
  font-weight: 500;
}

.problem-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: var(--transition);
}

.problem-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.problem-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.problem-icon.blue { background: rgba(0,242,254,0.12); }
.problem-icon.purple { background: rgba(79,172,254,0.12); }
.problem-icon.green { background: rgba(16,185,129,0.15); }
.problem-icon.orange { background: rgba(255,8,68,0.10); }

.problem-card h3,
.problem-card h4 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--text);
  font-weight: 700;
}

.problem-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.cat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: block;
  color: inherit;
}

.cat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0;
  transition: var(--transition);
}

.cat-card:hover::before { opacity: 0.06; }

.cat-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--border-hover);
  box-shadow: 0 16px 40px rgba(0,0,0,0.06), 0 0 20px rgba(124,58,237,0.08);
}

.cat-emoji {
  font-size: 2.4rem;
  margin-bottom: 16px;
  display: block;
  position: relative;
  z-index: 1;
}

.cat-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.cat-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}

.cat-tag {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.cat-tag.blue   { background: rgba(14, 165, 233, 0.08);   color: #0284c7;  border: 1px solid rgba(14, 165, 233, 0.2); }
.cat-tag.purple { background: rgba(139, 92, 246, 0.08);  color: #6d28d9;  border: 1px solid rgba(139, 92, 246, 0.2); }
.cat-tag.green  { background: rgba(16, 185, 129, 0.08);  color: #047857;  border: 1px solid rgba(16, 185, 129, 0.2); }
.cat-tag.orange { background: rgba(244, 63, 94, 0.08);   color: #be123c;  border: 1px solid rgba(244, 63, 94, 0.2); }

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.post-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.post-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06), 0 0 24px rgba(124, 58, 237, 0.06);
}

.post-img {
  height: 180px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  position: relative;
  overflow: hidden;
}

.post-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.15));
}

.post-emoji-wrap {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  position: relative;
  z-index: 2;
}

.post-card:hover .post-emoji-wrap {
  transform: scale(1.1) rotate(5deg);
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.15);
}

.post-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.post-cat {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  background: rgba(79, 70, 229, 0.06);
  color: var(--primary);
  border: 1px solid rgba(79, 70, 229, 0.15);
}

.post-cat.blue   { background: rgba(14, 165, 233, 0.08) !important;   color: #0284c7 !important;  border: 1px solid rgba(14, 165, 233, 0.15) !important; }
.post-cat.purple { background: rgba(139, 92, 246, 0.08) !important;  color: #6d28d9 !important;  border: 1px solid rgba(139, 92, 246, 0.15) !important; }
.post-cat.green  { background: rgba(16, 185, 129, 0.08) !important;  color: #047857 !important;  border: 1px solid rgba(16, 185, 129, 0.15) !important; }
.post-cat.orange { background: rgba(244, 63, 94, 0.08) !important;   color: #be123c !important;  border: 1px solid rgba(244, 63, 94, 0.15) !important; }

.post-date {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.post-card h3 {
  font-size: 1.08rem;
  margin-bottom: 10px;
  color: var(--text);
  font-weight: 700;
  transition: var(--transition-fast);
  flex: 1;
}

.post-card:hover h3 { color: var(--primary); }

.post-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  gap: 10px;
  flex-wrap: wrap;
}

.post-read {
  font-size: 0.8rem;
  color: var(--text-dim);
  white-space: nowrap;
}

.lead-magnet {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.lead-inner {
  background: var(--gradient);
  border-radius: var(--radius-xl);
  padding: 60px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.lead-inner::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
  top: -150px;
  right: -100px;
}

.lead-inner::after {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  bottom: -100px;
  left: 200px;
}

.lead-text { position: relative; z-index: 1; }

.lead-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #fff;
  margin-bottom: 12px;
}

.lead-text p {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  max-width: 480px;
}

.lead-form {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.lead-form input {
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 99px;
  padding: 14px 22px;
  color: #fff;
  font-size: 0.95rem;
  width: 260px;
  backdrop-filter: blur(10px);
  transition: var(--transition-fast);
}

.lead-form input::placeholder { color: rgba(255,255,255,0.6); }
.lead-form input:focus {
  outline: none;
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.2);
}

.lead-form button {
  background: #fff;
  color: var(--primary);
  border-radius: 99px;
  padding: 14px 28px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
  white-space: nowrap;
}

.lead-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,255,255,0.2);
}

.search-bar {
  display: flex;
  gap: 12px;
  max-width: 540px;
  margin-bottom: 32px;
}
.search-bar input {
  flex: 1;
  background: rgba(10, 10, 19, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  padding: 14px 24px;
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}
.search-bar input:focus {
  outline: none;
  border-color: transparent;
  box-shadow: 0 0 0 2px var(--primary), inset 0 2px 4px rgba(0,0,0,0.2);
}
.search-bar input::placeholder { color: var(--text-muted); }

.search-bar button {
  background: var(--gradient);
  color: #fff;
  padding: 14px 28px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}
.search-bar button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 242, 254, 0.5);
}

.tool-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border-radius: 99px;
  margin-left: 6px;
  vertical-align: middle;
  white-space: nowrap;
}
.badge-new  { background: rgba(37,99,235,0.08);  color: #2563eb; border: 1px solid rgba(37,99,235,0.2); }
.badge-pick { background: rgba(217,119,6,0.08); color: #d97706; border: 1px solid rgba(217,119,6,0.2); }

.section-divider {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 0 4px;
}
.section-divider span {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  white-space: nowrap;
}
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.no-results {
  text-align: center;
  padding: 60px 0;
  color: var(--text-muted);
  display: none;
  grid-column: 1 / -1;
}

.tools-count {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.tools-count strong { color: var(--text); }

.compare-banner {
  background: var(--gradient);
  border-radius: var(--radius);
  padding: 28px 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 48px;
  position: relative;
  overflow: hidden;
}
.compare-banner::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  right: -100px; top: -100px;
}
.compare-banner h3 { font-size: 1.3rem; color: #fff; position: relative; z-index: 1; }
.compare-banner p { font-size: 0.9rem; color: rgba(255,255,255,0.8); position: relative; z-index: 1; }
.compare-banner .btn { position: relative; z-index: 1; background: #fff; color: var(--primary); font-weight: 700; white-space: nowrap; flex-shrink: 0; }

.tools-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 32px 0;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 99px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(20,20,35,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
  cursor: pointer;
  white-space: nowrap;
}

.filter-btn:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-1px);
}

.filter-btn.active {
  background: var(--gradient);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 20px rgba(124,58,237,0.45), 0 0 0 1px rgba(124,58,237,0.3);
  transform: translateY(-1px);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.tool-card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 32px;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.tool-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, var(--glow-color, rgba(124, 58, 237, 0.15)) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 0;
}

.tool-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--glow-color, rgba(124, 58, 237, 0.4));
  box-shadow: 0 20px 50px rgba(0,0,0,0.6), 0 0 30px var(--glow-color, rgba(124,58,237,0.15));
}

.tool-card:hover::before {
  opacity: 1;
}

.tool-card[data-cat="writing"] { --glow-color: rgba(16, 185, 129, 0.25); }
.tool-card[data-cat="video"] { --glow-color: rgba(139, 92, 246, 0.25); }
.tool-card[data-cat="image"] { --glow-color: rgba(59, 130, 246, 0.25); }
.tool-card[data-cat="productivity"] { --glow-color: rgba(245, 158, 11, 0.25); }
.tool-card[data-cat="coding"] { --glow-color: rgba(236, 72, 153, 0.25); }
.tool-card[data-cat="research"] { --glow-color: rgba(20, 184, 166, 0.25); }
.tool-card[data-cat="chatbot"] { --glow-color: rgba(99, 102, 241, 0.25); }
.tool-card[data-cat="study"], .tool-card[data-cat="education"] { --glow-color: rgba(30, 64, 175, 0.25); }
.tool-card[data-cat="social"] { --glow-color: rgba(239, 68, 68, 0.25); }
.tool-card[data-cat="music"] { --glow-color: rgba(168, 85, 247, 0.25); }
.tool-card[data-cat="presentations"] { --glow-color: rgba(14, 165, 233, 0.25); }

.tool-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.tool-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tool-card:hover .tool-logo {
  transform: scale(1.15) rotate(-5deg);
}

.tool-info h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.tool-info .tool-category {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.tool-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.stars { color: #f59e0b; font-size: 0.85rem; }
.rating-num { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }

.tool-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  flex: 1;
}

.tool-pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.pros, .cons {
  background: var(--bg);
  border-radius: 10px;
  padding: 12px;
}

.pros-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6ee7b7;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.cons-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: #fca5a5;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.pros li, .cons li {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 2px 0;
}

.pros li::before { content: '✓ '; color: #6ee7b7; }
.cons li::before { content: '✗ '; color: #fca5a5; }

.tool-use-case {
  background: var(--gradient-soft);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.82rem;
  color: #6df4ff;
  margin-bottom: 16px;
}

.tool-use-case strong { color: var(--text); }

.tool-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

.tool-pricing {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
}

.tool-pricing.free { background: rgba(16,185,129,0.15); color: #6ee7b7; }
.tool-pricing.freemium { background: rgba(245,158,11,0.15); color: #fcd34d; }
.tool-pricing.paid { background: rgba(239,68,68,0.12); color: #fca5a5; }

.blog-hero {
  padding: 100px 0 60px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}

.blog-search {
  display: flex;
  gap: 12px;
  max-width: 540px;
  margin: 32px 0;
}

.blog-search input {
  flex: 1;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 99px;
  padding: 12px 22px;
  color: var(--text);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.blog-search input:focus {
  outline: none;
  border-color: var(--primary);
}

.blog-search input::placeholder { color: var(--text-dim); }

.blog-search button {
  background: var(--gradient);
  color: #fff;
  padding: 12px 24px;
  border-radius: 99px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.blog-search button:hover { filter: brightness(1.1); }

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-tag {
  padding: 6px 16px;
  border-radius: 99px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4,0,0.2,1);
  white-space: nowrap;
}

.blog-tag:hover,
.blog-tag.active {
  background: rgba(0,242,254,0.12);
  border-color: rgba(0,242,254,0.4);
  color: #6df4ff;
  transform: translateY(-1px);
}

.blog-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  padding: 60px 0;
}

.blog-main { min-width: 0; }

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.blog-post-card {
  display: flex;
  gap: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.blog-post-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow);
}

.blog-post-img {
  width: 200px;
  min-height: 170px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  flex-shrink: 0;
}

.blog-post-content {
  padding: 24px;
  flex: 1;
}

.blog-post-content h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  transition: var(--transition-fast);
}

.blog-post-card:hover h3 { color: #93c5fd; }

.blog-post-content p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.blog-sidebar { display: flex; flex-direction: column; gap: 28px; }

.sidebar-card {
  background: rgba(26, 26, 62, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.sidebar-card h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.recent-post {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.recent-post:last-child { border-bottom: none; }

.recent-img {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.recent-info h5 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 4px;
  transition: var(--transition-fast);
}

.recent-post:hover h5 { color: #6df4ff; }

.recent-info span {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.about-hero {
  padding: 120px 0 80px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,242,254,0.12) 0%, transparent 70%);
  top: -100px;
  right: -100px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1rem;
}

.about-img-placeholder {
  background: var(--gradient);
  border-radius: var(--radius-xl);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  overflow: hidden;
}

.about-img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.06);
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.mission-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  transition: var(--transition);
}

.mission-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.mission-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 16px;
}

.mission-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.mission-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 80px 0;
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gradient-soft);
  border: 1px solid var(--border-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item h4 { font-size: 0.9rem; margin-bottom: 4px; }
.contact-item p { font-size: 0.875rem; color: var(--text-muted); }

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.contact-form h3 {
  font-size: 1.4rem;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text);
  font-size: 0.95rem;
  transition: var(--transition-fast);
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}

.form-group textarea { min-height: 130px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.free-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  height: 100%;
}
.free-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #10b981, #059669);
  opacity: 0;
  transition: var(--transition);
}
.free-card:hover {
  border-color: rgba(16,185,129,0.4);
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 16px 40px rgba(16,185,129,0.15), 0 0 20px rgba(16,185,129,0.1);
}
.free-card:hover::before { opacity: 1; }
.free-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
}
.free-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.free-card:hover .free-icon {
  transform: scale(1.15) rotate(-5deg);
}
.free-card-title h3 {
  font-size: 1rem;
  margin-bottom: 2px;
}
.free-card-title .cat-tag {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.free-badge-wrap {
  margin-left: auto;
}
.badge-free-green {
  background: rgba(16,185,129,0.15);
  color: #6ee7b7;
  border: 1px solid rgba(16,185,129,0.3);
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  white-space: nowrap;
}
.free-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.free-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.perk-tag {
  font-size: 0.72rem;
  font-weight: 500;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 4px 11px;
  color: var(--text-muted);
  white-space: nowrap;
  transition: all 0.2s ease;
}
.perk-tag:hover {
  border-color: rgba(0,242,254,0.3);
  color: #6df4ff;
}
.free-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.limit-note {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.footer {
  position: relative;
  background: radial-gradient(circle at top center, #0a1428 0%, #040a15 80%);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.footer-glow-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(139, 92, 246, 0.5) 30%, rgba(59, 130, 246, 0.8) 50%, rgba(139, 92, 246, 0.5) 70%, transparent 100%);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.footer-brand .logo {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 15px;
  display: inline-block;
}

.footer-tagline {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 15px 0 35px;
  max-width: 300px;
  background: rgba(255, 255, 255, 0.02);
  padding: 12px 16px;
  border-radius: 8px;
  border-left: 3px solid rgba(139, 92, 246, 0.5);
}

.footer-socials {
  display: flex;
  gap: 15px;
}

.glass-social {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e2e8f0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.glass-social::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.glass-social svg, .glass-social i {
  position: relative;
  z-index: 1;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.glass-social:hover {
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.4);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.2);
}

.footer-col h5 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: #fff;
  position: relative;
  display: inline-block;
}

.footer-col h5::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 24px;
  background: var(--gradient);
  border-radius: 2px;
}

.footer-nav-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-nav-links li a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.footer-nav-links li a:hover {
  color: #a78bfa;
  transform: translateX(5px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-legal-links .divider {
  color: rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
}

.footer-legal-links a {
  font-size: 0.85rem;
  color: var(--text-dim);
  transition: all 0.2s ease;
}

.footer-legal-links a:hover {
  color: #fff;
}

.announce-bar {
  background: var(--gradient);
  text-align: center;
  padding: 10px 24px;
  font-size: 0.85rem;
  font-weight: 500;
  position: relative;
  z-index: 1001;
}

.announce-bar a {
  text-decoration: underline;
  color: #fff;
  opacity: 0.85;
}

.announce-bar a:hover { opacity: 1; }

.page-hero {
  padding: 110px 0 70px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,242,254,0.12) 0%, transparent 70%);
  top: -200px;
  right: -100px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.breadcrumb a { color: var(--text-muted); transition: color 0.2s; }
.breadcrumb a:hover { color: #6df4ff; }
.breadcrumb .sep { color: var(--border); }

.elite-search-bar {
  margin: 40px auto 0;
  max-width: 600px;
  background: rgba(0,0,0,0.4) !important;
  display: flex;
  align-items: center;
  border-radius: 99px;
  padding: 6px;
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.5) !important;
}

.elite-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 24px;
  color: #fff;
  font-size: 1.1rem;
  outline: none;
}

.elite-btn {
  background: linear-gradient(135deg, #FFD700, #F59E0B);
  border: none;
  padding: 14px 36px;
  border-radius: 99px;
  color: #000;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.elite-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

.animate-fade-up {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }
.animate-delay-6 { animation-delay: 0.6s; }
.animate-delay-7 { animation-delay: 0.7s; }
.animate-delay-8 { animation-delay: 0.8s; }

/* Advanced Scroll Reveal Base */
.reveal, .reveal-up, .reveal-left, .reveal-right, .reveal-zoom {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

/* Default reveal is same as reveal-up */
.reveal, .reveal-up {
  transform: translateY(32px);
}

.reveal-left {
  transform: translateX(-32px);
}

.reveal-right {
  transform: translateX(32px);
}

.reveal-zoom {
  transform: scale(0.95);
}

.reveal.visible, .reveal-up.visible, .reveal-left.visible, .reveal-right.visible, .reveal-zoom.visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

@media (max-width: 1024px) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: #10b981;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 1000;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: all;
}

.scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
}
@media (max-width: 1024px) {
  
  .nav-links, .nav-cta { display: none !important; }
  .hamburger { display: flex !important; }
  
  
  .hero-bg::before, .hero-bg::after { display: none !important; }
  .page-hero::before { display: none !important; }
  
  
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { display: none; }
  
  
  .about-grid, .contact-layout { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 992px) {
  :root { --section-pad: 60px; }
  
  
  .hero h1 { font-size: clamp(2.2rem, 5vw, 3rem); }
  .hero-content { display: flex; flex-direction: column; align-items: center; text-align: center; margin: 0 auto; }
  .hero-stats { justify-content: center; }
  
  
  .tools-grid, .posts-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
  .categories-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav-container { padding: 0 16px; }
  
  .btn {
    white-space: normal !important;
    text-align: center;
    justify-content: center;
    max-width: 100%;
  }
  
  .hero { padding-top: calc(var(--nav-height) + 20px); min-height: auto; padding-bottom: 60px; }
  .hero h1 { font-size: clamp(2rem, 8vw, 2.5rem); }
  .hero-stats { gap: 16px; justify-content: center; flex-wrap: wrap; }
  
  
  .search-bar, .blog-search { max-width: 100% !important; flex-direction: column; width: 100%; }
  .search-bar input, .blog-search input { width: 100%; }
  .search-bar button, .blog-search button { width: 100%; }
  
  
  .tools-filter { flex-wrap: wrap; justify-content: center; }

  
  .tools-grid, .free-grid, .posts-grid, .problem-grid, .mission-grid, .tool-pros-cons { grid-template-columns: 1fr !important; }
  
  .blog-post-card { flex-direction: column; }
  .blog-post-img { width: 100%; height: 200px; }
  
  
  .footer-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .footer-brand .nav-logo { justify-content: center; }
  .footer-brand p { margin: 16px auto 24px; }
  .footer-socials { justify-content: center; }
  .footer-col ul { align-items: center; }
  
  
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }
  .section-title { font-size: clamp(1.8rem, 6vw, 2.2rem); text-align: center; }
}

@media (max-width: 480px) {
  .navbar .nav-logo { font-size: 1.05rem; gap: 8px; }
  .nav-logo span { display: inline; }
  
  
  .hero-actions { flex-direction: column; width: 100%; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; margin-bottom: 10px; }
  
  .search-bar { flex-direction: column; width: 100%; }
  .search-bar button { width: 100%; }
  
  .elite-search-bar {
    flex-direction: column;
    border-radius: 16px;
    padding: 12px;
    background: rgba(0,0,0,0.6) !important;
  }
  .elite-input {
    width: 100%;
    margin-bottom: 12px;
    padding: 12px 16px;
  }
  .elite-btn {
    width: 100%;
    border-radius: 12px;
  }
  
  .categories-grid { grid-template-columns: 1fr; }
  
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-legal { flex-wrap: wrap; justify-content: center; gap: 10px; }
  .social-links { justify-content: center; margin-top: 14px; }
  
  .scroll-top { bottom: 16px; right: 16px; width: 38px; height: 38px; font-size: 0.9rem; }
  .announce-bar { font-size: 0.75rem; padding: 10px 16px; }
  .trust-bar { flex-direction: column; align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 768px) {

  
  .hero-bg::before,
  .hero-bg::after {
    animation: none !important;
    
  }

  
  .hero-grid {
    animation: none !important;
    
  }

  
  .hero-badge,
  .hero h1,
  .hero p,
  .hero-actions,
  .hero-stats {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  
  .navbar {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    background: rgba(6, 6, 18, 0.97) !important;
  }

  .mobile-nav {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    background: rgba(6, 6, 18, 0.98) !important;
  }

  
  .hero-content {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    background: rgba(8, 8, 20, 0.88) !important;
    padding: 32px 16px !important;
      box-sizing: border-box !important;
      width: 100% !important;
    }

  
  .nav-cta .btn-primary {
    animation: none !important;
  }

  
  .card:hover,
  .cat-card:hover,
  .post-card:hover,
  .tool-card:hover {
    transform: none !important;
  }
}

section {
  contain: layout style;
}
.footer {
  position: relative;
  background: linear-gradient(180deg, #07111F 0%, #0B1730 100%);
  padding: 80px 0 30px;
}

.footer-glow-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(139, 92, 246, 0.4) 30%, rgba(59, 130, 246, 0.6) 50%, rgba(139, 92, 246, 0.4) 70%, transparent 100%);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-tagline {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 20px 0 30px;
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.glass-social {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e2e8f0;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.glass-social:hover {
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.4);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.2);
}

.footer-col h5 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: #fff;
  position: relative;
  display: inline-block;
}

.footer-col h5::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 24px;
  background: var(--gradient);
  border-radius: 2px;
}

.footer-nav-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-nav-links li a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.footer-nav-links li a:hover {
  color: #a78bfa;
  transform: translateX(5px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-legal-links .divider {
  color: rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
}

.footer-legal-links a {
  font-size: 0.85rem;
  color: var(--text-dim);
  transition: all 0.2s ease;
}

.footer-legal-links a:hover {
  color: #fff;
}

.announce-bar { font-size: 0.66rem !important; padding: 7px 10px !important; }

/* ── 12. MOBILE NAV MENU ────────────────────────────────── */
/* Consolidated at the top of the file */

  /* ── 13. FOOTER ─────────────────────────────────────────── */
  .footer {
  position: relative;
  background: linear-gradient(180deg, #07111F 0%, #0B1730 100%);
  padding: 80px 0 30px;
}

.footer-glow-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(139, 92, 246, 0.4) 30%, rgba(59, 130, 246, 0.6) 50%, rgba(139, 92, 246, 0.4) 70%, transparent 100%);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-tagline {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 20px 0 30px;
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.glass-social {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e2e8f0;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.glass-social:hover {
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.4);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.2);
}

.footer-col h5 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: #fff;
  position: relative;
  display: inline-block;
}

.footer-col h5::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 24px;
  background: var(--gradient);
  border-radius: 2px;
}

.footer-nav-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-nav-links li a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.footer-nav-links li a:hover {
  color: #a78bfa;
  transform: translateX(5px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-legal-links .divider {
  color: rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
}

.footer-legal-links a {
  font-size: 0.85rem;
  color: var(--text-dim);
  transition: all 0.2s ease;
}

.footer-legal-links a:hover {
  color: #fff;
}

.announce-bar { display: none !important; }



/* ── PREMIUM SAAS CARD REDESIGN ── */
.premium-tool-card {
  position: relative;
  z-index: 1;
  background: linear-gradient(145deg, #07111F 0%, #0B1730 50%, #162447 100%);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.25),
    0 2px 10px rgba(255, 255, 255, 0.05),
    inset 0 1px 1px rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.premium-tool-card:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 4px 15px rgba(255, 255, 255, 0.05),
    0 0 0 1px rgba(59, 130, 246, 0.3);
}

.premium-tool-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.premium-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 2;
}

.premium-logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2), inset 0 2px 4px rgba(255,255,255,0.05);
  flex-shrink: 0;
}

.premium-title-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.premium-title {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: #FFFFFF;
  margin: 0;
  letter-spacing: -0.01em;
}

.premium-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #B8C2D0;
  font-weight: 500;
}

.premium-stars {
  background: linear-gradient(90deg, #FFB300, #FDE047);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 14px;
  letter-spacing: 1px;
}

.premium-desc {
  font-size: 15px;
  line-height: 1.6;
  color: #B8C2D0;
  margin: 0;
  margin-bottom: 8px;
  position: relative;
  z-index: 2;
  font-weight: 400;
}

.premium-actions {
  display: flex;
  gap: 12px;
  position: relative;
  z-index: 2;
  margin-top: 8px;
}

.btn-premium-cta {
  flex: 1;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(180deg, #FFB300 0%, #FF8F00 100%);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 18px;
  border: none;
  cursor: pointer;
  box-shadow: 
    0 4px 14px rgba(255, 143, 0, 0.4),
    inset 0 2px 4px rgba(255, 255, 255, 0.3);
  transition: all 250ms cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
}

.btn-premium-cta:hover {
  transform: scale(1.02);
  box-shadow: 
    0 6px 20px rgba(255, 143, 0, 0.6),
    inset 0 2px 4px rgba(255, 255, 255, 0.4);
  filter: brightness(1.05);
}

.btn-premium-ghost {
  height: 48px;
  padding: 0 20px;
  border-radius: 16px;
  background: transparent;
  color: #FFFFFF;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 250ms ease;
  font-family: 'Inter', sans-serif;
}

.btn-premium-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.4);
}
/* --- PREMIUM SAAS GLASS CARDS --- */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: var(--text);
  position: relative;
  overflow: hidden;
}

.hover-lift {
  transition: var(--transition);
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lift);
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.card-header-glass {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.premium-logo {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.card-rating-glass {
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.card-title-glass {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  color: #fff;
}

.card-desc-glass {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.card-tags-glass {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag-glass {
  background: rgba(124, 58, 237, 0.1);
  color: #A78BFA;
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid rgba(124, 58, 237, 0.2);
}

.card-footer-glass {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.card-users-glass {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 500;
}

.card-actions-glass {
  display: flex;
  gap: 8px;
  align-items: center;
}

.btn-ghost-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-ghost-icon:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.btn-cta-glass {
  background: var(--gradient);
  color: #fff;
  border: none;
  height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-cta-glass:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

/* --- RESPONSIVE TOOL GRID --- */
.tools-grid-glass {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.animate-fade {
  opacity: 0;
  animation: fadeInCard 0.5s ease forwards;
}
@keyframes fadeInCard {
  to { opacity: 1; transform: translateY(0); }
  from { opacity: 0; transform: translateY(12px); }
}
/* --- PREMIUM CARD REDESIGN (V2) --- */

/* Grid Default Layout */
.glass-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.card-logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 8px;
}

.card-actions-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: auto;
}

.card-btn-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Premium Buttons */
.btn-save-premium {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  height: 36px;
  padding: 0 14px;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-save-premium svg {
  width: 14px;
  height: 14px;
  transition: all 0.2s ease;
}

.btn-save-premium:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(255,255,255,0.2);
}

.btn-save-premium.saved {
  background: rgba(245, 158, 11, 0.1);
  color: #F59E0B;
  border-color: rgba(245, 158, 11, 0.2);
}

.btn-save-premium.saved svg {
  fill: #F59E0B;
}

.btn-visit-premium {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--gradient);
  color: #fff;
  border: none;
  font-size: 14px;
  font-weight: 600;
  height: 36px;
  padding: 0 18px;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
  text-decoration: none;
}

.btn-visit-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(124, 58, 237, 0.4);
  filter: brightness(1.1);
}

/* --- LIST VIEW OVERRIDES --- */
.list-view .tools-grid-glass {
  grid-template-columns: 1fr;
}

.list-view .glass-card {
  flex-direction: row;
  align-items: center;
  padding: 20px 24px;
  gap: 24px;
}

.list-view .card-main {
  flex-direction: row;
  align-items: center;
  flex: 1;
}

.list-view .card-logo-wrapper {
  margin-bottom: 0;
}

.list-view .card-info {
  gap: 4px;
}

.list-view .card-meta {
  margin-top: 4px;
  padding-top: 0;
}

.list-view .card-actions-wrapper {
  flex-direction: row;
  align-items: center;
  gap: 20px;
  padding-top: 0;
  border-top: none;
  margin-top: 0;
  min-width: max-content;
}

@media (max-width: 768px) {
  .list-view .glass-card {
    flex-direction: column;
    align-items: stretch;
  }
  .list-view .card-main {
    flex-direction: column;
    align-items: flex-start;
  }
  .list-view .card-actions-wrapper {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.05);
  }
}

/* =========================================================================
   PREMIUM LOAD MORE BUTTON
   ========================================================================= */
.load-more-wrap {
  text-align: center; 
  margin: 60px auto 40px;
}

.btn-load-more, .btn-load-more-blog {
  position: relative; 
  overflow: hidden; 
  z-index: 1;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.9), rgba(124, 58, 237, 0.9));
  color: #fff; 
  font-weight: 800; 
  font-size: 0.95rem; 
  letter-spacing: 0.05em; 
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 16px 40px; 
  border-radius: 99px; 
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-load-more::before, .btn-load-more-blog::before {
  content: ''; 
  position: absolute; 
  inset: 0; 
  border-radius: 99px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 1), rgba(139, 92, 246, 1));
  opacity: 0; 
  transition: opacity 0.4s ease; 
  z-index: -1;
}

.btn-load-more:hover, .btn-load-more-blog:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 12px 35px rgba(99, 102, 241, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  color: #fff;
}

.btn-load-more:hover::before, .btn-load-more-blog:hover::before {
  opacity: 1;
}

.btn-load-more:active, .btn-load-more-blog:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.load-more-count, .load-more-progress { 
  color: rgba(255,255,255,0.5); 
  font-size: 0.85rem; 
  margin-top: 20px; 
  display: block; 
  font-weight: 500;
}

/* =========================================================================
   PREMIUM UX / HUMANIZED MODULES
   ========================================================================= */

/* 1. "Your Guide to Navigating" Module */
.nav-guide-container {
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 40px;
  margin-bottom: 48px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: border-color 0.4s ease;
}

.nav-guide-container:hover {
  border-color: rgba(99, 102, 241, 0.2);
}

.nav-guide-container::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.6), transparent);
}

.nav-guide-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 20px;
}

.nav-guide-title {
  font-size: 2rem;
  color: #fff;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.nav-guide-subtitle {
  color: #94A3B8;
  font-size: 1.05rem;
  max-width: 600px;
  line-height: 1.6;
}

.nav-guide-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 8px 16px;
  border-radius: 99px;
  color: #6EE7B7;
  font-size: 0.8rem;
  font-weight: 700;
}

.nav-guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.nav-step {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 24px;
  border-radius: 16px;
  position: relative;
}

.nav-step-number {
  position: absolute;
  top: -12px;
  left: 24px;
  background: #6366F1;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: 0 4px 10px rgba(99, 102, 241, 0.4);
}

.nav-step h4 {
  color: #F8FAFC;
  font-size: 1.1rem;
  margin-bottom: 6px;
  margin-top: 4px;
}

.nav-step p {
  color: #94A3B8;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* 2. Editorial Notes in Tool Cards */
.editorial-note {
  background: rgba(99, 102, 241, 0.08);
  border-left: 3px solid #6366F1;
  padding: 12px 16px;
  border-radius: 0 12px 12px 0;
  margin-top: 16px;
  font-size: 0.85rem;
  color: #CBD5E1;
  line-height: 1.5;
  position: relative;
}

.editorial-note strong {
  color: #A5B4FC;
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

/* 3. Refined Verified Badge ("Editorial Pick") */
.badge-editorial {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  color: #10B981;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.1);
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* 4. "Why Trust Us?" Module */
.trust-module {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 32px;
  margin-top: 60px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.trust-module-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.trust-module h3 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.trust-module p {
  color: #94A3B8;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* 5. Conversational Empty State */
.conversational-empty {
  text-align: center;
  padding: 60px 20px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 24px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  margin-top: 40px;
}

.conversational-empty h3 {
  color: #F8FAFC;
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.conversational-empty p {
  color: #94A3B8;
  max-width: 500px;
  margin: 0 auto;
}

  /* ?? PREMIUM FOOTER OVERRIDES ?? */
  .footer {
    position: relative;
    background: radial-gradient(circle at top center, #0a1428 0%, #040a15 80%) !important;
    padding: 80px 0 40px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    overflow: visible !important;
  }

  .footer-glow-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(139, 92, 246, 0.5) 30%, rgba(59, 130, 246, 0.8) 50%, rgba(139, 92, 246, 0.5) 70%, transparent 100%);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr !important;
    gap: 50px !important;
    margin-bottom: 60px !important;
    position: relative;
    z-index: 2;
  }

  .footer-brand .logo {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    display: inline-block;
  }

  .footer-tagline {
    font-size: 1rem !important;
    line-height: 1.7 !important;
    color: var(--text-muted) !important;
    margin: 15px 0 35px !important;
    max-width: 300px !important;
    background: rgba(255, 255, 255, 0.02);
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 3px solid rgba(139, 92, 246, 0.5);
  }

  .footer-socials {
    display: flex;
    gap: 15px !important;
  }

  .glass-social {
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #e2e8f0 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    backdrop-filter: blur(10px) !important;
    position: relative !important;
    overflow: visible !important;
  }

  .glass-social::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
  }
  
  .glass-social svg, .glass-social i {
    position: relative;
    z-index: 1;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
  }

  .glass-social:hover {
    border-color: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3) !important;
  }
  
  .glass-social:hover::before {
    opacity: 0.15;
  }

  .glass-social:hover svg, .glass-social:hover i {
    transform: scale(1.1);
  }

  .footer-col h5 {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    margin-bottom: 28px !important;
    color: #fff !important;
    position: relative !important;
    display: inline-block !important;
    letter-spacing: 0.5px;
  }

  .footer-col h5::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px !important;
    height: 2px !important;
    width: 30px !important;
    background: var(--gradient) !important;
    border-radius: 2px !important;
    box-shadow: 0 0 8px rgba(139, 92, 246, 0.5);
  }

  .footer-nav-links {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }

  .footer-nav-links li a {
    font-size: 0.95rem !important;
    color: #94a3b8 !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    position: relative !important;
  }

  .footer-nav-links li a::before {
    content: "\2192";
    position: absolute;
    left: -20px;
    opacity: 0;
    color: #a78bfa;
    transition: all 0.3s ease;
    font-size: 1.1rem;
  }

  .footer-nav-links li a:hover {
    color: #fff !important;
    transform: translateX(20px) !important;
    text-shadow: 0 0 8px rgba(139, 92, 246, 0.4);
  }

  .footer-nav-links li a:hover::before {
    opacity: 1;
    left: -18px;
  }

  .footer-bottom {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-top: 35px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    position: relative;
    z-index: 2;
  }

  .footer-copy {
    font-size: 0.9rem !important;
    color: var(--text-dim) !important;
  }

  .footer-copy .heart {
    color: #ef4444;
    display: inline-block;
    animation: pulseHeart 2s infinite;
  }

  @keyframes pulseHeart {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
  }

  .footer-legal-links {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
  }

  .footer-legal-links .divider {
    color: rgba(255, 255, 255, 0.15) !important;
    font-size: 0.9rem !important;
  }

  .footer-legal-links a {
    font-size: 0.9rem !important;
    color: #94a3b8 !important;
    transition: all 0.2s ease !important;
  }

  .footer-legal-links a:hover {
    color: #fff !important;
  }

  @media (max-width: 992px) {
    .footer-grid { grid-template-columns: 1fr 1fr !important; }
    .footer-brand { grid-column: span 2 !important; }
  }

  @media (max-width: 576px) {
    .footer-grid { grid-template-columns: 1fr !important; gap: 40px !important; }
    .footer-brand { grid-column: span 1 !important; }
    .footer-bottom { flex-direction: column !important; gap: 20px !important; text-align: center !important; }
  }



/* =========================================
   FOOTER NAVBAR DESIGN
   ========================================= */
.footer-navbar {
  position: relative;
  width: calc(100% - 40px);
  max-width: 1300px;
  height: 70px;
  margin: 60px auto 30px auto;
  background: rgba(15, 15, 25, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  transition: all 0.4s ease;
  z-index: 10;
}

.footer-navbar .nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 20px;
}

.footer-navbar .nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

.footer-navbar .nav-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(168, 85, 247, 0.2));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--primary);
}

.footer-navbar .nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
}

.footer-navbar .nav-links a {
  color: var(--gray-light);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 8px 12px;
  border-radius: 8px;
}

.footer-navbar .nav-links a:hover,
.footer-navbar .nav-links a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.footer-navbar .saved-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gray-light);
}

.footer-navbar .saved-link svg {
  width: 16px;
  height: 16px;
}

.footer-navbar .nav-bookmark-count {
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 10px;
  font-weight: 700;
}

.footer-navbar .nav-roadmap-btn {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff !important;
  padding: 8px 16px !important;
  border-radius: 12px !important;
  font-weight: 600 !important;
  border: none;
  transition: all 0.3s ease;
}

.footer-navbar .nav-roadmap-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
}

@media (max-width: 900px) {
  .footer-navbar {
    height: auto;
    padding: 20px 0;
    flex-direction: column;
    border-radius: 20px;
  }
  .footer-navbar .nav-container {
    flex-direction: column;
    gap: 20px;
    padding: 0 20px;
    height: auto;
  }
  .footer-navbar .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
}

/* Premium Socials Hover */
.premium-socials a:hover {
  background: rgba(255,255,255,0.1) !important;
  border-color: rgba(255,255,255,0.2) !important;
  color: #fff !important;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Premium Footer Nav Hover */
.premium-footer-nav a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}
.premium-footer-nav a::before {
  content: '→';
  margin-right: 6px;
  font-size: 0.8rem;
  color: #6366f1;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}
.premium-footer-nav a:hover {
  color: #fff;
  transform: translateX(4px);
}
.premium-footer-nav a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* Premium Legal Links */
.premium-legal-links a:hover {
  color: #fff !important;
  text-decoration: underline !important;
}

/* Premium Scroll Top Button */
.premium-scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, #10b981, #059669);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4), inset 0 1px 0 rgba(255,255,255,0.2);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
}
.premium-scroll-top.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.premium-scroll-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.6), inset 0 1px 0 rgba(255,255,255,0.3);
}

/* Premium Get Prompts Nav Button */
.nav-roadmap-btn {
  white-space: nowrap !important;
  background: linear-gradient(135deg, #4f46e5, #9333ea) !important;
  color: #fff !important;
  font-weight: 600 !important;
  padding: 10px 20px !important;
  border-radius: 12px !important;
  display: flex;
  flex-shrink: 0 !important;
  align-items: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3), inset 0 1px 0 rgba(255,255,255,0.2) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  position: relative;
  overflow: hidden;
}
.nav-roadmap-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: skewX(-20deg);
  transition: all 0.6s ease;
}
.nav-roadmap-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5), inset 0 1px 0 rgba(255,255,255,0.3) !important;
}
.nav-roadmap-btn:hover::before {
  left: 200%;
}

/* ==========================================
     NEW PROFESSIONAL UI
========================================== */

/* CUSTOMIZE: Theme Variables */
:root {
  --base-bg: #0A0F1C;
  --surface: #111827;
  --footer-bg: #070B14;
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --accent-start: #6366F1;
  --accent-end: #8B5CF6;
  --border-light: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);
  
  --max-width: 1280px;
  --nav-height: 80px;
  --nav-height-scrolled: 64px;
  --ease-spring: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 200ms var(--ease-spring);
  --transition-med: 350ms var(--ease-spring);
}

/* ================= HEADER & NAVBAR ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  transition: background var(--transition-med), backdrop-filter var(--transition-med), border var(--transition-med);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(10, 15, 28, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.navbar {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: height var(--transition-med);
}

.site-header.scrolled .navbar {
  height: var(--nav-height-scrolled);
}

/* Brand Logo */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.125rem;
  z-index: 51;
  transition: transform var(--transition-med);
  will-change: transform;
}
.site-header.scrolled .nav-brand { transform: scale(0.95); }
.brand-icon { color: var(--accent-start); }

/* Navigation Links (Desktop) */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-start), var(--accent-end));
  transition: width var(--transition-med);
  border-radius: 2px;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--text-primary);
}
.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}
.nav-links a.active {
  text-shadow: 0 0 12px rgba(99, 102, 241, 0.4);
}

/* Actions & Button */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 51;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  border-radius: 8px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  will-change: transform;
}

.btn-primary:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}
.btn-primary:active {
  transform: scale(0.98);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  color: var(--text-primary);
  padding: 8px;
  margin-right: -8px;
}

/* ================= FOOTER ================= */
.site-footer {
  background-color: var(--footer-bg);
  border-top: 1px solid var(--border-light);
  margin-top: auto;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 32px;
}

.footer-col.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms var(--ease-spring), transform 600ms var(--ease-spring);
  will-change: opacity, transform;
}
.footer-col.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 16px;
}
.footer-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 280px;
}

.footer-heading {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  font-size: 13px;
  color: var(--text-secondary);
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
  will-change: transform;
}
.footer-links a:hover {
  color: var(--accent-start);
  transform: translateX(4px);
}

/* Newsletter & Social */
.newsletter-form {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  position: relative;
}
.newsletter-form input {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 10px 14px;
  color: var(--text-primary);
  font-size: 13px;
  font-family: inherit;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.newsletter-form input:focus {
  outline: none;
  border-color: var(--accent-start);
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}
.btn-submit {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 0 14px;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}
.newsletter-form input:valid ~ .btn-submit {
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  color: #fff;
  border-color: transparent;
}

.social-links {
  display: flex;
  gap: 16px;
}
.social-links a {
  color: var(--text-secondary);
  transition: color var(--transition-fast), transform var(--transition-fast), filter var(--transition-fast);
  will-change: transform;
}
.social-links a:hover {
  color: var(--accent-start);
  transform: translateY(-2px);
  filter: drop-shadow(0 4px 8px rgba(99, 102, 241, 0.4));
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-secondary);
}
.legal-links { display: flex; gap: 24px; }
.legal-links a:hover { color: var(--text-primary); }

/* ================= BACK TO TOP ================= */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-med);
  z-index: 40;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--accent-start);
  border-color: transparent;
  transform: translateY(-4px);
}

/* ================= RESPONSIVE ================= */
/* Tablet */
@media (max-width: 1024px) {
  .nav-links { gap: 20px; }
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 320px;
    background: var(--footer-bg);
    border-left: 1px solid var(--border-light);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 32px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 300ms var(--ease-spring);
  }
  
  .nav-links.nav-open {
    transform: translateX(0);
    box-shadow: -20px 0 40px rgba(0,0,0,0.5);
  }
  
  .nav-links a { font-size: 18px; }
  .nav-links a::after { display: none; }
  
  .mobile-toggle { display: block; }
  .btn-primary { display: none; }
  
  /* Hamburger Animation */
  .hamburger-icon line {
    transition: transform var(--transition-fast), opacity var(--transition-fast);
    transform-origin: center;
  }
  .mobile-toggle[aria-expanded="true"] .line-top { transform: translateY(6px) rotate(45deg); }
  .mobile-toggle[aria-expanded="true"] .line-mid { opacity: 0; }
  .mobile-toggle[aria-expanded="true"] .line-bot { transform: translateY(-6px) rotate(-45deg); }

  .footer-container {
    grid-template-columns: 1fr;
    padding: 48px 24px;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* PREFERS REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .footer-col.fade-up { opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════════════════ */
/* PREMIUM FOOTER REDESIGN                            */
/* ═══════════════════════════════════════════════════ */

.site-footer {
  background-color: #080911 !important;
  color: rgba(255, 255, 255, 0.65) !important;
  padding: 80px 5% 40px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
  font-family: 'Inter', sans-serif !important;
}

.footer-top {
  display: grid !important;
  grid-template-columns: 2fr 1fr 1fr 1fr !important;
  gap: 40px !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding-bottom: 60px !important;
}

.footer-brand-col {
  max-width: 320px !important;
}

.footer-brand-logo {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  color: #ffffff !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  margin-bottom: 24px !important;
  font-family: 'Poppins', sans-serif !important;
}

.footer-brand-logo span {
  color: #ffffff !important;
}

.footer-brand-logo .logo-dot {
  color: #a5b4fc !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: initial !important;
}

.footer-brand-logo svg.brand-icon {
  stroke: #a5b4fc !important;
  filter: drop-shadow(0 0 8px rgba(165, 180, 252, 0.5)) !important;
}

.footer-description {
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: rgba(255, 255, 255, 0.6) !important;
  margin-bottom: 30px !important;
  font-weight: 400 !important;
}

.footer-socials {
  display: flex !important;
  gap: 16px !important;
}

.footer-socials a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  color: rgba(255, 255, 255, 0.75) !important;
  transition: all 0.3s ease !important;
}

.footer-socials a:hover {
  background: #6366f1 !important;
  border-color: #6366f1 !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4) !important;
}

.footer-socials a svg {
  width: 20px !important;
  height: 20px !important;
}

.footer-heading {
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  margin-bottom: 24px !important;
}

.footer-nav {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.6) !important;
  text-decoration: none !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  transition: color 0.25s ease !important;
}

.footer-nav a:hover {
  color: #ffffff !important;
}

.footer-bottom {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding-top: 32px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 20px !important;
}

.footer-copyright {
  font-size: 13px !important;
  color: rgba(255, 255, 255, 0.5) !important;
  font-weight: 400 !important;
}

.footer-legal-links {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.5) !important;
  text-decoration: none !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  transition: color 0.25s ease !important;
}

.footer-legal-links a:hover {
  color: #ffffff !important;
}

.footer-legal-links .divider {
  color: rgba(255, 255, 255, 0.2) !important;
  font-size: 12px !important;
}

/* Back to Top Scroll Button */
.premium-scroll-top, .back-to-top {
  position: fixed !important;
  bottom: 30px !important;
  right: 30px !important;
  width: 46px !important;
  height: 46px !important;
  background: linear-gradient(135deg, #3b82f6, #6366f1) !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  cursor: pointer !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  z-index: 1000 !important;
}

.premium-scroll-top.visible, .back-to-top.visible {
  opacity: 1 !important;
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .footer-col.fade-up { opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════════════════ */
/* PREMIUM FOOTER REDESIGN                            */
/* ═══════════════════════════════════════════════════ */

.site-footer {
  background-color: #080911 !important;
  color: rgba(255, 255, 255, 0.65) !important;
  padding: 80px 5% 40px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
  font-family: 'Inter', sans-serif !important;
}

.footer-top {
  display: grid !important;
  grid-template-columns: 2fr 1fr 1fr 1fr !important;
  gap: 40px !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding-bottom: 60px !important;
}

.footer-brand-col {
  max-width: 320px !important;
}

.footer-brand-logo {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  color: #ffffff !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  margin-bottom: 24px !important;
  font-family: 'Poppins', sans-serif !important;
}

.footer-brand-logo span {
  color: #ffffff !important;
}

.footer-brand-logo .logo-dot {
  color: #a5b4fc !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: initial !important;
}

.footer-brand-logo svg.brand-icon {
  stroke: #a5b4fc !important;
  filter: drop-shadow(0 0 8px rgba(165, 180, 252, 0.5)) !important;
}

.footer-description {
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: rgba(255, 255, 255, 0.6) !important;
  margin-bottom: 30px !important;
  font-weight: 400 !important;
}

.footer-socials {
  display: flex !important;
  gap: 16px !important;
}

.footer-socials a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  color: rgba(255, 255, 255, 0.75) !important;
  transition: all 0.3s ease !important;
}

.footer-socials a:hover {
  background: #6366f1 !important;
  border-color: #6366f1 !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4) !important;
}

.footer-socials a svg {
  width: 20px !important;
  height: 20px !important;
}

.footer-heading {
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  margin-bottom: 24px !important;
}

.footer-nav {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.6) !important;
  text-decoration: none !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  transition: color 0.25s ease !important;
}

.footer-nav a:hover {
  color: #ffffff !important;
}

.footer-bottom {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding-top: 32px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 20px !important;
}

.footer-copyright {
  font-size: 13px !important;
  color: rgba(255, 255, 255, 0.5) !important;
  font-weight: 400 !important;
}

.footer-legal-links {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.5) !important;
  text-decoration: none !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  transition: color 0.25s ease !important;
}

.footer-legal-links a:hover {
  color: #ffffff !important;
}

.footer-legal-links .divider {
  color: rgba(255, 255, 255, 0.2) !important;
  font-size: 12px !important;
}

/* Back to Top Scroll Button */
.premium-scroll-top, .back-to-top {
  position: fixed !important;
  bottom: 30px !important;
  right: 30px !important;
  width: 46px !important;
  height: 46px !important;
  background: linear-gradient(135deg, #3b82f6, #6366f1) !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  cursor: pointer !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  z-index: 1000 !important;
}

.premium-scroll-top.visible, .back-to-top.visible {
  opacity: 1 !important;
  pointer-events: all !important;
  transform: translateY(0) !important;
}

.premium-scroll-top:hover, .back-to-top:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  filter: brightness(1.1) !important;
}

/* Responsive Footer */
@media (max-width: 992px) {
  .footer-top {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 640px) {
  .footer-top {
    grid-template-columns: 1fr !important;
    gap: 15px !important; /* Tighter gap since columns now stack and collapse */
    padding-bottom: 30px !important;
  }
  
  .footer-nav-col {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    padding-bottom: 5px !important;
  }
  
  .footer-nav-col:last-child {
    border-bottom: none !important;
  }
  
  .footer-heading {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    cursor: pointer !important;
    padding: 12px 0 !important;
    margin-bottom: 0 !important;
    outline: none !important;
    user-select: none !important;
  }

  .footer-heading::after {
    content: '+' !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    transition: transform 0.25s ease !important;
    color: var(--text-muted) !important;
  }

  .footer-nav-col.active .footer-heading::after {
    content: '−' !important; /* En-dash/Minus character */
    transform: rotate(180deg) !important;
  }

  .footer-nav {
    max-height: 0 !important;
    overflow: visible !important;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1) !important;
    padding-left: 0 !important;
    opacity: 0 !important;
  }

  .footer-nav-col.active .footer-nav {
    max-height: 500px !important;
    opacity: 1 !important;
    transition: max-height 0.4s cubic-bezier(0.9, 0, 0.1, 1), opacity 0.3s ease !important;
    padding-top: 12px !important;
    padding-bottom: 15px !important;
  }
  
  .footer-bottom {
    flex-direction: column !important;
    text-align: center !important;
    justify-content: center !important;
    gap: 15px !important;
    padding-top: 24px !important;
  }
  
  .footer-legal-links {
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 12px 16px !important;
  }
}

@media (max-width: 320px) {
  .site-footer { padding: 40px 15px 80px !important; overflow-x: hidden !important; }
  .footer-socials { gap: 10px !important; flex-wrap: wrap !important; }
  .footer-socials a { width: 36px !important; height: 36px !important; }
  .footer-description { font-size: 13px !important; word-break: break-word !important; }
}


/* =========================================
   PROFESSIONAL MODERN NAVBAR REDESIGN
   ========================================= */

/* Header & Glassmorphism Surface */
.site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  background: rgba(10, 15, 28, 0.65) !important;
  backdrop-filter: blur(16px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Subtle glowing bottom border using a pseudo-element */
.site-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), rgba(6, 182, 212, 0.5), transparent) !important;
  opacity: 0.7;
}

.navbar {
  height: 80px !important;
  transition: height 0.4s ease !important;
}

.site-header.scrolled .navbar {
  height: 65px !important;
}

/* Brand Logo - Gradient Text */
.nav-brand {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  text-decoration: none !important;
  transition: transform 0.3s ease !important;
}

.nav-brand:hover {
  transform: scale(1.02) !important;
}

.nav-brand span {
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  background: linear-gradient(135deg, #a855f7 0%, #6366f1 50%, #06b6d4 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  color: transparent !important;
  letter-spacing: -0.5px !important;
}

.nav-brand svg.brand-icon {
  stroke: #a855f7 !important;
  filter: drop-shadow(0 0 6px rgba(168, 85, 247, 0.4)) !important;
}

/* Navigation Links - Modern Hover Pill */
.nav-links {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important; /* Tighter gap, padding handles spacing */
  background: rgba(255, 255, 255, 0.03) !important;
  padding: 6px 8px !important;
  border-radius: 100px !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.nav-links a {
  position: relative !important;
  color: #94a3b8 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  padding: 8px 16px !important;
  border-radius: 100px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  z-index: 1 !important;
}

.nav-links a::after {
  display: none !important; /* Hide old underline */
}

/* Hover & Active states */
.nav-links a:hover, 
.nav-links a.active {
  color: var(--primary) !important;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.08) !important;
}

.nav-links a.active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(6, 182, 212, 0.15)) !important;
  border: 1px solid rgba(99, 102, 241, 0.3) !important;
  box-shadow: inset 0 0 10px rgba(99, 102, 241, 0.1) !important;
}

/* Actions Area */
.nav-actions {
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
}

/* Saved Link */
.saved-link {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: #e2e8f0 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  transition: color 0.3s ease !important;
}

.saved-link:hover {
  color: #06b6d4 !important;
}

.saved-link svg {
  stroke: #94a3b8 !important;
  transition: stroke 0.3s ease !important;
}

.saved-link:hover svg {
  stroke: #06b6d4 !important;
}

/* Neon Pulse Saved Badge */
.saved-count {
  background: linear-gradient(135deg, #ec4899, #f43f5e) !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  padding: 2px 8px !important;
  border-radius: 12px !important;
  box-shadow: 0 0 10px rgba(236, 72, 153, 0.5) !important;
  animation: pulse-neon 2s infinite !important;
}

@keyframes pulse-neon {
  0% { box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.6); }
  70% { box-shadow: 0 0 0 6px rgba(236, 72, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(236, 72, 153, 0); }
}

/* Primary CTA Button (Get Prompts) */
.btn-primary {
  background: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%) !important;
  background-size: 200% auto !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  padding: 10px 24px !important;
  border-radius: 100px !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3) !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.btn-primary:hover {
  background-position: right center !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(168, 85, 247, 0.5) !important;
  color: #fff !important;
}

/* Mobile Toggle Hamburger */
.mobile-toggle,
button.mobile-toggle,
#mobile-toggle {
  color: #0f172a !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-style: none !important;
  outline: none !important;
  padding: 8px !important;
  cursor: pointer !important;
  display: none !important;
  box-shadow: none !important;
}

@media (max-width: 992px) {
  .mobile-toggle,
  button.mobile-toggle,
  #mobile-toggle {
    display: block !important;
  }
}

@media (max-width: 992px) {
  .nav-links {
    display: none !important; /* Hide pill container on mobile */
  }
}

/* =========================================
   NAVBAR ALIGNMENT & BUTTON TWEAKS
   ========================================= */

.nav-links {
  position: static !important;
  transform: none !important;
  margin: 0 auto !important; /* Forces it to center if space-between is used */
}

/* Actions Area */
.nav-actions {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important; /* Tighter gap */
}

/* Saved Link Refinement */
.saved-link {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: #e2e8f0 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 6px 14px !important;
  border-radius: 100px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
}

.saved-link:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: #fff !important;
}

.saved-link svg {
  width: 16px !important;
  height: 16px !important;
  stroke: #94a3b8 !important;
}

.saved-link:hover svg {
  stroke: #fff !important;
}

/* Neon Pulse Saved Badge Refinement */
.saved-count {
  font-size: 11px !important;
  padding: 1px 6px !important;
  border-radius: 10px !important;
  margin-left: 2px !important;
  line-height: 1.2 !important;
}

/* Primary CTA Button (Get Prompts) Refinement */
.btn-primary {
  font-size: 13px !important;
  padding: 8px 18px !important;
  letter-spacing: 0.2px !important;
}

/* =========================================
   FLOATING NAVBAR & HAIRLINE BORDER
   ========================================= */

.site-header {
  top: 16px !important; /* Float down from the very top */
  width: 95% !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
  border-radius: 20px !important; /* Little round sides */
  /* Hairline light color border */
  border: 1px solid rgba(255, 255, 255, 0.15) !important; 
  /* Subtle inner light reflection (hair light) */
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.2) !important;
}


.nav-brand span {
  background: linear-gradient(135deg, #ffffff 0%, #2dd4bf 50%, #0ea5e9 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  color: transparent !important;
  letter-spacing: -0.5px !important;
}

.nav-brand svg.brand-icon {
  stroke: #7C3AED !important;
  filter: drop-shadow(0 0 6px rgba(124, 58, 237, 0.4)) !important;
}


/* =========================================
   NEW ELITE HERO SECTION
   ========================================= */

.new-elite-hero {
  position: relative;
  padding: 160px 0 100px; /* Extra top padding to clear floating navbar */
  background-color: #12142B; /* Dark indigo from image */
  overflow: hidden;
  text-align: center;
}

/* Faint "+" grid pattern */
.elite-hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='48' height='48' viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M24 18v12M18 24h12' stroke='rgba(255, 255, 255, 0.04)' stroke-width='1.5' fill='none' fill-rule='evenodd' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 48px 48px;
  z-index: 1;
}

/* Soft glowing orb behind the content */
.elite-hero-bg::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 500px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, rgba(18, 20, 43, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.elite-hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

/* Top Badge */
.elite-top-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 215, 0, 0.2);
  color: #FFD700;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 30px;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.elite-diamond {
  font-size: 14px;
}

/* Typography */
.elite-headline {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  line-height: 1.1;
  font-weight: 900;
  margin-bottom: 24px;
  letter-spacing: -1px;
}
.elite-text-yellow {
  color: #FFD700;
}
.elite-text-white {
  color: #FFFFFF;
}

.elite-description {
  color: #e2e8f0;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.6;
  max-width: 700px;
  margin-bottom: 40px;
  font-weight: 500;
}

/* 3 Stat Badges */
.elite-stats-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}
.elite-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f8fafc;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 100px;
}
.elite-stat-icon {
  font-size: 14px;
}

/* Search Form */
.elite-search-form {
  display: flex;
  align-items: center;
  background: rgba(15, 17, 35, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  padding: 6px 6px 6px 24px;
  width: 100%;
  max-width: 650px;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}
.elite-search-form:focus-within {
  border-color: rgba(255, 215, 0, 0.3);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 215, 0, 0.1);
}

.elite-search-icon {
  stroke: #94a3b8;
  flex-shrink: 0;
}

.elite-search-input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 16px;
  padding: 12px 16px;
  outline: none;
  min-width: 0;
  font-weight: 500;
}
.elite-search-input::placeholder {
  color: #64748b;
  font-weight: 400;
}

.elite-search-btn {
  background: #FFD700;
  color: #000;
  border: none;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}
.elite-search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
  background: #FFC000;
}

/* Mobile Responsive Tweaks */
@media (max-width: 640px) {
  .elite-search-form {
    flex-direction: column;
    border-radius: 20px;
    padding: 12px;
    gap: 12px;
  }
  .elite-search-icon {
    display: none;
  }
  .elite-search-input {
    width: 100%;
    text-align: center;
    padding: 8px;
  }
  .elite-search-btn {
    width: 100%;
    padding: 16px;
  }
  .new-elite-hero {
    padding: 130px 0 80px;
  }
}

/* =========================================
   HERO PADDING TWEAK (MOVE DOWN)
   ========================================= */

.new-elite-hero {
  min-height: auto !important;
  padding-top: 140px !important; /* Push content further down to clear the floating navbar */
  padding-bottom: 60px !important;
}

@media (max-width: 640px) {
  .new-elite-hero {
    padding-top: 110px !important; 
    padding-bottom: 40px !important;
  }
}

/* =========================================
   FORCE HERO CONTENT DOWN
   ========================================= */

.elite-hero-content {
  margin-top: 0px !important; /* Forces the text to move down, away from the navbar */
}

@media (max-width: 640px) {
  .elite-hero-content {
    margin-top: 0px !important; 
  }
}

/* =========================================
   TOP BADGE EXPLICIT UPSIDE MARGIN
   ========================================= */

.elite-top-badge {
  margin-top: 0px !important; /* Upside margin specifically for the text badge */
}

@media (max-width: 640px) {
  .elite-top-badge {
    margin-top: 0px !important;
  }
}

/* =========================================
   MAKE HERO SECTION BIGGER
   ========================================= */

.new-elite-hero {
  /* No padding bottom override here to keep it small */
}

.elite-hero-content {
  max-width: 1100px !important;
}

/* Make Headline Huge */
.elite-headline {
  font-size: clamp(3rem, 8vw, 5.5rem) !important;
  margin-bottom: 30px !important;
}

/* Make Description Larger */
.elite-description {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem) !important;
  max-width: 850px !important;
  margin-bottom: 50px !important;
}

/* Make Stat Badges Larger */
.elite-stat-pill {
  font-size: 15px !important;
  padding: 12px 24px !important;
}
.elite-stat-icon {
  font-size: 16px !important;
}

/* Make Search Bar Massive */
.elite-search-form {
  max-width: 850px !important;
  padding: 8px 8px 8px 30px !important;
}
.elite-search-input {
  font-size: 18px !important;
  padding: 16px 20px !important;
}
.elite-search-btn {
  font-size: 17px !important;
  padding: 18px 44px !important;
}
.elite-search-icon {
  width: 24px !important;
  height: 24px !important;
}

@media (max-width: 640px) {
  .elite-headline {
    font-size: 2.8rem !important;
  }
  .elite-search-form {
    padding: 12px !important;
  }
}

/* =========================================
   REDUCE SPACING BELOW NAVBAR
   ========================================= */

/* Reset the massive spacing added previously to a perfectly balanced professional gap */
.new-elite-hero {
  padding-top: 160px !important; /* Clears the 80px navbar cleanly */
}

.elite-hero-content {
  margin-top: 0 !important; /* Remove the extra 100px gap */
}

.elite-top-badge {
  margin-top: 20px !important; /* Remove the extra 140px gap */
}

@media (max-width: 640px) {
  .new-elite-hero {
    padding-top: 130px !important;
  }
}

/* =========================================
   PROPER NAVBAR POSITIONING FIX
   ========================================= */

.navbar {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* =========================================
   RESTORE LOGO COLOR
   ========================================= */

.nav-brand span {
  background: linear-gradient(135deg, #ffffff 0%, #2dd4bf 50%, #0ea5e9 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  color: transparent !important;
  letter-spacing: -0.5px !important;
}

.nav-brand svg.brand-icon {
  stroke: #2dd4bf !important;
  filter: drop-shadow(0 0 8px rgba(45, 212, 191, 0.6)) !important;
}

/* =========================================
   PROPER MODERN EDGE-TO-EDGE NAVBAR & CENTERING
   ========================================= */

.site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  transform: none !important;
  border-radius: 0 !important;
  border-left: none !important;
  border-right: none !important;
  border-top: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: rgba(10, 11, 20, 0.8) !important;
  backdrop-filter: blur(20px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(200%) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
  z-index: 1000 !important;
  display: block !important;
}

.navbar {
  border-radius: 0 !important;
  height: 80px !important;
  display: block !important;
  width: 100% !important;
}

.nav-container {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important; /* Center the links and actions together */
  flex-wrap: nowrap !important;
  width: 100% !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
  height: 100% !important;
  position: relative !important; /* For absolute logo */
}

/* Symmetric column widths ensure perfect centering of the links capsule */
.nav-logo {
  flex: 1 1 0% !important;
  min-width: 340px !important;
  display: flex !important;
  justify-content: flex-start !important;
  order: 1 !important;
  margin-right: 16px !important;
}

/* Specific selector override to force static position and flow */
.navbar .nav-links,
.nav-links {
  position: static !important;
  transform: none !important;
  left: auto !important;
  flex: 0 0 auto !important;
  display: flex !important;
  justify-content: center !important;
  order: 2 !important;
  margin: 0 !important; /* Removes auto margin so it groups with actions */
}

.nav-actions {
  flex: 0 0 auto !important;
  min-width: auto !important;
  display: flex !important;
  justify-content: flex-start !important;
  order: 3 !important;
  margin-left: 24px !important; /* Space between links and actions */
  gap: 20px !important;
}

/* Responsive adjustments for mid-size screens to prevent wrapping */
@media (max-width: 1350px) {
  .nav-logo,
  .nav-actions {
    min-width: auto !important;
  }
  .nav-actions {
    gap: 10px !important;
  }
  .nav-links {
    gap: 4px !important;
    padding: 4px 6px !important;
  }
  .nav-links a {
    padding: 6px 8px !important;
    font-size: 13px !important;
  }
  .nav-saved {
    padding: 6px 12px !important;
    font-size: 0.85rem !important;
  }
  .nav-roadmap-btn {
    padding: 8px 16px !important;
    font-size: 0.85rem !important;
  }
}

/* Mobile Breakpoint: Switch to hamburger menu early enough to prevent crowding */
@media (max-width: 1300px) {
  .navbar .nav-links,
  .nav-links {
    display: none !important;
  }
  .mobile-toggle {
    display: block !important;
  }
  .nav-logo {
    position: static !important; /* Restore normal flow for mobile */
    transform: none !important;
    flex: 0 0 auto !important;
    min-width: 0 !important;
    margin-right: 0 !important;
  }
  .nav-actions {
    flex: 0 0 auto !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    gap: 12px !important;
  }
  .nav-container {
    justify-content: space-between !important;
  }
}

/* ── UNIVERSAL SEARCH BAR & AUTOCOMPLETE SUGGESTIONS ─────────────── */
.elite-search-wrap {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 1rem auto 2rem auto;
  z-index: 100;
}
.elite-search-wrap > svg:first-child {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
  z-index: 2;
}
.elite-search-wrap .elite-input {
  width: 100%;
  padding: 0.9rem 1.25rem 0.9rem 3.5rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  color: #f8fafc;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
  backdrop-filter: blur(24px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}
.elite-search-wrap .elite-input::placeholder { color: rgba(255, 255, 255, 0.35); }
.elite-search-wrap:focus-within .elite-input {
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.2), 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Autocomplete Dropdown */
.search-suggestions {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 0.5rem;
  display: none;
  flex-direction: column;
  gap: 4px;
  max-height: 350px;
  overflow-y: auto;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
  z-index: 200;
}
.search-suggestions.active {
  display: flex;
}
.suggestion-empty {
  padding: 1rem;
  text-align: center;
  color: #94a3b8;
  font-size: 0.95rem;
}
.suggestion-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.suggestion-item:hover {
  background: rgba(255, 255, 255, 0.08);
}
.suggestion-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.suggestion-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}
.suggestion-title {
  color: #f8fafc;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.suggestion-cat {
  color: #94a3b8;
  font-size: 0.8rem;
}
.suggestion-badge {
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 100px;
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
  white-space: nowrap;
}
/* Scrollbar for suggestions */
.search-suggestions::-webkit-scrollbar { width: 6px; }
.search-suggestions::-webkit-scrollbar-track { background: transparent; }
.search-suggestions::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 3px; }

/* Mobile responsive */
@media (max-width: 640px) {
  .elite-search-wrap { max-width: 100%; margin: 1rem 1rem 1.5rem 1rem; }
  .search-suggestions { border-radius: 12px; }
}

/* ═══════════════════════════════════════════════════════════════════
   NAVBAR SEARCH BAR — Collapsible with Live Autocomplete
   ═══════════════════════════════════════════════════════════════════ */

/* ── Search toggle button (🔍 icon) ── */
.nav-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.nav-search-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

/* ── Collapsible search container ── */
.nav-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow: visible;
}

/* ── The expandable input ── */
.nav-search-field {
  width: 0;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              max-width 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.25s ease;
  display: flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-search-wrap.open .nav-search-field {
  width: 260px;
  max-width: 260px;
  opacity: 1;
}
.nav-search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  color: #f1f5f9;
  font-size: 0.875rem;
  font-family: 'Inter', sans-serif;
  padding: 8px 10px;
  min-width: 0;
}
.nav-search-input::placeholder { color: rgba(255, 255, 255, 0.35); }

/* Clear (✕) button inside input */
.nav-search-clear {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-right: 4px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1;
  flex-shrink: 0;
  transition: color 0.2s ease, background 0.2s ease;
  padding: 0;
}
.nav-search-clear:hover {
  color: #f1f5f9;
  background: rgba(255,255,255,0.08);
}

/* ── Autocomplete dropdown ── */
.nav-search-suggestions {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 300px;
  background: rgba(10, 16, 35, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 6px;
  display: none;
  flex-direction: column;
  gap: 3px;
  max-height: 320px;
  overflow-y: auto;
  box-shadow: 0 16px 48px -8px rgba(0, 0, 0, 0.7),
              0 0 0 1px rgba(255,255,255,0.04);
  z-index: 9999;
  animation: navDropIn 0.18s ease both;
}
@keyframes navDropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nav-search-suggestions.active { display: flex; }

/* Suggestion rows */
.nav-suggestion-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 9px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.nav-suggestion-item:hover { background: rgba(255, 255, 255, 0.07); }

.nav-suggestion-icon {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}
.nav-suggestion-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  overflow: hidden;
  min-width: 0;
}
.nav-suggestion-title {
  color: #f1f5f9;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-suggestion-cat {
  color: #64748b;
  font-size: 0.72rem;
}
.nav-suggestion-badge {
  font-size: 0.65rem;
  padding: 2px 7px;
  border-radius: 100px;
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
  border: 1px solid rgba(99, 102, 241, 0.25);
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-suggestion-badge.free {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.25);
}
.nav-suggestion-badge.premium {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.25);
}

/* "No results" and "loading" states */
.nav-suggestion-empty {
  padding: 12px 10px;
  color: #64748b;
  font-size: 0.82rem;
  text-align: center;
}

/* Dropdown scrollbar */
.nav-search-suggestions::-webkit-scrollbar { width: 4px; }
.nav-search-suggestions::-webkit-scrollbar-track { background: transparent; }
.nav-search-suggestions::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 2px; }

/* ── Mobile: full-width bar slides below navbar ── */
@media (max-width: 768px) {
  .nav-search-field {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    background: rgba(10, 16, 35, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0 1rem;
    height: 0;
    transition: height 0.3s ease, opacity 0.25s ease;
    opacity: 0;
    overflow: hidden;
    z-index: 9990;
  }
  .nav-search-wrap.open .nav-search-field {
    height: 52px;
    opacity: 1;
  }
  .nav-search-input {
    font-size: 1rem;
    padding: 14px 10px;
  }
  .nav-search-suggestions {
    position: fixed;
    top: 116px;
    left: 8px;
    right: 8px;
    width: auto;
    border-radius: 14px;
  }
}

/* =========================================
   NEW ECOSYSTEM HERO SECTION
   ========================================= */

.ecosystem-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 80px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 0%, #ffffff 0%, var(--bg) 100%);
}

/* Mesh Gradient Background */
.ecosystem-hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  overflow: hidden;
  z-index: 1;
}

.mesh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: float-blob 20s infinite alternate ease-in-out;
}

.blob-1 {
  top: -10%; left: -10%;
  width: 50vw; height: 50vw;
  background: radial-gradient(circle, rgba(99,102,241,0.08) 0%, transparent 70%);
  animation-delay: 0s;
}

.blob-2 {
  bottom: -20%; right: -10%;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(139,92,246,0.06) 0%, transparent 70%);
  animation-delay: -5s;
}

.blob-3 {
  top: 20%; left: 50%;
  transform: translateX(-50%);
  width: 40vw; height: 40vw;
  background: radial-gradient(circle, rgba(6,182,212,0.06) 0%, transparent 70%);
  animation-delay: -10s;
}

@keyframes float-blob {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(5%, 5%) scale(1.1); }
  100% { transform: translate(-5%, 10%) scale(0.9); }
}

.noise-overlay {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.02'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* Glass Card Content */
.ecosystem-hero-content.glass-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  background: rgba(255, 255, 255, 0.75) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  border-radius: 32px;
  padding: 60px 60px;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
  overflow: visible !important; /* Prevent global glass-card overflow: hidden from clipping headlines */
}

/* Trust Badge */
.ecosystem-top-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(79, 70, 229, 0.06) !important;
  border: 1px solid rgba(79, 70, 229, 0.15) !important;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--primary) !important;
  margin-bottom: 32px;
  text-transform: uppercase;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Headline */
.ecosystem-headline {
  font-size: clamp(1.4rem, 3.8vw, 2.8rem);
  line-height: 1.15;
  font-weight: 800;
  color: var(--text) !important;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
  white-space: normal;
  word-break: break-word;
}

.dynamic-text-wrap {
  display: block;
  text-align: center;
  position: relative;
  overflow: visible;
}

.dynamic-text {
  position: relative;
  display: inline-block;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  white-space: nowrap;
  padding-right: 0.1em;
}

.dynamic-cursor {
  display: inline-block;
  width: 3px;
  height: 1.1em;
  background-color: #6366f1;
  animation: blink-cursor 0.8s steps(2, start) infinite;
  vertical-align: text-bottom;
  margin-left: 2px;
}

/* ==========================================================================
   SEO GUIDE SECTION
   ========================================================================== */
.seo-guide-section {
  max-width: 1200px;
  margin: 60px auto 100px;
  padding: 56px 48px;
  background: var(--card-bg);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.04);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.seo-guide-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.seo-guide-header {
  text-align: center;
  margin-bottom: 56px;
}

.seo-guide-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text);
  letter-spacing: -0.5px;
}

.seo-guide-header p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.seo-guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.seo-guide-card {
  background: var(--body-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.seo-guide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.06);
  border-color: var(--primary);
}

.seo-guide-card .card-icon {
  font-size: 2rem;
  margin-bottom: 24px;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(124, 58, 237, 0.08);
  border-radius: 16px;
}

.seo-guide-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.seo-guide-card p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

.seo-guide-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.seo-guide-card ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.seo-guide-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 800;
}

@media (max-width: 768px) {
  .seo-guide-section { padding: 40px 24px; margin: 40px auto 60px; }
  .seo-guide-header h2 { font-size: 2rem; }
  .seo-guide-grid { grid-template-columns: 1fr; }
}

@keyframes blink-cursor {
  to { visibility: hidden; }
}

/* Description */
.ecosystem-description {
  font-size: 1.15rem;
  color: var(--text-muted) !important;
  line-height: 1.65;
  max-width: 650px;
  margin: 0 auto 40px;
}

/* Pills Row */
.ecosystem-pills-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}

.eco-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  padding: 10px 20px;
  border-radius: 100px;
  color: var(--text) !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: var(--shadow) !important;
}

.eco-pill:hover {
  background: var(--bg-secondary) !important;
  border-color: var(--primary) !important;
  color: var(--primary) !important;
  transform: translateY(-2px) !important;
  box-shadow: var(--shadow-lg) !important;
}

/* Upgraded Search */
.ecosystem-search-wrap {
  position: relative;
  max-width: 680px;
  margin: 0 auto 20px;
}

.search-input-group {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--bg-card) !important;
  border: 2px solid var(--border) !important;
  border-radius: 100px !important;
  padding: 6px 6px 6px 20px !important;
  transition: all 0.3s ease;
  box-shadow: var(--shadow) !important;
}

.search-input-group:focus-within {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12), var(--shadow-lg) !important;
}

.search-input-group svg {
  color: var(--text-muted) !important;
  flex-shrink: 0;
  margin-right: 4px;
}

.search-input-group:focus-within svg {
  color: var(--primary) !important;
}

.eco-search-input {
  flex: 1;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: var(--text) !important;
  font-size: 1.05rem !important;
  padding: 12px 16px !important;
  outline: none !important;
}

.eco-search-input::placeholder {
  color: var(--text-muted) !important;
}

/* Trending Tags */
.trending-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 13px;
}

.trending-label {
  color: var(--text-muted) !important;
  font-weight: 600 !important;
}

.trending-tag {
  color: var(--primary) !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.trending-tag:hover {
  color: var(--accent) !important;
  text-decoration: underline !important;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .ecosystem-hero {
    padding: 100px 16px 60px;
  }
  .ecosystem-hero-content.glass-card {
    padding: 40px 24px;
  }
  .ecosystem-headline {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }
  .dynamic-cursor {
    width: 2px;
  }
  .eco-search-input {
    font-size: 1rem;
  }
  .ecosystem-description {
    font-size: 1rem;
  }
}

/* ── Homepage Live Search Dropdown ──────────────────────────── */
.search-input-group {
  position: relative; /* ensure dropdown anchors here */
}

.ai-search-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: rgba(10, 18, 35, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 20px;
  z-index: 1000;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.04);
  animation: dropdownSlideIn 0.18s ease;
}

.ai-search-dropdown.open {
  display: block !important;
}

@keyframes dropdownSlideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ai-suggestion-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 20px;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.15s ease;
}

.ai-suggestion-item:last-child {
  border-bottom: none;
}

.ai-suggestion-item:hover,
.ai-suggestion-item.active {
  background: rgba(99, 102, 241, 0.12);
}

.ai-suggestion-icon {
  font-size: 1rem;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
}

.ai-suggestion-name {
  flex: 1;
  font-size: 0.9rem;
  color: #e2e8f0;
  font-weight: 500;
}

.ai-suggestion-name mark {
  background: rgba(99, 102, 241, 0.3);
  color: #a5b4fc;
  border-radius: 3px;
  padding: 0 2px;
}

.ai-suggestion-cat {
  font-size: 0.7rem;
  color: #64748b;
  background: rgba(255,255,255,0.05);
  padding: 3px 9px;
  border-radius: 99px;
  flex-shrink: 0;
  white-space: nowrap;
}

.ai-suggestion-footer {
  padding: 11px 20px;
  font-size: 0.78rem;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid rgba(255,255,255,0.05);
  transition: color 0.15s ease;
}

.ai-suggestion-footer:hover {
  color: #6366f1;
  background: rgba(99, 102, 241, 0.06);
}

.ai-suggestion-footer strong {
  color: #6366f1;
}


/* Light Theme Overrides */
.site-header {
  background: rgba(255, 255, 255, 0.85) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  backdrop-filter: blur(12px) !important;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95) !important;
  border-bottom: 1px solid rgba(0,0,0,0.08) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05) !important;
}

.dropdown-menu {
  background: #FFFFFF !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05) !important;
}

.nav-links {
  background: #FFFFFF !important;
}

/* 6. Footer Layout, Links & Socials */
.site-footer {
  color: var(--text-muted) !important;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg) 100%) !important;
  border-top: 1px solid var(--border) !important;
}

.footer-heading {
  color: var(--text) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  margin-bottom: 20px !important;
}

.footer-nav a,
.footer-nav-links li a,
.footer-link,
.premium-footer-nav a {
  color: var(--text-muted) !important;
  display: inline-block !important;
  transition: color 0.2s ease, transform 0.2s ease !important;
}

.footer-nav a:hover,
.footer-nav-links li a:hover,
.footer-link:hover,
.premium-footer-nav a:hover {
  color: var(--primary) !important;
  transform: translateX(4px) !important;
}

.footer-legal-links a,
.premium-legal-links a {
  color: var(--text-muted) !important;
  display: inline-block !important;
  transition: color 0.2s ease, transform 0.2s ease !important;
}

.footer-legal-links a:hover,
.premium-legal-links a:hover {
  color: var(--primary) !important;
  transform: translateY(-2px) !important;
}

.footer-legal-links .divider {
  color: var(--border) !important;
  opacity: 0.5 !important;
}

.footer-socials,
.premium-socials {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px 10px !important;
}

.footer-socials a,
.premium-socials a {
  color: var(--text-muted) !important;
  background: var(--bg-card) !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.footer-socials a:hover,
.premium-socials a:hover {
  color: #ffffff !important;
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 15px rgba(79, 70, 229, 0.25) !important;
}

/* 7. Buttons, CTAs & Scroll Buttons */
.btn-primary,
.nav-roadmap-btn,
.btn-premium-cta,
.btn-load-more,
.btn-load-more-blog,
.btn-cta-glass,
.btn-visit-premium,
.btn-submit {
  color: #ffffff !important;
  background: var(--primary) !important;
}

.scroll-top,
.premium-scroll-top,
.back-to-top {
  color: #ffffff !important;
  background: rgba(79, 70, 229, 0.8) !important; /* translucent glassmorphic purple */
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 8px 32px rgba(79, 70, 229, 0.15) !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.scroll-top:hover,
.premium-scroll-top:hover,
.back-to-top:hover {
  background: rgba(67, 56, 202, 0.95) !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 40px rgba(79, 70, 229, 0.35) !important;
}

.footer-brand p {
  color: var(--text-muted) !important;
}

.brand-text {
  color: var(--text) !important;
}

.nav-link {
  color: var(--text) !important;
}

.nav-link:hover {
  color: var(--primary) !important;
}

.footer-link {
  color: var(--text-muted) !important;
}

.footer-link:hover {
  color: var(--primary) !important;
}

.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
}

/* --- FINAL LIGHT THEME TEXT COLOR FIXES --- */

/* 1. Logos & Branding */
.nav-logo,
.nav-logo span,
.logo-text,
.brand-text,
.site-title,
.footer-brand-logo,
.footer-brand-logo span {
  color: var(--text) !important;
}

/* 2. Headings & Main Text */
.hero h1,
.lead-text h2,
.compare-banner h3,
.sidebar-card h4,
.footer-col h5,
.premium-title,
.card-title-glass,
.nav-guide-title,
.trust-module h3,
.footer-heading,
.elite-text-white,
.ecosystem-headline,
.nav-step h4,
.conversational-empty h3 {
  color: var(--text) !important;
}

/* 3. Paragraphs, Descriptions & Sub-text */
.lead-text p,
.compare-banner p,
.footer-description,
.footer-copyright,
.load-more-count,
.load-more-progress,
.elite-promo-banner p {
  color: var(--text-muted) !important;
}

/* 4. Inputs, Search Bars & Placeholders */
.lead-form input,
.search-bar input,
.elite-input,
.elite-search-input {
  color: var(--text) !important;
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
}

.eco-search-input,
.nav-search-input {
  color: var(--text) !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.lead-form input::placeholder,
.search-bar input::placeholder,
.elite-input::placeholder,
.elite-search-input::placeholder,
.eco-search-input::placeholder,
.nav-search-input::placeholder {
  color: var(--text-muted) !important;
}

.nav-search-btn {
  color: var(--text-muted) !important;
}
.nav-search-btn:hover {
  color: var(--primary) !important;
}
.nav-search-clear {
  color: var(--text-muted) !important;
}
.nav-search-clear:hover {
  color: var(--text) !important;
}

/* 5. Navigation Links (Navbar & Mobile) */
.nav-links a {
  color: var(--text-muted) !important;
}

.nav-links a:hover {
  color: var(--primary) !important;
}

.nav-links a.active {
  color: #ffffff !important;
  background: var(--primary) !important;
  border-radius: 99px !important;
  padding: 8px 16px !important;
}

.mobile-toggle {
  color: var(--text) !important;
}

/* Mobile nav removed from light theme overrides to maintain its dark overlay consistency */
}

.footer-nav a:hover,
.footer-nav-links li a:hover,
.footer-legal-links a:hover,
.footer-link:hover,
.premium-footer-nav a:hover,
.premium-legal-links a:hover {
  color: var(--primary) !important;
}

.footer-legal-links .divider {
  color: var(--border) !important;
  opacity: 0.5 !important;
}

.footer-socials a,
.premium-socials a {
  color: var(--text-muted) !important;
  background: var(--bg-tertiary) !important;
}

.footer-socials a:hover,
.premium-socials a:hover {
  color: #ffffff !important;
  background: var(--primary) !important;
}

/* 7. Buttons, CTAs & Scroll Buttons */
.btn-primary,
.nav-roadmap-btn,
.btn-premium-cta,
.btn-load-more,
.btn-load-more-blog,
.btn-cta-glass,
.btn-visit-premium,
.scroll-top,
.premium-scroll-top,
.back-to-top,
.btn-submit {
  color: #ffffff !important;
  background: var(--primary) !important;
}

.btn-premium-ghost {
  color: var(--primary) !important;
  border: 1.5px solid var(--primary) !important;
  background: transparent !important;
}

.btn-premium-ghost:hover {
  color: #ffffff !important;
  background: var(--primary) !important;
}

.nav-saved {
  color: var(--text-muted) !important;
  background: var(--bg-secondary) !important;
  border: 1px solid var(--border) !important;
}

.nav-saved:hover {
  color: var(--primary) !important;
  background: rgba(79, 70, 229, 0.06) !important;
  border-color: rgba(79, 70, 229, 0.2) !important;
}

.nav-saved.active {
  color: #ffffff !important;
  background: var(--primary) !important;
  border-color: var(--primary) !important;
}

.btn-ghost-icon:hover {
  color: var(--primary) !important;
}

/* 8. Badge & Saved Counter Contrast */
.nav-bookmark-count,
.saved-count {
  color: var(--primary) !important;
  background: rgba(79, 70, 229, 0.15) !important;
}

/* 9. Search Autocomplete & Filter Pills */
.search-suggestions,
.nav-search-suggestions,
.ai-search-dropdown {
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  box-shadow: var(--shadow-lg) !important;
}

.search-suggestions::-webkit-scrollbar-thumb,
.nav-search-suggestions::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary) !important;
}

.suggestion-item:hover,
.nav-suggestion-item:hover,
.ai-suggestion-item:hover,
.ai-suggestion-item.active {
  background: var(--bg-secondary) !important;
}

.suggestion-icon,
.nav-suggestion-icon,
.ai-suggestion-icon {
  background: var(--bg-secondary) !important;
  border: 1px solid var(--border) !important;
  color: var(--primary) !important;
}

.suggestion-title,
.nav-suggestion-title,
.ai-suggestion-name {
  color: var(--text) !important;
  font-weight: 600 !important;
}

.ai-suggestion-name mark {
  background: rgba(99, 102, 241, 0.15) !important;
  color: var(--primary) !important;
  border-radius: 3px !important;
  padding: 0 2px !important;
}

.suggestion-cat,
.nav-suggestion-cat,
.ai-suggestion-cat {
  color: var(--text-muted) !important;
  background: var(--bg-secondary) !important;
}

.suggestion-badge,
.nav-suggestion-badge {
  background: rgba(99, 102, 241, 0.08) !important;
  color: var(--primary) !important;
  border: 1px solid rgba(99, 102, 241, 0.2) !important;
}

.nav-suggestion-badge.free {
  background: rgba(16, 185, 129, 0.08) !important;
  color: var(--success) !important;
  border-color: rgba(16, 185, 129, 0.2) !important;
}

.nav-suggestion-badge.premium {
  background: rgba(245, 158, 11, 0.08) !important;
  color: #d97706 !important;
  border-color: rgba(245, 158, 11, 0.25) !important;
}

.suggestion-empty,
.nav-suggestion-empty,
.ai-suggestion-footer {
  color: var(--text-muted) !important;
  border-top: 1px solid var(--border) !important;
}

.ai-suggestion-footer:hover {
  color: var(--primary) !important;
  background: var(--bg-secondary) !important;
}

.ai-suggestion-footer strong {
  color: var(--primary) !important;
}

.nav-step-number {
  color: var(--primary) !important;
  background: rgba(79, 70, 229, 0.1) !important;
}

.filter-btn {
  color: var(--text-muted) !important;
  background: var(--bg-secondary) !important;
  border: 1px solid var(--border) !important;
}

.filter-btn:hover {
  color: var(--text) !important;
  background: var(--bg-tertiary) !important;
}

.filter-btn.active {
  color: #ffffff !important;
  background: var(--primary) !important;
  border-color: var(--primary) !important;
}

/* ── Unified Premium Brain Logo (MultioTools) ── */
.nav-logo,
.footer-brand-logo {
  display: inline-flex !important;
  align-items: center !important;
  color: #0f172a !important;
  text-decoration: none !important;
}
.nav-logo span,
.footer-brand-logo span {
  color: #0f172a !important; /* "Multio" text */
}
.nav-logo .logo-dot,
.footer-brand-logo .logo-dot {
  color: #7c3aed !important; /* "Tools" text in purple */
  background: none !important;
  -webkit-text-fill-color: initial !important;
}
.nav-logo .logo-icon svg,
.footer-brand-logo svg.brand-icon,
.footer-brand-logo .logo-icon svg {
  stroke: #7c3aed !important; /* Brain SVG stroke in purple */
  color: #7c3aed !important;
}
.nav-logo .logo-icon,
.footer-brand-logo .logo-icon {
  color: #7c3aed !important;
  filter: drop-shadow(0 2px 8px rgba(124, 92, 246, 0.15)) !important;
}



/* ── COMPREHENSIVE MOBILE RESPONSIVENESS OVERRIDES ── */
@media (max-width: 768px) {
  *, *::before, *::after {
    box-sizing: border-box !important;
  }
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .lead-card, .compare-section, .blog-hero, .about-hero, .contact-section, .footer-container, .page-hero, section {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .container, .container-fluid {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }
  img, video, iframe, canvas, svg, picture {
    max-width: 100% !important;
    height: auto !important;
  }
  .nav-links a, .btn, button, .action-btn, .bookmark-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: normal !important; /* Allow button text to wrap */
    height: auto !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }
  .tools-grid, .free-grid, .posts-grid, .problem-grid, .mission-grid, .tool-pros-cons, .footer-grid, .footer-top, .about-grid, .contact-layout, .blog-layout, .form-row {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
    display: grid !important;
  }
  .nav-actions, .filter-group, .tags, .footer-links {
    flex-wrap: wrap !important;
  }
  p, h1, h2, h3, h4, h5, h6, a, span, div, li {
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    max-width: 100% !important;
  }
  .nav-logo {
    min-width: 0 !important;
    flex-shrink: 1 !important;
    max-width: 70% !important;
  }
  .nav-logo span {
    font-size: 1.2rem !important; /* Scale logo down slightly for small phones */
  }
  .nav-search-wrap, .elite-search-wrap {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin-top: 10px !important;
  }
  .hero-content h1, .page-hero h1 {
    font-size: 2.2rem !important;
    line-height: 1.2 !important;
  }
  .hero-content p {
    font-size: 1rem !important;
  }
  .stat-card, .tool-card, .blog-card, .feature-card {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  /* Force tables to be scrollable if they exist */
  table {
    display: block !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
  }
  /* Fix hardcoded inline width elements that overflow */
  [style*="width:"] {
    max-width: 100% !important;
  }
}

/* Extra small devices (phones like iPhone SE, 320px) */
@media (max-width: 375px) {
  .hero-content h1, .page-hero h1 {
    font-size: 1.8rem !important;
  }
  .btn, .action-btn {
    width: 100% !important;
    margin-bottom: 10px !important;
  }
  .button-group, .hero-buttons {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
  }
}

/* ── MOBILE NAV COLOR FIXES ── */
.nav-links.nav-open {
  background: #ffffff !important; /* Ensure the menu background is white */
  box-shadow: -10px 0 30px rgba(0,0,0,0.1) !important; /* Softer shadow for light mode */
}
.nav-links.nav-open a {
  color: #0f172a !important; /* Dark text for visibility on white background */
}
.nav-links.nav-open a:hover {
  color: #7c3aed !important; /* Purple on hover */
}
.nav-links.nav-open .nav-saved {
  color: #0f172a !important; 
  background: #f1f5f9 !important; /* Subtle gray background for "Saved" button */
  border-color: #e2e8f0 !important;
}
.nav-links.nav-open .nav-roadmap-btn {
  color: #ffffff !important; 
  background: #7c3aed !important; /* Brand purple */
  border: none !important;
}
/* ── MOBILE NAVBAR & HERO OVERRIDES (max-width: 480px) ── */
@media (max-width: 480px) {
  .site-header,
  .site-header.scrolled {
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    border: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  }
  .home-hero, .ecosystem-hero, .tools-hero, .page-hero, .legal-hero, .blog-hero, .about-hero, .new-elite-hero {
    padding-top: 100px !important;
  }
  .ecosystem-top-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    flex-wrap: wrap !important;
    padding: 6px 12px !important;
    border-radius: 16px !important;
    font-size: 10px !important;
    line-height: 1.3 !important;
    max-width: 100% !important;
  }
  .nav-container {
    padding: 0 12px !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
  .nav-logo {
    display: inline-flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    flex: 0 0 auto !important;
    position: static !important;
    transform: none !important;
    max-width: 65% !important;
    min-width: 0 !important;
    margin-right: 0 !important;
    overflow: visible !important;
  }
  .nav-logo span {
    white-space: nowrap !important;
    overflow-wrap: normal !important;
    word-wrap: normal !important;
    font-size: 1.1rem !important;
    display: inline-block !important;
    max-width: 100% !important;
    overflow: visible !important;
    text-overflow: ellipsis !important;
  }
  .nav-actions {
    display: flex !important;
    flex: 0 0 auto !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    gap: 8px !important;
  }
  .nav-actions .nav-saved,
  .nav-actions .nav-roadmap-btn,
  .nav-container .nav-saved,
  .nav-container .nav-roadmap-btn {
    display: none !important;
  }
  .mobile-toggle {
    display: block !important;
    padding: 6px !important;
    margin: 0 !important;
    margin-right: 0 !important;
  }
  .ecosystem-hero-content.glass-card {
    padding: 24px 12px !important;
  }
}

/* ── ULTRA-MOBILE RESPONSIVENESS OVERRIDES (300px - 320px VIEWPORTS) ── */
@media (max-width: 320px) {
  /* Resets & Scroll Prevention */
  *, *::before, *::after {
    box-sizing: border-box !important;
  }
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  /* Layout Paddings & Margins */
  .lead-card, .compare-section, .blog-hero, .about-hero, .contact-section, .footer-container, .page-hero, section, 
  .legal-hero, .legal-body, .calc-row, .home-hero, .ecosystem-hero, .tools-hero {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  
  /* SPECIFIC HERO OVERRIDES: Clear the 80px fixed header and prevent overlapping */
  .home-hero, .ecosystem-hero, .tools-hero, .page-hero, .legal-hero, .blog-hero, .about-hero, .new-elite-hero {
    padding-top: 95px !important;
  }
  .ecosystem-top-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    flex-wrap: wrap !important;
    padding: 6px 12px !important;
    border-radius: 16px !important;
    font-size: 10px !important;
    line-height: 1.3 !important;
    max-width: 100% !important;
  }
  .container, .container-fluid, .legal-hero-inner, .post-hero-inner, .hero-inner {
    padding-left: 10px !important;
    padding-right: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Typography Sizing */
  h1, .hero-content h1, .page-hero h1, .legal-hero h1, .roadmap-cta-headline {
    font-size: 1.55rem !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important;
  }
  .ecosystem-headline, .dynamic-text {
    font-size: clamp(1.4rem, 6.5vw, 2rem) !important;
  }
  h2, .section-title {
    font-size: 1.3rem !important;
    line-height: 1.25 !important;
  }
  h3 {
    font-size: 1.1rem !important;
  }
  p, .hero-content p, .section-sub, .roadmap-cta-desc, .ecosystem-description {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
  }
  
  /* Article & Blog Post Typography */
  .article-body {
    padding: 20px 10px !important;
    border-radius: 16px !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
  }
  .article-body h2 {
    font-size: 1.3rem !important;
    margin: 30px 0 15px !important;
  }
  .article-body .lead {
    font-size: 1.1rem !important;
    padding-left: 12px !important;
    margin-bottom: 24px !important;
  }
  .article-body blockquote {
    padding: 16px 12px !important;
    margin: 20px 0 !important;
  }

  /* Collapsing Rigid Grids */
  .legal-body, .promise-grid, .programs-grid, .roadmap-cta-grid, .journey-cards-grid, 
  .atc-pc, .form-grid, .form-row, .why-grid, .niche-grid, .platform-grid, .blogs-grid, 
  .features-grid, .bento-grid, .post-layout, .blog-layout, .about-grid, .contact-layout, .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    display: grid !important;
  }
  
  /* Card Sizing and Margins */
  .stat-card, .tool-card, .blog-card, .feature-card, .promise-card, .program-card, 
  .journey-step-card, .elite-card-wrap, .card-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 16px 12px !important;
  }

  /* Buttons & Flex Wrappings */
  .button-group, .hero-buttons, .actions-row, .nav-actions, .filter-group, .tags, .footer-links, .calc-row {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 8px !important;
  }
  .badge {
    white-space: normal !important;
    text-align: center !important;
    font-size: 0.65rem !important;
    padding: 4px 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .btn, .action-btn, .filter-chip, .f-pill, .roadmap-cta-btn, .bookmark-btn {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 4px !important;
    display: inline-flex !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    padding: 10px 12px !important;
    height: auto !important;
    min-height: 44px !important;
    font-size: 0.9rem !important;
    white-space: normal !important;
    line-height: 1.3 !important;
    text-align: center !important;
  }

  /* Search Input Groups & Wraps */
  .elite-search-wrap, .nav-search-wrap, .ecosystem-search-wrap {
    margin: 1rem 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }
  .elite-search-wrap .elite-input {
    font-size: 0.9rem !important;
    padding: 0.8rem 1rem 0.8rem 2.8rem !important;
  }
  .elite-search-wrap > svg:first-child {
    left: 0.9rem !important;
  }
  .search-input-group {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 4px 10px 4px 12px !important;
  }
  .eco-search-input {
    min-width: 0 !important;
    width: 100% !important;
    font-size: 0.85rem !important;
    padding: 8px 10px !important;
    text-overflow: ellipsis !important;
  }
  .search-input-group svg {
    width: 18px !important;
    height: 18px !important;
    margin-right: 4px !important;
    flex-shrink: 0 !important;
  }
  .trending-tags {
    gap: 6px !important;
    font-size: 11px !important;
  }
  .trending-label {
    font-size: 11px !important;
  }
  .trending-tag {
    font-size: 11px !important;
    padding: 2px 4px !important;
  }
  .stats-bar-inner {
    gap: 16px !important;
  }
  .stat-chip {
    padding: 4px 8px !important;
    font-size: 0.75rem !important;
  }

  /* Autocomplete Suggestions Custom Sizing & Repositioning */
  .search-suggestions, .nav-search-suggestions, .ai-search-dropdown {
    position: fixed !important;
    top: auto !important;
    bottom: auto !important;
    left: 8px !important;
    right: 8px !important;
    width: calc(100% - 16px) !important;
    max-width: none !important;
    border-radius: 12px !important;
    z-index: 99999 !important;
    box-sizing: border-box !important;
    max-height: 280px !important;
    padding: 4px !important;
  }
  
  /* Position specific autocomplete boxes */
  .search-suggestions {
    /* Below search inputs on main layouts */
    margin-top: 8px !important;
  }
  .nav-search-suggestions {
    top: 110px !important;
  }
  .ai-search-dropdown {
    /* Dropdown position adjustment */
    margin-top: 6px !important;
  }

  /* Suggestion Item Layout Adjustments */
  .suggestion-item, .nav-suggestion-item, .ai-suggestion-item {
    padding: 6px 8px !important;
    gap: 8px !important;
    border-radius: 8px !important;
  }
  .suggestion-icon, .nav-suggestion-icon, .ai-suggestion-icon {
    width: 26px !important;
    height: 26px !important;
    font-size: 0.95rem !important;
    border-radius: 6px !important;
  }
  .suggestion-content, .nav-suggestion-content {
    gap: 1px !important;
  }
  .suggestion-title, .nav-suggestion-title, .ai-suggestion-name {
    font-size: 0.8rem !important;
  }
  .suggestion-cat, .nav-suggestion-cat, .ai-suggestion-cat {
    font-size: 0.62rem !important;
    padding: 1px 6px !important;
  }
  .suggestion-badge, .nav-suggestion-badge {
    font-size: 0.6rem !important;
    padding: 1px 6px !important;
  }
  .suggestion-empty, .nav-suggestion-empty, .ai-suggestion-footer {
    font-size: 0.72rem !important;
    padding: 8px !important;
  }

  /* Hide Large Decorative Blobs/Orbs to Save Space & Avoid Scrolls */
  .hero-orb, .legal-orb, .blog-orb, .hero-bg::before, .hero-bg::after, 
  .elite-hero-bg::after, [class*="-orb-"], [style*="width: 600px"], [style*="width: 500px"], 
  [style*="width: 400px"], [style*="width: 350px"] {
    display: none !important;
  }
  
  /* Tables & Dynamic Wrappers */
  table {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
  }
  
  /* Fix hardcoded inline widths on any DOM elements */
  [style*="width:"] {
    max-width: 100% !important;
  }
  [style*="min-width:"] {
    min-width: 0 !important;
  }
}

/* ── EXTREME VIEWPORT OVERRIDES (max-width: 280px) ── */
@media (max-width: 280px) {
  .site-header,
  .site-header.scrolled {
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    border: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  }
  /* Container Padding Reductions */
  .nav-container {
    padding: 0 8px !important;
  }
  .lead-card, .compare-section, .blog-hero, .about-hero, .contact-section, .footer-container, .page-hero, section, 
  .legal-hero, .legal-body, .calc-row, .home-hero, .ecosystem-hero, .tools-hero {
    padding-left: 6px !important;
    padding-right: 6px !important;
    padding-top: 16px !important;
    padding-bottom: 16px !important;
  }
  
  /* SPECIFIC HERO OVERRIDES: Clear the 80px fixed header and prevent overlapping */
  .home-hero, .ecosystem-hero, .tools-hero, .page-hero, .legal-hero, .blog-hero, .about-hero, .new-elite-hero {
    padding-top: 90px !important;
  }
  .ecosystem-top-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    flex-wrap: wrap !important;
    padding: 6px 12px !important;
    border-radius: 16px !important;
    font-size: 9px !important;
    line-height: 1.3 !important;
    max-width: 100% !important;
  }
  .container, .container-fluid, .legal-hero-inner, .post-hero-inner, .hero-inner {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }
  
  /* Navbar Brand/Logo Complete Visibility */
  .nav-logo {
    max-width: 78% !important;
    overflow: visible !important;
  }
  .nav-logo span {
    font-size: 0.88rem !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
  }
  .logo-icon svg {
    width: 18px !important;
    height: 18px !important;
  }
  
  /* Hamburger button size reduction to fit */
  .mobile-toggle {
    padding: 4px !important;
  }
  .hamburger-icon {
    width: 20px !important;
    height: 20px !important;
  }
  
  /* Ecosystem Glass Card & Content */
  .ecosystem-hero-content.glass-card {
    padding: 16px 8px !important;
  }
  .ecosystem-headline, .dynamic-text {
    font-size: 1.25rem !important;
  }
  .ecosystem-description {
    font-size: 0.8rem !important;
    line-height: 1.35 !important;
  }
  
  /* General Typography Sizing under 280px */
  h1, .hero-content h1, .page-hero h1, .legal-hero h1, .roadmap-cta-headline {
    font-size: 1.25rem !important;
  }
  h2, .section-title {
    font-size: 1.1rem !important;
  }
  h3 {
    font-size: 0.95rem !important;
  }
  
  /* Autocomplete suggestion width adaptations */
  .search-suggestions, .nav-search-suggestions, .ai-search-dropdown {
    left: 4px !important;
    right: 4px !important;
    width: calc(100% - 8px) !important;
  }
}

@media (max-width: 480px) {
  /* Fix ultra-small footer layout & prevent font-boosting */
  .site-footer {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
    padding: 30px 15px 80px !important; /* bottom padding 80px prevents overlap with back-to-top button */
  }
  .footer-top {
    width: 100% !important;
    box-sizing: border-box !important;
    gap: 25px !important;
  }
  .footer-socials {
    flex-wrap: wrap !important;
    gap: 8px !important;
  }
  .footer-socials a {
    width: 32px !important;
    height: 32px !important;
  }
  .footer-legal-links {
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    gap: 8px !important;
  }
  .footer-nav-col {
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }
  .footer-heading {
    font-size: 14px !important;
    word-break: break-word !important;
    white-space: normal !important;
    letter-spacing: normal !important;
    margin-bottom: 12px !important;
  }
  .footer-nav a,
  .footer-legal-links a {
    font-size: 13px !important;
    word-break: break-word !important;
    white-space: normal !important;
  }
  
  /* Semi-translucent glassmorphic back-to-top button on mobile */
  .back-to-top {
    right: 16px !important;
    bottom: 16px !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 12px !important;
    background: rgba(124, 58, 237, 0.85) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 8px 32px 0 rgba(124, 58, 237, 0.15) !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 99999 !important;
  }
  .back-to-top:hover {
    background: rgba(124, 58, 237, 0.95) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 32px 0 rgba(124, 58, 237, 0.3) !important;
  }
}

/* Global fix for logo baseline alignment across all screen sizes */
.nav-logo .logo-dot,
.footer-brand-logo .logo-dot {
  display: inline !important;
  vertical-align: baseline !important;
}



/* =========================================================
   SEARCH BAR PLACEHOLDER OVERFLOW FIX
   ========================================================= */

.search-input-group {
    /* Add overflow hidden so the rounded corners perfectly clip the contents if needed */
    overflow: visible !important;
}

.eco-search-input {
    /* Ensure the input truncates text gracefully with an ellipsis */
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    /* Add extra padding on the right to prevent text from touching the curved border */
    padding-right: 24px !important;
}

@media (max-width: 768px) {
    .eco-search-input { padding-right: 8px !important; }
}

/* =========================================================
   FAQ SECTION STYLES
   ========================================================= */

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
  border-color: rgba(16,185,129,0.3);
  box-shadow: 0 8px 25px rgba(16,185,129,0.08);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(16,185,129,0.12);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  transition: all 0.3s ease;
}

.faq-question span {
  padding-right: 20px;
}

.faq-question i {
  font-size: 1.5rem;
  color: var(--text-muted);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
}

.faq-item:hover .faq-question i {
  color: var(--primary);
}

.faq-item.active .faq-question {
  color: var(--primary);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
  padding: 0 24px 24px 24px;
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .faq-question {
    padding: 20px;
    font-size: 1.05rem;
  }
  .faq-answer p {
    padding: 0 20px 20px 20px;
    font-size: 1rem;
  }
}

/* =========================================================
   DARK MODE OVERRIDES
   ========================================================= */
[data-theme="dark"] {
  --bg: #0F172A; /* Deep Slate */
  --bg-secondary: #1E293B;
  --bg-tertiary: #334155;
  --bg-card: #1E293B;
  --bg-card-hover: #334155;
  
  --text: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dim: #cbd5e1;
  
  --border: rgba(255, 255, 255, 0.1);
  --border-glow: rgba(255, 255, 255, 0.15);
  
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -1px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.6), 0 4px 6px -2px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(79, 70, 229, 0.25);
  
  --gradient-hero: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
}

/* Base body background transition for smooth toggling */
body {
    background-color: var(--bg);
    color: var(--text);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Additional specific overrides */
[data-theme="dark"] .navbar {
    background: rgba(30, 41, 59, 0.85); /* Adjust frosted glass for dark */
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

[data-theme="dark"] .search-bar {
    background: #0F172A;
    border-color: rgba(255,255,255,0.1);
}

[data-theme="dark"] .search-bar input {
    color: #F8FAFC;
}

[data-theme="dark"] .tool-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
}

[data-theme="dark"] .site-footer {
    background: #0B1120;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* Theme Toggle Button Styles */
.theme-toggle {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-right: 12px;
}

.theme-toggle:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(79, 70, 229, 0.1);
}

.theme-toggle svg {
    position: absolute;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-toggle .sun-icon {
    opacity: 0;
    transform: translateY(20px) rotate(90deg);
}

.theme-toggle .moon-icon {
    opacity: 1;
    transform: translateY(0) rotate(0);
}

.theme-toggle.dark-active .sun-icon {
    opacity: 1;
    transform: translateY(0) rotate(0);
}

.theme-toggle.dark-active .moon-icon {
    opacity: 0;
    transform: translateY(-20px) rotate(-90deg);
}

/* =========================================================
   AGGRESSIVE DARK MODE FIXES (Force overrides)
   ========================================================= */
html[data-theme="dark"], html[data-theme="dark"] body {
    background-color: var(--bg) !important;
    color: var(--text) !important;
}

html[data-theme="dark"] .navbar,
html[data-theme="dark"] .nav-links,
html[data-theme="dark"] .nav-links.nav-open,
html[data-theme="dark"] .dropdown-menu {
    background: rgba(30, 41, 59, 0.95) !important;
    border-color: rgba(255,255,255,0.1) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
}

html[data-theme="dark"] .tool-card,
html[data-theme="dark"] .stat-card,
html[data-theme="dark"] .blog-card,
html[data-theme="dark"] .feature-card,
html[data-theme="dark"] .faq-item,
html[data-theme="dark"] .compare-banner .btn {
    background: var(--bg-card) !important;
    border-color: rgba(255,255,255,0.05) !important;
    color: var(--text) !important;
}

html[data-theme="dark"] .tool-card:hover,
html[data-theme="dark"] .stat-card:hover,
html[data-theme="dark"] .blog-card:hover {
    background: var(--bg-card-hover) !important;
}

html[data-theme="dark"] .search-bar,
html[data-theme="dark"] .search-bar input,
html[data-theme="dark"] .lead-form button {
    background: #0F172A !important;
    color: #F8FAFC !important;
}

html[data-theme="dark"] .site-footer,
html[data-theme="dark"] .footer {
    background: #0B1120 !important;
    border-top: 1px solid rgba(255,255,255,0.05) !important;
}

html[data-theme="dark"] .hero-content {
    background: rgba(15, 23, 42, 0.75) !important;
}

/* Fix any inline white elements */
html[data-theme="dark"] [style*="background: white"],
html[data-theme="dark"] [style*="background: #fff"],
html[data-theme="dark"] [style*="background: #ffffff"],
html[data-theme="dark"] [style*="background-color: white"],
html[data-theme="dark"] [style*="background-color: #fff"],
html[data-theme="dark"] [style*="background-color: #ffffff"] {
    background: var(--bg-card) !important;
    background-color: var(--bg-card) !important;
}

html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] h4,
html[data-theme="dark"] h5,
html[data-theme="dark"] h6,
html[data-theme="dark"] p,
html[data-theme="dark"] span,
html[data-theme="dark"] a {
    color: inherit;
}

html[data-theme="dark"] .section-title span,
html[data-theme="dark"] .hero h1 .highlight {
    -webkit-text-fill-color: transparent !important;
}

/* Explicitly fix any black/dark text turning invisible */
html[data-theme="dark"] .faq-question,
html[data-theme="dark"] .faq-answer p,
html[data-theme="dark"] .nav-links a {
    color: var(--text) !important;
}

/* Global Typewriter Effect */
.single-typing-text {
  position: relative;
  display: inline-block;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  white-space: pre-wrap; /* allow wrapping if text is long */
}

/* Re-use the existing .dynamic-text-wrap to blink cursor, but apply it dynamically */
.single-typing-wrap {
  display: inline-block;
  position: relative;
  overflow: visible;
  vertical-align: bottom;
  padding-right: 12px; 
}
.single-typing-wrap::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  bottom: 10%;
  width: 3px;
  background-color: #6366f1;
  animation: blink-cursor 0.8s steps(2, start) infinite;
}

/* Looping Typewriter Effect */
.loop-typing-text {
  position: relative;
  display: inline-block;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  white-space: nowrap;
}
.loop-typing-wrap {
  display: inline-block;
  position: relative;
  overflow: visible;
  vertical-align: bottom;
}

/* ==========================================================================
   Lead Capture Pop-up
   ========================================================================== */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-overlay.show {
  opacity: 1;
  visibility: visible;
}

.popup-modal {
  background: #ffffff;
  width: 90%;
  max-width: 440px;
  border-radius: 20px;
  padding: 40px 32px;
  position: relative;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 
              0 0 0 1px rgba(0, 0, 0, 0.05);
  transform: translateY(20px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.popup-overlay.show .popup-modal {
  transform: translateY(0) scale(1);
}

.popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  color: #64748b;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 50;
}

.popup-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.popup-icon {
  font-size: 48px;
  margin-bottom: 16px;
  line-height: 1;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.popup-title {
  color: #0f172a;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.popup-subtitle {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 24px;
}

.popup-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.popup-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
  font-size: 1rem;
  transition: all 0.2s ease;
  outline: none;
}

.popup-input:focus {
  border-color: #10b981;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.popup-input::placeholder {
  color: #94a3b8;
}

.popup-submit {
  width: 100%;
  padding: 14px 20px;
  border-radius: 12px;
  border: none;
  background: #10b981;
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.2), 
              0 2px 4px -2px rgba(16, 185, 129, 0.1);
}

.popup-submit:hover {
  background: #059669;
  transform: translateY(-1px);
  box-shadow: 0 6px 8px -1px rgba(16, 185, 129, 0.25), 
              0 4px 6px -2px rgba(16, 185, 129, 0.15);
}

.popup-submit:active {
  transform: translateY(1px);
  box-shadow: 0 2px 4px -1px rgba(16, 185, 129, 0.2);
}

@media (max-width: 480px) {
  .popup-modal {
    padding: 30px 20px;
    width: 95%;
    max-width: 380px;
  }
  .popup-title {
    font-size: 1.35rem;
  }
  .popup-subtitle {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }
  .popup-icon {
    font-size: 40px;
    margin-bottom: 12px;
  }
  .popup-input, .popup-submit {
    padding: 12px 16px;
  }
}



/* =========================================================
   COMPREHENSIVE MOBILE RESPONSIVENESS OVERRIDES
   ========================================================= */
@media (max-width: 480px) {
  /* Fix Typing Animation on Mobile so it doesn't get cut off */
  .ecosystem-headline {
    font-size: clamp(1.2rem, 5vw, 1.8rem) !important;
  }
  .dynamic-text {
    font-size: clamp(1.1rem, 4.5vw, 1.6rem) !important;
    white-space: pre-wrap !important;
    word-break: break-word !important;
    line-height: 1.3 !important;
  }
  
  /* Fix Button and Time (Blog Posts) */
  .post-footer {
    flex-wrap: wrap !important;
    gap: 8px !important;
    padding-top: 12px !important;
    justify-content: space-between !important;
  }
  article.post-card .post-footer .btn {
    padding: 8px 12px !important;
    font-size: 0.75rem !important;
    white-space: nowrap !important;
    flex-shrink: 0;
    width: auto !important;
  }
  .post-read {
    font-size: 0.7rem !important;
    white-space: nowrap !important;
    text-align: right;
    flex-shrink: 0;
  }

  /* Fix Ecosystem Pills */
  .ecosystem-pills-row {
    flex-wrap: wrap !important;
    gap: 8px !important;
    justify-content: center !important;
  }
  .eco-pill {
    padding: 8px 14px !important;
    font-size: 0.8rem !important;
    width: auto !important;
    max-width: 100% !important;
  }

  /* Search Wrap */
  .ecosystem-search-wrap {
    padding: 6px !important;
  }
  .eco-search-input {
    font-size: 0.9rem !important;
  }
  .eco-search-btn {
    padding: 10px 16px !important;
    font-size: 0.85rem !important;
  }
}

@media (max-width: 320px) {
  .ecosystem-headline {
    font-size: 1.15rem !important;
  }
  .dynamic-text {
    font-size: 1rem !important;
  }
  .post-footer {
    gap: 4px !important;
  }
  .post-footer .btn {
    padding: 6px 10px !important;
    font-size: 0.7rem !important;
  }
  .post-read {
    font-size: 0.65rem !important;
  }
  .eco-pill {
    padding: 6px 12px !important;
    font-size: 0.75rem !important;
  }
}

@media (max-width: 480px) {
  .reveal[style*="display:flex"] {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
  }
  .reveal[style*="display:flex"] .btn {
    width: 100% !important;
    justify-content: center !important;
  }
}


/* =========================================
   EXTREME RESPONSIVE DESIGN (Max 250px / Target: 204px)
   ========================================= */
@media (max-width: 250px) {
  /* 1. Global & Typography Resets */
  html, body {
    max-width: 100vw !important;
    overflow-x: hidden !important;
    word-break: break-word !important;
    hyphens: auto !important;
  }
  
  h1, .ecosystem-headline, .ecosystem-headline .dynamic-text, .dynamic-text { 
    font-size: 16px !important; 
    line-height: 1.2 !important; 
    white-space: normal !important;
  }
  h2, h3 { font-size: 14px !important; }
  p, .ecosystem-description { 
    font-size: 11px !important; 
    line-height: 1.3 !important; 
    margin: 10px 0 !important;
    padding: 0 !important;
  }
  
  /* Container Padding */
  .container, .nav-container { padding-left: 4px !important; padding-right: 4px !important; }

  /* 2. Navbar */
  .site-header { padding: 5px 0 !important; }
  .nav-logo { gap: 4px !important; }
  .nav-logo svg { width: 16px !important; height: 16px !important; }
  .nav-logo span { font-size: 12px !important; }
  .logo-dot { display: none !important; }
  .mobile-toggle { padding: 2px !important; }
  .hamburger-icon { width: 18px !important; height: 18px !important; }
  
  /* 3. Hero Section */
  .ecosystem-hero-content.glass-card {
    padding: 15px 5px !important;
    border-radius: 8px !important;
    margin: 0 !important;
  }
  
  .ecosystem-top-badge {
    font-size: 7px !important;
    padding: 4px 6px !important;
    text-align: center !important;
    white-space: normal !important;
    line-height: 1.2 !important;
    border-radius: 4px !important;
    letter-spacing: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .pulse-dot { width: 4px !important; height: 4px !important; display: none !important; } /* Hide dot to save space */
  
  .ecosystem-pills-row {
    flex-direction: column !important;
    gap: 6px !important;
    width: 100% !important;
  }
  .eco-pill {
    width: 100% !important;
    font-size: 10px !important;
    padding: 6px 8px !important;
    text-align: center !important;
    justify-content: center !important;
    border-radius: 6px !important;
    box-sizing: border-box !important;
  }

  /* Search Input */
  .search-input-group {
    flex-direction: column !important;
    border-radius: 6px !important;
    padding: 2px !important;
  }
  .eco-search-input {
    width: 100% !important;
    font-size: 11px !important;
    padding: 6px !important;
    border-radius: 6px !important;
  }
  .eco-search-btn {
    width: 100% !important;
    border-radius: 4px !important;
    padding: 6px !important;
    margin-top: 4px !important;
    font-size: 11px !important;
  }
  
  .trending-tags {
    flex-direction: column !important;
    align-items: center !important;
    gap: 4px !important;
  }
  .trending-label { font-size: 9px !important; margin-bottom: 2px !important; }
  .trending-tag { font-size: 9px !important; padding: 2px 6px !important; }

  /* 4. Grids & Cards */
  .tools-grid, .blog-grid, .features-grid, .categories-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  
  .tool-card {
    padding: 8px !important;
  }
  .tool-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
  }
  .tool-icon { width: 32px !important; height: 32px !important; }
  .tool-name { font-size: 13px !important; }
  .tool-pricing { font-size: 9px !important; padding: 2px 4px !important; }
  .tool-actions { flex-direction: column !important; width: 100% !important; gap: 6px !important; }
  .btn-primary, .btn-secondary, .btn-outline {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    font-size: 11px !important;
    padding: 6px !important;
  }

  /* 5. Footer */
  .site-footer {
    padding: 15px 4px 50px !important;
  }
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }
  .footer-col { align-items: center !important; text-align: center !important; }
  .footer-socials {
    justify-content: center !important;
    gap: 6px !important;
  }
  .footer-socials a {
    width: 28px !important;
    height: 28px !important;
    padding: 5px !important;
  }
  .footer-bottom {
    flex-direction: column !important;
    gap: 8px !important;
    text-align: center !important;
  }
  .footer-links {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
  }
  .footer-links a { font-size: 10px !important; }
}

/* =========================================
   ADDITIONAL 204PX REFINEMENTS (Based on Screenshot)
   ========================================= */
@media (max-width: 250px) {
  /* Fix Trending Tags vertical spacing */
  .trending-tags {
    gap: 4px !important;
    margin-top: 10px !important;
  }
  .trending-tag {
    margin: 0 !important;
    line-height: 1.2 !important;
    padding: 6px 10px !important;
    display: inline-block !important;
  }
  
  /* Fix Stats Bar (6,500+ Tools) overflowing */
  .stats-bar {
    overflow: hidden !important;
    padding: 10px 0 !important;
  }
  .stats-bar-inner {
    /* If it's a flex container that's overflowing, we might need to let it wrap or just shrink the items */
  }
  .stat-chip {
    font-size: 10px !important;
    padding: 4px 8px !important;
    white-space: nowrap !important; /* Keep it nowrap so it scrolls or wraps as a block */
  }
  
  /* Fix 3 Steps section title */
  .premium-quiz-title {
    font-size: 16px !important;
    line-height: 1.2 !important;
    word-break: break-word !important;
  }
  .premium-quiz-subtitle {
    font-size: 11px !important;
    padding: 0 5px !important;
  }
  .premium-quiz-container {
    padding: 15px 10px !important;
  }
  
  /* Fix Scroll to Top Button */
  .back-to-top, #back-to-top {
    width: 36px !important;
    height: 36px !important;
    bottom: 10px !important;
    right: 10px !important;
    border-radius: 8px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .back-to-top svg, .back-to-top i, #back-to-top svg {
    width: 20px !important;
    height: 20px !important;
  }
}

/* =========================================
   ADDITIONAL 204PX REFINEMENTS (Search & Tags Horizontal)
   ========================================= */
@media (max-width: 250px) {
  /* Search Input Horizontal Fix */
  .search-input-group {
    flex-direction: row !important;
    align-items: center !important;
    padding: 6px 8px !important;
  }
  .search-input-group svg {
    width: 14px !important;
    height: 14px !important;
    margin-right: 6px !important;
    flex-shrink: 0 !important;
  }
  .eco-search-input {
    padding: 0 !important; /* Reset padding to fit in row */
    font-size: 11px !important;
    height: auto !important;
  }
  
  /* Trending Tags Horizontal Fix */
  .trending-tags {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 4px 6px !important; /* 4px vertical, 6px horizontal */
  }
  .trending-tag {
    display: inline-flex !important;
    padding: 4px 6px !important;
    font-size: 9px !important;
  }
  .trending-label {
    display: inline-block !important;
    margin-right: 2px !important;
    margin-bottom: 0 !important;
  }
}

/* =========================================
   ADDITIONAL 204PX REFINEMENTS (Quiz Section & Scroll Top)
   ========================================= */
@media (max-width: 250px) {
  /* Find Your Perfect Tool section */
  .premium-quiz-title {
    font-size: 14px !important;
    margin-bottom: 6px !important;
  }
  .premium-quiz-subtitle {
    font-size: 10px !important;
    line-height: 1.3 !important;
  }
  
  /* Quiz Question Label */
  .premium-quiz-label-wrapper {
    flex-direction: column !important;
    align-items: center !important; /* center the number and question */
    gap: 8px !important;
    text-align: center !important;
  }
  .premium-quiz-label {
    font-size: 14px !important;
  }
  
  /* Quiz Buttons Grid */
  .goal-options.premium-grid {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
  .premium-btn {
    padding: 6px 8px !important;
    min-height: auto !important;
    flex-direction: row !important;
    justify-content: center !important;
  }
  .premium-btn-icon {
    font-size: 14px !important;
    margin-right: 6px !important;
  }
  .premium-btn-text {
    font-size: 12px !important;
    line-height: 1.1 !important;
    white-space: nowrap !important; /* prevent weird wrapping */
  }
  
  /* Hide the Back to Top button entirely on extremely small screens */
  #back-to-top, .back-to-top {
    display: none !important;
  }
}

/* =========================================
   PREMIUM QUIZ DESIGN OVERHAUL (Mobile)
   ========================================= */
@media (max-width: 250px) {
  /* Give the quiz container a more card-like premium feel */
  .premium-quiz-step {
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 15px 10px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04) !important;
    border: 1px solid #f1f5f9 !important;
    margin: 10px 0 !important;
  }

  /* Question styling */
  .premium-quiz-label-wrapper {
    margin-bottom: 16px !important;
  }
  .premium-step-num {
    width: 32px !important;
    height: 32px !important;
    font-size: 14px !important;
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%) !important;
    color: #4f46e5 !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.15) !important;
  }
  .premium-quiz-label {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
  }

  /* Grid spacing */
  .goal-options.premium-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    padding: 0 !important;
  }

  /* Premium Buttons */
  .premium-btn {
    padding: 8px 12px !important;
    border-radius: 12px !important; /* Modern rounded rectangles */
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important; /* Left aligned for readability */
    border: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02) !important;
    min-height: 48px !important;
  }
  
  /* Active Button State */
  .premium-btn.active {
    border-color: #818cf8 !important;
    background: #eef2ff !important;
    box-shadow: 0 4px 12px rgba(99,102,241,0.12) !important;
  }

  /* Icon inside button */
  .premium-btn-icon {
    font-size: 15px !important;
    margin-right: 12px !important;
    background: #ffffff !important;
    width: 28px !important;
    height: 28px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08) !important;
    flex-shrink: 0 !important;
  }

  /* Text inside button */
  .premium-btn-text {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #475569 !important;
    text-align: left !important;
    white-space: normal !important; /* Allow wrapping if absolutely needed, but structure prevents bad wrapping */
    line-height: 1.2 !important;
  }
  
  .premium-btn.active .premium-btn-text {
    color: #4338ca !important;
  }
}

/* =========================================
   PREMIUM QUIZ REFINEMENTS (Budget & CTA)
   ========================================= */
@media (max-width: 250px) {
  /* Budget Buttons (No icons) */
  .budget-options .premium-btn {
    justify-content: center !important; /* Center the text since there are no icons here */
    padding: 10px !important;
  }
  .budget-options .premium-btn-text {
    text-align: center !important;
    font-size: 12px !important;
    white-space: normal !important; /* Allow wrapping cleanly if needed */
    line-height: 1.3 !important;
  }

  /* Show My Matches CTA Button */
  .premium-quiz-wrapper .premium-quiz-step:last-child {
    margin-top: 20px !important; /* Reduce the hardcoded 48px margin */
    padding: 0 10px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }
  
  .premium-cta-btn {
    padding: 12px 16px !important;
    border-radius: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4) !important;
    margin: 0 !important;
  }
  
  .premium-cta-btn .cta-text {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: white !important;
    white-space: nowrap !important; /* Keep it on one line */
  }
  
  .premium-cta-btn .cta-icon {
    font-size: 16px !important;
    margin-left: 8px !important;
  }
}

/* =========================================
   FIX FOR CTA BUTTON OVERFLOW (204px)
   ========================================= */
@media (max-width: 250px) {
  .premium-cta-btn {
    padding: 10px 8px !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }
  
  .premium-cta-btn .cta-text {
    font-size: 11px !important; /* Smaller font */
    white-space: normal !important; /* Allow wrapping instead of spilling out */
    line-height: 1.2 !important;
    text-align: center !important;
  }
  
  .premium-cta-btn .cta-icon {
    font-size: 14px !important;
    margin-left: 4px !important;
    flex-shrink: 0 !important;
  }
}

/* =========================================
   GLOBAL PREMIUM CTA BUTTON OVERHAUL
   ========================================= */
.premium-cta-btn, button.premium-cta-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 16px 32px !important;
  border-radius: 50px !important;
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
  color: #ffffff !important;
  font-family: inherit !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.35) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  text-decoration: none !important;
  white-space: nowrap !important; /* Keep on one line globally */
  width: auto !important;
  max-width: 100% !important;
  margin: 0 auto !important; /* Center it */
}

.premium-cta-btn:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.5) !important;
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%) !important;
}

.premium-cta-btn:active {
  transform: translateY(1px) !important;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3) !important;
}

/* Ensure inner text and icon behave perfectly */
.premium-cta-btn .cta-text {
  display: inline-block !important;
  margin: 0 !important;
  line-height: 1 !important;
  color: #ffffff !important;
  font-size: inherit !important;
}

.premium-cta-btn .cta-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.2em !important;
  margin: 0 !important;
  line-height: 1 !important;
}

/* -------------------------------------
   Responsive Tweaks for the CTA Button
   ------------------------------------- */
@media (max-width: 480px) {
  .premium-cta-btn {
    width: 100% !important; /* Full width on normal mobile */
    padding: 15px 24px !important;
    font-size: 16px !important;
  }
}

@media (max-width: 320px) {
  .premium-cta-btn {
    padding: 14px 20px !important;
    font-size: 15px !important;
    gap: 8px !important;
  }
}

@media (max-width: 250px) {
  .premium-cta-btn {
    padding: 12px 14px !important;
    font-size: 13px !important;
    gap: 6px !important;
    white-space: nowrap !important; /* Keep it one line even here, size is small enough */
  }
  
  .premium-cta-btn .cta-icon {
    font-size: 15px !important;
  }
}

/* =========================================
   FIX FOR CTA BUTTON WORD BREAKING
   ========================================= */
.premium-cta-btn .cta-text {
  white-space: nowrap !important;
  word-break: keep-all !important; /* Prevent breaking mid-word */
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

@media (max-width: 250px) {
  .premium-cta-btn .cta-text {
    white-space: nowrap !important;
    word-break: keep-all !important; /* OVERRIDE ANY PREVIOUS NORMAL/BREAK-ALL */
    font-size: 11px !important;
  }
}

/* =========================================
   FINAL FIX FOR CTA VISIBILITY (204px)
   ========================================= */
@media (max-width: 250px) {
  .premium-cta-btn {
    padding: 8px 4px !important; /* Squeeze horizontal padding to give text more room */
    gap: 4px !important; /* Squeeze gap */
  }
  
  .premium-cta-btn .cta-text {
    font-size: 10px !important; /* Reduce font size to fit "Show My Matches" perfectly */
    text-overflow: clip !important; /* Remove the "..." */
    overflow: visible !important;
    white-space: nowrap !important;
  }
  
  .premium-cta-btn .cta-icon {
    font-size: 12px !important; /* Scale down the rocket slightly to match */
  }
}

/* =========================================
   FIX FOR PROBLEM SECTION (204px)
   ========================================= */
@media (max-width: 250px) {
  /* Badge */
  .section-badge {
    font-size: 9px !important;
    padding: 4px 8px !important;
    white-space: nowrap !important;
  }

  /* Titles and Paragraphs */
  .section-title {
    font-size: 16px !important;
    line-height: 1.2 !important;
  }
  .section-title span {
    font-size: 16px !important;
    display: block !important;
    margin-top: 4px !important;
  }
  .section-sub {
    font-size: 12px !important;
    hyphens: none !important; /* PREVENT HYPHENATION */
    -webkit-hyphens: none !important;
    word-break: normal !important;
    padding: 0 4px !important;
  }

  /* Cards - Stack icon and text vertically! */
  .problem-card {
    display: flex !important;
    flex-direction: column !important; /* Stack vertically instead of horizontally */
    align-items: center !important;
    text-align: center !important;
    padding: 12px 10px !important;
  }
  
  .problem-icon {
    margin: 0 0 10px 0 !important; /* Remove right margin, add bottom margin */
    width: 36px !important;
    height: 36px !important;
  }
  .problem-icon svg {
    width: 18px !important;
    height: 18px !important;
  }
  
  .problem-card h3 {
    font-size: 14px !important;
    margin-bottom: 6px !important;
  }
  
  .problem-card p {
    font-size: 11px !important;
    hyphens: none !important; /* PREVENT HYPHENATION */
    -webkit-hyphens: none !important;
    word-break: normal !important;
    line-height: 1.4 !important;
  }
}

/* =========================================
   FIX FOR CATEGORIES SECTION (204px)
   ========================================= */
@media (max-width: 250px) {
  /* Generic Badge Fix (covers 'Explore Categories') */
  .badge {
    font-size: 9px !important;
    padding: 4px 8px !important;
    white-space: nowrap !important;
  }
  .badge svg {
    width: 12px !important;
    height: 12px !important;
  }

  /* Category Cards */
  .categories-grid {
    gap: 12px !important;
  }
  .cat-card {
    padding: 16px 12px !important;
  }
  .cat-emoji {
    font-size: 32px !important; /* Scale down the giant emoji */
    margin-bottom: 8px !important;
  }
  .cat-card h3 {
    font-size: 14px !important;
    margin-bottom: 6px !important;
  }
  .cat-card p {
    font-size: 11px !important;
    hyphens: none !important; /* Prevent hyphenation */
    -webkit-hyphens: none !important;
    word-break: normal !important;
    line-height: 1.4 !important;
    margin-bottom: 12px !important;
  }
  .cat-tag {
    font-size: 10px !important;
    padding: 6px 12px !important;
    white-space: nowrap !important;
  }
}

/* =========================================
   FIX FOR FREE TOOLS STRIP (204px)
   ========================================= */
@media (max-width: 250px) {
  /* Fix the main button */
  .btn {
    font-size: 12px !important;
    padding: 12px 14px !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
    width: 100% !important; /* Make it full width for maximum breathing room */
    text-align: center !important;
    justify-content: center !important;
  }

  /* Fix the Free Tool Cards (e.g. ChatGPT Free) */
  div[style*="display:grid"] > a[href^="https://"] {
    padding: 16px 12px !important; /* Reduce massive padding */
    align-items: center !important; /* Center content horizontally */
    text-align: center !important;
  }

  div[style*="display:grid"] > a[href^="https://"] > div:first-child {
    font-size: 32px !important; /* Shrink massive robot emoji */
    margin-bottom: 6px !important;
  }

  div[style*="display:grid"] > a[href^="https://"] p:nth-of-type(1) {
    font-size: 14px !important; /* Tool name */
    margin-bottom: 4px !important;
  }

  div[style*="display:grid"] > a[href^="https://"] p:nth-of-type(2) {
    font-size: 11px !important; /* Tool description */
    hyphens: none !important;
    -webkit-hyphens: none !important;
    word-break: normal !important;
    line-height: 1.4 !important;
    margin-bottom: 8px !important;
  }
}

/* =========================================
   FINAL BUTTON WRAP FIX (204px)
   ========================================= */
@media (max-width: 250px) {
  /* Allow ALL buttons to wrap text if it's too long */
  .btn {
    white-space: normal !important; /* MUST ALLOW WRAPPING */
    overflow: visible !important;
    text-overflow: clip !important;
    padding: 10px 12px !important; /* Slightly smaller padding */
    line-height: 1.4 !important; /* Good spacing for multi-line text */
    height: auto !important; /* Ensure button grows vertically */
    border-radius: 20px !important; /* Keep pill shape even when tall */
  }
  
  /* Make sure outline buttons like 'See All 6,500+' look good wrapped */
  .btn-outline {
    white-space: normal !important;
  }
}

/* =========================================
   FIX FOR BLOG CARDS & GLOBAL HYPHENATION (204px)
   ========================================= */
@media (max-width: 250px) {
  /* Kill hyphenation everywhere globally on tiny screens */
  * {
    hyphens: none !important;
    -webkit-hyphens: none !important;
  }

  /* Blog Post Cards (Featured Content & Latest Guides) */
  .post-card, .blog-featured-card {
    border-radius: 12px !important;
  }
  
  .post-img, .blog-featured-img {
    height: 120px !important; /* Make the top image/emoji area much shorter */
    min-height: 120px !important;
    font-size: 3rem !important; /* If it's an emoji */
  }

  .post-body, .blog-featured-body {
    padding: 12px 10px !important; /* Squeeze padding */
  }

  .post-meta, .featured-meta {
    margin-bottom: 8px !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
  }

  .post-cat, .featured-star-badge {
    font-size: 9px !important;
    padding: 4px 8px !important;
  }

  .post-date, .post-read {
    font-size: 10px !important;
  }

  .post-body h3, .blog-featured-body h3 {
    font-size: 14px !important; /* Shrink title */
    line-height: 1.25 !important;
    margin-bottom: 8px !important;
    word-break: normal !important;
  }

  .post-body p, .blog-featured-body p {
    font-size: 11px !important; /* Shrink excerpt */
    line-height: 1.4 !important;
    margin-bottom: 12px !important;
    word-break: normal !important;
  }
}

/* =========================================
   FIX FOR POST FOOTER OVERFLOW (204px)
   ========================================= */
@media (max-width: 250px) {
  .post-footer {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    padding-top: 12px !important;
    flex-wrap: wrap !important;
  }
  
  .post-footer .btn {
    width: auto !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 6px 12px !important;
    white-space: nowrap !important;
  }
  
  .post-read {
    width: auto !important;
    text-align: right !important;
    font-size: 10px !important;
    margin-top: 0 !important;
  }
}
