/* ==========================================================================
   Omnixie Brand Design System
   "the Light Never Fades"
   ========================================================================== */

/* Font Loading */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

/* ==========================================================================
   1. Design Tokens
   ========================================================================== */

:root {
  /* --- Brand Identity --- */
  --brand-nixie: #E8A04C;
  --brand-blue: #15B4F0;
  --brand-dark: #0F1419;
  --brand-charcoal: #1A1F2E;

  /* --- Blue Scale --- */
  --blue-50: #EBF8FF;
  --blue-100: #D1EFFF;
  --blue-200: #A3DFFF;
  --blue-300: #6ECBFF;
  --blue-400: #3ABDFF;
  --blue-500: #15B4F0;
  --blue-600: #0EA5E0;
  --blue-700: #0B8DC2;
  --blue-800: #0876A3;
  --blue-900: #045E85;
  --primary-blue: #0EA5E0;
  --primary-blue-hover: #0B8DC2;

  /* --- Accent Amber --- */
  --accent-amber: #E8A04C;
  --accent-amber-hover: #D4903F;
  --accent-amber-subtle: #FDF3E3;

  /* --- Neutral Scale (Steel) --- */
  --neutral-50: #F7F8FA;
  --neutral-100: #EBEEF2;
  --neutral-200: #D3D8E0;
  --neutral-300: #B0B8C4;
  --neutral-400: #8892A0;
  --neutral-500: #636E7E;
  --neutral-600: #475264;
  --neutral-700: #333D4D;
  --neutral-800: #1E2735;
  --neutral-900: #0F1419;

  /* --- Semantic --- */
  --success: #22C55E;
  --success-subtle: #DCFCE7;
  --warning: #F59E0B;
  --warning-subtle: #FEF3C7;
  --error: #EF4444;
  --error-subtle: #FEE2E2;
  --info: #8B5CF6;
  --info-subtle: #EDE9FE;

  /* --- Dark Mode Surfaces --- */
  --surface-primary: #0F1419;
  --surface-elevated: #1A1F2E;
  --surface-overlay: #242B3D;
  --text-on-dark: #EBEEF2;
  --text-muted-on-dark: #8892A0;
  --border-on-dark: rgba(255, 255, 255, 0.08);

  /* --- Glass / Overlay --- */
  --glass-bg-light: rgba(255, 255, 255, 0.06);
  --glass-bg-dark: rgba(0, 0, 0, 0.40);
  --glass-blur: blur(20px) saturate(180%);
  --glass-blur-sm: blur(12px) saturate(150%);
  --glass-border-light: 1px solid rgba(255, 255, 255, 0.10);
  --glass-border-subtle: 1px solid rgba(255, 255, 255, 0.04);

  /* --- Spacing (8px grid) --- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;

  /* --- Corner Radius --- */
  --radius-sm: 4px;
  --radius-input: 6px;
  --radius-card: 8px;
  --radius-bubble: 12px;
  --radius-sheet: 16px;
  --radius-full: 999px;
  --radius-round: 50%;

  /* --- Shadows --- */
  --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-medium: 0 4px 12px rgba(0, 0, 0, 0.4), 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-overlay: 0 12px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(232, 160, 76, 0.3), 0 0 60px rgba(232, 160, 76, 0.1);
  --shadow-glow-strong: 0 0 30px rgba(232, 160, 76, 0.5), 0 0 80px rgba(232, 160, 76, 0.2);

  /* --- Motion --- */
  --motion-fast: 100ms;
  --motion-normal: 200ms;
  --motion-slow: 300ms;
  --motion-dismiss: 250ms;
  --motion-progress: 600ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.55, 0.06, 0.68, 0.19);
  --ease-in-out: cubic-bezier(0.45, 0.05, 0.55, 0.95);

  /* --- Header Gradient --- */
  --header-gradient: linear-gradient(180deg, #0F1419 0%, #14202E 40%, #1A2D42 70%, #15B4F0 100%);

  /* --- Typography --- */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ==========================================================================
   2. Reset & Base
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--text-on-dark);
  background-color: var(--surface-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv03", "cv04", "cv11";
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: color var(--motion-fast) var(--ease-out);
}

a:hover {
  color: var(--blue-400);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  padding-left: var(--space-6);
}

li {
  margin-bottom: var(--space-2);
  color: var(--neutral-300);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-on-dark);
  font-weight: 700;
  line-height: 1.3;
}

p {
  color: var(--neutral-300);
  margin-bottom: var(--space-4);
}

p:last-child {
  margin-bottom: 0;
}

hr {
  border: none;
  border-top: 1px solid var(--border-on-dark);
  margin: var(--space-6) 0;
}

