:root {
  /* Core brand colors (from logo) */
  --navy-dark: #050a1a;
  --navy: #0b1433;
  --navy-soft: #111c44;

  --blue-primary: #1ea7ff;
  --blue-secondary: #0b6cff;
  --blue-glow: #4cc9ff;

  --silver: #cfd6df;
  --white: #ffffff;

  /* UI mappings */
  --bg: radial-gradient(
    1200px 600px at 20% 0%,
    #111c44 0%,
    #0b1433 45%,
    #050a1a 100%
  );

  --card-bg: rgba(17, 28, 68, 0.65);
  --border: rgba(76, 201, 255, 0.18);

  --text-primary: #ffffff;
  --text-secondary: #cfd6df;
  --text-muted: rgba(207, 214, 223, 0.75);

  --accent: linear-gradient(
    135deg,
    #1ea7ff 0%,
    #0b6cff 55%,
    #4cc9ff 100%
  );

  --accent-solid: #1ea7ff;

  /* Layout variables */
  --shadow: 0 18px 50px 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;font-family:var(--font);min-height:100vh}
body{
  background: var(--bg);
  color: var(--text-primary);
  overflow-x: hidden; /* prevents sideways shift from 100vw full-bleed sections */
}

a{color:inherit;text-decoration:none}
a:hover{opacity:.92}

/* keep global img sane, but footer/header will override */
img{max-width:100%;height:auto;display:block}

.container{max-width:var(--max);margin:0 auto;padding:0 20px}

/* =========================
   HEADER / NAV
========================= */
header{
  position:sticky;top:0;z-index:30;
  backdrop-filter: blur(12px);
  background: rgba(5,10,26,.55);
  border-bottom: 1px solid var(--border);
}

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

.brand{display:flex;align-items:center;gap:14px}

/* Header logo locked */
header .brand img{
  height: 64px;
  width: auto;
  max-width: none;
  flex: 0 0 auto;
}

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

/* Regular nav links muted */
.navlinks a{
  padding:10px 10px;
  border-radius:12px;
  color:var(--text-muted);
}

/* Active nav link */
.navlinks a.active{
  color:var(--text-primary);
  background:var(--card-bg);
  border:1px solid var(--border);
}

/* ✅ FIX: keep buttons inside nav looking like buttons (Customer Login) */
.navlinks a.btn{
  color:#ffffff;
  background: var(--accent);
  border:none;
  box-shadow: 0 0 18px rgba(76, 201, 255, 0.35);
}

/* CTA wrapper */
.cta{
  display:flex;
  align-items:center;
  gap:10px;
  background: transparent;
  box-shadow: none;
  border: none;
}

.btn,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 14px;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
  white-space: nowrap;
  background: var(--accent);
  color: #ffffff;
  border: none;
  box-shadow: 0 0 18px rgba(76, 201, 255, 0.35);
}

.btn:hover,
button:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 26px rgba(76, 201, 255, 0.55);
}

.menuBtn{display:none}

/* =========================
   HERO
========================= */
.hero{padding:64px 0 28px}
.heroGrid{display:grid;grid-template-columns:1.2fr .8fr;gap:26px;align-items:stretch}

.kicker{
  display:inline-flex;gap:10px;align-items:center;
  padding:8px 12px;border-radius:999px;
  background: var(--card-bg);
  border:1px solid var(--border);
  color: var(--text-muted);
  font-size:14px;
}

h1{font-size:52px;line-height:1.05;margin:16px 0 14px}
h1, h2, h3 { color: var(--white); }

h1 span,
.highlight {
  background: var(--accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead{
  font-size:18px;line-height:1.6;color:var(--text-muted);
  max-width:60ch;margin:0 0 18px
}

.heroCard{
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.04));
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:22px;
  box-shadow: var(--shadow);
  height:100%;
}

.heroCard h3{margin:0 0 10px}
.badges{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
.badge{
  padding:9px 12px;border:1px solid var(--border);
  border-radius:999px;background:var(--card-bg);
  color:var(--text-muted);font-size:14px
}

.quickGrid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}
.quickBox{border:1px solid var(--border);border-radius:16px;padding:14px;background:var(--card-bg)}
.quickBox .t{font-weight:700}
.quickBox .s{color:var(--text-muted);font-size:14px;margin-top:6px}

