/* ==========================================================================
   Vexel Focus Innovations - Component Stylesheet
   ========================================================================== */

/* 1. Header & Navigation */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(8, 12, 20, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-normal), border-color var(--transition-normal);
}

.main-header.scrolled {
  background: rgba(8, 12, 20, 0.92);
  border-bottom-color: var(--border-medium);
  box-shadow: var(--shadow-sm);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 1rem;
}

@media (max-width: 640px) {
  .header-container {
    height: 68px;
    gap: 0.5rem;
  }
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 0.85rem);
  min-width: 0;
}

.logo-symbol {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #10B981, #06B6D4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #080C14;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.4);
}

@media (max-width: 480px) {
  .logo-symbol {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 8px;
  }
}

.brand-text-group {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: clamp(0.92rem, 3.5vw, 1.15rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-slogan {
  font-size: clamp(0.62rem, 2vw, 0.72rem);
  color: var(--accent-emerald);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.8rem);
  list-style: none;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-emerald);
  transition: width var(--transition-fast);
}

.nav-link:hover::after {
  width: 100%;
}

/* Header Action Controls */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.currency-select-box {
  position: relative;
}

.currency-select-box select {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-family: var(--font-mono);
  cursor: pointer;
  transition: var(--transition-fast);
}

.currency-select-box select:hover {
  border-color: var(--border-medium);
}

.header-icon-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: var(--transition-fast);
}

.header-icon-btn:hover {
  background: var(--bg-tertiary);
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
}

.badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--accent-emerald);
  color: #080C14;
  font-size: 0.68rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
}

.badge-count.visible {
  display: flex;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.5rem;
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 76px;
  left: 0;
  width: 100%;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-medium);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
  z-index: 99;
}

.mobile-nav-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.mobile-nav-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav-link:hover {
  color: var(--accent-emerald);
}

/* 2. Hero Section */
.hero-section {
  padding-top: clamp(6.5rem, 14vw, 9.5rem);
  padding-bottom: clamp(3.5rem, 8vw, 5.5rem);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: clamp(0.72rem, 2vw, 0.8rem);
  color: var(--accent-emerald);
  margin-bottom: 1.4rem;
  max-width: 100%;
}

.hero-title {
  font-size: clamp(1.9rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.hero-title-highlight {
  color: var(--accent-emerald);
  position: relative;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: clamp(1.5rem, 3vw, 2.2rem);
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta-group .btn-primary,
  .hero-cta-group .btn-secondary {
    width: 100%;
  }
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--accent-emerald);
  color: #080C14;
  font-weight: 700;
  font-size: clamp(0.88rem, 2vw, 0.95rem);
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--accent-emerald);
  cursor: pointer;
  box-shadow: var(--shadow-neon-emerald);
  transition: transform var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
  text-align: center;
}

.btn-primary:hover {
  background: #0ea371;
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(16, 185, 129, 0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  font-weight: 600;
  font-size: clamp(0.88rem, 2vw, 0.95rem);
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-medium);
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
  text-align: center;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--text-primary);
  transform: translateY(-2px);
}

/* Hero Stats Bar */
.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.75rem, 2vw, 1.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

@media (max-width: 440px) {
  .hero-stats-row {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1rem;
  }
}

.stat-item h4 {
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-mono);
}

.stat-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Hero Interactive Telemetry HUD Card */
.hero-telemetry-hud {
  background: var(--bg-glass);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow: var(--shadow-lg);
  position: relative;
  width: 100%;
}

.hud-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hud-title {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hud-time {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.hud-devices-matrix {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr));
  gap: clamp(0.6rem, 1.5vw, 1rem);
  margin-bottom: 1.5rem;
}

.hud-node-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  transition: border-color var(--transition-fast);
}

.hud-node-card:hover {
  border-color: var(--accent-emerald);
}

.node-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.node-status-val {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-emerald);
  word-break: break-word;
}

.hud-telemetry-graph {
  background: rgba(8, 12, 20, 0.6);
  border-radius: var(--radius-md);
  padding: 1rem;
  border: 1px dashed var(--border-subtle);
  margin-bottom: 1.25rem;
}

.graph-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.telemetry-wave-svg {
  width: 100%;
  height: 48px;
}

.hud-footer-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-secondary);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hud-btn-link {
  color: var(--accent-cyan);
  font-weight: 600;
}

