/* 
 * FreeFileApp - VISUAL FEAST Premium Design System
 * Ultra-modern, stunning visual experience
 * 
 * Design Philosophy:
 * - Vibrant gradients and glassmorphism
 * - Bold, eye-catching aesthetics
 * - Smooth fluid animations
 * - Depth and dimension
 * - Premium luxury feel
 */

/* ===== STUNNING ANIMATIONS ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }

  100% {
    background-position: 1000px 0;
  }
}

@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes glow {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4),
      0 0 40px rgba(99, 102, 241, 0.2),
      0 0 60px rgba(99, 102, 241, 0.1);
  }

  50% {
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.5),
      0 0 60px rgba(139, 92, 246, 0.3),
      0 0 80px rgba(139, 92, 246, 0.15);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  25% {
    transform: translateY(-5px) rotate(1deg);
  }

  75% {
    transform: translateY(5px) rotate(-1deg);
  }
}

@keyframes borderGlow {

  0%,
  100% {
    border-color: rgba(99, 102, 241, 0.5);
  }

  50% {
    border-color: rgba(236, 72, 153, 0.5);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

/* ===== VISUAL FEAST COLOR PALETTE ===== */
:root {
  /* Rich Dark Backgrounds with depth */
  --bg-primary: #030712;
  --bg-secondary: #0a0f1a;
  --bg-tertiary: #111827;
  --bg-elevated: #1f2937;
  --bg-hover: #374151;

  /* Stunning Gradient Accents */
  --accent-primary: #6366f1;
  /* Vibrant Indigo */
  --accent-secondary: #8b5cf6;
  /* Electric Purple */
  --accent-tertiary: #ec4899;
  /* Hot Pink */
  --accent-cyan: #06b6d4;
  /* Brilliant Cyan */
  --accent-emerald: #10b981;
  /* Emerald Green */

  /* Premium Gradients */
  --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
  --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #3b82f6 50%, #8b5cf6 100%);
  --gradient-dark: linear-gradient(180deg, #030712 0%, #0a0f1a 50%, #111827 100%);
  --gradient-glow: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.15) 50%, rgba(236, 72, 153, 0.15) 100%);
  --gradient-card: linear-gradient(145deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);

  /* Status Colors - Vibrant */
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --info: #0ea5e9;

  /* Text Colors - High contrast */
  --text-primary: #ffffff;
  --text-secondary: #e2e8f0;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;

  /* Glass & Borders */
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --border-default: rgba(255, 255, 255, 0.1);
  --border-light: rgba(255, 255, 255, 0.05);
  --border-glow: rgba(99, 102, 241, 0.5);

  /* Stunning Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);
  --shadow-glow-pink: 0 0 40px rgba(236, 72, 153, 0.3);

  /* Spacing - 8px based system */
  --spacing-0: 0;
  --spacing-1: 0.25rem;
  --spacing-2: 0.5rem;
  --spacing-3: 0.75rem;
  --spacing-4: 1rem;
  --spacing-5: 1.25rem;
  --spacing-6: 1.5rem;
  --spacing-7: 1.75rem;
  --spacing-8: 2rem;
  --spacing-10: 2.5rem;
  --spacing-12: 3rem;
  --spacing-16: 4rem;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Border Radius - Smooth curves */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Z-index scale */
  --z-dropdown: 1000;
  --z-sticky: 100;
  --z-modal: 9999;
}

/* ===== GLOBAL RESETS ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Stunning Background Effects */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% -20%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 0%, rgba(139, 92, 246, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 50% 30% at 50% 100%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
  font-weight: 700;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
}

h5 {
  font-size: 1rem;
  font-weight: 600;
}

h6 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

p {
  line-height: 1.7;
  color: var(--text-secondary);
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-light);
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-6);
}

/* ===== BUTTONS - STUNNING ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-2);
  padding: 0.875rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: var(--font-sans);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #a855f7 100%);
  background-size: 200% 200%;
  color: #FFFFFF !important;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4), 0 0 8px rgba(0, 0, 0, 0.2);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
  animation: gradientFlow 3s ease infinite;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.6);
  background: linear-gradient(135deg, #4338ca 0%, #6d28d9 50%, #9333ea 100%);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-default);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.2);
}

.btn-icon {
  padding: var(--spacing-3);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  border: 1px solid transparent;
}

.btn-icon:hover {
  background: rgba(99, 102, 241, 0.1);
  color: var(--accent-primary);
  border-color: var(--accent-primary);
  transform: scale(1.05);
}

/* ===== NAVIGATION BAR - STUNNING ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: rgba(3, 7, 18, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: var(--spacing-4) 0;
  transition: all 0.3s ease;
}

.navbar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), rgba(139, 92, 246, 0.3), transparent);
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-6);
  gap: var(--spacing-6);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo:hover {
  transform: scale(1.02);
}

/* Site Logo - Header & Footer */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.site-logo:hover {
  transform: scale(1.02);
}

.site-logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Light/Dark mode logo switching */
.site-logo-img.logo-light-mode {
  display: none;
}

.site-logo-img.logo-dark-mode {
  display: block;
}

body.light-mode .site-logo-img.logo-light-mode {
  display: block;
}

body.light-mode .site-logo-img.logo-dark-mode {
  display: none;
}

.site-logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.site-logo-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.site-logo-tagline {
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--neon-cyan);
  line-height: 1;
  opacity: 0.9;
}

/* Light mode logo adjustments */
.light-mode .site-logo-name {
  color: #000000 !important;
  font-weight: 800 !important;
  letter-spacing: -0.5px;
}

.light-mode .site-logo-tagline {
  color: #0891b2 !important;
  font-weight: 700 !important;
}

/* Navbar in light mode with proper logo contrast */
body.light-mode .navbar {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: rgba(15, 23, 42, 0.1);
}

body.light-mode .site-logo-img {
  filter: brightness(1.1) contrast(1.1) !important;
  width: 32px !important;
  height: 32px !important;
  object-fit: contain !important;
}

body.light-mode .site-logo-img.logo-dark-mode {
  display: none !important;
}

body.light-mode .site-logo-img.logo-light-mode {
  display: block !important;
}

/* Footer light mode - Dark text for light background */
.light-mode .footer .site-logo-name {
  color: #000000 !important;
  font-weight: 800 !important;
}

.light-mode .footer .site-logo-tagline {
  color: #0891b2 !important;
  font-weight: 700 !important;
}

.light-mode .footer .footer-description {
  color: #475569 !important;
}

.logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.logo-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.logo-tagline {
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--neon-cyan);
  line-height: 1;
  opacity: 0.9;
}

/* Light mode logo adjustments */
.light-mode .logo-name {
  color: #0f172a !important;
  font-weight: 700 !important;
}

.light-mode .logo-tagline {
  color: #0891b2 !important;
  font-weight: 600 !important;
}

/* Footer logo */
.footer-logo {
  margin-bottom: 0.5rem;
}

.nav-links {
  display: flex;
  gap: var(--spacing-5);
  list-style: none;
}

.nav-centered {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  margin-left: auto;
}

.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  position: relative;
  padding: var(--spacing-2);
  font-size: 0.9rem;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: rgba(99, 102, 241, 0.1);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 60%;
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: var(--spacing-4);
}

/* ===== SIDEBAR - STUNNING ===== */
.sidebar {
  position: sticky;
  top: 80px;
  height: calc(100vh - 100px);
  overflow-y: auto;
  background: rgba(3, 7, 18, 0.6);
  backdrop-filter: blur(20px);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding: var(--spacing-4);
  width: 280px;
  flex-shrink: 0;
}

.sidebar::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.3), transparent, rgba(139, 92, 246, 0.3));
}

.sidebar-section {
  margin-bottom: var(--spacing-6);
}

.sidebar-title {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-primary);
  margin-bottom: var(--spacing-3);
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
}

