/*
Theme Name: EqualsNDash Store
Theme URI: https://equalsndash.com/
Author: EqualsNDash
Author URI: https://equalsndash.com/
Description: WooCommerce store theme for selling WordPress plugins & Discord bots. Modern UI, sticky CTAs, custom auth pages, docs layouts, and conversion patterns.
Version: 1.0.1
Text Domain: equalsndash-store
License: GPL-2.0-or-later
*/

/* ======================================================
   Modern CSS Custom Properties & Color System
   ====================================================== */
:root {
  /* Enhanced Color Palette */
  --nds-bg: #0a0e16;
  --nds-bg-secondary: #0f141f;
  --nds-bg-tertiary: #131926;
  --nds-card: #141b26;
  --nds-card-hover: #1a2130;
  --nds-ink: #f1f3f7;
  --nds-ink-secondary: #d4d8e1;
  --nds-muted: #8b95a5;
  --nds-muted-light: #a3adb8;
  
  /* Brand Colors */
  --nds-primary: #6366f1;
  --nds-primary-hover: #5855eb;
  --nds-primary-light: rgba(99, 102, 241, 0.1);
  --nds-accent: #06b6d4;
  --nds-accent-hover: #0891b2;
  --nds-accent-light: rgba(6, 182, 212, 0.1);
  
  /* Status Colors */
  --nds-success: #10b981;
  --nds-success-light: rgba(16, 185, 129, 0.1);
  --nds-warning: #f59e0b;
  --nds-warning-light: rgba(245, 158, 11, 0.1);
  --nds-danger: #ef4444;
  --nds-danger-light: rgba(239, 68, 68, 0.1);
  
  /* Shadows & Effects */
  --nds-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --nds-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  --nds-shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.25);
  --nds-shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.35);
  --nds-shadow-colored: 0 8px 32px rgba(99, 102, 241, 0.15);
  
  /* Border Radius */
  --nds-radius-sm: 8px;
  --nds-radius: 12px;
  --nds-radius-lg: 16px;
  --nds-radius-xl: 20px;
  --nds-radius-full: 9999px;
  
  /* Spacing Scale */
  --nds-space-xs: 4px;
  --nds-space-sm: 8px;
  --nds-space-md: 16px;
  --nds-space-lg: 24px;
  --nds-space-xl: 32px;
  --nds-space-2xl: 48px;
  --nds-space-3xl: 64px;
  --nds-space-4xl: 96px;
  
  /* Typography */
  --nds-font-size-xs: 0.75rem;
  --nds-font-size-sm: 0.875rem;
  --nds-font-size-base: 1rem;
  --nds-font-size-lg: 1.125rem;
  --nds-font-size-xl: 1.25rem;
  --nds-font-size-2xl: 1.5rem;
  --nds-font-size-3xl: 1.875rem;
  --nds-font-size-4xl: 2.25rem;
  --nds-font-size-5xl: 3rem;
  --nds-font-size-6xl: 3.75rem;
  
  /* Line Heights */
  --nds-leading-tight: 1.25;
  --nds-leading-snug: 1.375;
  --nds-leading-normal: 1.5;
  --nds-leading-relaxed: 1.625;
  --nds-leading-loose: 2;
  
  /* Transitions */
  --nds-transition-fast: 150ms ease-out;
  --nds-transition: 200ms ease-out;
  --nds-transition-slow: 300ms ease-out;
  
  /* Z-Index Scale */
  --nds-z-dropdown: 1000;
  --nds-z-sticky: 1020;
  --nds-z-fixed: 1030;
  --nds-z-modal: 1040;
  --nds-z-popover: 1050;
  --nds-z-tooltip: 1060;
}
/* ======================================================
   Base Styles & Typography
   ====================================================== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  padding: 0;
  background: var(--nds-bg);
  color: var(--nds-ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: var(--nds-font-size-base);
  line-height: var(--nds-leading-normal);
  font-weight: 400;
  font-feature-settings: "kern" 1, "liga" 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography Scale */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 var(--nds-space-md) 0;
  font-weight: 700;
  line-height: var(--nds-leading-tight);
  letter-spacing: -0.025em;
  color: var(--nds-ink);
}

h1 {
  font-size: var(--nds-font-size-4xl);
  margin-bottom: var(--nds-space-lg);
}

h2 {
  font-size: var(--nds-font-size-3xl);
  margin-bottom: var(--nds-space-lg);
}

h3 {
  font-size: var(--nds-font-size-2xl);
}

h4 {
  font-size: var(--nds-font-size-xl);
}

h5 {
  font-size: var(--nds-font-size-lg);
}

h6 {
  font-size: var(--nds-font-size-base);
}

p {
  margin: 0 0 var(--nds-space-md) 0;
  color: var(--nds-ink-secondary);
  line-height: var(--nds-leading-relaxed);
}

/* Links */
a {
  color: var(--nds-primary);
  text-decoration: none;
  transition: all var(--nds-transition-fast);
  cursor: pointer;
}

a:hover {
  color: var(--nds-primary-hover);
  text-decoration: underline;
  text-decoration-color: var(--nds-primary-hover);
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}

a:focus {
  outline: 2px solid var(--nds-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Lists */
ul, ol {
  margin: 0 0 var(--nds-space-md) 0;
  padding-left: var(--nds-space-lg);
  color: var(--nds-ink-secondary);
}

li {
  margin-bottom: var(--nds-space-xs);
  line-height: var(--nds-leading-relaxed);
}

/* Container & Layout */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--nds-space-lg);
}

@media (max-width: 640px) {
  .container {
    padding: 0 var(--nds-space-md);
  }
}

main {
  min-height: 50vh;
}
/* ======================================================
   Header & Navigation
   ====================================================== */
header.site-header {
  position: sticky;
  top: 0;
  z-index: var(--nds-z-sticky);
  background: rgba(10, 14, 22, 0.85);
  backdrop-filter: saturate(150%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--nds-transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 0;
  gap: var(--nds-space-xl);
  min-height: 120px;
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--nds-space-md);
  font-weight: 700;
  font-size: var(--nds-font-size-2xl);
  color: var(--nds-ink);
  text-decoration: none !important;
  transition: all var(--nds-transition-fast);
}

.brand:hover {
  color: var(--nds-ink) !important;
  text-decoration: none !important;
  transform: translateY(-1px);
}

.brand .logo {
  width: 48px;
  height: 48px;
  border-radius: var(--nds-radius);
  background: linear-gradient(135deg, var(--nds-primary), var(--nds-accent));
  box-shadow: var(--nds-shadow-colored);
  position: relative;
  overflow: hidden;
  transition: all var(--nds-transition);
}

.brand .logo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--nds-primary-hover), var(--nds-accent-hover));
  opacity: 0;
  transition: opacity var(--nds-transition-fast);
}

.brand:hover .logo::before {
  opacity: 1;
}

.brand .logo::after {
  content: '=—';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: -2px;
}

nav {
  display: flex;
  align-items: center;
  gap: var(--nds-space-md);
}

nav a {
  position: relative;
  padding: var(--nds-space-md) var(--nds-space-lg);
  border-radius: var(--nds-radius);
  font-weight: 600;
  font-size: var(--nds-font-size-base);
  color: var(--nds-muted-light);
  text-decoration: none !important;
  transition: all var(--nds-transition-fast);
}

/* Special styling for non-button nav links */
nav a:not(.btn) {
  padding: var(--nds-space-md) var(--nds-space-lg);
  font-size: var(--nds-font-size-base);
}

nav a:hover {
  color: var(--nds-ink) !important;
  background: rgba(255, 255, 255, 0.05);
  text-decoration: none !important;
}

nav a:focus {
  outline: 2px solid var(--nds-primary);
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .header-inner {
    padding: 60px 0;
    position: relative;
    min-height: 100px;
  }
  
  .brand {
    font-size: var(--nds-font-size-xl);
  }
  
  .brand .logo {
    width: 42px;
    height: 42px;
  }
  
  /* Hide navigation by default on mobile */
  nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: var(--nds-bg-secondary);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--nds-space-2xl) var(--nds-space-lg);
    gap: var(--nds-space-lg);
    border-right: 1px solid var(--nds-border);
    transition: left 0.3s ease-out;
    z-index: var(--nds-z-modal);
    box-shadow: var(--nds-shadow-xl);
  }
  
  nav.open {
    left: 0;
  }
  
  nav a {
    width: 100%;
    padding: var(--nds-space-md);
    font-size: var(--nds-font-size-base);
    border-radius: var(--nds-radius-lg);
  }
  
  /* Hamburger menu button */
  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: calc(var(--nds-z-modal) + 1);
    position: relative;
  }
  
  .mobile-menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--nds-ink);
    border-radius: 1px;
    transition: all 0.3s ease;
    transform-origin: center;
  }
  
  .mobile-menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .mobile-menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  
  /* Mobile overlay */
  .mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: calc(var(--nds-z-modal) - 1);
  }
  
  .mobile-menu-overlay.open {
    opacity: 1;
    visibility: visible;
  }
}

/* Hide hamburger on desktop only */
@media (min-width: 769px) {
  .mobile-menu-toggle {
    display: none;
  }
}
/* ======================================================
   Button System
   ====================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--nds-space-sm);
  padding: var(--nds-space-md) var(--nds-space-lg);
  border: 1px solid transparent;
  border-radius: var(--nds-radius);
  background: var(--nds-primary);
  color: white;
  font-weight: 600;
  font-size: var(--nds-font-size-sm);
  line-height: 1;
  text-decoration: none !important;
  cursor: pointer;
  transition: all var(--nds-transition-fast);
  box-shadow: var(--nds-shadow);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: currentColor;
  transition: all var(--nds-transition-fast);
  transform: translateX(-50%);
}

.btn:hover {
  color: var(--nds-primary) !important;
  text-decoration: none !important;
  transform: translateY(-2px);
  box-shadow: var(--nds-shadow-lg);
  font-weight: 700;
}

.btn:hover::after {
  width: 80%;
}

.btn:active {
  transform: translateY(0);
  box-shadow: var(--nds-shadow);
}

/* Compact button variant for header navigation */
.btn.compact {
  padding: var(--nds-space-sm) var(--nds-space-md);
  font-size: var(--nds-font-size-xs);
  min-height: 36px;
}

/* Outline button variant */
.btn.outline {
  background: transparent;
  border-color: var(--nds-border);
  color: var(--nds-ink-secondary);
}

.btn.outline:hover {
  background: var(--nds-card);
  border-color: var(--nds-primary);
  color: var(--nds-primary) !important;
}

.btn:focus {
  outline: 2px solid var(--nds-primary);
  outline-offset: 2px;
}

/* Button Variants */
.btn.secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--nds-ink);
  box-shadow: var(--nds-shadow-sm);
}

.btn.secondary::before {
  background: rgba(255, 255, 255, 0.1);
}

.btn.secondary:hover {
  color: var(--nds-ink) !important;
  border-color: rgba(255, 255, 255, 0.25);
}

.btn.outline {
  background: transparent;
  border-color: var(--nds-primary);
  color: var(--nds-primary);
  box-shadow: none;
}

.btn.outline::before {
  background: var(--nds-primary);
}

.btn.outline:hover {
  color: white !important;
}

.btn.success {
  background: var(--nds-success);
}

.btn.success::before {
  background: linear-gradient(135deg, #059669, var(--nds-success));
}

.btn.danger {
  background: var(--nds-danger);
}

.btn.danger::before {
  background: linear-gradient(135deg, #dc2626, var(--nds-danger));
}

/* Button Sizes */
.btn.sm {
  padding: var(--nds-space-sm) var(--nds-space-md);
  font-size: var(--nds-font-size-xs);
  border-radius: var(--nds-radius-sm);
}

.btn.lg {
  padding: var(--nds-space-lg) var(--nds-space-2xl);
  font-size: var(--nds-font-size-lg);
  font-weight: 700;
  border-radius: var(--nds-radius-lg);
}

.btn.full {
  width: 100%;
}

/* Button Content */
.btn > span {
  position: relative;
  z-index: 1;
}
/* ======================================================
   Grid System & Layout
   ====================================================== */
.grid {
  display: grid;
  gap: var(--nds-space-lg);
}

.grid.gap-sm { gap: var(--nds-space-sm); }
.grid.gap-md { gap: var(--nds-space-md); }
.grid.gap-lg { gap: var(--nds-space-lg); }
.grid.gap-xl { gap: var(--nds-space-xl); }

.grid.cols-1 { grid-template-columns: 1fr; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
.grid.cols-6 { grid-template-columns: repeat(6, 1fr); }

/* Responsive Grid */
@media (max-width: 1024px) {
  .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .grid.cols-5 { grid-template-columns: repeat(3, 1fr); }
  .grid.cols-6 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .grid.cols-2 { grid-template-columns: 1fr; }
  .grid.cols-3 { grid-template-columns: 1fr; }
  .grid.cols-4 { grid-template-columns: 1fr; }
  .grid.cols-5 { grid-template-columns: 1fr; }
  .grid.cols-6 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .grid.cols-6 { grid-template-columns: 1fr; }
}

/* Flexbox Utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }

/* Hero Section */
.hero {
  padding: var(--nds-space-4xl) 0;
  background: 
    radial-gradient(ellipse 800px 400px at 20% 0%, rgba(99, 102, 241, 0.15), transparent),
    radial-gradient(ellipse 600px 300px at 80% 100%, rgba(6, 182, 212, 0.1), transparent),
    linear-gradient(180deg, var(--nds-bg) 0%, var(--nds-bg-secondary) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 30% 20%, rgba(99, 102, 241, 0.05), transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(6, 182, 212, 0.05), transparent 50%);
  animation: heroBackground 20s ease-in-out infinite alternate;
}

@keyframes heroBackground {
  0% { opacity: 0.5; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.05); }
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(var(--nds-font-size-3xl), 5vw, var(--nds-font-size-6xl));
  line-height: var(--nds-leading-tight);
  margin-bottom: var(--nds-space-lg);
  background: linear-gradient(135deg, var(--nds-ink), var(--nds-muted-light));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.hero p {
  font-size: var(--nds-font-size-lg);
  line-height: var(--nds-leading-relaxed);
  color: var(--nds-muted-light);
  margin-bottom: var(--nds-space-xl);
  max-width: 60ch;
}

@media (max-width: 768px) {
  .hero {
    padding: var(--nds-space-3xl) 0;
  }
  
  .hero p {
    font-size: var(--nds-font-size-base);
  }
}
/* ======================================================
   Cards & Components
   ====================================================== */
.card {
  background: var(--nds-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--nds-radius-lg);
  padding: var(--nds-space-xl);
  box-shadow: var(--nds-shadow);
  transition: all var(--nds-transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.card:hover {
  background: var(--nds-card-hover);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: var(--nds-shadow-lg);
  transform: translateY(-2px);
}

.card.interactive {
  cursor: pointer;
}

.card.compact {
  padding: var(--nds-space-lg);
}

.card.large {
  padding: var(--nds-space-2xl);
}

.card h1, .card h2, .card h3, .card h4, .card h5, .card h6 {
  margin-top: 0;
}

.card > *:last-child {
  margin-bottom: 0;
}

/* Badge System */
.badges {
  display: flex;
  gap: var(--nds-space-sm);
  flex-wrap: wrap;
  margin: var(--nds-space-sm) 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--nds-space-xs);
  padding: var(--nds-space-xs) var(--nds-space-md);
  border-radius: var(--nds-radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  font-size: var(--nds-font-size-xs);
  font-weight: 500;
  color: var(--nds-muted-light);
  white-space: nowrap;
  transition: all var(--nds-transition-fast);
  backdrop-filter: blur(10px);
}

.badge:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--nds-ink-secondary);
}

/* Badge Variants */
.badge.primary {
  background: var(--nds-primary-light);
  border-color: var(--nds-primary);
  color: var(--nds-primary);
}

.badge.success {
  background: var(--nds-success-light);
  border-color: var(--nds-success);
  color: var(--nds-success);
}

.badge.warning {
  background: var(--nds-warning-light);
  border-color: var(--nds-warning);
  color: var(--nds-warning);
}

.badge.danger {
  background: var(--nds-danger-light);
  border-color: var(--nds-danger);
  color: var(--nds-danger);
}

.badge.solid {
  background: var(--nds-primary);
  border-color: var(--nds-primary);
  color: white;
}

.badge.large {
  padding: var(--nds-space-sm) var(--nds-space-lg);
  font-size: var(--nds-font-size-sm);
}
/* ======================================================
   Footer
   ====================================================== */
.footer {
  padding: var(--nds-space-4xl) 0 var(--nds-space-2xl);
  margin-top: var(--nds-space-4xl);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, transparent, var(--nds-bg-secondary));
  color: var(--nds-muted);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.footer a {
  color: var(--nds-muted-light);
  transition: color var(--nds-transition-fast);
}

.footer a:hover {
  color: var(--nds-ink-secondary);
}

.footer strong {
  color: var(--nds-ink);
  font-weight: 700;
}
/* ======================================================
   Product Components
   ====================================================== */
.product-specs {
  display: flex;
  gap: var(--nds-space-md);
  flex-wrap: wrap;
  margin: var(--nds-space-lg) 0;
}

.product-specs .spec {
  background: var(--nds-bg-tertiary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--nds-radius);
  padding: var(--nds-space-sm) var(--nds-space-md);
  font-size: var(--nds-font-size-sm);
  color: var(--nds-muted-light);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: var(--nds-space-xs);
  transition: all var(--nds-transition-fast);
}

.product-specs .spec:hover {
  background: var(--nds-card);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--nds-ink-secondary);
}

.product-specs .spec::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--nds-primary);
  flex-shrink: 0;
}

