/* ============ Tokens ============ */
:root {
  --navy-950: #070f1e;
  --navy-900: #0a1628;
  --navy-800: #0f1f38;
  --navy-700: #16294a;
  --gold: #d4af6a;
  --gold-soft: #e8cf9e;
  --ink: #14203a;
  --slate: #4a5876;
  --mist: #f5f7fb;
  --line: #e3e8f2;
  --white: #ffffff;
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(10, 22, 40, .05), 0 4px 16px rgba(10, 22, 40, .06);
  --shadow-lg: 0 8px 40px rgba(10, 22, 40, .14);
  --font-ui: "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "Instrument Serif", Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-ui);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: min(1160px, 92%); margin-inline: auto; }
.container--narrow { width: min(820px, 92%); }

.serif { font-family: var(--font-display); font-weight: 400; font-style: italic; }

/* ============ Typography ============ */
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); line-height: 1.08; letter-spacing: -0.02em; font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.15; letter-spacing: -0.015em; font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 1rem;
}
.eyebrow--gold { color: var(--gold); }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .7rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .92rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--lg { padding: .95rem 1.9rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--gold {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: var(--navy-900);
  box-shadow: 0 4px 18px rgba(212, 175, 106, .35);
}
.btn--gold:hover { box-shadow: 0 8px 28px rgba(212, 175, 106, .5); }
.btn--ghost { color: var(--white); border-color: rgba(255,255,255,.28); }
.btn--ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); }
.btn--outline { color: var(--navy-900); border-color: var(--navy-900); }
.btn--outline:hover { background: var(--navy-900); color: var(--white); }

