/* =======================================================================
   CreatorKit — Ultra Modern SaaS Design System v3.0
   Next-Gen UI with Scroll Animations, Aurora FX & Premium Interactions
   ======================================================================= */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Outfit:wght@500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ================================================================
   DESIGN TOKENS
   ================================================================ */
:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', "Cascadia Code", monospace;

  /* Brand Palette */
  --brand-50:  #eef2ff;
  --brand-100: #e0e7ff;
  --brand-200: #c7d2fe;
  --brand-300: #a5b4fc;
  --brand-400: #818cf8;
  --brand-500: #6366f1;
  --brand-600: #4f46e5;
  --brand-700: #4338ca;
  --brand-800: #3730a3;
  --brand-900: #312e81;
  --brand-950: #1e1b4b;

  /* Glow tokens */
  --glow-brand:   rgba(99, 102, 241, 0.3);
  --glow-purple:  rgba(168, 85, 247, 0.25);
  --glow-pink:    rgba(236, 72, 153, 0.2);
  --glow-emerald: rgba(16, 185, 129, 0.25);

  /* Radius */
  --radius-sm:  0.5rem;
  --radius-md:  0.75rem;
  --radius-lg:  1rem;
  --radius-xl:  1.25rem;
  --radius-2xl: 1.5rem;
  --radius-3xl: 2rem;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0,0,0,.05);
  --shadow-sm: 0 1px 3px rgba(15,23,42,.08), 0 1px 2px -1px rgba(15,23,42,.08);
  --shadow-md: 0 4px 16px -2px rgba(15,23,42,.08), 0 2px 6px -2px rgba(15,23,42,.05);
  --shadow-lg: 0 12px 32px -4px rgba(15,23,42,.1),  0 4px 12px -2px rgba(15,23,42,.06);
  --shadow-xl: 0 20px 40px -6px rgba(15,23,42,.12), 0 8px 16px -4px rgba(15,23,42,.08);

  /* Transition presets */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out:    cubic-bezier(0.0, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ================================================================
   BASE RESETS
   ================================================================ */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  letter-spacing: -0.012em;
}

h1, h2, h3, h4, .font-display {
  font-family: var(--font-display);
  letter-spacing: -0.025em;
}

/* ================================================================
   SCROLLBAR
   ================================================================ */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 99px; }
