/* ============================================================
   כלכלה נבונה - Design System
   Quiet-luxury fintech: deep navy, champagne gold, ivory paper
   ============================================================ */

:root {
  /* Palette */
  --navy-950: #050B16;
  --navy-900: #081120;
  --navy-850: #0B172B;
  --navy-800: #0F1F3A;
  --navy-700: #16294E;
  --navy-100: #2A3B58;

  --gold-200: #F6E7B8;
  --gold-300: #E9D08E;
  --gold-400: #DFC178;
  --gold-500: #C9A24B;
  --gold-600: #A8823A;

  --ivory: #FAF6EE;
  --ivory-2: #F1EADA;
  --ink: #10203A;
  --ink-soft: #45536B;

  --grad-gold: linear-gradient(120deg, #A8823A 0%, #C9A24B 30%, #E9D08E 62%, #F6E7B8 100%);
  --grad-gold-btn: linear-gradient(120deg, #B08A3C 0%, #D4AC55 45%, #EBD494 100%);

  /* Type */
  --font-display: 'Frank Ruhl Libre', serif;
  --font-body: 'Heebo', sans-serif;

  /* Rhythm */
  --section-pad: clamp(4.5rem, 9vw, 8rem);
  --radius-lg: 22px;
  --radius-md: 14px;

  --shadow-card: 0 20px 60px -24px rgba(5, 11, 22, .35);
  --shadow-gold: 0 10px 40px -10px rgba(201, 162, 75, .45);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--ivory);
  direction: rtl;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

::selection { background: rgba(201, 162, 75, .35); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.01em;
}

.display-1 {
  font-size: clamp(2.6rem, 6.2vw, 4.6rem);
  line-height: 1.14;
}

.h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }

.lead {
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  line-height: 1.8;
  font-weight: 300;
}

.text-gold {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Shimmer sweep on key hero words */
.shimmer {
  background: linear-gradient(110deg,
    #A8823A 20%, #C9A24B 32%, #F8ECC2 47%, #E9D08E 55%, #C9A24B 68%, #A8823A 80%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 5.5s var(--ease-out) infinite;
}
@keyframes shimmer {
  0%, 55% { background-position: 115% 0; }
  85%, 100% { background-position: -15% 0; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 34px; height: 1.5px;
  background: var(--grad-gold);
}
.on-dark .eyebrow { color: var(--gold-300); }

/* ---------- Layout ---------- */
.container {
  width: min(1180px, 92vw);
  margin-inline: auto;
}

.section { padding-block: var(--section-pad); position: relative; }

.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { margin-top: 1rem; color: var(--ink-soft); }

.on-dark { background: var(--navy-900); color: #E8ECF4; }
.on-dark .section-head p { color: #A8B4C9; }
.on-dark h1, .on-dark h2, .on-dark h3 { color: #F2F5FA; }

/* Fine gold hairline between dark sections */
.hairline { border: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(201,162,75,.5), transparent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .95rem 2.1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background-color .35s;
  will-change: transform;
}

.btn-gold {
  background: var(--grad-gold-btn);
  color: var(--navy-950);
  box-shadow: var(--shadow-gold);
  position: relative;
  overflow: hidden;
}
.btn-gold::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%);
  transform: translateX(120%);
  transition: transform .7s var(--ease-out);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 46px -10px rgba(201,162,75,.6); }
.btn-gold:hover::after { transform: translateX(-120%); }

.btn-ghost {
  border: 1px solid rgba(201, 162, 75, .55);
  color: var(--gold-500);
}
.on-dark .btn-ghost, .hero .btn-ghost { color: var(--gold-300); }
.btn-ghost:hover { background: rgba(201, 162, 75, .1); transform: translateY(-2px); }

.btn .arrow { transition: transform .35s var(--ease-out); }
.btn:hover .arrow { transform: translateX(-5px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  transition: background .4s, box-shadow .4s, padding .4s;
  padding-block: 1.1rem;
}
.site-header.scrolled {
  background: rgba(5, 11, 22, .82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(201,162,75,.22), 0 14px 40px -20px rgba(0,0,0,.6);
  padding-block: .65rem;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .8rem;
}
.brand svg { height: 44px; width: auto; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: #F2F5FA;
  line-height: 1.1;
}
.brand-tag {
  font-size: .68rem;
  letter-spacing: .08em;
  color: var(--gold-300);
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.5vw, 2.2rem);
}
.nav-links a {
  position: relative;
  font-size: .98rem;
  font-weight: 500;
  color: #C9D3E2;
  padding-block: .35rem;
  transition: color .3s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease-out);
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-cta { padding: .62rem 1.5rem; font-size: .92rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  z-index: 130;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--gold-300);
  transition: transform .35s var(--ease-out), opacity .3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(201,162,75,.14), transparent 60%),
    radial-gradient(900px 600px at 10% 110%, rgba(22,41,78,.9), transparent 65%),
    var(--navy-950);
  color: #E8ECF4;
  overflow: hidden;
  padding-block: 7rem 5rem;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .85;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .45rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(201,162,75,.4);
  background: rgba(201,162,75,.08);
  color: var(--gold-200);
  font-size: .88rem;
  font-weight: 500;
  margin-bottom: 1.6rem;
}
.hero-badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold-300);
  box-shadow: 0 0 0 0 rgba(233,208,142,.7);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(233,208,142,.6); }
  70% { box-shadow: 0 0 0 9px rgba(233,208,142,0); }
  100% { box-shadow: 0 0 0 0 rgba(233,208,142,0); }
}

.hero h1 { color: #F7F9FC; margin-bottom: 1.4rem; }
.hero .lead { color: #B7C2D6; max-width: 34rem; margin-bottom: 2.4rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

.hero-trust {
  margin-top: 3rem;
  display: flex;
  gap: clamp(1.4rem, 3vw, 2.8rem);
  flex-wrap: wrap;
}
.trust-item { min-width: 110px; }
.trust-item .num {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  font-weight: 700;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.trust-item .label { font-size: .85rem; color: #8FA0BB; }

/* Hero visual - floating glass dashboard */
.hero-visual { position: relative; }

.glass-card {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.65);
  padding: 1.6rem 1.7rem;
}

.dash-main { animation: floaty 7s ease-in-out infinite; }
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(-.4deg); }
  50% { transform: translateY(-14px) rotate(.4deg); }
}

.dash-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: .4rem;
}
.dash-title { font-size: .85rem; color: #9DACC4; }
.dash-value {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: #F6E7B8;
}
.dash-delta { font-size: .8rem; color: #7FD6A4; font-weight: 600; }

.dash-chart { margin-top: .6rem; }
.dash-chart path.line {
  fill: none;
  stroke: url(#chartGold);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  animation: draw 2.6s 1s var(--ease-out) forwards;
}
.dash-chart path.area { opacity: 0; animation: fadein 1.2s 2.6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: 1; } }

.dash-float {
  position: absolute;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: .8rem;
  animation: floaty 8s ease-in-out infinite;
}
.dash-float .ic {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(201,162,75,.16);
  color: var(--gold-300);
  flex-shrink: 0;
}
.dash-float .t1 { font-size: .8rem; color: #93A3BD; }
.dash-float .t2 { font-size: .95rem; font-weight: 600; color: #EDF1F7; white-space: nowrap; }

.float-a { top: -22%; inset-inline-start: -9%; animation-delay: 1.2s; }
.float-b { bottom: -12%; inset-inline-end: -7%; animation-delay: 2.4s; }

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 2rem;
  inset-inline-start: 50%;
  transform: translateX(50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: #7C8DA8;
  font-size: .75rem;
  letter-spacing: .18em;
}
.scroll-cue {
  pointer-events: auto;
  cursor: pointer;
  padding: .6rem;
}
.cue-arrow {
  overflow: visible;
  filter: drop-shadow(0 0 10px rgba(233, 208, 142, .5));
  animation: cueDrift 2.7s ease-in-out infinite;
}
.cue-arrow path {
  stroke: var(--gold-200);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 100;
  animation: cueDraw 2.7s ease-in-out infinite;
}
@keyframes cueDraw {
  0% { stroke-dashoffset: 100; }
  55%, 100% { stroke-dashoffset: 0; }
}
@keyframes cueDrift {
  0%, 55% { transform: translateY(0); opacity: 1; }
  88% { opacity: .9; }
  100% { transform: translateY(12px); opacity: 0; }
}

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }

.card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.9rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(16, 32, 58, .06);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 3px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease-out);
}
.card:hover { transform: translateY(-8px); box-shadow: 0 34px 70px -26px rgba(5,11,22,.45); }
.card:hover::before { transform: scaleX(1); }

.card .icon {
  width: 54px; height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 1.3rem;
  background: linear-gradient(140deg, rgba(201,162,75,.14), rgba(201,162,75,.05));
  border: 1px solid rgba(201,162,75,.28);
  color: var(--gold-600);
}
.card h3 { margin-bottom: .6rem; }
.card p { color: var(--ink-soft); font-size: .98rem; }

.card-dark {
  background: linear-gradient(165deg, var(--navy-800), var(--navy-900));
  border: 1px solid rgba(201,162,75,.18);
  color: #E8ECF4;
}
.card-dark h3 { color: #F2F5FA; }
.card-dark p { color: #A8B4C9; }
.card-dark .icon { color: var(--gold-300); }

/* ---------- Steps / timeline ---------- */
.steps {
  position: relative;
  display: grid;
  gap: 0;
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1.6rem;
  padding-block: 2rem;
}
.step:not(:last-child)::before {
  content: "";
  position: absolute;
  inset-inline-start: 35.5px;
  top: 84px;
  bottom: -12px;
  width: 1.5px;
  background: linear-gradient(180deg, rgba(201,162,75,.55), rgba(201,162,75,.12));
}
.step-num {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-600);
  background: #fff;
  border: 1.5px solid rgba(201,162,75,.5);
  box-shadow: var(--shadow-card);
}
.on-dark .step-num { background: var(--navy-800); color: var(--gold-300); }
.step h3 { margin-bottom: .5rem; }
.step p { color: var(--ink-soft); max-width: 58ch; }
.on-dark .step p { color: #A8B4C9; }
.step .step-meta {
  display: inline-block;
  margin-top: .8rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--gold-600);
  letter-spacing: .06em;
}

/* ---------- FAQ accordion ---------- */
.faq-item {
  background: #fff;
  border: 1px solid rgba(16,32,58,.07);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  box-shadow: 0 10px 30px -18px rgba(5,11,22,.25);
  overflow: hidden;
  transition: border-color .3s, box-shadow .3s;
}
.faq-item.open { border-color: rgba(201,162,75,.5); box-shadow: 0 18px 44px -20px rgba(201,162,75,.35); }

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  text-align: start;
  padding: 1.35rem 1.6rem;
  font-family: var(--font-display);
  font-size: 1.13rem;
  font-weight: 700;
  color: var(--ink);
}
.faq-q .chev {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201,162,75,.5);
  color: var(--gold-600);
  transition: transform .45s var(--ease-out), background-color .3s;
}
.faq-item.open .chev { transform: rotate(180deg); background: rgba(201,162,75,.12); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s var(--ease-out);
}
.faq-a-inner {
  padding: 0 1.6rem 1.5rem;
  color: var(--ink-soft);
  max-width: 65ch;
}

/* ---------- Forms ---------- */
.form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(16,32,58,.06);
  padding: clamp(1.8rem, 4vw, 3rem);
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-field.full { grid-column: 1 / -1; }

.form-field label {
  display: block;
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: .45rem;
  color: var(--ink);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  padding: .85rem 1.1rem;
  border-radius: 12px;
  border: 1.5px solid rgba(16,32,58,.14);
  background: var(--ivory);
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(201,162,75,.15);
}
.form-note { font-size: .82rem; color: var(--ink-soft); margin-top: 1rem; }

.form-success {
  display: none;
  text-align: center;
  padding: 3rem 1rem;
}
.form-success.show { display: block; }
.form-success .big-check {
  width: 74px; height: 74px;
  margin: 0 auto 1.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad-gold);
  color: var(--navy-950);
  box-shadow: var(--shadow-gold);
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(800px 400px at 15% 120%, rgba(201,162,75,.2), transparent 60%),
    linear-gradient(150deg, var(--navy-850), var(--navy-950));
  color: #F2F5FA;
  border-radius: var(--radius-lg);
  padding: clamp(2.6rem, 6vw, 4.5rem);
  text-align: center;
}
.cta-band h2 { margin-bottom: 1rem; }
.cta-band p { color: #A8B4C9; max-width: 46rem; margin: 0 auto 2rem; }
.cta-band .key-mark {
  position: absolute;
  inset-inline-end: -60px;
  bottom: -70px;
  width: 340px;
  opacity: .1;
  transform: rotate(-15deg);
  pointer-events: none;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: #94A3BD;
  padding: 4rem 0 2rem;
  font-size: .95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(201,162,75,.15);
}
.site-footer h4 { color: #E8ECF4; font-size: 1.02rem; margin-bottom: 1rem; }
.site-footer a { transition: color .3s; }
.site-footer a:hover { color: var(--gold-300); }
.site-footer li { margin-bottom: .55rem; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.6rem;
  font-size: .82rem;
  color: #64748E;
}
.footer-brand svg { height: 40px; margin-bottom: 1rem; }
.footer-disclaimer { font-size: .8rem; color: #64748E; margin-top: 1rem; max-width: 44ch; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .dash-main, .dash-float, .shimmer { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  background:
    radial-gradient(900px 500px at 80% -20%, rgba(201,162,75,.14), transparent 60%),
    var(--navy-950);
  color: #E8ECF4;
  padding: clamp(9rem, 16vw, 12rem) 0 clamp(3.5rem, 7vw, 5.5rem);
  overflow: hidden;
}
.page-hero h1 { color: #F7F9FC; font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin-bottom: 1rem; }
.page-hero .lead { color: #B7C2D6; max-width: 40rem; }
.page-hero .key-watermark {
  position: absolute;
  inset-inline-end: -4%;
  top: 18%;
  width: min(420px, 40vw);
  opacity: .07;
  transform: rotate(-10deg);
  pointer-events: none;
}

/* Breadcrumb-ish accent */
.crumb { font-size: .85rem; color: var(--gold-300); letter-spacing: .12em; margin-bottom: 1rem; display: inline-block; }

/* ---------- Audience page extras ---------- */
.audience-card .tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }
.audience-card .tag {
  font-size: .78rem;
  font-weight: 600;
  padding: .3rem .8rem;
  border-radius: 999px;
  background: rgba(201,162,75,.1);
  border: 1px solid rgba(201,162,75,.3);
  color: var(--gold-600);
}

/* Quote / principle strip */
.principle {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.2rem;
  align-items: start;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(16,32,58,.07);
  padding: 1.5rem 1.7rem;
  box-shadow: 0 10px 30px -18px rgba(5,11,22,.22);
}
.principle .mark {
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--gold-500);
}

/* ---------- Marquee of value words ---------- */
.marquee {
  overflow: hidden;
  padding-block: 1.4rem;
  background: var(--navy-950);
  border-block: 1px solid rgba(201,162,75,.2);
}
.marquee-track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee span {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: #8FA0BB;
  display: flex;
  align-items: center;
  gap: 3.5rem;
  white-space: nowrap;
}
.marquee span::after {
  content: "✦";
  color: var(--gold-500);
  font-size: .8rem;
}
@keyframes marquee { to { transform: translateX(50%); } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; margin-inline: auto; width: 100%; }
  .float-a { top: -7%; inset-inline-start: -2%; }
  .float-b { bottom: -8%; inset-inline-end: -2%; }
}

@media (max-width: 820px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-grid { grid-template-columns: 1fr; }

  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    background: rgba(5,11,22,.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s;
    z-index: 120;
  }
  .nav-links.open { opacity: 1; pointer-events: auto; }
  .nav-links a { font-size: 1.35rem; }

  .step { grid-template-columns: 56px 1fr; gap: 1.1rem; }
  .step-num { width: 56px; height: 56px; font-size: 1.2rem; }
  .step:not(:last-child)::before { inset-inline-start: 27.5px; top: 68px; }
}

@media (max-width: 820px) {
  .brand-tag { display: none; }
  .brand svg, .brand img { height: 38px !important; }
  .brand-name { font-size: 1.15rem; }
}

@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
  .hero { padding-top: 6.5rem; }
  .hero-trust { gap: 1.2rem; }
  .trust-item { min-width: 90px; }
  .dash-float { display: none; }
  .scroll-cue { display: none; }
}

