/* ═══════════════════════════════════════════════════════════════════════════
   BassoNoise — Phase 5 Frontend Stylesheet
   Brand: Dark Navy + Electric Orange + White
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Design Tokens ─────────────────────────────────────────────────────── */
:root {
  --bg-primary:    #0a0d1a;
  --bg-secondary:  #0e1228;
  --bg-card:       #111730;
  --bg-card-hover: #162040;
  --orange:        #FF6B00;
  --orange-light:  #FF8C2B;
  --orange-glow:   rgba(255, 107, 0, 0.18);
  --orange-dim:    rgba(255, 107, 0, 0.08);
  --navy:          #0D1835;
  --navy-mid:      #132248;
  --white:         #FFFFFF;
  --white-dim:     rgba(255,255,255,0.72);
  --white-muted:   rgba(255,255,255,0.38);
  --text-primary:  #FFFFFF;
  --text-secondary: rgba(255,255,255,0.62);
  --text-muted:    rgba(255,255,255,0.38);
  --border:        rgba(255,255,255,0.06);
  --border-orange: rgba(255,107,0,0.3);
  --green:         #22C55E;
  --yellow:        #EAB308;
  --red:           #EF4444;
  --radius-sm:     8px;
  --radius-md:     16px;
  --radius-lg:     24px;
  --radius-xl:     40px;
  --shadow-orange: 0 0 60px rgba(255,107,0,0.25);
  --shadow-card:   0 8px 40px rgba(0,0,0,0.5);
  --font-sans:     'Space Grotesk', sans-serif;
  --font-mono:     'JetBrains Mono', monospace;
}

/* ─── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.font-mono { font-family: var(--font-mono); }
.text-orange { color: var(--orange); }
.hidden { display: none !important; }

/* ─── Scrollbar ─────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 3px; }

/* ══════════════════════════════════════════════════════════════════════════ */
/* NAVIGATION                                                                 */
/* ══════════════════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(10, 13, 26, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}
.nav-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.bug-icon {
  width: 36px; height: 36px;
  filter: drop-shadow(0 0 8px rgba(255,107,0,0.6));
}
.nav-brand { color: var(--white); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}
.nav-link {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--white-dim);
  transition: color 0.2s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width 0.3s;
}
.nav-link:hover, .nav-link.active {
  color: var(--white);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Cart Button */
.cart-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--orange-dim);
  border: 1px solid var(--border-orange);
  color: var(--orange);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
}
.cart-btn:hover {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 0 15px rgba(255,107,0,0.4);
}
.cart-count {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--orange);
  color: var(--white);
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-btn:hover .cart-count {
  background: var(--white);
  color: var(--orange);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ══════════════════════════════════════════════════════════════════════════ */
/* HERO                                                                       */
/* ══════════════════════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 7rem 4rem 4rem;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.hero-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,107,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,107,0,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-glow {
  position: absolute;
  top: 20%; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 500px;
  background: radial-gradient(ellipse, rgba(255,107,0,0.12) 0%, transparent 70%);
  filter: blur(60px);
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange-dim);
  border: 1px solid var(--border-orange);
  border-radius: var(--radius-xl);
  padding: 6px 16px;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--orange);
  margin-bottom: 2rem;
  animation: fadeSlideIn 0.8s ease forwards;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* Headline */
.hero-headline {
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  animation: fadeSlideIn 0.9s ease 0.1s both;
}
.hero-highlight {
  -webkit-text-stroke: 2px var(--white);
  color: transparent;
}
.hero-orange { color: var(--orange); }

.hero-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  animation: fadeSlideIn 1s ease 0.2s both;
}

/* Buttons */
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeSlideIn 1s ease 0.3s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--orange);
  color: var(--white);
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.25s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,107,0,0.5);
}
.btn-primary:hover::before { opacity: 1; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--white-dim);
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  transition: all 0.25s;
}
.btn-ghost:hover {
  border-color: var(--border-orange);
  color: var(--orange);
  background: var(--orange-dim);
}

