/* Zentra v2 - Cyber Industrial Theme */

/* ============================================
   CSS Variables & Theme
   ============================================ */
:root {
  /* Cyber/Tech Palette */
  --color-primary: #00f0ff;      /* Cyan Neon */
  --color-primary-dark: #00aab5;
  --color-secondary: #7000ff;    /* Cyber Purple */
  --color-accent: #ff003c;       /* Alert Red */
  
  --color-bg-dark: #050505;      /* Deep Black */
  --color-bg-darker: #000000;    /* True Black */
  --color-bg-light: #0a0a0f;     /* Off Black */
  
  --color-surface: rgba(0, 240, 255, 0.03);
  --color-surface-hover: rgba(0, 240, 255, 0.08);
  
  --color-text: #ffffff;
  --color-text-muted: #8b9bb4;
  --color-border: #1a1a2e;
  --color-border-active: #00f0ff;
  
  --color-success: #00ff9d;
  --color-warning: #ffcc00;
  --color-error: #ff003c;
  
  /* Typography */
  --font-sans: 'Rajdhani', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  --font-mono: 'JetBrains Mono', 'Consolas', monospace;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 3rem;
  --space-2xl: 5rem;
  
  /* Borders - Industrial/Sharp */
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 0px; 
  
  /* Shadows */
  --shadow-sm: 0 0 10px rgba(0, 240, 255, 0.1);
  --shadow-md: 0 0 20px rgba(0, 240, 255, 0.15);
  --shadow-glow: 0 0 15px var(--color-primary);
  
  /* Tech UI */
  --glass-bg: rgba(5, 5, 10, 0.85);
  --glass-border: rgba(0, 240, 255, 0.2);
  --glass-blur: 5px;
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  height: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg-darker);
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* Dynamic Canvas Background */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.6;
  pointer-events: none;
}

/* Scanline Effect */
body::after {
  content: " ";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
  z-index: 999;
  background-size: 100% 2px, 3px 100%;
  pointer-events: none;
  opacity: 0.15;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  text-shadow: 0 0 8px var(--color-primary);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  width: 100%;
}

/* Typography Overrides */
h1, h2, h3, h4, .logo-text, .nav-menu a, .btn-primary {
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================
   Header
   ============================================ */
.site-header {
  background: rgba(0, 0, 0, 0.9);
  border-bottom: 1px solid var(--color-border);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  height: 80px;
  display: flex;
  align-items: center;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
  height: 100%;
  padding-right: var(--space-xl);
  border-right: 1px solid var(--color-border);
}

.logo-text {
  font-family: var(--font-mono);
  letter-spacing: -1px;
}

.nav-menu {
  display: flex;
  height: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-menu a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0 var(--space-lg);
  height: 100%;
  display: flex;
  align-items: center;
  border-left: 1px solid transparent;
  border-right: 1px solid transparent;
  transition: all 0.3s;
}

.nav-menu a:hover {
  color: var(--color-text);
  background: rgba(0, 240, 255, 0.05);
  border-color: var(--color-border);
}

.search-trigger {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-primary);
  padding: 0.5rem 1rem;
  font-family: var(--font-mono);
  cursor: pointer;
  transition: all 0.3s;
  margin-left: var(--space-lg);
}

.search-trigger:hover {
  background: var(--color-primary);
  color: #000;
  box-shadow: 0 0 15px var(--color-primary);
}

/* ============================================
   Tech Card Component
   ============================================ */
.tech-card {
  background: rgba(10, 10, 15, 0.85); /* Increased opacity */
  border: 1px solid rgba(0, 240, 255, 0.3); /* Stronger border */
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6), 0 0 10px rgba(0, 240, 255, 0.05); /* Added glow */
  backdrop-filter: blur(15px);
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
  z-index: 10; /* Ensure on top of canvas */
}

/* Corner Accents */
.tech-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 15px;
  height: 15px;
  border-top: 2px solid var(--color-primary);
  border-right: 2px solid var(--color-primary);
  transition: all 0.3s;
  opacity: 0.5;
}

.tech-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 15px;
  height: 15px;
  border-bottom: 2px solid var(--color-primary);
  border-left: 2px solid var(--color-primary);
  transition: all 0.3s;
  opacity: 0.5;
}

.tech-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-5px);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.15);
  background: rgba(10, 10, 15, 0.8);
}

.tech-card:hover::after {
  border-color: var(--color-accent);
  width: 30px;
  height: 30px;
  opacity: 1;
}

.tech-card:hover::before {
  border-color: var(--color-accent);
  width: 30px;
  height: 30px;
  opacity: 1;
}

