/* =========================================================
   NEXORA HOME – FULLY ISOLATED CSS (SAFE FOR LAGOM)
   ========================================================= */

#nexora-home{
  --blue:#4f7cff;
  --purple:#8b5cf6;
  --text:#0f172a;
  --muted:#64748b;
  --border:#e5e7eb;
  --bg:#f8fafc;

  font-family:Inter,system-ui,sans-serif;
  color:var(--text);
  background:var(--bg);
}

/* box sizing isolation */
#nexora-home *,
#nexora-home *::before,
#nexora-home *::after{
  box-sizing:border-box;
}

/* ================= ANIMATIONS ================= */

@keyframes nexora-fade-up{
  from{opacity:0;transform:translateY(24px)}
  to{opacity:1;transform:none}
}

@keyframes nexora-fade-left{
  from{opacity:0;transform:translateX(-32px)}
  to{opacity:1;transform:none}
}

@keyframes nexora-pulse{
  to{transform:scale(3);opacity:0}
}

/* ================= HERO ================= */

#nexora-home .hero{
  position:relative;
  overflow:hidden;
}

#nexora-home .hero-inner{
  max-width:1200px;
  margin:auto;
  padding:80px 24px 40px;
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:64px;
  align-items:center;
}

#nexora-home .hero-left{
  animation:nexora-fade-left .8s ease forwards;
}

#nexora-home h1{
  font-size:56px;
  line-height:1.05;
  margin:0 0 22px;
}

#nexora-home h1 span{
  color:var(--blue);
}

#nexora-home .hero p{
  font-size:18px;
  color:var(--muted);
}

#nexora-home .hero-buttons{
  margin-top:28px;
  display:flex;
  gap:14px;
  animation:nexora-fade-up .6s ease forwards;
}

#nexora-home .btn-primary{
  padding:14px 26px;
  background:var(--blue);
  color:#fff;
  border:none;
  border-radius:14px;
  font-weight:600;
  cursor:pointer;
}

#nexora-home .btn-outline{
  padding:14px 26px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:14px;
  font-weight:600;
  display:flex;
  align-items:center;
  gap:8px;
}

/* ================= PRICING ================= */

#nexora-home .pricing-section{
  max-width:1200px;
  margin:80px auto;
  padding:0 24px;
}

#nexora-home .pricing-header{
  text-align:center;
  margin-bottom:28px;
}

#nexora-home .pricing-header h2{
  font-size:32px;
  font-weight:700;
}

#nexora-home .pricing-header p{
  color:var(--muted);
}

/* top bar */
#nexora-home .pricing-topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:32px;
}

#nexora-home .location-switcher{
  display:flex;
  gap:8px;
  background:#f1f5f9;
  padding:6px;
  border-radius:999px;
}

#nexora-home .loc{
  display:flex;
  align-items:center;
  gap:8px;
  border:none;
  background:transparent;
  padding:8px 14px;
  border-radius:999px;
  font-size:13px;
}

#nexora-home .loc.active{
  background:#fff;
  box-shadow:0 4px 14px rgba(0,0,0,.08);
  font-weight:600;
}

#nexora-home .loc.disabled{
  opacity:.4;
  cursor:not-allowed;
}

/* cards grid */
#nexora-home .pricing-cards{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
}

#nexora-home .product-card{
  background:#fff;
  border-radius:18px;
  padding:24px;
  box-shadow:0 20px 50px rgba(0,0,0,.08);
  position:relative;
}

#nexora-home .product-card.popular{
  border:2px solid var(--blue);
}

/* header */
#nexora-home .card-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:12px;
}

#nexora-home .server-icon{
  width:42px;
  height:42px;
  border-radius:10px;
  background:#0f172a;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* stock */
#nexora-home .stock{
  font-size:13px;
  color:#16a34a;
  display:flex;
  align-items:center;
  gap:6px;
}

#nexora-home .pulse{
  width:8px;
  height:8px;
  background:#16a34a;
  border-radius:50%;
  position:relative;
}

#nexora-home .pulse::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:50%;
  background:rgba(22,163,74,.35);
  animation:nexora-pulse 1.8s infinite;
}

/* price */
#nexora-home .price{
  font-size:32px;
  font-weight:700;
  color:var(--blue);
  margin-bottom:16px;
}

#nexora-home .price span{
  font-size:14px;
  color:var(--muted);
}

/* specs */
#nexora-home .specs{
  list-style:none;
  padding:0;
  margin-bottom:18px;
}

#nexora-home .specs li{
  display:flex;
  gap:10px;
  font-size:14px;
  margin-bottom:8px;
}

#nexora-home .specs i{
  color:var(--blue);
}

/* button */
#nexora-home .order-btn{
  width:100%;
  padding:12px;
  border:none;
  border-radius:12px;
  background:var(--blue);
  color:#fff;
  font-weight:600;
  cursor:pointer;
  transition:.25s;
}

#nexora-home .order-btn:hover{
  background:#3b63f3;
  transform:translateY(-2px);
  box-shadow:0 12px 30px rgba(79,124,255,.35);
}

#nexora-home .deploy{
  margin-top:10px;
  font-size:13px;
  color:#475569;
  display:flex;
  justify-content:center;
  gap:6px;
}

/* ================= HARDWARE ================= */

#nexora-home .hardware-section{
  margin:80px auto;
  padding:40px 24px;
  max-width:1200px;
  background:#f8fafc;
  border-radius:24px;
}

#nexora-home .hardware-cards{
  display:flex;
  justify-content:center;
  gap:24px;
}

#nexora-home .hardware-card{
  background:#fff;
  border-radius:16px;
  padding:20px 24px;
  display:flex;
  align-items:center;
  gap:18px;
  min-width:360px;
  box-shadow:0 18px 45px rgba(0,0,0,.08);
  transition:.35s ease;
}

#nexora-home .hardware-card:hover{
  transform:translateY(-4px);
  box-shadow:0 28px 60px rgba(0,0,0,.12);
}

#nexora-home .hardware-logo{
  width:64px;
  height:64px;
  border-radius:14px;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 6px 20px rgba(0,0,0,.1);
}

#nexora-home .hardware-logo img{
  max-width:48px;
  max-height:48px;
}

/* ================= RESPONSIVE ================= */

@media(max-width:900px){
  #nexora-home .hero-inner{
    grid-template-columns:1fr;
  }

  #nexora-home h1{
    font-size:42px;
  }

  #nexora-home .pricing-cards{
    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:600px){
  #nexora-home .pricing-cards{
    grid-template-columns:1fr;
  }
}
