/* /assets/styles.css */

:root{
  --bg:#070A12;
  --panel:rgba(255,255,255,.06);
  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.68);
  --line:rgba(255,255,255,.12);
  --glow:0 0 40px rgba(90,160,255,.18);
  --glow2:0 0 80px rgba(120,220,255,.14);
  --radius:18px;
  --max:1160px;
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  background:
    radial-gradient(900px 500px at 20% 10%, rgba(70,140,255,.14), transparent 60%),
    radial-gradient(900px 500px at 85% 25%, rgba(90,220,255,.10), transparent 55%),
    radial-gradient(900px 600px at 50% 95%, rgba(140,90,255,.10), transparent 55%),
    var(--bg);
  color:var(--text);
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  overflow-x:hidden;
}

a{color:inherit;text-decoration:none}
.wrap{max-width:var(--max);margin:0 auto;padding:0 20px}

/* Top navigation */
.topbar{
  position:sticky;
  top:0;
  z-index:10;
  backdrop-filter:blur(12px);
  background:linear-gradient(to bottom, rgba(7,10,18,.78), rgba(7,10,18,.35));
  border-bottom:1px solid rgba(255,255,255,.06);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 0;
  gap:16px;
}

/* Brand area (logo + "by XCommNet" logo) */
.brand{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:240px;
}

.brand-link,
.xcn-link{
  display:flex;
  align-items:center;
}

.brand-icon{
  height:42px;
  width:auto;
  display:block;
  filter:drop-shadow(0 0 18px rgba(120,220,255,.18));
  transition:transform .2s ease;
}

.brand-link:hover .brand-icon{
  transform:scale(1.05);
}

.xcn-link{
  opacity:.86;
  transition:opacity .2s ease;
}

.xcn-link:hover{
  opacity:1;
}

.xcn-logo{
  height:36px;
  width:auto;
  display:block;
  filter:brightness(.92);
  margin-bottom: 5px;
}

.links{
  display:flex;
  gap:18px;
  align-items:center;
}

.links a{
  color:var(--muted);
  font-weight:700;
  font-size:14px;
  position:relative;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid transparent;
}

.links a:hover{
  color:var(--text);
  background:rgba(255,255,255,.04);
  border-color:rgba(255,255,255,.10);
}

.cta{
  display:flex;
  gap:10px;
  align-items:center;
}

/* Buttons */
.btn{
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.06);
  color:var(--text);
  padding:10px 14px;
  font-weight:800;
  font-size:14px;
  transition:transform .18s ease, background .18s ease, border-color .18s ease;
  box-shadow:0 12px 30px rgba(0,0,0,.22);
  display:inline-flex;
  gap:10px;
  align-items:center;
  white-space:nowrap;
}

.btn:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,.09);
  border-color:rgba(255,255,255,.22);
}

.btn.primary{
  background:linear-gradient(135deg, rgba(90,160,255,.95), rgba(160,90,255,.75));
  border-color:rgba(255,255,255,.24);
  box-shadow:var(--glow2);
}

.btn.primary:hover{
  background:linear-gradient(135deg, rgba(90,160,255,1), rgba(170,100,255,.85));
}

/* Active nav link via aria-current */
.links a[aria-current="page"]{
  color:var(--text);
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);
}

.links a[aria-current="page"]::after{
  content:"";
  position:absolute;
  inset:auto 10px -2px 10px;
  height:2px;
  border-radius:2px;
  background:linear-gradient(90deg, rgba(120,220,255,.9), rgba(170,100,255,.8));
  box-shadow:0 0 18px rgba(120,220,255,.22);
}

/* Hero */
.hero{
  position:relative;
  padding:72px 0 36px;
}

canvas#stars{
  position:absolute;
  inset:-40px -40px auto -40px;
  width:calc(100% + 80px);
  height:520px;
  pointer-events:none;
  opacity:.9;
  filter:drop-shadow(0 0 18px rgba(120,220,255,.12));
}

.heroGrid{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:22px;
  align-items:stretch;
}

.kicker{
  display:inline-flex;
  gap:10px;
  align-items:center;
  padding:8px 12px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.05);
  border-radius:999px;
  color:var(--muted);
  font-weight:800;
  font-size:13px;
}

.dot{
  width:8px;
  height:8px;
  border-radius:99px;
  background:rgba(120,220,255,.95);
  box-shadow:0 0 18px rgba(120,220,255,.35);
}

h1{
  margin:16px 0 12px;
  font-family:"Space Grotesk",Inter,sans-serif;
  font-weight:600;
  font-size:clamp(34px, 4.6vw, 56px);
  line-height:1.04;
  letter-spacing:-.02em;
}

.lead{
  margin:0;
  color:var(--muted);
  font-size:clamp(16px, 1.5vw, 18px);
  line-height:1.6;
  max-width:58ch;
}

.heroActions{
  margin-top:18px;
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
}

.miniFacts{
  margin-top:18px;
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  color:var(--muted);
  font-weight:800;
  font-size:13px;
}

.miniFacts span{
  padding:8px 10px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  border-radius:999px;
}

.heroCard{
  border-radius:var(--radius);
  border:1px solid rgba(255,255,255,.12);
  background:linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.04));
  box-shadow:0 18px 60px rgba(0,0,0,.35);
  padding:18px;
  position:relative;
  overflow:hidden;
}

.heroCard:before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(450px 200px at 30% 10%, rgba(120,220,255,.16), transparent 65%),
    radial-gradient(450px 200px at 80% 40%, rgba(170,100,255,.12), transparent 60%);
  opacity:.9;
  pointer-events:none;
}

