/* ==========================================================
   ROILevel — main.css (mobile-first)
   Premium dark navy + silver + charcoal
   File: /public_html/assets/main.css
   ========================================================== */

/* --------------------------
   0) Theme tokens
--------------------------- */
:root{
  /* === Obsidian Rose Palette === */
  --bg: #1a0b12;            /* deep obsidian base */
  --surface: #2a121c;       /* card surface */
  --surface2:#211018;       /* softer surface */

  --ink: #f7e8ec;           /* soft rose white */
  --muted: rgba(247,232,236,.72);

  --rose: #c57c8a;          /* primary accent */
  --rose-dark: #732c3f;     /* deep accent */
  --rose-light: #f7e8ec;    /* highlight */
  --obsidian: #1a0b12;

  --line: rgba(247,232,236,.12);

  /* Subtle band gradients */
  --bandA: linear-gradient(180deg, rgba(197,124,138,.18), rgba(26,11,18,.12));
  --bandB: linear-gradient(180deg, rgba(115,44,63,.22), rgba(26,11,18,.10));
  --bandC: linear-gradient(180deg, rgba(247,232,236,.06), rgba(247,232,236,.02));

  --radius: 16px;
  --shadow: 0 18px 50px rgba(0,0,0,.55);
  --shadow2: 0 12px 30px rgba(0,0,0,.45);

  --wrap: min(1120px, 92vw);
  --pad: clamp(18px, 2.2vw, 28px);

  --h1: clamp(28px, 3.5vw, 44px);
  --h2: clamp(22px, 2.5vw, 30px);
  --h3: clamp(18px, 2vw, 22px);
  --p:  16px;

  --ease: cubic-bezier(.2,.8,.2,1);
}

/* --------------------------
   1) Reset & base
--------------------------- */
*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, "Apple Color Emoji","Segoe UI Emoji";
  font-size: var(--p);
  line-height: 1.55;
  color: var(--ink);
  background:
  radial-gradient(1600px 900px at 20% -10%, rgba(115,44,63,.35), transparent 70%),
  radial-gradient(1400px 800px at 85% 10%, rgba(197,124,138,.18), transparent 75%),
  radial-gradient(1600px 900px at 50% 120%, rgba(115,44,63,.22), transparent 72%),
  linear-gradient(180deg, #1a0b12 0%, #160811 100%);
background-blend-mode: screen;

  overflow-x:hidden;
}

img{ max-width:100%; height:auto; display:block; }
a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; }
p{ margin:0 0 14px; color: var(--muted); }
strong{ color: var(--ink); }

.container{
  width: var(--wrap);
  margin: 0 auto;
}

.muted{ color: var(--muted); }
.small{ font-size: 13px; color: rgba(238,242,251,.66); }

/* --------------------------
   2) Utilities
--------------------------- */
.section{
  padding: clamp(34px, 5.2vw, 74px) 0;
  position: relative;
}
.section + .section{ border-top: 1px solid rgba(238,242,251,.05); }

.band{
  position: relative;
  overflow: clip;
}
.band::before{
  content:"";
  position:absolute; inset:0;
  pointer-events:none;
  opacity: .95;
}
.band.band-a::before{ background: var(--bandA); }
.band.band-b::before{ background: var(--bandB); }
.band.band-c::before{ background: var(--bandC); }

.card{
  background: rgba(15,23,38,.74);
  border: 1px solid rgba(238,242,251,.11);
  border-radius: var(--radius);
  box-shadow: var(--shadow2);
  padding: var(--pad);
  backdrop-filter: blur(10px);
}
.card.soft{
  background: rgba(12,19,32,.58);
  border-color: rgba(238,242,251,.10);
}

.grid{
  display:grid;
  gap: 14px;
}
@media (min-width: 860px){
  .grid.cols-2{ grid-template-columns: 1.1fr .9fr; gap: 20px; }
  .grid.cols-3{ grid-template-columns: repeat(3, 1fr); gap: 18px; }
}

.hr{
  height:1px;
  background: rgba(238,242,251,.10);
  margin: 18px 0;
}

