/* 🔱 SOTA 2026 CYBER-INDUSTRIAL DESIGN SYSTEM: Online Robot Shop */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --bg-space: #050811;
  --bg-deep: #080d1a;
  --bg-panel: rgba(13, 20, 38, 0.75);
  --bg-panel-hover: rgba(20, 31, 60, 0.9);
  --border-subtle: rgba(56, 189, 248, 0.14);
  --border-glow: rgba(0, 240, 255, 0.5);
  --border-glow-violet: rgba(168, 85, 247, 0.45);
  --accent-cyan: #00f0ff;
  --accent-blue: #3b82f6;
  --accent-violet: #8b5cf6;
  --accent-amber: #f59e0b;
  --accent-emerald: #10b981;
  --text-main: #f8fafc;
  --text-dim: #94a3b8;
  --text-dark: #64748b;
  --font-heading: 'Orbitron', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--bg-space);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(0, 240, 255, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 85% 65%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
    linear-gradient(to bottom, #050811, #080d1a 50%, #050811);
  background-attachment: fixed;
}

/* Typography */
h1, h2, h3, h4, .font-orbitron {
  font-family: var(--font-heading);
  letter-spacing: 0.03em;
  font-weight: 700;
}

.mono {
  font-family: var(--font-mono);
}

/* Glassmorphism Containers */
.glass-panel {
  background: var(--bg-panel);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.6), 0 0 1px 1px rgba(255, 255, 255, 0.05) inset;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel:hover {
  background: var(--bg-panel-hover);
  border-color: var(--border-glow);
  box-shadow: 0 16px 40px -10px rgba(0, 240, 255, 0.15), 0 0 20px rgba(0, 240, 255, 0.1);
  transform: translateY(-3px);
}

/* Glowing Elements */
.cyan-glow {
  text-shadow: 0 0 20px rgba(0, 240, 255, 0.6);
}

.glow-btn-cyan {
  background: linear-gradient(135deg, #00f0ff 0%, #0070f3 100%);
  color: #050811;
  font-weight: 700;
  border-radius: 9999px;
  padding: 0.75rem 1.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  text-decoration: none;
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.4);
  transition: all 0.25s ease;
  cursor: pointer;
}

.glow-btn-cyan:hover {
  box-shadow: 0 0 35px rgba(0, 240, 255, 0.75);
  transform: translateY(-2px) scale(1.02);
  color: #000;
}

.glow-btn-outline {
  background: rgba(13, 20, 38, 0.6);
  color: #f8fafc;
  font-weight: 600;
  border-radius: 9999px;
  padding: 0.75rem 1.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(0, 240, 255, 0.3);
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
  cursor: pointer;
}

.glow-btn-outline:hover {
  border-color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.1);
  color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.25);
  transform: translateY(-2px);
}

/* Badges */
.badge-tech {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-cyan {
  background: rgba(0, 240, 255, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 240, 255, 0.25);
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-amber {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-purple {
  background: rgba(168, 85, 247, 0.12);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

/* Pulsing Status Dot */
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  background-color: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulse-ring 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

@keyframes pulse-ring {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.2); }
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

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

@media (max-width: 640px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Header & Nav */
header.sticky-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 8, 17, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(56, 189, 248, 0.15);
  transition: all 0.3s ease;
}

.nav-link {
  color: var(--text-dim);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.05);
}

/* Hero Section */
.hero-wrapper {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 0 4rem;
  overflow: hidden;
}

.hero-glow-bg {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(0, 240, 255, 0.15) 0%, rgba(139, 92, 246, 0.08) 50%, transparent 80%);
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 100%);
  z-index: 0;
  pointer-events: none;
}

/* Category Filter Chips */
.filter-chip {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-dim);
  padding: 0.5rem 1.1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.filter-chip:hover, .filter-chip.active {
  background: rgba(0, 240, 255, 0.15);
  border-color: var(--accent-cyan);
  color: #fff;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.25);
}

/* Product Card */
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem;
  overflow: hidden;
}

.product-art-box {
  width: 100%;
  height: 180px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.5) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  position: relative;
  overflow: hidden;
}

.product-art-box svg {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-art-box svg {
  transform: scale(1.08);
}

.spec-table {
  width: 100%;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  margin: 0.85rem 0;
  border-collapse: collapse;
}

.spec-table td {
  padding: 0.25rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.spec-table td:first-child {
  color: var(--text-dark);
}

.spec-table td:last-child {
  text-align: right;
  color: #e2e8f0;
  font-weight: 500;
}

/* Metric / Stat Card */
.stat-card {
  padding: 1.5rem;
  border-radius: 14px;
  text-align: center;
  background: rgba(13, 20, 38, 0.6);
  border: 1px solid rgba(56, 189, 248, 0.12);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, #00f0ff, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

/* Blueprint / Steps */
.step-number {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0, 240, 255, 0.12);
  border: 1px solid rgba(0, 240, 255, 0.35);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

/* Hardware Desk CTA Section */
.dispatch-terminal {
  background: radial-gradient(circle at top right, rgba(0, 240, 255, 0.12), transparent 60%),
              radial-gradient(circle at bottom left, rgba(139, 92, 246, 0.1), transparent 60%),
              rgba(11, 17, 34, 0.85);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: 20px;
  box-shadow: 0 0 50px rgba(0, 240, 255, 0.12);
}

/* Responsive Navigation & Grid Refinements */
@media (max-width: 900px) {
  .desktop-menu {
    display: none !important;
  }
  .vendor-grid {
    grid-template-columns: 1fr !important;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
  }
  .hero-wrapper {
    padding: 3rem 0 2rem;
  }
}

.nowrap {
  white-space: nowrap;
}

@media (max-width: 640px) {
  .call-text-desktop {
    display: none !important;
  }
  .call-text-mobile {
    display: inline !important;
  }
  .header-call-btn {
    padding: 0.55rem 0.9rem !important;
    font-size: 0.85rem !important;
  }
}