/* Tabs System */
.tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: var(--nds-space-xl);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tabs a {
  position: relative;
  padding: var(--nds-space-lg) var(--nds-space-xl);
  color: var(--nds-muted-light);
  text-decoration: none !important;
  font-weight: 500;
  font-size: var(--nds-font-size-sm);
  transition: all var(--nds-transition-fast);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.tabs a:hover {
  color: var(--nds-ink-secondary) !important;
  background: rgba(255, 255, 255, 0.05);
}

.tabs a.active,
.tabs a:target {
  color: var(--nds-primary) !important;
  border-bottom-color: var(--nds-primary);
  background: rgba(99, 102, 241, 0.05);
}

.tab-content {
  margin-top: var(--nds-space-xl);
}

.tab-content section {
  padding: var(--nds-space-xl) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.tab-content section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.tab-content section h3 {
  margin-top: 0;
  margin-bottom: var(--nds-space-lg);
  color: var(--nds-ink);
}

/* Sticky Elements */
.sticky-box {
  position: sticky;
  top: calc(var(--nds-space-4xl) + 60px);
  align-self: flex-start;
}

@media (max-width: 1024px) {
  .sticky-box {
    position: static;
  }
}

@media (max-width: 768px) {
  .tabs {
    gap: 0;
    padding: 0 var(--nds-space-md);
    margin-left: calc(-1 * var(--nds-space-md));
    margin-right: calc(-1 * var(--nds-space-md));
  }
  
  .tabs a {
    padding: var(--nds-space-md) var(--nds-space-lg);
    font-size: var(--nds-font-size-xs);
  }
}
/* ======================================================
   Code & Pre Elements
   ====================================================== */
code, pre {
  font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
  font-size: 0.9em;
}

code {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--nds-accent);
  padding: 0.2em 0.4em;
  border-radius: var(--nds-radius-sm);
  font-weight: 500;
}

pre {
  background: var(--nds-bg-tertiary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--nds-radius-lg);
  padding: var(--nds-space-lg);
  overflow-x: auto;
  line-height: var(--nds-leading-relaxed);
  position: relative;
}

pre::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

pre code {
  background: none;
  border: none;
  padding: 0;
  color: var(--nds-ink-secondary);
  font-size: inherit;
}
/* ======================================================
   Sticky CTA & Notifications
   ====================================================== */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--nds-z-fixed);
  background: rgba(10, 14, 22, 0.95);
  backdrop-filter: saturate(150%) blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--nds-space-md);
  display: none;
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.sticky-cta .btn {
  width: 100%;
  text-align: center;
  padding: var(--nds-space-lg);
  font-size: var(--nds-font-size-lg);
  font-weight: 700;
}

@media (max-width: 768px) {
  .sticky-cta {
    display: block;
  }
}
/* ======================================================
   Forms & Inputs
   ====================================================== */
.form-card {
  max-width: 560px;
  margin: var(--nds-space-2xl) auto;
  background: var(--nds-card);
  padding: var(--nds-space-2xl);
  border-radius: var(--nds-radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--nds-shadow-lg);
  position: relative;
}

.form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.form-card h2 {
  margin-top: 0;
  margin-bottom: var(--nds-space-xl);
  text-align: center;
  font-size: var(--nds-font-size-2xl);
}

.form-row {
  margin-bottom: var(--nds-space-lg);
}

.form-row label {
  display: block;
  margin-bottom: var(--nds-space-sm);
  color: var(--nds-ink-secondary);
  font-weight: 500;
  font-size: var(--nds-font-size-sm);
}

.form-row input[type="text"],
.form-row input[type="password"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row input[type="url"],
.form-row textarea,
.form-row select {
  width: 100%;
  padding: var(--nds-space-md) var(--nds-space-lg);
  border-radius: var(--nds-radius);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: var(--nds-bg-tertiary);
  color: var(--nds-ink);
  font-size: var(--nds-font-size-base);
  transition: all var(--nds-transition-fast);
  font-family: inherit;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--nds-primary);
  box-shadow: 0 0 0 3px var(--nds-primary-light);
  background: var(--nds-card);
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: var(--nds-muted);
}

.form-row textarea {
  min-height: 120px;
  resize: vertical;
}

.form-actions {
  display: flex;
  gap: var(--nds-space-md);
  align-items: center;
  justify-content: space-between;
  margin-top: var(--nds-space-xl);
  padding-top: var(--nds-space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.form-actions .btn {
  flex: 1;
}

@media (max-width: 480px) {
  .form-actions {
    flex-direction: column;
  }
}

/* Search Forms */
.docs-search {
  display: flex;
  gap: var(--nds-space-md);
  margin: var(--nds-space-lg) 0;
  align-items: flex-end;
}

.docs-search input {
  flex: 1;
  padding: var(--nds-space-md) var(--nds-space-lg);
  border-radius: var(--nds-radius);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: var(--nds-bg-tertiary);
  color: var(--nds-ink);
  font-size: var(--nds-font-size-base);
  transition: all var(--nds-transition-fast);
}

.docs-search input:focus {
  outline: none;
  border-color: var(--nds-primary);
  box-shadow: 0 0 0 3px var(--nds-primary-light);
}

.docs-search input::placeholder {
  color: var(--nds-muted);
}

@media (max-width: 640px) {
  .docs-search {
    flex-direction: column;
    align-items: stretch;
  }
}

.toast {
  position: fixed;
  right: var(--nds-space-lg);
  bottom: var(--nds-space-lg);
  background: var(--nds-card);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: var(--nds-space-lg) var(--nds-space-xl);
  border-radius: var(--nds-radius-lg);
  box-shadow: var(--nds-shadow-lg);
  color: var(--nds-ink);
  display: none;
  max-width: 400px;
  z-index: var(--nds-z-popover);
  animation: toastIn 0.3s ease-out;
  backdrop-filter: blur(20px);
}

@keyframes toastIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.toast.success {
  border-color: var(--nds-success);
  background: linear-gradient(135deg, var(--nds-card), var(--nds-success-light));
}

.toast.error {
  border-color: var(--nds-danger);
  background: linear-gradient(135deg, var(--nds-card), var(--nds-danger-light));
}

@media (max-width: 640px) {
  .toast {
    right: var(--nds-space-md);
    left: var(--nds-space-md);
    max-width: none;
  }
}

/* ======================================================
   Utility Classes & Visual Effects
   ====================================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }

.text-sm { font-size: var(--nds-font-size-sm); }
.text-lg { font-size: var(--nds-font-size-lg); }
.text-xl { font-size: var(--nds-font-size-xl); }

.text-muted { color: var(--nds-muted); }
.text-secondary { color: var(--nds-ink-secondary); }

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--nds-space-sm); }
.mb-md { margin-bottom: var(--nds-space-md); }
.mb-lg { margin-bottom: var(--nds-space-lg); }
.mb-xl { margin-bottom: var(--nds-space-xl); }

.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--nds-space-sm); }
.mt-md { margin-top: var(--nds-space-md); }
.mt-lg { margin-top: var(--nds-space-lg); }
.mt-xl { margin-top: var(--nds-space-xl); }

.p-0 { padding: 0; }
.p-sm { padding: var(--nds-space-sm); }
.p-md { padding: var(--nds-space-md); }
.p-lg { padding: var(--nds-space-lg); }
.p-xl { padding: var(--nds-space-xl); }

.rounded { border-radius: var(--nds-radius); }
.rounded-lg { border-radius: var(--nds-radius-lg); }
.rounded-full { border-radius: var(--nds-radius-full); }

.shadow { box-shadow: var(--nds-shadow); }
.shadow-lg { box-shadow: var(--nds-shadow-lg); }
.shadow-none { box-shadow: none; }

/* Animations */
.fade-in {
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-up {
  animation: slideUpAnimation 0.4s ease-out;
}

@keyframes slideUpAnimation {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Focus visible for better accessibility */
.focus-visible {
  outline: 2px solid var(--nds-primary);
  outline-offset: 2px;
}

/* Selection styling */
::selection {
  background-color: var(--nds-primary-light);
  color: var(--nds-primary);
}

/* Scrollbar styling for webkit browsers */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--nds-bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--nds-muted);
  border-radius: var(--nds-radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--nds-muted-light);
}

/* ======================================================
   Single Product Layout Styles
   ====================================================== */

/* Product Hero Section */
.product-hero {
  padding: var(--nds-space-xl) 0;
  background: linear-gradient(135deg, var(--nds-bg-secondary) 0%, var(--nds-bg-primary) 100%);
  border-bottom: 1px solid var(--nds-border);
}

.hero-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--nds-space-xl);
  align-items: start;
  max-width: var(--nds-container-width);
  margin: 0 auto;
  padding: 0 var(--nds-space-lg);
}

.product-logo {
  display: flex;
  align-items: center;
  gap: var(--nds-space-sm);
  margin-bottom: var(--nds-space-md);
  font-weight: 600;
  color: var(--nds-ink-secondary);
}

.product-logo svg {
  width: 24px;
  height: 24px;
}

.wordpress-logo {
  color: var(--nds-primary);
}

.discord-logo {
  color: #5865f2;
}

.badges {
  display: flex;
  gap: var(--nds-space-sm);
  margin-bottom: var(--nds-space-lg);
  flex-wrap: wrap;
}

.product-title {
  font-size: var(--nds-font-size-3xl);
  font-weight: 700;
  margin: 0 0 var(--nds-space-md);
  line-height: 1.2;
}

.product-tagline {
  font-size: var(--nds-font-size-lg);
  color: var(--nds-ink-secondary);
  margin-bottom: var(--nds-space-lg);
  line-height: 1.6;
}

.product-price {
  margin-bottom: var(--nds-space-lg);
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: var(--nds-space-md);
}

.secondary-ctas {
  display: flex;
  gap: var(--nds-space-sm);
  flex-wrap: wrap;
}

.trust-indicators {
  display: flex;
  flex-direction: column;
  gap: var(--nds-space-sm);
  margin-top: var(--nds-space-lg);
  padding-top: var(--nds-space-lg);
  border-top: 1px solid var(--nds-border);
}

.rating {
  display: flex;
  align-items: center;
  gap: var(--nds-space-sm);
}

.stars {
  display: flex;
  gap: 2px;
}

.star {
  color: var(--nds-border);
  transition: color var(--nds-transition);
}

.star.filled {
  color: #fbbf24;
}

.download-note {
  display: flex;
  align-items: center;
  gap: var(--nds-space-xs);
  font-size: var(--nds-font-size-sm);
  color: var(--nds-ink-secondary);
}

.download-note .icon {
  width: 16px;
  height: 16px;
}

.hero-sidebar {
  background: var(--nds-bg-primary);
  border: 1px solid var(--nds-border);
  border-radius: var(--nds-radius-lg);
  padding: var(--nds-space-lg);
}

.product-specs {
  display: flex;
  flex-direction: column;
  gap: var(--nds-space-sm);
}

.spec {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--nds-space-sm) 0;
  border-bottom: 1px solid var(--nds-border);
}

.spec:last-child {
  border-bottom: none;
}

.spec-label {
  font-weight: 500;
  color: var(--nds-ink-secondary);
}

.spec-value {
  font-weight: 500;
  color: var(--nds-ink-primary);
}

/* Product Gallery */
.product-gallery {
  padding: var(--nds-space-xl) 0;
}

.product-gallery .container {
  max-width: var(--nds-container-width);
  margin: 0 auto;
  padding: 0 var(--nds-space-lg);
}

.gallery-container {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: var(--nds-space-lg);
}

.main-image {
  position: relative;
  border-radius: var(--nds-radius-lg);
  overflow: hidden;
  background: var(--nds-bg-secondary);
  aspect-ratio: 16/10;
}

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

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--nds-transition);
}

.main-image:hover .image-overlay {
  opacity: 1;
}

.zoom-btn {
  display: flex;
  align-items: center;
  gap: var(--nds-space-xs);
  background: var(--nds-bg-primary);
  border: 1px solid var(--nds-border);
  border-radius: var(--nds-radius);
  padding: var(--nds-space-sm) var(--nds-space-md);
  color: var(--nds-ink-primary);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--nds-transition);
}

.zoom-btn:hover {
  background: var(--nds-primary);
  color: white;
  border-color: var(--nds-primary);
}

.zoom-btn svg {
  width: 18px;
  height: 18px;
}

.gallery-thumbs {
  display: flex;
  flex-direction: column;
  gap: var(--nds-space-sm);
}

.thumb {
  width: 100%;
  aspect-ratio: 16/10;
  border: 2px solid var(--nds-border);
  border-radius: var(--nds-radius);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--nds-transition);
  background: none;
  padding: 0;
}

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

.thumb:hover,
.thumb.active {
  border-color: var(--nds-primary);
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--nds-space-lg);
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  cursor: pointer;
}

.modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  background: var(--nds-bg-primary);
  border-radius: var(--nds-radius-lg);
  overflow: hidden;
}

.modal-content img {
  width: 100%;
  height: auto;
  display: block;
}

.modal-close {
  position: absolute;
  top: var(--nds-space-md);
  right: var(--nds-space-md);
  background: rgba(0, 0, 0, 0.7);
  border: none;
  border-radius: var(--nds-radius-full);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: background-color var(--nds-transition);
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.9);
}

.modal-close svg {
  width: 20px;
  height: 20px;
}

/* Product Features */
.product-features {
  padding: var(--nds-space-xl) 0;
  background: var(--nds-bg-secondary);
}

.product-features .container {
  max-width: var(--nds-container-width);
  margin: 0 auto;
  padding: 0 var(--nds-space-lg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--nds-space-lg);
  margin-top: var(--nds-space-xl);
}

.feature-card {
  background: var(--nds-bg-primary);
  border: 1px solid var(--nds-border);
  border-radius: var(--nds-radius-lg);
  padding: var(--nds-space-lg);
  text-align: center;
  transition: all var(--nds-transition);
}

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

.feature-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--nds-space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--nds-primary-light);
  border-radius: var(--nds-radius-full);
  color: var(--nds-primary);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-title {
  font-size: var(--nds-font-size-lg);
  font-weight: 600;
  margin: 0;
  color: var(--nds-ink-primary);
}

/* Shared section container */
.container {
  max-width: var(--nds-container-width);
  margin: 0 auto;
  padding: 0 var(--nds-space-lg);
}

/* Section title */
.section-title {
  font-size: var(--nds-font-size-2xl);
  font-weight: 700;
  text-align: center;
  margin: 0 0 var(--nds-space-lg);
  color: var(--nds-ink-primary);
}

/* WordPress Plugin Specific Styles */
.plugin-installation,
.compatibility-matrix,
.plugin-configuration,
.plugin-documentation {
  padding: var(--nds-space-xl) 0;
}

.compatibility-matrix,
.plugin-documentation {
  background: var(--nds-bg-secondary);
}

.install-methods,
.compat-grid,
.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--nds-space-lg);
  margin-top: var(--nds-space-xl);
}

.install-method,
.compat-card,
.doc-link {
  background: var(--nds-bg-primary);
  border: 1px solid var(--nds-border);
  border-radius: var(--nds-radius-lg);
  padding: var(--nds-space-lg);
  transition: all var(--nds-transition);
}

.install-method {
  display: flex;
  gap: var(--nds-space-lg);
  padding: var(--nds-space-xl);
}

.method-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--nds-primary-light);
  border-radius: var(--nds-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nds-primary);
}

.method-icon svg {
  width: 24px;
  height: 24px;
}

.method-title {
  font-size: var(--nds-font-size-xl);
  font-weight: 600;
  margin: 0 0 var(--nds-space-md);
}

.install-steps {
  margin: 0;
  padding-left: var(--nds-space-lg);
  color: var(--nds-ink-secondary);
}

.install-steps li {
  margin-bottom: var(--nds-space-sm);
  line-height: 1.6;
}

/* Discord Bot Specific Styles */
.bot-invitation {
  padding: var(--nds-space-xl) 0;
  background: linear-gradient(135deg, #5865f2 0%, #7289da 100%);
  color: white;
}

.invite-card {
  max-width: var(--nds-container-width);
  margin: 0 auto;
  padding: 0 var(--nds-space-lg);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--nds-radius-lg);
  padding: var(--nds-space-xl);
  backdrop-filter: blur(10px);
}

.invite-content {
  display: flex;
  gap: var(--nds-space-lg);
  align-items: center;
  margin-bottom: var(--nds-space-lg);
}

.invite-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--nds-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.invite-icon svg {
  width: 32px;
  height: 32px;
}

.invite-actions {
  display: flex;
  gap: var(--nds-space-md);
  flex-wrap: wrap;
}

.command-reference,
.bot-permissions,
.bot-setup,
.hosting-options {
  padding: var(--nds-space-xl) 0;
}

.bot-permissions,
.hosting-options {
  background: var(--nds-bg-secondary);
}

.commands-grid,
.hosting-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--nds-space-lg);
  margin-top: var(--nds-space-xl);
}

.command-card,
.hosting-card {
  background: var(--nds-bg-primary);
  border: 1px solid var(--nds-border);
  border-radius: var(--nds-radius-lg);
  padding: var(--nds-space-lg);
}

.command-syntax {
  margin-bottom: var(--nds-space-md);
}

.command-syntax code {
  background: var(--nds-bg-secondary);
  border: 1px solid var(--nds-border);
  border-radius: var(--nds-radius);
  padding: var(--nds-space-sm) var(--nds-space-md);
  font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
  font-size: var(--nds-font-size-sm);
  color: var(--nds-primary);
  display: inline-block;
}

.command-description {
  color: var(--nds-ink-secondary);
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: var(--nds-space-lg);
  }

  .hero-sidebar {
    order: -1;
  }

  .gallery-container {
    grid-template-columns: 1fr;
    gap: var(--nds-space-md);
  }

  .gallery-thumbs {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: var(--nds-space-sm);
  }

  .thumb {
    flex-shrink: 0;
    width: 80px;
  }

  .install-methods,
  .compat-grid,
  .docs-grid,
  .commands-grid,
  .hosting-grid {
    grid-template-columns: 1fr;
  }

  .install-method {
    flex-direction: column;
    text-align: center;
  }

  .invite-content {
    flex-direction: column;
    text-align: center;
  }

  .secondary-ctas,
  .invite-actions {
    justify-content: center;
  }
}

/* ======================================================
   Enhanced Single Product Page Styles
   ====================================================== */

/* Enhanced Hero Section */
.nds-hero-enhanced {
  position: relative;
  padding: var(--nds-space-2xl) 0;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
    var(--nds-primary-light) 0%, 
    transparent 50%, 
    var(--nds-accent-light) 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 20%, var(--nds-primary) 2px, transparent 2px),
                    radial-gradient(circle at 60% 60%, var(--nds-accent) 1px, transparent 1px);
  background-size: 40px 40px, 20px 20px;
  opacity: 0.1;
  border-radius: 16px; /* Add rounded corners to the dotted pattern */
}

.media-container {
  position: relative;
  border-radius: var(--nds-radius-lg);
  overflow: hidden;
  box-shadow: var(--nds-shadow-lg);
}

.media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent 0%, rgba(0,0,0,0.3) 100%);
  opacity: 0;
  transition: all var(--nds-duration-normal) var(--nds-ease-out);
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-container:hover .media-overlay {
  opacity: 1;
}

.media-zoom {
  background: var(--nds-primary);
  color: white;
  border: none;
  border-radius: var(--nds-radius-full);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--nds-duration-fast) var(--nds-ease-out);
  transform: translateY(10px);
}

.media-overlay:hover .media-zoom {
  transform: translateY(0) scale(1.1);
  background: var(--nds-primary-hover);
}

