:root{
  /* BAS Cloud Brand */
  --brand-blue:#1E5AA8;
  --brand-blue-2:#2A73D6;
  --brand-orange:#F28C28;

  /* Dark UI */
  --bg:#0A1220;
  --surface:#0F1B2E;
  --surface-2:#111F35;
  --border:rgba(255,255,255,.10);

  /* Text */
  --text:#EAF0FF;
  --muted:#A9B7D2;

  /* Effects */
  --shadow:0 12px 30px rgba(0,0,0,.35);
  --ring:0 0 0 3px rgba(30,90,168,.35);
}

:root{
  --brand-blue:#1E5AA8;
  --brand-orange:#F28C28;
  --bg:#0B1220;
  --surface:#0F1B2E;
  --text:#EAF0FF;
  --muted:#AAB7D1;
  --border:rgba(255,255,255,0.10);
}

:root{
  --bg:#0b1220;
  --card:#111a2e;
  --muted:#9fb0d0;
  --text:#eaf0ff;
  --brand:#6aa6ff;
  --brand2:#8b5cf6;
  --border:rgba(255,255,255,.10);
  --shadow: 0 10px 30px rgba(0,0,0,.25);
  --radius: 18px;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
  background: radial-gradient(1200px 700px at 20% 0%, rgba(106,166,255,.25), transparent 55%),
              radial-gradient(1100px 650px at 90% 10%, rgba(139,92,246,.20), transparent 55%),
              var(--bg);
  color:var(--text);
  line-height:1.6;
}

a{ color:inherit; text-decoration:none; }
.container{ width:min(1100px, 92%); margin:0 auto; }

header{
  position:sticky; top:0; z-index:50;
  background: rgba(11,18,32,.65);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--border);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}
.brand{
  display:flex; gap:10px; align-items:center;
  font-weight:700; letter-spacing:.2px;
}
.brand-badge{
  width:36px; height:36px; border-radius:12px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow: var(--shadow);
}
.navlinks{
  display:flex; gap:16px; align-items:center; flex-wrap:wrap;
  font-size:14px; color: rgba(234,240,255,.85);
}
.navlinks a{
  padding:8px 10px; border-radius:10px;
}
.navlinks a:hover{ background: rgba(255,255,255,.06); }

.hero{
  padding:64px 0 28px;
}
.hero-grid{
  display:grid; gap:22px;
  grid-template-columns: 1.35fr .65fr;
  align-items:stretch;
}
@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; }
}
.hero-card{
  border:1px solid var(--border);
  background: linear-gradient(180deg, rgba(17,26,46,.92), rgba(17,26,46,.72));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:28px;
}
.kicker{
  color: rgba(234,240,255,.75);
  font-size:13px;
  letter-spacing:.14em;
  text-transform:uppercase;
}
h1{
  font-size: clamp(30px, 4vw, 44px);
  margin:10px 0 10px;
  line-height:1.15;
}
.lead{
  color: rgba(234,240,255,.85);
  font-size: 16px;
  margin:0 0 18px;
}
.cta-row{ display:flex; gap:12px; flex-wrap:wrap; margin-top:14px; }
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 16px; border-radius:14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.06);
  font-weight:600; font-size:14px;
}
.btn:hover{ background: rgba(255,255,255,.10); }
.btn-primary{
  border:none;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color:#07101f;
}
.btn-primary:hover{ filter: brightness(1.05); }

.section{ padding:34px 0; }
.section h2{
  margin:0 0 12px;
  font-size: 22px;
}
.muted{ color: rgba(234,240,255,.78); }

.grid-3{
  display:grid; gap:14px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px){
  .grid-3{ grid-template-columns: 1fr; }
}
.card{
  border:1px solid var(--border);
  background: rgba(17,26,46,.60);
  border-radius: var(--radius);
  padding:18px;
}
.card h3{ margin:0 0 8px; font-size:16px; }
.card p{ margin:0; color: rgba(234,240,255,.78); font-size:14px; }

.list{
  margin: 10px 0 0;
  padding-left: 18px;
  color: rgba(234,240,255,.82);
}
.list li{ margin: 6px 0; }

.split{
  display:grid; gap:14px;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 900px){ .split{ grid-template-columns: 1fr; } }