hr.sep{border:0;border-top:1px solid var(--border);margin:14px 0}

/* =========================
   HERO VIDEO (FULL BLEED)
========================= */
.hero-video-section{
  position: relative;
  width: 100vw;
  left: 50%;
  margin-left: -50vw;
  min-height: 600px;
  overflow: hidden;
  display:flex;
  align-items:center;
}

.hero-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:0;
}

.hero-video-overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(rgba(5,10,26,.80), rgba(5,10,26,.60));
  z-index:1;
}

.hero-content{
  position:relative;
  z-index:2;
  width:100%;
  padding: 80px 0;
}

/* =========================
   SECTIONS / CARDS / PANELS
========================= */
.card,
.section,
.panel {
  background: var(--card-bg);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.section{padding:34px 0}
.sectionTitle{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:14px}
.sectionTitle h2{margin:0;font-size:28px}
.sectionTitle p{margin:0;color:var(--text-muted)}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.card{border-radius: var(--radius);padding:18px}
.card h3{margin:0 0 8px}
.card p{margin:0;color:var(--text-muted);line-height:1.6}

.icon{
  width:44px;height:44px;border-radius:14px;
  display:flex;align-items:center;justify-content:center;
  background: rgba(30,167,255,.18);
  border:1px solid rgba(30,167,255,.25);
  margin-bottom:12px;
}

.split{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.panel{border-radius: var(--radius);padding:18px}
.panel h3{margin:0 0 10px}
.panel ul{margin:0;padding-left:18px;color:var(--text-muted);line-height:1.8}

/* =========================
   FORMS
========================= */
.formWrap{
  background: var(--card-bg);
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:20px;
}

form{display:grid;gap:12px}
label{font-size:14px;color:var(--text-muted)}

input,select,textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.22);
  color: var(--text-primary);
  outline:none;
}

textarea{min-height:110px;resize:vertical}
small{color:var(--text-muted)}
.two{display:grid;grid-template-columns:1fr 1fr;gap:12px}

.notice{
  padding:12px 14px;
  border:1px dashed rgba(255,255,255,.25);
  border-radius:16px;
  background: var(--card-bg);
  color: var(--text-muted);
  line-height:1.6;
}

/* =========================
   FOOTER
========================= */
footer{
  margin-top:26px;
  border-top: 1px solid var(--border);
  background: rgba(5,10,26,.55);
}

.footerGrid{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  padding:18px 0;
}

/* left column */
.footerGrid > div:first-child{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:10px;
  min-width: 0;
  flex: 0 1 520px;
}

/* footer logo locked */
footer img.footer-logo{
  height: 64px;
  width: auto;
  max-width: none;
  flex: 0 0 auto;
  object-fit: contain;
}

.footer-desc{
  color:var(--text-muted);
  margin:0;
  line-height:1.5;
  max-width: 520px;
}

.footerLinks{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:18px;
  flex-wrap:nowrap;
  white-space:nowrap;
}

.footerLinks a{
  color:var(--text-muted);
  padding:8px 10px;
  border-radius:12px;
  border:1px solid transparent;
  transition: all .2s ease;
}

.footerLinks a:hover{
  border-color:var(--border);
  background:var(--card-bg);
}

.copy{
  padding:12px 0;
  color:var(--text-muted);
  font-size:13px;
  border-top:1px solid var(--border);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 920px){
  .heroGrid{grid-template-columns:1fr}
  .cards{grid-template-columns:1fr}
  .split{grid-template-columns:1fr}
  h1{font-size:42px}
  .navlinks{display:none}
  .menuBtn{display:inline-flex}

  .navlinks.open{
    display:flex;position:absolute;left:0;right:0;top:76px;
    padding:12px 20px 18px;flex-direction:column;gap:6px;
    background: rgba(5,10,26,.92);
    border-bottom:1px solid var(--border);
  }
  .navlinks.open a{width:100%}

  .footerGrid{
    flex-direction:column;
    align-items:flex-start;
    gap:14px;
  }
  .footerLinks{
    flex-wrap:wrap;
    justify-content:flex-start;
    gap:12px;
    white-space:normal;
  }
}
