/* ============================================
   LB DEVELOPMENT — Gmod Script Store
   Light Clean Design System (LB Sites Style)
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Poppins:wght@300;400;500;600;700&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Backgrounds */
  --bg-deep: #F3F5F7;
  --bg-base: #F3F5F7;
  --bg-surface: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FAFBFC;

  /* Accent Colors */
  --accent-primary: #7F5BFF;
  --accent-secondary: #7F5BFF;
  --accent-tertiary: #a78bfa;
  --gradient-cta: linear-gradient(135deg, #7F5BFF 0%, #a78bfa 100%);
  --gradient-hero: linear-gradient(160deg, #F3F5F7 0%, #EAE7F3 40%, #F3F5F7 100%);
  --gradient-glow: radial-gradient(ellipse at 50% 0%, rgba(127, 91, 255, 0.08) 0%, transparent 70%);

  /* Text */
  --text-primary: #45434D;
  --text-secondary: #6b7280;
  --text-muted: #9ca3af;
  --text-bright: #18171A;

  /* Borders */
  --border-subtle: #e5e7eb;
  --border-accent: rgba(127, 91, 255, 0.3);

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-card: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-card-hover: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 4px 20px rgba(127, 91, 255, 0.15);
  --shadow-glow-strong: 0 4px 30px rgba(127, 91, 255, 0.25);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Container */
  --container-max: 1280px;
  --container-padding: 1.5rem;
}

/* --- Dark Theme Override --- */
[data-theme="dark"] {
  --bg-deep: #0f0f13;
  --bg-base: #0f0f13;
  --bg-surface: #1a1a24;
  --bg-card: #1a1a24;
  --bg-card-hover: #22222e;
  --accent-primary: #9b7dff;
  --accent-secondary: #9b7dff;
  --accent-tertiary: #b8a0ff;
  --gradient-cta: linear-gradient(135deg, #9b7dff 0%, #b8a0ff 100%);
  --gradient-hero: linear-gradient(160deg, #0f0f13 0%, #171520 40%, #0f0f13 100%);
  --gradient-glow: radial-gradient(ellipse at 50% 0%, rgba(155, 125, 255, 0.12) 0%, transparent 70%);
  --text-primary: #c8c5d0;
  --text-secondary: #8e8a9a;
  --text-muted: #5f5b6b;
  --text-bright: #f0eef5;
  --border-subtle: #2a2a38;
  --border-accent: rgba(155, 125, 255, 0.35);
  --shadow-card: 0 4px 6px rgba(0, 0, 0, 0.3);
  --shadow-card-hover: 0 10px 20px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 4px 20px rgba(155, 125, 255, 0.2);
  --shadow-glow-strong: 0 4px 30px rgba(155, 125, 255, 0.3);
  color-scheme: dark;
}

/* Dark theme — hardcoded color overrides */
[data-theme="dark"] .navbar.scrolled {
  background: rgba(15, 15, 19, 0.85);
  border-bottom-color: #2a2a38;
}

[data-theme="dark"] .hero-badge {
  background: #1a1a24;
  border-color: #2a2a38;
}

[data-theme="dark"] .nav-logo .accent {
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: #FFFFFF;
  background-clip: unset;
}

[data-theme="dark"] .nav-logo {
  color: #FFFFFF;
}

/* Nav logo images */
.nav-logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.nav-logo-dark {
  display: none;
}

[data-theme="dark"] .nav-logo-light {
  display: none;
}

[data-theme="dark"] .nav-logo-dark {
  display: block;
}

/* Footer logo */
.footer-logo-img {
  height: 36px;
  width: auto;
}

[data-theme="dark"] .hero-bg::after {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

[data-theme="dark"] .products {
  background: #1a1a24;
}

[data-theme="dark"] .product-card {
  border-color: #2a2a38;
}

[data-theme="dark"] .product-card-image {
  background: #14141c;
}

[data-theme="dark"] .features {
  background: #14141c;
}

[data-theme="dark"] .feature-card {
  background: #1a1a24;
  border-color: #2a2a38;
}

[data-theme="dark"] .feature-card:hover {
  background: #22222e;
}

[data-theme="dark"] .feature-icon {
  background: rgba(155, 125, 255, 0.12);
}

[data-theme="dark"] .faq {
  background: #1a1a24;
}

[data-theme="dark"] .faq-item {
  background: #1a1a24;
}

[data-theme="dark"] .modal {
  background: #1a1a24;
  border-color: #2a2a38;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .modal-close {
  background: #22222e;
}

[data-theme="dark"] .modal-close:hover {
  background: #2a2a38;
}

[data-theme="dark"] .modal-image {
  background: #14141c;
}

[data-theme="dark"] .cart-panel {
  background: #1a1a24;
}

[data-theme="dark"] .cart-item {
  background: #14141c;
}

[data-theme="dark"] .cart-item-image {
  background: #22222e;
}

[data-theme="dark"] .toast {
  background: #1a1a24;
}



[data-theme="dark"] .footer {
  background: #0a0a0e;
}

[data-theme="dark"] ::-webkit-scrollbar-track {
  background: #14141c;
}

[data-theme="dark"] ::-webkit-scrollbar-thumb {
  background: #3a3a4a;
}

/* --- Theme Toggle Button --- */
.theme-toggle {
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  color: var(--text-primary);
}

.theme-toggle:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  position: absolute;
}

.theme-toggle .icon-sun {
  opacity: 0;
  transform: rotate(-90deg) scale(0);
}

.theme-toggle .icon-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

[data-theme="dark"] .theme-toggle .icon-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

[data-theme="dark"] .theme-toggle .icon-moon {
  opacity: 0;
  transform: rotate(90deg) scale(0);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  border: none;
  cursor: pointer;
  background: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

ul,
ol {
  list-style: none;
}

/* --- Utility --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-bright);
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.section-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: var(--space-md);
  display: block;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: var(--space-lg);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: var(--space-3xl);
}

.gradient-text {
  background: var(--gradient-cta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-base);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-primary);
  color: #FFFFFF;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-primary:hover {
  opacity: 0.9;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: transparent;
  color: var(--text-bright);
  border: 2px solid var(--text-bright);
}

.btn-secondary:hover {
  background: var(--text-bright);
  color: #FFFFFF;
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}

.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-base);
}

.btn-icon:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
}

/* CTA Pulse Animation */
@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  }

  50% {
    box-shadow: 0 4px 20px rgba(127, 91, 255, 0.35), 0 0 40px rgba(127, 91, 255, 0.1);
  }
}

.btn-pulse {
  animation: pulse-glow 3s ease-in-out infinite;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition-base);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #f3f4f6;
  padding: 0.75rem 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav-logo {
  font-family: 'Anton', sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-bright);
}

.nav-logo .accent {
  background: var(--gradient-cta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: var(--accent-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  transition: width var(--transition-base);
  border-radius: var(--radius-full);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.cart-btn {
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
}

.cart-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
}

.cart-btn svg {
  width: 20px;
  height: 20px;
  color: var(--text-primary);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  background: var(--accent-primary);
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  opacity: 0;
  transform: scale(0);
  transition: all var(--transition-fast);
}

.cart-badge.show {
  opacity: 1;
  transform: scale(1);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-4xl) var(--container-padding);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(circle at 30% 20%, rgba(127, 91, 255, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(167, 139, 250, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(234, 231, 243, 0.3) 0%, transparent 50%);
  animation: hero-drift 20s ease-in-out infinite alternate;
}

@keyframes hero-drift {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  100% {
    transform: translate(-3%, -3%) rotate(3deg);
  }
}

/* Grid pattern overlay */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.4rem 1rem;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--accent-primary);
  margin-bottom: var(--space-xl);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: var(--radius-full);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

.hero-title {
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  font-weight: 400;
  margin-bottom: var(--space-lg);
  letter-spacing: 0.025em;
  line-height: 1.1;
  color: var(--text-bright);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 550px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  margin-top: var(--space-4xl);
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: var(--space-xl) 0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid #f3f4f6;
}

.hero-stat {
  text-align: center;
  padding: var(--space-sm) var(--space-3xl);
  position: relative;
}

.hero-stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background: #e5e7eb;
}

.hero-stat-value {
  font-family: 'Anton', sans-serif;
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--accent-primary);
  margin-bottom: var(--space-xs);
  text-transform: uppercase;
}

.hero-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(-8px);
  }
}

