:root{
  --bg:#0b1220;
  --panel:#0f1a33;
  --panel2:#0c162c;
  --text:#eaf0ff;
  --muted:#a9b4d6;
  --line:rgba(255,255,255,.08);
  --btn:#ffffff;
  --btnText:#0b1220;
  --accent:rgba(255,255,255,.12);
  --shadow: 0 18px 50px rgba(0,0,0,.35);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0;font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial; background:linear-gradient(180deg,var(--bg),#070b15); color:var(--text);}
a{color:inherit;text-decoration:none}
.container{max-width:1100px;margin:0 auto;padding:0 18px}
.header{position:sticky;top:0;z-index:50;background:rgba(11,18,32,.72);backdrop-filter: blur(10px);border-bottom:1px solid var(--line)}
.nav{display:flex;align-items:center;justify-content:space-between;padding:14px 0;gap:16px}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;}
.logo{width:40px;height:40px;border-radius:12px;background:rgba(255,255,255,.12);display:grid;place-items:center;font-weight:800}
.brand-name{font-weight:800;letter-spacing:.2px}
.brand-tag{font-size:12px;color:var(--muted)}
.menu{display:flex;gap:14px;align-items:center;flex-wrap:wrap}
.menu a{font-size:14px;color:var(--muted)}
.menu a:hover{color:var(--text)}

.btn{
  display:inline-flex;align-items:center;justify-content:center;
  gap:10px;border:1px solid rgba(255,255,255,.16);
  background:var(--btn);color:var(--btnText);
  padding:12px 16px;border-radius:14px;font-weight:800;
  box-shadow: var(--shadow);
}
.btn:hover{transform: translateY(-1px)}
.btn.small{padding:10px 12px;border-radius:12px;font-weight:800}
.btn.ghost{background:transparent;color:var(--text);box-shadow:none}
.btn.full{width:100%}

.hero{padding:56px 0 24px}
.hero-grid{display:grid;grid-template-columns:1.25fr .9fr;gap:22px;align-items:start}
h1{font-size:44px;line-height:1.05;margin:0 0 12px}
.lead{font-size:16px;color:var(--muted);line-height:1.6;margin:0 0 18px}
.cta{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0}
.trust{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}
.pill{border:1px solid var(--line);background:rgba(255,255,255,.05);padding:8px 10px;border-radius:999px;font-size:13px;color:var(--muted)}

.section{padding:56px 0}
.section.alt{background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,0))}
.section-head{margin-bottom:18px}
.section-head h2{margin:0 0 8px;font-size:28px}
.section-head p{margin:0;color:var(--muted)}

.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:16px}
.grid2{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-top:14px}

.card{
  border:1px solid var(--line);
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.03));
  border-radius:18px;
  padding:16px;
}
.card h3{margin:0 0 8px}
.card ul{margin:10px 0 0 18px;color:var(--muted);line-height:1.7}
.card p{margin:0;color:var(--muted);line-height:1.6}
.mini{margin-top:10px;color:var(--muted);font-size:13px}
.spacer{height:12px}

.preview{padding:0;overflow:hidden}
.card-top{display:flex;gap:8px;align-items:center;padding:12px 14px;border-bottom:1px solid var(--line)}
.dot{width:10px;height:10px;border-radius:999px;background:rgba(255,255,255,.18)}
.caption{margin-left:auto;font-size:12px;color:var(--muted)}
.mock{padding:14px}
.row{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:12px}
.kpi{border:1px solid var(--line);border-radius:14px;padding:12px;background:rgba(0,0,0,.12)}
.kpi-label{font-size:12px;color:var(--muted)}
.kpi-value{font-size:24px;font-weight:900;margin-top:6px}
.table{border:1px solid var(--line);border-radius:14px;overflow:hidden}
.t-head,.t-row{display:grid;grid-template-columns:1fr 1.4fr .8fr .8fr;gap:10px;padding:10px 12px}
.t-head{background:rgba(255,255,255,.06);font-size:12px;color:var(--muted)}
.t-row{border-top:1px solid var(--line);font-size:13px;color:var(--text)}
.ok{color:#b5f5c8}
.bad{color:#ffd1d1}
.note{margin-top:12px;font-size:13px;color:var(--muted);border-left:3px solid rgba(255,255,255,.18);padding-left:10px}

.callout{
  margin-top:16px;
  border:1px solid var(--line);
  border-radius:18px;
  padding:14px;
  background:rgba(255,255,255,.05);
  color:var(--muted);
}

.pricing{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:16px}
.price .money{font-size:30px;font-weight:950;margin:6px 0 2px}
.price .muted{color:var(--muted);margin-bottom:10px}
.featured{outline:2px solid rgba(255,255,255,.22)}
.badge{display:inline-block;font-size:12px;color:var(--text);background:rgba(255,255,255,.10);border:1px solid var(--line);padding:6px 10px;border-radius:999px;margin-bottom:10px}

.accordion details{
  border:1px solid var(--line);
  border-radius:16px;
  padding:12px 14px;
  background:rgba(255,255,255,.03);
  margin:10px 0;
}
.accordion summary{cursor:pointer;font-weight:800}
.accordion p{margin-top:10px}

.form label{display:block;margin-bottom:12px;color:var(--muted);font-size:13px}
input,textarea{
  width:100%;
  margin-top:6px;
  border-radius:14px;
  border:1px solid var(--line);
  padding:12px 12px;
  background:rgba(0,0,0,.18);
  color:var(--text);
  outline:none;
}
input:focus,textarea:focus{border-color:rgba(255,255,255,.22)}

.steps{margin:10px 0 0 18px;color:var(--muted);line-height:1.7}
.fine{margin-top:12px;color:var(--muted);font-size:12px}

.footer{
  display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;
  margin-top:18px;padding-top:18px;border-top:1px solid var(--line);
  color:var(--muted);font-size:13px;
}

@media (max-width: 920px){
  .hero-grid{grid-template-columns:1fr}
  .grid3{grid-template-columns:1fr}
  .grid2{grid-template-columns:1fr}
  .pricing{grid-template-columns:1fr}
  h1{font-size:36px}
}
.logo-img{
  height:40px;
  width:auto;
  display:block;
}
/* Wordmark logo */
@media (max-width:700px){}


/* Footer CTA */
.footer-links{
  margin-top: 16px;
  display: flex;
  gap: 12px;
  justify-content: center;
}
.footer-cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(150,220,255,.28);
  background: rgba(255,255,255,.06);
  color: rgba(235,242,255,.95);
  text-decoration: none;
  font-weight: 600;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.footer-cta:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.10);
  border-color: rgba(150,220,255,.42);
}