.sidebar-title::before {
  content: '';
  width: 3px;
  height: 14px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.sidebar-list {
  list-style: none;
}

.sidebar-item {
  margin-bottom: var(--spacing-1);
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
  padding: var(--spacing-2) var(--spacing-3);
  border-radius: var(--radius-lg);
  color: var(--text-secondary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  font-size: 0.875rem;
  line-height: 1.4;
}

.sidebar-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.sidebar-link:hover {
  background: rgba(99, 102, 241, 0.1);
  color: var(--text-primary);
  transform: translateX(4px);
}

.sidebar-link:hover::before {
  opacity: 0.08;
}

.sidebar-link.active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.1));
  color: var(--accent-primary);
  border-left: 3px solid;
  border-image: var(--gradient-primary) 1;
  padding-left: calc(var(--spacing-4) - 3px);
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.15);
}

.sidebar-icon {
  font-size: 1.125rem;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.sidebar-link:hover .sidebar-icon,
.sidebar-link.active .sidebar-icon {
  opacity: 1;
  color: var(--accent-primary);
  transform: scale(1.1);
}

/* ===== SIDEBAR ACCORDION (Parent-Child Categories) ===== */
.sidebar-item.has-children {
  margin-bottom: 0;
}

.sidebar-link-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.sidebar-link-wrapper .sidebar-link {
  flex: 1;
  margin-right: 0;
}

.sidebar-toggle {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 8px 12px;
  transition: all 0.3s ease;
  border-radius: var(--radius-md);
}

.sidebar-toggle:hover {
  background: rgba(99, 102, 241, 0.1);
  color: var(--accent-primary);
}

.sidebar-toggle i {
  transition: transform 0.3s ease;
  font-size: 0.75rem;
}

.sidebar-item.expanded .sidebar-toggle i {
  transform: rotate(180deg);
}

.sidebar-sublist {
  list-style: none;
  padding: 0;
  margin: 0 0 0 var(--spacing-4);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  opacity: 0;
}

.sidebar-item.expanded .sidebar-sublist {
  max-height: 1000px;
  opacity: 1;
  margin-bottom: var(--spacing-2);
}

.sidebar-subitem {
  margin-bottom: 2px;
}

.sidebar-sublink {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
  padding: var(--spacing-1-5) var(--spacing-3);
  padding-left: var(--spacing-4);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  transition: all 0.3s ease;
  background: transparent;
  font-weight: 400;
  font-size: 0.8rem;
  line-height: 1.3;
  position: relative;
  border-left: 2px solid transparent;
}

.sidebar-sublink::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: transparent;
  transition: all 0.3s ease;
}

.sidebar-sublink:hover {
  background: rgba(99, 102, 241, 0.08);
  color: var(--text-primary);
  padding-left: calc(var(--spacing-4) + 4px);
  border-left-color: var(--accent-primary);
}

.sidebar-sublink:hover::before {
  background: var(--accent-primary);
  transform: translateY(-50%) scale(1.2);
}

.sidebar-sublink.active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(139, 92, 246, 0.08));
  color: var(--accent-primary);
  border-left-color: var(--accent-primary);
  font-weight: 500;
}

.sidebar-sublink.active::before {
  background: var(--accent-primary);
}

.sidebar-sublink .sidebar-icon {
  font-size: 0.95rem;
  width: 18px;
  height: 18px;
  opacity: 0.6;
}

.sidebar-sublink:hover .sidebar-icon,
.sidebar-sublink.active .sidebar-icon {
  opacity: 1;
  color: var(--accent-primary);
  transform: scale(1.05);
}

/* ===== SEARCH BAR - STUNNING ===== */
.search-container {
  position: relative;
  max-width: 500px;
  margin: var(--spacing-8) auto;
}

.search-input {
  width: 100%;
  padding: var(--spacing-4) var(--spacing-8) var(--spacing-4) var(--spacing-4);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: var(--font-sans);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.search-input:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: rgba(99, 102, 241, 0.05);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.2), inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-icon {
  position: absolute;
  right: var(--spacing-4);
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1rem;
  pointer-events: none;
  transition: color 0.3s ease;
}

.search-input:focus+.search-icon,
.search-container:hover .search-icon {
  color: var(--accent-primary);
}

/* ===== CARDS - STUNNING ===== */
.glass-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  padding: var(--spacing-6);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.glass-card:hover {
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(99, 102, 241, 0.15);
}

.glass-card:hover::before {
  opacity: 0.05;
}

/* ===== SOFTWARE SECTION ===== */
.software-section {
  margin-bottom: var(--spacing-12);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
}

.section-title i {
  color: var(--accent-primary);
  font-size: 1.25rem;
}

/* ===== SOFTWARE GRID ===== */
.software-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.software-grid-extra {
  margin-top: 1.5rem;
}

/* Responsive Grid */
@media (max-width: 1200px) {
  .software-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .software-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== LOAD MORE BUTTON ===== */
.load-more-container {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.btn-load-more {
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: var(--accent-primary);
  padding: 0.875rem 2.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-load-more:hover {
  background: var(--gradient-primary);
  border-color: transparent;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.btn-load-more i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.btn-load-more:hover i {
  transform: rotate(90deg);
}

/* ===== SOFTWARE CARD - STUNNING ===== */
.software-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  padding: var(--spacing-6);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
}

.software-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.05), rgba(236, 72, 153, 0.03));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.software-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.software-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: transparent;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(99, 102, 241, 0.2);
}

.software-card:hover::before {
  opacity: 1;
}

.software-card:hover::after {
  opacity: 0.3;
}

.card-header {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-4);
  margin-bottom: var(--spacing-4);
  position: relative;
  z-index: 1;
}

.software-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  min-height: 52px;
  max-width: 52px;
  max-height: 52px;
  border-radius: 12px;
  object-fit: contain;
  object-position: center;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.08));
  padding: 8px;
  flex-shrink: 0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.software-icon-fallback {
  width: 52px;
  height: 52px;
  min-width: 52px;
  min-height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(139, 92, 246, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.software-icon-fallback i {
  font-size: 1.4rem;
  color: var(--neon-cyan);
}

.software-card:hover .software-icon {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.software-card:hover .software-icon-fallback {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.3);
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--spacing-1);
  flex: 1;
  transition: color 0.3s ease;
}

.software-card:hover .card-title {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-1);
  font-size: 0.7rem;
  color: var(--success);
  background: rgba(16, 185, 129, 0.1);
  padding: var(--spacing-1) var(--spacing-2);
  border-radius: var(--radius-sm);
  font-weight: 600;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.card-description {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: var(--spacing-4);
  position: relative;
  z-index: 1;
  flex: 1;
}

.card-meta {
  display: flex;
  gap: var(--spacing-4);
  margin-bottom: var(--spacing-4);
  font-size: 0.8rem;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-1);
}

.card-footer {
  display: flex;
  gap: var(--spacing-3);
  position: relative;
  z-index: 1;
  margin-top: auto;
}

/* ===== DOWNLOAD INTENT BUTTON STYLES ===== */
.btn-download-intent {
  position: relative;
  animation: subtle-pulse 3s ease-in-out infinite;
}

.btn-download-intent:hover {
  animation: none;
  transform: translateY(-2px);
}

.btn-full-width {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.card-footer .btn-full-width,
.software-card-actions .btn-full-width {
  flex: 1;
  width: 100%;
}

@keyframes subtle-pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(99, 102, 241, 0);
  }
}

.download-hint {
  display: block;
  margin-top: var(--spacing-2);
  padding: var(--spacing-2) var(--spacing-3);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  background: rgba(99, 102, 241, 0.08);
  border-radius: var(--radius-md);
  border: 1px solid rgba(99, 102, 241, 0.15);
  transition: all 0.3s ease;
}

.download-hint i {
  margin-right: 4px;
  color: var(--accent-primary);
}

.glass-card:hover .download-hint,
.software-card:hover .download-hint {
  background: rgba(99, 102, 241, 0.12);
  color: var(--text-secondary);
}

/* Light mode download hint */
body.light-mode .download-hint {
  background: rgba(99, 102, 241, 0.1);
  color: #666;
  border-color: rgba(99, 102, 241, 0.2);
}

/* Light Mode Software Card */
body.light-mode .software-card {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.06);
}

