/* ══════════════════════════════════════════════════════════
   W.T.S. Consultants — Design System
   Fintech / Premium Finance Aesthetic
   Font: System stack — Apple SF / Segoe UI / Inter
══════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #1B3A6B;
  --navy-dk:     #112448;
  --navy-mid:    #1E3F75;
  --blue-soft:   #EBF0F8;
  --blue-mid:    #D4E0F0;
  --paper:       #F7F6F4;
  --paper-dk:    #EDEAE4;
  --paper-dkr:   #E2DED6;
  --white:       #FFFFFF;
  --gold:        #C09A2F;
  --gold-lt:     #D4AA46;
  --gold-warm:   #B8922E;
  --gold-dim:    rgba(192,154,47,0.2);
  --ink:         #0F1923;
  --ink-mid:     #2C3A4A;
  --muted:       #64748B;
  --faint:       #94A3B8;
  --border:      #E2E8F0;
  --border-dk:   #CBD5E1;
  --cream:       rgba(255,255,255,0.88);

  --font-body:    -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Inter", "Segoe UI", sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", sans-serif;

  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:    cubic-bezier(0.0, 0.0, 0.2, 1);

  --radius-pill: 980px;
  --radius-card: 14px;
  --radius-sm:   8px;

  --shadow-sm:   0 1px 4px rgba(15,25,35,0.06), 0 1px 2px rgba(15,25,35,0.04);
  --shadow-md:   0 4px 20px rgba(15,25,35,0.08), 0 2px 8px rgba(15,25,35,0.06);
  --shadow-lg:   0 16px 48px rgba(15,25,35,0.12), 0 4px 16px rgba(15,25,35,0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ── SCROLL PROGRESS ── */
#scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 9999;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-lt));
  width: 0%; transition: width 0.08s linear;
  pointer-events: none;
}

/* ── TYPE SCALE ── */
h1 {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6.5vw, 5.75rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: var(--navy);
}
h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.75vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.022em;
  font-weight: 700;
  color: var(--navy);
}
h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}
h4 { font-family: var(--font-body); font-size: 0.92rem; font-weight: 600; color: var(--ink); }
p  { color: var(--muted); line-height: 1.78; }
a  { color: inherit; }

/* ── LAYOUT ── */
.wrap    { max-width: 1120px; margin: 0 auto; padding: 0 2.5rem; }
.wrap-sm { max-width: 700px;  margin: 0 auto; padding: 0 2.5rem; }
section  { padding: 100px 2.5rem; }
section.tight { padding: 72px 2.5rem; }

/* ── LABEL ── */
.label {
  display: inline-block;
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.9rem;
}
.label-cream { color: rgba(255,255,255,0.38); }
.label-navy  { color: rgba(27,58,107,0.48); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body); font-weight: 600;
  font-size: 0.84rem; letter-spacing: 0.015em;
  padding: 0.78rem 1.65rem;
  border-radius: 8px;
  text-decoration: none; border: none; cursor: pointer;
  transition:
    background 0.18s var(--ease-smooth),
    color 0.18s,
    transform 0.15s var(--ease-spring),
    box-shadow 0.18s;
  white-space: nowrap;
  -webkit-font-smoothing: antialiased;
  position: relative; overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.18s;
}
.btn:hover::after { background: rgba(255,255,255,0.08); }
.btn:active { transform: scale(0.97); }

.btn-navy {
  background: var(--navy); color: #fff;
  box-shadow: 0 1px 6px rgba(27,58,107,0.24);
}
.btn-navy:hover {
  background: var(--navy-dk);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(27,58,107,0.28);
}

.btn-gold {
  background: var(--gold); color: #fff;
  box-shadow: 0 1px 6px rgba(192,154,47,0.28);
}
.btn-gold:hover {
  background: var(--gold-lt);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(192,154,47,0.35);
}

