/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:     #0F3E44;
  --teal:     #1F6F73;
  --teal-lt:  #28929A;
  --amber:    #E5BE52;
  --amber-lt: #ECCF6E;
  --white:    #ffffff;
  --off-white:#E4F0EF;
  --gray-100: #D8EAEB;
  --gray-300: #b8cccc;
  --gray-500: #7a8190;
  --gray-700: #3d4451;
  --text:     #0F2C30;
  --radius:   12px;
  --shadow:   0 4px 24px rgba(15,62,68,.10);
  --transition: 200ms ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ─── Layout helpers ─── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 96px 0; }
.section--gray { background: var(--off-white); }

/* ─── NAV ─── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
}
.site-logo-img {
  height: 36px;
  width: auto;
  display: block;
  border-radius: 8px;
}
.logo-text {
  font-size: 1.35rem; font-weight: 800;
  color: var(--navy);
  letter-spacing: -.4px;
}
footer .logo { justify-content: center; margin-bottom: 12px; }
footer .logo-text { color: white; }
.nav-cta {
  background: var(--teal);
  color: white;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: .9rem;
  transition: background var(--transition), transform var(--transition);
}
.nav-cta:hover { background: var(--teal-lt); transform: translateY(-1px); }

/* ─── HERO ─── */
.hero {
  background: linear-gradient(160deg, #0F3E44 0%, #1F6F73 100%);
  color: white;
  padding: 120px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(31,111,115,.35) 0%, transparent 70%);
  pointer-events: none;
}
/* ─── HERO BG DECOR ─── */
.hero-bg-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-decor {
  position: absolute;
  opacity: 0.55;
  filter: blur(0.5px);
}
.hero-decor--lock {
  width: 280px;
  top: -40px;
  right: -50px;
  transform: rotate(12deg);
  opacity: 0.45;
}
.hero-decor--shield {
  width: 260px;
  bottom: -50px;
  left: -40px;
  transform: rotate(-8deg);
  opacity: 0.4;
}
.hero-decor--cert {
  width: 220px;
  top: 50%;
  right: 60px;
  transform: translateY(-50%) rotate(6deg);
  opacity: 0.35;
}
@media (max-width: 900px) {
  .hero-decor--cert { display: none; }
  .hero-decor--lock { width: 200px; right: -30px; }
  .hero-decor--shield { width: 190px; left: -30px; }
}
@media (max-width: 600px) {
  .hero-decor--lock, .hero-decor--shield { opacity: 0.22; }
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(229,190,82,.15);
  border: 1px solid rgba(229,190,82,.35);
  color: var(--amber-lt);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: .82rem; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-badge span { width: 6px; height: 6px; background: var(--amber); border-radius: 50%; animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.4)} }

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  max-width: 820px;
  margin: 0 auto 24px;
}
.hero h1 em { font-style: normal; color: var(--amber-lt); }

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.72);
  max-width: 580px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

/* Inline mini-form in hero */
.hero-form {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
  max-width: 480px; margin: 0 auto;
}
.hero-form input {
  flex: 1 1 220px;
  padding: 14px 18px;
  border: none; border-radius: 10px;
  font-size: 1rem;
  background: rgba(255,255,255,.12);
  color: white;
  outline: none;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.2);
  transition: border-color var(--transition);
}
.hero-form input::placeholder { color: rgba(255,255,255,.5); }
.hero-form input:focus { border-color: var(--amber); }
.hero-form button {
  padding: 14px 28px;
  background: var(--amber);
  color: var(--navy);
  border: none; border-radius: 10px;
  font-size: 1rem; font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}
.hero-form button:hover { background: var(--amber-lt); transform: translateY(-1px); }

.hero-trust {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 28px;
}
.hero-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 100px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  font-size: .78rem;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  backdrop-filter: blur(4px);
  letter-spacing: .01em;
}
.hero-trust-pill span { font-size: .9rem; }

/* ─── STAT STRIP ─── */
.stat-strip {
  background: var(--navy);
  color: white;
  padding: 32px 0;
}
.stats {
  display: flex; gap: 0; flex-wrap: wrap;
  justify-content: center; align-items: center;
}
.stat {
  text-align: center;
  padding: 16px 40px;
  border-right: 1px solid rgba(255,255,255,.1);
}
.stat:last-child { border-right: none; }
.stat-number {
  font-size: 2rem; font-weight: 800;
  color: var(--amber-lt);
  line-height: 1;
}
.stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  margin-top: 4px;
  max-width: 140px;
}

/* ─── PROBLEM ─── */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.section-label {
  font-size: .78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--teal);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800; line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--navy);
  margin-bottom: 20px;
}
.section-body {
  font-size: 1.05rem; color: var(--gray-700);
  line-height: 1.75;
}

