/* ==========================================================
   NBS Automatic — Landing Page Styles
   Landing-specific sections only; shared styles in design-system.css
   v1.0.0 | 2026-07-30
   ========================================================== */

/* ----------------------------------------------------------
   HERO
   ---------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,22,40,.90) 0%,
    rgba(10,22,40,.60) 45%,
    rgba(10,22,40,.25) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 0 24px 80px;
  margin: 0 auto;
  width: 100%;
}
.hero__eyebrow {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 20px;
}
.hero__title {
  font-family: var(--font-d);
  font-weight: 300;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1.02;
  letter-spacing: -.025em;
  color: var(--white);
  margin-bottom: 24px;
}
.hero__title em { font-style: italic; }
.hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.65;
  color: rgba(255,255,255,.72);
  max-width: 540px;
  margin-bottom: 40px;
}
.hero__ctas {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.hero__trust {
  font-size: .8125rem;
  color: rgba(255,255,255,.4);
  letter-spacing: .015em;
}
.hero__trust span { color: rgba(255,255,255,.2); margin: 0 8px; }

/* ----------------------------------------------------------
   PROBLEM
   ---------------------------------------------------------- */
.problem { padding: var(--section-v) 0; background: var(--white); }
.problem__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.problem__num {
  font-family: var(--font-d);
  font-size: 6rem;
  font-weight: 300;
  color: var(--border);
  line-height: 1;
  margin-bottom: 28px;
}
.problem__prose p {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--body-c);
  margin-bottom: 18px;
}
.problem__prose p:last-child { margin-bottom: 0; }
.problem__prose strong { color: var(--ink); font-weight: 500; }
.problem__stat {
  font-family: var(--font-d);
  font-size: 2.25rem;
  font-weight: 300;
  color: var(--navy);
  line-height: 1.2;
  margin-top: 36px;
}
.problem__stat small {
  display: block;
  font-family: var(--font-b);
  font-size: .8125rem;
  font-weight: 400;
  color: var(--muted);
  margin-top: 6px;
  letter-spacing: .03em;
}
@media (max-width: 768px) {
  .problem__grid { grid-template-columns: 1fr; gap: 36px; }
  .problem__num { font-size: 4rem; }
}

/* ----------------------------------------------------------
   HOW IT WORKS
   ---------------------------------------------------------- */