/* ============================================================
   v0.2 - Elevated visual layer
   ============================================================ */

/* ---------- Luxury scrollbar ---------- */
html { scrollbar-color: var(--gold-600) var(--navy-950); }
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--navy-950); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold-600), var(--gold-400));
  border-radius: 8px;
  border: 2px solid var(--navy-950);
}

/* ---------- Gold scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  inset-inline: 0;
  height: 2.5px;
  z-index: 200;
  background: var(--grad-gold);
  transform-origin: right;
  transform: scaleX(0);
  box-shadow: 0 0 12px rgba(201,162,75,.7);
  pointer-events: none;
}

/* ---------- Film grain (dark heroes only, static) ---------- */
.hero::after, .page-hero::after, .cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: .045;
  border-radius: inherit;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Aurora glow layer (hero + page heroes) ---------- */
.aurora {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.aurora i {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
  mix-blend-mode: screen;
}
.aurora i:nth-child(1) {
  width: 46vw; height: 46vw;
  background: radial-gradient(circle, rgba(201,162,75,.32), transparent 65%);
  top: -18%; inset-inline-end: -8%;
  animation: aur1 16s ease-in-out infinite;
}
.aurora i:nth-child(2) {
  width: 38vw; height: 38vw;
  background: radial-gradient(circle, rgba(38,74,145,.5), transparent 65%);
  bottom: -22%; inset-inline-start: -6%;
  animation: aur2 20s ease-in-out infinite;
}
.aurora i:nth-child(3) {
  width: 26vw; height: 26vw;
  background: radial-gradient(circle, rgba(233,208,142,.2), transparent 60%);
  top: 34%; inset-inline-start: 30%;
  animation: aur3 24s ease-in-out infinite;
}
@keyframes aur1 {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-6vw, 5vh) scale(1.18); }
}
@keyframes aur2 {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(7vw, -6vh) scale(1.12); }
}
@keyframes aur3 {
  0%, 100% { transform: translate(0,0) scale(1); opacity: .35; }
  50% { transform: translate(-4vw, -8vh) scale(1.25); opacity: .6; }
}
.hero .hero-inner, .page-hero .container { z-index: 3; }
.page-hero { isolation: isolate; }
.page-hero .container { position: relative; }