.btn-outline-i {
  background: transparent; color: var(--navy);
  border: 1.5px solid rgba(27,58,107,0.2);
}
.btn-outline-i:hover {
  background: var(--blue-soft);
  border-color: var(--navy);
  transform: translateY(-1px);
}

.btn-outline-c {
  background: transparent; color: rgba(255,255,255,0.88);
  border: 1.5px solid rgba(255,255,255,0.22);
}
.btn-outline-c:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-1px);
}

.btn-lg { font-size: 0.92rem; padding: 0.92rem 2.1rem; }
.btn-full { width: 100%; justify-content: center; }

.arr { display: inline-block; transition: transform 0.18s var(--ease-spring); }
.btn:hover .arr { transform: translateX(5px); }

/* ══════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════ */
.site-nav {
  position: sticky; top: 0; z-index: 400;
  background: rgba(255,255,255,0.97);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s var(--ease-smooth),
              background 0.25s var(--ease-smooth);
}
.site-nav.scrolled {
  box-shadow: 0 1px 16px rgba(15,25,35,0.08);
}
.nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 2.5rem;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.65rem;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo-img { height: 38px; width: auto; display: block; }
.nav-logo-name {
  font-family: var(--font-display); font-size: 0.96rem; font-weight: 700;
  color: var(--navy); letter-spacing: -0.01em;
}
.nav-links {
  display: flex; list-style: none; gap: 0;
  flex: 1; justify-content: center;
}
.nav-links a {
  font-size: 0.86rem; font-weight: 500;
  color: var(--muted); text-decoration: none;
  padding: 0.45rem 1rem; border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--navy); background: var(--blue-soft); }
.nav-links a.active { color: var(--navy); font-weight: 600; }
.nav-cta { flex-shrink: 0; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  padding: 6px; background: none; border: none; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 22px; height: 1.5px;
  background: var(--ink-mid); border-radius: 2px; transition: all 0.22s;
}
.nav-mobile {
  display: none; flex-direction: column;
  background: var(--white); border-top: 1px solid var(--border);
  padding: 1rem 2.5rem 1.75rem; gap: 0;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 0.96rem; font-weight: 500; color: var(--muted);
  text-decoration: none; padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.14s;
}
.nav-mobile a:last-of-type { border-bottom: none; }
.nav-mobile a:hover { color: var(--navy); }
.nav-mobile .btn {
  margin-top: 1.25rem; width: 100%; justify-content: center;
  border-bottom: none; padding-top: 0.85rem; padding-bottom: 0.85rem;
}

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.site-footer { background: var(--navy-dk); padding: 4.5rem 2.5rem 2.25rem; }
.footer-grid {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: 1.8fr 1fr 1fr;
  gap: 4rem; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand { display: flex; flex-direction: column; gap: 1.1rem; }
.footer-logo { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; }
.footer-logo img {
  height: 36px; width: auto;
  filter: brightness(0) invert(1); opacity: 0.8;
}
.footer-logo-name {
  font-family: var(--font-display); font-size: 0.96rem; font-weight: 700;
  color: rgba(255,255,255,0.82);
}
.footer-logo-power {
  font-size: 0.57rem; color: rgba(255,255,255,0.24);
  letter-spacing: 0.16em; text-transform: uppercase; margin-top: 2px;
}
.footer-desc {
  font-size: 0.84rem; color: rgba(255,255,255,0.3);
  line-height: 1.82; max-width: 270px;
}
.footer-col h5 {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255,255,255,0.24); margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a {
  font-size: 0.84rem; color: rgba(255,255,255,0.42);
  text-decoration: none; transition: color 0.14s;
}
.footer-col a:hover { color: rgba(255,255,255,0.85); }
.footer-bottom {
  max-width: 1120px; margin: 2rem auto 0;
  display: flex; justify-content: space-between;
  font-size: 0.7rem; color: rgba(255,255,255,0.18);
  flex-wrap: wrap; gap: 0.5rem;
}

/* ══════════════════════════════════════════
   SHARED COMPONENTS
══════════════════════════════════════════ */
.cklist { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.cklist li {
  display: flex; align-items: flex-start; gap: 0.9rem;
  font-size: 0.92rem; color: var(--muted); line-height: 1.65;
}
.cklist li::before {
  content: '';
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0; margin-top: 8px;
}
.cklist-cream li { color: rgba(255,255,255,0.58); }
.cklist-cream li::before { background: var(--gold-lt); }

.notice {
  border-left: 2px solid var(--gold-dim);
  padding: 0.9rem 1.1rem;
  font-size: 0.78rem; color: var(--faint); line-height: 1.75;
  background: var(--paper); border-radius: 0 6px 6px 0;
}

/* Divider */
.section-rule {
  width: 40px; height: 2px;
  background: var(--gold);
  margin-bottom: 1.75rem;
}
.section-rule.center { margin-left: auto; margin-right: auto; }

/* ══════════════════════════════════════════
   ANIMATIONS & REVEALS
══════════════════════════════════════════ */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes wordReveal {
  from { clip-path: inset(0 101% 0 0); transform: translateX(-8px); }
  to   { clip-path: inset(0 0% 0 0);   transform: translateX(0); }
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.94) translateY(8px); }
  to   { opacity: 1; transform: scale(1)    translateY(0); }
}