.dark ::-webkit-scrollbar-thumb { background: #334155; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
.dark ::-webkit-scrollbar-thumb:hover { background: #475569; }

/* ================================================================
   SELECTION
   ================================================================ */
::selection { background-color: rgba(99,102,241,.2); color: #3730a3; }
.dark ::selection { background-color: rgba(129,140,248,.28); color: #e0e7ff; }

/* ================================================================
   GLASSMORPHISM
   ================================================================ */
.glass {
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}
.dark .glass {
  background: rgba(8,12,24,.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.glass-card {
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.dark .glass-card {
  background: rgba(15,23,42,.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.glass-card-dark {
  background: rgba(15,23,42,.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.06);
}

/* ================================================================
   GRADIENT BACKGROUNDS
   ================================================================ */
.hero-gradient {
  background: radial-gradient(ellipse 90% 70% at 50% -5%,
    rgba(99,102,241,.14) 0%,
    rgba(168,85,247,.07) 50%,
    transparent 80%);
}
.dark .hero-gradient {
  background: radial-gradient(ellipse 90% 70% at 50% -5%,
    rgba(99,102,241,.2) 0%,
    rgba(168,85,247,.1) 50%,
    transparent 80%);
}

/* ================================================================
   GRADIENT TEXT
   ================================================================ */
.gradient-text {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 45%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: gradientShift 6s linear infinite alternate;
}
.dark .gradient-text {
  background: linear-gradient(135deg, #818cf8 0%, #a855f7 45%, #f472b6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: gradientShift 6s linear infinite alternate;
}
@keyframes gradientShift {
  0%   { background-position: 0% center; }
  100% { background-position: 100% center; }
}

/* Secondary gradient text variant */
.gradient-text-warm {
  background: linear-gradient(135deg, #f59e0b 0%, #ef4444 50%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ================================================================
   NAV LINK
   ================================================================ */
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 2px;
  background: var(--brand-600);
  border-radius: 99px;
  transition: width 0.22s var(--ease-spring);
}
.dark .nav-link::after { background: var(--brand-400); }
.nav-link:hover::after, .nav-link.active::after { width: 55%; }

/* ================================================================
   TOOL CARDS (Premium)
   ================================================================ */
.tool-card {
  position: relative;
  background-clip: padding-box;
  transition: transform 0.22s var(--ease-spring),
              box-shadow 0.22s var(--ease-spring),
              border-color 0.22s var(--ease-out),
              opacity 0.2s ease;
}
.tool-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: radial-gradient(circle at 50% 0%, rgba(99,102,241,.06) 0%, transparent 70%);
  pointer-events: none;
}
.tool-card:hover::before { opacity: 1; }
.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -6px rgba(15,23,42,.1), 0 4px 10px -3px rgba(15,23,42,.04);
}
.dark .tool-card {
  background: #0c1526;
  border-color: rgba(30,41,59,.9);
}
.dark .tool-card:hover {
  background: #101e38;
  border-color: rgba(51,65,85,.8);
  box-shadow: 0 20px 40px -8px rgba(0,0,0,.6), 0 4px 12px -3px rgba(0,0,0,.3);
}

/* ================================================================
   AURORA MESH BACKGROUND
   ================================================================ */
.aurora-mesh {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 140%;
  max-width: 1600px;
  height: 800px;
  overflow: visible;
  pointer-events: none;
  z-index: 0;
}

.aurora-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  animation: floatOrb 14s ease-in-out infinite alternate;
  will-change: transform;
}

.aurora-orb-1 {
  width: 600px; height: 480px;
  background: radial-gradient(circle, rgba(99,102,241,.32) 0%, transparent 70%);
  top: -80px; left: 5%;
  animation-duration: 16s;
}
.aurora-orb-2 {
  width: 660px; height: 520px;
  background: radial-gradient(circle, rgba(168,85,247,.26) 0%, transparent 70%);
  top: -50px; right: 5%;
  animation-delay: -5s;
  animation-duration: 18s;
}
.aurora-orb-3 {
  width: 500px; height: 400px;
  background: radial-gradient(circle, rgba(236,72,153,.2) 0%, transparent 70%);
  top: 180px; left: 35%;
  animation-delay: -10s;
  animation-duration: 20s;
}
.aurora-orb-4 {
  width: 360px; height: 280px;
  background: radial-gradient(circle, rgba(6,182,212,.18) 0%, transparent 70%);
  top: 300px; left: 15%;
  animation-delay: -3s;
  animation-duration: 22s;
}

/* Enhanced dark mode orbs */
.dark .aurora-orb-1 { background: radial-gradient(circle, rgba(99,102,241,.42) 0%, transparent 70%); }
.dark .aurora-orb-2 { background: radial-gradient(circle, rgba(168,85,247,.38) 0%, transparent 70%); }
.dark .aurora-orb-3 { background: radial-gradient(circle, rgba(236,72,153,.28) 0%, transparent 70%); }
.dark .aurora-orb-4 { background: radial-gradient(circle, rgba(6,182,212,.24) 0%, transparent 70%); }

@keyframes floatOrb {
  0%   { transform: translate(0, 0) scale(1) rotate(0deg); }
  33%  { transform: translate(40px, 30px) scale(1.08) rotate(5deg); }
  66%  { transform: translate(-30px, 55px) scale(0.94) rotate(-3deg); }
  100% { transform: translate(20px, -20px) scale(1.04) rotate(2deg); }
}

/* ================================================================
   BUTTON EFFECTS
   ================================================================ */
.btn-glow {
  position: relative;
  overflow: hidden;
  transition: transform 0.18s var(--ease-spring), box-shadow 0.18s ease;
}
.btn-glow::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(255,255,255,.15), transparent 60%);
  pointer-events: none;
}
.btn-glow::after {
  content: '';
  position: absolute;
  top: -60%; left: -60%;
  width: 220%; height: 220%;
  background: linear-gradient(55deg, transparent 30%, rgba(255,255,255,.28), transparent 70%);
  transform: rotate(25deg) translateX(-120%);
  transition: transform 0.7s ease;
}
.btn-glow:hover { transform: translateY(-2px); }
.btn-glow:hover::after { transform: rotate(25deg) translateX(120%); }
.btn-glow:active { transform: translateY(0); }

.btn-outline-glow {
  position: relative;
  overflow: hidden;
  transition: all 0.2s var(--ease-spring);
}
.btn-outline-glow:hover {
  box-shadow: 0 0 0 1px rgba(99,102,241,.4), 0 0 20px rgba(99,102,241,.12);
}

/* ================================================================
   CATEGORY FILTER TABS
   ================================================================ */
.filter-tab {
  transition: all 0.2s var(--ease-spring);
  cursor: pointer;
  white-space: nowrap;
}
.filter-tab:hover {
  border-color: rgba(99,102,241,.5) !important;
  color: #4f46e5;
}
.dark .filter-tab:hover {
  border-color: rgba(99,102,241,.6) !important;
  color: #818cf8;
}
.filter-tab.active {
  background: linear-gradient(135deg, #4f46e5, #7c3aed) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 4px 16px rgba(79,70,229,.35) !important;
  transform: translateY(-1px);
}
.dark .filter-tab.active {
  background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
  box-shadow: 0 4px 20px rgba(99,102,241,.45) !important;
}

/* No scrollbar for filter row */
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }

/* ================================================================
   SPOTLIGHT & BENTO CARDS
   ================================================================ */
.spotlight-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.28s var(--ease-spring),
              box-shadow 0.28s var(--ease-spring),
              border-color 0.22s ease;
}
.spotlight-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 60% -20%, rgba(99,102,241,.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.spotlight-card:hover::after { opacity: 1; }
.spotlight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 44px -10px rgba(15,23,42,.12), 0 6px 14px -4px rgba(15,23,42,.06);
}
.dark .spotlight-card:hover {
  box-shadow: 0 24px 48px -10px rgba(0,0,0,.65), 0 6px 16px -4px rgba(0,0,0,.4);
}

/* ================================================================
   PULSE GLOW BADGE
   ================================================================ */
.pulse-badge {
  box-shadow: 0 0 0 0 rgba(99,102,241,.5);
  animation: pulseBadge 2.4s infinite cubic-bezier(0.5, 0, 0, 1);
}
@keyframes pulseBadge {
  to { box-shadow: 0 0 0 12px rgba(99,102,241,0); }
}

/* Live indicator pulse */
.live-dot {
  animation: livePulse 1.8s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(1.3); }
}

/* ================================================================
   SCROLL-TRIGGERED ANIMATIONS (JS-driven via IntersectionObserver)
   ================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease-spring), transform 0.65s var(--ease-spring);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.6s var(--ease-spring), transform 0.6s var(--ease-spring);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.6s var(--ease-spring), transform 0.6s var(--ease-spring);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.55s var(--ease-spring), transform 0.55s var(--ease-spring);
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delay helpers */
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }
.delay-5 { transition-delay: 0.40s; }
.delay-6 { transition-delay: 0.48s; }

/* ================================================================
   FEATURED/HIGHLIGHT BORDER GLOW
   ================================================================ */
.border-glow {
  position: relative;
}
.border-glow::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(99,102,241,.5), rgba(168,85,247,.5), rgba(236,72,153,.4));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ================================================================
   MICRO ANIMATIONS
   ================================================================ */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-slide-up {
  animation: slideUp 0.35s var(--ease-spring) forwards;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-slide-down {
  animation: slideDown 0.28s var(--ease-spring) forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.animate-fade-in {
  animation: fadeIn 0.38s ease-out forwards;
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}
.animate-scale-in {
  animation: scaleIn 0.3s var(--ease-spring) forwards;
}

@keyframes shimmerMove {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}
.skeleton-loading {
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: shimmerMove 1.5s infinite;
}
.dark .skeleton-loading {
  background: linear-gradient(90deg, #1e293b 25%, #334155 50%, #1e293b 75%);
  background-size: 200% 100%;
  animation: shimmerMove 1.5s infinite;
}

/* Floating animation for decorative elements */
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
.animate-float { animation: floatY 4s ease-in-out infinite; }

/* Spin slow */
@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.animate-spin-slow { animation: spinSlow 10s linear infinite; }

/* Typewriter cursor blink */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
.cursor-blink { animation: blink 1s step-start infinite; }

/* ================================================================
   FOCUS STATES
   ================================================================ */
:focus-visible {
  outline: 2px solid var(--brand-500);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ================================================================
   FORM INPUTS
   ================================================================ */
input:focus, select:focus, textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(99,102,241,.18);
  border-color: var(--brand-500) !important;
}

/* ================================================================
   HERO SEARCH GLOW RING
   ================================================================ */
.search-glow-ring {
  position: relative;
}
.search-glow-ring::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 1.125rem;
  background: linear-gradient(135deg, rgba(99,102,241,.35), rgba(168,85,247,.3), rgba(236,72,153,.25));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
}
.search-glow-ring:focus-within::before { opacity: 1; }
.search-glow-ring > * { position: relative; z-index: 1; }

/* ================================================================
   MOBILE NAVIGATION
   ================================================================ */
@media (max-width: 767px) {
  #mobile-menu { display: none; }
  #mobile-menu.open { display: flex; }
}

/* ================================================================
   ADMIN SIDEBAR RESPONSIVE
   ================================================================ */
@media (max-width: 1023px) {
  #admin-sidebar {
    position: fixed;
    inset-y: 0; left: 0;
    z-index: 50;
    transform: translateX(-100%);
    transition: transform 0.28s var(--ease-spring);
  }
  #admin-sidebar.open {
    transform: translateX(0);
    box-shadow: 0 0 60px rgba(0,0,0,.35);
  }
  #admin-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(15,23,42,.65);
    z-index: 40;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
  #admin-overlay.open { display: block; }
}

/* ================================================================
   TABLE RESPONSIVE
   ================================================================ */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ================================================================
   FEATURE CARD
   ================================================================ */
.feature-card {
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ================================================================
   PROSE TYPOGRAPHY
   ================================================================ */
.prose h2 {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 800;
  margin-top: 2.25rem; margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}
.prose h3 {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 700;
  margin-top: 1.75rem; margin-bottom: 0.6rem;
  letter-spacing: -0.015em;
}
.prose p { margin-bottom: 1.2rem; line-height: 1.85; }
.prose ul, .prose ol { padding-left: 1.6rem; margin-bottom: 1.2rem; }
.prose li { margin-bottom: 0.5rem; line-height: 1.7; }
.prose strong { font-weight: 700; color: inherit; }
.prose code {
  font-family: var(--font-mono);
  font-size: 0.84em;
  background: rgba(99,102,241,.1);
  color: var(--brand-700);
  padding: 0.18em 0.44em;
  border-radius: 0.375rem;
}
.dark .prose code {
  background: rgba(129,140,248,.15);
  color: #c7d2fe;
}

/* ================================================================
   SECTION DIVIDERS & DECORATIVE
   ================================================================ */
.section-divider {
  position: relative;
  overflow: hidden;
}
.section-divider::before {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(99,102,241,.3), transparent);
}

/* Gradient line separator */
.gradient-line {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(99,102,241,.25), rgba(168,85,247,.2), transparent);
}
.dark .gradient-line {
  background: linear-gradient(to right, transparent, rgba(99,102,241,.35), rgba(168,85,247,.3), transparent);
}

/* ================================================================
   STICKY HEADER SCROLL SHADOW
   ================================================================ */
.header-scrolled {
  box-shadow: 0 1px 0 rgba(0,0,0,.06), 0 4px 16px -4px rgba(15,23,42,.08);
}
.dark .header-scrolled {
  box-shadow: 0 1px 0 rgba(255,255,255,.04), 0 4px 16px -4px rgba(0,0,0,.4);
}

/* ================================================================
   STATS COUNTER HIGHLIGHT
   ================================================================ */
.stat-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s ease;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: conic-gradient(from 0deg at 50% 50%,
    transparent 0deg,
    rgba(99,102,241,.1) 60deg,
    transparent 120deg);
  animation: spinSlow 8s linear infinite;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.stat-card:hover::before { opacity: 1; }
.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -6px rgba(99,102,241,.18);
}
.dark .stat-card:hover {
  box-shadow: 0 12px 28px -6px rgba(99,102,241,.3);
}