.btn-sm { padding: 0.55rem 1.2rem; font-size: 0.78rem; }
.btn-lg { padding: 1rem 2.2rem; font-size: 0.9rem; }
.btn-block { width: 100%; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--white);
  padding: 1rem 2.2rem;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(255,255,255,0.2);
  background: transparent;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  transition: all 0.25s;
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.05);
  transform: translateY(-2px);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 600px;
  animation: fadeIn 1.2s ease 0.4s both;
}
.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border-orange);
  animation: spinSlow linear infinite;
}
.ring-1 { width: 220px; height: 220px; animation-duration: 20s; }
.ring-2 { width: 340px; height: 340px; animation-duration: 32s; animation-direction: reverse; border-style: dashed; border-color: rgba(255,107,0,0.12); }
.ring-3 { width: 480px; height: 480px; animation-duration: 48s; border-color: rgba(255,107,0,0.06); }

@keyframes spinSlow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.hero-logo-large {
  position: absolute;
  filter: drop-shadow(0 0 40px rgba(255,107,0,0.7));
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-16px); }
}

.soundwave-bars {
  position: absolute;
  bottom: 80px;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 60px;
}
.soundwave-bars span {
  display: block;
  width: 5px;
  background: var(--orange);
  border-radius: 3px;
  animation: wavebar 1.4s ease-in-out infinite;
}
.soundwave-bars span:nth-child(1) { height: 20px; animation-delay: 0s; }
.soundwave-bars span:nth-child(2) { height: 35px; animation-delay: 0.1s; }
.soundwave-bars span:nth-child(3) { height: 50px; animation-delay: 0.2s; }
.soundwave-bars span:nth-child(4) { height: 40px; animation-delay: 0.3s; }
.soundwave-bars span:nth-child(5) { height: 55px; animation-delay: 0.4s; }
.soundwave-bars span:nth-child(6) { height: 45px; animation-delay: 0.3s; }
.soundwave-bars span:nth-child(7) { height: 60px; animation-delay: 0.2s; }
.soundwave-bars span:nth-child(8) { height: 48px; animation-delay: 0.1s; }
.soundwave-bars span:nth-child(9) { height: 38px; animation-delay: 0s; }

@keyframes wavebar {
  0%, 100% { transform: scaleY(0.6); opacity: 0.6; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--white-muted);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--orange));
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ══════════════════════════════════════════════════════════════════════════ */
/* TICKER                                                                     */
/* ══════════════════════════════════════════════════════════════════════════ */
.ticker-wrap {
  overflow: hidden;
  background: var(--orange);
  padding: 14px 0;
  white-space: nowrap;
}
.ticker-track {
  display: inline-flex;
  gap: 0;
  animation: ticker 28s linear infinite;
}
.ticker-track span {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--white);
  padding: 0 2rem;
}
.ticker-track .sep {
  color: rgba(255,255,255,0.5);
  padding: 0;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ══════════════════════════════════════════════════════════════════════════ */
/* SECTION COMMONS                                                            */
/* ══════════════════════════════════════════════════════════════════════════ */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 5rem;
}
.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--orange);
  display: block;
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ══════════════════════════════════════════════════════════════════════════ */
/* PRODUCTS                                                                   */
/* ══════════════════════════════════════════════════════════════════════════ */
.products {
  padding: 8rem 4rem;
  max-width: 1400px;
  margin: 0 auto;
}

.product-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding: 4rem 4rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 4rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s, transform 0.4s;
}
.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--orange-dim) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
}
.product-card:hover {
  border-color: var(--border-orange);
  transform: translateY(-4px);
}
.product-card:hover::before { opacity: 1; }
.product-card-reverse { direction: rtl; }
.product-card-reverse > * { direction: ltr; }

.product-number {
  position: absolute;
  top: 2rem; right: 2rem;
  font-size: 5rem;
  font-weight: 700;
  color: rgba(255,107,0,0.06);
  line-height: 1;
  pointer-events: none;
}

.product-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}
.product-badge-tag {
  position: absolute;
  top: 0; left: 0;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 5px 14px;
  border-radius: var(--radius-sm);
}
.tag-yellow { background: #EAB308; color: #111; }

.product-img-wrap {
  position: relative;
  z-index: 1;
}
.product-img {
  width: 320px;
  height: 320px;
  object-fit: contain;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.7));
  transition: transform 0.5s ease;
}
.product-card:hover .product-img {
  transform: scale(1.04) translateY(-8px);
}
.product-glow {
  position: absolute;
  inset: -30%;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
}
.weedo-glow { background: radial-gradient(rgba(255,107,0,0.25), transparent 70%); }
.zing-glow  { background: radial-gradient(rgba(234,179,8,0.2), transparent 70%); }