/* ============ Nav ============ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 1rem 0;
  transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
}
.nav--solid {
  background: rgba(7, 15, 30, .85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
  padding: .65rem 0;
}
.nav__inner { display: flex; align-items: center; gap: 2rem; }
.nav__logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--white);
  letter-spacing: -0.01em;
}
.nav__logo em { font-style: normal; color: var(--gold); }
.nav__links { display: flex; gap: 1.8rem; margin-left: auto; }
.nav__links a {
  color: rgba(255,255,255,.75);
  font-size: .9rem;
  font-weight: 500;
  transition: color .15s ease;
}
.nav__links a:hover { color: var(--white); }
.nav__cta { flex-shrink: 0; }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.nav__burger span { width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: .2s; }

/* ============ Hero ============ */
.hero {
  position: relative;
  background: var(--navy-900);
  color: var(--white);
  padding: 9.5rem 0 6rem;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 82% -10%, rgba(212,175,106,.16), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(22,68,120,.5), transparent 60%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 30%, transparent 75%);
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 4rem;
  align-items: center;
}
.hero .eyebrow { color: var(--gold); }
.hero__sub {
  margin-top: 1.4rem;
  font-size: 1.13rem;
  color: rgba(255,255,255,.72);
  max-width: 34rem;
}
.hero__actions { display: flex; gap: 1rem; margin-top: 2.2rem; flex-wrap: wrap; }
.hero__points {
  display: flex;
  gap: 1.6rem;
  margin-top: 2.4rem;
  flex-wrap: wrap;
}
.hero__points li {
  font-size: .86rem;
  color: rgba(255,255,255,.65);
  display: flex;
  align-items: center;
  gap: .45rem;
}
.hero__points li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* Hero dashboard card */
.dash {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  padding: 1.4rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
  transform: rotate(1.2deg);
}
.dash__head {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.dash__dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.18); }
.dash__title { margin-left: auto; font-size: .78rem; color: rgba(255,255,255,.55); }
.dash__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; padding: 1.1rem 0; }
.kpi { display: flex; flex-direction: column; gap: .15rem; }
.kpi__label { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.5); }
.kpi__value { font-size: 1.35rem; font-weight: 700; }
.kpi__value small { font-size: .8rem; font-weight: 500; color: rgba(255,255,255,.6); }
.kpi__trend { font-size: .72rem; font-weight: 600; }
.kpi__trend.up { color: #5fd39a; }
.kpi__trend.down { color: #5fd39a; }
.dash__chart { border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: .9rem .9rem .6rem; }
.dash__chart svg { width: 100%; height: 96px; }
.dash__chart-label { font-size: .72rem; color: rgba(255,255,255,.45); margin-top: .5rem; }
.dash__rows { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; }
.dash__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .85rem;
  color: rgba(255,255,255,.8);
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px;
  padding: .55rem .8rem;
}
.pill { font-size: .68rem; font-weight: 600; padding: .2rem .6rem; border-radius: 999px; }
.pill--ok { background: rgba(95,211,154,.15); color: #5fd39a; }
.pill--warn { background: rgba(212,175,106,.15); color: var(--gold); }

/* ============ Stats ============ */
.stats { background: var(--navy-950); color: var(--white); padding: 2.6rem 0; border-top: 1px solid rgba(255,255,255,.06); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat__num, .stat__suffix { font-size: 2.2rem; font-weight: 700; color: var(--gold); letter-spacing: -0.02em; }
.stat p { font-size: .85rem; color: rgba(255,255,255,.6); margin-top: .2rem; }

/* ============ Sections ============ */
.section { padding: 6rem 0; }
.section--tint { background: var(--mist); }
.section--dark { background: var(--navy-900); color: var(--white); }
.section__head { max-width: 44rem; margin-bottom: 3.2rem; }
.section__sub { margin-top: 1rem; color: var(--slate); font-size: 1.05rem; }
.section--dark .section__sub { color: rgba(255,255,255,.65); }

/* ============ Service cards ============ */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  background: var(--white);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card__icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  color: var(--gold);
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
}
.card__icon svg { width: 22px; height: 22px; }
.card p { margin-top: .6rem; font-size: .92rem; color: var(--slate); }

/* Wide feature card (global banking) */
.card--wide {
  grid-column: 1 / -1;
  display: flex;
  gap: 1.6rem;
  align-items: flex-start;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  border-color: transparent;
  color: var(--white);
}
.card--wide .card__icon {
  background: rgba(212, 175, 106, .14);
  flex-shrink: 0;
  margin-bottom: 0;
}
.card--wide p { color: rgba(255,255,255,.72); max-width: 56rem; }
.card__tags { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.1rem; }
.card__tags li {
  font-size: .78rem;
  font-weight: 600;
  color: var(--gold-soft);
  background: rgba(212, 175, 106, .12);
  border: 1px solid rgba(212, 175, 106, .3);
  border-radius: 999px;
  padding: .3rem .85rem;
}
@media (max-width: 720px) {
  .card--wide { flex-direction: column; }
}

/* ============ Steps ============ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.step {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  background: rgba(255,255,255,.03);
}
.step__num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
  line-height: 1;
}
.step p { margin-top: .6rem; font-size: .92rem; color: rgba(255,255,255,.68); }

/* ============ Comparison table ============ */
.compare { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.compare table { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare th, .compare td { padding: 1rem 1.4rem; text-align: center; font-size: .92rem; border-bottom: 1px solid var(--line); }
.compare tr:last-child td { border-bottom: 0; }
.compare th { font-size: .85rem; font-weight: 600; background: var(--mist); }
.compare td:first-child, .compare th:first-child { text-align: left; font-weight: 500; }
.compare td { color: var(--slate); }
.compare .compare--us { background: rgba(212, 175, 106, .09); color: var(--navy-900); font-weight: 600; }
.compare th.compare--us { color: var(--navy-900); background: rgba(212, 175, 106, .2); }

/* ============ Pricing ============ */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; align-items: start; }
.plan {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem 1.9rem;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.plan--featured {
  background: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-900);
  box-shadow: var(--shadow-lg);
}
.plan__badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: var(--navy-900);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: 999px;
  white-space: nowrap;
}
.plan__desc { font-size: .88rem; color: var(--slate); margin-top: .4rem; min-height: 2.6rem; }
.plan--featured .plan__desc { color: rgba(255,255,255,.65); }
.plan__price { font-size: 2.3rem; font-weight: 700; letter-spacing: -0.02em; margin: 1.1rem 0 1.3rem; }
.plan__price span { font-size: 1rem; font-weight: 500; color: var(--slate); }
.plan--featured .plan__price span { color: rgba(255,255,255,.6); }
.plan ul { display: flex; flex-direction: column; gap: .65rem; margin-bottom: 1.8rem; flex-grow: 1; }
.plan li { font-size: .9rem; color: var(--slate); padding-left: 1.5rem; position: relative; }
.plan--featured li { color: rgba(255,255,255,.78); }
.plan li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}
.plan--featured .btn--gold { width: 100%; }
.plan .btn--outline { width: 100%; }

/* ============ Quotes ============ */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.quote {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 1.9rem;
  background: rgba(255,255,255,.03);
  display: flex;
  flex-direction: column;
}
.quote p { font-size: .96rem; color: rgba(255,255,255,.82); flex-grow: 1; }
.quote footer { margin-top: 1.4rem; display: flex; flex-direction: column; gap: .1rem; }
.quote strong { font-size: .92rem; }
.quote span { font-size: .8rem; color: rgba(255,255,255,.5); }

/* ============ FAQ ============ */
.faq { display: flex; flex-direction: column; gap: .8rem; }
.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  overflow: hidden;
  transition: box-shadow .2s ease;
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 1.4rem;
  font-weight: 600;
  font-size: .98rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq__chev {
  width: 9px; height: 9px;
  border-right: 2px solid var(--slate);
  border-bottom: 2px solid var(--slate);
  transform: rotate(45deg);
  transition: transform .2s ease;
  flex-shrink: 0;
}
.faq details[open] .faq__chev { transform: rotate(225deg); }
.faq details p { padding: 0 1.4rem 1.3rem; font-size: .93rem; color: var(--slate); }

/* ============ CTA / Contact ============ */
.cta {
  background:
    radial-gradient(800px 400px at 15% 0%, rgba(212,175,106,.14), transparent 55%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
  color: var(--white);
  padding: 6.5rem 0;
}
.cta__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}
.cta__copy p { color: rgba(255,255,255,.7); margin-top: 1.1rem; font-size: 1.05rem; }
.cta__points { margin-top: 1.8rem; display: flex; flex-direction: column; gap: .7rem; }
.cta__points li { display: flex; align-items: center; gap: .6rem; font-size: .93rem; color: rgba(255,255,255,.78); }
.cta__points li::before { content: "✓"; color: var(--gold); font-weight: 700; }
.cta__form {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.75); }
.field input, .field textarea {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px;
  padding: .75rem .95rem;
  color: var(--white);
  font-family: inherit;
  font-size: .93rem;
  transition: border-color .15s ease, background .15s ease;
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.35); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,.09);
}
.cta__alt { text-align: center; font-size: .85rem; color: rgba(255,255,255,.55); }
.cta__alt a { color: var(--gold); font-weight: 600; }
.cta__alt a:hover { text-decoration: underline; }