.scroll-indicator .chevron {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.products {
  padding: var(--space-4xl) 0;
  position: relative;
  background: #FFFFFF;
}

.products::before {
  display: none;
}

.products-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-2xl);
}

/* Product Card */
.product-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid #f3f4f6;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  cursor: pointer;
  box-shadow: var(--shadow-card);
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-card-hover);
  background: var(--bg-card-hover);
}

.product-card-image {
  position: relative;
  width: 100%;
  height: 200px;
  background: #f9fafb;
  overflow: hidden;
}

.product-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(255, 255, 255, 0.15) 100%);
  pointer-events: none;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-card-image img {
  transform: scale(1.05);
}

.product-card-image .product-tag {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  padding: 0.3rem 0.75rem;
  background: var(--accent-primary);
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #FFFFFF;
}

.product-card-body {
  padding: var(--space-lg);
}

.product-card-title {
  font-family: 'Anton', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: var(--space-sm);
  color: var(--text-bright);
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.product-card-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-price {
  font-family: 'Anton', sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--accent-primary);
}

.product-card-footer .btn {
  font-size: 0.8rem;
  padding: 0.5rem 1.2rem;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
  padding: var(--space-4xl) 0;
  position: relative;
  background: #f9fafb;
}

.features-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
  max-width: 960px;
  margin: 0 auto;
}