.product-sound-ring {
  position: absolute;
  width: 360px; height: 360px;
  border: 1px solid rgba(255,107,0,0.12);
  border-radius: 50%;
  animation: spinSlow 30s linear infinite;
}

.product-notes-float {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.product-notes-float span {
  position: absolute;
  font-size: 1.5rem;
  opacity: 0.25;
  color: var(--yellow);
  animation: floatNote 3s ease-in-out infinite;
}
.product-notes-float span:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.product-notes-float span:nth-child(2) { top: 20%; right: 8%; animation-delay: 0.7s; }
.product-notes-float span:nth-child(3) { bottom: 15%; left: 15%; animation-delay: 1.4s; }
.product-notes-float span:nth-child(4) { bottom: 10%; right: 10%; animation-delay: 2.1s; }
@keyframes floatNote {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.2; }
  50% { transform: translateY(-12px) rotate(5deg); opacity: 0.45; }
}

.product-info { padding: 1rem 0; }
.product-series {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: var(--orange);
  margin-bottom: 0.8rem;
}
.product-name {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0.6rem;
}
.product-tagline {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-style: italic;
}
.product-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 2.5rem;
}
.product-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--white-dim);
}
.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.product-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--orange);
}
.product-price-old {
  font-size: 1rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 8px;
}
.product-btn-group {
  display: flex;
  gap: 0.6rem;
}

/* ══════════════════════════════════════════════════════════════════════════ */
/* SPECS SECTION                                                              */
/* ══════════════════════════════════════════════════════════════════════════ */
.specs-section {
  padding: 8rem 4rem;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.specs-section .section-header { max-width: 1400px; margin-left: auto; margin-right: auto; text-align: center; }

.specs-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  gap: 2rem;
  align-items: start;
}
.specs-divider {
  width: 1px;
  background: var(--border);
  align-self: stretch;
  margin: 0 auto;
}
.specs-product-title {
  font-size: 1rem;
  letter-spacing: 0.18em;
  color: var(--orange);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-orange);
}
.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  gap: 1rem;
}
.spec-key {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  flex-shrink: 0;
}
.spec-val {
  font-size: 0.9rem;
  color: var(--white-dim);
  text-align: right;
}

/* ══════════════════════════════════════════════════════════════════════════ */
/* DASHBOARD SECTION                                                          */
/* ══════════════════════════════════════════════════════════════════════════ */
.dashboard-section {
  padding: 8rem 4rem;
  max-width: 1400px;
  margin: 0 auto;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 1.5rem;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.8rem 1.5rem;
  transition: border-color 0.3s, transform 0.3s;
}
.metric-card:hover {
  border-color: var(--border-orange);
  transform: translateY(-3px);
}
.compliance-card { border-color: rgba(34,197,94,0.3); }
.metric-icon { font-size: 1.4rem; margin-bottom: 0.8rem; }
.metric-value {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  font-family: var(--font-mono);
}
.metric-value.green { color: var(--green); }
.metric-unit {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-top: 2px;
}
.metric-label {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: var(--text-secondary);
  margin-top: 0.8rem;
}
.metric-trend {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-top: 0.4rem;
}
.metric-trend.up { color: var(--green); }

.spectrum-card, .nodes-card {
  grid-column: span 4;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem 2rem 1.5rem;
  transition: border-color 0.3s;
}
.spectrum-card:hover, .nodes-card:hover { border-color: var(--border-orange); }

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.card-title {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--text-secondary);
}
.live-dot {
  width: 8px; height: 8px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
  box-shadow: 0 0 8px var(--orange);
}