/* ================================================================
   CONSOLE / CODE PREVIEW WIDGET
   ================================================================ */
.console-window {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 24px 48px -8px rgba(0,0,0,.15), 0 0 0 1px rgba(0,0,0,.05);
}
.dark .console-window {
  box-shadow: 0 28px 56px -8px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.04);
}
.console-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
}
.console-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  cursor: default;
  transition: filter 0.2s ease;
}
.console-dot:hover { filter: brightness(1.15); }

/* ================================================================
   REVIEW CARDS
   ================================================================ */
.review-card {
  position: relative;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s ease;
}
.review-card::before {
  content: '"';
  position: absolute;
  top: -8px; left: 16px;
  font-size: 5rem; line-height: 1;
  font-family: Georgia, serif;
  color: rgba(99,102,241,.12);
  pointer-events: none;
}
.dark .review-card::before {
  color: rgba(99,102,241,.18);
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -8px rgba(15,23,42,.1);
}
.dark .review-card:hover {
  box-shadow: 0 16px 36px -8px rgba(0,0,0,.55);
}

/* ================================================================
   TRENDING CHIP TAGS
   ================================================================ */
.trend-chip {
  transition: all 0.18s var(--ease-spring);
  position: relative;
  overflow: hidden;
}
.trend-chip::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(99,102,241,.08), rgba(168,85,247,.08));
  opacity: 0;
  transition: opacity 0.2s ease;
  border-radius: inherit;
}
.trend-chip:hover::after { opacity: 1; }
.trend-chip:hover {
  border-color: rgba(99,102,241,.5) !important;
  color: #4f46e5 !important;
  transform: translateY(-1px);
}
.dark .trend-chip:hover {
  border-color: rgba(99,102,241,.6) !important;
  color: #a5b4fc !important;
}

