/* Landing page presentation layer only. */
.landing-page {
  --landing-ink: #0a1d3b;
  --landing-blue: #2949d8;
  --landing-blue-strong: #1f3fbd;
  --landing-teal: #0f8c84;
  --landing-bg: #f6f8fc;
  --landing-line: #dbe4f0;
  --landing-line-soft: #e9eef6;
  --landing-muted: #61708a;
  background: var(--landing-bg);
  color: var(--landing-ink);
}

.landing-container {
  max-width: 1180px;
  padding: 0 24px;
}

.landing-header {
  background: rgba(255, 255, 255, 0.9);
  border-bottom-color: rgba(10, 29, 59, 0.08);
  box-shadow: 0 10px 32px rgba(19, 45, 89, 0.045);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  backdrop-filter: blur(18px) saturate(145%);
}

.landing-header-inner {
  max-width: 1180px;
  height: 72px;
  padding: 0 24px;
  gap: 28px;
}

.landing-brand {
  gap: 11px;
  color: var(--landing-ink);
  font-size: 16px;
  font-weight: 850;
  min-width: 0;
}

.landing-brand > span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.landing-brand-logo,
.landing-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.landing-mark {
  background: var(--landing-ink);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.landing-nav {
  gap: 10px;
}

.landing-nav-link {
  color: #53627b;
  font-size: 13.5px;
  padding: 9px 13px;
  border-radius: 6px;
}

.landing-nav-link:hover {
  color: var(--landing-blue-strong);
  background: #f0f4fc;
}

.landing-auth {
  gap: 10px;
}

.landing-login {
  color: var(--landing-ink);
  padding: 9px 13px;
  border-radius: 6px;
}

.landing-login:hover {
  background: #f2f5fa;
}

.landing-register {
  min-width: 92px;
  min-height: 40px;
  padding: 0 17px;
  border-radius: 6px;
  background: var(--landing-ink);
  box-shadow: 0 8px 20px rgba(10, 29, 59, 0.16);
}

.landing-register:hover {
  background: #132d58;
}

.landing-hero {
  padding: 96px 0 108px;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfdff 58%, #f6f9fe 100%);
}

.landing-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--landing-line), transparent);
}