::selection {
  background: rgba(14, 165, 224, 0.3);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

/* ==========================================================================
   3. Typography Classes
   ========================================================================== */

.text-display { font-size: 36px; font-weight: 700; line-height: 42px; }
.text-h1 { font-size: 28px; font-weight: 700; line-height: 36px; }
.text-h2 { font-size: 22px; font-weight: 700; line-height: 30px; }
.text-h3 { font-size: 18px; font-weight: 600; line-height: 25px; }
.text-body { font-size: 16px; font-weight: 400; line-height: 24px; }
.text-body-sm { font-size: 14px; font-weight: 400; line-height: 21px; }
.text-caption { font-size: 12px; font-weight: 400; line-height: 17px; }
.text-button { font-size: 15px; font-weight: 600; line-height: 15px; }
.text-tag { font-size: 12px; font-weight: 600; line-height: 12px; }
.text-stat { font-size: 42px; font-weight: 700; line-height: 46px; }

/* Text Colors */
.text-heading { color: var(--neutral-900); }
.text-primary-color { color: var(--neutral-700); }
.text-secondary { color: var(--text-muted-on-dark); }
.text-placeholder { color: var(--neutral-400); }
.text-white { color: #fff; }
.text-accent-amber { color: var(--accent-amber); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-error { color: var(--error); }
.text-info { color: var(--info); }
.text-on-dark { color: var(--text-on-dark); }

/* Text Weight */
.text-bold { font-weight: 700; }
.text-semibold { font-weight: 600; }
.text-regular { font-weight: 400; }

/* Text Alignment */
.text-center { text-align: center; }
.text-left { text-align: left; }

/* Truncation */
.text-truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.text-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.text-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ==========================================================================
   4. Layout Utilities
   ========================================================================== */

.page-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-8);
}

@media (max-width: 1024px) {
  .page-shell { max-width: 768px; padding: 0 var(--space-6); }
}
@media (max-width: 768px) {
  .page-shell { max-width: 100%; padding: 0 var(--space-5); }
}
@media (max-width: 480px) {
  .page-shell { padding: 0 var(--space-4); }
}

.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; }
.flex-1 { flex: 1; }
.w-full { width: 100%; }

/* Gap */
.gap-1 { gap: var(--space-1); }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-5 { gap: var(--space-5); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

/* Padding */
.p-4 { padding: var(--space-4); }
.p-5 { padding: var(--space-5); }
.p-6 { padding: var(--space-6); }
.px-5 { padding-left: var(--space-5); padding-right: var(--space-5); }
.px-6 { padding-left: var(--space-6); padding-right: var(--space-6); }
.py-4 { padding-top: var(--space-4); padding-bottom: var(--space-4); }
.py-8 { padding-top: var(--space-8); padding-bottom: var(--space-8); }
.py-12 { padding-top: var(--space-12); padding-bottom: var(--space-12); }
.pt-8 { padding-top: var(--space-8); }
.pb-8 { padding-bottom: var(--space-8); }

/* Margin */
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }

/* Background */
.bg-dark { background-color: var(--surface-primary); }
.bg-charcoal { background-color: var(--brand-charcoal); }
.bg-surface-elevated { background-color: var(--surface-elevated); }

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

/* ==========================================================================
   5. Components
   ========================================================================== */

/* --- Top Navigation --- */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: var(--brand-dark);
  border-bottom: var(--glass-border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-8);
  z-index: 100;
  backdrop-filter: var(--glass-blur-sm);
}

.top-nav__logo img {
  height: 28px;
  width: auto;
}

.top-nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.top-nav__link {
  color: var(--neutral-400);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  padding: var(--space-2) 0;
  position: relative;
  transition: color var(--motion-normal) var(--ease-out);
}

.top-nav__link:hover,
.top-nav__link--active {
  color: var(--primary-blue);
}

.top-nav__link--active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary-blue);
  border-radius: 1px;
}

.top-nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

@media (max-width: 768px) {
  .top-nav { padding: 0 var(--space-4); }
  .top-nav__links { display: none; }
}

/* Mobile nav toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-on-dark);
  cursor: pointer;
  padding: var(--space-2);
}

@media (max-width: 768px) {
  .mobile-nav-toggle { display: flex; align-items: center; }
}

/* Mobile nav menu */
.mobile-nav {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--surface-elevated);
  border-bottom: var(--glass-border-subtle);
  padding: var(--space-4) var(--space-6);
  z-index: 99;
  flex-direction: column;
  gap: var(--space-3);
}

.mobile-nav--open { display: flex; }

.mobile-nav a {
  color: var(--neutral-300);
  font-size: 16px;
  font-weight: 600;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border-on-dark);
  text-decoration: none;
  transition: color var(--motion-fast) var(--ease-out);
}