/* ---------- Word-by-word headline entrance ---------- */
.word {
  display: inline-block;
  opacity: 0;
  transform: translateY(26px);
  filter: blur(10px);
  animation: wordIn 1s var(--ease-out) forwards;
  animation-delay: var(--wd, 0s);
}
@keyframes wordIn {
  to { opacity: 1; transform: none; filter: blur(0); }
}

/* Inner page hero entrance */
.page-hero .crumb,
.page-hero h1,
.page-hero .lead {
  opacity: 0;
  transform: translateY(24px);
  animation: heroIn .9s var(--ease-out) forwards;
}
.page-hero h1 { animation-delay: .12s; }
.page-hero .lead { animation-delay: .26s; }
@keyframes heroIn {
  to { opacity: 1; transform: none; }
}

/* ---------- Cursor spotlight on cards ---------- */
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity .45s;
  pointer-events: none;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%),
    rgba(201,162,75,.13), transparent 62%);
}
.card:hover::after { opacity: 1; }
.card-dark::after {
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%),
    rgba(233,208,142,.14), transparent 62%);
}

/* ---------- 3D tilt (hero dashboard) ---------- */
.hero-visual { perspective: 1100px; }
.dash-main {
  transform-style: preserve-3d;
  will-change: transform;
}
.hero-visual.tilting .dash-main {
  animation: none;
  transition: transform .18s ease-out;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}
