/* ==========================================================
   Nexos Titanium — Premium UI (migrated from plugin public.css)
   Scope: body.nexoswp-page
   ========================================================== */

:root{
  --nx-bg: #050816;
  --nx-ink: #e9eefc;
  --nx-ink-soft: rgba(233,238,252,.78);
  --nx-ink-mute: rgba(233,238,252,.62);

  --nx-card: rgba(255,255,255,.05);
  --nx-card-2: rgba(255,255,255,.035);
  --nx-border: rgba(255,255,255,.10);
  --nx-border-2: rgba(255,255,255,.14);

  --nx-blue-1: rgba(90,150,255,.95);
  --nx-blue-2: rgba(44,92,190,.95);
  --nx-shadow: rgba(0,0,0,.55);

  --nx-gutter: clamp(18px, 4.2vw, 86px);
}

html, body{
  background: var(--nx-bg);
  color: var(--nx-ink);
  overflow-x: hidden;
}

/* Theme pages we render should mark themselves as Nexos UI */
body.nexoswp-page{
  background: var(--nx-bg);
  color: var(--nx-ink);
  overflow-x: hidden;
}

/* Global scope */
body.nexoswp-page .nexos-wrap,
body.nexoswp-page .nexos-wrap *{
  box-sizing:border-box;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

body.nexoswp-page .nexos-container{
  max-width: 1180px;
  margin: 0 auto;
  padding-left: var(--nx-gutter);
  padding-right: var(--nx-gutter);
}

body.nexoswp-page .nexos-wrap a,
body.nexoswp-page .nexos-wrap a:visited{
  color: inherit;
  text-decoration:none;
}

/* ==========================================================
   PAGE BACKGROUND (space glow)
   Theme can set: --nexos-page-bg: url('...')
   ========================================================== */
body.nexoswp-page .nexos-home{
  position:relative;
  min-height: 100vh;
}

body.nexoswp-page .nexos-home:before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-3;
  pointer-events:none;
  background:
    radial-gradient(1200px 700px at 20% -10%, rgba(130,170,255,.24), transparent 60%),
    radial-gradient(900px 600px at 85% 10%, rgba(120,120,255,.18), transparent 55%),
    radial-gradient(700px 500px at 60% 85%, rgba(140,200,255,.10), transparent 60%),
    linear-gradient(180deg, rgba(10,14,28,.85), rgba(5,8,22,1));
}

body.nexoswp-page .nexos-home:after{
  content:"";
  position:fixed;
  inset:0;
  z-index:-2;
  pointer-events:none;
  background:
    linear-gradient(180deg, rgba(5,8,22,.60), rgba(5,8,22,.92)),
    var(--nexos-page-bg, none);
  background-size: cover;
  background-position: center;
  filter: saturate(1.08) contrast(1.04);
  opacity: 1;
}

/* ==========================================================
   TOPBAR
   ========================================================== */
body.nexoswp-page .nexos-topbar{
  position: sticky;
  top: 0;
  z-index: 99999;
  height: 74px;
  display:flex;
  align-items:center;
  background: rgba(0,0,0,.12);
  border-bottom: 1px solid rgba(255,255,255,.07);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
}

body.nexoswp-page .nexos-topbar-inner{
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding-left: var(--nx-gutter);
  padding-right: var(--nx-gutter);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap:18px;
}

body.nexoswp-page .nexos-brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight: 900;
  letter-spacing: .01em;
}

body.nexoswp-page .nexos-brand-mark{
  width: 30px;
  height: 30px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.55));
}

body.nexoswp-page .nexos-brand-text{
  font-size: 20px;
  line-height:1;
  display:flex;
  gap:0;
}
body.nexoswp-page .nexos-brand-text .nexos-brand-nexos{ color: var(--nx-ink); }
body.nexoswp-page .nexos-brand-text .nexos-brand-wp{ color: rgba(110,170,255,.95); }

body.nexoswp-page .nexos-topbar-nav{
  justify-self: center;
  display:flex;
  gap: 28px;
  align-items:center;
  font-size: 14px;
}
body.nexoswp-page .nexos-topbar-nav a{
  color: rgba(233,238,252,.78);
  font-weight: 700;
  opacity: .92;
  transition: opacity .15s ease, color .15s ease;
}
body.nexoswp-page .nexos-topbar-nav a:hover{
  opacity: 1;
  color: rgba(245,248,255,.98);
}