body.light-mode .software-card:hover {
  background: #ffffff;
  border-color: rgba(99, 102, 241, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

body.light-mode .software-card .card-title {
  color: #1e293b;
}

body.light-mode .software-card .card-description {
  color: #64748b;
}

body.light-mode .software-card .meta-item {
  color: #64748b;
  background: rgba(0, 0, 0, 0.03);
}

/* Simple Software Card (Used in Most Downloaded, New Releases, etc.) */
.software-card-simple {
  padding: 1.5rem;
  border-radius: 14px;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  height: 100%;
}

.software-card-simple:hover {
  transform: translateY(-5px);
  background: rgba(30, 41, 59, 0.7);
  border-color: var(--accent-primary);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.software-card-simple h3 {
  color: var(--text-primary);
  margin-bottom: 0px;
  font-size: 1.25rem;
  font-weight: 700;
}

.software-card-simple .category {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.software-card-simple .meta-info {
  font-size: 0.85rem;
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Light Mode for Simple Card */
body.light-mode .software-card-simple {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .software-card-simple:hover {
  background: #ffffff;
  border-color: var(--accent-primary);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

body.light-mode .software-card-simple h3 {
  color: #1e293b;
}

body.light-mode .software-card-simple .category {
  color: #64748b;
}

body.light-mode .software-card-simple .meta-info {
  border-top-color: rgba(0, 0, 0, 0.05);
}

body.light-mode .glass-card:hover .download-hint,
body.light-mode .software-card:hover .download-hint {
  color: #444;
}

/* Light mode - High contrast buttons for accessibility */
body.light-mode .btn-primary {
  background: linear-gradient(135deg, #4338ca 0%, #6d28d9 50%, #9333ea 100%);
  color: #FFFFFF !important;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4), 0 0 8px rgba(0, 0, 0, 0.2);
  box-shadow: 0 4px 20px rgba(67, 56, 202, 0.35);
}

body.light-mode .btn-primary:hover {
  background: linear-gradient(135deg, #3730a3 0%, #5b21b6 50%, #7e22ce 100%);
  box-shadow: 0 8px 30px rgba(67, 56, 202, 0.5);
}

body.light-mode .sd-download-btn {
  background: linear-gradient(135deg, #4338ca 0%, #6d28d9 50%, #9333ea 100%);
  color: #FFFFFF !important;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4), 0 0 8px rgba(0, 0, 0, 0.2);
  box-shadow: 0 4px 20px rgba(67, 56, 202, 0.35);
}

body.light-mode .sd-download-btn:hover {
  background: linear-gradient(135deg, #3730a3 0%, #5b21b6 50%, #7e22ce 100%);
  box-shadow: 0 8px 30px rgba(67, 56, 202, 0.5);
}

/* Software list download hint positioning */
.software-card-actions+.download-hint {
  margin-top: var(--spacing-3);
}

/* ===== BADGES - STUNNING ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-1);
  padding: var(--spacing-2) var(--spacing-3);
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.badge-verified {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.2);
}

.badge-featured {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2));
  color: var(--accent-primary);
  border: 1px solid rgba(99, 102, 241, 0.3);
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.2);
}

.badge-warning {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.2);
}

/* ===== HERO SECTION - STUNNING ===== */
.hero {
  text-align: center;
  padding: var(--spacing-20) 0 var(--spacing-16);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 1000px;
  background:
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 30% 60%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse 35% 25% at 70% 40%, rgba(236, 72, 153, 0.08) 0%, transparent 50%);
  animation: float 8s ease-in-out infinite;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--bg-primary), transparent);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--spacing-6);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-title span,
.hero-title .gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientFlow 4s ease infinite;
  background-size: 200% 200%;
}

.hero-subtitle {
  font-size: 1.35rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-10);
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: var(--spacing-8);
  margin-top: var(--spacing-12);
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-3);
  padding: var(--spacing-8);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  min-width: 200px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.trust-badge::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.trust-badge:hover {
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3), 0 0 40px rgba(99, 102, 241, 0.2);
}

.trust-badge:hover::before {
  opacity: 0.08;
}

.trust-icon {
  font-size: 2.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.4));
  transition: all 0.3s ease;
}

.trust-badge:hover .trust-icon {
  transform: scale(1.15);
  filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.6));
}

.trust-title {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 1.05rem;
}

.trust-description {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

/* ===== FOOTER - STUNNING ===== */
.footer {
  background: rgba(3, 7, 18, 0.9);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: var(--spacing-16) 0 var(--spacing-8);
  margin-top: var(--spacing-20);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.4), rgba(139, 92, 246, 0.4), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--spacing-10);
  margin-bottom: var(--spacing-10);
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--spacing-6);
}

.footer-section {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3);
}

.footer-section h4 {
  margin-bottom: var(--spacing-3);
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3);
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 0;
}

.footer-links a:hover {
  color: var(--accent-primary);
  padding-left: var(--spacing-2);
}

.footer-description {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 1rem 0;
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social-link:hover {
  background: rgba(6, 182, 212, 0.15);
  border-color: rgba(6, 182, 212, 0.4);
  color: #06b6d4;
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.4), 0 0 30px rgba(6, 182, 212, 0.2);
}

.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: var(--spacing-8);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  font-size: 0.85rem;
  max-width: 1400px;
  margin: 0 auto;
  padding-left: var(--spacing-6);
  padding-right: var(--spacing-6);
}

.footer-bottom p {
  margin: 0;
}

/* ===== UTILITY CLASSES ===== */
.fade-in {
  animation: fadeIn 0.6s ease-in forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-in-left {
  animation: slideInLeft 0.6s ease-out forwards;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .sidebar {
    position: fixed;
    left: -280px;
    top: 80px;
    height: calc(100vh - 80px);
    z-index: 999;
    transition: left 0.3s ease;
    width: 280px;
    border-right: 1px solid var(--border-default);
    box-shadow: var(--shadow-xl);
  }

  .sidebar.active {
    left: 0;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero {
    padding: var(--spacing-12) 0;
  }

  .nav-links {
    display: none;
  }

  .trust-badges {
    gap: var(--spacing-4);
  }

  .trust-badge {
    min-width: 150px;
  }

  .navbar-content {
    padding: 0 var(--spacing-4);
  }

  .container {
    padding: 0 var(--spacing-4);
  }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-elevated);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-primary);
}

/* ===== ALERTS ===== */
.alert {
  padding: var(--spacing-4) var(--spacing-6);
  border-radius: var(--radius-lg);
  margin-bottom: var(--spacing-4);
  animation: slideInLeft 0.3s ease;
}

.alert-success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--success);
}

.alert-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: var(--error);
}

.alert-warning {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--warning);
}

.alert-info {
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.3);
  color: var(--info);
}

/* ===== MODERN UI COMPONENTS (Screenshot Design) ===== */

/* Navbar Search - STUNNING */
.navbar-search {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.navbar-search-input {
  width: 200px;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 0.85rem;
  outline: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.navbar-search-input::placeholder {
  color: var(--text-muted);
}

.navbar-search-input:focus {
  background: rgba(99, 102, 241, 0.05);
  border-color: var(--accent-primary);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.15);
}

.navbar-search-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.5rem;
  margin-left: 0.5rem;
  transition: all 0.3s ease;
  border-radius: 8px;
}

.navbar-search-btn:hover {
  color: var(--accent-primary);
  background: rgba(99, 102, 241, 0.1);
}

/* Clean Hero Section - STUNNING */
.hero-clean {
  text-align: center;
  padding: 3rem 0 4rem;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 1.5rem;
}

.hero-badge i {
  font-size: 0.9rem;
}

body.light-mode .hero-badge {
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(99, 102, 241, 0.25);
  color: #6366f1;
}

.hero-title-clean {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.hero-title-clean .gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientFlow 4s ease infinite;
}

/* Custom gradient override - Admin panel controlled */
.hero-title-clean .gradient-text.hero-gradient-custom,
.hero-title-clean h1 .gradient-text.hero-gradient-custom,
section.hero-clean .hero-title-clean .gradient-text.hero-gradient-custom {
  background: var(--custom-gradient, var(--gradient-primary)) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  background-size: 200% 200% !important;
  animation: gradientFlow var(--custom-gradient-speed, 4s) ease infinite !important;
  color: transparent !important;
}