/* Enhanced Type Badge */
.type-badge-enhanced {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--nds-space-xs);
  padding: var(--nds-space-sm) var(--nds-space-md);
  background: linear-gradient(135deg, var(--nds-primary), var(--nds-primary-hover));
  color: white;
  border-radius: var(--nds-radius-full);
  font-size: var(--nds-font-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  overflow: hidden;
  box-shadow: var(--nds-shadow-colored);
  margin-bottom: var(--nds-space-md);
}

.type-badge-enhanced.discord-bot {
  background: linear-gradient(135deg, #5865f2, #4752c4);
}

.type-badge-enhanced.wordpress-plugin {
  background: linear-gradient(135deg, #21759b, #1e6a8d);
}

.badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Enhanced Product Title */
.product-title-enhanced {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--nds-ink);
  margin: 0 0 var(--nds-space-lg);
  line-height: 1.2;
  background: linear-gradient(135deg, var(--nds-ink), var(--nds-ink-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Enhanced Meta Pills */
.meta-row-enhanced {
  display: flex;
  flex-wrap: wrap;
  gap: var(--nds-space-sm);
  margin-bottom: var(--nds-space-lg);
}

.meta-pill-enhanced {
  display: inline-flex;
  align-items: center;
  gap: var(--nds-space-xs);
  padding: var(--nds-space-xs) var(--nds-space-sm);
  background: var(--nds-card);
  border: 1px solid var(--nds-border);
  border-radius: var(--nds-radius-md);
  font-size: var(--nds-font-sm);
  color: var(--nds-ink-secondary);
  transition: all var(--nds-duration-fast) var(--nds-ease-out);
}

.meta-pill-enhanced:hover {
  background: var(--nds-card-hover);
  border-color: var(--nds-primary);
  transform: translateY(-2px);
}

.meta-pill-enhanced.version {
  color: var(--nds-success);
  border-color: var(--nds-success);
  background: var(--nds-success-light);
}

.meta-pill-enhanced.updated {
  color: var(--nds-accent);
  border-color: var(--nds-accent);
  background: var(--nds-accent-light);
}

.meta-pill-enhanced.downloads {
  color: var(--nds-warning);
  border-color: var(--nds-warning);
  background: var(--nds-warning-light);
}

.meta-pill-enhanced.rating {
  color: var(--nds-warning);
  border-color: var(--nds-warning);
  background: var(--nds-warning-light);
}

/* Enhanced Product Description */
.product-short-enhanced {
  font-size: var(--nds-font-lg);
  line-height: 1.6;
  color: var(--nds-ink-secondary);
  margin-bottom: var(--nds-space-xl);
}

/* Enhanced Price Display */
.price-row-enhanced {
  margin-bottom: var(--nds-space-xl);
}

.price-row-enhanced .price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--nds-primary);
}

/* Enhanced Action Buttons */
.cta-row-enhanced {
  display: flex;
  flex-direction: column;
  gap: var(--nds-space-md);
  margin-bottom: var(--nds-space-xl);
}

.primary-actions {
  display: flex;
  gap: var(--nds-space-sm);
}

.secondary-actions {
  display: flex;
  align-items: center;
  gap: var(--nds-space-sm);
}

/* Mobile layout adjustments */
@media (max-width: 768px) {
  .secondary-actions {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  
  /* Keep wishlist and share buttons side by side */
  .btn-icon {
    order: 1;
  }
  
  /* Put back to shop link on its own line */
  .btn.ghost-enhanced {
    order: 2;
    width: 100%;
    margin-top: var(--nds-space-sm);
    justify-content: center;
  }
}

.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--nds-card);
  border: 1px solid var(--nds-border);
  border-radius: var(--nds-radius-lg);
  color: var(--nds-ink-secondary);
  cursor: pointer;
  transition: all var(--nds-duration-fast) var(--nds-ease-out);
}

.btn-icon:hover {
  background: var(--nds-card-hover);
  border-color: var(--nds-primary);
  color: var(--nds-primary);
  transform: translateY(-2px);
}

.btn-icon.wishlist:hover {
  color: var(--nds-danger);
  border-color: var(--nds-danger);
}

.btn.ghost-enhanced {
  display: inline-flex;
  align-items: center;
  gap: var(--nds-space-xs);
  padding: var(--nds-space-sm) var(--nds-space-md);
  background: transparent;
  border: 1px solid var(--nds-border);
  color: var(--nds-ink-secondary);
  text-decoration: none;
  border-radius: var(--nds-radius-lg);
  transition: all var(--nds-duration-fast) var(--nds-ease-out);
}

.btn.ghost-enhanced:hover {
  background: var(--nds-card);
  border-color: var(--nds-primary);
  color: var(--nds-primary);
  transform: translateY(-2px);
}

/* Enhanced Quick Links */
.quick-links-enhanced {
  display: flex;
  gap: var(--nds-space-md);
}

.quick-link {
  display: inline-flex;
  align-items: center;
  gap: var(--nds-space-xs);
  padding: var(--nds-space-sm) var(--nds-space-md);
  background: var(--nds-card);
  border: 1px solid var(--nds-border);
  border-radius: var(--nds-radius-lg);
  color: var(--nds-ink-secondary);
  text-decoration: none;
  font-size: var(--nds-font-sm);
  font-weight: 500;
  transition: all var(--nds-duration-fast) var(--nds-ease-out);
}

.quick-link:hover {
  background: var(--nds-card-hover);
  color: var(--nds-primary);
  border-color: var(--nds-primary);
  transform: translateY(-2px);
}

.quick-link.docs:hover {
  color: var(--nds-accent);
  border-color: var(--nds-accent);
}

.quick-link.demo:hover {
  color: var(--nds-success);
  border-color: var(--nds-success);
}

/* Summary Cards Section */
.summary-cards {
  padding: var(--nds-space-2xl) 0 !important;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--nds-space-xl);
}

.summary-card {
  background: var(--nds-card);
  border: 1px solid var(--nds-border);
  border-radius: var(--nds-radius-xl);
  padding: var(--nds-space-xl);
  transition: all var(--nds-duration-normal) var(--nds-ease-out);
}

.summary-card:hover {
  background: var(--nds-card-hover);
  border-color: var(--nds-primary);
  transform: translateY(-4px);
  box-shadow: var(--nds-shadow-lg);
}

.summary-card .card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--nds-primary-light);
  border-radius: var(--nds-radius-lg);
  color: var(--nds-primary);
  margin-bottom: var(--nds-space-md);
  /* Centered on desktop */
  margin-left: auto;
  margin-right: auto;
}

.summary-card h3 {
  font-size: var(--nds-font-xl);
  font-weight: 700;
  color: var(--nds-ink);
  margin: 0 0 var(--nds-space-md);
  /* Centered on desktop */
  text-align: center;
}

/* Separator line after title */
.summary-card h3::after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background: var(--nds-primary);
  margin: var(--nds-space-md) auto var(--nds-space-lg);
  border-radius: 1px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .summary-card .card-icon {
    margin-left: 0;
    margin-right: 0;
  }
  
  .summary-card h3 {
    text-align: left;
  }
  
  .summary-card h3::after {
    margin-left: 0;
    margin-right: auto;
  }
}

.compatibility-badge {
  background: var(--nds-success-light);
  color: var(--nds-success);
  padding: var(--nds-space-sm) var(--nds-space-md);
  border-radius: var(--nds-radius-md);
  font-weight: 600;
  text-align: center;
}

/* Enhanced Tabs System */
.tabs-section {
  background: var(--nds-bg);
}

.nds-tabs-enhanced {
  background: var(--nds-card);
  border: 1px solid var(--nds-border);
  border-radius: var(--nds-radius-xl);
  overflow: hidden;
  box-shadow: var(--nds-shadow);
}

.tabs-nav {
  display: flex;
  background: var(--nds-bg-secondary);
  border-bottom: 1px solid var(--nds-border);
}

.nds-tab-enhanced {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--nds-space-xs);
  padding: var(--nds-space-lg) var(--nds-space-md);
  background: transparent;
  border: none;
  color: var(--nds-muted);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--nds-duration-fast) var(--nds-ease-out);
  position: relative;
}

.nds-tab-enhanced:not(:last-child) {
  border-right: 1px solid var(--nds-border);
}

.nds-tab-enhanced:hover {
  background: var(--nds-card);
  color: var(--nds-ink-secondary);
}

.nds-tab-enhanced.active {
  background: var(--nds-card);
  color: var(--nds-primary);
}

.nds-tab-enhanced.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--nds-primary);
}

.nds-tabpanes-enhanced {
  min-height: 400px;
}

.nds-tabpane-enhanced {
  display: none;
  padding: var(--nds-space-2xl);
}

.nds-tabpane-enhanced.active {
  display: block;
}

.content-wrapper {
  max-width: none;
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  color: var(--nds-muted);
  text-align: center;
}

.empty-state svg {
  margin-bottom: var(--nds-space-md);
  opacity: 0.5;
}

/* Enhanced Reviews Section */
.reviews-enhanced {
  width: 100%;
}

.reviews-summary {
  background: var(--nds-bg-secondary);
  border: 1px solid var(--nds-border);
  border-radius: var(--nds-radius-lg);
  padding: var(--nds-space-xl);
  margin-bottom: var(--nds-space-xl);
}

.rating-overview {
  display: flex;
  align-items: center;
  gap: var(--nds-space-lg);
}

.rating-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--nds-space-sm);
}

.score {
  font-size: 3rem;
  font-weight: 800;
  color: var(--nds-warning);
}

.stars {
  display: flex;
  gap: var(--nds-space-xs);
}

.star {
  color: var(--nds-muted);
  fill: currentColor;
}

.star.filled {
  color: var(--nds-warning);
}

.rating-text {
  font-size: var(--nds-font-sm);
  color: var(--nds-muted);
}

/* Compatibility Details */
.compatibility-detailed {
  background: var(--nds-bg-secondary);
  border: 1px solid var(--nds-border);
  border-radius: var(--nds-radius-lg);
  padding: var(--nds-space-xl);
}

.compat-header h3 {
  color: var(--nds-ink);
  margin: 0 0 var(--nds-space-lg);
}

.compat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--nds-space-md) 0;
  border-bottom: 1px solid var(--nds-border);
}

.compat-item:last-child {
  border-bottom: none;
}

.compat-label {
  font-weight: 500;
  color: var(--nds-ink-secondary);
}

.compat-value {
  font-weight: 600;
  color: var(--nds-success);
  background: var(--nds-success-light);
  padding: var(--nds-space-xs) var(--nds-space-sm);
  border-radius: var(--nds-radius-md);
}

/* Related Products Section */
.related-products {
  padding: var(--nds-space-xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--nds-space-2xl);
}

.section-header h2 {
  font-size: var(--nds-font-2xl);
  font-weight: 800;
  color: var(--nds-ink);
  margin: 0 0 var(--nds-space-sm);
}

.section-header.compact h2,
.section-title.compact {
  margin-bottom: var(--nds-space-xs);
}

.section-header p {
  color: var(--nds-muted);
  font-size: var(--nds-font-lg);
  margin: 0;
}

.section-header.compact p,
.section-subtitle.compact {
  font-size: var(--nds-font-md);
}

/* Responsive Enhancements */
@media (max-width: 768px) {
  .nds-hero-enhanced {
    padding: var(--nds-space-xl) 0;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--nds-space-xl);
  }
  
  .hero-media {
    order: -1;
  }
  
  .cards-grid {
    grid-template-columns: 1fr;
  }
  
  .tabs-nav {
    flex-direction: column;
  }
  
  .nds-tab-enhanced:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid var(--nds-border);
  }
  
  .primary-actions,
  .secondary-actions {
    flex-direction: column;
  }
  
  .quick-links-enhanced {
    flex-direction: column;
  }
  
  .rating-overview {
    flex-direction: column;
    text-align: center;
  }
}

/* Enhanced Toast Notifications */
.enhanced-toast {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  max-width: 400px;
  background: var(--nds-card);
  border: 1px solid var(--nds-border);
  border-radius: var(--nds-radius-lg);
  box-shadow: var(--nds-shadow-xl);
  opacity: 0;
  transform: translateX(100%);
  transition: all var(--nds-duration-normal) var(--nds-ease-out);
  animation: slideIn 0.3s ease-out forwards;
}

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.enhanced-toast.toast-fade-out {
  animation: slideOut 0.3s ease-in forwards;
}

@keyframes slideOut {
  to {
    opacity: 0;
    transform: translateX(100%);
  }
}

.toast-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--nds-space-md) var(--nds-space-lg);
}

.toast-message {
  color: var(--nds-ink);
  font-weight: 500;
}

.toast-close {
  background: none;
  border: none;
  color: var(--nds-muted);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0;
  margin-left: var(--nds-space-md);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--nds-radius-sm);
  transition: all var(--nds-duration-fast) var(--nds-ease-out);
}

.toast-close:hover {
  background: var(--nds-card-hover);
  color: var(--nds-ink);
}

.enhanced-toast-success {
  border-color: var(--nds-success);
}

.enhanced-toast-success::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--nds-success);
  border-radius: var(--nds-radius-lg) 0 0 var(--nds-radius-lg);
}

.enhanced-toast-error {
  border-color: var(--nds-danger);
}

.enhanced-toast-error::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--nds-danger);
  border-radius: var(--nds-radius-lg) 0 0 var(--nds-radius-lg);
}

.enhanced-toast-info {
  border-color: var(--nds-primary);
}

.enhanced-toast-info::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--nds-primary);
  border-radius: var(--nds-radius-lg) 0 0 var(--nds-radius-lg);
}

/* Print styles */
@media print {
  * {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
  }
  
  .btn, .badge {
    border: 1px solid black !important;
  }
  
  .enhanced-toast {
    display: none !important;
  }
}

/* ======================================================
   Modern Shop Page & Product Cards
   ====================================================== */

/* Shop Page Layout */
.shop-page {
  background: var(--nds-bg);
  min-height: 100vh;
}

.shop-header {
  padding: var(--nds-spacing-xl) 0;
  background: linear-gradient(135deg, var(--nds-bg-secondary) 0%, var(--nds-bg-tertiary) 100%);
  border-bottom: 1px solid var(--nds-border);
}

.header-content {
  text-align: center;
  margin-bottom: var(--nds-spacing-xl);
}

.page-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--nds-ink);
  margin-bottom: var(--nds-spacing-sm);
  background: linear-gradient(135deg, var(--nds-primary), var(--nds-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-subtitle {
  font-size: 1.25rem;
  color: var(--nds-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Shop Filters */
.shop-filters {
  max-width: 1000px;
  margin: 0 auto;
}

.filter-form {
  display: flex;
  flex-direction: column;
  gap: var(--nds-spacing-lg);
}

.filter-tabs {
  display: flex;
  justify-content: center;
  gap: var(--nds-spacing-sm);
  flex-wrap: wrap;
}

.filter-tab {
  display: flex;
  align-items: center;
  gap: var(--nds-spacing-xs);
  padding: var(--nds-spacing-sm) var(--nds-spacing-lg);
  background: var(--nds-card);
  color: var(--nds-muted);
  text-decoration: none;
  border-radius: var(--nds-radius-lg);
  border: 1px solid var(--nds-border);
  transition: all var(--nds-transition);
  font-weight: 500;
}

.filter-tab:hover {
  background: var(--nds-card-hover);
  color: var(--nds-ink);
  transform: translateY(-2px);
  box-shadow: var(--nds-shadow);
}

.filter-tab.active {
  background: var(--nds-primary);
  color: white;
  border-color: var(--nds-primary);
  box-shadow: var(--nds-shadow-colored);
}

.tab-icon {
  font-size: 1.25rem;
}

.search-filters {
  display: flex;
  gap: var(--nds-spacing-sm);
  justify-content: center;
  flex-wrap: wrap;
}

.filter-search {
  flex: 1;
  max-width: 400px;
  padding: var(--nds-spacing-sm) var(--nds-spacing-md);
  background: var(--nds-card);
  border: 1px solid var(--nds-border);
  border-radius: var(--nds-radius);
  color: var(--nds-ink);
  font-size: 1rem;
}

.filter-search:focus {
  outline: none;
  border-color: var(--nds-primary);
  box-shadow: 0 0 0 3px var(--nds-primary-light);
}

/* Shop Content */
.shop-content {
  padding: var(--nds-spacing-xl) 0;
}

.shop-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--nds-spacing-xl);
  flex-wrap: wrap;
  gap: var(--nds-spacing-md);
}

.results-info {
  color: var(--nds-muted);
}

.sort-controls select {
  background: var(--nds-card);
  color: var(--nds-ink);
  border: 1px solid var(--nds-border);
  border-radius: var(--nds-radius);
  padding: var(--nds-spacing-sm);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--nds-spacing-xl);
  margin-bottom: var(--nds-spacing-xl);
}

/* Product Card */
.product-card {
  background: var(--nds-card);
  border: 1px solid var(--nds-border);
  border-radius: var(--nds-radius-lg);
  overflow: hidden;
  transition: all var(--nds-transition);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--nds-shadow-lg);
  border-color: var(--nds-primary);
}

/* Product Type Badge */
.product-type-badge {
  position: absolute;
  top: var(--nds-spacing-sm);
  left: var(--nds-spacing-sm);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: var(--nds-spacing-xs);
  padding: var(--nds-spacing-xs) var(--nds-spacing-sm);
  border-radius: var(--nds-radius);
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
}

.product-type-badge.wordpress-plugin {
  background: linear-gradient(135deg, #21759b, #0073aa);
}

.product-type-badge.discord-bot {
  background: linear-gradient(135deg, #5865f2, #4752c4);
}

/* Product Image */
.product-image {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.image-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.image-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--nds-transition);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--nds-transition);
}

.product-card:hover .image-overlay {
  opacity: 1;
}

.product-card:hover .image-link img {
  transform: scale(1.1);
}

.view-details {
  color: white;
  font-weight: 600;
  padding: var(--nds-spacing-sm) var(--nds-spacing-lg);
  background: var(--nds-primary);
  border-radius: var(--nds-radius);
}