/* --------------------------
   3) Buttons
--------------------------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(238,242,251,.14);
  background: rgba(238,242,251,.05);
  color: var(--ink);
  font-weight: 700;
  text-decoration:none;
  transition: transform .12s var(--ease), background .12s var(--ease), border-color .12s var(--ease);
  box-shadow: 0 10px 22px rgba(0,0,0,.28);
}
.btn:hover{
  text-decoration:none;
  transform: translateY(-1px);
  background: rgba(238,242,251,.08);
  border-color: rgba(238,242,251,.22);
}

.btn-primary{
  background: linear-gradient(135deg, var(--rose-dark), var(--rose));
  border-color: rgba(255,255,255,.16);
  color: #f7e8ec;
}
.btn-primary:hover{
  background: linear-gradient(135deg, var(--rose), var(--rose-dark));
}

.btn-outline{
  background: transparent;
  border-color: rgba(238,242,251,.20);
}

/* Keep danger for future use */
.btn-danger{
  background: linear-gradient(135deg, rgba(255,90,95,1), rgba(228,233,243,1));
  border-color: rgba(255,255,255,.16);
  color:#1a0b0b;
}

/* --------------------------
   4) Header / Nav
--------------------------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11,15,22,.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(238,242,251,.08);
}
.header-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 8px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 180px;
}
.logo{
  width: 56px;
  height: 56px;
}
.brand-name{
  font-weight: 900;
  letter-spacing: .5px;
  font-size: 18px;
  display:inline-flex;
  align-items:center;
}

/* ROI = metallic rose */
.logo-roi{
  font-weight: 950;
  letter-spacing: .5px;
  background: linear-gradient(135deg, #732c3f, #c57c8a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}
/* Subtle engineered highlight */
.logo-roi::after{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:40%;
  background: linear-gradient(
    to bottom,
    rgba(247,232,236,.25),
    transparent
  );
  pointer-events:none;
}
/* Level = clean contrast */
.logo-level{
  color: #f7e8ec;
  font-weight: 850;
  margin-left:2px;
}


.nav{
  display:none;
  gap: 16px;
  align-items:center;
}
.nav a{
  color: rgba(238,242,251,.80);
  font-weight: 650;
  padding: 8px 10px;
  border-radius: 999px;
}
.nav a:hover{
  text-decoration:none;
  background: rgba(238,242,251,.06);
}
@media (min-width: 860px){
  .nav{ display:flex; }
}

/* Mobile: make header CTA always accessible */
@media (max-width: 859px){
  .header-row .btn{
    padding: 10px 14px;
    font-size: 14px;
  }
  .brand-name{ font-size: 14px; }
}

/* --------------------------
   5) Hero
--------------------------- */
.hero{
  padding: clamp(30px, 5vw, 66px) 0;
}
.hero h1{
  font-size: var(--h1);
  line-height: 1.08;
  margin: 0 0 12px;
  letter-spacing: -0.6px;
}
.hero .lead{
  font-size: clamp(15px, 1.6vw, 18px);
  margin: 0 0 18px;
  color: rgba(238,242,251,.82);
}

/* Hero sub-nav (anchors) — use this when you add the in-hero sub navigation */
.subnav{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin: 14px 0 0;
}
.subnav a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(238,242,251,.14);
  background: rgba(238,242,251,.05);
  color: rgba(238,242,251,.86);
  font-weight: 650;
  font-size: 13px;
}
.subnav a:hover{
  text-decoration:none;
  background: rgba(238,242,251,.08);
  border-color: rgba(238,242,251,.22);
}

.badge-row{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  margin-top: 10px;
}
.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(238,242,251,.14);
  background: rgba(238,242,251,.05);
  color: rgba(238,242,251,.88);
  font-weight: 700;
  font-size: 13px;
}
.dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--silver);
  box-shadow: 0 0 0 4px rgba(199,207,222,.16);
}