.hero-subtitle-clean {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 0;
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/* ===== PREMIUM FEATURE CARDS - REBUILT ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
}

.feature-card {
  position: relative;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 1.5rem;
  text-align: center;
  transition: all 220ms ease-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  overflow: hidden;
}

.feature-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.5), transparent);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 182, 212, 0.3);
  background: rgba(15, 23, 42, 0.6);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.feature-icon {
  font-size: 1.75rem;
  color: rgba(6, 182, 212, 0.8);
  margin-bottom: 1rem;
  transition: all 220ms ease-out;
}

.feature-card:hover .feature-icon {
  color: rgba(6, 182, 212, 1);
  filter: drop-shadow(0 0 10px rgba(6, 182, 212, 0.3));
}

.feature-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}

.feature-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
  margin-bottom: 0;
}

/* Light Mode Support */
body.light-mode .feature-card {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .feature-card:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(6, 182, 212, 0.4);
}

body.light-mode .feature-title {
  color: #1e293b;
}

body.light-mode .feature-text {
  color: #64748b;
}

body.light-mode .feature-accent {
  background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.3), transparent);
}

/* Platform Filter - Simple & Centered */
.platform-filter {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2.5rem 0;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.platform-link {
  padding: 0.5rem 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  position: relative;
  transition: all 0.2s ease;
}

.platform-link:hover {
  color: var(--text-primary);
}

.platform-link.active {
  color: var(--text-primary);
}

.platform-link.active::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-primary);
}

/* Platform Tabs - STUNNING */
.platform-tabs {
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  margin: 2rem 0;
  width: fit-content;
  backdrop-filter: blur(10px);
}

.platform-tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: transparent;
  border: none;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.platform-tab:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

.platform-tab.active {
  background: var(--accent-primary);
  color: white;
}

.platform-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 20px;
  padding: 0 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 600;
}

.platform-tab.active .platform-count {
  background: rgba(255, 255, 255, 0.25);
}

/* Responsive Grid Adjustments */
@media (max-width: 1200px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .platform-tabs {
    flex-wrap: wrap;
    width: 100%;
  }

  .hero-title-clean {
    font-size: 2rem;
  }

  .navbar-search {
    display: none;
  }
}

/* ===== SOFTWARE LISTING VIEW (Screenshot Design) ===== */

/* Results Header */
.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 2rem 0 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.results-count {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.results-count strong {
  color: var(--text-primary);
  font-weight: 600;
}

.results-sort {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sort-dropdown {
  padding: 0.5rem 2.5rem 0.5rem 0.75rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.875rem;
  font-family: var(--font-sans);
  font-weight: 500;
  cursor: pointer;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  transition: all 0.2s ease;
}

.sort-dropdown option {
  background: var(--bg-primary);
  color: var(--text-primary);
  padding: 0.5rem;
}

.sort-dropdown:hover {
  border-color: var(--accent-primary);
  background-color: var(--bg-tertiary);
}

.sort-dropdown:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.sort-order-btn {
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.sort-order-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border-color: var(--border-default);
}

/* Software Listing Grid */
.software-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-bottom: 3rem;
}

/* Software Card - Listing Style - STUNNING */
.software-card-listing {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 1.75rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.software-card-listing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.software-card-listing::after {
  content: '';
  position: absolute;
  inset: -1px;
  background: var(--gradient-primary);
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.software-card-listing:hover {
  border-color: transparent;
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(99, 102, 241, 0.15);
}

.software-card-listing:hover::before {
  opacity: 1;
}

.software-card-listing:hover::after {
  opacity: 0.15;
}

.software-card-content {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.software-card-icon {
  width: 64px;
  height: 64px;
  min-width: 64px;
  min-height: 64px;
  max-width: 64px;
  max-height: 64px;
  border-radius: 14px;
  object-fit: contain;
  object-position: center;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
  padding: 8px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.software-card-listing:hover .software-card-icon {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.25);
}

.software-card-info {
  flex: 1;
  min-width: 0;
}

.software-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.software-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.3;
}

.badge-verified-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.625rem;
  background: rgba(59, 130, 246, 0.15);
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent-light);
}

.badge-verified-inline i {
  font-size: 0.875rem;
}

.software-card-description {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0.5rem 0;
}

.software-card-meta {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.meta-tag {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
}

.meta-separator {
  color: var(--border-default);
  font-size: 0.75rem;
}

.meta-platforms {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.software-card-actions {
  display: flex;
  gap: 0.75rem;
}

.btn-download {
  flex: 0 0 auto;
}

/* Button Refinements for Listing */
.software-card-listing .btn {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
}

.software-card-listing .btn-primary {
  background: var(--accent-primary);
  color: #ffffff !important;
  min-width: 140px;
  position: relative;
  overflow: hidden;
}

.software-card-listing .btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.software-card-listing .btn-primary:hover::before {
  left: 100%;
}

.software-card-listing .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.4);
}

.software-card-listing .btn-secondary {
  flex: 1;
  min-width: 120px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-default);
  color: var(--text-primary);
  transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
}

.software-card-listing .btn-secondary:hover {
  background: rgba(37, 99, 235, 0.1);
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

/* ===== ENHANCED ANIMATIONS ===== */

/* Card entrance animations */
[data-aos="fade-up"] {
  animation: fadeUp 0.6s ease-out !important;
}

[data-aos="fade-up"][data-aos-delay="100"] {
  animation-delay: 0.1s;
}

[data-aos="fade-up"][data-aos-delay="200"] {
  animation-delay: 0.2s;
}

[data-aos="fade-up"][data-aos-delay="300"] {
  animation-delay: 0.3s;
}

[data-aos="fade-up"][data-aos-delay="400"] {
  animation-delay: 0.4s;
}

/* Software card listing animations */
.software-card-listing {
  animation: fadeUp 0.6s ease-out;
  will-change: transform, opacity;
}

.software-card-listing:nth-child(1) {
  animation-delay: 0s;
}

.software-card-listing:nth-child(2) {
  animation-delay: 0.05s;
}

.software-card-listing:nth-child(3) {
  animation-delay: 0.1s;
}

.software-card-listing:nth-child(4) {
  animation-delay: 0.15s;
}

/* Enhanced card hover effect */
.software-card-listing {
  transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
  position: relative;
}

.software-card-listing::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(600px at var(--mouse-x, 0) var(--mouse-y, 0), rgba(37, 99, 235, 0.1), transparent 80%);
  transition: opacity 0.3s ease;
}

.software-card-listing:hover::after {
  opacity: 1;
}

/* Platform tabs animations */
.platform-tab {
  transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
  position: relative;
}

.platform-tab::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  transition: width 0.3s cubic-bezier(0.23, 1, 0.320, 1);
}

.platform-tab:hover::after,
.platform-tab.active::after {
  width: 100%;
}

/* Navbar animations */
.navbar {
  animation: slideInDown 0.6s ease-out;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Search bar focus animation */
.navbar-search-input {
  transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
}

.navbar-search-input:focus {
  transform: scale(1.02);
}

/* Sidebar animations */
.sidebar {
  animation: slideInRight 0.6s ease-out;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.sidebar-link {
  transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
  position: relative;
  overflow: hidden;
}

.sidebar-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 0;
  background: var(--accent-primary);
  transition: height 0.3s cubic-bezier(0.23, 1, 0.320, 1);
}

.sidebar-link:hover::before,
.sidebar-link.active::before {
  height: 100%;
}

/* Hero section animation */
.hero-clean,
.hero-title-clean,
.hero-subtitle-clean {
  animation: fadeUp 0.8s ease-out;
}

.hero-title-clean {
  animation-delay: 0.1s;
}

.hero-subtitle-clean {
  animation-delay: 0.2s;
}

/* Results header animation */
.results-header {
  animation: slideInLeft 0.6s ease-out;
}

/* Footer animation */
.footer {
  animation: fadeUp 0.8s ease-out;
}

/* Staggered grid animations */
.features-grid>* {
  animation: fadeIn 0.6s ease-out both;
}

/* Smooth transitions on all interactive elements */
button,
a,
input,
select {
  transition: all 0.3s ease;
}

/* Ripple effect on buttons */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.btn:active::after {
  animation: ripple 0.6s ease-out;
}

@keyframes ripple {
  0% {
    width: 0;
    height: 0;
  }

  100% {
    width: 300px;
    height: 300px;
    opacity: 0;
  }
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Focus ring animations */
*:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
  animation: focusRing 0.3s ease-out;
}

@keyframes focusRing {
  from {
    outline-offset: -2px;
  }

  to {
    outline-offset: 2px;
  }
}

/* ===== NEWSLETTER SECTION - STUNNING ===== */
.newsletter-section {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.05) 50%, rgba(236, 72, 153, 0.03) 100%);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 24px;
  padding: 4rem 2.5rem;
  margin: 4rem 0;
  animation: fadeUp 0.8s ease-out;
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
}