/* Product Content */
.product-content {
  padding: var(--nds-spacing-lg);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-title {
  margin: 0 0 var(--nds-spacing-sm) 0;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
}

.product-title a {
  color: var(--nds-ink);
  text-decoration: none;
  transition: color var(--nds-transition);
}

.product-title a:hover {
  color: var(--nds-primary);
}

.product-meta {
  display: flex;
  gap: var(--nds-spacing-md);
  margin-bottom: var(--nds-spacing-sm);
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: var(--nds-spacing-xs);
  color: var(--nds-muted);
  font-size: 0.875rem;
}

.meta-item svg {
  flex-shrink: 0;
}

.product-excerpt {
  color: var(--nds-muted);
  line-height: 1.6;
  margin-bottom: var(--nds-spacing-md);
  flex: 1;
}

.compatibility-info {
  background: var(--nds-bg-tertiary);
  padding: var(--nds-spacing-sm);
  border-radius: var(--nds-radius);
  margin-bottom: var(--nds-spacing-md);
  border-left: 3px solid var(--nds-accent);
}

.compatibility-label {
  color: var(--nds-muted);
  font-size: 0.875rem;
  display: block;
  margin-bottom: var(--nds-spacing-xs);
}

.compatibility-value {
  color: var(--nds-ink);
  font-weight: 600;
}

/* Product Footer */
.product-footer {
  margin-top: auto;
  padding-top: var(--nds-spacing-md);
  border-top: 1px solid var(--nds-border);
}

.product-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--nds-primary);
  margin-bottom: var(--nds-spacing-md);
}

.product-actions {
  display: flex;
  gap: var(--nds-spacing-sm);
}

.add-to-cart-btn {
  flex: 1;
}

.view-details-btn {
  padding: var(--nds-spacing-sm) var(--nds-spacing-md);
  white-space: nowrap;
}

/* No Products */
.no-products {
  text-align: center;
  padding: var(--nds-spacing-xl) 0;
  max-width: 500px;
  margin: 0 auto;
}

.no-products-icon {
  margin-bottom: var(--nds-spacing-lg);
  color: var(--nds-muted);
}

.no-products h3 {
  color: var(--nds-ink);
  margin-bottom: var(--nds-spacing-sm);
  font-size: 1.5rem;
}

.no-products p {
  color: var(--nds-muted);
  margin-bottom: var(--nds-spacing-lg);
}

/* Layout Indicator (Debug) */
.layout-indicator {
  background: var(--nds-success);
  color: white;
  padding: var(--nds-spacing-sm);
  margin: var(--nds-spacing-md) 0;
  border-radius: var(--nds-radius);
  text-align: center;
  font-weight: 600;
}

/* Enhanced Shop Controls */
.shop-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--nds-spacing-xl);
  padding: var(--nds-spacing-md);
  background: var(--nds-card);
  border: 1px solid var(--nds-border);
  border-radius: var(--nds-radius-lg);
}

.view-controls {
  display: flex;
  align-items: center;
  gap: var(--nds-spacing-md);
}

/* Grid Density Controls */
.grid-density-controls {
  display: flex;
  gap: 4px;
  background: var(--nds-bg-tertiary);
  padding: 4px;
  border-radius: var(--nds-radius);
  border: 1px solid var(--nds-border);
}

.density-btn {
  background: transparent;
  border: none;
  color: var(--nds-muted);
  padding: 8px;
  border-radius: var(--nds-radius-sm);
  cursor: pointer;
  transition: all var(--nds-transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.density-btn:hover {
  color: var(--nds-ink);
  background: var(--nds-card);
}

.density-btn.active {
  background: var(--nds-primary);
  color: white;
}

/* Grid Density Variations */
.products-grid.density-compact {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--nds-spacing-md);
}

.products-grid.density-comfortable {
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--nds-spacing-xl);
}

.products-grid.density-spacious {
  grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
  gap: calc(var(--nds-spacing-xl) * 1.5);
}

/* Enhanced Search Input */
.search-input-group {
  position: relative;
  flex: 1;
  max-width: 300px;
}

.search-input-group .filter-search {
  width: 100%;
  padding-right: 40px;
}

.search-clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--nds-muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--nds-transition);
}

.search-clear:hover {
  color: var(--nds-ink);
  background: var(--nds-bg-tertiary);
}

/* Advanced Filter Toggle */
.advanced-filter-toggle {
  white-space: nowrap;
}

.advanced-filter-toggle.active {
  background: var(--nds-primary);
  border-color: var(--nds-primary);
  color: white;
}

/* Filter Actions */
.filter-actions {
  display: flex;
  gap: var(--nds-spacing-sm);
  padding-top: var(--nds-spacing-md);
  border-top: 1px solid var(--nds-border);
  margin-top: var(--nds-spacing-md);
}

.filter-actions .btn {
  flex: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-title {
    font-size: 2rem;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--nds-spacing-lg);
  }
  
  .shop-controls {
    flex-direction: column;
    align-items: stretch;
  }
  
  .filter-tabs {
    justify-content: stretch;
  }
  
  .filter-tab {
    flex: 1;
    text-align: center;
  }
  
  .search-filters {
    flex-direction: column;
  }
  
  .product-actions {
    flex-direction: column;
  }
}

/* ======================================================
   Single Product - Discord-like Layout
   ====================================================== */
.nds-single {
  --hero-gap: var(--nds-spacing-xl);
}

.nds-hero {
  padding: var(--nds-spacing-xl) 0;
  background: linear-gradient(180deg, var(--nds-bg-secondary), rgba(20, 27, 38, 0) 100%);
  border-bottom: 1px solid var(--nds-border);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--hero-gap);
}

.hero-media .woocommerce-product-gallery,
.hero-media .woocommerce-product-gallery__wrapper {
  background: var(--nds-card);
  border: 1px solid var(--nds-border);
  border-radius: var(--nds-radius-lg);
}

.hero-summary .type-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--nds-spacing-xs);
  padding: 6px 10px;
  font-weight: 700;
  border-radius: var(--nds-radius);
  color: #fff;
  margin-bottom: var(--nds-spacing-sm);
}
.hero-summary .type-badge.wordpress-plugin { background: linear-gradient(135deg, #21759b, #0073aa); }
.hero-summary .type-badge.discord-bot { background: linear-gradient(135deg, #5865f2, #4752c4); }
.hero-summary .type-badge.generic { background: var(--nds-muted); }

.product-title { margin: 0 0 var(--nds-spacing-sm) 0; }
.meta-row { display:flex; gap: var(--nds-spacing-sm); margin-bottom: var(--nds-spacing-md); }
.meta-pill { background: var(--nds-bg-tertiary); color: var(--nds-muted); padding: 6px 10px; border-radius: var(--nds-radius); border: 1px solid var(--nds-border); }

.product-short { color: var(--nds-muted); margin-bottom: var(--nds-spacing-md); }
.price-row { font-size: 1.75rem; font-weight: 800; color: var(--nds-primary); margin-bottom: var(--nds-spacing-md); }
.cta-row { display:flex; gap: var(--nds-spacing-sm); margin-bottom: var(--nds-spacing-sm); flex-wrap: wrap; }
.cta-row .single_add_to_cart_button { flex: 1; }
.quick-links { display:flex; gap: var(--nds-spacing-md); list-style:none; padding:0; margin:0; }
.quick-links a { color: var(--nds-ink); text-decoration: underline; }

.nds-segment { padding: 10px !important; }

/* Tabs */
.nds-tabs { display:flex; gap: var(--nds-spacing-sm); margin-bottom: var(--nds-spacing-md); flex-wrap: wrap; }
.nds-tab { background: var(--nds-card); color: var(--nds-ink); border:1px solid var(--nds-border); padding: 10px 14px; border-radius: var(--nds-radius); cursor: pointer; }
.nds-tab.active { background: var(--nds-primary); border-color: var(--nds-primary); color: #fff; }
.nds-tabpanes { background: var(--nds-card); border:1px solid var(--nds-border); border-radius: var(--nds-radius-lg); padding: var(--nds-spacing-lg); }
.nds-tabpane { display:none; }
.nds-tabpane.active { display:block; }

@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* Hide default Woo summary/tabs inside our custom single layout wrapper */
.nds-single .summary, 
.nds-single .woocommerce-tabs, 
.nds-single .woocommerce-Reviews, 
.nds-single .product_meta,
.nds-single .woocommerce-product-details__short-description { display:none !important; }

/* Gallery polish */
.nds-single .woocommerce-product-gallery { margin-bottom: 0; }

/* ======================================================
   WooCommerce Base Skin (buttons, forms, notices)
   ====================================================== */
/* Map Woo buttons to theme buttons */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.single_add_to_cart_button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--nds-primary);
  color: #fff;
  border: 1px solid var(--nds-primary);
  border-radius: var(--nds-radius);
  padding: 10px 16px;
  font-weight: 700;
  transition: all var(--nds-transition);
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.single_add_to_cart_button.button:hover {
  background: var(--nds-primary-hover);
  border-color: var(--nds-primary-hover);
  transform: translateY(-1px);
}

/* Quantity field */
.woocommerce .quantity .qty {
  width: 90px;
  padding: 10px 12px;
  background: var(--nds-card);
  border: 1px solid var(--nds-border);
  color: var(--nds-ink);
  border-radius: var(--nds-radius);
  margin: 5px !important;
}

/* Group add-to-cart form in our hero */
.hero-summary form.cart {
  display: flex;
  gap: var(--nds-spacing-sm);
  align-items: center;
  flex-wrap: wrap;
  background: rgba(0, 0, 0, 0.2);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(64, 68, 75, 0.3);
}
.hero-summary form.cart .quantity { margin: 0; }
.hero-summary .price { color: var(--nds-primary); font-weight: 800; font-size: 1.25rem; }
.hero-summary .woocommerce-Price-amount { color: var(--nds-primary); }

/* Stripe/Payment Request button wrapper */
.hero-summary .wc-stripe-payment-request-wrapper,
.hero-summary .woocommerce-mini-cart__buttons.buttons {
  width: 100%;
  margin-top: var(--nds-spacing-sm);
}
.hero-summary .wc-stripe-payment-request-wrapper button,
.hero-summary .wc-stripe-payment-request-wrapper iframe { border-radius: var(--nds-radius); overflow: hidden; }

/* Notices */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info { 
  background: var(--nds-bg-tertiary);
  color: var(--nds-ink);
  border: 1px solid var(--nds-border);
  border-left: 3px solid var(--nds-accent);
  border-radius: var(--nds-radius);
}

/* Reviews */
.woocommerce-Reviews #reviews h2 { margin-top: var(--nds-spacing-lg); }
.woocommerce-Reviews .comment-form textarea,
.woocommerce-Reviews .comment-form input[type="text"],
.woocommerce-Reviews .comment-form input[type="email"] {
  width: 100%;
  background: var(--nds-card);
  border: 1px solid var(--nds-border);
  border-radius: var(--nds-radius);
  color: var(--nds-ink);
  padding: 10px 12px;
}
.stars a { color: var(--nds-accent); }

/* Tabs sizing tweak */
.nds-tab { padding: 12px 16px; font-weight: 700; }

/* Ghost button variant + summary card */
.btn.ghost {
  background: transparent;
  color: var(--nds-ink);
  border: 1px solid var(--nds-border);
}
.btn.ghost:hover { border-color: var(--nds-primary); color: #fff; box-shadow: var(--nds-shadow);} 
.hero-summary {
  background: var(--nds-card);
  border: 1px solid var(--nds-border);
  border-radius: var(--nds-radius-lg);
  padding: var(--nds-spacing-lg);
  box-shadow: var(--nds-shadow);
}

/* Only show Woo reviews when inside active tab */
.nds-tabpanes .nds-tabpane #reviews,
.nds-tabpanes .nds-tabpane .woocommerce-Reviews { display: none; }
.nds-tabpanes .nds-tabpane.active #reviews,
.nds-tabpanes .nds-tabpane.active .woocommerce-Reviews { display: block !important; }

/* Spacing polish for reviews */
#reviews .comment-form { margin-top: var(--nds-spacing-md); }

/* ======================================================
   Enhanced Product Cards - Discord-like Modern Design
   ====================================================== */

/* Enhanced Product Card Animations */
.products-grid .product-card {
    background: linear-gradient(135deg, #36393f 0%, #2f3136 100%);
    border: 1px solid #40444b;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.products-grid .product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(114, 137, 218, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.products-grid .product-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--nds-primary);
    box-shadow: 0 20px 60px rgba(114, 137, 218, 0.25);
}

.products-grid .product-card:hover::before {
    opacity: 1;
}

/* Enhanced Type Badges with Icons */
.products-grid .product-type-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.products-grid .product-card:hover .product-type-badge {
    transform: scale(1.1);
}

.products-grid .product-type-badge::before {
    content: '';
    width: 16px;
    height: 16px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.products-grid .product-type-badge.wordpress-plugin::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M21.469 6.825c.84 1.537 1.318 3.3 1.318 5.175 0 3.979-2.156 7.456-5.363 9.325l3.295-9.527c.615-1.54.82-2.771.82-3.864 0-.405-.026-.78-.07-1.11m-7.981.105c.647-.03 1.232-.105 1.232-.105.582-.075.514-.93-.067-.899 0 0-1.755.135-2.88.135-1.064 0-2.85-.135-2.85-.135-.582-.03-.661.854-.082.899 0 0 .537.075 1.104.105l1.644 4.505L9.28 18.675l-2.492-7.18c.647-.03 1.232-.105 1.232-.105.582-.075.515-.93-.067-.899 0 0-1.755.135-2.88.135-.202 0-.438-.008-.69-.015C6.39 8.544 8.989 7.5 12 7.5c2.25 0 4.291.853 5.831 2.26-.037-.002-.075-.006-.117-.006-.582 0-.99.511-.99 1.058 0 .492.284.909.582 1.401.255.424.555.966.555 1.754 0 .542-.208 1.17-.481 2.042l-.629 2.103-2.288-6.814zm-4.02 10.188l2.709-7.826c.64-1.6.853-2.882.853-4.027 0-.419-.027-.806-.073-1.171C10.816 5.26 8.311 6.688 6.42 8.774c-.315.345-.598.708-.859 1.086L7.468 17.118zM12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10z'/%3E%3C/svg%3E");
}

.products-grid .product-type-badge.discord-bot::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M20.317 4.37a19.791 19.791 0 0 0-4.885-1.515.074.074 0 0 0-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 0 0-5.487 0 12.64 12.64 0 0 0-.617-1.25.077.077 0 0 0-.079-.037A19.736 19.736 0 0 0 3.677 4.37a.07.07 0 0 0-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 0 0 .031.057 19.9 19.9 0 0 0 5.993 3.03.078.078 0 0 0 .084-.028 14.09 14.09 0 0 0 1.226-1.994.076.076 0 0 0-.041-.106 13.107 13.107 0 0 1-1.872-.892.077.077 0 0 1-.008-.128 10.2 10.2 0 0 0 .372-.292.074.074 0 0 1 .077-.01c3.928 1.793 8.18 1.793 12.062 0a.074.074 0 0 1 .078.01c.12.098.246.198.373.292a.077.077 0 0 1-.006.127 12.299 12.299 0 0 1-1.873.892.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 0 0 .084.028 19.839 19.839 0 0 0 6.002-3.03.077.077 0 0 0 .032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 0 0-.031-.03zM8.02 15.33c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.956 2.418-2.157 2.418zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.955-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.946 2.418-2.157 2.418Z'/%3E%3C/svg%3E");
}

/* Enhanced Image with Gradient Overlay */
.products-grid .product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
    background: #2f3136;
}

.products-grid .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
}

.products-grid .product-card:hover .product-image img {
    transform: scale(1.1);
}

/* Lazy Loading Performance Optimizations */
.products-grid .product-image img[data-src] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.products-grid .product-image img.loaded {
    opacity: 1;
}

.products-grid .product-image .lazy-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #2f3136 25%, #36393f 25%, #36393f 50%, #2f3136 50%, #2f3136 75%, #36393f 75%);
    background-size: 20px 20px;
    animation: loading-shimmer 1.5s ease-in-out infinite;
}

@keyframes loading-shimmer {
    0% { background-position: 0 0; }
    100% { background-position: 40px 40px; }
}

.products-grid .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.8), rgba(114, 137, 218, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.products-grid .product-card:hover .image-overlay {
    opacity: 1;
}

.products-grid .view-details {
    color: white;
    font-weight: 600;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
}

.products-grid .view-details:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Enhanced Content Styling */
.products-grid .product-content {
    padding: 20px;
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.products-grid .product-title {
    margin: 0 0 12px 0;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
}

.products-grid .product-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.products-grid .product-title a:hover {
    color: var(--nds-primary);
}

/* Enhanced Meta Information */
.products-grid .product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.products-grid .meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(64, 68, 75, 0.8);
    color: #b9bbbe;
    padding: 6px 10px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid #4f545c;
    backdrop-filter: blur(5px);
}

.products-grid .meta-item svg {
    width: 14px;
    height: 14px;
    opacity: 0.8;
}

/* Enhanced Product Price */
.products-grid .product-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--nds-primary);
    margin-bottom: 16px;
    text-shadow: 0 2px 4px rgba(114, 137, 218, 0.3);
}

/* Enhanced Action Buttons */
.products-grid .product-actions {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.products-grid .add-to-cart-btn {
    flex: 1;
    background: linear-gradient(135deg, var(--nds-primary), var(--nds-primary-hover));
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.products-grid .add-to-cart-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;
}

.products-grid .add-to-cart-btn:hover::before {
    left: 100%;
}

.products-grid .add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(114, 137, 218, 0.4);
}

.products-grid .view-details-btn {
    background: #4f545c;
    color: #dcddde;
    border: 1px solid #72767d;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.products-grid .view-details-btn:hover {
    background: #5865f2;
    color: white;
    transform: translateY(-1px);
    border-color: #5865f2;
}

/* Social Actions & Trust Signals */
.products-grid .product-social-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(64, 68, 75, 0.5);
}

.products-grid .social-stats {
    display: flex;
    gap: 16px;
}

.products-grid .stat-item {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #8e9297;
    font-size: 0.8rem;
    font-weight: 500;
}

.products-grid .star-rating {
    display: flex;
    gap: 2px;
}

.products-grid .star {
    width: 12px;
    height: 12px;
    color: #4f545c;
    transition: color 0.2s;
}

.products-grid .star.filled {
    color: #ffd700;
}

.products-grid .action-buttons {
    display: flex;
    gap: 8px;
}