.landing-hero-grid {
  opacity: 0.66;
  background-image:
    linear-gradient(rgba(41, 73, 216, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41, 73, 216, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 88%);
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

.landing-hero-inner {
  grid-template-columns: minmax(0, 1.05fr) minmax(430px, 0.95fr);
  gap: 74px;
}

.landing-hero-copy {
  max-width: 620px;
}

.landing-eyebrow {
  gap: 7px;
  color: var(--landing-blue-strong);
  background: #f3f6ff;
  border-color: #dbe4ff;
  padding: 7px 12px;
  border-radius: 6px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  font-size: 12px;
}

.landing-hero h1 {
  margin: 22px 0 22px;
  color: var(--landing-ink);
}

.landing-hero-line {
  margin-bottom: 12px;
  color: #344764;
  font-size: 25px;
  font-weight: 760;
  line-height: 1.25;
}

.landing-hero-accent {
  color: var(--landing-blue);
  font-size: 58px;
  line-height: 1.06;
  font-weight: 900;
  background: none;
  -webkit-text-fill-color: currentColor;
  filter: none;
  animation: none;
  white-space: normal;
}

.landing-hero-accent::after {
  bottom: -8px;
  width: 126px;
  height: 3px;
  background: linear-gradient(90deg, var(--landing-blue), var(--landing-teal));
  opacity: 0.82;
}

.landing-hero-copy > p {
  max-width: 590px;
  margin-bottom: 28px;
  color: var(--landing-muted);
  font-size: 16px;
  line-height: 1.88;
}

.landing-tech-chips {
  gap: 9px;
  margin: -2px 0 26px;
}

.landing-tech-chips span {
  color: #294868;
  background: #ffffff;
  border-color: var(--landing-line);
  border-radius: 6px;
  box-shadow: 0 3px 12px rgba(19, 45, 89, 0.035);
}

.landing-hero-cta {
  gap: 12px;
  margin-bottom: 28px;
}

.landing-btn-primary,
.landing-btn-ghost {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    border-color 0.16s ease,
    background 0.16s ease;
}

.landing-btn-primary {
  background: var(--landing-ink);
  border-color: var(--landing-ink);
  box-shadow: 0 12px 26px rgba(10, 29, 59, 0.18);
}

.landing-btn-primary:hover {
  transform: translateY(-1px);
  background: #132d58;
  box-shadow: 0 16px 32px rgba(10, 29, 59, 0.2);
}

.landing-btn-ghost {
  color: var(--landing-ink);
  border-color: #d5dfed;
  box-shadow: 0 4px 14px rgba(19, 45, 89, 0.035);
}

.landing-btn-ghost:hover {
  transform: translateY(-1px);
  color: var(--landing-blue-strong);
  border-color: #bccbe3;
  background: #f9fbff;
}

.landing-hero-trust {
  gap: 9px 12px;
  color: #53627b;
  font-size: 12.5px;
}

.landing-hero-trust span {
  padding: 7px 11px;
  border-color: var(--landing-line-soft);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: none;
}

.landing-hero-stats {
  gap: 0;
  margin-top: 34px;
  padding-top: 22px;
  border-top-color: var(--landing-line);
}

.landing-hero-stats > div {
  position: relative;
  padding: 4px 20px 4px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.landing-hero-stats > div + div {
  padding-left: 20px;
  border-left: 1px solid var(--landing-line-soft);
}

.landing-hero-stats b {
  color: var(--landing-ink);
  font-size: 26px;
  font-weight: 900;
}

.landing-hero-stats span {
  margin-top: 5px;
  color: var(--landing-muted);
  font-size: 11.5px;
}

.landing-mock {
  border-color: var(--landing-line);
  border-radius: 8px;
  transform: none;
  box-shadow:
    0 2px 6px rgba(19, 45, 89, 0.05),
    0 28px 70px rgba(19, 45, 89, 0.12);
}

.landing-mock-corner {
  width: 22px;
  height: 22px;
}

.landing-mock-corner.tl,
.landing-mock-corner.tr,
.landing-mock-corner.bl,
.landing-mock-corner.br {
  border-color: rgba(41, 73, 216, 0.55);
}

.landing-mock-scan {
  opacity: 0;
  animation-duration: 5.4s;
  background: linear-gradient(90deg, transparent, rgba(41, 73, 216, 0.32), transparent);
}

.landing-mock-top {
  padding: 12px 14px;
  background: #f8fafc;
  border-bottom-color: var(--landing-line-soft);
}

.landing-mock-body {
  padding: 27px 28px 28px;
}

.landing-mock-badge {
  color: #087f76;
  background: #effaf8;
  border-color: #c7ece8;
}

.landing-mock-link {
  color: var(--landing-blue-strong);
}

.landing-mock-body h3 {
  color: var(--landing-ink);
  font-size: 21px;
  font-weight: 850;
}

.landing-mock-body p {
  color: var(--landing-muted);
  line-height: 1.8;
}

.landing-mock-flow span,
.landing-mock-status span {
  color: #44546e;
  background: #f8fafc;
  border-color: var(--landing-line-soft);
}

.landing-mock-cta {
  min-height: 44px;
  border-radius: 6px;
  background: var(--landing-ink);
  box-shadow: 0 8px 18px rgba(10, 29, 59, 0.13);
}

.landing-mock-cta:hover {
  background: #132d58;
}

.landing-section {
  padding: 92px 0;
  scroll-margin-top: 90px;
}

.landing-section-head {
  max-width: 680px;
  margin-bottom: 42px;
}

.landing-section-head h2 {
  color: var(--landing-ink);
  font-size: 36px;
  font-weight: 900;
  line-height: 1.28;
}

.landing-section-head p {
  color: var(--landing-muted);
  font-size: 15px;
  line-height: 1.8;
}

.landing-kicker {
  gap: 9px;
  color: var(--landing-blue-strong);
  font-size: 11.5px;
  letter-spacing: 0.08em;
}

.landing-kicker::before {
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--landing-blue), var(--landing-teal));
}

.landing-features {
  background: var(--landing-bg);
}

.landing-feature-grid {
  gap: 12px;
}

.landing-feature-card {
  min-height: 156px;
  gap: 10px;
  padding: 18px;
  border-color: var(--landing-line);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(19, 45, 89, 0.035);
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.landing-feature-card::before {
  height: 2px;
  background: linear-gradient(90deg, var(--landing-blue), var(--landing-teal));
}

.landing-feature-card:hover {
  transform: translateY(-3px);
  border-color: #c7d5e9;
  box-shadow: 0 16px 34px rgba(19, 45, 89, 0.075);
}

.landing-feature-icon {
  width: 38px;
  height: 38px;
  border: 1px solid #dbe4ff;
  background: #f3f6ff;
  color: var(--landing-blue);
}

.landing-feature-card h3 {
  color: var(--landing-ink);
  font-size: 15px;
}

.landing-feature-card p {
  color: var(--landing-muted);
  font-size: 12.5px;
  line-height: 1.65;
}

.landing-flow {
  background: #fff;
}

.landing-flow-grid {
  gap: 14px;
}

.landing-flow-step {
  min-height: 154px;
  padding: 22px 18px 18px;
  border-color: var(--landing-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(19, 45, 89, 0.03);
}

.landing-flow-step::after {
  content: "";
  position: absolute;
  left: calc(100% + 1px);
  top: 50%;
  width: 13px;
  height: 1px;
  background: var(--landing-line);
}

.landing-flow-step:last-child::after {
  display: none;
}

.landing-flow-step:hover {
  transform: translateY(-3px);
  border-color: #c7d5e9;
  box-shadow: 0 16px 34px rgba(19, 45, 89, 0.07);
}

.landing-flow-num {
  color: #dce5f2;
  font-size: 28px;
}

.landing-flow-icon {
  width: 40px;
  height: 40px;
  border: 1px solid #dbe4ff;
  border-radius: 8px;
  background: #f3f6ff;
  color: var(--landing-blue);
}

.landing-flow-step b {
  color: var(--landing-ink);
}

.landing-flow-step p {
  color: var(--landing-muted);
}

.landing-faq {
  background: var(--landing-bg);
}

.landing-faq-list {
  max-width: 820px;
  gap: 10px;
}

.landing-faq-item {
  border-color: var(--landing-line);
  border-radius: 8px;
  box-shadow: 0 2px 7px rgba(19, 45, 89, 0.025);
}

.landing-faq-q {
  padding: 18px 20px;
  color: var(--landing-ink);
}

.landing-faq-a p {
  padding: 0 20px 17px;
  color: var(--landing-muted);
}

.landing-cta {
  position: relative;
  overflow: hidden;
  padding: 84px 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    var(--landing-ink);
  background-size: 36px 36px;
}

.landing-cta::after {
  content: "";
  position: absolute;
  inset: 20px 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(96, 137, 255, 0.42), transparent);
}

.landing-cta-inner {
  position: relative;
  z-index: 1;
}

.landing-cta h2 {
  color: #fff;
  font-size: 36px;
  font-weight: 900;
}

.landing-cta p {
  color: #b9c8e0;
}

.landing-cta .landing-btn-primary {
  min-width: 136px;
  background: #fff;
  border-color: #fff;
  color: var(--landing-ink);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
}

.landing-cta .landing-btn-primary:hover {
  background: #f3f7ff;
}

.landing-footer {
  padding: 0;
  background: #061225;
}

.landing-footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.65fr);
  align-items: start;
  gap: 72px;
  padding: 54px 0 46px;
  border-bottom-color: rgba(148, 163, 184, 0.14);
}