/* Scroll reveal base states */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition:
    opacity 0.78s var(--ease-spring),
    transform 0.78s var(--ease-spring);
}
.reveal-left {
  opacity: 0; transform: translateX(-36px);
  transition:
    opacity 0.78s var(--ease-spring),
    transform 0.78s var(--ease-spring);
}
.reveal-right {
  opacity: 0; transform: translateX(36px);
  transition:
    opacity 0.78s var(--ease-spring),
    transform 0.78s var(--ease-spring);
}
.reveal-scale {
  opacity: 0; transform: scale(0.93) translateY(16px);
  transition:
    opacity 0.78s var(--ease-spring),
    transform 0.78s var(--ease-spring);
}
.reveal.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible {
  opacity: 1; transform: none;
}

/* Stagger delays */
.d1 { transition-delay: 0.06s; }
.d2 { transition-delay: 0.14s; }
.d3 { transition-delay: 0.22s; }
.d4 { transition-delay: 0.30s; }
.d5 { transition-delay: 0.38s; }

/* ══════════════════════════════════════════
   PARALLAX
══════════════════════════════════════════ */
.parallax-container {
  overflow: hidden;
  border-radius: inherit;
}
[data-parallax] {
  will-change: transform;
  transition: none !important;
}

/* ══════════════════════════════════════════
   MARQUEE
══════════════════════════════════════════ */
.marquee-wrap {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}
.marquee-track {
  display: flex; animation: marqueeScroll 44s linear infinite; width: max-content;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  white-space: nowrap; padding: 0 2.25rem;
  font-family: var(--font-display); font-size: 1rem; font-weight: 600;
  color: rgba(255,255,255,0.2);
  border-right: 1px solid rgba(255,255,255,0.06);
  line-height: 3.2;
}
.marquee-item.hl { color: rgba(255,255,255,0.65); }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
}
@media (max-width: 760px) {
  section { padding: 72px 1.5rem; }
  section.tight { padding: 52px 1.5rem; }
  .wrap, .wrap-sm { padding: 0 1.5rem; }
  .nav-inner { padding: 0 1.5rem; }
  .nav-mobile { padding: 0.75rem 1.5rem 1.5rem; }
  .site-footer { padding: 3rem 1.5rem 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  section { padding: 60px 1.25rem; }
  .wrap, .wrap-sm { padding: 0 1.25rem; }
  .nav-inner { padding: 0 1.25rem; }
  .nav-mobile { padding: 0.5rem 1.25rem 1.25rem; }
  .site-footer { padding: 2.5rem 1.25rem 1.25rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