/* ============================================
   Product Card
   ============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin: var(--space-xl) 0;
}

.product-card {
  /* Previously composes: tech-card - Manual inheritance */
  background: rgba(10, 10, 15, 0.85); /* Slightly more opaque */
  border: 1px solid rgba(0, 240, 255, 0.3); /* Stronger border */
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6), 0 0 10px rgba(0, 240, 255, 0.05); /* Added glow */
  backdrop-filter: blur(15px);
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
  z-index: 10; /* Ensure on top of canvas */
  
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 15px;
  height: 15px;
  border-top: 2px solid var(--color-primary);
  border-right: 2px solid var(--color-primary);
  transition: all 0.3s;
  opacity: 0.5;
}

.product-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 15px;
  height: 15px;
  border-bottom: 2px solid var(--color-primary);
  border-left: 2px solid var(--color-primary);
  transition: all 0.3s;
  opacity: 0.5;
}

.product-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.product-card:hover::after {
  border-color: var(--color-primary);
  width: 20px;
  height: 20px;
}

.product-card:hover::before {
  border-color: var(--color-primary);
  width: 20px;
  height: 20px;
}

.product-card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  color: inherit;
  text-decoration: none;
}

.product-card-link:hover {
  text-shadow: none;
}

.product-card-image {
  background: rgba(255, 255, 255, 0.02);
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--color-border);
  position: relative;
  padding: var(--space-md);
}

.product-card-image::before {
  content: 'SYSTEM_ONLINE';
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--color-success);
  opacity: 0.7;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s;
  mix-blend-mode: luminosity; 
}

.product-card:hover .product-card-image img {
  transform: scale(1.05);
  mix-blend-mode: normal;
}

.product-card-content {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  flex: 1;
  border-top: 1px solid transparent; 
}

.product-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--color-primary);
  color: #000;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.5rem;
  text-transform: uppercase;
  z-index: 2;
}

.product-card-title {
  font-size: 0.95rem;
  margin-bottom: var(--space-sm);
  color: var(--color-text);
  font-weight: 700;
  line-height: 1.4;
  /* Truncate */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.8em; 
}

.product-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tag {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  padding: 0.1rem 0.4rem;
}

.product-card-price {
  margin-top: auto;
}

.price {
  color: var(--color-primary);
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-mono);
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.product-card-actions {
  padding: var(--space-md);
  border-top: 1px solid var(--color-border);
  display: flex;
  gap: var(--space-sm);
}


/* ============================================
   Product Detail Page
   ============================================ */
.product-page {
  padding: 4rem 0;
  min-height: 80vh;
}

.breadcrumb {
  margin-bottom: 2rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.breadcrumb a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--color-primary);
}

.breadcrumb-sep {
  margin: 0 0.5rem;
  color: var(--color-border);
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 6rem;
  align-items: start;
}

.product-gallery {
  position: relative;
}

.product-main-image {
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 4px; /* Slight radius */
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  aspect-ratio: 4/3; /* Enforce aspect ratio */
}

/* Corner accents for image */
.product-main-image::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 20px;
  height: 20px;
  border-top: 2px solid var(--color-primary);
  border-right: 2px solid var(--color-primary);
}

.product-main-image::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border-bottom: 2px solid var(--color-primary);
  border-left: 2px solid var(--color-primary);
}

.product-main-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  /* If images have white backgrounds, this helps blend them in dark mode */
  /* mix-blend-mode: luminosity;  -- Optional, can be toggled */
}

.product-info {
  display: flex;
  flex-direction: column;
}

.product-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--color-text);
  line-height: 1.2;
}

