
*{box-sizing:border-box;margin:0;padding:0}
body{
  margin:0;
  background:#0b1120;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:#e5e7eb;
}
a{text-decoration:none;color:inherit}

.top-nav{
  position:sticky;top:0;z-index:50;
  background:#020617;
  border-bottom:1px solid #1e293b;
  padding:.7rem 1.8rem;
  display:flex;align-items:center;justify-content:space-between;
}
.nav-left{display:flex;align-items:center;gap:.75rem}
.nav-logo{width:40px;height:40px;border-radius:8px;object-fit:contain}
.nav-brand strong{font-size:.95rem}
.nav-brand span{font-size:.78rem;color:#9ca3af}
.nav-links{display:flex;gap:1.2rem;font-size:.9rem}
.nav-links a{position:relative;color:#bfdbfe;font-weight:600}
.nav-links a::after{
  content:"";position:absolute;left:0;bottom:-3px;width:0%;height:2px;
  background:#38bdf8;transition:width .25s ease;
}
.nav-links a:hover::after{width:100%}

.container{
  max-width:1060px;
  margin:1.6rem auto 2.4rem;
  padding:0 1.5rem;
}

.breadcrumb{
  font-size:.78rem;
  color:#9ca3af;
  margin-bottom:.8rem;
}
.breadcrumb a{color:#93c5fd}
.breadcrumb-sep{margin:0 .25rem}

.card{
  background:radial-gradient(circle at 0 0,#0f172a 0,#020617 55%,#020617 100%);
  border-radius:18px;
  border:1px solid #1e293b;
  box-shadow:0 18px 60px rgba(15,23,42,.9);
  padding:1.6rem 1.7rem;
  margin-bottom:1.4rem;
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover{
  transform:translateY(-3px);
  box-shadow:0 26px 70px rgba(15,23,42,1);
  border-color:#38bdf8;
}

.hero-pill{
  display:inline-flex;align-items:center;
  padding:.18rem .75rem;border-radius:999px;
  background:rgba(56,189,248,.15);
  color:#7dd3fc;font-size:.78rem;font-weight:500;
  border:1px solid rgba(56,189,248,.4);
  margin-bottom:.7rem;
}
h1{
  font-size:1.9rem;
  margin-bottom:.5rem;
  letter-spacing:-.03em;
}
h2{
  font-size:1.18rem;
  margin-top:1.4rem;
  margin-bottom:.35rem;
}
p{
  font-size:.93rem;
  color:#e5e7eb;
  margin-top:.25rem;
}
ul{
  margin:.25rem 0 .6rem 1.15rem;
  font-size:.9rem;
  color:#e5e7eb;
}
.notes{
  font-size:.8rem;
  color:#9ca3af;
  margin-top:.8rem;
  padding-top:.7rem;
  border-top:1px dashed #1e293b;
}

/* buttons */
.hero-actions{
  margin-top:1rem;
  display:flex;flex-wrap:wrap;gap:.7rem;
}
.btn-primary,.btn-outline{
  display:inline-flex;align-items:center;justify-content:center;
  padding:.6rem 1.15rem;border-radius:999px;
  font-size:.88rem;font-weight:600;cursor:pointer;
  border:1px solid transparent;
  transition:transform .15s ease, box-shadow .2s ease,
             background .2s ease,color .2s ease,border-color .2s ease;
}
.btn-primary{
  background:linear-gradient(135deg,#1d4ed8,#0ea5e9);
  color:#e5e7eb;
  box-shadow:0 14px 35px rgba(30,64,175,.8);
}
.btn-primary:hover{
  transform:translateY(-2px);
  box-shadow:0 20px 45px rgba(30,64,175,1);
}
.btn-outline{
  background:transparent;
  color:#bfdbfe;
  border-color:#1d4ed8;
}
.btn-outline:hover{
  background:rgba(15,23,42,.85);
  transform:translateY(-2px);
}
.btn-primary:active,.btn-outline:active{
  transform:scale(.97);
  box-shadow:none;
}

/* product index */
.product-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:1.1rem;
}
.product-card{
  padding:1.1rem 1.2rem 1rem;
}
.product-category{
  font-size:.8rem;
  text-transform:uppercase;
  letter-spacing:.14em;
  color:#9ca3af;
  margin-bottom:.2rem;
}
.product-name{
  font-weight:600;
  margin-bottom:.15rem;
}
.product-tagline{
  font-size:.84rem;
  color:#cbd5f5;
}
.product-meta{
  margin-top:.3rem;
  font-size:.78rem;
  color:#9ca3af;
}

/* product layout with sidebar */
.layout-with-sidebar{
  display:grid;
  grid-template-columns:minmax(0,260px) minmax(0,1fr);
  gap:1.1rem;
}
.sidebar{
  align-self:flex-start;
}
.sidebar h3{
  font-size:.9rem;
  margin-bottom:.5rem;
}
.sidebar a{
  display:block;
  font-size:.84rem;
  color:#bfdbfe;
  padding:.3rem 0;
}
.sidebar a.active{
  color:#22c55e;
}
.sidebar a span{
  color:#64748b;
  font-size:.78rem;
}

/* product main layout inside */
.product-layout-inner{
  display:grid;
  grid-template-columns:minmax(0,320px) minmax(0,1fr);
  gap:1.3rem;
  align-items:flex-start;
}
.product-image-card{
  background:radial-gradient(circle at 0 0,#1e293b 0,#020617 55%,#020617 100%);
  border-radius:14px;
  border:1px solid #1d4ed8;
  padding:1rem;
}
.product-image-card img{
  width:100%;height:auto;display:block;
}
.section-label{
  font-size:.78rem;
  text-transform:uppercase;
  letter-spacing:.14em;
  color:#9ca3af;
  margin-top:.3rem;margin-bottom:.1rem;
}

/* gallery */
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
  gap:1.1rem;
}
.gallery-item{padding:1rem 1rem .9rem;}
.gallery-img-wrap img{
  width:100%;display:block;border-radius:12px;
}
.gallery-title{
  margin-top:.45rem;
  font-size:.95rem;
  font-weight:600;
}
.gallery-subtitle{
  font-size:.8rem;
  color:#9ca3af;
}

/* two-column generic */
.two-column{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:1.1rem;
}

/* FAQ */
.faq-item+ .faq-item{margin-top:.7rem}
.faq-q{font-weight:600;font-size:.9rem;margin-bottom:.15rem}
.faq-a{font-size:.85rem;color:#cbd5f5}

/* scroll animation */
.fade-in{
  opacity:0;
  transform:translateY(18px);
  transition:opacity .6s ease-out,transform .6s ease-out;
}
.fade-in.visible{
  opacity:1;
  transform:translateY(0);
}

/* footer */
.footer{
  padding:1rem 1.5rem 1.4rem;
  border-top:1px solid #1e293b;
  background:#020617;
  font-size:.78rem;
  color:#9ca3af;
  text-align:center;
}

/* responsive */
@media(max-width:900px){
  .top-nav{flex-direction:column;align-items:flex-start;gap:.35rem}
  .nav-links{flex-wrap:wrap}
  .layout-with-sidebar{
    grid-template-columns:minmax(0,1fr);
  }
  .product-layout-inner{
    grid-template-columns:minmax(0,1fr);
  }
  .two-column{
    grid-template-columns:minmax(0,1fr);
  }
}


/* Responsive product images */
.product-image-card img {
  width: 100%;
  height: auto;
  max-width: 380px;
  display: block;
  margin: 0 auto;
}

/* Responsive layout */
@media (max-width: 900px) {
  .product-layout-inner {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr !important;
  }
  .product-image-card img {
    max-width: 300px;
  }
}


/* Category pill & badges */
.product-category {
  margin-bottom: 0.35rem;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(59, 130, 246, 0.7);
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.12), rgba(15, 23, 42, 0.95));
  color: #bfdbfe;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

/* Product image badge */
.product-image-card {
  position: relative;
  overflow: hidden;
}

.product-image-badge {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.9);
  font-size: 0.72rem;
  color: #e5e7eb;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* Gallery badge overlay */
.gallery-img-wrap {
  position: relative;
  overflow: hidden;
}

.gallery-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.85);
  font-size: 0.7rem;
  color: #e5e7eb;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 80;
}

.lightbox-overlay.open {
  display: flex;
}

.lightbox-inner {
  max-width: min(480px, 92vw);
  width: 100%;
  padding: 1.25rem;
  border-radius: 1.25rem;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.12), rgba(15, 23, 42, 0.98));
  box-shadow: 0 25px 60px rgba(0,0,0,0.75);
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.lightbox-inner img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.9rem;
}

.lightbox-caption {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: #e5e7eb;
  opacity: 0.85;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(15, 23, 42, 0.9);
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.9);
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #e5e7eb;
  cursor: pointer;
}

.lightbox-close:hover {
  background: rgba(31, 41, 55, 0.95);
}

.office-thumb-wrap {
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 12px;
  position: relative;
  background-color: #0f172a;
}

.office-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
