:root{
  --navy:#0F1C2E;
  --charcoal:#111827;
  --soft:#F5F7FA;
  --blue:#1E6BD6;
  --teal:#2DD4BF;
  --text:#0B1220;
  --muted:#5B677A;
  --card:#FFFFFF;
  --border:rgba(15,28,46,0.12);
  --shadow:0 10px 25px rgba(0,0,0,0.08);
  --radius:14px;
  --max:1180px;
}

*{ box-sizing:border-box; }

body{
  margin:0;
  font-family:Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  line-height:1.6;
  background:#fff;
}

a{ text-decoration:none; color:inherit; }

.container{
  width:min(var(--max), 92vw);
  margin:0 auto;
}

/* =========================
   NAV
========================= */
.nav{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(15,28,46,0.92);
  backdrop-filter: blur(8px);
  border-bottom:1px solid rgba(255,255,255,0.08);
  box-shadow:0 10px 30px rgba(0,0,0,0.18);
}

.nav__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
}

.brand__mark{
  display: none !important;
}

.brand__name{
  color:#fff;
  font-weight:700;
}

.brand__logo {
  height: 40px; /* or 48px, adjust as needed */
  width: auto;
  margin-right: 10px;
  vertical-align: middle;
}

/* Links container */
.nav__links{
  display:flex;
  gap:20px;
}

/* Support older markup if any page uses .nav__link */
.nav__links a,
.nav__link{
  color:rgba(255,255,255,0.88);
  font-size:14px;
  padding:8px 10px;
  border-radius:10px;
  display:inline-block;
}

.nav__links a:hover,
.nav__link:hover{
  background:rgba(255,255,255,0.08);
  color:#fff;
}

/* Active page link (recommended) */
.nav__links a[aria-current="page"]{
  background:rgba(255,255,255,0.10);
  color:#fff;
}

/* Active page link (fallback if you use class="is-active") */
.nav__links a.is-active,
.nav__link.is-active{
  background:rgba(255,255,255,0.10);
  color:#fff;
}

/* CTA container (new markup) */
.nav__cta{
  display:flex;
  gap:10px;
  align-items:center;
}

/* Support older markup if any page uses .nav__actions */
.nav__actions{
  display:flex;
  gap:10px;
  align-items:center;
}

/* =========================
   BUTTONS
========================= */
.btn{
  display:inline-block;
  padding:12px 16px;
  border-radius:12px;
  font-weight:600;
  line-height:1;
}

.btn--primary{
  background:var(--blue);
  color:#fff;
}
.btn--primary:hover{ filter:brightness(1.05); }

.btn--ghost{
  border:1px solid rgba(255,255,255,0.30);
  color:#fff;
  background:transparent;
}
.btn--ghost:hover{
  background:rgba(255,255,255,0.08);
}

.btn--ghost-light{
  border:1px solid rgba(255,255,255,0.32);
  background:rgba(255,255,255,0.08);
  color:#fff;
}
.btn--ghost-light:hover{
  background:rgba(255,255,255,0.12);
}

/* =========================
   HERO
========================= */
.hero{
  position:relative;
  color:#fff;
  background:var(--navy);
  overflow:hidden;
}

.hero__bg{
  position:absolute;
  inset:0;
  background:
    linear-gradient(
      90deg,
      rgba(15,28,46,0.92) 0%,
      rgba(15,28,46,0.85) 40%,
      rgba(15,28,46,0.65) 65%,
      rgba(15,28,46,0.90) 100%
    ),
    url('images/hero-fintech.jpg');
  background-size:cover;
  background-position:60% center;
  filter: contrast(1.12) brightness(0.95) saturate(0.85);
}

/* Homepage hero (immersive layout) */
.hero--home{
  min-height:560px;
  display:flex;
  align-items:center;
}

.hero__grid{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:1.3fr 0.9fr;
  gap:24px;
  align-items:center;
  padding:90px 0 80px;
}

.eyebrow{
  margin:0 0 14px;
  font-size:13px;
  letter-spacing:0.6px;
  text-transform:uppercase;
  color:rgba(255,255,255,0.8);
  display:flex;
  align-items:center;
  gap:10px;
}

.eyebrow::before{
  content:"";
  width:18px;
  height:2px;
  border-radius:999px;
  background:linear-gradient(90deg,var(--teal),var(--blue));
  display:inline-block;
}

.hero__content{
  max-width:720px;
}

.hero__content h1{
  margin:0 0 16px;
  font-size:clamp(34px,4.2vw,58px);
  line-height:1.05;
  letter-spacing:-0.02em;
}

.hero__content .lead{
  margin:0 0 22px;
  max-width:68ch;
  color:rgba(255,255,255,0.88);
  font-size:16px;
}

.sub--hero{
  color:rgba(255,255,255,0.78);
  margin-top:12px;
}

.hero__actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:18px;
}