.products-grid .action-btn {
    background: rgba(64, 68, 75, 0.8);
    border: 1px solid #4f545c;
    color: #dcddde;
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.products-grid .action-btn:hover {
    background: var(--nds-primary);
    border-color: var(--nds-primary);
    color: white;
    transform: translateY(-1px);
}

/* Quick Actions */
.products-grid .quick-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.products-grid .product-card:hover .quick-actions {
    opacity: 1;
}

.products-grid .quick-action {
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.products-grid .quick-action:hover {
    background: var(--nds-primary);
    transform: scale(1.1);
}

.products-grid .quick-action svg {
    width: 16px;
    height: 16px;
}

/* Loading State */
.products-grid .product-card.loading {
    pointer-events: none;
    opacity: 0.7;
}

.products-grid .product-card.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    border: 2px solid #40444b;
    border-top: 2px solid var(--nds-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
    z-index: 100;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .products-grid .product-card:hover {
        transform: translateY(-6px) scale(1.01);
    }
    
    .products-grid .product-content {
        padding: 16px;
    }
    
    .products-grid .product-title {
        font-size: 1.2rem;
    }
    
    .products-grid .product-actions {
        flex-direction: column;
    }
    
    .products-grid .product-social-actions {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    
    .products-grid .social-stats {
        justify-content: center;
    }
    
    .products-grid .action-buttons {
        justify-content: center;
    }
}

/* ======================================================
   Quick Preview Modal & Interactive Elements
   ====================================================== */

/* Quick Preview Modal */
.quick-preview-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    animation: fadeIn 0.3s ease;
}

.quick-preview-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-preview-modal .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.quick-preview-modal .modal-content {
    position: relative;
    background: var(--nds-card);
    border-radius: 16px;
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--nds-border);
    animation: slideUp 0.3s ease;
}

.quick-preview-modal .modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.quick-preview-modal .modal-close:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
}

.quick-preview-modal .modal-body {
    padding: 24px;
}

.quick-preview-modal .loading-spinner {
    text-align: center;
    padding: 40px;
}

.quick-preview-modal .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--nds-border);
    border-top: 3px solid var(--nds-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

.quick-preview-modal .quick-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: center;
}

.quick-preview-modal .preview-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

.quick-preview-modal .preview-details h3 {
    margin: 0 0 16px 0;
    font-size: 1.5rem;
    color: var(--nds-ink);
}

.quick-preview-modal .preview-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--nds-primary);
    margin-bottom: 16px;
}

.quick-preview-modal .preview-description {
    color: var(--nds-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.quick-preview-modal .preview-actions {
    display: flex;
    gap: 12px;
}

/* Share Modal */
.share-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.share-modal .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.share-modal .modal-content {
    position: relative;
    background: var(--nds-card);
    border-radius: 12px;
    padding: 24px;
    max-width: 400px;
    width: 90%;
    border: 1px solid var(--nds-border);
    animation: slideUp 0.3s ease;
}

.share-modal h3 {
    margin: 0 0 20px 0;
    color: var(--nds-ink);
    text-align: center;
}

.share-modal .share-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.share-modal .share-option {
    display: block;
    padding: 12px 16px;
    background: var(--nds-primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.share-modal .share-option:hover {
    background: var(--nds-primary-hover);
    transform: translateY(-1px);
}

.share-modal .modal-close {
    width: 100%;
    padding: 12px;
    background: var(--nds-bg-tertiary);
    color: var(--nds-muted);
    border: 1px solid var(--nds-border);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.share-modal .modal-close:hover {
    color: var(--nds-ink);
    border-color: var(--nds-primary);
}

/* Wishlist Active State */
.products-grid .action-btn.active,
.products-grid .quick-action.active {
    background: var(--nds-primary);
    border-color: var(--nds-primary);
    color: white;
}

/* Notification System */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 16px 24px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    max-width: 300px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.notification.show {
    transform: translateX(0);
}

.notification-success {
    background: linear-gradient(135deg, #43a047, #66bb6a);
}

.notification-info {
    background: linear-gradient(135deg, var(--nds-primary), var(--nds-accent));
}

.notification-error {
    background: linear-gradient(135deg, #e53e3e, #fc8181);
}

/* Advanced Filter System */
.advanced-filters {
    background: var(--nds-card);
    border: 1px solid var(--nds-border);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    display: none;
}

.advanced-filters.active {
    display: block;
    animation: slideDown 0.3s ease;
}

.filter-section {
    margin-bottom: 20px;
}

.filter-section:last-child {
    margin-bottom: 0;
}

.filter-section h4 {
    margin: 0 0 12px 0;
    color: var(--nds-ink);
    font-size: 1rem;
}

.filter-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--nds-bg-tertiary);
    border: 1px solid var(--nds-border);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-checkbox:hover {
    border-color: var(--nds-primary);
}

.filter-checkbox.active {
    background: var(--nds-primary);
    border-color: var(--nds-primary);
    color: white;
}

.price-range-slider {
    margin: 12px 0;
}

.price-range-slider input[type="range"] {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: var(--nds-border);
    border-radius: 3px;
    outline: none;
}

.price-range-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--nds-primary);
    border-radius: 50%;
    cursor: pointer;
}

.price-range-slider input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--nds-primary);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.price-range-display {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 0.9rem;
    color: var(--nds-muted);
}

/* Active Filters Display */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.active-filter {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--nds-primary);
    color: white;
    border-radius: 16px;
    font-size: 0.85rem;
    font-weight: 500;
}

.active-filter .remove-filter {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    margin-left: 4px;
    font-size: 16px;
    line-height: 1;
}

.active-filter .remove-filter:hover {
    opacity: 0.7;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes slideDown {
    from { transform: translateY(-10px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .quick-preview-modal .modal-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .quick-preview-modal .quick-preview-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-preview-modal .modal-body {
        padding: 16px;
    }
    
    .notification {
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .advanced-filters {
        padding: 16px;
    }
    
    .filter-checkboxes {
        flex-direction: column;
    }
    
    .filter-checkbox {
        justify-content: center;
    }
}

/* ======================================================
   Accessibility Improvements
   ====================================================== */

/* Screen Reader Only Text */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Skip Links */
.skip-link {
    position: absolute;
    left: -9999px;
    z-index: 999999;
    padding: 8px 16px;
    background: var(--nds-primary);
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.skip-link:focus {
    left: 6px;
    top: 7px;
}

/* Focus Management */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--nds-primary);
    outline-offset: 2px;
    border-radius: var(--nds-radius-sm);
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .product-card {
        border-width: 2px;
    }
    
    .btn {
        border-width: 2px;
    }
    
    .filter-tab {
        border-width: 2px;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .product-card:hover {
        transform: none !important;
    }
    
    .loading-shimmer {
        animation: none !important;
    }
}

/* Keyboard Navigation Enhancements */
.product-card:focus-within {
    border-color: var(--nds-primary);
    box-shadow: 0 0 0 2px rgba(114, 137, 218, 0.2);
}

.action-btn:focus,
.quick-action:focus {
    transform: scale(1.05);
    box-shadow: 0 0 0 2px var(--nds-primary);
}

/* Touch Target Size (minimum 44px) */
.action-btn,
.quick-action,
.density-btn {
    min-width: 44px;
    min-height: 44px;
}

/* Color Contrast Improvements */
.products-grid .meta-item {
    color: #c9aa71; /* Improved contrast */
}

.products-grid .product-excerpt {
    color: #c9aa71; /* Improved contrast */
}

/* Aria Live Regions */
.live-region {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Loading States with Accessible Indicators */
.loading-state[aria-busy="true"]::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid var(--nds-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
}

/* Improved Focus Indicators for Interactive Elements */
.filter-tab:focus-visible,
.product-title a:focus-visible {
    outline: 2px solid var(--nds-primary);
    outline-offset: 2px;
    text-decoration: none;
}

/* Error States with Better Visibility */
.error-state {
    border-color: #e53e3e !important;
    background-color: rgba(229, 62, 62, 0.1) !important;
}

.error-message {
    color: #e53e3e;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.error-message::before {
    content: '⚠';
    font-size: 1.2em;
}

/* Success States */
.success-state {
    border-color: #38a169 !important;
    background-color: rgba(56, 161, 105, 0.1) !important;
}

.success-message {
    color: #38a169;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.success-message::before {
    content: '✓';
    font-size: 1.2em;
}

/* ======================================================
   Enhanced Single Product Layout - Consistent Background & Better Spacing
   ====================================================== */

/* Enhanced Single Product Layout */
.nds-single {
    min-height: 100vh;
    padding: 2rem 0;
    /* Remove max-width constraint for full-width consistency */
}

.nds-hero {
    background: transparent; /* Remove background for consistency */
    border: none; /* Remove border */
    box-shadow: none; /* Remove shadow */
    border-radius: 0;
    padding: 3rem 2rem; /* Reduce horizontal padding */
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    position: relative !important;
    overflow: hidden !important;
    border-radius: 16px !important;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: start;
    text-align: left; /* Left align content */
    max-width: none;
    margin: 0;
}

/* Remove image container completely for now */
.nds-gallery {
    display: none;
}

.hero-media {
    display: none;
}

/* Enhanced Hero Summary - Left Aligned */
.hero-summary {
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    text-align: left; /* Left align */
    max-width: 100%;
}

.hero-summary h1,
.product-title {
    font-size: 3rem; /* Reduced from 3.5rem */
    font-weight: 800;
    color: #ffffff;
    margin: 1rem 0 1rem; /* Reduced margins */
    line-height: 1.1;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    text-align: left; /* Left align title */
}

.product-short-description {
    color: #b9bbbe;
    font-size: 1.2rem; /* Reduced from 1.3rem */
    line-height: 1.7; /* Reduced from 1.8 */
    margin: 1.5rem 0 2rem; /* Reduced margins */
    padding: 1.5rem; /* Reduced padding */
    background: rgba(0, 0, 0, 0.2); /* More subtle background */
    border-radius: 12px; /* Smaller radius */
    border-left: 4px solid #7289da;
    max-width: 700px; /* Increased but don't center */
    text-align: left;
}

/* Enhanced Type Badge - Left Aligned */
.type-badge {
    position: static;
    display: inline-flex;
    margin-bottom: 1.5rem; /* Reduced margin */
    padding: 0.75rem 1.5rem; /* Reduced padding */
    border-radius: 25px; /* Smaller radius */
    font-size: 0.9rem; /* Smaller font */
    font-weight: 700;
    color: white;
    align-items: center;
    gap: 0.5rem; /* Reduced gap */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3); /* Lighter shadow */
    text-transform: uppercase;
    letter-spacing: 0.5px; /* Reduced spacing */
}

.type-badge svg {
    width: 16px; /* Reduced from 20px */
    height: 16px;
}

/* Enhanced Price Display - Left Aligned */
.nds-price,
.price {
    font-size: 2.5rem; /* Reduced from 3rem */
    font-weight: 800;
    background: linear-gradient(135deg, #7289da 0%, #99aab5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 2rem 0; /* Reduced margins */
    text-align: left; /* Left align price */
    display: block;
}

/* Enhanced Action Row - Left Aligned */
.action-row {
    display: flex;
    justify-content: flex-start; /* Left align actions */
    gap: 1rem; /* Reduced gap */
    margin: 2rem 0; /* Reduced margins */
    flex-wrap: wrap;
}

.action-row .cart {
    width: auto; /* Remove full width */
    max-width: none;
    margin: 0;
}

/* Enhanced Meta Pills - Left Aligned */
.meta-pills {
    display: flex;
    justify-content: flex-start; /* Left align pills */
    gap: 0.75rem; /* Reduced gap */
    margin: 1.5rem 0; /* Reduced margins */
    flex-wrap: wrap;
}

.meta-pill {
    background: rgba(64, 68, 75, 0.6); /* More subtle background */
    color: #dcddde;
    padding: 0.5rem 1rem; /* Reduced padding */
    border-radius: 20px; /* Smaller radius */
    font-size: 0.85rem; /* Smaller font */
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem; /* Reduced gap */
    border: 1px solid rgba(64, 68, 75, 0.8);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); /* Lighter shadow */
}

.meta-pill svg {
    width: 14px; /* Smaller icons */
    height: 14px;
    opacity: 0.8;
}

/* Enhanced Buttons */
.btn-primary {
    background: linear-gradient(135deg, #7289da, #677bc4);
    color: white;
    border: none;
    padding: 1.25rem 2.5rem;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(114, 137, 218, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(114, 137, 218, 0.6);
    background: linear-gradient(135deg, #677bc4, #5b6eae);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #dcddde;
    border: 2px solid #40444b;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #7289da;
    color: white;
    transform: translateY(-2px);
}

/* Enhanced Sections Below Hero */
.product-sections {
    display: grid;
    gap: 4rem;
    margin-top: 4rem;
}

.section-card {
    background: linear-gradient(135deg, #36393f 0%, #2f3136 100%);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid #40444b;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.section-card h3 {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-card h3 svg {
    width: 24px;
    height: 24px;
    color: #7289da;
}

/* Key Features Grid */
.key-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    background: rgba(0, 0, 0, 0.3);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #7289da;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(114, 137, 218, 0.2);
}

.feature-item h4 {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-item p {
    color: #b9bbbe;
    line-height: 1.6;
    margin: 0;
}

/* Screenshots Grid */
.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.screenshot-item {
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #40444b;
    transition: all 0.3s ease;
    cursor: pointer;
}

.screenshot-item:hover {
    border-color: #7289da;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(114, 137, 218, 0.3);
}

.screenshot-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* Enhanced Tabs */
.nds-tabs {
    margin: 4rem 0;
}

.nds-tab-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    border-bottom: 3px solid #40444b;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    background: linear-gradient(135deg, #2f3136 0%, #36393f 100%);
    padding: 1.5rem;
    border-radius: 20px 20px 0 0;
}

.nds-tab {
    padding: 1.25rem 2.5rem;
    background: transparent;
    border: none;
    color: #72767d;
    font-weight: 700;
    cursor: pointer;
    border-radius: 15px;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nds-tab:hover {
    background: rgba(114, 137, 218, 0.2);
    color: #dcddde;
}

.nds-tab.active {
    background: linear-gradient(135deg, #7289da, #677bc4);
    color: white;
    box-shadow: 0 4px 16px rgba(114, 137, 218, 0.4);
}

.nds-tab svg {
    width: 16px;
    height: 16px;
}

.nds-tabpane {
    display: none;
    background: linear-gradient(135deg, #36393f 0%, #2f3136 100%);
    border-radius: 20px;
    padding: 4rem;
    border: 1px solid #40444b;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
    color: #dcddde;
    line-height: 1.8;
}

.nds-tabpane.active {
    display: block;
}

.nds-tabpane h3 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    border-bottom: 2px solid #40444b;
    padding-bottom: 1rem;
}

/* Enhanced Reviews Section */
.reviews-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    margin: 2rem 0;
}

.reviews-empty-state svg {
    width: 64px;
    height: 64px;
    color: #72767d;
    margin-bottom: 2rem;
}

.reviews-empty-state h4 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.reviews-empty-state p {
    color: #b9bbbe;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Quantity Selector */
.quantity-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.5rem;
}

.qty-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.qty-btn:hover {
    background: #7289da;
}

.quantity input {
    background: transparent;
    border: none;
    color: white;
    text-align: center;
    width: 60px;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nds-single {
        padding: 1.5rem 0; /* Reduced padding */
    }
    
    .nds-hero,
    .product-features-backend,
    .product-screenshots-backend,
    .enhanced-reviews-section {
        padding: 2rem 1rem; /* Consistent mobile padding */
        margin-left: 1rem;
        margin-right: 1rem;
    }
    
    .hero-summary h1,
    .product-title {
        font-size: 2.5rem;
    }
    
    .nds-price,
    .price {
        font-size: 2.5rem;
    }
    
    .action-row {
        flex-direction: column;
        align-items: center;
    }
    
    .key-features-grid,
    .screenshots-grid {
        grid-template-columns: 1fr;
    }
    
    .section-card {
        padding: 2rem;
    }
    
    .nds-tabpane {
        padding: 2.5rem;
    }
    
    .nds-tab-nav {
        padding: 1rem;
        flex-direction: column;
    }
    
    .meta-pills {
        flex-direction: column;
        align-items: center;
    }
}

/* ======================================================
   Backend Product Features & Screenshots Sections
   ====================================================== */

/* Product Features from Backend - Consistent Styling */
.product-features-backend {
    background: rgba(0, 0, 0, 0.15); /* Subtle consistent background */
    border-radius: 12px; /* Smaller radius */
    padding: 2.5rem; /* Reduced padding */
    margin: 3rem 2rem; /* Add horizontal margins to match hero */
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(64, 68, 75, 0.2); /* Subtle border */
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1); /* Lighter shadow */
}

.product-features-backend h3 {
    color: #ffffff;
    font-size: 1.6rem; /* Reduced font size */
    font-weight: 700;
    margin-bottom: 1.5rem; /* Reduced margin */
    display: flex;
    align-items: center;
    gap: 0.75rem; /* Reduced gap */
    text-align: left; /* Left align headers */
    justify-content: flex-start; /* Left align */
}

.product-features-backend .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Smaller min width */
    gap: 1.5rem; /* Reduced gap */
    margin-top: 1.5rem; /* Reduced margin */
}

.product-features-backend .feature-card {
    background: rgba(0, 0, 0, 0.2); /* Consistent with main background */
    padding: 1.5rem; /* Reduced padding */
    border-radius: 12px; /* Smaller radius */
    border: 1px solid rgba(64, 68, 75, 0.2); /* Subtle border */
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.product-features-backend .feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px; /* Thinner line */
    background: linear-gradient(135deg, #7289da, #99aab5);
}

.product-features-backend .feature-card:hover {
    transform: translateY(-4px); /* Less movement */
    box-shadow: 0 8px 24px rgba(114, 137, 218, 0.15); /* Lighter shadow */
    border-color: rgba(114, 137, 218, 0.3); /* Subtle border */
}

.product-features-backend .feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #7289da, #99aab5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 8px 24px rgba(114, 137, 218, 0.4);
}

.product-features-backend .feature-title {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.product-features-backend .feature-description {
    color: #b9bbbe;
    line-height: 1.7;
    font-size: 1rem;
}

/* Product Screenshots from Backend - Consistent Styling */
.product-screenshots-backend {
    background: rgba(0, 0, 0, 0.15); /* Consistent subtle background */
    border-radius: 12px; /* Smaller radius */
    padding: 2.5rem; /* Reduced padding */
    margin: 3rem 2rem; /* Add horizontal margins to match hero */
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(64, 68, 75, 0.2); /* Subtle border */
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1); /* Lighter shadow */
}

.product-screenshots-backend h3 {
    color: #ffffff;
    font-size: 1.6rem; /* Reduced font size */
    font-weight: 700;
    margin-bottom: 1.5rem; /* Reduced margin */
    display: flex;
    align-items: center;
    gap: 0.75rem; /* Reduced gap */
    text-align: left; /* Left align headers */
    justify-content: flex-start; /* Left align */
}

.screenshots-grid-backend {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.screenshot-item-backend {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid #40444b;
    transition: all 0.4s ease;
    cursor: pointer;
    background: #2f3136;
}

.screenshot-item-backend:hover {
    border-color: #7289da;
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(114, 137, 218, 0.3);
}

.screenshot-item-backend img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: all 0.4s ease;
}

.screenshot-item-backend:hover img {
    transform: scale(1.05);
}

.screenshot-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(114, 137, 218, 0.8), rgba(153, 170, 181, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.screenshot-item-backend:hover .screenshot-overlay {
    opacity: 1;
}

.screenshot-zoom-icon {
    background: rgba(255, 255, 255, 0.9);
    color: #2f3136;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.screenshot-item-backend:hover .screenshot-zoom-icon {
    transform: scale(1.1);
}

/* Screenshot Lightbox */
.screenshot-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.screenshot-lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 96px rgba(0, 0, 0, 0.6);
}

.lightbox-content img {
    width: 100%;
    height: auto;
    display: block;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: -10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

/* Enhanced Reviews Section with No Reviews State - Consistent Styling */
.enhanced-reviews-section {
    background: rgba(0, 0, 0, 0.15); /* Consistent subtle background */
    border-radius: 12px; /* Smaller radius */
    padding: 2.5rem; /* Reduced padding */
    margin: 3rem 2rem; /* Add horizontal margins to match hero */
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(64, 68, 75, 0.2); /* Subtle border */
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1); /* Lighter shadow */
}

.enhanced-reviews-section h3 {
    color: #ffffff;
    font-size: 1.6rem; /* Reduced font size */
    font-weight: 700;
    margin-bottom: 1.5rem; /* Reduced margin */
    display: flex;
    align-items: center;
    gap: 0.75rem; /* Reduced gap */
    text-align: left; /* Left align headers */
    justify-content: flex-start; /* Left align */
}

.no-reviews-state {
    text-align: center;
    padding: 3rem 2rem; /* Reduced padding */
    background: rgba(0, 0, 0, 0.15); /* Consistent with other elements */
    border-radius: 12px; /* Smaller radius */
    border: 1px solid rgba(64, 68, 75, 0.2); /* Subtle border */
    margin: 1.5rem 0; /* Reduced margins */
    transition: all 0.3s ease;
}

.no-reviews-state:hover {
    border-color: #7289da;
    background: rgba(114, 137, 218, 0.05);
}

.no-reviews-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 3rem;
    color: #72767d;
}

.no-reviews-icon .star-icon {
    color: #ffd700;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 1; }
}

.no-reviews-state h4 {
    color: #ffffff;
    font-size: 1.3rem; /* Reduced font size */
    font-weight: 600;
    margin-bottom: 0.75rem; /* Reduced margin */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem; /* Reduced gap */
}

.no-reviews-state p {
    color: #b9bbbe;
    font-size: 1rem; /* Reduced font size */
    line-height: 1.6;
    max-width: 400px; /* Reduced max width */
    margin: 0 auto 2rem; /* Added margin-bottom for button separation */
}

.reviews-call-to-action {
    background: linear-gradient(135deg, #7289da, #99aab5);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.reviews-call-to-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(114, 137, 218, 0.4);
    background: linear-gradient(135deg, #677bc4, #8691a8);
}

/* Mobile Responsiveness for Backend Sections */
@media (max-width: 768px) {
    .product-features-backend,
    .product-screenshots-backend,
    .enhanced-reviews-section {
        padding: 2rem;
        margin: 2rem 1rem;
    }
    
    .product-features-backend .features-grid,
    .screenshots-grid-backend {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .product-features-backend h3,
    .product-screenshots-backend h3,
    .enhanced-reviews-section h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .no-reviews-state {
        padding: 2.5rem 1.5rem;
    }
    
    .no-reviews-state h4 {
        font-size: 1.5rem;
    }
    
    .no-reviews-state p {
        font-size: 1rem;
    }
    
    .screenshot-item-backend img {
        height: 180px;
    }
    
    .lightbox-close {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .lightbox-content {
        margin: 1rem;
        max-width: calc(100vw - 2rem);
        max-width: calc(100vh - 2rem);
    }
}

/* ======================================================
   Image Carousel Modal
   ====================================================== */
.carousel-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: fadeIn 0.3s ease-out forwards;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.carousel-container {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.carousel-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--nds-transition-fast);
  z-index: 10001;
}

.carousel-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.carousel-content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  position: relative;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--nds-transition-fast);
  backdrop-filter: blur(10px);
  z-index: 10001;
}

.carousel-nav:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
  left: -70px;
}

.carousel-nav.next {
  right: -70px;
}

.carousel-main {
  max-width: 80vw;
  max-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.carousel-main img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--nds-radius-lg);
  box-shadow: var(--nds-shadow-xl);
}

.carousel-counter {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 14px;
  background: rgba(0, 0, 0, 0.6);
  padding: 6px 12px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.carousel-thumbnails {
  display: flex;
  gap: 8px;
  margin-top: 40px;
  max-width: 80vw;
  overflow-x: auto;
  padding: 10px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.carousel-thumbnails::-webkit-scrollbar {
  height: 6px;
}

.carousel-thumbnails::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.carousel-thumbnails::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}

.carousel-thumbnails::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

.carousel-thumb {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border: 2px solid transparent;
  border-radius: var(--nds-radius);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--nds-transition-fast);
  background: rgba(255, 255, 255, 0.1);
}

.carousel-thumb:hover {
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.05);
}

.carousel-thumb.active {
  border-color: var(--nds-primary);
  box-shadow: 0 0 10px var(--nds-primary);
}

.carousel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mobile Carousel Styles */
@media (max-width: 768px) {
  .carousel-container {
    max-width: 95vw;
    max-height: 95vh;
  }
  
  .carousel-close {
    top: -40px;
    right: 10px;
  }
  
  .carousel-nav {
    width: 40px;
    height: 40px;
  }
  
  .carousel-nav.prev {
    left: -50px;
  }
  
  .carousel-nav.next {
    right: -50px;
  }
  
  .carousel-main {
    max-width: 90vw;
    max-height: 60vh;
  }
  
  .carousel-thumbnails {
    max-width: 90vw;
    margin-top: 30px;
  }
  
  .carousel-thumb {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 480px) {
  .carousel-nav.prev {
    left: -35px;
  }
  
  .carousel-nav.next {
    right: -35px;
  }
}

/* ===== MODERN HOMEPAGE STYLES ===== */

/* Modern Hero Section */
.modern-hero {
    background: linear-gradient(135deg, var(--nds-grey-700) 0%, var(--nds-grey-800) 100%);
    padding: var(--nds-space-5xl) 0;
    margin-bottom: var(--nds-space-3xl);
    border-radius: var(--nds-border-radius-xl);
    position: relative;
    overflow: hidden;
}

.modern-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at center, var(--nds-primary-500)/0.15 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--nds-space-4xl);
    align-items: center;
}

.hero-text {
    z-index: 2;
    position: relative;
}

.hero-badges {
    display: flex;
    gap: var(--nds-space-sm);
    margin-bottom: var(--nds-space-xl);
    flex-wrap: wrap;
}

.badge {
    padding: var(--nds-space-sm) var(--nds-space-lg);
    border-radius: var(--nds-border-radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.025em;
    transition: all 0.2s ease;
}

.badge.primary {
    background: var(--nds-primary-500);
    color: var(--nds-white);
    box-shadow: 0 4px 15px var(--nds-primary-500)/0.3;
}

.badge.secondary {
    background: var(--nds-secondary-500);
    color: var(--nds-white);
    box-shadow: 0 4px 15px var(--nds-secondary-500)/0.3;
}

.badge.accent {
    background: var(--nds-accent-500);
    color: var(--nds-white);
    box-shadow: 0 4px 15px var(--nds-accent-500)/0.3;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--nds-space-xl);
    color: var(--nds-white);
    background: linear-gradient(135deg, var(--nds-white) 0%, var(--nds-grey-100) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.375rem;
    line-height: 1.5;
    color: var(--nds-grey-200);
    margin-bottom: var(--nds-space-2xl);
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: var(--nds-space-lg);
    flex-wrap: wrap;
}

.hero-cta {
    padding: var(--nds-space-lg) var(--nds-space-2xl);
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: var(--nds-border-radius-lg);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--nds-space-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-cta.primary {
    background: var(--nds-primary-500);
    color: var(--nds-white);
    border: 2px solid var(--nds-primary-500);
    box-shadow: 0 8px 25px var(--nds-primary-500)/0.4;
}

.hero-cta.primary:hover {
    background: var(--nds-primary-600);
    border-color: var(--nds-primary-600);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px var(--nds-primary-500)/0.5;
}

.hero-cta.secondary {
    background: transparent;
    color: var(--nds-white);
    border: 2px solid var(--nds-grey-400);
}

.hero-cta.secondary:hover {
    background: var(--nds-white);
    color: var(--nds-grey-800);
    border-color: var(--nds-white);
    transform: translateY(-3px);
}

/* Hero Mockup Styles */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-mockup {
    max-width: 100%;
    position: relative;
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.hero-mockup:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) translateY(-10px);
}

.mockup-window {
    background: var(--nds-grey-800);
    border-radius: var(--nds-border-radius-xl);
    border: 1px solid var(--nds-grey-600);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px var(--nds-grey-600)/0.5;
    overflow: hidden;
    min-height: 400px;
}

.window-header {
    background: var(--nds-grey-700);
    padding: var(--nds-space-md);
    border-bottom: 1px solid var(--nds-grey-600);
    display: flex;
    align-items: center;
    gap: var(--nds-space-md);
}

.window-controls {
    display: flex;
    gap: var(--nds-space-xs);
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control.close { background: #ff5f57; }
.control.minimize { background: #ffbd2e; }
.control.maximize { background: #28ca42; }

.window-title {
    color: var(--nds-white);
    font-size: 0.875rem;
    font-weight: 500;
    margin-left: auto;
    margin-right: auto;
}

.window-content {
    display: flex;
    height: 350px;
}

.dashboard-sidebar {
    width: 160px;
    background: var(--nds-grey-700);
    border-right: 1px solid var(--nds-grey-600);
    padding: var(--nds-space-lg) 0;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: var(--nds-space-sm);
    padding: var(--nds-space-sm) var(--nds-space-lg);
    color: var(--nds-grey-300);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sidebar-item.active {
    background: var(--nds-primary-500)/0.15;
    color: var(--nds-primary-300);
    border-right: 2px solid var(--nds-primary-500);
}

.sidebar-item:hover:not(.active) {
    background: var(--nds-grey-600);
    color: var(--nds-white);
}

.dashboard-main {
    flex: 1;
    padding: var(--nds-space-lg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--nds-space-md);
    margin-bottom: var(--nds-space-lg);
}

.stat-card {
    background: var(--nds-grey-700);
    padding: var(--nds-space-md);
    border-radius: var(--nds-border-radius-md);
    border: 1px solid var(--nds-grey-600);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--nds-white);
    margin-bottom: var(--nds-space-xs);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--nds-grey-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--nds-space-xs);
}

.stat-trend {
    font-size: 0.75rem;
    font-weight: 600;
}

.stat-trend.positive { color: #10b981; }
.stat-trend.stable { color: var(--nds-grey-400); }

.feature-preview {
    background: var(--nds-grey-700);
    border-radius: var(--nds-border-radius-md);
    border: 1px solid var(--nds-grey-600);
    overflow: hidden;
}

.preview-header {
    padding: var(--nds-space-md);
    background: var(--nds-grey-600);
    color: var(--nds-white);
    font-size: 0.875rem;
    font-weight: 600;
    border-bottom: 1px solid var(--nds-grey-500);
}

.activity-item {
    display: flex;
    align-items: center;
    gap: var(--nds-space-sm);
    padding: var(--nds-space-sm) var(--nds-space-md);
    color: var(--nds-grey-300);
    font-size: 0.8125rem;
    border-bottom: 1px solid var(--nds-grey-600);
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.activity-icon.success { background: #10b981; }
.activity-icon.info { background: var(--nds-primary-400); }

/* How It Works Section */
.how-it-works-section {
    padding: var(--nds-space-4xl) 0 var(--nds-space-2xl) 0;
    background: var(--nds-grey-900);
}

.section-header.centered {
    text-align: center;
    margin-bottom: var(--nds-space-2xl);
}

.section-title.compact {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--nds-white);
    margin-bottom: var(--nds-space-sm);
    line-height: 1.2;
}

.section-subtitle.compact {
    font-size: 1.125rem;
    color: var(--nds-grey-300);
    margin: 0 auto;
    line-height: 1.4;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--nds-space-xl);
}

.step-card {
    background: var(--nds-grey-700);
    padding: var(--nds-space-xl);
    border-radius: var(--nds-border-radius-xl);
    border: 1px solid var(--nds-grey-600);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--nds-primary-500), var(--nds-secondary-500), var(--nds-accent-500));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.step-card:hover::before {
    transform: scaleX(1);
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--nds-primary-500);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.step-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--nds-primary-500), var(--nds-primary-600));
    border-radius: var(--nds-border-radius-xl);
    margin-bottom: var(--nds-space-lg);
    box-shadow: 0 10px 30px var(--nds-primary-500)/0.3;
}

.step-icon svg {
    color: var(--nds-white);
}

.step-number {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--nds-accent-500);
    color: var(--nds-white);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    border: 2px solid var(--nds-grey-700);
}

.step-card h3 {
    color: var(--nds-white);
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: var(--nds-space-md);
    line-height: 1.3;
}

.step-card p {
    color: var(--nds-grey-300);
    line-height: 1.5;
    margin: 0;
}

/* Featured Products Section */
.featured-products-section {
    padding: var(--nds-space-3xl) 0;
    background: var(--nds-grey-900);
}

.section-header {
    text-align: center;
    margin-bottom: var(--nds-space-2xl);
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 700;
    color: var(--nds-white);
    margin-bottom: var(--nds-space-md);
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--nds-grey-300);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.4;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--nds-space-lg);
    margin-bottom: var(--nds-space-2xl);
}

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

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

.product-card {
    background: var(--nds-grey-700);
    border-radius: var(--nds-border-radius-xl);
    overflow: hidden;
    border: 1px solid var(--nds-grey-600);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--nds-primary-500);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px var(--nds-primary-500)/0.5;
}

.product-image {
    position: relative;
    padding-top: 60%;
    overflow: hidden;
    background: var(--nds-grey-600);
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.product-image .hover-image {
    opacity: 0;
}

.product-card:hover .product-image .primary-image {
    opacity: 0;
}

.product-card:hover .product-image .hover-image {
    opacity: 1;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.quick-view-btn {
    display: flex;
    align-items: center;
    gap: var(--nds-space-sm);
    background: var(--nds-primary-500);
    color: var(--nds-white);
    padding: var(--nds-space-sm) var(--nds-space-lg);
    border-radius: var(--nds-border-radius-md);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.quick-view-btn:hover {
    background: var(--nds-primary-600);
    transform: translateY(-2px);
}

.sale-badge {
    position: absolute;
    top: var(--nds-space-sm);
    left: var(--nds-space-sm);
    background: var(--nds-accent-500);
    color: var(--nds-white);
    padding: var(--nds-space-xs) var(--nds-space-sm);
    border-radius: var(--nds-border-radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 2;
}

.product-content {
    padding: var(--nds-space-lg);
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--nds-space-sm);
}

.product-category {
    background: var(--nds-grey-600);
    color: var(--nds-primary-300);
    padding: var(--nds-space-xs) var(--nds-space-sm);
    border-radius: var(--nds-border-radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-title {
    margin: 0 0 var(--nds-space-sm) 0;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
}

.product-title a {
    color: var(--nds-white);
    text-decoration: none;
    transition: color 0.2s ease;
}

.product-title a:hover {
    color: var(--nds-primary-300);
}

.product-excerpt {
    color: var(--nds-grey-300);
    line-height: 1.5;
    margin-bottom: var(--nds-space-lg);
    font-size: 0.9375rem;
}

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

.product-price {
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--nds-white);
}

.product-price .woocommerce-Price-amount {
    color: var(--nds-primary-300);
}

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

/* Why EqualsNDash Section */
.why-equalsndash-section {
    padding: var(--nds-space-3xl) 0;
    background: var(--nds-grey-800);
    position: relative;
}

.why-equalsndash-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--nds-primary-500) 50%, transparent 100%);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--nds-space-xl);
}

.benefits-grid.compact {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--nds-space-lg);
    margin-bottom: var(--nds-space-2xl);
}