body.nexoswp-page .nexos-nav-caret{
  display:inline-block;
  margin-left:6px;
  transform: translateY(-1px);
  opacity:.65;
  font-size: 12px;
}

body.nexoswp-page .nexos-topbar-right{
  display:flex;
  align-items:center;
  gap: 12px;
}

body.nexoswp-page .nexos-icon-btn{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
}

body.nexoswp-page .nexos-user-icon{
  width: 16px;
  height: 16px;
  display:block;
  border-radius: 999px;
  box-shadow: inset 0 0 0 2px rgba(234,240,255,.75);
  position: relative;
}
body.nexoswp-page .nexos-user-icon:after{
  content:"";
  position:absolute;
  left:50%;
  top: 18px;
  transform: translateX(-50%);
  width: 18px;
  height: 10px;
  border-radius: 999px 999px 10px 10px;
  box-shadow: inset 0 0 0 2px rgba(234,240,255,.75);
  opacity:.9;
}

body.nexoswp-page .nexos-cta-btn{
  height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  display:inline-flex;
  align-items:center;
  gap: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(180deg, rgba(90,150,255,.48), rgba(44,92,190,.32));
  color: rgba(245,248,255,.95);
  font-weight: 900;
  font-size: 13px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 18px 44px rgba(0,0,0,.45);
}

body.nexoswp-page .nexos-cta-x{
  width: 18px;
  height: 18px;
  border-radius: 7px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  font-weight: 900;
  opacity: .9;
  line-height: 1;
}

@media (max-width: 860px){
  body.nexoswp-page .nexos-topbar{ height: 66px; }
  body.nexoswp-page .nexos-topbar-nav{ display:none; }
  body.nexoswp-page .nexos-topbar-inner{
    grid-template-columns: auto 1fr auto;
    padding-left: 14px;
    padding-right: 14px;
  }
}

/* ==========================================================
   BUTTONS
   ========================================================== */
body.nexoswp-page .nexos-actions{
  display:flex;
  gap: 14px;
  margin-top: 18px;
  flex-wrap: wrap;
}

body.nexoswp-page .nexos-btn{
  height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(245,248,255,.95);
  font-weight: 900;
  font-size: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 16px 44px rgba(0,0,0,.42);
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
body.nexoswp-page .nexos-btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.075);
  border-color: rgba(130,170,255,.28);
}

body.nexoswp-page .nexos-btn-primary{
  background: linear-gradient(180deg, rgba(90,150,255,.78), rgba(44,92,190,.55));
  border-color: rgba(255,255,255,.18);
}
body.nexoswp-page .nexos-btn-soft{
  background: linear-gradient(180deg, rgba(90,150,255,.18), rgba(255,255,255,.05));
}
body.nexoswp-page .nexos-btn-block{ width: 100%; justify-content:space-between; padding-right: 14px; }

/* ==========================================================
   HERO
   ========================================================== */
body.nexoswp-page .nexos-hero-target{
  position:relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 72px 0 0;
  overflow:hidden;
}
body.nexoswp-page .nexos-hero-target:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(900px 520px at 20% 40%, rgba(0,0,0,.62), transparent 62%),
    linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.12) 55%, transparent 75%);
  z-index: 0;
}

body.nexoswp-page .nexos-hero-inner{
  max-width: 1180px;
  margin: 0 auto;
  padding-left: var(--nx-gutter);
  padding-right: var(--nx-gutter);
  padding-bottom: 10px;
  display:grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 34px;
  align-items:center;
  position:relative;
  z-index:1;
}

body.nexoswp-page .nexos-h1{
  font-size: 48px;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
  color: rgba(245,248,255,.98);
  text-shadow: 0 18px 70px rgba(0,0,0,.70);
  font-weight: 800;
}

body.nexoswp-page .nexos-sub{
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(233,238,252,.74);
  max-width: 56ch;
  text-shadow: 0 14px 55px rgba(0,0,0,.55);
}