.footer{
  padding:28px 0 40px;
  border-top:1px solid var(--border);
  color: rgba(234,240,255,.70);
  font-size:14px;
  margin-top:24px;
}
.small{ font-size:13px; color: rgba(234,240,255,.70); }
.hr{ height:1px; background: var(--border); margin:18px 0; }

/* BAS Cloud Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo img {
  height: 34px;
  width: auto;
  display: block;
}

.logo-text {
  font-weight: 600;
  font-size: 1.1rem;
  color: #ffffff;
}

/* BAS Cloud Header Brand Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo {
  height: 34px;
  width: auto;
  display: block;
}

/* Keep existing brand-badge hidden if any page still has it */
.brand-badge {
  display: none !important;
}

/* ==========================
   Brand color overrides
   ========================== */
body{
  background: var(--bg);
  color: var(--text);
}

a{ color: var(--brand-blue); }
a:hover{ color: #3C7BD6; }

/* Primary buttons */
.btn,
button.btn,
a.btn{
  background: var(--brand-blue) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  color: #ffffff !important;
}

/* Secondary / outline buttons (if you have .btn-outline or similar) */
.btn-outline{
  background: transparent !important;
  border: 1px solid var(--brand-blue) !important;
  color: var(--text) !important;
}

/* Accent (orange) for emphasis */
.badge,
.highlight,
.accent{
  color: var(--brand-orange) !important;
}

/* Subtle surfaces */
.card,
.hero-card,
.section,
.panel{
  background: var(--surface);
  border: 1px solid var(--border);
}

/* Nav links */
.navlinks a{
  color: var(--muted);
}
.navlinks a:hover{
  color: var(--text);
}

/* Active nav (if you later add an active state) */
.navlinks a.active{
  color: var(--brand-orange);
}

/* ==========================
   BAS Cloud Premium Theme
   (Logo-inspired: Blue + Orange)
   ========================== */

/* Base */
html, body{
  background: var(--bg);
  color: var(--text);
}

*{ -webkit-tap-highlight-color: transparent; }

a{
  color: var(--brand-blue-2);
  text-decoration: none;
}
a:hover{ color: #4B8EF0; }

/* Header polish */
header{
  background: rgba(10,18,32,.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

/* Brand area */
.brand span{
  color: var(--text);
  font-weight: 650;
  letter-spacing: .2px;
}
.brand-logo{
  border-radius: 6px;
  box-shadow: 0 6px 14px rgba(0,0,0,.25);
}

/* Nav links */
.navlinks a{
  color: var(--muted);
  padding: 10px 10px;
  border-radius: 10px;
  transition: all .15s ease;
}
.navlinks a:hover{
  color: var(--text);
  background: rgba(255,255,255,.04);
}

/* Hero polish (subtle brand glow) */
.hero{
  position: relative;
}
.hero:before{
  content:"";
  position:absolute;
  inset:-40px -20px auto -20px;
  height: 280px;
  background: radial-gradient(600px 260px at 20% 30%,
    rgba(30,90,168,.35),
    rgba(242,140,40,.18),
    transparent 70%);
  pointer-events:none;
  filter: blur(2px);
}

/* Cards / sections */
.hero-card,
.card,
.section,
.panel{
  background: linear-gradient(180deg, rgba(17,31,53,.92), rgba(15,27,46,.92));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 18px;
}

/* Buttons - make them feel “SaaS” */
.btn, a.btn, button.btn{
  background: linear-gradient(180deg, var(--brand-blue-2), var(--brand-blue));
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(30,90,168,.25);
  transition: transform .12s ease, filter .12s ease, box-shadow .12s ease;
}
.btn:hover, a.btn:hover, button.btn:hover{
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(30,90,168,.30);
}
.btn:active, a.btn:active, button.btn:active{
  transform: translateY(0px);
}

/* Secondary button option (if used later) */
.btn-secondary, a.btn-secondary{
  background: rgba(255,255,255,.04) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  color: var(--text) !important;
}

/* Accent (orange) – use for highlights only */
.accent, .highlight, .badge{
  color: var(--brand-orange) !important;
}

/* Form focus (UX improvement) */
input, select, textarea{
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--text);
  border-radius: 12px;
  outline: none;
}
input:focus, select:focus, textarea:focus{
  box-shadow: var(--ring);
  border-color: rgba(30,90,168,.55);
}

/* Small text */
p, li, .muted{
  color: var(--muted);
}