.benefit-card {
    background: var(--nds-grey-700);
    padding: var(--nds-space-xl);
    border-radius: var(--nds-border-radius-xl);
    border: 1px solid var(--nds-grey-600);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card.compact {
    padding: var(--nds-space-lg);
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--nds-primary-500);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: var(--nds-primary-500);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--nds-border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--nds-space-lg);
    position: relative;
}

.benefit-card.compact .benefit-icon {
    width: 48px;
    height: 48px;
    margin-bottom: var(--nds-space-md);
}

.benefit-icon.performance {
    background: linear-gradient(135deg, var(--nds-primary-500), var(--nds-primary-600));
    box-shadow: 0 8px 25px var(--nds-primary-500)/0.3;
}

.benefit-icon.security {
    background: linear-gradient(135deg, var(--nds-secondary-500), var(--nds-secondary-600));
    box-shadow: 0 8px 25px var(--nds-secondary-500)/0.3;
}

.benefit-icon.support {
    background: linear-gradient(135deg, var(--nds-accent-500), var(--nds-accent-600));
    box-shadow: 0 8px 25px var(--nds-accent-500)/0.3;
}

.benefit-icon.updates {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 8px 25px #10b981/0.3;
}

.benefit-icon svg {
    color: var(--nds-white);
}

.benefit-card h3 {
    color: var(--nds-white);
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: var(--nds-space-md);
    line-height: 1.3;
}

.benefit-card.compact h3 {
    font-size: 1.125rem;
}

.benefit-card p {
    color: var(--nds-grey-300);
    line-height: 1.6;
    margin-bottom: var(--nds-space-lg);
}

.benefit-card.compact p {
    margin-bottom: 0;
    font-size: 0.875rem;
}

.benefit-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--nds-space-sm);
}

.benefit-features li {
    color: var(--nds-grey-400);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: var(--nds-space-sm);
    position: relative;
    padding-left: var(--nds-space-lg);
}

.benefit-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--nds-primary-400);
    font-weight: 600;
    font-size: 0.875rem;
}

.trust-text {
    text-align: center;
    margin-top: var(--nds-space-xl);
    padding: var(--nds-space-lg);
    background: var(--nds-grey-700);
    border-radius: var(--nds-border-radius-lg);
    border: 1px solid var(--nds-grey-600);
}

.trust-text p {
    margin: 0;
    color: var(--nds-grey-300);
    font-size: 0.875rem;
}

.trust-text strong {
    color: var(--nds-primary-400);
    font-weight: 600;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .modern-hero {
        padding: var(--nds-space-3xl) 0;
        margin-bottom: var(--nds-space-3xl);
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--nds-space-2xl);
    }
    
    .hero-visual {
        order: -1;
    }
    
    .hero-card {
        transform: none;
        max-width: none;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-actions .btn {
        justify-content: center;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: var(--nds-space-lg);
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: var(--nds-space-lg);
    }
    
    .featured-products-section,
    .why-equalsndash-section {
        padding: var(--nds-space-3xl) 0;
    }
}