.how { padding: var(--gap) 0; background: var(--surface); }
.how__intro { max-width: 520px; margin-bottom: 56px; }
.how__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: var(--border-1);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--white);
}
.how__step { padding: 40px 32px; }
.how__step:not(:last-child) { border-right: var(--border-1); }
.how__step-num {
  font-family: var(--font-d);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--border);
  line-height: 1;
  margin-bottom: 18px;
}
.how__step-icon {
  width: 36px;
  height: 36px;
  color: var(--navy);
  margin-bottom: 16px;
}
.how__step-icon svg { width: 36px; height: 36px; }
.how__step h3 { font-size: 1rem; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.how__step p { font-size: .9375rem; line-height: 1.65; color: var(--body-c); }
@media (max-width: 768px) {
  .how__steps { grid-template-columns: 1fr; }
  .how__step:not(:last-child) { border-right: none; border-bottom: var(--border-1); }
  .how__step { padding: 28px 24px; }
}

/* ----------------------------------------------------------
   DEMO
   ---------------------------------------------------------- */
.demo { padding: var(--gap) 0; background: var(--white); }
.demo__intro { max-width: 580px; margin-bottom: 48px; }
.demo__wrap {
  background: var(--surface);
  border: var(--border-1);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.demo__header {
  padding: 18px 24px;
  border-bottom: var(--border-1);
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  flex-wrap: wrap;
}
.demo__route { font-size: .875rem; font-weight: 600; color: var(--ink); }
.demo__route-dates { font-size: .8125rem; color: var(--muted); margin-left: 6px; font-weight: 400; }
.demo__badge-wrap { margin-left: auto; }
.demo__chart-wrap { padding: 24px 20px 0; }
.demo__chart-svg { width: 100%; height: auto; display: block; }
.demo__chart-caption {
  font-size: .75rem;
  color: var(--subtle);
  text-align: center;
  padding: 10px 20px 16px;
}
.demo__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: var(--border-1);
}
.demo__stat { padding: 18px 20px; text-align: center; }
.demo__stat:not(:last-child) { border-right: var(--border-1); }
.demo__stat-val {
  font-family: var(--font-d);
  font-size: 1.625rem;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.2;
}
.demo__stat-val--alert { color: var(--amber); }
.demo__stat-val--ok    { color: var(--success); }
.demo__stat-lbl { font-size: .75rem; color: var(--muted); margin-top: 3px; }
.demo__notif {
  margin: 0 24px 24px;
  border: var(--border-1);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.demo__notif-bar {
  background: var(--navy);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.demo__notif-bar span { font-size: .75rem; color: rgba(255,255,255,.6); }
.demo__notif-bar strong { font-size: .75rem; color: var(--white); font-weight: 500; }
.demo__notif-body { padding: 18px 20px; }
.demo__notif-subj { font-size: .9375rem; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.demo__notif-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 7px 0;
  border-bottom: 1px solid var(--surface);
  font-size: .875rem;
}
.demo__notif-row:last-of-type { border-bottom: none; }
.demo__notif-key  { color: var(--muted); }
.demo__notif-val  { font-weight: 500; color: var(--ink); }
.demo__notif-val--down { color: var(--success); }
.demo__notif-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 9px 16px;
  background: var(--navy);
  color: var(--white);
  font-size: .875rem;
  font-weight: 500;
  border-radius: var(--r-sm);
  transition: background var(--t-base);
}
.demo__notif-cta:hover { background: #264a73; }
.demo__notif-cta svg { width: 14px; height: 14px; }
.demo__disclaimer { font-size: .75rem; color: var(--subtle); margin-top: 8px; line-height: 1.5; }
@media (max-width: 640px) {
  .demo__stats { grid-template-columns: 1fr; }
  .demo__stat:not(:last-child) { border-right: none; border-bottom: var(--border-1); }
  .demo__badge-wrap { margin-left: 0; }
}

/* ----------------------------------------------------------
   USE CASES
   ---------------------------------------------------------- */
.cases { padding: var(--gap) 0; background: var(--surface); }
.cases__intro { max-width: 520px; margin-bottom: 48px; }
.cases__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case {
  background: var(--white);
  border: var(--border-1);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.case__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.case__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.case:hover .case__media img { transform: scale(1.03); }
.case__content { padding: 24px 24px 28px; }
.case__tag {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 10px;
}
.case__title {
  font-family: var(--font-d);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.25;
}
.case__text { font-size: .9375rem; line-height: 1.65; color: var(--body-c); }
@media (max-width: 900px) {
  .cases__grid { grid-template-columns: 1fr 1fr; }
  .cases__grid .case:last-child { display: none; }
}
@media (max-width: 580px) {
  .cases__grid { grid-template-columns: 1fr; }
  .cases__grid .case:last-child { display: block; }
}

/* ----------------------------------------------------------
   TRUST
   ---------------------------------------------------------- */
.trust { padding: var(--gap) 0; background: var(--white); }
.trust__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.trust__col-title {
  font-family: var(--font-d);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 24px;
  line-height: 1.2;
}
.trust__item { display: flex; gap: 14px; padding: 18px 0; border-bottom: var(--border-1); }
.trust__item:first-of-type { border-top: var(--border-1); }
.trust__item-icon { width: 18px; height: 18px; color: var(--navy); flex-shrink: 0; margin-top: 3px; }
.trust__item-icon svg { width: 18px; height: 18px; }
.trust__item-body h4 { font-size: .9375rem; font-weight: 500; color: var(--ink); margin-bottom: 3px; }
.trust__item-body p  { font-size: .875rem; line-height: 1.6; color: var(--muted); }
.trust__source {
  margin-top: 28px;
  padding: 18px;
  background: var(--surface);
  border-radius: var(--r-md);
  border: var(--border-1);
}
.trust__source-label {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
}
.trust__source-text { font-size: .875rem; line-height: 1.6; color: var(--body-c); }
@media (max-width: 768px) { .trust__grid { grid-template-columns: 1fr; gap: 40px; } }

/* ----------------------------------------------------------
   BETA / PRICING
   ---------------------------------------------------------- */
.beta { padding: var(--gap) 0; background: var(--surface); }
.beta__inner { max-width: 620px; }
.beta__title {
  font-family: var(--font-d);
  font-size: clamp(1.875rem, 5vw, 2.75rem);
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 18px;
  line-height: 1.15;
}
.beta__sub {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--body-c);
  margin-bottom: 36px;
  max-width: 500px;
}
.beta__box {
  background: var(--white);
  border: var(--border-1);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex;
  gap: 28px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.beta__price-val {
  font-family: var(--font-d);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--ink);
  line-height: 1;
}
.beta__price-period { font-size: .8125rem; color: var(--muted); margin-top: 3px; }
.beta__features { display: flex; flex-direction: column; gap: 10px; }
.beta__features li { display: flex; gap: 9px; align-items: flex-start; font-size: .9375rem; color: var(--body-c); }
.beta__features li svg { width: 15px; height: 15px; color: var(--success); flex-shrink: 0; margin-top: 3px; }
.beta__note { font-size: .8125rem; color: var(--muted); line-height: 1.6; margin-top: 14px; }
@media (max-width: 520px) { .beta__box { flex-direction: column; gap: 18px; padding: 22px; } }

/* ----------------------------------------------------------
   FAQ
   ---------------------------------------------------------- */
.faq { padding: var(--gap) 0; background: var(--white); }
.faq__intro { max-width: 520px; margin-bottom: 40px; }
.faq__list { max-width: 700px; }
.faq__item { border-bottom: var(--border-1); }
.faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 20px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.faq__q svg { width: 20px; height: 20px; color: var(--muted); flex-shrink: 0; transition: transform .25s ease; }
.faq__item.open .faq__q svg { transform: rotate(45deg); }
.faq__a {
  display: none;
  padding-bottom: 20px;
  font-size: .9375rem;
  line-height: 1.7;
  color: var(--body-c);
  max-width: 640px;
}
.faq__item.open .faq__a { display: block; }

/* ----------------------------------------------------------
   FINAL CTA
   ---------------------------------------------------------- */
.cta-final { position: relative; overflow: hidden; }
.cta-final__media { position: absolute; inset: 0; }
.cta-final__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.cta-final__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10,22,40,.90) 0%,
    rgba(10,22,40,.55) 60%,
    rgba(10,22,40,.15) 100%
  );
}
.cta-final__content {
  position: relative;
  z-index: 2;
  padding: 96px 24px;
  max-width: 580px;
}
.cta-final__container { max-width: var(--max); margin: 0 auto; }
.cta-final__title {
  font-family: var(--font-d);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 18px;
  line-height: 1.1;
  letter-spacing: -.02em;
}
.cta-final__title em { font-style: italic; }
.cta-final__sub {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(255,255,255,.7);
  margin-bottom: 32px;
  max-width: 440px;
}
.cta-final__trust { font-size: .8125rem; color: rgba(255,255,255,.38); margin-top: 14px; }
@media (max-width: 640px) { .cta-final__content { padding: 72px 24px; } }