.spectrum-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 140px;
  overflow: hidden;
}
.spectrum-bars .bar {
  flex: 1;
  background: linear-gradient(to top, var(--orange), rgba(255,107,0,0.3));
  border-radius: 3px 3px 0 0;
  transition: height 0.12s ease;
  min-height: 4px;
}
.spectrum-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
}
.spectrum-labels span {
  font-size: 0.6rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.nodes-grid {
  display: grid;
  grid-template-columns: repeat(16, 1fr);
  gap: 6px;
  margin-bottom: 1rem;
}
.node-dot {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 4px;
  transition: transform 0.2s;
}
.node-dot:hover { transform: scale(1.2); }
.node-dot.online  { background: rgba(34,197,94,0.7);  box-shadow: 0 0 6px rgba(34,197,94,0.4); }
.node-dot.offline { background: rgba(100,116,139,0.3); }
.node-dot.warn    { background: rgba(234,179,8,0.8);   box-shadow: 0 0 6px rgba(234,179,8,0.4); }

.nodes-legend { display: flex; gap: 1.5rem; }
.legend-item { display: flex; align-items: center; gap: 6px; font-size: 0.65rem; color: var(--text-secondary); }
.dot-sample { width: 10px; height: 10px; border-radius: 2px; }
.dot-sample.online  { background: rgba(34,197,94,0.7); }
.dot-sample.offline { background: rgba(100,116,139,0.3); }
.dot-sample.warn    { background: rgba(234,179,8,0.8); }

/* ══════════════════════════════════════════════════════════════════════════ */
/* CONTACT CARDS SECTION                                                      */
/* ══════════════════════════════════════════════════════════════════════════ */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
}
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.contact-card:hover {
  border-color: var(--border-orange);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  box-shadow: 0 10px 30px rgba(255,107,0,0.15);
}
.contact-icon { font-size: 1.8rem; margin-bottom: 4px; }
.contact-title { font-size: 0.72rem; letter-spacing: 0.18em; color: var(--orange); }
.contact-detail { font-size: 1.05rem; font-weight: 600; color: var(--white); }

/* ══════════════════════════════════════════════════════════════════════════ */
/* ORDER SECTION                                                              */
/* ══════════════════════════════════════════════════════════════════════ */
.order-section {
  position: relative;
  padding: 8rem 4rem;
  text-align: center;
  overflow: hidden;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}
.order-bg { position: absolute; inset: 0; pointer-events: none; }
.order-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(255,107,0,0.15) 0%, transparent 70%);
  filter: blur(60px);
}
.order-content { position: relative; max-width: 800px; margin: 0 auto; }
.order-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  filter: drop-shadow(0 0 20px rgba(255,107,0,0.5));
}
.order-brand { color: var(--white); }
.order-headline {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 1rem;
}
.order-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}
.order-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════════════════════════════════════════ */
/* FOOTER                                                                     */
/* ══════════════════════════════════════════════════════════════════════════ */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: 3rem 4rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}
.footer-contact-details {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.footer-contact-details a { color: var(--orange); }
.footer-contact-details a:hover { text-decoration: underline; }
.footer-contact-details .sep { color: var(--text-muted); }

.footer-socials { display: flex; gap: 1rem; }
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  transition: all 0.2s;
}
.social-link:hover {
  border-color: var(--border-orange);
  color: var(--orange);
  background: var(--orange-dim);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom > span {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--orange); }

/* ══════════════════════════════════════════════════════════════════════════ */
/* CART DRAWER & MODAL                                                       */
/* ══════════════════════════════════════════════════════════════════════════ */
.cart-overlay, .modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 13, 26, 0.8);
  backdrop-filter: blur(8px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.cart-overlay.open, .modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* Cart Drawer */
.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  border-left: 1px solid var(--border-orange);
  z-index: 2001;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px rgba(0,0,0,0.8);
}
.cart-drawer.open {
  transform: translateX(0);
}

.cart-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-header h3 { font-size: 0.9rem; letter-spacing: 0.15em; color: var(--orange); }
.cart-close-btn, .modal-close-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}
.cart-close-btn:hover, .modal-close-btn:hover { color: var(--orange); }

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.cart-empty-msg {
  text-align: center;
  color: var(--text-muted);
  margin: auto 0;
  font-size: 0.9rem;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border);
}
.cart-item-img {
  width: 64px; height: 64px;
  object-fit: contain;
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  padding: 6px;
}
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 0.88rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.cart-item-price { font-size: 0.85rem; font-weight: 600; color: var(--orange); }

.qty-control {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 6px;
  margin-top: 6px;
  width: fit-content;
}
.qty-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1rem;
  cursor: pointer;
  padding: 0 4px;
}
.qty-btn:hover { color: var(--orange); }
.qty-val { font-size: 0.8rem; font-weight: 600; color: var(--white); }
.remove-item-btn {
  background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 1.1rem;
}
.remove-item-btn:hover { color: var(--red); }

.cart-footer {
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
}
.cart-summary { margin-bottom: 1.2rem; display: flex; flex-direction: column; gap: 8px; }
.summary-row { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--text-secondary); }
.summary-row.total { font-size: 1.1rem; font-weight: 700; color: var(--white); border-top: 1px solid var(--border); padding-top: 8px; margin-top: 4px; }