.hud-btn-link:hover {
  text-decoration: underline;
}

/* 3. Products Filter & Grid Section */
.store-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
  padding: clamp(0.75rem, 2vw, 1.25rem);
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

@media (max-width: 860px) {
  .store-controls-bar {
    flex-direction: column;
    align-items: stretch;
  }
}

.category-filter-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .category-filter-group {
    overflow-x: auto;
    flex-wrap: nowrap;
    width: 100%;
    padding-bottom: 0.35rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .category-filter-group::-webkit-scrollbar {
    display: none;
  }
}

.category-filter-btn {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
}

.category-filter-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.category-filter-btn.active {
  background: var(--accent-emerald);
  color: #080C14;
  border-color: var(--accent-emerald);
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.3);
}

.search-sort-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .search-sort-group {
    width: 100%;
  }
  .search-input-box, .sort-select-box {
    flex: 1 1 180px;
    width: 100%;
  }
}

.search-input-box {
  position: relative;
  width: 100%;
  max-width: 280px;
}

@media (max-width: 860px) {
  .search-input-box {
    max-width: 100%;
  }
}

.search-input-box input {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 0.5rem 1rem 0.5rem 2.2rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  width: 100%;
  transition: border-color var(--transition-fast);
}

.search-input-box input:focus {
  border-color: var(--accent-emerald);
}

.search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.sort-select-box {
  position: relative;
}

.sort-select-box select {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  cursor: pointer;
  width: 100%;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-md);
}

.product-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.25rem 0.5rem;
}

.product-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-cyan {
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.badge-amber {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-amber);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.wishlist-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.wishlist-btn:hover {
  color: var(--accent-danger);
  transform: scale(1.15);
}

.wishlist-btn.active {
  color: var(--accent-danger);
}

.product-visual-preview {
  position: relative;
  padding: 1.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: radial-gradient(circle, rgba(30, 41, 59, 0.4) 0%, transparent 70%);
}

.product-graphic-box {
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-normal);
}

.product-card:hover .product-graphic-box {
  transform: scale(1.06);
}

.iot-vector-art {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

.quick-view-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 20, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.quick-view-overlay span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-cyan);
  background: var(--bg-tertiary);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-medium);
}

.product-visual-preview:hover .quick-view-overlay {
  opacity: 1;
}

.product-info-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category-tag {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.product-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.product-title:hover {
  color: var(--accent-emerald);
}

.product-tagline {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  line-height: 1.4;
}

.product-rating-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.stars {
  color: var(--accent-amber);
  font-size: 0.85rem;
}

.rating-num {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
}

.reviews-count {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.product-feature-pills {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.dot-spec {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--accent-emerald);
  border-radius: 50%;
  margin-right: 0.35rem;
}

.product-card-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.price-box {
  display: flex;
  flex-direction: column;
}

.current-price {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--text-primary);
}

.original-price {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.card-action-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-sim-shortcut {
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: var(--accent-cyan);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-sim-shortcut:hover {
  background: var(--accent-cyan);
  color: #080C14;
}

.btn-add-cart {
  background: var(--accent-emerald);
  border: 1px solid var(--accent-emerald);
  color: #080C14;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.btn-add-cart:hover {
  background: #0ea371;
  transform: translateY(-2px);
}

/* 4. Upcoming Research & Pipeline */
.research-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.research-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.research-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-medium);
}

.research-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.research-code {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.status-pill {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.status-emerald { background: rgba(16, 185, 129, 0.15); color: var(--accent-emerald); border: 1px solid rgba(16, 185, 129, 0.3); }
.status-cyan { background: rgba(6, 182, 212, 0.15); color: var(--accent-cyan); border: 1px solid rgba(6, 182, 212, 0.3); }
.status-amber { background: rgba(245, 158, 11, 0.15); color: var(--accent-amber); border: 1px solid rgba(245, 158, 11, 0.3); }

.research-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.research-cat {
  font-size: 0.8rem;
  color: var(--accent-cyan);
  margin-bottom: 1rem;
  font-family: var(--font-mono);
}

.research-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.research-progress-box {
  margin-bottom: 1.5rem;
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  font-family: var(--font-mono);
}

.progress-track {
  width: 100%;
  height: 6px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: var(--radius-full);
}

.progress-fill.emerald { background: var(--accent-emerald); box-shadow: 0 0 8px var(--accent-emerald); }
.progress-fill.cyan { background: var(--accent-cyan); box-shadow: 0 0 8px var(--accent-cyan); }
.progress-fill.amber { background: var(--accent-amber); box-shadow: 0 0 8px var(--accent-amber); }

.research-specs-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}

.research-specs-pills span {
  font-size: 0.72rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
}

.research-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.target-date {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.btn-waitlist {
  background: transparent;
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-waitlist:hover {
  background: var(--accent-cyan);
  color: #080C14;
}

/* 5. Custom IoT R&D / Challenging Projects Studio */
.custom-studio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.studio-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 2.5rem;
}

.studio-step-block {
  margin-bottom: 1.75rem;
}

.studio-step-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.option-chips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.65rem;
}

.option-chip {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: var(--transition-fast);
}

.option-chip:hover {
  border-color: var(--border-medium);
  color: var(--text-primary);
}

.option-chip.selected {
  background: rgba(16, 185, 129, 0.15);
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
}

.estimator-result-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}

.estimator-header h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.estimator-header p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.estimate-numbers-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 1rem;
  background: var(--bg-primary);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.num-box span {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
}

.num-box h3 {
  font-size: 1.4rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--accent-emerald);
}