.feature-card {
  padding: var(--space-2xl);
  background: #FFFFFF;
  border: 1px solid #f3f4f6;
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-card);
}

.feature-card:hover {
  border-color: var(--border-accent);
  background: #FFFFFF;
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  background: rgba(127, 91, 255, 0.08);
  margin-bottom: var(--space-lg);
  color: var(--accent-primary);
  transition: all var(--transition-base);
}

.feature-card:hover .feature-icon {
  background: var(--accent-primary);
  color: #FFFFFF;
  transform: scale(1.05);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq {
  padding: var(--space-4xl) 0;
  position: relative;
  background: #FFFFFF;
}

.faq::before {
  display: none;
}

.faq-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.faq-item.open {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glow);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) var(--space-xl);
  cursor: pointer;
  gap: var(--space-md);
  width: 100%;
  text-align: left;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.faq-question:hover {
  color: var(--text-bright);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform var(--transition-base);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.faq-answer-inner {
  padding: 0 var(--space-xl) var(--space-lg);
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: var(--space-4xl) 0 var(--space-xl);
  background: #18171A;
  color: #FFFFFF;
  margin-top: 0;
  border-top: none;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.footer-brand {
  font-family: 'Anton', sans-serif;
  font-size: 1.3rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer-brand .accent {
  color: var(--accent-primary);
}

.footer-links {
  display: flex;
  gap: var(--space-xl);
}

.footer-link {
  font-size: 0.85rem;
  color: #d1d5db;
  transition: color var(--transition-fast);
  position: relative;
}

.footer-link:hover {
  color: #FFFFFF;
}

.footer-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-primary);
  transition: width var(--transition-base);
}

.footer-link:hover::after {
  width: 100%;
}

.footer-copy {
  width: 100%;
  text-align: center;
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: #6b7280;
}

/* ============================================
   PRODUCT MODAL
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: #FFFFFF;
  border: 1px solid #f3f4f6;
  border-radius: var(--radius-xl);
  max-width: 700px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  transform: scale(0.95) translateY(10px);
  transition: transform var(--transition-base);
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.modal-overlay.active .modal {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f9fafb;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 1;
  color: var(--text-primary);
}

.modal-close:hover {
  background: #f3f4f6;
  border-color: var(--border-accent);
}

.modal-image {
  width: 100%;
  height: 280px;
  background: #f3f4f6;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  overflow: hidden;
}

.modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-body {
  padding: var(--space-2xl);
}

.modal-tag {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  background: rgba(127, 91, 255, 0.1);
  border: 1px solid rgba(127, 91, 255, 0.2);
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-primary);
  margin-bottom: var(--space-md);
}

.modal-title {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
}

.modal-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

.modal-features {
  margin-bottom: var(--space-xl);
}

.modal-features h4 {
  font-size: 0.85rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  text-transform: none;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.modal-features ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.modal-features li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.modal-features li svg {
  width: 16px;
  height: 16px;
  color: #22c55e;
  flex-shrink: 0;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-subtle);
}

.modal-price {
  font-family: 'Anton', sans-serif;
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--accent-primary);
}

/* ============================================
   CART PANEL
   ============================================ */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 420px;
  max-width: 100%;
  background: #FFFFFF;
  border-left: 1px solid var(--border-subtle);
  z-index: 3001;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition-base);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
}

