/* ============ TOKENS ============ */
:root {
  --navy-deep: #0B1220;
  --navy-surface: #101A30;
  --navy-card: #16213E;
  --navy-line: #24304F;
  --amber: #E9A23B;
  --amber-soft: #FDF3E2;
  --teal: #2A9D8F;
  --text-light: #E8ECF4;
  --text-muted: #94A3B8;
  --text-dark: #16213E;
  --text-dark-muted: #5B6472;
  --cream: #FAF8F4;
  --white: #FFFFFF;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --container: 1180px;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
:focus-visible { outline: 2.5px solid var(--amber); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
  display: block;
}
.eyebrow--light { color: var(--amber); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; color: var(--text-dark); line-height: 1.12; }
h2 { font-size: clamp(28px, 3.6vw, 42px); letter-spacing: -0.01em; }
h3 { font-size: 22px; }
h4 { font-size: 17px; }

.section__head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section__lede { font-size: 17px; color: var(--text-dark-muted); margin-top: 16px; line-height: 1.6; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 15px;
  padding: 14px 28px; border-radius: 999px; border: none; cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn--primary { background: var(--amber); color: #241505; }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(233,162,59,0.35); }
.btn--ghost { background: transparent; color: var(--text-light); border: 1.5px solid rgba(255,255,255,0.28); }
.btn--ghost:hover { border-color: var(--amber); color: var(--amber); }
.btn--sm { padding: 9px 18px; font-size: 13.5px; }
.btn--block { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(11,18,32,0); border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.nav.is-scrolled { background: rgba(11,18,32,0.92); backdrop-filter: blur(10px); border-color: var(--navy-line); }
.nav__inner {
  max-width: var(--container); margin: 0 auto; padding: 18px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav__brand { font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--white); }
.nav__brand span { color: var(--amber); }
.nav__links { display: flex; gap: 32px; }
.nav__links a { font-size: 14.5px; font-weight: 500; color: var(--text-light); opacity: 0.85; transition: opacity 0.15s; }
.nav__links a:hover { opacity: 1; color: var(--amber); }
.nav__actions { display: flex; align-items: center; gap: 14px; }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav__burger span { width: 22px; height: 2px; background: var(--white); border-radius: 2px; }

/* ============ HERO ============ */
.hero {
  position: relative; background: var(--navy-deep); color: var(--text-light);
  min-height: 100vh; display: flex; align-items: center; overflow: hidden;
  padding: 140px 24px 100px;
}
.hero__timeline {
  position: absolute; inset: 0; opacity: 0.85;
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
  padding: 0 0 0 0;
  mask-image: linear-gradient(to bottom, transparent, black 20%, black 75%, transparent);
}
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(11,18,32,0.97) 0%, rgba(11,18,32,0.88) 42%, rgba(11,18,32,0.55) 100%);
}
.tl-row { display: flex; align-items: center; gap: 10px; height: 30px; }
.tl-room { font-family: var(--font-mono); font-size: 11px; color: rgba(232,236,244,0.28); width: 46px; flex-shrink: 0; }
.tl-track { flex: 1; height: 100%; position: relative; }
.tl-bar {
  position: absolute; top: 3px; bottom: 3px; border-radius: 6px;
  transform: scaleX(0); transform-origin: left center;
  animation: tl-grow 1.3s cubic-bezier(.16,.84,.44,1) forwards;
}
@keyframes tl-grow { to { transform: scaleX(1); } }

.hero__inner { position: relative; z-index: 2; max-width: 680px; }
.hero__title { font-size: clamp(40px, 6vw, 68px); color: var(--white); letter-spacing: -0.015em; margin-bottom: 22px; }
.hero__sub { font-size: 18px; color: var(--text-muted); max-width: 560px; margin-bottom: 34px; line-height: 1.65; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.hero__proof { font-family: var(--font-mono); font-size: 12.5px; color: var(--teal); letter-spacing: 0.02em; }

/* ============ PILLARS ============ */
.pillars { max-width: var(--container); margin: 0 auto; padding: 120px 24px; }
.pillars__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pillar {
  background: var(--white); border-radius: var(--radius); padding: 32px 28px;
  border: 1px solid #ECE7DD; box-shadow: 0 1px 2px rgba(22,33,62,0.04);
}
.pillar__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber); font-weight: 600; margin-bottom: 12px; }
.pillar h3 { margin-bottom: 12px; }
.pillar > p { color: var(--text-dark-muted); font-size: 14.5px; margin-bottom: 18px; line-height: 1.6; }
.pillar ul { display: flex; flex-direction: column; gap: 10px; }
.pillar li { font-size: 13.5px; color: var(--text-dark); padding-left: 20px; position: relative; line-height: 1.5; }
.pillar li::before { content: "→"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }

/* ============ PRODUCT TOUR (SLIDER) ============ */
.tour { max-width: var(--container); margin: 0 auto; padding: 40px 24px 110px; }
.tour__slider { position: relative; }
.tour__viewport { overflow: hidden; border-radius: var(--radius); }
.tour__track {
  display: flex;
  transition: transform 0.5s cubic-bezier(.4,0,.2,1);
}
.tour__slide { flex: 0 0 100%; width: 100%; box-sizing: border-box; padding: 0 2px; }
.tour__slide img {
  width: 100%; display: block; border-radius: var(--radius); border: 1px solid #E2DED3;
  box-shadow: 0 20px 45px -20px rgba(22,33,62,0.3); aspect-ratio: 1920 / 967; object-fit: cover;
}
.tour__slide figcaption {
  margin-top: 16px; font-size: 15px; color: var(--text-dark-muted); line-height: 1.5; text-align: center;
}
.tour__slide figcaption strong { color: var(--text-dark); font-family: var(--font-display); font-weight: 600; font-size: 17px; }

.tour__arrow {
  position: absolute; top: 36%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid #E2DED3;
  background: var(--white); color: var(--text-dark); font-size: 22px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px -6px rgba(22,33,62,0.25); transition: background 0.15s, color 0.15s;
  z-index: 5;
}
.tour__arrow:hover { background: var(--amber); color: #241505; border-color: var(--amber); }
.tour__arrow--prev { left: -22px; }
.tour__arrow--next { right: -22px; }

.tour__dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.tour__dots button {
  width: 8px; height: 8px; border-radius: 50%; border: none; background: #DCD6C9;
  cursor: pointer; padding: 0; transition: background 0.2s, width 0.2s;
}
.tour__dots button.is-active { background: var(--amber); width: 22px; border-radius: 5px; }

@media (max-width: 700px) {
  .tour__arrow { width: 38px; height: 38px; font-size: 18px; }
  .tour__arrow--prev { left: -6px; }
  .tour__arrow--next { right: -6px; }
}

/* ============ FEATURE ROWS ============ */
.feature {
  max-width: var(--container); margin: 0 auto; padding: 80px 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.feature--reverse .feature__text { order: 2; }
.feature--reverse .feature__media { order: 1; }
.feature__text h2 { margin-bottom: 16px; }
.feature__text > p { color: var(--text-dark-muted); font-size: 15.5px; line-height: 1.65; margin-bottom: 20px; }
.check-list { display: flex; flex-direction: column; gap: 12px; }
.check-list li { font-size: 14.5px; padding-left: 28px; position: relative; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 18px; height: 18px; border-radius: 50%; background: var(--teal); color: white;
  font-size: 11px; display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.feature__media img {
  border-radius: var(--radius); border: 1px solid #E2DED3;
  box-shadow: 0 20px 50px -20px rgba(22,33,62,0.28);
}
.feature__media--phones { display: flex; gap: 18px; justify-content: center; }
.feature__media--phones img { width: 48%; border-radius: 20px; }

/* ============ FINANCIAL CONTROL ============ */
.control { background: var(--navy-deep); color: var(--text-light); padding: 110px 24px; }
.control__inner { max-width: var(--container); margin: 0 auto; text-align: center; }
.control h2 { color: var(--white); max-width: 640px; margin: 0 auto 18px; }
.control__lede { max-width: 620px; margin: 0 auto 56px; color: var(--text-muted); font-size: 16px; line-height: 1.65; }
.control__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; text-align: left; }
.control__item {
  background: var(--navy-card); border: 1px solid var(--navy-line); border-radius: var(--radius);
  padding: 26px 22px;
}
.control__item h4 { color: var(--amber); margin-bottom: 10px; font-size: 16px; }
.control__item p { color: var(--text-muted); font-size: 13.5px; line-height: 1.55; }

/* ============ PROOF / DASHBOARD ============ */
.proof { max-width: var(--container); margin: 0 auto; padding: 110px 24px; text-align: center; }
.proof__media img { border-radius: var(--radius); border: 1px solid #E2DED3; box-shadow: 0 30px 60px -25px rgba(22,33,62,0.3); }
.proof__caption { margin-top: 22px; color: var(--text-dark-muted); font-size: 14.5px; }

/* ============ FAQ ============ */
.faq { max-width: 780px; margin: 0 auto; padding: 100px 24px; }
.faq__item { border-bottom: 1px solid #E2DED3; }
.faq__question {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 22px 0; font-family: var(--font-display); font-size: 18px; font-weight: 500;
  color: var(--text-dark); display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq__icon { flex-shrink: 0; width: 22px; height: 22px; position: relative; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; background: var(--teal); border-radius: 2px; transition: transform 0.25s ease;
}
.faq__icon::before { width: 14px; height: 2px; top: 10px; left: 4px; }
.faq__icon::after { width: 2px; height: 14px; top: 4px; left: 10px; }
.faq__item.is-open .faq__icon::after { transform: rotate(90deg); }
.faq__answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq__answer p { padding-bottom: 22px; color: var(--text-dark-muted); font-size: 15px; line-height: 1.65; max-width: 620px; }
.faq__item.is-open .faq__answer { max-height: 240px; }

/* ============ STEPS ============ */
.steps { background: var(--navy-surface); color: var(--text-light); padding: 110px 24px; }
.steps .section__head h2 { color: var(--white); }
.steps__grid { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.step { padding: 8px; }
.step__num { font-family: var(--font-mono); font-size: 14px; color: var(--amber); font-weight: 600; }
.step h4 { color: var(--white); margin: 12px 0 10px; font-size: 20px; }
.step p { color: var(--text-muted); font-size: 14.5px; line-height: 1.6; }

/* ============ DEMO FORM ============ */
.demo { background: var(--white); padding: 110px 24px; }
.demo__inner {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px;
}
.demo__intro { padding-top: 8px; }
.demo__intro h2 { margin-bottom: 16px; }
.demo__intro > p { color: var(--text-dark-muted); font-size: 15.5px; line-height: 1.65; margin-bottom: 26px; }
.demo__list { display: flex; flex-direction: column; gap: 12px; }
.demo__list li { font-size: 14.5px; padding-left: 26px; position: relative; color: var(--text-dark); }
.demo__list li::before { content: "•"; position: absolute; left: 6px; color: var(--amber); font-weight: 900; }
.demo__direct { margin-top: 24px; font-size: 13.5px; color: var(--text-dark-muted); line-height: 1.7; }
.demo__direct a { color: var(--teal); font-weight: 600; }
.demo__direct a:hover { text-decoration: underline; }

.demo__form {
  background: var(--navy-deep); border-radius: 20px; padding: 40px;
  display: flex; flex-direction: column; gap: 16px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__field { display: flex; flex-direction: column; gap: 6px; }
.form__field label { font-size: 12.5px; font-weight: 600; color: var(--text-muted); }
.form__field input, .form__field select, .form__field textarea {
  background: var(--navy-card); border: 1px solid var(--navy-line); border-radius: 8px;
  padding: 11px 13px; font-family: var(--font-body); font-size: 14px; color: var(--text-light);
  outline-offset: 2px;
}
.form__field input::placeholder, .form__field textarea::placeholder { color: #5D6B85; }
.form__field input:focus, .form__field select:focus, .form__field textarea:focus { border-color: var(--amber); }
.form__field textarea { resize: vertical; font-family: var(--font-body); }
.form__note { font-size: 11.5px; color: var(--text-muted); text-align: center; }
.form__status { font-size: 13.5px; text-align: center; min-height: 18px; font-weight: 600; }
.form__status.is-success { color: #6EE7B7; }
.form__status.is-error { color: #FCA5A5; }

/* ============ FOOTER ============ */
.footer { background: var(--navy-deep); color: var(--text-muted); padding: 56px 24px 28px; }
.footer__inner {
  max-width: var(--container); margin: 0 auto; display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 24px; padding-bottom: 32px; border-bottom: 1px solid var(--navy-line);
}
.footer__brand .nav__brand { margin-bottom: 8px; }
.footer__brand p { font-size: 13.5px; }
.footer__contact { margin-top: 10px; line-height: 1.8; }
.footer__contact a { color: var(--text-muted); }
.footer__contact a:hover { color: var(--amber); }
.footer__links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer__links a { font-size: 13.5px; color: var(--text-muted); }
.footer__links a:hover { color: var(--amber); }
.footer__bottom { max-width: var(--container); margin: 24px auto 0; font-size: 12.5px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .pillars__grid { grid-template-columns: 1fr; }
  .control__grid { grid-template-columns: 1fr 1fr; }
  .feature, .feature--reverse { grid-template-columns: 1fr; }
  .feature__text, .feature--reverse .feature__text { order: 1 !important; }
  .feature__media, .feature--reverse .feature__media { order: 2 !important; }
  .steps__grid { grid-template-columns: 1fr; }
  .demo__inner { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .control__grid { grid-template-columns: 1fr; }
  .feature__media--phones { flex-direction: column; align-items: center; }
  .feature__media--phones img { width: 68%; }
  .demo__form { padding: 26px; }
}