.problem-visual {
  background: var(--gray-100);
  border-radius: 20px;
  padding: 40px;
  display: flex; flex-direction: column; gap: 16px;
}
.problem-card {
  background: white;
  border-radius: 12px;
  padding: 18px 20px;
  display: flex; align-items: flex-start; gap: 14px;
  box-shadow: 0 2px 12px rgba(15,62,68,.06);
}
.problem-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center; flex-shrink: 0;
  font-size: 1.2rem;
}
.problem-icon--red { background: #fff1f0; }
.problem-icon--yellow { background: #fffbe6; }
.problem-card-text { font-size: .9rem; color: var(--gray-700); line-height: 1.5; }
.problem-card-text strong { color: var(--navy); display: block; margin-bottom: 2px; }

/* ─── HOW IT WORKS ─── */
.how-steps {
  max-width: 680px;
  margin: 56px auto 0;
}
.how-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.how-step-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}
.how-step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-lt));
  color: white; font-weight: 800; font-size: 1.05rem;
  display: grid; place-items: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(13,115,119,.3);
}
.how-step-line {
  width: 2px;
  flex: 1;
  min-height: 36px;
  background: linear-gradient(to bottom, var(--teal-lt), var(--gray-100));
  margin: 8px 0;
  opacity: .4;
}
.how-step:last-child .how-step-line { display: none; }
.how-step-right {
  flex: 1;
  padding-bottom: 40px;
  padding-top: 10px;
}
.how-step:last-child .how-step-right { padding-bottom: 0; }
.how-step-right h3 {
  font-size: 1.05rem; font-weight: 700; color: var(--navy);
  margin-bottom: 8px;
}
.how-step-right p { font-size: .92rem; color: var(--gray-500); line-height: 1.65; }

/* ─── TRUST ─── */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.trust-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.trust-card {
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex; gap: 16px; align-items: flex-start;
}
.trust-card--featured {
  flex-direction: column;
  gap: 20px;
  border-color: rgba(31,111,115,.18);
  box-shadow: 0 4px 24px rgba(15,62,68,.07);
}
.trust-card--featured .trust-icon {
  width: 56px; height: 56px; border-radius: 14px;
  font-size: 1.8rem;
}
.trust-icon {
  font-size: 1.6rem; flex-shrink: 0;
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(31,111,115,.1), rgba(40,146,154,.08));
  display: grid; place-items: center;
}
.trust-card h4 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.trust-card p { font-size: .88rem; color: var(--gray-500); line-height: 1.65; }

/* ─── WHAT WE COVER ─── */
.asset-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 56px;
}
.asset-category {
  background: white;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.asset-category:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(15,62,68,.13);
}
.asset-category-icon-wrap {
  width: 56px; height: 56px; border-radius: 14px;
  display: grid; place-items: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.asset-icon--investments { background: rgba(31,111,115,.1); }
.asset-icon--insurance   { background: rgba(59,130,246,.1); }
.asset-icon--bank        { background: rgba(229,190,82,.12); }
.asset-icon--liabilities { background: rgba(220,38,38,.08); }
.asset-category-name {
  font-size: 1rem; font-weight: 700; color: var(--navy);
  margin-bottom: 16px;
}
.asset-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 10px;
}
.asset-list li {
  font-size: .87rem; color: var(--gray-700);
  padding-left: 18px;
  position: relative;
  line-height: 1.4;
}
.asset-list li::before {
  content: "";
  position: absolute; left: 0; top: 6px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal-lt);
  opacity: .7;
}
.manual-add-note {
  display: flex; align-items: flex-start; gap: 14px;
  margin: 32px auto 0;
  background: rgba(229,190,82,.07);
  border: 1px solid rgba(229,190,82,.22);
  border-radius: var(--radius);
  padding: 18px 24px;
  font-size: .9rem; color: var(--gray-700); line-height: 1.6;
  max-width: 680px;
}
.manual-add-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }

/* ─── SMART REACHABILITY ─── */
.reach-flow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-top: 60px;
  gap: 0;
  flex-wrap: wrap;
}
.reach-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 160px;
  flex-shrink: 0;
}
.reach-step-icon {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.4rem;
  margin-bottom: 14px;
  flex-shrink: 0;
}
.reach-icon--blue   { background: rgba(59,130,246,.12);  }
.reach-icon--teal   { background: rgba(31,111,115,.12);  }
.reach-icon--amber  { background: rgba(229,190,82,.15);  }
.reach-icon--orange { background: rgba(234,88,12,.12);   }
.reach-icon--green  { background: rgba(40,146,154,.12);  }
.reach-step-content h4 {
  font-size: .88rem; font-weight: 700; color: var(--navy); margin-bottom: 4px;
}
.reach-step-content p {
  font-size: .78rem; color: var(--gray-500); line-height: 1.5;
}
.reach-connector {
  flex: 1;
  min-width: 24px;
  height: 2px;
  background: var(--gray-100);
  align-self: 28px;
  margin-top: 28px;
  position: relative;
}
.reach-connector::after {
  content: "›";
  position: absolute;
  right: -6px; top: -11px;
  color: var(--gray-300);
  font-size: 1.2rem;
}

