/* WXG Optics — October CMS Content Styles (scoped) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

#layout-content {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  padding-top: 0 !important;
}

#layout-content .jumbotron { display: none; }

/* Navbar overrides */
#layout-nav.navbar {
  background: rgba(255,255,255,0.97) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 2px 12px rgba(10,22,40,0.06);
}
#layout-nav .navbar-brand {
  font-family: 'Inter', sans-serif !important;
  font-size: 22px !important;
  font-weight: 400 !important;
  color: #0a1628 !important;
}
#layout-nav .navbar-brand strong { font-weight: 700; color: #0066cc; }
#layout-nav .navbar-nav > li > a {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #64748b !important;
}
#layout-nav .navbar-nav > li.active > a,
#layout-nav .navbar-nav > li > a:hover {
  color: #0066cc !important;
  background: rgba(0,102,204,0.06) !important;
}
#layout-nav .navbar-nav > li.active > a:after { background: #0066cc !important; }
body { padding-top: 70px; font-family: 'Inter', sans-serif; }

/* ---- Hero ---- */
.wxg-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
  overflow: hidden;
  margin-top: -20px;
}
.wxg-hero__bg { position: absolute; inset: 0; z-index: 0; }
.wxg-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center -30px; }
.wxg-hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(10,22,40,0.95) 0%, rgba(10,22,40,0.88) 40%, rgba(0,50,100,0.82) 100%);
}
.wxg-hero__content { position: relative; z-index: 2; max-width: 800px; }
.wxg-hero__badge {
  display: inline-block; padding: 6px 16px;
  background: rgba(0,180,216,0.15); border: 1px solid rgba(0,180,216,0.3);
  border-radius: 100px; font-size: 13px; font-weight: 500; color: #48cae4; margin-bottom: 24px;
}
.wxg-hero__title {
  font-size: clamp(32px, 5vw, 52px); font-weight: 700; line-height: 1.15;
  color: #fff; letter-spacing: -0.03em; margin-bottom: 20px;
}
.wxg-hero__highlight { color: #48cae4; }
.wxg-hero__subtitle { font-size: 18px; line-height: 1.7; color: rgba(255,255,255,0.75); margin-bottom: 36px; max-width: 640px; }
.wxg-hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 56px; }
.wxg-hero__stats {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 24px;
  padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.12);
}
.wxg-stat__value { display: block; font-size: 24px; font-weight: 700; color: #fff; }
.wxg-stat__label { display: block; font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 4px; }

/* ---- Buttons ---- */
.wxg-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 28px; font-size: 14px; font-weight: 600; border-radius: 8px;
  border: 2px solid transparent; cursor: pointer; transition: 0.3s; text-decoration: none !important;
}
.wxg-btn--primary { background: #0066cc; color: #fff !important; border-color: #0066cc; }
.wxg-btn--primary:hover { background: #004d99; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,102,204,0.35); }
.wxg-btn--outline { background: transparent; color: #fff !important; border-color: rgba(255,255,255,0.5); }
.wxg-btn--outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.wxg-btn--lg { padding: 14px 32px; font-size: 15px; }
.wxg-btn--full { width: 100%; display: block; text-align: center; }

/* ---- Sections ---- */
.wxg-section { padding: 80px 0; }
.wxg-section--products { background: #f8fafc; }
.wxg-section--advantages { background: #0a1628; color: #fff; }
.wxg-section--about { background: #f8fafc; }
.wxg-section__header { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.wxg-section__header--light .wxg-section__title { color: #fff; }
.wxg-section__tag {
  display: inline-block; font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em; color: #0066cc; margin-bottom: 12px;
}
.wxg-section--advantages .wxg-section__tag { color: #00b4d8; }
.wxg-section__title { font-size: clamp(26px, 3.5vw, 36px); font-weight: 700; color: #0a1628; margin-bottom: 12px; }
.wxg-section__desc { font-size: 16px; color: #64748b; line-height: 1.7; }

/* ---- Products ---- */
.wxg-product-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.wxg-product-grid--featured { grid-template-columns: repeat(2,1fr); margin-bottom: 20px; }
.wxg-product-card {
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 4px 24px rgba(10,22,40,0.08); border: 1px solid #e2e8f0;
  transition: 0.3s; text-decoration: none !important; color: inherit !important; display: block;
}
.wxg-product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 48px rgba(10,22,40,0.15); border-color: rgba(0,102,204,0.2); }
.wxg-product-card--featured .wxg-product-card__image {
  height: 200px; background: linear-gradient(135deg,#f0f4f8,#e2e8f0);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.wxg-product-card--featured .wxg-product-card__image img { max-height: 160px; width: auto; }
.wxg-product-card__image--voa { background: linear-gradient(135deg,#0a1628,#1a2744) !important; }
.wxg-product-card__body { padding: 24px; }
.wxg-product-card__tag {
  display: inline-block; font-size: 11px; font-weight: 600; text-transform: uppercase;
  color: #0066cc; background: rgba(0,102,204,0.08); padding: 4px 10px; border-radius: 4px; margin-bottom: 10px;
}
.wxg-product-card--voa .wxg-product-card__tag { color: #00b4d8; background: rgba(0,180,216,0.12); }
.wxg-product-card h3 { font-size: 20px; font-weight: 700; color: #0a1628; margin-bottom: 10px; }
.wxg-product-card p { font-size: 14px; color: #64748b; line-height: 1.6; margin-bottom: 12px; }
.wxg-product-card__link { font-size: 14px; font-weight: 600; color: #0066cc !important; }
.wxg-product-card--compact { padding: 24px; text-align: center; }
.wxg-product-card--compact h3 { font-size: 15px; margin-bottom: 6px; }
.wxg-product-card--compact p { font-size: 13px; }
.wxg-product-card__image--sm { height: 80px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.wxg-product-card__image--sm img { max-height: 70px; width: auto; }

/* ---- Advantages ---- */
.wxg-advantage-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.wxg-advantage-card {
  text-align: center; padding: 28px 16px; border-radius: 12px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); transition: 0.3s;
}
.wxg-advantage-card:hover { background: rgba(255,255,255,0.08); border-color: rgba(0,180,216,0.3); }
.wxg-advantage-card img { max-height: 56px; width: auto; margin: 0 auto 16px; filter: brightness(0) invert(1); opacity: 0.85; }
.wxg-advantage-card h3 { font-size: 16px; font-weight: 600; color: #fff; margin-bottom: 8px; }
.wxg-advantage-card p { font-size: 13px; color: #94a3b8; line-height: 1.5; }

/* ---- Applications ---- */
.wxg-app-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.wxg-app-card { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 3/4; display: block; }
.wxg-app-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.wxg-app-card:hover img { transform: scale(1.08); }
.wxg-app-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.9) 0%, transparent 60%);
  display: flex; align-items: flex-end; padding: 20px;
}
.wxg-app-card__overlay h3 { font-size: 15px; font-weight: 600; color: #fff; margin: 0; }

/* ---- About / Contact ---- */
.wxg-about-grid { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }
.wxg-about-grid p { font-size: 15px; color: #64748b; line-height: 1.7; margin-bottom: 12px; }
.wxg-contact-card {
  background: #fff; border-radius: 16px; padding: 32px;
  box-shadow: 0 12px 48px rgba(10,22,40,0.12); border: 1px solid #e2e8f0;
}
.wxg-contact-card h3 { font-size: 20px; font-weight: 700; color: #0a1628; margin-bottom: 20px; }
.wxg-contact-card p { font-size: 14px; margin-bottom: 10px; }
.wxg-contact-card a { color: #0066cc; font-weight: 500; }

/* ---- Footer ---- */
#layout-footer #footer { background: #0a1628; color: rgba(255,255,255,0.6); padding: 32px 0; }
#layout-footer #footer hr { border-color: rgba(255,255,255,0.1); }

/* ---- Responsive ---- */
@media (max-width: 992px) {
  .wxg-product-grid, .wxg-product-grid--featured, .wxg-advantage-grid, .wxg-app-grid { grid-template-columns: repeat(2,1fr); }
  .wxg-about-grid { grid-template-columns: 1fr; }
  .wxg-hero__stats { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 576px) {
  .wxg-product-grid, .wxg-product-grid--featured, .wxg-advantage-grid, .wxg-app-grid { grid-template-columns: 1fr; }
  .wxg-hero__title { font-size: 28px; }
}