.landing-footer-brand-block {
  min-width: 0;
  transform: translateX(40px);
}

.landing-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  max-width: 100%;
  color: #fff;
  text-decoration: none;
}

.landing-footer-brand img,
.landing-footer-mark {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 10px;
  object-fit: contain;
}

.landing-footer-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--landing-ink);
  font-size: 17px;
  font-weight: 900;
}

.landing-footer-brand > span:last-child {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.landing-footer-brand b {
  overflow: hidden;
  font-size: 16px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.landing-footer-brand small {
  color: #7e91ac;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-footer-tagline {
  max-width: 590px;
  margin: 18px 0 0;
  color: #b7c6da;
  font-size: 14px;
  line-height: 1.9;
}

.landing-footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.landing-footer-meta span {
  padding: 7px 10px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: #9fb1c9;
  font-size: 11.5px;
}

.landing-footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  min-width: 0;
}

.landing-footer-link-group {
  display: grid;
  align-content: start;
  gap: 13px;
}

.landing-footer-link-group h3 {
  margin: 0 0 5px;
  color: #f8fafc;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.landing-footer-link-group a,
.landing-footer-link-group button {
  width: max-content;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: #aebdd2;
  font: inherit;
  font-size: 13px;
  line-height: 1.6;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.18s ease, transform 0.18s ease;
}

.landing-footer-link-group a:hover,
.landing-footer-link-group button:hover {
  color: #fff;
  transform: translateX(2px);
}

.landing-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  padding-bottom: 28px;
  color: #687d99;
  font-size: 12px;
}

.landing-footer-bottom .landing-icp {
  color: #91a4bd;
  text-decoration: none;
}

.landing-footer-bottom .landing-icp:hover {
  color: #fff;
  text-decoration: underline;
}

/* Professional enterprise footer */
.landing-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  background: #071426;
}