.product-brand {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

.product-brand .label {
  color: var(--color-text-muted);
  margin-right: 0.5rem;
}

.product-brand .value {
  color: var(--color-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-price-section {
  background: rgba(10, 10, 15, 0.5);
  border: 1px solid var(--color-border);
  padding: 1.5rem;
  margin: 2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(5px);
}

.price-label {
  display: block;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 0.2rem;
}

.price-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  font-family: var(--font-mono);
  text-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.availability {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  padding: 0.25rem 0.75rem;
  border: 1px solid currentColor;
}

.availability.in-stock {
  color: var(--color-success);
  background: rgba(0, 255, 157, 0.1);
  border-color: var(--color-success);
}

.availability.out-of-stock {
  color: var(--color-danger);
  background: rgba(255, 0, 85, 0.1);
  border-color: var(--color-danger);
}

.product-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.product-specs {
  margin-bottom: 2rem;
}

.product-specs h2 {
  font-size: 1.2rem;
  color: var(--color-text);
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.5rem;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.spec-label {
  color: var(--color-text-muted);
}

.spec-value {
  font-family: var(--font-mono);
  color: var(--color-accent);
}

.product-description h2 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.product-description p {
  color: var(--color-text-muted);
  line-height: 1.6;
}

.product-merchant {
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.merchant-info {
  margin-bottom: 0.5rem;
}

.affiliate-disclosure {
  opacity: 0.6;
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .product-detail {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .product-title {
    font-size: 1.8rem;
  }
}

/* ============================================
   Buttons
   ============================================ */
.btn-primary {
  background: var(--color-primary);
  color: #000;
  border: none;
  font-weight: 800;
  padding: 0.75rem 1.5rem;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: all 0.3s;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  font-size: 0.9rem;
}

.btn-primary:hover {
  background: #fff;
  box-shadow: 0 0 20px var(--color-primary);
  transform: translateY(-2px);
  text-decoration: none;
  color: #000;
  text-shadow: none;
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--color-text-muted);
  color: var(--color-text-muted);
  padding: 0.5rem 1rem;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: 600;
  transition: all 0.3s;
  display: inline-block;
  font-size: 0.8rem;
}

.btn-secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-secondary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-primary:disabled {
  background: var(--color-border);
  color: var(--color-text-muted);
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}

.btn-large {
  font-size: 1.2rem;
  padding: 1rem 3rem;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  padding: 8rem 0 6rem;
  position: relative;
  text-align: left;
}

.hero .container {
  position: relative;
  z-index: 10;
}

.hero-label {
  display: inline-block;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  padding: 0.25rem 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  margin-bottom: var(--space-md);
  background: rgba(0, 240, 255, 0.05);
  letter-spacing: 2px;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 0.9;
  margin-bottom: var(--space-lg);
  color: var(--color-text);
  max-width: 800px;
}

.hero-title span {
  color: var(--color-primary);
  display: block;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin-bottom: var(--space-xl);
  border-left: 2px solid var(--color-primary);
  padding-left: var(--space-md);
  line-height: 1.5;
}

.hero-stats {
  display: none;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ============================================
   Blueprints/Sectors Section
   ============================================ */
.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 1rem;
  display: inline-block;
}

.blueprints-grid, .categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
  margin-bottom: 4rem;
}

.blueprint-card, .category-card {
  /* Previously composes: tech-card - Manual inheritance since this is plain CSS */
  background: rgba(10, 10, 15, 0.85);
  border: 1px solid rgba(0, 240, 255, 0.3);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6), 0 0 10px rgba(0, 240, 255, 0.05);
  backdrop-filter: blur(15px);
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
  z-index: 10;
  
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 250px;
  text-decoration: none;
}

/* Corner Accents for these cards */
.blueprint-card::after, .category-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 15px;
  height: 15px;
  border-top: 2px solid var(--color-primary);
  border-right: 2px solid var(--color-primary);
  transition: all 0.3s;
  opacity: 0.5;
}

.blueprint-card::before, .category-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 15px;
  height: 15px;
  border-bottom: 2px solid var(--color-primary);
  border-left: 2px solid var(--color-primary);
  transition: all 0.3s;
  opacity: 0.5;
}

.blueprint-card:hover, .category-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-5px);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.15);
  background: rgba(10, 10, 15, 0.8);
}

.blueprint-card:hover::after, .category-card:hover::after {
  border-color: var(--color-accent);
  width: 30px;
  height: 30px;
  opacity: 1;
}

.blueprint-card:hover::before, .category-card:hover::before {
  border-color: var(--color-accent);
  width: 30px;
  height: 30px;
  opacity: 1;
}

.blueprint-card h3, .category-card h3 {
  color: var(--color-primary);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  z-index: 2;
  font-weight: 800;
}

.blueprint-description, .category-card p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  z-index: 2;
}

.category-count, .blueprint-budget {
  font-family: var(--font-mono);
  color: var(--color-accent);
  font-size: 0.8rem;  margin-bottom: 1rem;
  display: block;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--color-border);
  background: #000;
  padding: 4rem 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-section h3, .footer-section h4 {
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  font-size: 1rem;
  letter-spacing: 2px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section a {
  color: var(--color-text-muted);
  text-decoration: none;  font-size: 0.9rem;
  transition: all 0.2s;
}

.footer-section a:hover {
  padding-left: 5px;
  color: var(--color-primary);
  text-shadow: 0 0 5px var(--color-primary);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;  border-top: 1px solid var(--color-border);
  text-align: center;
  color: #444;
  font-size: 0.8rem;
}

/* ============================================
   Wizard Component (NEW)
   ============================================ */
.wizard-page {
  padding: var(--space-xl) 0;
}

.wizard-container {
  max-width: 800px;
  margin: 0 auto;
}

.wizard-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.wizard-progress {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.progress-step {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-text-muted);
  opacity: 0.5;
}

.progress-step.active {
  color: var(--color-primary);
  opacity: 1;
}

.step-number {
  width: 24px;
  height: 24px;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-family: var(--font-mono);
}

.wizard-step {
  display: none;
  animation: fadeIn 0.5s ease;
}

.wizard-step.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.wizard-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  margin: var(--space-lg) 0;
}