/* Animation Support */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

[data-aos="fade-up"] {
    animation: fadeInUp 0.6s ease forwards;
}

/* Gallery Section */
.gallery-section {
    padding: var(--nds-space-3xl) 0;
    background: var(--nds-grey-900);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: var(--nds-space-lg);
    height: 600px;
}

.gallery-item {
    background: var(--nds-grey-700);
    border-radius: var(--nds-border-radius-xl);
    overflow: hidden;
    border: 1px solid var(--nds-grey-600);
    transition: all 0.3s ease;
    position: relative;
}

.gallery-item.large {
    grid-row: span 2;
}

.gallery-item:hover {
    transform: translateY(-5px);
    border-color: var(--nds-primary-500);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.gallery-image {
    position: relative;
    height: 60%;
    overflow: hidden;
}

.gallery-item.large .gallery-image {
    height: 70%;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-btn {
    display: flex;
    align-items: center;
    gap: var(--nds-space-sm);
    background: var(--nds-primary-500);
    color: var(--nds-white);
    border: none;
    padding: var(--nds-space-sm) var(--nds-space-lg);
    border-radius: var(--nds-border-radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gallery-btn:hover {
    background: var(--nds-primary-600);
    transform: translateY(-2px);
}

.gallery-content {
    padding: var(--nds-space-lg);
    height: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gallery-item.large .gallery-content {
    height: 30%;
}

.gallery-content h3 {
    color: var(--nds-white);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--nds-space-sm);
    line-height: 1.3;
}

.gallery-content p {
    color: var(--nds-grey-300);
    line-height: 1.5;
    font-size: 0.9375rem;
    margin: 0;
}

/* Quick Links Section */
.quick-links-section {
    padding: var(--nds-space-3xl) 0;
    background: var(--nds-grey-800);
}

/* Library Cards */
.library-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--nds-space-xl);
    max-width: 900px;
    margin: 0 auto;
}

.library-card {
    background: var(--nds-grey-700);
    border-radius: var(--nds-border-radius-xl);
    border: 1px solid var(--nds-grey-600);
    padding: var(--nds-space-xl);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.library-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.library-card.discord::before {
    background: linear-gradient(90deg, #5865f2, #7289da);
}

.library-card.wordpress::before {
    background: linear-gradient(90deg, #21759b, #0085ba);
}

.library-card:hover::before {
    transform: scaleX(1);
}

.library-card:hover {
    transform: translateY(-6px);
    border-color: var(--nds-primary-500);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.library-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--nds-space-lg);
}

.library-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--nds-border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.library-icon.discord-icon {
    background: linear-gradient(135deg, #5865f2, #7289da);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.3);
}

.library-icon.wordpress-icon {
    background: linear-gradient(135deg, #21759b, #0085ba);
    box-shadow: 0 8px 25px rgba(33, 117, 155, 0.3);
}

.library-icon svg {
    color: white;
}

.library-stats {
    text-align: right;
    flex-shrink: 0;
}

.stat-number {
    display: block;
    color: var(--nds-white);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    display: block;
    color: var(--nds-grey-400);
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.library-content h3 {
    color: var(--nds-white);
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: var(--nds-space-sm);
    line-height: 1.3;
}

.library-content p {
    color: var(--nds-grey-300);
    line-height: 1.5;
    margin-bottom: var(--nds-space-lg);
    font-size: 0.9375rem;
}

.library-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: var(--nds-space-xs);
    margin-bottom: var(--nds-space-lg);
}

.highlight {
    background: var(--nds-grey-600);
    color: var(--nds-grey-200);
    padding: var(--nds-space-xs) var(--nds-space-sm);
    border-radius: var(--nds-border-radius-md);
    font-size: 0.8125rem;
    font-weight: 500;
    border: 1px solid var(--nds-grey-500);
}

.library-cta {
    color: var(--nds-primary-400);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    gap: var(--nds-space-xs);
    transition: all 0.2s ease;
}

.library-cta:hover {
    color: var(--nds-primary-300);
    transform: translateX(4px);
}

.library-cta svg {
    transition: transform 0.2s ease;
}

.library-cta:hover svg {
    transform: translateX(2px);
}

/* Try Free Section */
.try-free-section {
    padding: var(--nds-space-3xl) 0;
    background: var(--nds-grey-900);
    position: relative;
}

.try-free-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, var(--nds-primary-500)/0.05 0%, transparent 70%);
    pointer-events: none;
}

.try-free-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--nds-space-4xl);
    align-items: center;
}

.try-free-text h2 {
    color: var(--nds-white);
    font-size: clamp(2rem, 3vw, 2.75rem);
    font-weight: 700;
    margin-bottom: var(--nds-space-lg);
    line-height: 1.2;
}

.try-free-text p {
    color: var(--nds-grey-300);
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: var(--nds-space-xl);
}

.try-free-features {
    display: flex;
    flex-direction: column;
    gap: var(--nds-space-md);
    margin-bottom: var(--nds-space-2xl);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--nds-space-md);
    color: var(--nds-grey-300);
    font-size: 1.0625rem;
}

.feature-item svg {
    color: var(--nds-primary-400);
    flex-shrink: 0;
}

.try-free-actions {
    display: flex;
    gap: var(--nds-space-md);
    flex-wrap: wrap;
}

.code-preview {
    background: var(--nds-grey-800);
    border-radius: var(--nds-border-radius-xl);
    border: 1px solid var(--nds-grey-600);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.code-header {
    background: var(--nds-grey-700);
    padding: var(--nds-space-md) var(--nds-space-lg);
    border-bottom: 1px solid var(--nds-grey-600);
}

.code-tabs {
    display: flex;
    gap: var(--nds-space-md);
}

.tab {
    background: var(--nds-grey-600);
    color: var(--nds-grey-300);
    padding: var(--nds-space-xs) var(--nds-space-md);
    border-radius: var(--nds-border-radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.tab.active {
    background: var(--nds-primary-500);
    color: var(--nds-white);
}

.code-content {
    padding: var(--nds-space-lg);
    overflow-x: auto;
}

.code-content pre {
    margin: 0;
    font-family: 'Fira Code', 'Monaco', 'Consolas', monospace;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--nds-grey-300);
}

.code-content code {
    color: inherit;
}

/* Hosting Section */
.hosting-section {
    padding: var(--nds-space-3xl) 0;
    background: var(--nds-grey-800);
}

.hosting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--nds-space-xl);
}

.hosting-card {
    background: var(--nds-grey-700);
    padding: var(--nds-space-2xl);
    border-radius: var(--nds-border-radius-xl);
    border: 1px solid var(--nds-grey-600);
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
}

.hosting-card.featured {
    border-color: var(--nds-primary-500);
    background: linear-gradient(135deg, var(--nds-grey-700) 0%, var(--nds-grey-600) 100%);
    transform: scale(1.05);
}

.hosting-card:hover {
    transform: translateY(-8px);
    border-color: var(--nds-primary-500);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hosting-card.featured:hover {
    transform: translateY(-8px) scale(1.05);
}

.hosting-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--nds-primary-500);
    color: var(--nds-white);
    padding: var(--nds-space-xs) var(--nds-space-lg);
    border-radius: var(--nds-border-radius-full);
    font-size: 0.875rem;
    font-weight: 600;
}

.hosting-logo {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--nds-space-lg);
}

.hosting-logo img {
    max-height: 100%;
    max-width: 200px;
    object-fit: contain;
}

.hosting-card h3 {
    color: var(--nds-white);
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: var(--nds-space-md);
    line-height: 1.3;
}

.hosting-card p {
    color: var(--nds-grey-300);
    line-height: 1.6;
    margin-bottom: var(--nds-space-xl);
}

.hosting-features {
    display: flex;
    flex-direction: column;
    gap: var(--nds-space-sm);
    margin-bottom: var(--nds-space-xl);
    text-align: left;
}

.hosting-features .feature {
    display: flex;
    align-items: center;
    gap: var(--nds-space-sm);
    color: var(--nds-grey-300);
    font-size: 0.9375rem;
}

.hosting-features .feature svg {
    color: var(--nds-primary-400);
    flex-shrink: 0;
}

/* Email CTA Section */
.email-cta-section {
    padding: var(--nds-space-3xl) 0;
    background: linear-gradient(135deg, var(--nds-primary-900) 0%, var(--nds-secondary-900) 100%);
    position: relative;
}

.email-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, var(--nds-primary-500)/0.1 0%, transparent 70%);
    pointer-events: none;
}

.newsletter-lead-magnet {
    background: var(--nds-grey-700);
    padding: var(--nds-space-3xl);
    border-radius: var(--nds-border-radius-2xl);
    border: 1px solid var(--nds-grey-600);
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.discount-badge {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    padding: var(--nds-space-md) var(--nds-space-lg);
    border-radius: var(--nds-border-radius-full);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
    border: 3px solid var(--nds-grey-700);
}

.discount-percent {
    display: block;
    color: white;
    font-size: 1.125rem;
    font-weight: 800;
    line-height: 1;
}

.discount-text {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.newsletter-content h2 {
    color: var(--nds-white);
    font-size: clamp(1.875rem, 3vw, 2.25rem);
    font-weight: 700;
    margin: var(--nds-space-lg) 0 var(--nds-space-md);
    line-height: 1.2;
}

.newsletter-content p {
    color: var(--nds-grey-300);
    font-size: 1.125rem;
    line-height: 1.5;
    margin-bottom: var(--nds-space-xl);
}

.newsletter-form-enhanced {
    max-width: 550px;
    margin: 0 auto;
}

.form-input-group {
    margin-bottom: var(--nds-space-lg);
}

.input-wrapper {
    position: relative;
    flex: 1;
    margin-bottom: var(--nds-space-md);
}

.input-icon {
    position: absolute;
    left: var(--nds-space-lg);
    top: 50%;
    transform: translateY(-50%);
    color: var(--nds-grey-400);
    z-index: 2;
}

.input-wrapper input[type="email"] {
    width: 100%;
    padding: var(--nds-space-lg) var(--nds-space-lg) var(--nds-space-lg) 3rem;
    border-radius: var(--nds-border-radius-lg);
    border: 2px solid var(--nds-grey-500);
    background: var(--nds-grey-600);
    color: var(--nds-white);
    font-size: 1.0625rem;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.input-wrapper input[type="email"]:focus {
    outline: none;
    border-color: var(--nds-primary-500);
    box-shadow: 0 0 0 4px var(--nds-primary-500)/0.2;
    background: var(--nds-grey-800);
}

.input-wrapper input[type="email"]::placeholder {
    color: var(--nds-grey-400);
}

.subscribe-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--nds-primary-500), var(--nds-primary-600));
    color: white;
    border: none;
    padding: var(--nds-space-lg) var(--nds-space-xl);
    border-radius: var(--nds-border-radius-lg);
    font-size: 1.0625rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--nds-space-sm);
    min-height: 56px;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
}

.subscribe-btn:hover {
    background: linear-gradient(135deg, var(--nds-primary-600), var(--nds-primary-700));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.4);
}

.subscribe-btn:active {
    transform: translateY(0);
}

.newsletter-benefits {
    display: flex;
    justify-content: space-between;
    gap: var(--nds-space-md);
    margin-bottom: var(--nds-space-lg);
    flex-wrap: wrap;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: var(--nds-space-xs);
    color: var(--nds-grey-300);
    font-size: 0.875rem;
    flex: 1;
    min-width: 140px;
    justify-content: center;
}

.benefit-item svg {
    color: var(--nds-primary-400);
    flex-shrink: 0;
}

.form-disclaimer {
    color: var(--nds-grey-400);
    font-size: 0.8125rem;
    margin: 0;
    text-align: center;
    line-height: 1.4;
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        height: auto;
    }
    
    .gallery-item.large {
        grid-row: span 1;
    }
    
    .gallery-image {
        height: 200px;
    }
    
    .gallery-content {
        height: auto;
        padding: var(--nds-space-md);
    }
    
    .library-cards-grid {
        grid-template-columns: 1fr;
        gap: var(--nds-space-lg);
        max-width: none;
    }
    
    .library-card {
        padding: var(--nds-space-lg);
    }
    
    .library-card-header {
        margin-bottom: var(--nds-space-md);
    }
    
    .library-icon {
        width: 48px;
        height: 48px;
    }
    
    .stat-number {
        font-size: 1.25rem;
    }
    
    .newsletter-lead-magnet {
        padding: var(--nds-space-xl);
        margin: 0 var(--nds-space-md);
    }
    
    .newsletter-benefits {
        flex-direction: column;
        gap: var(--nds-space-sm);
        align-items: center;
    }
    
    .benefit-item {
        justify-content: center;
        min-width: auto;
    }
    
    /* Mobile Button Optimization - Thumb-friendly touch targets */
    .btn {
        min-height: 44px; /* Apple HIG minimum touch target */
        padding: var(--nds-space-md) var(--nds-space-lg);
        font-size: var(--nds-font-md);
    }
    
    .subscribe-btn {
        min-height: 52px;
        font-size: 1.125rem;
    }
    
    .hero-cta .btn {
        min-height: 48px;
        padding: var(--nds-space-lg) var(--nds-space-xl);
        font-size: 1.0625rem;
    }
    
    /* Mobile spacing optimization */
    .hero-section {
        padding: var(--nds-space-2xl) 0;
    }
    
    .section-header {
        margin-bottom: var(--nds-space-xl);
    }
    
    .section-header h2 {
        font-size: clamp(1.75rem, 4vw, 2.25rem);
        line-height: 1.2;
    }
    
    /* Mobile form optimization */
    .input-wrapper input[type="email"] {
        min-height: 44px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    
    .try-free-content {
        grid-template-columns: 1fr;
        gap: var(--nds-space-2xl);
    }
    
    .try-free-visual {
        order: -1;
    }
    
    .try-free-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hosting-grid {
        grid-template-columns: 1fr;
        gap: var(--nds-space-lg);
    }
    
    .hosting-card.featured {
        transform: none;
    }
    
    .hosting-card.featured:hover {
        transform: translateY(-8px);
    }
    
    .email-cta-content {
        padding: var(--nds-space-2xl);
        margin: 0 var(--nds-space-lg);
    }
    
    .email-benefits {
        flex-direction: column;
        align-items: center;
        gap: var(--nds-space-sm);
    }
    
    .form-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .form-group .btn {
        justify-content: center;
    }
}

/* ===== GALLERY MODAL STYLES ===== */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.gallery-modal.active {
    opacity: 1;
    visibility: visible;
}

.gallery-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.gallery-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: var(--nds-grey-700);
    border-radius: var(--nds-border-radius-xl);
    overflow: hidden;
    border: 1px solid var(--nds-grey-600);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.gallery-modal.active .gallery-modal-content {
    transform: scale(1);
}

.gallery-modal-close {
    position: absolute;
    top: var(--nds-space-lg);
    right: var(--nds-space-lg);
    background: rgba(0, 0, 0, 0.8);
    border: none;
    color: var(--nds-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 2;
}

.gallery-modal-close:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.gallery-modal-image {
    position: relative;
    max-height: 70vh;
    overflow: hidden;
}

.gallery-modal-image img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-modal-info {
    padding: var(--nds-space-xl);
    background: var(--nds-grey-700);
}

.gallery-modal-info h3 {
    color: var(--nds-white);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--nds-space-sm);
    line-height: 1.3;
}

.gallery-modal-info p {
    color: var(--nds-grey-300);
    line-height: 1.5;
    margin: 0;
}

.gallery-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: var(--nds-space-lg);
    right: var(--nds-space-lg);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.gallery-nav-btn {
    background: rgba(0, 0, 0, 0.8);
    border: none;
    color: var(--nds-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    pointer-events: auto;
}

.gallery-nav-btn:hover {
    background: var(--nds-primary-500);
    transform: scale(1.1);
}

.gallery-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.gallery-nav-btn:disabled:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: none;
}

/* ===== ANIMATION ENHANCEMENTS ===== */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

.btn.success {
    background: #10b981 !important;
    border-color: #10b981 !important;
}

/* Enhanced hover effects for benefit cards */
.benefit-card {
    position: relative;
    overflow: hidden;
}

.benefit-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.6s ease;
}

.benefit-card:hover::after {
    left: 100%;
}

/* Code syntax highlighting simulation */
.code-content code {
    color: var(--nds-grey-300);
}

.code-content code .keyword {
    color: #8b5cf6;
}

.code-content code .string {
    color: #10b981;
}

.code-content code .comment {
    color: var(--nds-grey-500);
    font-style: italic;
}

.code-content code .function {
    color: #3b82f6;
}

/* Mobile enhancements for gallery modal */
@media (max-width: 768px) {
    .gallery-modal-content {
        max-width: 95vw;
        max-height: 95vh;
    }
    
    .gallery-modal-close {
        top: var(--nds-space-md);
        right: var(--nds-space-md);
        width: 35px;
        height: 35px;
    }
    
    .gallery-modal-nav {
        left: var(--nds-space-md);
        right: var(--nds-space-md);
    }
    
    .gallery-nav-btn {
        width: 40px;
        height: 40px;
    }
    
    .gallery-modal-info {
        padding: var(--nds-space-lg);
    }
    
    .gallery-modal-info h3 {
        font-size: 1.25rem;
    }
}

/* Scroll-triggered animations */
.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

section:not(.animate-in) [data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

/* ==================================================
   MODERN ACCOUNT DASHBOARD STYLES
   ================================================== */

.modern-account-dashboard {
    background: var(--nds-background-primary);
    min-height: 100vh;
    color: var(--nds-color-text-primary);
}

/* Hero/Welcome Header */
.account-hero {
    background: linear-gradient(135deg, var(--nds-primary-900) 0%, var(--nds-secondary-900) 100%);
    padding: var(--nds-space-4xl) 0;
    position: relative;
}

.account-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, var(--nds-primary-500)/0.1 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--nds-space-lg);
    position: relative;
}

.profile-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--nds-grey-700);
    padding: var(--nds-space-2xl);
    border-radius: var(--nds-border-radius-2xl);
    border: 1px solid var(--nds-grey-600);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.avatar-section {
    display: flex;
    align-items: center;
    gap: var(--nds-space-xl);
}

.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid var(--nds-primary-500);
    box-shadow: 0 8px 25px var(--nds-primary-500)/0.3;
}

.user-avatar-fallback {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--nds-primary-500), var(--nds-primary-600));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: 700;
    border: 4px solid var(--nds-primary-400);
    box-shadow: 0 8px 25px var(--nds-primary-500)/0.3;
}