.hero-visual.tilt-reset .dash-main {
  transition: transform .8s var(--ease-out);
  transform: none;
}

/* ---------- Ghost display typography ---------- */
.ghost-word {
  position: absolute;
  inset-inline-end: 8%;
  top: 8%;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(6rem, 15vw, 13rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(16, 32, 58, .07);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 0;
  will-change: transform;
}
.on-dark .ghost-word { -webkit-text-stroke-color: rgba(201, 162, 75, .1); }
.section > .container { position: relative; z-index: 1; }

/* ---------- Animated conic gold ring on CTA bands ---------- */
@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
.cta-band {
  isolation: isolate;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--angle),
    transparent 0%, rgba(201,162,75,.1) 18%, var(--gold-300) 32%,
    rgba(246,231,184,.95) 38%, var(--gold-500) 46%, rgba(201,162,75,.1) 62%, transparent 80%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: ringSpin 7s linear infinite;
  pointer-events: none;
}
@keyframes ringSpin { to { --angle: 360deg; } }

/* ---------- Live dashboard scenario swap ---------- */
.dash-head, .dash-float > div:last-child {
  transition: opacity .38s var(--ease-out), transform .38s var(--ease-out);
}
.dash-fading .dash-head,
.dash-fading .dash-float > div:last-child {
  opacity: 0;
  transform: translateY(9px);
}
.dash-progress {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  height: 2px;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  overflow: hidden;
}
.dash-progress i {
  display: block;
  height: 100%;
  background: var(--grad-gold);
  transform-origin: right;
  transform: scaleX(0);
}
.dash-progress i.run {
  animation: dashTimer var(--cycle, 6s) linear forwards;
}
@keyframes dashTimer { to { transform: scaleX(1); } }