/* Hero cards */
.kpi{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.kpi .card{
  padding: 14px;
}
.kpi .num{
  font-size: 22px;
  font-weight: 900;
  color: var(--ink);
}
.kpi .lbl{
  font-size: 13px;
  color: rgba(238,242,251,.72);
}
@media (min-width: 860px){
  .kpi{ grid-template-columns: repeat(2, 1fr); }
}

/* --------------------------
   6) Typography blocks
--------------------------- */
h2{
  font-size: var(--h2);
  margin: 0 0 12px;
  letter-spacing: -0.25px;
}
h3{
  font-size: var(--h3);
  margin: 0 0 10px;
}
ul{
  margin: 0;
  padding-left: 18px;
  color: rgba(238,242,251,.76);
}
li{ margin: 8px 0; }

.link-list{
  list-style:none;
  padding:0;
  margin: 10px 0 0;
}
.link-list li{ margin: 10px 0; }
.link-list a{
  text-decoration:none;
  border-bottom: 1px solid rgba(238,242,251,.18);
  padding-bottom: 2px;
}
.link-list a:hover{
  border-bottom-color: rgba(199,207,222,.85);
}

/* --------------------------
   7) Feature cards
--------------------------- */
.feature-card{
  position: relative;
  overflow: hidden;
}
.feature-card::after{
  content:"";
  position:absolute;
  right:-48px; top:-48px;
  width: 200px; height: 200px;
  background: radial-gradient(circle at 30% 30%, rgba(199,207,222,.18), transparent 62%);
  opacity: .95;
  pointer-events:none;
}
.feature-card .meta{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
  margin-top: 10px;
}
.pill{
  display:inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(238,242,251,.05);
  border: 1px solid rgba(238,242,251,.12);
  font-size: 12.5px;
  color: rgba(238,242,251,.82);
  font-weight: 700;
}

/* --------------------------
   8) Forms
--------------------------- */
.form{
  display:grid;
  gap: 12px;
}
label{
  display:block;
  font-weight: 700;
  color: rgba(238,242,251,.92);
  margin-bottom: 6px;
}
input, textarea, select{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(238,242,251,.14);
  background: rgba(5,9,19,.45);
  color: var(--ink);
  outline: none;
}
textarea{ min-height: 120px; resize: vertical; }
input:focus, textarea:focus, select:focus{
  border-color: rgba(199,207,222,.70);
  box-shadow: 0 0 0 4px rgba(199,207,222,.14);
}

/* --------------------------
   9) CTA strip (premium)
--------------------------- */
.cta-strip{
  border: 1px solid rgba(238,242,251,.12);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(16,40,79,.20), rgba(199,207,222,.08));
  padding: 16px;
  display:flex;
  flex-direction: column;
  gap: 12px;
  align-items:flex-start;
}
@media (min-width: 860px){
  .cta-strip{
    flex-direction: row;
    align-items:center;
    justify-content: space-between;
    gap: 18px;
  }
}
.cta-strip .cta-title{
  font-weight: 900;
  font-size: 18px;
  margin: 0 0 4px;
}
.cta-strip .cta-sub{
  margin: 0;
  color: rgba(238,242,251,.82);
}

/* --------------------------
   10) Footer
--------------------------- */
.site-footer{
  margin-top: 40px;
  border-top: 1px solid rgba(238,242,251,.10);
  background: rgba(5,9,19,.22);
}
.footer-grid{
  display:grid;
  gap: 18px;
  padding: 34px 0 18px;
}
@media (min-width: 860px){
  .footer-grid{
    grid-template-columns: 1.3fr .7fr 1fr;
    gap: 26px;
  }
}
.footer-brand{
  font-weight: 950;
  letter-spacing: .25px;
}
.footer-title{
  font-weight: 850;
  margin-bottom: 10px;
}
.footer-bottom{
  padding: 16px 0 30px;
  border-top: 1px solid rgba(238,242,251,.08);
}

/* --------------------------
   11) Tables (optional)
--------------------------- */
.table{
  width:100%;
  border-collapse: collapse;
  border: 1px solid rgba(238,242,251,.12);
  border-radius: 14px;
  overflow:hidden;
}
.table th, .table td{
  padding: 12px;
  border-bottom: 1px solid rgba(238,242,251,.10);
}
.table th{
  text-align:left;
  background: rgba(238,242,251,.05);
  color: rgba(238,242,251,.92);
}
.table td{ color: rgba(238,242,251,.82); }

/* --------------------------
   12) Accessibility helpers
--------------------------- */
.sr-only{
  position:absolute;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0);
  white-space:nowrap; border:0;
}

/* --------------------------
   13) Optional: floating mobile call button
--------------------------- */
.float-call{
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 60;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 14px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--rose-dark), var(--rose));
  color: #050913;
  font-weight: 900;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow);
}
@media (min-width: 860px){
  .float-call{ display:none; }
}