.newsletter-section::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.newsletter-content {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.newsletter-text h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.newsletter-text p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  width: 100%;
  max-width: 500px;
}

.newsletter-form input {
  flex: 1;
  padding: 0.875rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  color: var(--text-primary);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: rgba(99, 102, 241, 0.08);
  box-shadow: 0 0 25px rgba(99, 102, 241, 0.2);
}

.newsletter-form button {
  background: var(--gradient-primary);
  background-size: 200% 200%;
  animation: gradientFlow 3s ease infinite;
  border: none;
  border-radius: 14px;
  padding: 0.875rem 2rem;
  color: white;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.newsletter-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

@media (max-width: 640px) {
  .newsletter-section {
    padding: 2.5rem 1.5rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form button {
    width: 100%;
  }

  .newsletter-content {
    gap: 1.5rem;
  }
}

/* Footer social links hover effect - STUNNING */
a[title="Facebook"],
a[title="Twitter"],
a[title="Instagram"],
a[title="LinkedIn"] {
  animation: slideInUp 0.6s ease-out;
  transition: all 0.3s ease;
}

a[title="Facebook"]:hover {
  background: rgba(59, 89, 152, 0.3);
  color: #3b5998;
  box-shadow: 0 0 20px rgba(59, 89, 152, 0.4);
}

a[title="Twitter"]:hover {
  background: rgba(29, 161, 242, 0.3);
  color: #1da1f2;
  box-shadow: 0 0 20px rgba(29, 161, 242, 0.4);
}

a[title="Instagram"]:hover {
  background: rgba(217, 11, 92, 0.3);
  color: #d90169;
  box-shadow: 0 0 20px rgba(217, 11, 92, 0.4);
}

a[title="LinkedIn"]:hover {
  background: rgba(0, 119, 181, 0.3);
  color: #0077b5;
  box-shadow: 0 0 20px rgba(0, 119, 181, 0.4);
}

.software-card-listing .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-default);
  transform: translateY(-1px);
}

/* Responsive Adjustments for Listing */
@media (max-width: 1024px) {
  .software-list-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .results-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .software-card-content {
    flex-direction: column;
  }

  .software-card-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    min-height: 52px;
    max-width: 52px;
    max-height: 52px;
  }

  .software-card-actions {
    flex-direction: column;
  }

  .software-card-listing .btn {
    width: 100%;
  }
}

/* ===== THEME TOGGLE ===== */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-default);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  flex-shrink: 0;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  transform: translateY(-2px);
}

.theme-toggle:active {
  transform: translateY(0);
}

/* ===== LIGHT MODE STYLES ===== */
body.light-mode {
  /* Backgrounds */
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9;
  --bg-elevated: #ffffff;
  --bg-hover: #f1f5f9;

  /* Text Colors - High contrast for readability */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-subtle: #94a3b8;

  /* Borders */
  --border-default: rgba(15, 23, 42, 0.1);
  --border-light: rgba(15, 23, 42, 0.06);
  --glass-border: rgba(15, 23, 42, 0.08);

  /* Accent colors remain vibrant */
  --accent-primary: #6366f1;
  --accent-secondary: #8b5cf6;
}

body.light-mode::before {
  background:
    radial-gradient(ellipse 80% 50% at 20% -20%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 0%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 50% 30% at 50% 100%, rgba(236, 72, 153, 0.05) 0%, transparent 50%);
}

body.light-mode .navbar {
  background: #ffffff !important;
  border-bottom-color: rgba(15, 23, 42, 0.1) !important;
  backdrop-filter: blur(10px) saturate(180%);
}

body.light-mode .navbar::after {
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.15), transparent) !important;
}

body.light-mode .navbar-search-input {
  background: rgba(15, 23, 42, 0.05);
  border-color: rgba(15, 23, 42, 0.1);
  color: var(--text-primary);
}

body.light-mode .navbar-search-input::placeholder {
  color: rgba(15, 23, 42, 0.4);
}

body.light-mode .nav-links a {
  color: #000000 !important;
  font-weight: 600;
}

body.light-mode .nav-links a:hover,
body.light-mode .nav-links a.active {
  color: #6366f1 !important;
  font-weight: 700;
}

body.light-mode .sidebar {
  background: rgba(255, 255, 255, 0.8);
  border-right-color: rgba(15, 23, 42, 0.08);
}

body.light-mode .software-card,
body.light-mode .software-card-listing,
body.light-mode .trust-card-modern,
body.light-mode .glass-card {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(15, 23, 42, 0.08);
}

body.light-mode .software-card:hover,
body.light-mode .software-card-listing:hover,
body.light-mode .trust-card-modern:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

body.light-mode .help-block {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(99, 102, 241, 0.15);
}

body.light-mode .footer {
  background: #f8fafc;
  color: #475569;
  border-top: 1px solid #e2e8f0;
}

body.light-mode .footer h4,
body.light-mode .footer-section h4 {
  color: #1e293b;
  font-weight: 700;
}

body.light-mode .footer-links a {
  color: #64748b !important;
}

body.light-mode .footer-links a:hover {
  color: #6366f1 !important;
}

body.light-mode .footer-bottom {
  color: #64748b;
  border-top-color: #e2e8f0;
}

body.light-mode .footer-bottom p {
  color: #64748b;
}

body.light-mode .footer-bottom a {
  color: #6366f1 !important;
}

body.light-mode .footer-description {
  color: #64748b;
}

body.light-mode .footer-socials a {
  color: #64748b;
}

body.light-mode .footer-socials a:hover {
  color: #6366f1;
}

body.light-mode .trust-card-icon {
  background: none;
}

body.light-mode .sidebar-link:hover {
  background: rgba(99, 102, 241, 0.08);
}

body.light-mode .platform-tab {
  background: rgba(15, 23, 42, 0.05);
  color: var(--text-secondary);
}

body.light-mode .platform-tab.active {
  background: var(--accent-primary);
  color: white;
}

body.light-mode .navbar-search-input {
  background: rgba(15, 23, 42, 0.05);
  border-color: rgba(15, 23, 42, 0.1);
  color: var(--text-primary);
}

body.light-mode .btn-secondary {
  background: rgba(15, 23, 42, 0.05);
  border-color: rgba(15, 23, 42, 0.15);
  color: var(--text-primary);
}

body.light-mode .theme-toggle {
  background: rgba(15, 23, 42, 0.05);
  border-color: rgba(15, 23, 42, 0.1);
  color: #0f172a !important;
}

body.light-mode .theme-toggle:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.3);
  color: #6366f1 !important;
}

body.light-mode .theme-toggle i::before {
  content: "\f185";
  /* fa-sun */
}

body.light-mode .navbar-search-btn {
  color: #0f172a !important;
}

body.light-mode .navbar-search-btn:hover {
  color: #6366f1 !important;
}

/* Light Mode - Section Header & Load More */
body.light-mode .section-title {
  color: #1e293b;
}

body.light-mode .section-title i {
  color: #6366f1;
}

body.light-mode .btn-load-more {
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(99, 102, 241, 0.25);
  color: #6366f1;
}

body.light-mode .btn-load-more:hover {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  border-color: transparent;
}

/* ===== COMPREHENSIVE LIGHT MODE TEXT FIXES ===== */
/* Primary text elements */
body.light-mode h1,
body.light-mode h2,
body.light-mode h3,
body.light-mode h4,
body.light-mode h5,
body.light-mode h6 {
  color: #0f172a;
}