.cart-panel.active {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-xl);
  border-bottom: 1px solid var(--border-subtle);
}

.cart-header h3 {
  font-size: 1.1rem;
}

.cart-count {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-lg);
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: var(--space-md);
  color: var(--text-muted);
  text-align: center;
}

.cart-empty svg {
  width: 48px;
  height: 48px;
  opacity: 0.3;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: #f9fafb;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}

.cart-item-image {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: #f3f4f6;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-bright);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-price {
  font-size: 0.8rem;
  color: var(--accent-primary);
  font-weight: 600;
}

.cart-item-remove {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.cart-item-remove:hover {
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.2);
  background: rgba(239, 68, 68, 0.05);
}

.cart-footer {
  padding: var(--space-xl);
  border-top: 1px solid var(--border-subtle);
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
}

.cart-total-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.cart-total-value {
  font-family: 'Anton', sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-bright);
  text-transform: uppercase;
}

.cart-checkout-btn {
  width: 100%;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 {
  transition-delay: 100ms;
}

.fade-in-delay-2 {
  transition-delay: 200ms;
}

.fade-in-delay-3 {
  transition-delay: 300ms;
}

.fade-in-delay-4 {
  transition-delay: 400ms;
}

.fade-in-delay-5 {
  transition-delay: 500ms;
}

.fade-in-delay-6 {
  transition-delay: 600ms;
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
.toast-container {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  z-index: 5000;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.toast {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  font-size: 0.875rem;
  color: var(--text-primary);
  transform: translateX(120%);
  transition: transform var(--transition-base);
  min-width: 280px;
}

.toast.show {
  transform: translateX(0);
}

.toast svg {
  width: 20px;
  height: 20px;
  color: #22c55e;
  flex-shrink: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: 1rem;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-2xl);
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

  [data-theme="dark"] .nav-links {
    background: rgba(15, 15, 19, 0.98);
  }

  .nav-link {
    font-size: 1.25rem;
    color: var(--text-bright);
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .hero-title {
    font-size: clamp(1.75rem, 6vw, 3rem);
  }

  .hero-stats {
    flex-direction: column;
    gap: 0;
    padding: var(--space-lg) var(--space-xl);
  }

  .hero-stat {
    padding: var(--space-md) 0;
  }

  .hero-stat:not(:last-child)::after {
    width: 60%;
    height: 1px;
    right: auto;
    left: 20%;
    top: auto;
    bottom: 0;
    transform: none;
  }

  .hero-stat-value {
    font-size: 1.3rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .modal {
    max-height: 90vh;
    margin: var(--space-md);
  }

  .modal-features ul {
    grid-template-columns: 1fr;
  }

  .cart-panel {
    width: 100%;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .toast-container {
    left: var(--space-md);
    right: var(--space-md);
    bottom: var(--space-md);
  }

  .toast {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats {
    flex-direction: column;
    gap: var(--space-lg);
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* --- Scrollbar Styling --- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #f3f4f6;
}

::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-primary);
}

/* ============================================
   AUTH BUTTON & DROPDOWN
   ============================================ */
.auth-nav {
  position: relative;
}

.auth-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.5rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
}

.auth-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.auth-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
}

.auth-nav.logged-in .auth-btn {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: #fff;
}

.auth-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 220px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card-hover);
  padding: var(--space-sm);
  display: none;
  z-index: 1001;
  flex-direction: column;
  gap: 2px;
}

.auth-dropdown.show {
  display: flex;
}

.auth-dropdown-email {
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: var(--space-sm) var(--space-md);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: var(--space-xs);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth-dropdown-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  cursor: pointer;
  width: 100%;
  text-align: left;
  border: none;
  background: none;
}

.auth-dropdown-item:hover {
  background: var(--bg-card-hover);
  color: var(--accent-primary);
}

/* ============================================
   AUTH MODAL
   ============================================ */
.auth-modal {
  max-width: 420px;
  width: 90%;
  padding: var(--space-2xl);
}

.auth-tabs {
  display: flex;
  gap: var(--space-xs);
  margin-bottom: var(--space-xl);
  background: var(--bg-deep);
  border-radius: var(--radius-md);
  padding: 3px;
}

.auth-tab {
  flex: 1;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  cursor: pointer;
  background: transparent;
  border: none;
}

.auth-tab.active {
  background: var(--bg-card);
  color: var(--accent-primary);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.auth-tab:hover:not(.active) {
  color: var(--text-primary);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.auth-form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.auth-form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.auth-form-group input {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-family: inherit;
  background: var(--bg-deep);
  color: var(--text-primary);
  transition: all var(--transition-fast);
  outline: none;
}

.auth-form-group input:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(127, 91, 255, 0.1);
}

.auth-form-group input::placeholder {
  color: var(--text-muted);
}

.auth-error {
  font-size: 0.8rem;
  color: #ef4444;
  min-height: 0;
  transition: all var(--transition-fast);
}

.auth-error:not(:empty) {
  padding: 0.5rem 0.75rem;
  background: rgba(239, 68, 68, 0.08);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(239, 68, 68, 0.15);
}

.auth-submit {
  width: 100%;
  margin-top: var(--space-sm);
}

/* ============================================
   SOCIAL LOGIN BUTTONS
   ============================================ */
.auth-social {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: var(--space-md);
}

.auth-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-base);
  border: 1px solid transparent;
}