.wizard-card {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  padding: var(--space-lg);
  text-align: left;
  cursor: pointer;
  transition: all 0.3s;
  color: var(--color-text);
  width: 100%;
}

.wizard-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.wizard-card.selected {
  border-color: var(--color-primary);
  background: rgba(0, 240, 255, 0.05);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.1);
}

.wizard-icon {
  font-size: 2rem;
  margin-bottom: var(--space-md);
}

.wizard-features {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  padding-left: 1.2rem;
  margin-top: var(--space-md);
}

.wizard-nav {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-lg);
}

.budget-selector {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  padding: var(--space-lg);
  margin: var(--space-lg) 0;
}

.budget-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
  text-align: center;
}

.budget-tier {
  padding: var(--space-md);
  border: 1px solid var(--color-border);
  opacity: 0.5;
}

.budget-tier.active {
  opacity: 1;
  border-color: var(--color-primary);
  background: rgba(0, 240, 255, 0.05);
}

.budget-tier strong {
  display: block;
  color: var(--color-primary);
}

.results-container h3 {
  font-size: 2rem;
  color: var(--color-success);
}


/* ============================================
   Related Products
   ============================================ */
.related-products {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.related-products h2 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.related-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2rem;
}

.related-product-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
  overflow: hidden;
}

.related-product-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
}

.related-product-card a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1rem;
}

.related-product-card img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  margin-bottom: 1rem;
  /* mix-blend-mode: luminosity; Optional */
}

.related-product-card h4 {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--color-text);
  line-height: 1.4;
  /* Truncate text */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-product-card .price {
  margin-top: auto;
  font-size: 1rem;
  color: var(--color-primary);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .nav-menu {
    display: none; 
  }
}

/* ============================================
   Guide Page Components
   ============================================ */
.guide-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.guide-link-card {
  background: rgba(10, 10, 15, 0.6);
  border: 1px solid var(--color-border);
  padding: 1rem;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.guide-link-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--color-text-muted);
  opacity: 0.1;
  transition: all 0.2s;
}

.guide-link-card:hover {
  border-color: var(--color-primary);
  background: rgba(0, 240, 255, 0.05);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.guide-link-card:hover::before {
  background: var(--color-primary);
  opacity: 1;
}

.guide-link-card .title {
  color: var(--color-text);
  font-weight: 700;
  margin-bottom: 0.25rem;
  font-size: 1rem;
  z-index: 2;
}

.guide-link-card:hover .title {
  color: var(--color-primary);
}

.guide-link-card .meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
}

.pro-tip-card {
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-left: 3px solid var(--color-primary);
  padding: 1.5rem;
  margin: 2rem 0;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.pro-tip-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.checklist-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 768px) {
  .checklist-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.checklist-item {
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem;
  border-radius: var(--radius-md);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.2s ease;
}

.checklist-item:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
}

.check-icon {
  color: var(--color-success);
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1;
}


/* FAQ / Accordion */
details {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

details:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

details[open] {
  background: rgba(0, 0, 0, 0.3);
  border-color: var(--color-primary);
}

summary {
  padding: 1.25rem;
  cursor: pointer;
  font-weight: 600;
  list-style: none; /* Hide default triangle */
  position: relative;
  padding-right: 3rem;
  color: var(--color-text-main);
  transition: color 0.2s;
}

summary:hover {
  color: var(--color-primary);
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '+';
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--color-primary);
  font-weight: light;
  transition: transform 0.3s ease;
}

details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

details[open] summary {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

details p {
  padding: 1.25rem;
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.6;
}


.guide-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.guide-link-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.25rem 1.5rem;
  background: var(--color-surface-light);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Comparisons specific variant */
.guide-link-card.comparison:hover {
  border-color: var(--color-accent);
  background: rgba(255, 0, 60, 0.05);
}

.guide-link-card.comparison:hover::before {
  background: var(--color-accent);
}

.guide-link-card.comparison:hover .title {
  color: var(--color-accent);
}