.selected-specs-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.spec-chip {
  font-size: 0.72rem;
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-family: var(--font-mono);
}

/* Form Styles */
.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  transition: border-color var(--transition-fast);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--accent-emerald);
}

/* 6A. Company Profile Pillars */
.company-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.pillar-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-medium);
}

.pillar-card.spotlight {
  border-color: var(--border-accent);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.08) 0%, rgba(16, 24, 39, 0.85) 100%);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.12);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}

.pillar-card.spotlight .pillar-icon {
  background: rgba(16, 185, 129, 0.15);
  border-color: var(--accent-emerald);
}

.pillar-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.pillar-card p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* 6B. Chief Executive Officer (CEO) Profile Showcase */
.ceo-profile-card {
  background: linear-gradient(135deg, rgba(14, 21, 36, 0.95) 0%, rgba(8, 12, 20, 0.98) 100%);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(16, 185, 129, 0.15);
  margin-bottom: 3.5rem;
  position: relative;
  overflow: hidden;
}

.ceo-profile-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.ceo-card-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.4fr;
  gap: 3rem;
  align-items: center;
}

.ceo-visual-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ceo-avatar-frame {
  position: relative;
  width: 170px;
  height: 170px;
  margin-bottom: 1.25rem;
}

.ceo-vector-avatar {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.6));
}

.ceo-status-tag {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background: #080C14;
  border: 1px solid var(--accent-emerald);
  color: var(--accent-emerald);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.ceo-nameplate h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.ceo-title-sub {
  font-size: 0.85rem;
  color: var(--accent-cyan);
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
}

.ceo-org-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  background: var(--bg-tertiary);
  color: var(--text-muted);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.ceo-bio-col {
  display: flex;
  flex-direction: column;
}

.ceo-quote-box {
  background: rgba(8, 12, 20, 0.6);
  border-left: 3px solid var(--accent-emerald);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.quote-mark {
  font-family: serif;
  font-size: 3rem;
  line-height: 1;
  position: absolute;
  top: -8px;
  left: 10px;
  color: rgba(16, 185, 129, 0.2);
  pointer-events: none;
}

.ceo-quote-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-primary);
  font-style: italic;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.quote-signature {
  display: flex;
  flex-direction: column;
  font-size: 0.8rem;
}

.quote-signature strong {
  color: var(--accent-emerald);
}

.quote-signature span {
  color: var(--text-muted);
}

.ceo-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.5rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.ceo-kpi-item {
  text-align: center;
}

.kpi-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.kpi-desc {
  font-size: 0.68rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.ceo-expertise-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.expertise-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.expertise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.exp-tag {
  font-size: 0.72rem;
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
}

.ceo-actions-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* 6C. Company Milestones Roadmap */
.company-timeline-container {
  margin-bottom: 4rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
}

.timeline-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.75rem;
  text-align: center;
}

.timeline-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  position: relative;
}

.step-year {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-emerald);
  margin-bottom: 0.5rem;
}