.landing-footer-inner {
  gap: 64px;
}

.landing-footer-brand-block {
  transform: none;
}

.landing-footer-note {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding-top: 18px;
  padding-bottom: 18px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.landing-footer-note-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(94, 234, 212, 0.22);
  border-radius: 7px;
  color: #8de6de;
  background: rgba(94, 234, 212, 0.07);
}

.landing-footer-note p {
  margin: 0;
  color: #93a6be;
  font-size: 11.5px;
  line-height: 1.65;
}

.landing-footer-service {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #a9eadf;
  font-size: 10.5px;
  font-weight: 800;
  white-space: nowrap;
}

.landing-footer-service i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #42d69b;
  box-shadow: 0 0 0 4px rgba(66, 214, 155, 0.09);
}

.landing-footer-bottom {
  align-items: center;
  gap: 18px;
  padding-top: 19px;
  padding-bottom: 25px;
}

.landing-footer-legal,
.landing-footer-legal-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.landing-footer-legal {
  color: #8498b3;
}

.landing-footer-legal-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #53677f;
}

.landing-footer-legal-links {
  justify-content: flex-end;
}

.landing-footer-legal-links a,
.landing-footer-legal-links button {
  padding: 0;
  border: 0;
  color: #96a9c1;
  background: transparent;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
  text-decoration: none;
}

.landing-footer-legal-links a:hover,
.landing-footer-legal-links button:hover {
  color: #fff;
}

@media (min-width: 1100px) {
  .landing-feature-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .landing-hero-inner {
    gap: 46px;
  }

  .landing-hero-accent {
    font-size: 50px;
  }

  .landing-flow-step::after {
    display: none;
  }
}