/* ---------- Preview-state banner (remove when the form goes live) ---------- */
.preview-banner {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding: .95rem 1.15rem;
  margin-bottom: 1.6rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(201, 162, 75, .45);
  background: rgba(201, 162, 75, .09);
  font-size: .9rem;
  line-height: 1.6;
}
.preview-banner strong {
  font-family: var(--font-display);
  color: var(--gold-600);
  letter-spacing: .04em;
}
.preview-banner span { color: var(--ink-soft); }

/* ---------- Smart-economy flow strip ---------- */
.smart-flow { margin-top: clamp(3.5rem, 7vw, 5.5rem); }
.smart-flow-head { text-align: center; max-width: 34rem; margin: 0 auto 2.6rem; }
.smart-flow-head p { color: var(--ink-soft); margin-top: .5rem; font-size: .98rem; }

.flow-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
/* the connective thread: draws itself right-to-left on reveal */
.flow-grid::before {
  content: "";
  position: absolute;
  top: 7px;
  inset-inline: 12%;
  height: 1.5px;
  background: linear-gradient(90deg, rgba(201,162,75,.15), var(--gold-500), rgba(201,162,75,.15));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 1.7s var(--ease-out) .25s;
}
.reveal.in .flow-grid::before { transform: scaleX(1); }