body.light-mode p {
  color: #334155;
}

/* Card content */
body.light-mode .software-card-name,
body.light-mode .software-card-title,
body.light-mode .card-title {
  color: #0f172a;
}

body.light-mode .software-card-tagline,
body.light-mode .software-card-desc,
body.light-mode .card-desc {
  color: #475569;
}

/* Sidebar */
body.light-mode .sidebar-link {
  color: #334155;
}

body.light-mode .sidebar-link:hover,
body.light-mode .sidebar-link.active {
  color: #6366f1;
  background: rgba(99, 102, 241, 0.1);
}

body.light-mode .sidebar-section-title {
  color: #64748b;
}

/* Hero sections */
body.light-mode .hero-title,
body.light-mode .hero-subtitle {
  color: #000000;
  font-weight: 700;
}

body.light-mode .hero-description {
  color: #1e293b;
}

/* Badge and pill colors */
body.light-mode .badge,
body.light-mode .category-badge,
body.light-mode .tag {
  background: rgba(99, 102, 241, 0.1);
  color: #4f46e5;
}

/* Trust cards */
body.light-mode .trust-card-title,
body.light-mode .trust-card-modern h4 {
  color: #0f172a;
}

body.light-mode .trust-card-desc,
body.light-mode .trust-card-modern p {
  color: #475569;
}

/* Stats */
body.light-mode .stat-value,
body.light-mode .stat-number {
  color: #0f172a;
}

body.light-mode .stat-label {
  color: #64748b;
}

/* Forms */
body.light-mode input,
body.light-mode textarea,
body.light-mode select {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.15);
  color: #0f172a;
}

body.light-mode input::placeholder,
body.light-mode textarea::placeholder {
  color: #94a3b8;
}

body.light-mode input:focus,
body.light-mode textarea:focus,
body.light-mode select:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

/* Blog page */
body.light-mode .blog-card {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(15, 23, 42, 0.1);
}

body.light-mode .blog-card h3,
body.light-mode .blog-card h3 a,
body.light-mode .featured-content h2,
body.light-mode .featured-content h2 a {
  color: #0f172a;
}

body.light-mode .blog-card-excerpt,
body.light-mode .featured-excerpt {
  color: #475569;
}

body.light-mode .blog-card-author span,
body.light-mode .blog-card-date {
  color: #64748b;
}

body.light-mode .featured-post {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(15, 23, 42, 0.1);
}

body.light-mode .blog-search input {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.15);
  color: #0f172a;
}

body.light-mode .category-btn {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(15, 23, 42, 0.12);
  color: #334155;
}

body.light-mode .category-btn:hover {
  border-color: #6366f1;
  color: #4f46e5;
}

body.light-mode .category-btn.active {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-color: transparent;
  color: white;
}

/* Blog post page */
body.light-mode .blog-post-header h1,
body.light-mode .blog-post-content h2,
body.light-mode .blog-post-content h3 {
  color: #0f172a;
}

body.light-mode .blog-post-content p,
body.light-mode .blog-post-content li {
  color: #334155;
}

body.light-mode .blog-post-content .lead {
  color: #1e293b;
}

body.light-mode .blog-post-content blockquote {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.05));
  border-left-color: #6366f1;
}

body.light-mode .blog-post-content blockquote p {
  color: #1e293b;
}

body.light-mode .author-box {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(15, 23, 42, 0.1);
}

body.light-mode .author-box h4 {
  color: #0f172a;
}

body.light-mode .author-box p {
  color: #475569;
}

/* Newsletter */
body.light-mode .blog-newsletter {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(6, 182, 212, 0.08));
  border-color: rgba(99, 102, 241, 0.2);
}

body.light-mode .blog-newsletter h3 {
  color: #0f172a;
}

body.light-mode .blog-newsletter p {
  color: #475569;
}

body.light-mode .newsletter-form input {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.15);
  color: #0f172a;
}

/* Contact page */
body.light-mode .contact-form-container,
body.light-mode .option-card {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(15, 23, 42, 0.1);
}

body.light-mode .option-card h3 {
  color: #0f172a;
}

body.light-mode .option-card p,
body.light-mode .option-detail {
  color: #475569;
}

/* General content areas */
body.light-mode .container h1,
body.light-mode .container h2,
body.light-mode .container h3 {
  color: #0f172a;
}

body.light-mode .container p {
  color: #334155;
}

/* Links in light mode */
body.light-mode a:not(.btn) {
  color: #4f46e5;
}

body.light-mode a:hover {
  color: #6366f1;
}

/* But not buttons or nav links */
body.light-mode .nav-link,
body.light-mode .sidebar-link,
body.light-mode .footer a,
body.light-mode .footer-links a {
  color: inherit;
}

/* Meta info */
body.light-mode .post-meta,
body.light-mode .blog-post-meta {
  color: #64748b;
}

body.light-mode .blog-post-author-name {
  color: #0f172a;
}

body.light-mode .blog-post-author-title {
  color: #64748b;
}

/* Share buttons */
body.light-mode .share-btn {
  background: rgba(15, 23, 42, 0.05);
  border-color: rgba(15, 23, 42, 0.1);
  color: #475569;
}

body.light-mode .share-btn:hover {
  background: #6366f1;
  border-color: #6366f1;
  color: white;
}

/* Related posts */
body.light-mode .related-post-card {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(15, 23, 42, 0.1);
}

body.light-mode .related-post-card h4,
body.light-mode .related-post-card h4 a {
  color: #0f172a;
}

body.light-mode .related-post-card span {
  color: #64748b;
}

/* Tags */
body.light-mode .blog-tag,
body.light-mode .blog-post-tag {
  background: rgba(15, 23, 42, 0.06);
  color: #0891b2;
}

body.light-mode .blog-tag:hover,
body.light-mode .blog-post-tag:hover {
  background: rgba(6, 182, 212, 0.15);
}

/* Blog card extras */
body.light-mode .blog-read-time,
body.light-mode .blog-card-date {
  color: #64748b;
}

body.light-mode .blog-category-tag {
  background: rgba(139, 92, 246, 0.12);
  color: #7c3aed;
}

body.light-mode .blog-category-tag.security {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
}

body.light-mode .blog-category-tag.open-source {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
}

body.light-mode .blog-category-tag.guides {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
}

body.light-mode .blog-category-tag.news {
  background: rgba(6, 182, 212, 0.12);
  color: #0891b2;
}

/* Featured badge */
body.light-mode .featured-badge {
  background: linear-gradient(135deg, #7c3aed, #db2777);
}

/* Read article button */
body.light-mode .read-article-btn {
  background: linear-gradient(135deg, #0891b2, #0e7490);
}

/* Post meta in featured */
body.light-mode .post-meta,
body.light-mode .post-meta-item {
  color: #64748b;
}

body.light-mode .post-author span {
  color: #334155;
}

/* Page titles */
body.light-mode .blog-header h1 {
  background: linear-gradient(135deg, #0f172a 0%, #475569 50%, #0891b2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.light-mode .blog-header p {
  color: #475569;
}

/* Footer social links hover effect - STUNNING */
a[title="Facebook"],
a[title="Twitter"],
a[title="Instagram"],
a[title="LinkedIn"] {
  animation: slideInUp 0.6s ease-out;
  transition: all 0.3s ease;
}

a[title="Facebook"]:hover {
  background: rgba(59, 89, 152, 0.3);
  color: #3b5998;
  box-shadow: 0 0 20px rgba(59, 89, 152, 0.4);
}

a[title="Twitter"]:hover {
  background: rgba(29, 161, 242, 0.3);
  color: #1da1f2;
  box-shadow: 0 0 20px rgba(29, 161, 242, 0.4);
}

a[title="Instagram"]:hover {
  background: rgba(217, 11, 92, 0.3);
  color: #d90169;
  box-shadow: 0 0 20px rgba(217, 11, 92, 0.4);
}

a[title="LinkedIn"]:hover {
  background: rgba(0, 119, 181, 0.3);
  color: #0077b5;
  box-shadow: 0 0 20px rgba(0, 119, 181, 0.4);
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== ADDITIONAL VISUAL FEAST UTILITIES ===== */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientFlow 4s ease infinite;
}

.glow-effect {
  animation: glow 3s ease-in-out infinite;
}

.glass-effect {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.gradient-border {
  position: relative;
}

.gradient-border::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: var(--gradient-primary);
  border-radius: inherit;
  z-index: -1;
  opacity: 0.3;
}

/* Hover glow for interactive elements */
.hover-glow {
  transition: all 0.4s ease;
}

.hover-glow:hover {
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.4);
}

/* Premium section dividers */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), rgba(139, 92, 246, 0.3), transparent);
  margin: 3rem 0;
}