/* ================================================================
   FAQ ACCORDION
   ================================================================ */
details { transition: background 0.2s ease; }
details summary { list-style: none; user-select: none; }
details summary::-webkit-details-marker { display: none; }
details summary svg {
  transition: transform 0.25s var(--ease-spring);
  flex-shrink: 0;
}
details[open] summary svg { transform: rotate(180deg); }
details[open] {
  background: rgba(248,250,252,.7);
}
.dark details[open] {
  background: rgba(15,23,42,.6);
}

/* ================================================================
   CATEGORY GRID CARDS
   ================================================================ */
.cat-card {
  transition: all 0.22s var(--ease-spring);
}
.cat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px -6px rgba(15,23,42,.08);
}
.dark .cat-card:hover {
  box-shadow: 0 12px 26px -6px rgba(0,0,0,.5);
}
.cat-icon {
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s var(--ease-spring);
}
.cat-card:hover .cat-icon {
  transform: scale(1.1) rotate(-5deg);
}

/* ================================================================
   RESPONSIVE UTILITIES
   ================================================================ */
@media (max-width: 640px) {
  .hide-mobile { display: none !important; }
  .text-hero-sm { font-size: clamp(2.2rem, 10vw, 3.5rem) !important; }
}
@media (min-width: 641px) and (max-width: 1024px) {
  .text-hero-md { font-size: clamp(3rem, 7vw, 4.5rem) !important; }
}
@media (min-width: 1025px) {
  .text-hero-lg { font-size: clamp(4rem, 5.5vw, 6rem) !important; }
}

/* Fluid typography */
.text-fluid-xl {
  font-size: clamp(1.75rem, 4.5vw, 3.5rem);
  line-height: 1.1;
}
.text-fluid-lg {
  font-size: clamp(1.4rem, 3vw, 2.25rem);
  line-height: 1.2;
}

/* ================================================================
   FOOTER GRADIENT BORDER TOP
   ================================================================ */
footer::before {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(99,102,241,.2), rgba(168,85,247,.2), transparent);
}
.dark footer::before {
  background: linear-gradient(to right, transparent, rgba(99,102,241,.3), rgba(168,85,247,.25), transparent);
}