.mobile-nav a:hover { color: var(--primary-blue); }
.mobile-nav a:last-child { border-bottom: none; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: 600;
  line-height: 15px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--motion-normal) var(--ease-out);
  border-radius: var(--radius-input);
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  height: 48px;
  padding: 0 var(--space-6);
  background: var(--primary-blue);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-blue-hover);
  color: #fff;
}

.btn-primary:disabled {
  background: var(--neutral-200);
  color: var(--neutral-400);
  cursor: not-allowed;
}

.btn-secondary {
  height: 44px;
  padding: 0 var(--space-5);
  background: transparent;
  color: var(--text-on-dark);
  border: 1.5px solid var(--neutral-300);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--neutral-400);
  color: var(--text-on-dark);
}

.btn-amber {
  height: 48px;
  padding: 0 var(--space-6);
  background: var(--accent-amber);
  color: var(--neutral-900);
}

.btn-amber:hover {
  background: var(--accent-amber-hover);
  color: var(--neutral-900);
}

.btn-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-round);
  background: var(--neutral-800);
  color: #fff;
  padding: 0;
}

.btn-icon:hover {
  background: var(--neutral-700);
}

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

.btn-sm {
  height: 36px;
  padding: 0 var(--space-4);
  font-size: 13px;
}

.btn-pair {
  display: flex;
  gap: var(--space-3);
}

.btn-pair > .btn { flex: 1; }

/* --- Cards --- */
.card {
  background: var(--brand-charcoal);
  border-radius: var(--radius-card);
  border: var(--glass-border-subtle);
  overflow: hidden;
  transition: transform var(--motion-normal) var(--ease-out),
              box-shadow var(--motion-normal) var(--ease-out);
}

.card--shadow { box-shadow: var(--shadow-subtle); }
.card--glow { box-shadow: var(--shadow-glow); }

.card:hover {
  transform: translateY(-2px);
}

.card--glow:hover {
  box-shadow: var(--shadow-glow-strong);
}

/* Product Card */
.card-product {
  display: flex;
  flex-direction: column;
}

.card-product__image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--brand-dark);
}

.card-product__body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
}

.card-product__name {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-on-dark);
}

.card-product__desc {
  font-size: 14px;
  color: var(--text-muted-on-dark);
  line-height: 21px;
}

.card-product__price {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-amber);
  margin-top: var(--space-2);
}

.card-product__tags {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

.card-product__footer {
  padding: var(--space-4) var(--space-5);
  border-top: 1px solid var(--border-on-dark);
}

/* --- Tags --- */
.tag {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  font-size: 12px;
  font-weight: 600;
  line-height: 12px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.tag--outline {
  background: transparent;
  border: 1px solid var(--neutral-300);
  color: var(--neutral-300);
}

.tag--success {
  background: rgba(34, 197, 94, 0.15);
  color: var(--success);
}

.tag--warning {
  background: rgba(245, 158, 11, 0.15);
  color: var(--warning);
}

.tag--error {
  background: rgba(239, 68, 68, 0.15);
  color: var(--error);
}

.tag--info {
  background: rgba(139, 92, 246, 0.15);
  color: var(--info);
}

/* --- Hero Section --- */
.hero {
  background: var(--header-gradient);
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232, 160, 76, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero__title {
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  color: #fff;
  margin-bottom: var(--space-4);
}

.hero__tagline {
  font-size: 20px;
  color: var(--accent-amber);
  font-weight: 600;
  font-style: italic;
  margin-bottom: var(--space-6);
}

.hero__desc {
  font-size: 18px;
  color: var(--neutral-300);
  max-width: 600px;
  margin: 0 auto var(--space-8);
  line-height: 28px;
}

.hero__actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
}

@media (max-width: 768px) {
  .hero { padding: 100px 0 60px; }
  .hero__title { font-size: 32px; line-height: 40px; }
  .hero__desc { font-size: 16px; }
  .hero__actions { flex-direction: column; align-items: center; }
}

/* --- Section --- */
.section {
  padding: var(--space-12) 0;
}

.section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-8);
}

.section__title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-on-dark);
}

.section__title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 28px;
  background: var(--accent-amber);
  border-radius: 2px;
  margin-right: var(--space-3);
  vertical-align: middle;
}

/* --- Product Grid --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}

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

/* --- Product Page Layout --- */
.product-hero {
  background: var(--header-gradient);
  padding: 100px 0 60px;
  text-align: center;
}

.product-hero__image {
  max-height: 400px;
  margin: 0 auto var(--space-8);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-glow);
}

.product-hero__name {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-3);
}

.product-hero__subtitle {
  font-size: 18px;
  color: var(--neutral-300);
}

/* Content Card (for product page sections) */
.content-card {
  background: var(--brand-charcoal);
  border-radius: var(--radius-card);
  border: var(--glass-border-subtle);
  padding: var(--space-8);
  margin-bottom: var(--space-6);
}