/* CRM section */
.crm-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:16px;
  align-items:stretch;
}
.crm-hero{
  width:100%;
  height:auto;
  border-radius:16px;
  border:1px solid var(--line);
  box-shadow: var(--shadow);
}
.crm-badges{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:12px;
}
.mini{
  margin-top:10px;
  color:var(--muted);
  font-size:14px;
  line-height:1.5;
}
@media (max-width: 920px){
  .crm-grid{grid-template-columns:1fr;}
}

/* Header brand (logo fix) */

.logo-mark{
  height:38px;
  width:auto;
  display:block;
}
.brand-text{display:flex;flex-direction:column;gap:2px;line-height:1.1}
.brand-name{
  font-weight:800;
  letter-spacing:-0.02em;
  font-size:20px;
  color:#eaf2ff;
}
.brand-sub{
  font-size:12px;
  color:rgba(234,242,255,0.78);
  font-weight:500;
}
@media (max-width: 700px){
  .brand-sub{display:none;}
  .brand-name{font-size:18px;}
  .logo-mark{height:34px;width:auto;}
}



/* CRM Teaser Styling */
.micro-muted{
  margin-top: 10px;
  font-size: 12px;
  opacity: 0.75;
  line-height: 1.35;
}

.crm-teaser-block{
  margin-top: 14px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
}

.crm-teaser-title{
  font-weight: 700;
  font-size: 13px;
  opacity: 0.95;
  margin-bottom: 10px;
}

.crm-teaser-image{
  width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
  border: 1px solid rgba(255,255,255,0.08);
}

.crm-teaser-note{
  margin-top: 10px;
  font-size: 12px;
  opacity: 0.7;
}

/* Header Logo Fix */
.logo-full{
  height: 34px;
  width: auto;
  display: block;
}

/* Portal CTA */
.nav-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.92);
  text-decoration:none;
  font-weight:700;
  font-size:13px;
  line-height:1;
}
.nav-cta:hover{ background: rgba(255,255,255,0.10); }

/* Licensing section teaser image */
.teaser-img{
  width:100%;
  height:auto;
  display:block;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(0,0,0,0.15);
}


/* Enterprise v1 (Hybrid) additions */
.proof{
  display:flex;
  gap:18px;
  align-items:stretch;
  justify-content:space-between;
  margin-top:18px;
  flex-wrap:wrap;
}
.proof-left{ flex: 1 1 320px; }
.proof-right{ flex: 1 1 320px; }
.logo-strip{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:10px;
}
.logo-box{
  border:1px dashed var(--line);
  border-radius:14px;
  padding:16px 10px;
  text-align:center;
  font-weight:700;
  color: rgba(255,255,255,.72);
  background: rgba(0,0,0,.18);
}
.modules{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:14px;
}
.module{
  border:1px solid var(--line);
  border-radius:16px;
  padding:16px;
  background: rgba(0,0,0,.16);
}
.module-title{
  font-weight:800;
  font-size:16px;
}
.module-sub{
  display:inline-flex;
  margin-top:6px;
  padding:5px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  color: rgba(255,255,255,.75);
  font-size:12px;
}
.module-desc{ margin-top:10px; color: rgba(255,255,255,.82); }
.note{
  margin-top:14px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(0,0,0,.12);
  color: rgba(255,255,255,.8);
}
.arch{ overflow:hidden; }
.arch-row{
  display:flex;
  align-items:stretch;
  gap:10px;
  flex-wrap:wrap;
}
.arch-box{
  flex: 1 1 180px;
  border:1px solid var(--line);
  border-radius:16px;
  padding:14px;
  background: rgba(0,0,0,.18);
}
.arch-title{ font-weight:800; }
.arch-sub{ margin-top:6px; color: rgba(255,255,255,.78); font-size:13px; }
.arch-arrow{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 6px;
  color: rgba(255,255,255,.55);
  font-weight:900;
}
.arch-foot{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px;
}
.compare{
  display:block;
}
.compare-head, .compare-row{
  display:grid;
  grid-template-columns: 1.5fr .6fr .6fr .7fr;
  gap:10px;
  align-items:center;
}
.compare-head{
  padding:12px 14px;
  border-bottom:1px solid var(--line);
  color: rgba(255,255,255,.75);
  font-weight:800;
}
.compare-row{
  padding:12px 14px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.compare-row:last-child{ border-bottom:none; }
.compare-label{ font-weight:700; }
.compare-col{ text-align:center; }
.compare .ok, .compare .bad, .compare .warn{
  text-align:center;
  font-weight:800;
}
.cta-row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:12px;
}
@media (max-width: 900px){
  .modules{ grid-template-columns: 1fr; }
  .logo-strip{ grid-template-columns: 1fr 1fr; }
  .compare-head, .compare-row{ grid-template-columns: 1.2fr .6fr .6fr .8fr; }
}