.user-info {
    flex: 1;
}

.welcome-text {
    color: var(--nds-white);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    margin: 0 0 var(--nds-space-xs);
    line-height: 1.2;
}

.user-email {
    color: var(--nds-grey-300);
    font-size: 1.0625rem;
    margin: 0 0 var(--nds-space-sm);
}

.user-badge {
    display: inline-block;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: var(--nds-space-xs) var(--nds-space-md);
    border-radius: var(--nds-border-radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.profile-actions {
    display: flex;
    gap: var(--nds-space-md);
}

.btn-icon {
    display: flex;
    align-items: center;
    gap: var(--nds-space-sm);
    padding: var(--nds-space-md) var(--nds-space-lg);
    background: var(--nds-grey-600);
    color: var(--nds-grey-200);
    border: 1px solid var(--nds-grey-500);
    border-radius: var(--nds-border-radius-lg);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
}

.btn-icon:hover {
    background: var(--nds-primary-500);
    border-color: var(--nds-primary-400);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--nds-primary-500)/0.3;
}

.btn-icon.logout:hover {
    background: #ef4444;
    border-color: #dc2626;
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.3);
}

/* Quick Stats Cards */
.stats-section {
    padding: var(--nds-space-4xl) 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: var(--nds-space-lg);
    padding-right: var(--nds-space-lg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--nds-space-xl);
}

.stat-card {
    background: var(--nds-grey-700);
    padding: var(--nds-space-xl);
    border-radius: var(--nds-border-radius-xl);
    border: 1px solid var(--nds-grey-600);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--nds-primary-500), var(--nds-secondary-500));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card:hover {
    transform: translateY(-8px);
    border-color: var(--nds-primary-500);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--nds-border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--nds-space-lg);
}

.stat-icon.orders {
    background: linear-gradient(135deg, var(--nds-primary-500), var(--nds-primary-600));
    box-shadow: 0 8px 25px var(--nds-primary-500)/0.3;
}

.stat-icon.licenses {
    background: linear-gradient(135deg, var(--nds-secondary-500), var(--nds-secondary-600));
    box-shadow: 0 8px 25px var(--nds-secondary-500)/0.3;
}

.stat-icon.downloads {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.stat-icon.support {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
}

.stat-icon svg {
    color: white;
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: var(--nds-space-xs);
}

.stat-number {
    color: var(--nds-white);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    color: var(--nds-grey-300);
    font-size: 1.0625rem;
    font-weight: 500;
}

.stat-cta {
    color: var(--nds-primary-400);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    margin-top: var(--nds-space-sm);
    transition: color 0.2s ease;
}

.stat-cta:hover {
    color: var(--nds-primary-300);
}

/* Quick Actions Row */
.quick-actions-section {
    padding: 0 0 var(--nds-space-4xl);
    max-width: 1200px;
    margin: 0 auto;
    padding-left: var(--nds-space-lg);
    padding-right: var(--nds-space-lg);
}

.quick-actions-row {
    display: flex;
    gap: var(--nds-space-lg);
    overflow-x: auto;
    padding-bottom: var(--nds-space-sm);
}

.quick-action-btn {
    display: flex;
    align-items: center;
    gap: var(--nds-space-sm);
    padding: var(--nds-space-md) var(--nds-space-lg);
    background: var(--nds-grey-600);
    color: var(--nds-grey-200);
    border: 1px solid var(--nds-grey-500);
    border-radius: var(--nds-border-radius-full);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    white-space: nowrap;
    transition: all 0.2s ease;
    min-height: 44px;
}

.quick-action-btn:hover {
    background: var(--nds-primary-500);
    border-color: var(--nds-primary-400);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--nds-primary-500)/0.3;
}

/* Recent Activity Feed */
.activity-section {
    padding: 0 0 var(--nds-space-4xl);
    max-width: 1200px;
    margin: 0 auto;
    padding-left: var(--nds-space-lg);
    padding-right: var(--nds-space-lg);
}

.section-title {
    color: var(--nds-white);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: var(--nds-space-xl);
    text-align: left;
}

.activity-feed {
    display: flex;
    flex-direction: column;
    gap: var(--nds-space-lg);
}

.activity-item {
    display: flex;
    align-items: center;
    gap: var(--nds-space-lg);
    background: var(--nds-grey-700);
    padding: var(--nds-space-lg);
    border-radius: var(--nds-border-radius-lg);
    border: 1px solid var(--nds-grey-600);
    transition: all 0.3s ease;
}

.activity-item:hover {
    border-color: var(--nds-primary-500);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.activity-icon.completed {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.activity-icon.download {
    background: linear-gradient(135deg, var(--nds-primary-500), var(--nds-primary-600));
    box-shadow: 0 4px 15px var(--nds-primary-500)/0.3;
}

.activity-icon.warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.activity-icon svg {
    color: white;
}

.activity-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--nds-space-lg);
}

.activity-text {
    display: flex;
    flex-direction: column;
    gap: var(--nds-space-xs);
}

.activity-text strong {
    color: var(--nds-white);
    font-weight: 600;
}

.activity-time {
    color: var(--nds-grey-400);
    font-size: 0.875rem;
}

.activity-tag {
    padding: var(--nds-space-xs) var(--nds-space-sm);
    border-radius: var(--nds-border-radius-md);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.activity-tag.completed {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.3);
}

.activity-tag.download {
    background: rgba(88, 101, 242, 0.2);
    color: var(--nds-primary-300);
    border: 1px solid var(--nds-primary-500)/0.3;
}

.activity-tag.warning {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.activity-cta {
    color: var(--nds-primary-400);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    padding: var(--nds-space-sm) var(--nds-space-md);
    border: 1px solid var(--nds-primary-500)/0.3;
    border-radius: var(--nds-border-radius-md);
    transition: all 0.2s ease;
}

.activity-cta:hover {
    background: var(--nds-primary-500);
    color: white;
}

/* Featured / Recommendations Section */
.featured-section {
    padding: 0 0 var(--nds-space-4xl);
    max-width: 1200px;
    margin: 0 auto;
    padding-left: var(--nds-space-lg);
    padding-right: var(--nds-space-lg);
}

.featured-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--nds-space-xl);
}

.featured-card {
    background: var(--nds-grey-700);
    border-radius: var(--nds-border-radius-xl);
    border: 1px solid var(--nds-grey-600);
    overflow: hidden;
    transition: all 0.3s ease;
}

.featured-card:hover {
    transform: translateY(-4px);
    border-color: var(--nds-primary-500);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Promo Card */
.featured-card.promo {
    padding: var(--nds-space-2xl);
    text-align: center;
    background: linear-gradient(135deg, var(--nds-primary-900), var(--nds-secondary-900));
    position: relative;
}

.featured-card.promo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, var(--nds-primary-500)/0.1 0%, transparent 70%);
}

.promo-icon {
    margin: 0 auto var(--nds-space-lg);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--nds-primary-500), var(--nds-primary-600));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px var(--nds-primary-500)/0.4;
    position: relative;
}

.promo-icon svg {
    color: white;
}

.promo-content h3 {
    color: var(--nds-white);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--nds-space-md);
}

.promo-content p {
    color: var(--nds-grey-300);
    margin-bottom: var(--nds-space-xl);
    line-height: 1.5;
}

.promo-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--nds-space-sm);
    padding: var(--nds-space-md) var(--nds-space-xl);
    background: var(--nds-primary-500);
    color: white;
    text-decoration: none;
    border-radius: var(--nds-border-radius-lg);
    font-weight: 600;
    transition: all 0.2s ease;
}

.promo-cta:hover {
    background: var(--nds-primary-600);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--nds-primary-500)/0.4;
}

/* Product Card */
.featured-card.product {
    display: flex;
    flex-direction: column;
}

.product-image,
.blog-image {
    height: 150px;
    background: var(--nds-grey-600);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-image {
    color: var(--nds-grey-400);
}

.product-content,
.blog-content {
    padding: var(--nds-space-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: var(--nds-space-xs) var(--nds-space-sm);
    border-radius: var(--nds-border-radius-md);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--nds-space-sm);
    align-self: flex-start;
}

.product-content h3,
.blog-content h3 {
    color: var(--nds-white);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--nds-space-xs);
}

.product-content p,
.blog-content p {
    color: var(--nds-grey-300);
    font-size: 0.875rem;
    margin-bottom: var(--nds-space-md);
    line-height: 1.5;
}

.product-price {
    color: var(--nds-primary-400);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--nds-space-lg);
}

.product-cta,
.blog-cta {
    color: var(--nds-primary-400);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: color 0.2s ease;
    margin-top: auto;
}

.product-cta:hover,
.blog-cta:hover {
    color: var(--nds-primary-300);
}

/* Danger Zone */
.danger-section {
    padding: 0 0 var(--nds-space-4xl);
    max-width: 1200px;
    margin: 0 auto;
    padding-left: var(--nds-space-lg);
    padding-right: var(--nds-space-lg);
}

.danger-card {
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--nds-border-radius-xl);
    padding: var(--nds-space-2xl);
    display: flex;
    align-items: center;
    gap: var(--nds-space-xl);
    transition: all 0.3s ease;
}

.danger-card:hover {
    border-color: #ef4444;
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.2);
}

.danger-icon {
    width: 64px;
    height: 64px;
    background: #ef4444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.3);
}

.danger-icon svg {
    color: white;
}

.danger-content {
    flex: 1;
}

.danger-content h3 {
    color: #ef4444;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--nds-space-sm);
}

.danger-content p {
    color: var(--nds-grey-300);
    line-height: 1.5;
}

.danger-btn {
    padding: var(--nds-space-md) var(--nds-space-xl);
    background: #ef4444;
    color: white;
    border: none;
    border-radius: var(--nds-border-radius-lg);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.danger-btn:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

/* Delete Account Modal */
.delete-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: var(--nds-space-lg);
}

.modal-content {
    background: var(--nds-grey-700);
    border-radius: var(--nds-border-radius-2xl);
    border: 1px solid var(--nds-grey-600);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.modal-header {
    padding: var(--nds-space-2xl) var(--nds-space-2xl) var(--nds-space-lg);
    text-align: center;
    border-bottom: 1px solid var(--nds-grey-600);
}

.warning-icon {
    margin: 0 auto var(--nds-space-lg);
    width: 80px;
    height: 80px;
    background: #ef4444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

.warning-icon svg {
    color: white;
}

.modal-header h3 {
    color: var(--nds-white);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.modal-body {
    padding: var(--nds-space-xl) var(--nds-space-2xl);
}

.modal-body p {
    color: var(--nds-grey-300);
    line-height: 1.6;
    margin-bottom: var(--nds-space-lg);
}

.modal-body ul {
    color: var(--nds-grey-300);
    margin-bottom: var(--nds-space-lg);
    padding-left: var(--nds-space-lg);
}

.modal-body li {
    margin-bottom: var(--nds-space-sm);
}

.modal-actions {
    padding: var(--nds-space-lg) var(--nds-space-2xl) var(--nds-space-2xl);
    display: flex;
    gap: var(--nds-space-md);
    justify-content: flex-end;
}

.btn-secondary {
    padding: var(--nds-space-md) var(--nds-space-xl);
    background: var(--nds-grey-600);
    color: var(--nds-grey-200);
    border: 1px solid var(--nds-grey-500);
    border-radius: var(--nds-border-radius-lg);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: var(--nds-grey-500);
    color: var(--nds-white);
}

.btn-danger {
    padding: var(--nds-space-md) var(--nds-space-xl);
    background: #ef4444;
    color: white;
    border: none;
    border-radius: var(--nds-border-radius-lg);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-danger:hover {
    background: #dc2626;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .account-hero {
        padding: var(--nds-space-2xl) 0;
    }
    
    .profile-card {
        flex-direction: column;
        gap: var(--nds-space-xl);
        padding: var(--nds-space-xl);
        text-align: center;
    }
    
    .avatar-section {
        flex-direction: column;
        gap: var(--nds-space-lg);
        text-align: center;
    }
    
    .profile-actions {
        width: 100%;
        justify-content: center;
    }
    
    .btn-icon {
        flex: 1;
        justify-content: center;
        min-height: 44px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--nds-space-lg);
    }
    
    .quick-actions-row {
        gap: var(--nds-space-md);
        padding-bottom: var(--nds-space-md);
    }
    
    .quick-action-btn {
        min-width: 140px;
    }
    
    .activity-item {
        flex-direction: column;
        gap: var(--nds-space-md);
        text-align: center;
    }
    
    .activity-content {
        flex-direction: column;
        gap: var(--nds-space-sm);
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
        gap: var(--nds-space-lg);
    }
    
    .danger-card {
        flex-direction: column;
        gap: var(--nds-space-lg);
        text-align: center;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .btn-secondary,
    .btn-danger {
        width: 100%;
    }
    
    /* Mobile section spacing */
    .stats-section,
    .activity-section,
    .featured-section,
    .danger-section {
        padding-left: var(--nds-space-md);
        padding-right: var(--nds-space-md);
    }
}

/* Additional Account Section Styles */

/* Account Section Headers */
.account-section-header {
    margin-bottom: 2rem;
}

.account-section-header h2 {
    font-size: 2rem;
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
}

.account-section-header p {
    color: var(--text-secondary);
    margin: 0;
}

/* Orders Styles */
.orders-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.order-card {
    background: rgba(var(--card-bg-rgb), 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.order-card:hover {
    background: rgba(var(--card-bg-rgb), 0.6);
    border-color: rgba(255, 255, 255, 0.2);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.5rem 0;
}

.order-number {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    color: var(--text-primary);
}

.order-date {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.order-status {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.order-status.status-completed { background: var(--success); color: white; }
.order-status.status-processing { background: var(--warning); color: white; }
.order-status.status-on-hold { background: var(--info); color: white; }
.order-status.status-cancelled { background: var(--danger); color: white; }

.order-body {
    padding: 1rem 1.5rem;
}

.order-items {
    margin-bottom: 1rem;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.order-item:last-child {
    border-bottom: none;
}

.item-name {
    color: var(--text-primary);
    font-weight: 500;
}

.item-qty {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 600;
}

.total-label {
    color: var(--text-secondary);
}

.total-amount {
    color: var(--primary);
    font-size: 1.1rem;
}

.order-actions {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    gap: 1rem;
}

.order-actions .btn {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.order-actions .btn-view {
    background: var(--primary);
    color: white;
}

.order-actions .btn-view:hover {
    background: var(--accent);
}

.no-orders {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

.no-orders-icon {
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.no-orders h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

/* Downloads Styles */
.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.download-card {
    background: rgba(var(--card-bg-rgb), 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.2s ease;
}

.download-card:hover {
    background: rgba(var(--card-bg-rgb), 0.6);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.download-icon {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background: var(--success);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 1rem;
}

.download-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    color: var(--text-primary);
}

.download-expires, .downloads-remaining {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.expires-label, .remaining-label {
    color: var(--text-secondary);
}

.expires-date, .remaining-count {
    color: var(--text-primary);
    font-weight: 500;
}

.download-actions {
    margin-top: 1.5rem;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem;
    background: var(--success);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.2s ease;
}

.download-btn:hover {
    background: #059862;
}

.no-downloads {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

.no-downloads-icon {
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.no-downloads h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

/* Licenses Styles */
.licenses-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.license-card {
    background: rgba(var(--card-bg-rgb), 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.2s ease;
}

.license-card:hover {
    background: rgba(var(--card-bg-rgb), 0.6);
    border-color: rgba(255, 255, 255, 0.2);
}

.license-card.status-expired {
    border-color: rgba(220, 53, 69, 0.3);
    background: rgba(220, 53, 69, 0.05);
}

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

.license-product {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    color: var(--text-primary);
}

.license-id {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-family: 'Monaco', 'Menlo', monospace;
}

.license-status {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.license-status.status-active { background: var(--success); color: white; }
.license-status.status-expired { background: #dc3545; color: white; }
.license-status.status-expiring { background: var(--warning); color: white; }

.license-details {
    margin-bottom: 1.5rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.detail-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.detail-value {
    color: var(--text-primary);
    font-weight: 500;
}

.sites-progress {
    margin-top: 1rem;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--success);
    transition: width 0.3s ease;
}

.license-actions {
    display: flex;
    gap: 1rem;
}

.no-licenses {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

.no-licenses-icon {
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.no-licenses h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

/* Support Styles */
.support-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.support-tickets h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.tickets-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.ticket-card {
    background: rgba(var(--card-bg-rgb), 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.2s ease;
}

.ticket-card:hover {
    background: rgba(var(--card-bg-rgb), 0.6);
    border-color: rgba(255, 255, 255, 0.2);
}

.ticket-card.status-open {
    border-left: 4px solid var(--primary);
}

.ticket-card.status-waiting {
    border-left: 4px solid var(--warning);
}

.ticket-card.status-resolved {
    border-left: 4px solid var(--success);
}

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

.ticket-id {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    color: var(--primary);
    font-family: 'Monaco', 'Menlo', monospace;
}

.ticket-subject {
    color: var(--text-primary);
    font-weight: 500;
}

.ticket-badges {
    display: flex;
    gap: 0.5rem;
    flex-direction: column;
    align-items: flex-end;
}

.ticket-status {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.ticket-status.status-open { background: var(--primary); color: white; }
.ticket-status.status-waiting { background: var(--warning); color: white; }
.ticket-status.status-resolved { background: var(--success); color: white; }

.ticket-priority {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.ticket-priority.priority-high { background: #dc3545; color: white; }
.ticket-priority.priority-medium { background: var(--warning); color: white; }
.ticket-priority.priority-low { background: var(--info); color: white; }

.ticket-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.meta-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-weight: 600;
}

.meta-value {
    color: var(--text-primary);
    font-weight: 500;
}

.ticket-actions {
    display: flex;
    gap: 1rem;
}

.no-tickets {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

.no-tickets-icon {
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.no-tickets h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.support-resources {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.support-resources h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

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

.resource-card {
    background: rgba(var(--card-bg-rgb), 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.2s ease;
}

.resource-card:hover {
    background: rgba(var(--card-bg-rgb), 0.6);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.resource-icon {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 auto 1rem;
}

.resource-card h4 {
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
}

.resource-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* Mobile Responsive for Account Pages */
@media (max-width: 768px) {
    .order-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .order-actions {
        flex-wrap: wrap;
    }

    .downloads-grid {
        grid-template-columns: 1fr;
    }

    .license-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .license-actions {
        flex-wrap: wrap;
    }

    .ticket-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .ticket-badges {
        flex-direction: row;
        align-items: flex-start;
    }

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

    .support-actions .btn {
        text-align: center;
    }

    .resources-grid {
        grid-template-columns: 1fr;
    }
}