@media (max-width: 820px) {
  .landing-header-inner {
    height: 64px;
  }

  .landing-hero {
    padding: 64px 0 70px;
  }

  .landing-hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .landing-hero-copy,
  .landing-hero-visual,
  .landing-mock {
    width: 100%;
    min-width: 0;
  }

  .landing-hero-line {
    font-size: 21px;
  }

  .landing-hero-accent {
    font-size: 43px;
  }

  .landing-section {
    padding: 68px 0;
  }

  .landing-section-head h2,
  .landing-cta h2 {
    font-size: 31px;
  }

  .landing-cta {
    padding: 64px 0;
  }

  .landing-footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    padding: 42px 24px 32px;
    text-align: left;
  }

  .landing-footer-brand-block {
    width: 100%;
    max-width: none;
    margin: 0;
    transform: none;
  }

  .landing-footer-brand {
    justify-content: flex-start;
  }

  .landing-footer-meta {
    justify-content: flex-start;
  }

  .landing-footer-tagline {
    max-width: 540px;
    margin-right: 0;
    margin-left: 0;
  }

  .landing-footer-links {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-top: 24px;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    gap: 28px;
  }

  .landing-footer-link-group {
    justify-items: start;
    text-align: left;
  }

  .landing-footer-note {
    grid-template-columns: 36px minmax(0, 1fr) auto;
    justify-items: stretch;
    align-items: center;
    gap: 11px;
    padding-right: 24px;
    padding-left: 24px;
    text-align: left;
  }

  .landing-footer-service {
    grid-column: auto;
  }

  .landing-footer-bottom {
    justify-content: space-between;
    align-items: flex-start;
    padding-right: 24px;
    padding-left: 24px;
    text-align: left;
  }

  .landing-footer-legal {
    justify-content: flex-start;
  }

  .landing-footer-legal-links {
    justify-content: flex-end;
  }
}

@media (max-width: 560px) {
  .landing-container,
  .landing-header-inner {
    padding: 0 16px;
  }

  .landing-brand {
    font-size: 14px;
  }

  .landing-brand > span:last-child {
    max-width: 142px;
  }

  .landing-brand-logo,
  .landing-mark {
    width: 32px;
    height: 32px;
  }

  .landing-register {
    min-width: 82px;
    min-height: 38px;
    padding: 0 13px;
  }

  .landing-hero {
    padding: 48px 0 56px;
  }

  .landing-hero-line {
    font-size: 18px;
  }

  .landing-hero-accent {
    font-size: 36px;
  }

  .landing-hero-copy > p {
    font-size: 14.5px;
  }

  .landing-hero-cta {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-flow: row;
    grid-auto-columns: auto;
  }

  .landing-btn-primary,
  .landing-btn-ghost {
    width: 100%;
  }

  .landing-hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 0;
  }

  .landing-hero-stats > div {
    padding-right: 14px;
  }

  .landing-hero-stats > div + div {
    padding-left: 14px;
  }

  .landing-hero-stats > div:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }

  .landing-hero-stats b {
    font-size: 23px;
  }

  .landing-mock-body {
    padding: 22px 20px 23px;
  }

  .landing-section {
    padding: 56px 0;
  }

  .landing-section-head h2,
  .landing-cta h2 {
    font-size: 28px;
  }

  .landing-feature-card {
    min-height: 0;
  }

  .landing-footer-inner {
    padding: 38px 20px 30px;
  }

  .landing-footer-meta {
    gap: 6px;
  }

  .landing-footer-meta span {
    padding: 6px 9px;
  }

  .landing-footer-links {
    max-width: none;
    gap: 20px;
  }

  .landing-footer-bottom {
    align-items: center;
    flex-direction: column;
    gap: 12px;
    padding-right: 20px;
    padding-left: 20px;
    padding-top: 18px;
    padding-bottom: 24px;
  }

  .landing-footer-legal-links {
    justify-content: center;
  }

  .landing-footer-note {
    grid-template-columns: 36px minmax(0, 1fr);
    padding-right: 20px;
    padding-left: 20px;
  }

  .landing-footer-service {
    grid-column: 2;
  }
}
