/* ============================================
   FinVerified — Design System v2
   Top-tier studio rebuild
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #060F22;
  --navy-2:     #0A1A36;
  --navy-3:     #0E2344;
  --green:      #1DBF73;
  --accent:     #00E5A0;
  --white:      #FFFFFF;
  --ink:        #E8EEF7;
  --muted:      #9DB0CC;
  --faint:      #647697;
  --line:       rgba(255,255,255,0.07);
  --line-2:     rgba(255,255,255,0.12);
  --glow:       rgba(0,229,160,0.35);
  --danger:     #FF6B61;
  --radius:     18px;
  --radius-sm:  10px;
  --ease:       cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--navy);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ambient background field */
body::before {
  content: '';
  position: fixed; inset: 0;
  background:
    radial-gradient(60rem 40rem at 75% -5%, rgba(0,229,160,0.10), transparent 60%),
    radial-gradient(50rem 40rem at 0% 30%, rgba(29,191,115,0.06), transparent 55%);
  pointer-events: none; z-index: 0;
}
main, nav, footer { position: relative; z-index: 1; }

::selection { background: var(--accent); color: var(--navy); }

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

/* ---------- TYPE SCALE ---------- */
.display {
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.02;
}
.h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.08; }
.h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; }
.h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.015em; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--muted); line-height: 1.6; font-weight: 400; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ''; width: 1.5rem; height: 1px; background: var(--accent); opacity: 0.6; }

/* ---------- LAYOUT ---------- */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.wrap-tight { max-width: 860px; margin: 0 auto; padding: 0 1.5rem; }
section { padding: clamp(4rem, 9vw, 8rem) 0; }
.center { text-align: center; }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(18px) saturate(140%);
  background: rgba(6,15,34,0.72);
  border-bottom: 1px solid var(--line);
}
.nav-inner { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; height: 68px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; }
.nav-logo svg { height: 30px; width: auto; }
.nav-menu { display: flex; gap: 2.2rem; list-style: none; }
.nav-menu a { font-size: 0.9rem; font-weight: 500; color: var(--muted); transition: color 0.2s var(--ease); position: relative; }
.nav-menu a:hover, .nav-menu a.active { color: var(--white); }
.nav-menu a.active::after { content: ''; position: absolute; bottom: -6px; left: 0; right: 0; height: 2px; background: var(--accent); border-radius: 2px; }
.nav-right { display: flex; align-items: center; gap: 1.25rem; }
.nav-signin { font-size: 0.9rem; font-weight: 500; color: var(--muted); transition: color 0.2s; }
.nav-signin:hover { color: var(--white); }

/* ---------- BUTTONS ---------- */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; font-size: 0.95rem; padding: 0.8rem 1.5rem; border-radius: var(--radius-sm); transition: all 0.25s var(--ease); cursor: pointer; border: 1px solid transparent; white-space: nowrap; }
.btn-primary { background: var(--accent); color: var(--navy); box-shadow: 0 0 0 0 var(--glow); }
.btn-primary:hover { box-shadow: 0 8px 30px -6px var(--glow); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,0.04); color: var(--white); border-color: var(--line-2); }
.btn-ghost:hover { background: rgba(255,255,255,0.09); border-color: var(--accent); }
.btn-text { color: var(--accent); font-weight: 600; font-size: 0.92rem; display: inline-flex; align-items: center; gap: 0.4rem; transition: gap 0.2s var(--ease); }
.btn-text:hover { gap: 0.7rem; }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.02rem; }

/* ---------- REVEAL ANIMATION ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
.reveal[data-d="4"] { transition-delay: 0.32s; }

/* ---------- CARDS ---------- */
.card { background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015)); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; transition: border-color 0.3s var(--ease), transform 0.3s var(--ease); }
.card:hover { border-color: var(--line-2); transform: translateY(-4px); }

/* ---------- TRUST STRIP ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.5rem 0; background: rgba(255,255,255,0.012); }
.trust-row { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; justify-content: center; align-items: center; }
.trust-row span { font-size: 0.82rem; color: var(--faint); font-weight: 500; display: inline-flex; align-items: center; gap: 0.5rem; }
.trust-row span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: 0.7; }

/* ---------- FOOTER ---------- */
.footer { border-top: 1px solid var(--line); padding: 4rem 0 2.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-brand svg { height: 30px; margin-bottom: 1rem; }
.footer-brand p { color: var(--faint); font-size: 0.88rem; max-width: 24rem; line-height: 1.6; }
.footer-col h4 { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin-bottom: 1rem; font-weight: 600; }
.footer-col a { display: block; color: var(--muted); font-size: 0.9rem; margin-bottom: 0.7rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-base { border-top: 1px solid var(--line); padding-top: 1.75rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; color: var(--faint); font-size: 0.8rem; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 860px) {
  .nav-menu { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .nav-signin { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