/* ============ Footer ============ */
.footer { background: var(--navy-950); color: rgba(255,255,255,.65); padding: 3.5rem 0 2rem; border-top: 1px solid rgba(255,255,255,.06); }
.footer__inner { display: flex; justify-content: space-between; gap: 3rem; flex-wrap: wrap; }
.footer__brand p { margin-top: .9rem; font-size: .88rem; max-width: 20rem; }
.footer__links { display: flex; gap: 1.6rem; flex-wrap: wrap; align-items: flex-start; }
.footer__links a { font-size: .88rem; transition: color .15s ease; }
.footer__links a:hover { color: var(--white); }
.footer__legal {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.8rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255,255,255,.07);
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}

/* ============ Reveal animation ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero__card { max-width: 30rem; }
  .cards, .steps, .pricing, .quotes { grid-template-columns: 1fr 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 1.6rem; }
  .cta__inner { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 720px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav--open { background: var(--navy-950); }
  .nav--open .nav__inner { flex-wrap: wrap; }
  .nav--open .nav__links {
    display: flex;
    flex-direction: column;
    width: 100%;
    order: 3;
    gap: 0;
    padding: 1rem 0 .6rem;
  }
  .nav--open .nav__links a { padding: .7rem 0; border-top: 1px solid rgba(255,255,255,.07); }
  .nav--open .nav__cta { display: inline-flex; order: 4; margin: .6rem 0 .4rem; width: 100%; }
  .hero { padding-top: 7.5rem; }
  .cards, .steps, .pricing, .quotes { grid-template-columns: 1fr; }
  .section { padding: 4.2rem 0; }
  .plan--featured { order: -1; }
}