.flow-stage {
  text-align: center;
  padding-inline: .5rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .8s var(--ease-out) var(--fd, 0s), transform .8s var(--ease-out) var(--fd, 0s);
}
.reveal.in .flow-stage { opacity: 1; transform: none; }

.flow-dot {
  display: block;
  width: 15px; height: 15px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  background: var(--grad-gold);
  box-shadow: 0 0 0 5px rgba(201,162,75,.12), 0 0 18px rgba(201,162,75,.35);
  position: relative;
  z-index: 1;
}
.flow-stage h4 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  margin-bottom: .45rem;
}
.flow-stage p { color: var(--ink-soft); font-size: .9rem; line-height: 1.65; }

@media (max-width: 820px) {
  .flow-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.2rem; }
  .flow-grid::before { display: none; }
}

/* ---------- Hero headline underline flourish ---------- */
.hero-flourish {
  display: block;
  width: min(300px, 50%);
  height: 10px;
  margin-top: 1.1rem;
}
.hero-flourish path {
  fill: none;
  stroke: url(#flourishGold);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  animation: draw 1.6s 1.4s var(--ease-out) forwards;
}

@media (prefers-reduced-motion: reduce) {
  .aurora i, body::after, .cta-band::before { animation: none !important; }
  .word, .page-hero .crumb, .page-hero h1, .page-hero .lead {
    opacity: 1; transform: none; filter: none; animation: none;
  }
}

/* ---------- Responsive overlap QA (breakpoint audit fixes) ----------
   Decorative layers stand down before they collide with real content. */

/* laptops and below: ghost words shrink and retreat into section padding */
@media (max-width: 1280px) {
  .ghost-word {
    top: 0 !important;
    font-size: clamp(4.5rem, 10vw, 8.5rem) !important;
    opacity: .75;
  }
}
/* phones: ghost words stay, but compact enough to live inside the
   section's top padding without touching the headings */
@media (max-width: 700px) {
  .ghost-word {
    top: 4px !important;
    font-size: clamp(3rem, 13vw, 4.5rem) !important;
    opacity: .8;
  }
}

/* stacked hero (tablet): floating card must not reach the trust stats above */
@media (max-width: 1024px) {
  .hero-visual { margin-top: 2.4rem; }
}

/* page-hero watermark: shrink and drop below the headline zone on laptops */
@media (max-width: 1240px) {
  .page-hero .key-watermark {
    width: min(280px, 30vw);
    top: 42%;
    opacity: .055;
  }
}

/* CTA band watermark: smaller on laptops, gone on small screens */
@media (min-width: 821px) and (max-width: 1240px) {
  .cta-band .key-mark { width: 230px; inset-inline-end: -44px; bottom: -52px; }
}
@media (max-width: 820px) {
  .cta-band .key-mark { display: none; }
}

/* contact page: two-column layout collapses cleanly on mobile */
.contact-grid { grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: start; }
@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; gap: 1.6rem; }
}