.auth-social-btn svg {
  flex-shrink: 0;
}

.auth-social-steam {
  background: #171a21;
  color: #fff;
  border-color: #2a475e;
}

.auth-social-steam:hover {
  background: #2a475e;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(23, 26, 33, 0.3);
}

.auth-social-discord {
  background: #5865F2;
  color: #fff;
}

.auth-social-discord:hover {
  background: #4752c4;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(88, 101, 242, 0.35);
}

.auth-social-google {
  background: #fff;
  color: #3c4043;
  border-color: #dadce0;
}

.auth-social-google:hover {
  background: #f8f9fa;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .auth-social-google {
  background: #2d2d2d;
  color: #e8eaed;
  border-color: #5f6368;
}

[data-theme="dark"] .auth-social-google:hover {
  background: #3c3c3c;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-subtle);
}

/* ============================================
   DASHBOARD PAGE
   ============================================ */
.dashboard-page {
  padding-top: 120px;
  padding-bottom: var(--space-4xl);
  min-height: 100vh;
  background: var(--bg-deep);
}

.dash-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-xl);
  margin-bottom: var(--space-3xl);
  flex-wrap: wrap;
}

.dash-header .section-subtitle {
  margin-bottom: 0;
}

.dash-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  padding: var(--space-4xl);
  color: var(--text-secondary);
}