.step-marker {
  width: 100%;
  height: 2px;
  background: var(--border-medium);
  margin-bottom: 1rem;
  position: relative;
  display: flex;
  align-items: center;
}

.step-marker .pulse-dot {
  position: absolute;
  left: 0;
  top: -3px;
}

.step-content h4 {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.step-content p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* 6D. Portfolio Section Sub-Header */
.portfolio-header-sub {
  text-align: center;
  margin-bottom: 2rem;
}

.section-title-sub {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-subtitle-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* 6E. Portfolio Filter & Case Studies */
.portfolio-filters-bar {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.portfolio-filter-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.portfolio-filter-btn:hover {
  color: var(--text-primary);
}

.portfolio-filter-btn.active {
  background: var(--accent-emerald);
  color: #080C14;
  border-color: var(--accent-emerald);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.portfolio-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-emerald);
  box-shadow: var(--shadow-md);
}

.portfolio-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.portfolio-year {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-cyan);
}

.portfolio-cat {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.portfolio-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.portfolio-client {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.portfolio-summary {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.portfolio-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  margin-bottom: 1.25rem;
}

.metric-item .metric-val {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-emerald);
}

.metric-item .metric-label {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.portfolio-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.tech-tag {
  font-size: 0.7rem;
  background: var(--bg-secondary);
  color: var(--text-muted);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
}

.read-more-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-cyan);
}

/* 7. FAQs Accordion */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--border-medium);
}

