/* ------------------ Theme ------------------ */
:root{
  --brand-1:#2d3a8c;   /* primary */
  --brand-2:#82a3f1;   /* gradient end */
  --accent:#f9c94f;    /* CTA */
  --ink:#14171f;       /* body text */
  --muted:#60656b;
  --bg:#ffffff;
  --bg-subtle:#f6f7fb;
  --card:#ffffff;
  --ring:#0ea5e9;      /* focus ring */
}

/* ------------------ Base ------------------- */
*{box-sizing:border-box}
html,body{height:100%}
body{
  font-family:'Chivo',system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,'Helvetica Neue',Arial,sans-serif;
  background:var(--bg);
  color:var(--ink);
  margin:0;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
h1,.navbar-brand{font-family:'Space Grotesk',sans-serif}
a{color:var(--brand-2); text-decoration:none}
a:hover{color:var(--brand-1); text-decoration:underline}
.brand-icon{ color:var(--brand-2) }
.navbar-logo {
  height: 2rem;
  width: auto;
  vertical-align: top;
  margin-right: -0.2rem;
}

.sligen-text {
  font-size: 1.6rem;
  color: #5d6f22;
  font-weight: 700;
  text-decoration: none;
}

.sligen-text:hover {
  text-decoration: none;
  color: #5d6f22;
}

/* ------------------ Layout ----------------- */
.container,
.container-lg,
.container-xl { max-width:1160px; }
.section { padding:5rem 0; }
.section-sm { padding:3rem 0; }

/* ---------------- Typography --------------- */
.display-hero{ font-size:clamp(2.4rem,5vw,3.75rem); font-weight:800; letter-spacing:.2px; }
.lead-lg{ font-size:clamp(1.125rem,1.8vw,1.35rem); color:#eaf0ff; }
.eyebrow{
  display:inline-block; font-size:.85rem; letter-spacing:.12em; text-transform:uppercase;
  color:rgba(255,255,255,.85); background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.15); padding:.35rem .6rem; border-radius:999px;
}

/* ------------------ Navbar ----------------- */
.navbar{
  top:0;  z-index:1020;
  background:#ffffffcc;
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  box-shadow:0 2px 12px rgba(0,0,0,.06);
}
@supports not(backdrop-filter: blur(8px)){
  .navbar{background:#fff;}
}
.nav-link{
  font-weight:400;
  color:#2b2f36;
  transition:color .15s ease;
}
.nav-link:hover,.nav-link.active{color:var(--brand-1)}

/* ------------------ Hero ------------------- */
.hero{
  position:relative; overflow:hidden;
  padding:5rem 1rem; min-height:60vh;
  display:flex; flex-direction:column; justify-content:center; text-align:center; color:#fff;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(255,255,255,.12), transparent 60%),
    linear-gradient(135deg, var(--brand-1) 0%, #748a2a 50%, var(--brand-2) 100%);
}
.hero h1{font-weight:700;font-size:2.4rem;letter-spacing:.2px}
.hero p{font-size:1.125rem;max-width:720px;margin:1rem auto;color:#eef1f7}
@media (min-width:768px){.hero h1{font-size:3.25rem}}

/* ------------------ Buttons ---------------- */
.btn-primary{
  background:var(--accent);
  color:#111;
  border:0;
  border-radius:999px;
  padding:.8rem 1.75rem;
  font-size:1rem; font-weight:700;
  box-shadow:0 6px 20px rgba(255,221,87,.35);
  transition:transform .15s ease, box-shadow .2s ease, opacity .2s ease;
}
.btn-primary:hover{transform:translateY(-1.5px); box-shadow:0 10px 26px rgba(255,221,87,.45);}
.btn-primary:active{transform:translateY(0); box-shadow:0 4px 14px rgba(0,0,0,.15);}
.btn-primary:focus-visible{
  outline:2px solid transparent;
  box-shadow:0 0 0 3px var(--ring), 0 6px 20px rgba(255,221,87,.35);
}
.btn-primary:disabled{opacity:.6; pointer-events:none}

/* Pills + ghost (Base44-style) */
.btn-pill{ border-radius:999px; padding:.85rem 1.6rem; font-weight:800; }
.btn-ghost{
  background:rgba(255,255,255,.08); color:#fff; border:1px solid rgba(255,255,255,.25);
}
.btn-ghost:hover{ background:rgba(255,255,255,.12); }

/* -------------- Features / Cards ----------- */
.features{ padding:4rem 1rem; background:var(--bg-subtle) }
.feature-item{
  padding:2rem 1rem;
  border-radius:1rem;
  background:var(--card);
  box-shadow:0 2px 8px rgba(0,0,0,.05);
  transition:transform .2s ease, box-shadow .2s ease;
}
.feature-item:hover{ transform:translateY(-3px); box-shadow:0 6px 20px rgba(0,0,0,.08) }
.feature-item h5{ color:var(--brand-1); margin-bottom:.5rem }
.feature-item .bi{ color:var(--brand-2) }

/* Card + icon badges (Base44-style) */
.card-lite{
  background:var(--card);
  border:1px solid rgba(17,24,39,.06);
  border-radius:1rem;
  box-shadow:0 10px 30px rgba(17,24,39,.06);
  padding:1.5rem;
}
.icon-badge{
  width:48px; height:48px; border-radius:999px;
  display:inline-grid; place-items:center;
  background:rgba(42,102,246,.12); color:var(--brand-2);
}

/* --------- Grids for pricing/testimonials -- */
.grid-3{ display:grid; gap:1.25rem; grid-template-columns:repeat(3,minmax(0,1fr)); }
@media (max-width:992px){ .grid-3{ grid-template-columns:1fr; } }

/* ------------------ Footer ----------------- */
.footer{
  text-align:center;
  padding:2rem 1rem;
  background:var(--bg-subtle);
  font-size:.95rem;
  color:var(--muted);
}

/* ---- Bootstrap color override (if using it) */
.text-primary{ color:var(--brand-1) !important; }
.bg-primary{ background-color:var(--brand-1) !important; }
.border-primary{ border-color:var(--brand-1) !important; }

/* ------------ Accessibility niceties -------- */
:focus-visible{ outline:2px solid var(--ring); outline-offset:2px; }
@media (prefers-reduced-motion:reduce){
  *{animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; scroll-behavior:auto !important}
}