.dash-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border-subtle);
  border-top-color: var(--accent-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.dash-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  padding: var(--space-4xl);
  text-align: center;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
}

.dash-empty svg {
  opacity: 0.4;
}

.dash-empty h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-bright);
}

.dash-empty p {
  font-size: 0.9rem;
  max-width: 400px;
}

.dash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: var(--space-xl);
}

/* ============================================
   LICENSE CARDS
   ============================================ */
.license-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  transition: all var(--transition-base);
}

.license-card:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-accent);
}

.license-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-md);
}

.license-card-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-bright);
  line-height: 1.3;
}

.license-card-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
  display: block;
}

.license-status {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.license-status-active {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.license-status-inactive {
  background: rgba(234, 179, 8, 0.1);
  color: #eab308;
  border: 1px solid rgba(234, 179, 8, 0.2);
}

.license-key-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.license-key-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.license-key-row {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.6rem 0.75rem;
}

.license-key-value {
  flex: 1;
  font-size: 0.8rem;
  font-family: 'Courier New', monospace;
  color: var(--accent-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  user-select: all;
}

.copy-key-btn {
  width: 32px !important;
  height: 32px !important;
  flex-shrink: 0;
  border: none !important;
}

.license-server-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding: var(--space-md);
  background: rgba(34, 197, 94, 0.05);
  border: 1px solid rgba(34, 197, 94, 0.15);
  border-radius: var(--radius-md);
}

.license-server-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #22c55e;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.license-server-ip {
  font-size: 0.85rem;
  font-family: 'Courier New', monospace;
  color: var(--text-bright);
}

.license-server-hostname {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.license-activate-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.license-activate-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.license-activate-row {
  display: flex;
  gap: var(--space-sm);
}

.license-ip-input {
  flex: 1;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-family: inherit;
  background: var(--bg-deep);
  color: var(--text-primary);
  outline: none;
  transition: all var(--transition-fast);
}

.license-ip-input:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(127, 91, 255, 0.1);
}

.license-ip-input::placeholder {
  color: var(--text-muted);
}

/* Dark theme additions */
[data-theme="dark"] .auth-dropdown {
  background: #1a1a24;
  border-color: #2a2a38;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .auth-tabs {
  background: #14141c;
}

[data-theme="dark"] .auth-tab.active {
  background: #1a1a24;
}

[data-theme="dark"] .auth-form-group input {
  background: #14141c;
  border-color: #2a2a38;
}

[data-theme="dark"] .license-card {
  background: #1a1a24;
  border-color: #2a2a38;
}

[data-theme="dark"] .license-key-row {
  background: #14141c;
  border-color: #2a2a38;
}

[data-theme="dark"] .license-ip-input {
  background: #14141c;
  border-color: #2a2a38;
}

[data-theme="dark"] .dash-empty {
  background: #1a1a24;
  border-color: #2a2a38;
}

/* ============================================
   RESPONSIVE — AUTH & DASHBOARD
   ============================================ */
@media (max-width: 768px) {
  .auth-btn .auth-btn-text {
    display: none;
  }

  .auth-btn {
    width: 44px;
    height: 44px;
    padding: 0;
    justify-content: center;
  }

  .dash-header {
    flex-direction: column;
    gap: var(--space-md);
  }

  .dash-grid {
    grid-template-columns: 1fr;
  }

  .license-activate-row {
    flex-direction: column;
  }
}