body.nexoswp-page .nexos-hero-art{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  min-height: 260px;
  position:relative;
}
body.nexoswp-page .nexos-hero-art-img{
  width: min(620px, 100%);
  height: auto;
  display:block;
  transform: translateX(30px) translateY(6px);
  filter: drop-shadow(0 26px 60px rgba(0,0,0,.55)) drop-shadow(0 0 26px rgba(120,180,255,.22));
  opacity: .98;
}
body.nexoswp-page .nexos-hero-art:after{
  content:"";
  position:absolute;
  right: 40px;
  bottom: 20px;
  width: 520px;
  height: 120px;
  background: radial-gradient(closest-side, rgba(120,180,255,.22), transparent 70%);
  filter: blur(8px);
  opacity:.8;
  pointer-events:none;
}

/* Trust row inside hero */
body.nexoswp-page .nexos-hero-trust{
  max-width: 1180px;
  margin: 20px auto 0;
  padding: 14px var(--nx-gutter);
  display:flex;
  justify-content:center;
  align-items:center;
  gap: 20px;
  color: rgba(233,238,252,.75);
  font-size: 13px;
  border-top: 1px solid rgba(255,255,255,.10);
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position:relative;
  z-index:1;
}
body.nexoswp-page .nexos-hero-trust-item{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  opacity: .95;
  white-space: nowrap;
}
body.nexoswp-page .nexos-hero-trust-item + .nexos-hero-trust-item{
  position:relative;
  padding-left: 20px;
}
body.nexoswp-page .nexos-hero-trust-item + .nexos-hero-trust-item:before{
  content:"";
  position:absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,.14);
  opacity: .55;
}

body.nexoswp-page .nexos-woo-chip{
  width: 22px;
  height: 16px;
  border-radius: 4px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .02em;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  transform: translateY(-1px);
}

/* ==========================================================
   SECTIONS + CARDS
   ========================================================== */
body.nexoswp-page .nexos-section-head{
  text-align:center;
  padding: 54px 0 18px;
}
body.nexoswp-page .nexos-section-head h2{
  font-size: 34px;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  color: rgba(245,248,255,.96);
}
body.nexoswp-page .nexos-section-head p{
  margin: 0;
  color: rgba(233,238,252,.68);
  font-size: 14.5px;
}

body.nexoswp-page .nexos-cards{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 22px;
  padding: 0 0 30px;
}

body.nexoswp-page .nexos-card-target{
  position:relative;
  border-radius: 16px;
  padding: 18px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 26px 70px rgba(0,0,0,.36);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow:hidden;
  min-height: 245px;
  display:flex;
  flex-direction:column;
}
body.nexoswp-page .nexos-card-target:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), transparent 45%),
    radial-gradient(420px 220px at 20% 0%, rgba(120,180,255,.16), transparent 70%);
  opacity: .9;
}
body.nexoswp-page .nexos-card-top{
  position:relative;
  display:flex;
  align-items:center;
  gap: 12px;
  margin-bottom: 14px;
}
body.nexoswp-page .nexos-card-icon{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 14px 26px rgba(0,0,0,.35);
  overflow:hidden;
}
body.nexoswp-page .nexos-card-thumb{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
}
body.nexoswp-page .nexos-card-title{
  margin: 0;
  font-size: 20px;
  line-height:1.15;
  color: rgba(245,248,255,.96);
  letter-spacing: -0.01em;
}
body.nexoswp-page .nexos-card-mini{
  margin-top: 3px;
  font-size: 12.5px;
  color: rgba(233,238,252,.62);
}
body.nexoswp-page .nexos-card-desc{
  position:relative;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(233,238,252,.70);
}
body.nexoswp-page .nexos-card-actions{
  position:relative;
  margin-top: auto;
  padding-top: 14px;
}
body.nexoswp-page .nexos-card-actions .nexos-btn-block{
  background: linear-gradient(180deg, rgba(90,150,255,.46), rgba(44,92,190,.30));
  border-color: rgba(255,255,255,.16);
}

/* Why cards */
body.nexoswp-page .nexos-why{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
  padding: 10px 0 18px;
}
body.nexoswp-page .nexos-why-card{
  position:relative;
  border-radius: 16px;
  padding: 18px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.11);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 26px 70px rgba(0,0,0,.32);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow:hidden;
}
body.nexoswp-page .nexos-why-icon{
  position:relative;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  margin-bottom: 10px;
  box-shadow: 0 14px 26px rgba(0,0,0,.34);
}
body.nexoswp-page .nexos-why-item b{
  position:relative;
  display:block;
  font-size: 18px;
  margin-bottom: 6px;
  color: rgba(245,248,255,.96);
}
body.nexoswp-page .nexos-why-item span{
  position:relative;
  display:block;
  font-size: 13.8px;
  line-height: 1.65;
  color: rgba(233,238,252,.68);
  min-height: 44px;
}