/* ----------------------------------------------------------
   MODAL
   ---------------------------------------------------------- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(10,22,40,.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--white);
  border-radius: var(--r-lg);
  width: 100%;
  max-width: 510px;
  max-height: 90svh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.modal__header { padding: 26px 26px 0; display: flex; justify-content: space-between; align-items: flex-start; }
.modal__title { font-family: var(--font-d); font-size: 1.5rem; font-weight: 400; color: var(--ink); line-height: 1.2; }
.modal__close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--muted);
  background: var(--surface);
  transition: background var(--t-base);
  flex-shrink: 0;
}
.modal__close:hover { background: var(--border); }
.modal__close svg { width: 16px; height: 16px; }
.modal__progress { display: flex; gap: 5px; padding: 18px 26px 0; }
.modal__progress-step {
  height: 3px;
  flex: 1;
  background: var(--border);
  border-radius: 2px;
  transition: background var(--t-slow);
}
.modal__progress-step.active { background: var(--amber); }
.modal__progress-step.done   { background: var(--success); }
.modal__body { padding: 22px 26px; }
.modal__step { display: none; }
.modal__step.active { display: block; }
.modal__step-lbl {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.modal__footer {
  padding: 0 26px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.modal__back { font-size: .875rem; color: var(--muted); background: none; padding: 0; transition: color var(--t-base); }
.modal__back:hover { color: var(--ink); }
.pref-options { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.pref-card {
  padding: 13px 15px;
  border: var(--border-form);
  border-radius: var(--r-sm);
  font-size: .875rem;
  color: var(--body-c);
  cursor: pointer;
  transition: border-color var(--t-base), background var(--t-base);
  text-align: left;
}
.pref-card:hover { border-color: var(--navy); }
.pref-card.selected { border-color: var(--navy); background: #EFF4FA; color: var(--navy); font-weight: 500; }
.modal__confirm { padding: 26px; text-align: center; }
.modal__confirm-icon {
  width: 48px;
  height: 48px;
  background: var(--success-l);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.modal__confirm-icon svg { width: 24px; height: 24px; color: var(--success); }
.modal__confirm-title { font-family: var(--font-d); font-size: 1.5rem; font-weight: 400; color: var(--ink); margin-bottom: 10px; }
.modal__confirm-sub { font-size: .9375rem; line-height: 1.65; color: var(--body-c); margin-bottom: 22px; }