.heroCard > *{position:relative}

/* Vimeo speed test embed */
.videoWrap{
  position:relative;
  width:100%;
  padding-top:56.25%; /* 16:9 */
  border-radius:14px;
  overflow:hidden;
  margin-bottom:14px;
  border:1px solid rgba(255,255,255,.10);
  background:#000;
}

.videoWrap iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
  pointer-events:none; /* prevents accidental interaction */
}

.cardTitle{
  font-family:"Space Grotesk",Inter,sans-serif;
  font-weight:600;
  letter-spacing:-.01em;
  max-width: fit-content;
  margin-left: auto;
  margin-right: auto;
  font-size:18px;
}

.cardBody{
  color:var(--muted);
  margin:0 0 16px;
  line-height:1.6;
  font-size:14px;
}

.grid2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}

.pill{
  border:1px solid rgba(255,255,255,.12);
  background:rgba(0,0,0,.18);
  border-radius:14px;
  padding:12px;
  min-height:92px;
}

.pill b{
  display:block;
  font-size:13px;
  margin-bottom:6px;
  font-weight:900;
}

.pill span{
  display:block;
  color:var(--muted);
  font-size:12.5px;
  line-height:1.45;
}

/* Sections */
section{padding:34px 0}

.sectionHead{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:16px;
}

.sectionHead h2{
  margin:0;
  font-family:"Space Grotesk",Inter,sans-serif;
  font-size:22px;
  letter-spacing:-.01em;
}

.sectionHead p{
  margin:0;
  color:var(--muted);
  font-weight:700;
  max-width:74ch;
  line-height:1.6;
  font-size:14px;
}

.cards{
  display:grid;
  grid-template-columns:repeat(12, 1fr);
  gap:14px;
}

.card{
  grid-column:span 4;
  border-radius:var(--radius);
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.05);
  padding:16px;
  box-shadow:0 14px 46px rgba(0,0,0,.22);
}

.card h3{
  margin:0 0 8px;
  font-size:15px;
  font-weight:900;
  letter-spacing:-.01em;
}

.card p{
  margin:0;
  color:var(--muted);
  line-height:1.6;
  font-size:13.5px;
}

.cardCta{margin-top:10px}
.belowCtas{margin-top:14px}

/* Lists */
.list{
  border-radius:var(--radius);
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  overflow:hidden;
}

.listTight{margin-top:14px}

.row{
  display:flex;
  gap:14px;
  padding:14px 16px;
  border-top:1px solid rgba(255,255,255,.08);
  align-items:flex-start;
}

.row:first-child{border-top:0}

.badge{
  flex:0 0 auto;
  width:28px;
  height:28px;
  border-radius:10px;
  background:rgba(120,220,255,.12);
  border:1px solid rgba(120,220,255,.22);
  box-shadow:0 0 26px rgba(120,220,255,.10);
}

.row b{
  display:block;
  margin:0 0 4px;
  font-size:14px;
  font-weight:900;
}

.row span{
  display:block;
  color:var(--muted);
  font-size:13px;
  line-height:1.55;
}

/* CTA strip */
.ctaStrip{
  border-radius:calc(var(--radius) + 6px);
  border:1px solid rgba(255,255,255,.12);
  background:linear-gradient(135deg, rgba(90,160,255,.18), rgba(160,90,255,.12));
  padding:18px;
  box-shadow:0 20px 70px rgba(0,0,0,.35);
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
  align-items:stretch;
}

.ctaStrip h3{
  margin:0 0 6px;
  font-family:"Space Grotesk",Inter,sans-serif;
  font-size:20px;
  letter-spacing:-.01em;
}

.ctaStrip p{
  margin:0;
  color:var(--muted);
  line-height:1.6;
  font-size:14px;
}

.ctaRow{
  margin-top:12px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

/* Footer */
footer{
  padding:26px 0 0px;
  color:rgba(255,255,255,.55);
  font-size:12.5px;
}

.footerLine{
  border-top:1px solid rgba(255,255,255,.08);
  margin-top:18px;
  padding-top:16px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:space-between;
}
.footer_bottom {
  color: #dddddd;
  display: table-cell;
  text-align: center;
  font-size: 12px;
  line-height: 22px;
  height: 53px;
  width: 1%;
  vertical-align: middle;
}
.footer_bottom_holder {
  display: block;
}

.sep{
  margin:0 10px;
  color:rgba(255,255,255,.45);
}

/* Breadcrumbs */
.crumbs{
  margin-top:10px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  color:var(--muted);
  font-weight:800;
  font-size:13px;
}

.crumbs a{
  color:rgba(255,255,255,.75);
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
}

.crumbs a:hover{
  color:var(--text);
  border-color:rgba(255,255,255,.18);
  background:rgba(255,255,255,.06);
}

.crumbs .sep{
  color:rgba(255,255,255,.35);
  padding:0 2px;
}

/* Responsive */
@media (max-width: 980px){
  .heroGrid{grid-template-columns:1fr;gap:14px}
  canvas#stars{height:420px}
  .card{grid-column:span 6}
}

@media (max-width: 740px){
  .brand{min-width:unset}
  .xcn-logo{height:24px}
}

@media (max-width: 620px){
  .links{display:none}
  .card{grid-column:span 12}
  .grid2{grid-template-columns:1fr}
  .brand-icon{height:40px}
  .xcn-logo{height:22px}
}