/* ─── WAITLIST FORM SECTION ─── */
.waitlist-section {
  background: linear-gradient(160deg, #0F3E44, #1F6F73);
  color: white;
  padding: 96px 0;
  text-align: center;
}
.waitlist-section .section-label { color: var(--amber-lt); }
.waitlist-section .section-title { color: white; }
.waitlist-section .section-body { color: rgba(255,255,255,.65); max-width: 500px; margin: 0 auto 48px; }

.waitlist-form {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 40px;
  max-width: 520px;
  margin: 0 auto;
}
.form-group { margin-bottom: 16px; text-align: left; }
.form-group label {
  display: block; font-size: .82rem; font-weight: 600;
  color: rgba(255,255,255,.6); margin-bottom: 6px;
  letter-spacing: .02em;
}
.form-group input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  color: white;
  font-size: .97rem;
  outline: none;
  transition: border-color var(--transition);
}
.form-group input::placeholder { color: rgba(255,255,255,.35); }
.form-group input:focus { border-color: var(--amber); }

.form-optional { font-size: .75rem; color: rgba(255,255,255,.35); margin-left: 4px; }

.submit-btn {
  width: 100%;
  margin-top: 8px;
  padding: 16px;
  background: var(--amber);
  color: var(--navy);
  border: none; border-radius: 10px;
  font-size: 1.05rem; font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.submit-btn:hover { background: var(--amber-lt); transform: translateY(-1px); }
.submit-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.form-privacy {
  font-size: .78rem; color: rgba(255,255,255,.35);
  margin-top: 16px; text-align: center;
}

/* Success / Error states */
.form-message {
  display: none;
  border-radius: 10px;
  padding: 16px 20px;
  font-size: .9rem;
  font-weight: 500;
  margin-top: 16px;
}
.form-message--success {
  background: rgba(40,146,154,.2);
  border: 1px solid rgba(40,146,154,.4);
  color: #6efce8;
}
.form-message--error {
  background: rgba(220,38,38,.15);
  border: 1px solid rgba(220,38,38,.3);
  color: #fca5a5;
}

/* ─── FOOTER ─── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,.45);
  padding: 40px 0;
  text-align: center;
  font-size: .85rem;
}
footer p { margin-top: 4px; }

/* ─── ANIMATIONS ─── */

/* Hero entrance — plays immediately on load */
.hero-badge  { animation: heroFadeUp 0.6s ease 0.05s both; }
.hero h1     { animation: heroFadeUp 0.7s ease 0.18s both; }
.hero p      { animation: heroFadeUp 0.7s ease 0.30s both; }
.hero-form   { animation: heroFadeUp 0.7s ease 0.42s both; }
.hero-trust  { animation: heroFadeUp 0.6s ease 0.56s both; }

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0);    }
}

/* Scroll-triggered fade-up */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for direct .fade-up children */
.stagger-children > .fade-up:nth-child(1) { transition-delay: 0ms;   }
.stagger-children > .fade-up:nth-child(2) { transition-delay: 90ms;  }
.stagger-children > .fade-up:nth-child(3) { transition-delay: 180ms; }
.stagger-children > .fade-up:nth-child(4) { transition-delay: 270ms; }
.stagger-children > .fade-up:nth-child(5) { transition-delay: 360ms; }
.stagger-children > .fade-up:nth-child(6) { transition-delay: 450ms; }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .hero-trust { gap: 8px; }
  .hero-trust-pill { font-size: .72rem; padding: 6px 12px; }
  .problem-grid { grid-template-columns: 1fr; gap: 40px; }
  .trust-grid, .trust-grid--3 { grid-template-columns: 1fr; }
  .stat { padding: 16px 24px; }
  .waitlist-form { padding: 28px 20px; }
  .section { padding: 64px 0; }
  .how-steps { max-width: 100%; }
  .reach-flow { flex-direction: column; align-items: center; gap: 0; }
  .reach-step { width: 100%; max-width: 320px; flex-direction: row; text-align: left; gap: 16px; padding: 8px 0; }
  .reach-step-icon { margin-bottom: 0; flex-shrink: 0; }
  .reach-connector { width: 2px; height: 32px; min-width: 0; align-self: auto; margin-top: 0; margin-left: 27px; }
  .reach-connector::after { content: "›"; position: absolute; left: -7px; bottom: -12px; top: auto; right: auto; transform: rotate(90deg); }
}
@media (max-width: 500px) {
  .stats { flex-direction: column; }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .stat:last-child { border-bottom: none; }
}