.content-card__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-on-dark);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border-on-dark);
}

.content-card__body {
  color: var(--neutral-300);
  font-size: 16px;
  line-height: 26px;
}

.content-card__body h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-on-dark);
  margin: var(--space-6) 0 var(--space-3);
}

.content-card__body h3:first-child {
  margin-top: 0;
}

.content-card__body img {
  border-radius: var(--radius-card);
  margin: var(--space-4) 0;
  max-width: 100%;
}

.content-card__body ul,
.content-card__body ol {
  margin-bottom: var(--space-4);
}

.content-card__body a {
  color: var(--primary-blue);
}

.content-card__body a:hover {
  color: var(--blue-400);
  text-decoration: underline;
}

/* Tip card variant */
.content-card--tip {
  border-left: 3px solid var(--accent-amber);
}

.content-card--tip .content-card__title::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  background: var(--accent-amber);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M9.663 17h4.673M12 3v1m6.364 1.636l-.707.707M21 12h-1M4 12H3m3.343-5.657l-.707-.707m2.828 9.9a5 5 0 117.072 0l-.548.547A3.374 3.374 0 0014 18.469V19a2 2 0 11-4 0v-.531c0-.895-.356-1.754-.988-2.386l-.548-.547z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M9.663 17h4.673M12 3v1m6.364 1.636l-.707.707M21 12h-1M4 12H3m3.343-5.657l-.707-.707m2.828 9.9a5 5 0 117.072 0l-.548.547A3.374 3.374 0 0014 18.469V19a2 2 0 11-4 0v-.531c0-.895-.356-1.754-.988-2.386l-.548-.547z'/%3E%3C/svg%3E");
  mask-size: contain;
  -webkit-mask-size: contain;
  margin-right: var(--space-2);
  vertical-align: text-bottom;
}

/* --- Alert Banner --- */
.alert-banner {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-card);
  font-size: 14px;
  font-weight: 600;
}

.alert-banner--warning {
  background: rgba(245, 158, 11, 0.1);
  color: var(--warning);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.alert-banner--error {
  background: rgba(239, 68, 68, 0.1);
  color: var(--error);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.alert-banner--success {
  background: rgba(34, 197, 94, 0.1);
  color: var(--success);
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.alert-banner--info {
  background: rgba(139, 92, 246, 0.1);
  color: var(--info);
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.alert-banner svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* --- Footer --- */
.site-footer {
  background: var(--brand-charcoal);
  border-top: 1px solid var(--border-on-dark);
  padding: var(--space-10) 0;
  margin-top: var(--space-12);
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.site-footer__brand img {
  height: 24px;
  width: auto;
  opacity: 0.7;
}

.site-footer__tagline {
  font-size: 14px;
  color: var(--text-muted-on-dark);
  font-style: italic;
}

.site-footer__links {
  display: flex;
  gap: var(--space-6);
}

.site-footer__link {
  color: var(--neutral-400);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--motion-fast) var(--ease-out);
}

.site-footer__link:hover {
  color: var(--primary-blue);
}

.site-footer__copy {
  font-size: 13px;
  color: var(--neutral-500);
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border-on-dark);
  text-align: center;
}

@media (max-width: 768px) {
  .site-footer__inner { flex-direction: column; gap: var(--space-6); text-align: center; }
  .site-footer__links { flex-wrap: wrap; justify-content: center; }
}

/* --- Nixie Glow Effects --- */
.nixie-glow {
  box-shadow: 0 0 20px rgba(232, 160, 76, 0.3), 0 0 60px rgba(232, 160, 76, 0.1);
}

.nixie-glow--strong {
  box-shadow: 0 0 30px rgba(232, 160, 76, 0.5), 0 0 80px rgba(232, 160, 76, 0.2);
}

/* --- Back Navigation --- */
.back-nav {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--neutral-400);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: var(--space-6);
  transition: color var(--motion-fast) var(--ease-out);
}

.back-nav:hover {
  color: var(--primary-blue);
}

.back-nav svg {
  width: 18px;
  height: 18px;
}

/* --- Divider --- */
.divider {
  border: none;
  border-top: 1px solid var(--border-on-dark);
  margin: var(--space-6) 0;
}

/* --- Feature Comparison Image --- */
.comparison-table {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-card);
}

.comparison-table img {
  width: 100%;
  border-radius: var(--radius-card);
}

/* --- Discontinued Badge --- */
.card--discontinued {
  opacity: 0.7;
  position: relative;
}

.card--discontinued::after {
  content: 'Discontinued';
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  background: rgba(239, 68, 68, 0.9);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-sm);
}

.card--discontinued:hover {
  opacity: 0.85;
}

/* --- 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; }
}