/* Animated underline for links */
.animated-underline {
  position: relative;
}

.animated-underline::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.animated-underline:hover::after {
  width: 100%;
}

/* ===== COMPACT HELP BLOCKS ===== */
.help-blocks-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 3rem 0 2rem;
}

.help-block {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 1.75rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.help-block:hover {
  border-color: rgba(99, 102, 241, 0.35);
  background: rgba(99, 102, 241, 0.05);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.help-block-gradient {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(236, 72, 153, 0.05) 100%);
  border-color: rgba(139, 92, 246, 0.2);
}

.help-block-gradient:hover {
  border-color: rgba(139, 92, 246, 0.4);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.12) 0%, rgba(236, 72, 153, 0.08) 100%);
}

.help-block-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.15));
  border-radius: 12px;
  flex-shrink: 0;
}

.help-block-icon i {
  font-size: 1.25rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.help-block-content {
  flex: 1;
  min-width: 0;
}

.help-block-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.help-block-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin: 0;
}

.help-block .btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .help-blocks-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .help-block {
    flex-direction: column;
    text-align: center;
    padding: 1.25rem;
  }

  .help-block-content {
    text-align: center;
  }
}

/* ===================================================================
   SOFTWARE DETAIL PAGE - Premium 2x2 Grid Layout
   Balanced, symmetric dark SaaS design
   =================================================================== */

.sd-page {
  min-height: 100vh;
  padding-bottom: 3rem;
  background: var(--bg-primary);
}

/* ===== HERO SECTION - 2x2 GRID ===== */
.sd-hero {
  padding: 2.5rem 2rem 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

.sd-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}

/* Block Base Styles */
.sd-block {
  min-height: 200px;
}

.sd-block-inner {
  height: 100%;
  padding: 1.25rem;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
}

.sd-glass {
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(20px);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.3);
}

/* ===== TOP LEFT: Product Overview ===== */
.sd-block-product .sd-block-inner {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.sd-product-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.sd-logo-wrap {
  flex-shrink: 0;
}

.sd-logo {
  width: 52px;
  height: 52px;
  min-width: 52px;
  min-height: 52px;
  max-width: 52px;
  max-height: 52px;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  padding: 6px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.sd-logo-fallback {
  width: 52px;
  height: 52px;
  min-width: 52px;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
  border-radius: 12px;
}

.sd-logo-fallback i {
  font-size: 1.4rem;
  color: var(--neon-cyan);
}

.sd-product-info {
  text-align: center;
  max-width: 100%;
}

.sd-product-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 0.3rem 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.sd-product-tagline {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.4;
}

.sd-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
}

.sd-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.sd-pill:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ===== TOP RIGHT: Download Panel ===== */
.sd-block-download .sd-block-inner {
  justify-content: center;
  gap: 1rem;
}

.sd-download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.85rem 1.25rem;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #a855f7 100%);
  border: none;
  border-radius: 10px;
  color: #FFFFFF !important;
  font-size: 0.9rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4), 0 0 8px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.sd-download-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #4338ca 0%, #6d28d9 50%, #9333ea 100%);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.6);
}

.sd-download-btn i {
  font-size: 0.9rem;
}

.sd-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.sd-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.6rem 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
}

.sd-meta-label {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sd-meta-value {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.sd-meta-value i {
  font-size: 0.75rem;
  color: var(--neon-cyan);
}

/* ===== BOTTOM LEFT: Alternative Software ===== */
.sd-block-alternatives .sd-block-inner {
  justify-content: flex-start;
}

.sd-block-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 0.75rem 0;
}

.sd-alt-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sd-alt-card {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.sd-alt-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.sd-alt-icon-wrap {
  flex-shrink: 0;
}

.sd-alt-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  max-width: 36px;
  max-height: 36px;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px;
}

.sd-alt-fallback {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
  border-radius: 8px;
}

.sd-alt-fallback i {
  font-size: 0.9rem;
  color: var(--neon-cyan);
}

.sd-alt-content {
  flex: 1;
  min-width: 0;
}

.sd-alt-top {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.15rem;
}

.sd-alt-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
}

.sd-alt-badge {
  font-size: 0.6rem;
  font-weight: 500;
  padding: 0.15rem 0.45rem;
  background: rgba(139, 92, 246, 0.15);
  color: #a78bfa;
  border-radius: 4px;
}

.sd-alt-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sd-alt-cta {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color 0.25s ease;
}

.sd-alt-card:hover .sd-alt-cta {
  color: #06b6d4;
}

.sd-alt-cta i {
  font-size: 0.6rem;
  transition: transform 0.25s ease;
}

.sd-alt-card:hover .sd-alt-cta i {
  transform: translateX(2px);
}

.sd-no-alt {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

/* ===== BOTTOM RIGHT: Trust & Security ===== */
.sd-block-trust .sd-block-inner {
  justify-content: flex-start;
}

.sd-trust-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.sd-trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.sd-trust-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  flex-shrink: 0;
}

.sd-trust-verified {
  background: rgba(6, 182, 212, 0.12);
}

.sd-trust-verified i {
  color: #06b6d4;
  font-size: 0.95rem;
}

.sd-trust-clean {
  background: rgba(16, 185, 129, 0.12);
}

.sd-trust-clean i {
  color: #10b981;
  font-size: 0.95rem;
}

.sd-trust-text {
  display: flex;
  flex-direction: column;
}

.sd-trust-text strong {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
}

.sd-trust-text span {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.sd-official-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
  padding: 0.5rem 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  color: #06b6d4;
  font-size: 0.75rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.sd-official-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #22d3ee;
}

.sd-official-link i {
  font-size: 0.65rem;
}

.sd-trust-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
  padding: 0.6rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 8px;
}

.sd-trust-badge i {
  color: #10b981;
  font-size: 0.85rem;
}

.sd-trust-badge span {
  font-size: 0.75rem;
  color: var(--text-primary);
}

/* ===== BELOW HERO SECTIONS ===== */
.sd-section {
  padding: 0 2rem;
  max-width: 1200px;
  margin: 0 auto 1.5rem;
}

.sd-container {
  width: 100%;
}

.sd-about-card {
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.75rem;
}

.sd-section-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 0.75rem 0;
}

.sd-section-title-standalone {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 1rem 0;
}

.sd-about-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

/* Stats Row */
.sd-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.sd-stat-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
}

.sd-stat-icon-wrap {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  flex-shrink: 0;
}

.sd-stat-icon-wrap i {
  font-size: 1.35rem;
  color: #06b6d4;
}

.sd-stat-icon-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 6px;
}

.sd-stat-data {
  display: flex;
  flex-direction: column;
}

.sd-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.sd-stat-small {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-muted);
}

.sd-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 900px) {
  .sd-hero {
    padding: 1.5rem 1.25rem 2rem;
  }

  .sd-hero-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .sd-block {
    min-height: auto;
  }

  .sd-section {
    padding: 0 1.25rem;
  }

  .sd-stats-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

@media (max-width: 600px) {
  .sd-product-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .sd-product-info {
    text-align: center;
  }

  .sd-pills {
    justify-content: center;
  }

  .sd-product-name {
    font-size: 1.5rem;
  }

  .sd-block-inner {
    padding: 1.25rem;
  }

  .sd-alt-card {
    flex-wrap: wrap;
  }

  .sd-alt-cta {
    width: 100%;
    justify-content: flex-end;
    margin-top: 0.3rem;
  }
}

/* ===== LIGHT MODE ===== */
body.light-mode .sd-block-inner,
.light-mode .sd-block-inner {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(15, 23, 42, 0.12);
}

body.light-mode .sd-glass,
.light-mode .sd-glass {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(15, 23, 42, 0.15);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.1);
}