.faq-question-btn {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-chevron {
  color: var(--accent-emerald);
  font-size: 1.2rem;
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer-body {
  padding: 0 1.5rem 1.25rem;
  display: none;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.faq-item.active .faq-answer-body {
  display: block;
}

/* 8. Customer Reviews */
.reviews-stream {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10B981, #06B6D4);
  color: #080C14;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reviewer-meta h4 {
  font-size: 0.95rem;
  font-weight: 700;
}

.reviewer-role {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.review-quote {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1rem;
  font-style: italic;
}

.review-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
}

.review-product-tag {
  color: var(--accent-cyan);
  font-weight: 600;
}

/* 9. Cart Drawer */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.cart-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 440px;
  height: 100vh;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-medium);
  z-index: 160;
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-drawer-header {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
}

.cart-drawer-header h3 {
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

.cart-drawer-items {
  flex-grow: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-item-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-item-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cart-item-icon-box {
  width: 48px;
  height: 48px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-details h4 {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.item-cat {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: block;
}

.item-unit-price {
  font-size: 0.78rem;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
}

.cart-item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

.qty-stepper {
  display: flex;
  align-items: center;
  background: var(--bg-tertiary);
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
}

.qty-btn {
  background: transparent;
  border: none;
  color: var(--text-primary);
  width: 24px;
  height: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-val {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  padding: 0 0.35rem;
}

.item-line-total {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
}

.cart-remove-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.75rem;
}

.cart-remove-btn:hover {
  color: var(--accent-danger);
}

.cart-drawer-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-primary);
}

.coupon-form-box {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.coupon-form-box input {
  flex-grow: 1;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-family: var(--font-mono);
}

.coupon-form-box button {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.cart-totals-summary {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
  font-size: 0.88rem;
}

.cart-totals-summary .summary-row {
  display: flex;
  justify-content: space-between;
  color: var(--text-secondary);
}

.cart-totals-summary .summary-row.total {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  padding-top: 0.5rem;
  border-top: 1px dashed var(--border-subtle);
}

.btn-remove-coupon {
  background: transparent;
  border: none;
  color: var(--accent-danger);
  cursor: pointer;
  margin-left: 0.25rem;
}

/* 10. Modals */
.vexel-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.vexel-modal.active {
  opacity: 1;
  pointer-events: all;
}

.modal-dialog {
  background: var(--bg-secondary);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 780px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
  padding: 2.25rem;
}

.modal-close-corner {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Quick View Layout */
.qv-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2rem;
}

.qv-graphic-stage {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.qv-graphic-stage svg {
  width: 160px;
  height: 160px;
}

.qv-box-contents h4 {
  font-size: 0.88rem;
  margin-bottom: 0.5rem;
}

.qv-box-contents ul {
  list-style: none;
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.qv-cat {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  text-transform: uppercase;
}

.qv-right h2 {
  font-size: 1.6rem;
  margin-bottom: 0.25rem;
}

.qv-tagline {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.qv-price-block {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: var(--bg-primary);
  border-radius: var(--radius-sm);
}

.qv-price {
  font-size: 1.4rem;
  font-weight: 700;
  font-family: var(--font-mono);
}

.qv-orig-price {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.stock-status {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-emerald);
}

.qv-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.qv-specs-table {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
  font-size: 0.8rem;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0.5rem;
  background: var(--bg-tertiary);
  border-radius: 4px;
}

.spec-name {
  color: var(--text-muted);
}

.spec-val {
  font-weight: 600;
  color: var(--text-primary);
}

.qv-actions {
  display: flex;
  gap: 0.85rem;
}

/* 11. Multi-Step Checkout Modal */
.checkout-modal-dialog {
  max-width: 880px;
}

.checkout-wizard-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  position: relative;
}

.checkout-wizard-bar::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 30px;
  right: 30px;
  height: 2px;
  background: var(--border-subtle);
  z-index: 0;
}

.checkout-step-indicator {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.step-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: 2px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
}

.step-name {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.checkout-step-indicator.active .step-circle {
  background: var(--accent-emerald);
  border-color: var(--accent-emerald);
  color: #080C14;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
}

.checkout-step-indicator.active .step-name {
  color: var(--text-primary);
  font-weight: 600;
}

.checkout-step-indicator.completed .step-circle {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  color: #080C14;
}

.checkout-body-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
}

.checkout-step-pane {
  display: none;
}

.checkout-step-pane.active {
  display: block;
}

.checkout-sidebar {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.checkout-item-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.item-title {
  font-weight: 600;
  display: block;
}

.item-qty {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.test-card-fill-btn {
  background: rgba(6, 182, 212, 0.15);
  border: 1px dashed var(--accent-cyan);
  color: var(--accent-cyan);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 1rem;
  width: 100%;
}

.test-card-fill-btn:hover {
  background: rgba(6, 182, 212, 0.25);
}

/* Order Confirmation & Receipt */
.order-success-banner {
  text-align: center;
  margin-bottom: 2rem;
}

.success-icon-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 2px solid var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.order-id-label {
  font-family: var(--font-mono);
  color: var(--accent-emerald);
  font-size: 1.1rem;
  margin: 0.5rem 0;
}

.order-tracking-box {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.tracking-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  margin-bottom: 1.25rem;
}

.tracking-milestones {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  text-align: center;
}

.milestone .dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  margin: 0 auto 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.milestone.completed .dot {
  background: var(--accent-emerald);
  color: #080C14;
  font-weight: 700;
}

.milestone.active .dot {
  border: 2px solid var(--accent-cyan);
}

.milestone span {
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.order-receipt-card {
  background: var(--bg-tertiary);
  border: 1px dashed var(--border-medium);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
}

.receipt-header {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
}

.slogan-micro {
  font-size: 0.7rem;
  color: var(--accent-emerald);
  font-family: var(--font-mono);
}

.receipt-customer-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.receipt-items-list {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.75rem 0;
  margin-bottom: 0.75rem;
}

.receipt-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.receipt-totals-footer .receipt-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.25rem;
  color: var(--text-secondary);
}

.receipt-totals-footer .receipt-row.grand-total {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.35rem;
  margin-top: 0.35rem;
}

.confirmation-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* 12. Toast Notifications */
.vexel-toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 380px;
}

.vexel-toast {
  background: var(--bg-secondary);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: var(--shadow-lg);
  animation: slideInToast 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transition: opacity 0.3s, transform 0.3s;
}

.vexel-toast.fade-out {
  opacity: 0;
  transform: translateX(100%);
}

.vexel-toast.success { border-left: 4px solid var(--accent-emerald); }
.vexel-toast.error { border-left: 4px solid var(--accent-danger); }
.vexel-toast.info { border-left: 4px solid var(--accent-cyan); }

.toast-msg {
  font-size: 0.85rem;
  color: var(--text-primary);
  flex-grow: 1;
}

.toast-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.1rem;
}

@keyframes slideInToast {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Footer Styles */
.main-footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2rem;
  position: relative;
  z-index: 1;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand-summary p {
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 1rem 0 1.5rem;
  max-width: 320px;
}

.certifications-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.cert-badge {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--accent-emerald);
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

/* Loading Spinner */
.spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #FFFFFF;
  animation: spin 0.6s linear infinite;
  margin-right: 0.35rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Badge Statuses */
.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
}

.badge-status.standby {
  background: rgba(6, 182, 212, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.25);
}

.badge-status.open {
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.badge-status.danger {
  background: rgba(239, 68, 68, 0.12);
  color: var(--accent-danger);
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.pulse-glow {
  animation: pulseGlow 1.8s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.6; filter: drop-shadow(0 0 2px currentColor); }
  50% { opacity: 1; filter: drop-shadow(0 0 8px currentColor); }
}

/* ==========================================================================
   Responsive Media Queries (Universal Device Adaptation)
   ========================================================================== */

/* Large Tablets & Small Laptops (<= 1024px) */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .studio-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .qv-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .checkout-body-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .ceo-card-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .timeline-track {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

/* Tablets (<= 768px) */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .section {
    padding: 4rem 0;
  }
  .hero-section {
    padding-top: 7rem;
    padding-bottom: 4rem;
  }
  .ceo-profile-card {
    padding: clamp(1.5rem, 4vw, 2.25rem);
  }
  .ceo-kpi-grid {
    grid-template-columns: 1fr 1fr;
  }
  .timeline-track {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .portfolio-filters-bar {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .portfolio-filters-bar::-webkit-scrollbar {
    display: none;
  }
  .portfolio-filter-btn {
    flex-shrink: 0;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-stats-row {
    grid-template-columns: repeat(3, 1fr);
  }
  .sim-stage-grid {
    grid-template-columns: 1fr;
  }
  .modal-dialog {
    padding: 1.5rem 1.25rem;
    max-height: 92vh;
  }
  .checkout-wizard-bar::before {
    left: 20px;
    right: 20px;
  }
}

/* Mobile Phones (<= 480px) */
@media (max-width: 480px) {
  .header-container {
    height: 64px;
    padding: 0 0.75rem;
  }
  .main-header {
    height: 64px;
  }
  .mobile-nav-drawer {
    top: 64px;
  }
  .hero-stats-row {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1rem;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-group .btn-primary,
  .hero-cta-group .btn-secondary {
    width: 100%;
  }
  .hud-devices-matrix {
    grid-template-columns: 1fr;
  }
  .hud-footer-note {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  .cart-drawer {
    width: 100vw;
    max-width: 100vw;
  }
  .cart-item-card {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .cart-item-right {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .checkout-wizard-bar {
    margin-bottom: 1.25rem;
  }
  .step-circle {
    width: 26px;
    height: 26px;
    font-size: 0.75rem;
  }
  .step-name {
    font-size: 0.65rem;
  }
  .checkout-wizard-bar::before {
    top: 13px;
    left: 15px;
    right: 15px;
  }
  .tracking-milestones {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  .receipt-customer-details {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .confirmation-actions {
    flex-direction: column;
    width: 100%;
  }
  .confirmation-actions button {
    width: 100%;
  }
  .ceo-avatar-frame {
    width: 130px;
    height: 130px;
  }
  .ceo-actions-row {
    flex-direction: column;
    width: 100%;
  }
  .ceo-actions-row a {
    width: 100%;
    text-align: center;
  }
  .estimate-numbers-row {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .product-card-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .card-action-group {
    width: 100%;
    justify-content: space-between;
  }
  .card-action-group .btn-add-cart,
  .card-action-group .btn-sim-shortcut {
    flex: 1;
    text-align: center;
    justify-content: center;
  }
  .qv-actions {
    flex-direction: column;
    width: 100%;
  }
  .qv-actions button {
    width: 100%;
  }
  .vexel-toast-container {
    bottom: 12px;
    right: 12px;
    left: 12px;
    max-width: calc(100vw - 24px);
  }
  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}

/* Small Screens (<= 360px) */
@media (max-width: 360px) {
  .brand-name {
    font-size: 0.88rem;
  }
  .brand-slogan {
    display: none;
  }
  .currency-select-box select {
    padding: 0.3rem 0.4rem;
    font-size: 0.7rem;
  }
  .header-icon-btn {
    width: 32px;
    height: 32px;
  }
  .ceo-kpi-grid {
    grid-template-columns: 1fr;
  }
  .portfolio-metrics-grid {
    grid-template-columns: 1fr;
  }
}