/* Bottom CTA */
body.nexoswp-page .nexos-cta-bar{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: 44px;
  padding: 22px 0 28px;
  display:flex;
  align-items: center;
  justify-content:space-between;
  gap: 18px;
  border-top: 1px solid rgba(255,255,255,.06);
  background: rgba(0,0,0,.10);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
body.nexoswp-page .nexos-cta-bar > .nexos-cta-left,
body.nexoswp-page .nexos-cta-bar > .nexos-cta-right{
  max-width: 1180px;
  margin: 0 auto;
  padding-left: var(--nx-gutter);
  padding-right: var(--nx-gutter);
}
body.nexoswp-page .nexos-cta-left h2{
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.01em;
  color: rgba(245,248,255,.96);
}
body.nexoswp-page .nexos-cta-legal{
  margin-top: 8px;
  font-size: 12px;
  color: rgba(233,238,252,.52);
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
}
body.nexoswp-page .nexos-cta-legal a{ color: rgba(233,238,252,.58); }
body.nexoswp-page .nexos-cta-legal a:hover{ color: rgba(233,238,252,.82); }
body.nexoswp-page .nexos-dot{ opacity:.45; }

body.nexoswp-page .nexos-cta-right{
  display:flex;
  gap: 12px;
  align-items:center;
  justify-content:flex-end;
}

/* Responsive */
@media (max-width: 980px){
  body.nexoswp-page .nexos-hero-inner{ grid-template-columns: 1fr; gap: 18px; }
  body.nexoswp-page .nexos-hero-art{ justify-content:center; min-height:auto; margin-top: 8px; }
  body.nexoswp-page .nexos-hero-art-img{ width: min(520px, 92vw); transform: none; }
  body.nexoswp-page .nexos-h1{ font-size: clamp(32px, 7vw, 44px); }

  body.nexoswp-page .nexos-cards{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  body.nexoswp-page .nexos-why{ grid-template-columns: repeat(2, minmax(0,1fr)); }

  body.nexoswp-page .nexos-cta-bar{ flex-direction: column; align-items: stretch; }
  body.nexoswp-page .nexos-cta-right{ justify-content:flex-start; flex-wrap:wrap; }
}

@media (max-width: 640px){
  body.nexoswp-page .nexos-actions{ flex-direction: column; gap: 12px; }
  body.nexoswp-page .nexos-btn{ width: 100%; justify-content:center; }
  body.nexoswp-page .nexos-cards, body.nexoswp-page .nexos-why{ grid-template-columns: 1fr; gap: 16px; }
  body.nexoswp-page .nexos-hero-trust{ justify-content:flex-start; overflow-x:auto; gap: 16px; -webkit-overflow-scrolling: touch; }
}

/* ==========================================================
   BG RENDER FIX v1.1.1
   - Some browsers/themes paint body background above negative z-index pseudo layers.
   - Force the hero background image directly on body to guarantee visibility.
   ========================================================== */

body.nexoswp-page{
  background:
    radial-gradient(1200px 700px at 20% -10%, rgba(130,170,255,.24), transparent 60%),
    radial-gradient(900px 600px at 85% 10%, rgba(120,120,255,.18), transparent 55%),
    radial-gradient(700px 500px at 60% 85%, rgba(140,200,255,.10), transparent 60%),
    linear-gradient(180deg, rgba(5,8,22,.55), rgba(5,8,22,.92)),
    var(--nexos-page-bg, none) !important;

  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
}

/* Ensure wrapper backgrounds never cover the body image */
body.nexoswp-page #page,
body.nexoswp-page #content,
body.nexoswp-page .site,
body.nexoswp-page .site-content,
body.nexoswp-page .content-area,
body.nexoswp-page .site-main{
  background: transparent !important;
}

/* Disable pseudo overlays to avoid stacking issues */
body.nexoswp-page .nexos-home:before,
body.nexoswp-page .nexos-home:after{
  display:none !important;
  content:none !important;
}

/* Mobile: fixed backgrounds can be janky */
@media (max-width: 980px){
  body.nexoswp-page{ background-attachment: scroll !important; }
}