body.light-mode .sd-pill,
.light-mode .sd-pill {
  background: rgba(15, 23, 42, 0.06);
  border-color: rgba(15, 23, 42, 0.12);
  color: #1e293b;
}

body.light-mode .sd-alt-card,
.light-mode .sd-alt-card {
  background: rgba(15, 23, 42, 0.03);
  border-color: rgba(15, 23, 42, 0.08);
}

body.light-mode .sd-alt-card:hover,
.light-mode .sd-alt-card:hover {
  background: rgba(15, 23, 42, 0.06);
  border-color: rgba(99, 102, 241, 0.3);
}

body.light-mode .sd-about-card,
body.light-mode .sd-stat-card,
.light-mode .sd-about-card,
.light-mode .sd-stat-card {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(15, 23, 42, 0.1);
}

body.light-mode .sd-trust-badge,
.light-mode .sd-trust-badge {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.25);
}

body.light-mode .sd-meta-item,
.light-mode .sd-meta-item {
  background: rgba(15, 23, 42, 0.05);
}

body.light-mode .sd-product-name,
body.light-mode .sd-block-title,
body.light-mode .sd-alt-name,
body.light-mode .sd-trust-text strong,
body.light-mode .sd-section-title,
body.light-mode .sd-section-title-standalone,
body.light-mode .sd-stat-value,
body.light-mode .sd-trust-badge span,
body.light-mode .sd-meta-value,
.light-mode .sd-product-name,
.light-mode .sd-block-title,
.light-mode .sd-alt-name,
.light-mode .sd-trust-text strong,
.light-mode .sd-section-title,
.light-mode .sd-section-title-standalone,
.light-mode .sd-stat-value,
.light-mode .sd-trust-badge span,
.light-mode .sd-meta-value {
  color: #0f172a;
}

body.light-mode .sd-product-tagline,
body.light-mode .sd-alt-desc,
body.light-mode .sd-trust-text span,
body.light-mode .sd-about-text,
body.light-mode .sd-stat-label,
body.light-mode .sd-meta-label,
body.light-mode .sd-alt-cta,
.light-mode .sd-product-tagline,
.light-mode .sd-alt-desc,
.light-mode .sd-trust-text span,
.light-mode .sd-about-text,
.light-mode .sd-stat-label,
.light-mode .sd-meta-label,
.light-mode .sd-alt-cta {
  color: #475569;
}

body.light-mode .sd-logo,
.light-mode .sd-logo {
  background: rgba(15, 23, 42, 0.05);
}

body.light-mode .sd-official-link,
.light-mode .sd-official-link {
  background: rgba(15, 23, 42, 0.05);
  border-color: rgba(15, 23, 42, 0.1);
  color: #0891b2;
}

body.light-mode .sd-official-link:hover,
.light-mode .sd-official-link:hover {
  background: rgba(6, 182, 212, 0.1);
  color: #0e7490;
}

body.light-mode .sd-stat-icon-wrap,
.light-mode .sd-stat-icon-wrap {
  background: rgba(6, 182, 212, 0.1);
}

body.light-mode .sd-alt-badge,
.light-mode .sd-alt-badge {
  background: rgba(139, 92, 246, 0.12);
  color: #7c3aed;
}

/* ===== DOWNLOAD COUNTDOWN MODAL ===== */
.download-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.download-modal.active {
  opacity: 1;
  visibility: visible;
}

.download-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
}

.download-modal-content {
  position: relative;
  width: 90%;
  max-width: 420px;
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.98), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 24px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(99, 102, 241, 0.15);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.download-modal.active .download-modal-content {
  transform: scale(1) translateY(0);
}

.download-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-modal-close:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  transform: rotate(90deg);
}

.download-modal-header {
  margin-bottom: 2rem;
}

.download-modal-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.download-modal-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.download-modal-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Countdown Circle */
.download-countdown-wrap {
  margin-bottom: 1.5rem;
}

.countdown-circle {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 1rem;
}

.countdown-circle svg {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}

.countdown-bg {
  fill: none;
  stroke: rgba(99, 102, 241, 0.15);
  stroke-width: 8;
}

.countdown-progress {
  fill: none;
  stroke: url(#countdownGradient);
  stroke: var(--neon-cyan);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 339.292;
  stroke-dashoffset: 339.292;
  transition: stroke-dashoffset 0.5s ease;
}

.countdown-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.countdown-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--neon-cyan);
  line-height: 1;
  text-shadow: 0 0 20px rgba(6, 182, 212, 0.5);
}

.countdown-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.countdown-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Progress Bar */
.download-progress-bar {
  height: 6px;
  background: rgba(99, 102, 241, 0.15);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.download-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-primary), var(--neon-cyan));
  border-radius: 10px;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

/* Trust Row */
.download-trust-row {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.download-trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.download-trust-item i {
  color: #10b981;
  font-size: 0.9rem;
}

/* Skip Button */
.download-skip-btn {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: transparent;
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 12px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 0 auto;
}

.download-skip-btn:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

/* Light Mode */
body.light-mode .download-modal-content {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
  border-color: rgba(99, 102, 241, 0.2);
}

body.light-mode .download-modal-header h2 {
  color: #1e293b;
}

body.light-mode .download-modal-desc,
body.light-mode .countdown-text,
body.light-mode .countdown-label {
  color: #64748b;
}

body.light-mode .download-trust-item {
  color: #64748b;
}

body.light-mode .download-modal-close {
  background: rgba(0, 0, 0, 0.05);
  color: #64748b;
}

body.light-mode .download-modal-close:hover {
  background: rgba(239, 68, 68, 0.1);
}

/* Mobile */
@media (max-width: 480px) {
  .download-modal-content {
    padding: 1.5rem;
    margin: 1rem;
  }

  .countdown-circle {
    width: 100px;
    height: 100px;
  }

  .countdown-number {
    font-size: 2rem;
  }

  .download-trust-row {
    gap: 1rem;
  }
}


/* =====================================================
   UI FIX PATCH (NON-DESTRUCTIVE)
   Purpose: Improve readability, fix broken variables,
   normalize effects, and prevent UI breakage.
   Nothing above is removed or altered.
   ===================================================== */

/* ---------- Missing Variables Fix ---------- */
:root {
  /* Accent light fallback */
  --accent-light: #a5b4fc;

  /* Neon cyan fallback */
  --neon-cyan: #22d3ee;

  /* Full radius fallback */
  --radius-full: 9999px;

  /* Missing spacing token */
  --spacing-20: 5rem;
}

/* ---------- Duplicate Animation Safety ---------- */
/* Prefer the smoother float animation */
@keyframes float-safe {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

/* Force components to use safe animation */
.hero::before,
.hero-clean::before {
  animation: float-safe 8s ease-in-out infinite;
}

/* ---------- Text Readability Fix ---------- */
body,
p,
span,
li {
  text-rendering: optimizeLegibility;
}

p {
  max-width: 72ch;
}

/* ---------- Contrast Safety ---------- */
.glass-card,
.software-card,
.software-card-listing,
.trust-badge,
.trust-card-modern {
  color: var(--text-primary);
}

/* ---------- Blur & Glass Performance Guard ---------- */
@supports not (backdrop-filter: blur(10px)) {

  .glass-card,
  .software-card,
  .software-card-listing,
  .navbar,
  .sidebar {
    background: var(--bg-secondary);
  }
}

/* ---------- Hover Effect Normalization ---------- */
.software-card:hover,
.software-card-listing:hover,
.glass-card:hover {
  will-change: transform, box-shadow;
}

/* ---------- Button Accessibility ---------- */
.btn:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

/* ---------- Sidebar Text Safety ---------- */
.sidebar-link {
  line-height: 1.4;
}

/* ---------- Search Input Safety ---------- */
.search-input,
.navbar-search-input {
  min-height: 40px;
}

/* ---------- Reduce Overpowering Glows ---------- */
.btn-primary,
.sidebar-link.active,
.software-card:hover {
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

/* ---------- Animation Motion Safety ---------- */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* ================= END FIX PATCH ================= */