/* ══════════════════════════════════════════════════════════════════════════ */
/* PAYMENT MODAL                                                             */
/* ══════════════════════════════════════════════════════════════════════════ */
.payment-modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 90%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-orange);
  border-radius: var(--radius-lg);
  z-index: 2001;
  padding: 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 20px 60px rgba(0,0,0,0.9);
}
.payment-modal.open {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  pointer-events: auto;
}
.modal-close-btn { position: absolute; top: 1.5rem; right: 1.5rem; }

.modal-header { margin-bottom: 2rem; text-align: center; }
.modal-badge { font-size: 0.65rem; letter-spacing: 0.2em; color: var(--orange); margin-bottom: 6px; }

.form-section { margin-bottom: 1.8rem; }
.form-title { font-size: 0.72rem; letter-spacing: 0.15em; color: var(--orange); margin-bottom: 1rem; border-bottom: 1px solid var(--border); padding-bottom: 6px; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full-width { grid-column: span 2; }
.form-group label { font-size: 0.65rem; letter-spacing: 0.12em; color: var(--text-secondary); }
.form-group input {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus { border-color: var(--orange); }

.payment-methods { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1rem; }
.pay-method-option {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  cursor: pointer;
  transition: all 0.2s;
}
.pay-method-option:hover, .pay-method-option.active {
  border-color: var(--border-orange);
  background: var(--orange-dim);
}
.pay-icon { font-size: 1.2rem; }
.pay-label { font-size: 0.8rem; color: var(--white-dim); }

.pay-details {
  background: var(--bg-primary);
  border: 1px dashed var(--border-orange);
  border-radius: var(--radius-sm);
  padding: 1.2rem;
  margin-bottom: 1.5rem;
}
.upi-box { display: flex; align-items: center; gap: 1.2rem; }
.qr-code-placeholder { padding: 8px; background: #fff; border-radius: 4px; }
.upi-info { display: flex; flex-direction: column; gap: 4px; }
.small-text { font-size: 0.75rem; color: var(--text-muted); }

.pay-summary-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-secondary);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  font-weight: 600;
}
.pay-total-amount { font-size: 1.4rem; font-weight: 700; }

.success-box {
  text-align: center;
  padding: 1rem 0;
}
.success-icon { font-size: 3.5rem; margin-bottom: 1rem; }
.success-box h2 { font-size: 2rem; margin-bottom: 0.5rem; }
.order-details-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-orange);
  border-radius: var(--radius-sm);
  padding: 1.2rem;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  font-size: 0.8rem;
}
.order-row { display: flex; justify-content: space-between; }

/* ─── Animations ──────────────────────────────────────────────────────── */
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ══════════════════════════════════════════════════════════════════════════ */
/* RESPONSIVE                                                                 */
/* ══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding: 7rem 2rem 4rem; }
  .hero-content { max-width: 600px; margin: 0 auto; }
  .hero-visual { height: 320px; }
  .hero-headline { font-size: clamp(3rem, 10vw, 5rem); }
  .product-card { grid-template-columns: 1fr; gap: 2rem; padding: 2.5rem; text-align: center; }
  .product-card-reverse { direction: ltr; }
  .product-price-row { justify-content: center; }
  .product-features { align-items: flex-start; max-width: 360px; margin-left: auto; margin-right: auto; }
  .specs-grid { grid-template-columns: 1fr; }
  .specs-divider { display: none; }
  .dashboard-grid { grid-template-columns: repeat(2, 1fr); }
  .spectrum-card, .nodes-card { grid-column: span 2; }
  .nodes-grid { grid-template-columns: repeat(8, 1fr); }
  .contact-info-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: fixed; top: 72px; left: 0; right: 0; background: rgba(10,13,26,0.98); padding: 2rem; gap: 1.5rem; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .products, .specs-section, .dashboard-section, .order-section { padding: 5rem 1.5rem; }
  .dashboard-grid { grid-template-columns: 1fr 1fr; }
  .metric-card { padding: 1.2rem; }
  .footer { padding: 2rem 1.5rem; }
  .footer-top { flex-direction: column; gap: 1.5rem; text-align: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero { padding: 6rem 1.5rem 3rem; }
  .order-btns { flex-direction: column; align-items: center; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full-width { grid-column: span 1; }
  .payment-modal { padding: 1.5rem; }
}
