/* OrionNet365 v2 - constellation-inspired, enterprise minimal */
:root{
  --bg0:#070A12;
  --bg1:#0B1220;
  --bg2:#111A2F;
  --text:#EAF0FF;
  --muted:#B8C4E8;
  --line:rgba(255,255,255,.10);
  --accent:#6EE7FF;
  --accent2:#4F7BFF;
  --card:rgba(255,255,255,.04);
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --radius: 18px;
  --max: 1120px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:var(--font);
  color:var(--text);
  background: radial-gradient(1200px 700px at 20% -10%, rgba(79,123,255,.25), transparent 60%),
              radial-gradient(900px 600px at 80% 10%, rgba(110,231,255,.16), transparent 55%),
              linear-gradient(180deg, var(--bg0), var(--bg1) 30%, var(--bg2));
  min-height:100vh;
}

a{color:inherit}
.container{max-width:var(--max); margin:0 auto; padding:0 20px}
.nav{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(7,10,18,.55);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-inner{display:flex; align-items:center; justify-content:space-between; gap:18px; padding:14px 0}
.brand{display:flex; align-items:center; gap:10px; text-decoration:none}
.brand-mark{
  width:34px; height:34px; border-radius:10px;
  background: radial-gradient(circle at 30% 30%, rgba(110,231,255,.9), rgba(79,123,255,.45) 45%, rgba(255,255,255,.06) 70%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset;
  position:relative;
}
.brand-mark:before{
  content:"";
  position:absolute; inset:7px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='rgba(255,255,255,0.55)' stroke-width='1.6'%3E%3Cpath d='M14 40 L28 22 L40 30 L50 18'/%3E%3C/g%3E%3Cg fill='rgba(255,255,255,0.8)'%3E%3Ccircle cx='14' cy='40' r='2.2'/%3E%3Ccircle cx='28' cy='22' r='2.2'/%3E%3Ccircle cx='40' cy='30' r='2.2'/%3E%3Ccircle cx='50' cy='18' r='2.2'/%3E%3C/g%3E%3C/svg%3E");
  background-size:cover;
  opacity:1;
}
.brand-name{font-weight:700; letter-spacing:.2px}
.brand-tag{font-size:12px; color:var(--muted); margin-top:2px}
.brand-stack{display:flex; flex-direction:column; line-height:1.05}

.nav-links{display:flex; gap:14px; flex-wrap:wrap}
.nav-links a{
  text-decoration:none;
  color: rgba(234,240,255,.82);
  font-size:14px;
  padding:8px 10px;
  border-radius:10px;
}
.nav-links a:hover{background:rgba(255,255,255,.06)}

.cta-row{display:flex; gap:10px; flex-wrap:wrap}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 14px;
  border-radius:12px;
  text-decoration:none;
  font-weight:600;
  font-size:14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
}
.btn:hover{background: rgba(255,255,255,.10)}
.btn.primary{
  border-color: rgba(110,231,255,.28);
  background: linear-gradient(90deg, rgba(79,123,255,.40), rgba(110,231,255,.18));
}

.hero{
  padding: 54px 0 26px;
  position:relative;
  overflow:hidden;
}
.hero:before{
  content:"";
  position:absolute; inset:-20% -10%;
  background-image:
    radial-gradient(2px 2px at 10% 20%, rgba(255,255,255,.75) 50%, transparent 55%),
    radial-gradient(1.5px 1.5px at 20% 70%, rgba(255,255,255,.45) 50%, transparent 55%),
    radial-gradient(1.8px 1.8px at 35% 35%, rgba(110,231,255,.55) 50%, transparent 55%),
    radial-gradient(1.2px 1.2px at 52% 18%, rgba(255,255,255,.35) 50%, transparent 55%),
    radial-gradient(1.6px 1.6px at 62% 58%, rgba(79,123,255,.55) 50%, transparent 55%),
    radial-gradient(1.4px 1.4px at 78% 28%, rgba(255,255,255,.35) 50%, transparent 55%),
    radial-gradient(1.9px 1.9px at 86% 66%, rgba(110,231,255,.45) 50%, transparent 55%),
    radial-gradient(1.2px 1.2px at 92% 42%, rgba(255,255,255,.35) 50%, transparent 55%);
  opacity:.85;
  filter: blur(.1px);
  pointer-events:none;
}
.hero:after{
  content:"";
  position:absolute; inset:-10% -20%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='700' viewBox='0 0 1200 700'%3E%3Cdefs%3E%3CradialGradient id='g' cx='55%25' cy='45%25' r='70%25'%3E%3Cstop offset='0%25' stop-color='rgba(110,231,255,0.16)'/%3E%3Cstop offset='45%25' stop-color='rgba(79,123,255,0.10)'/%3E%3Cstop offset='100%25' stop-color='rgba(0,0,0,0)'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath d='M-40 560 C 180 420, 420 360, 660 360 C 900 360, 1080 430, 1260 520' fill='none' stroke='rgba(110,231,255,0.14)' stroke-width='2'/%3E%3Cpath d='M-60 610 C 170 470, 440 410, 700 420 C 960 430, 1110 520, 1280 640' fill='none' stroke='rgba(79,123,255,0.12)' stroke-width='2'/%3E%3Ccircle cx='690' cy='360' r='4' fill='rgba(110,231,255,0.75)'/%3E%3Ccircle cx='520' cy='395' r='3' fill='rgba(255,255,255,0.55)'/%3E%3Ccircle cx='860' cy='405' r='3' fill='rgba(255,255,255,0.45)'/%3E%3Ccircle cx='980' cy='460' r='3' fill='rgba(255,255,255,0.35)'/%3E%3Cpath d='M520 395 L 690 360 L 860 405 L 980 460' fill='none' stroke='rgba(255,255,255,0.18)' stroke-width='1.5'/%3E%3C/svg%3E");
  background-size:cover;
  opacity:1;
  pointer-events:none;
}

.hero-grid{
  position:relative;
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap:24px;
  align-items:center;
}
@media (max-width: 900px){
  .hero-grid{grid-template-columns: 1fr}
}
.kicker{
  display:inline-flex; gap:10px; align-items:center;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(110,231,255,.22);
  background: rgba(110,231,255,.06);
  color: rgba(234,240,255,.86);
  font-size:13px;
}
.dot{
  width:8px; height:8px; border-radius:50%;
  background: var(--accent);
  box-shadow: 0 0 20px rgba(110,231,255,.45);
}
h1{font-size:46px; line-height:1.08; margin:14px 0 10px}
@media (max-width: 600px){ h1{font-size:36px} }
.lede{font-size:17px; line-height:1.6; color: rgba(234,240,255,.84); max-width:58ch}
.card{
  border:1px solid rgba(255,255,255,.08);
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-card{padding:18px}
.hero-card h3{margin:0 0 8px; font-size:14px; letter-spacing:.2px; color: rgba(234,240,255,.9)}
.hero-card ul{margin:10px 0 0; padding-left:18px; color: rgba(234,240,255,.80); font-size:13.5px; line-height:1.55}
.hero-card li{margin:6px 0}

.section{padding: 30px 0}
.section h2{font-size:26px; margin:0 0 10px}
.section p{color: rgba(234,240,255,.80); line-height:1.65; margin:0 0 12px}
.grid3{display:grid; grid-template-columns: repeat(3, 1fr); gap:14px}
@media (max-width: 900px){ .grid3{grid-template-columns:1fr} }
.feature{padding:16px}
.feature h3{margin:0 0 8px; font-size:16px}
.feature p{margin:0; font-size:14px}
.list{
  display:grid; grid-template-columns: 1.1fr .9fr; gap:18px;
}
@media (max-width: 900px){ .list{grid-template-columns:1fr} }
.block{padding:18px}
.block h3{margin:0 0 8px; font-size:16px}
.block ul{margin:10px 0 0; padding-left:18px; color: rgba(234,240,255,.80); line-height:1.6}
blockquote{
  margin:0; padding:16px 16px 16px 18px;
  border-left:3px solid rgba(110,231,255,.45);
  background: rgba(255,255,255,.04);
  border-radius: 14px;
  color: rgba(234,240,255,.84);
}
.footer{
  margin-top: 20px;
  border-top:1px solid rgba(255,255,255,.08);
  padding: 22px 0;
  color: rgba(234,240,255,.70);
  font-size:13px;
}
.footer a{color: rgba(234,240,255,.86)}
.small{font-size:13px; color: rgba(234,240,255,.72)}
.sep{height:1px; background:rgba(255,255,255,.08); margin:18px 0}

.form{
  display:grid; gap:10px;
}
.input, textarea{
  width:100%;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.22);
  color: var(--text);
  font-family: var(--font);
}
textarea{min-height:120px; resize:vertical}
label{font-size:13px; color: rgba(234,240,255,.78)}


/* Enhanced constellation visibility */

.hero:before{
  background-image:
    radial-gradient(2px 2px at 12% 18%, rgba(255,255,255,0.9) 50%, transparent 55%),
    radial-gradient(2px 2px at 24% 62%, rgba(255,255,255,0.85) 50%, transparent 55%),
    radial-gradient(2px 2px at 38% 28%, rgba(110,231,255,0.8) 50%, transparent 55%),
    radial-gradient(2px 2px at 58% 20%, rgba(255,255,255,0.75) 50%, transparent 55%),
    radial-gradient(2px 2px at 72% 52%, rgba(79,123,255,0.8) 50%, transparent 55%),
    radial-gradient(2px 2px at 84% 34%, rgba(255,255,255,0.75) 50%, transparent 55%),
    radial-gradient(2px 2px at 92% 68%, rgba(110,231,255,0.75) 50%, transparent 55%);
}


/* v7: Use real image background for consistent visibility */
.hero{
  position:relative;
  overflow:hidden;
}
.hero:before{
  content:"";
  position:absolute; inset:-10% -10%;
  background-image:
    linear-gradient(180deg, rgba(7,10,18,0.65), rgba(7,10,18,0.25) 35%, rgba(7,10,18,0.75)),
    url("hero-bg.jpg");
  background-size: cover;
  background-position: center;
  opacity: 1;
  pointer-events:none;
  transform: scale(1.02);
}
/* Constellation overlay (subtle but visible) */
.hero:after{
  content:"";
  position:absolute; inset:-10% -10%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1400' height='800' viewBox='0 0 1400 800'%3E%3Cg fill='none' stroke='rgba(255,255,255,0.28)' stroke-width='1.6'%3E%3Cpath d='M240 540 L 380 420 L 520 470 L 680 360 L 840 410 L 1010 330'/%3E%3C/g%3E%3Cg fill='rgba(110,231,255,0.65)'%3E%3Ccircle cx='240' cy='540' r='3'/%3E%3Ccircle cx='380' cy='420' r='3'/%3E%3Ccircle cx='520' cy='470' r='3'/%3E%3Ccircle cx='680' cy='360' r='3.2'/%3E%3Ccircle cx='840' cy='410' r='3'/%3E%3Ccircle cx='1010' cy='330' r='3'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  opacity: .55;
  mix-blend-mode: screen;
  pointer-events:none;
}
/* Keep text above backgrounds */
.hero > .container{position:relative; z-index:2}

/* ===== OrionNet365 background update (page-wide nebula) =====
   Applies the background image across the whole page (except footer),
   instead of only the top hero section.
   Replace hero-bg.jpg in the repo root with your desired image.
*/
html, body {
  height: 100%;
}

body {
  /* Page-wide background */
  background-image:
    linear-gradient(180deg, rgba(7,10,18,0.78), rgba(7,10,18,0.62) 35%, rgba(7,10,18,0.78)),
    url("hero-bg.JPG");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Remove the hero-only image layer so the body background shows through */
.hero {
  background: transparent;
}
.hero:before { display: none !important; }
.hero:after  { display: none !important; }

/* Keep content sections transparent so the page-wide background is visible */
.section {
  background: transparent;
}

/* Optional: add subtle glass effect to cards for readability */
.card {
  background: rgba(12, 18, 32, 0.62);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
}

/* Ensure nav remains readable */
.nav {
  background: rgba(8, 12, 22, 0.78);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* Footer should stay solid, separating it from the background image */
.footer {
  background: #070a12;
}