.hero__chips{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.chip{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  font-size:13px;
  color:rgba(255,255,255,0.85);
  border:1px solid rgba(255,255,255,0.18);
  background:rgba(15,28,46,0.28);
  backdrop-filter: blur(6px);
}

/* Right-side panel (home hero) */
.hero__panel{
  background:rgba(15,28,46,0.72);
  border:1px solid rgba(255,255,255,0.20);
  border-radius:18px;
  padding:20px;
  box-shadow:0 18px 40px rgba(0,0,0,0.25);
  backdrop-filter: blur(10px);
}

.hero__panel h3{
  margin:0 0 8px;
  color:#fff;
  font-size:16px;
}

.hero__panel p{
  margin:0 0 14px;
  color:rgba(255,255,255,0.78);
  font-size:14px;
}

.panel__links{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.panel__links a{
  color:#fff;
  font-weight:600;
  font-size:14px;
  opacity:0.9;
}
.panel__links a:hover{
  opacity:1;
  text-decoration:underline;
}

/* =========================
   SECTIONS + TYPOGRAPHY
========================= */
.section{ padding:90px 0; }

.section--soft{
  background:var(--soft);
  border-top:1px solid rgba(0,0,0,0.04);
}

h2{
  font-size:30px;
  margin:0 0 14px;
}

.sub{
  color:var(--muted);
  max-width:750px;
  margin:0 0 30px;
}

/* =========================
   GRID + CARDS
========================= */
.grid{
  display:grid;
  gap:20px;
}

.grid--3{
  grid-template-columns:repeat(3, minmax(0, 1fr));
}

.grid--2{
  grid-template-columns:repeat(2, minmax(0, 1fr));
}

.card{
  background:#fff;
  padding:20px;
  border-radius:var(--radius);
  border:1px solid var(--border);
  box-shadow:var(--shadow);
}

.card h3{
  margin:0 0 8px;
  font-size:16px;
}

.card p{
  margin:0;
  color:var(--muted);
  font-size:14px;
}

/* =========================
   LIST HELPERS (bullets + spacing)
========================= */
.bullets{
  margin:10px 0 0;
  padding-left:18px;
}

.bullets li{
  margin:8px 0;
}

.stack-18{ margin-top:18px; }
.stack-10{ margin-top:10px; }

.cta-row{
  margin-top:22px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

/* =========================
   FOOTER
========================= */
footer{
  background:#0B1220;
  color:rgba(255,255,255,0.75);
  padding:90px 0 40px;
  font-size:14px;
  border-top:1px solid rgba(255,255,255,0.05);
}

.footer__inner{
  max-width:1200px;
  margin:0 auto;
  padding:0 24px;
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:40px;
  flex-wrap:wrap;
}

.footer__left{
  max-width:420px;
}

.footer__brand{
  font-weight:600;
  color:#fff;
  margin-bottom:10px;
  font-size:16px;
  letter-spacing:.3px;
}

.footer__tagline{
  color:rgba(255,255,255,0.6);
  font-size:13px;
  line-height:1.6;
}

.footer__right{
  display:flex;
  gap:24px;
  flex-wrap:wrap;
}

.footer__links{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.footer__links strong{
  color:#fff;
  font-weight:700;
  margin-bottom:6px;
}

.footer__links a{
  color:rgba(255,255,255,0.75);
  transition:opacity .2s ease;
  font-size:13px;
}

.footer__links a:hover{
  opacity:.6;
}

.footer__bottom{
  margin-top:50px;
  padding-top:20px;
  border-top:1px solid rgba(255,255,255,0.05);
  font-size:12px;
  color:rgba(255,255,255,0.45);
  text-align:center;
}

/* =========================
   RESPONSIVE
========================= */
@media(max-width: 980px){
  .grid--3{ grid-template-columns:1fr; }
  .grid--2{ grid-template-columns:1fr; }

  .nav__links{ display:none; }
  .hero__grid{ grid-template-columns:1fr; }
  .hero--home{ min-height:auto; }
  .hero__panel{ margin-top:14px; }
}

/* Hamburger button */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 100;
}
.nav__toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

/* Mobile menu (drawer style, hidden by default) */
.nav__mobile {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 80vw;
  max-width: 320px;
  background: var(--navy);
  padding: 80px 0 16px 0;
  gap: 12px;
  z-index: 99;
  box-shadow: 4px 0 24px rgba(0,0,0,0.18);
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(.4,0,.2,1);
}
.nav__mobile.is-open {
  transform: translateX(0);
}
.nav__mobile a {
  color: #fff;
  font-size: 18px;
  padding: 12px 24px;
}
.nav__mobile-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}
@media (max-width: 980px) {
  .nav__toggle { display: flex; }
  .nav__cta {
    display: none !important;
  }
}
@media (min-width: 981px) {
  .nav__mobile, .nav__toggle { display: none !important; }
}