:root {
  color-scheme: light;
  --ink: #071426;
  --brand: #1768ed;
  --brand-dark: #0b2454;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #60a5fa;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: .75rem 1rem;
  font-weight: 800;
  transition: top 180ms ease;
}

.skip-link:focus {
  top: 1rem;
}

.landing-nav {
  transition: background-color 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
}

.landing-nav.is-scrolled {
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  background: rgba(7, 20, 38, .88);
  box-shadow: 0 12px 34px rgba(7, 20, 38, .18);
  backdrop-filter: blur(18px);
}

.nav-link {
  position: relative;
  padding-block: .5rem;
  transition: color 200ms ease;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: #60a5fa;
  content: "";
  opacity: 0;
  transform: scaleX(.3);
  transition: opacity 200ms ease, transform 200ms ease;
}

.nav-link:hover {
  color: #fff;
}

.nav-link:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.mobile-menu {
  transform-origin: top;
  animation: menu-in 180ms ease both;
}

@keyframes menu-in {
  from { opacity: 0; transform: translateY(-8px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-section {
  height: calc(100svh - 24px);
  min-height: 760px;
  max-height: 960px;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(4, 12, 24, .94) 0%, rgba(4, 12, 24, .78) 41%, rgba(4, 12, 24, .3) 70%, rgba(4, 12, 24, .3) 100%),
    linear-gradient(0deg, rgba(4, 12, 24, .72) 0%, transparent 42%);
}

.hero-stats {
  position: relative;
  min-height: 390px;
}

.landing-stat {
  position: absolute;
  right: 0;
  display: flex;
  width: min(100%, 310px);
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 18px;
  background: rgba(9, 24, 44, .54);
  padding: 16px;
  color: #fff;
  box-shadow: 0 20px 48px rgba(2, 8, 23, .28);
  backdrop-filter: blur(18px);
  transition: transform 250ms ease, border-color 250ms ease, background-color 250ms ease;
}

.landing-stat:hover {
  border-color: rgba(255, 255, 255, .55);
  background: rgba(14, 34, 61, .7);
  transform: translateY(-4px);
}

.landing-stat strong,
.landing-stat small {
  display: block;
}

.landing-stat strong {
  font-size: 15px;
  line-height: 1.25;
}

.landing-stat small {
  margin-top: 3px;
  color: rgba(255, 255, 255, .68);
  font-size: 12px;
  font-weight: 600;
}

.stat-icon,
.feature-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
}

.stat-one { top: 10%; }
.stat-two { top: 38%; right: 42px; }
.stat-three { top: 66%; right: 10px; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: #1453c4;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.section-label::before {
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.section-title {
  max-width: 780px;
  color: var(--ink);
  font-size: 44px;
  font-weight: 800;
  line-height: 1.05;
}

.feature-card {
  display: flex;
  min-height: 180px;
  align-items: flex-start;
  gap: 20px;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: #fff;
  padding: 26px;
  box-shadow: 0 12px 36px rgba(7, 20, 38, .07);
  transition: transform 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
}

.feature-card:hover {
  border-color: #bfdbfe;
  box-shadow: 0 22px 50px rgba(7, 20, 38, .12);
  transform: translateY(-5px);
}

.feature-card h3,
.integration-card h3 {
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
}

.feature-card p,
.integration-card p {
  margin-top: 8px;
  color: #64748b;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.75;
}

.flow-card {
  min-height: 320px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px;
  padding: 30px;
  transition: transform 250ms ease, border-color 250ms ease, background-color 250ms ease;
}

.flow-card:hover {
  border-color: rgba(255, 255, 255, .3);
  transform: translateY(-5px);
}

.flow-card h3 {
  margin-top: 80px;
  font-size: 22px;
  font-weight: 800;
}

.flow-card p {
  margin-top: 12px;
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
}

.flow-number {
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.flow-blue { background: rgba(37, 99, 235, .13); color: #60a5fa; }
.flow-violet { background: rgba(124, 58, 237, .12); color: #a78bfa; }
.flow-green { background: rgba(5, 150, 105, .12); color: #34d399; }
.flow-amber { background: rgba(217, 119, 6, .12); color: #fbbf24; }

.flow-card h3 {
  color: #fff;
}

.module-card {
  min-height: 210px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(7, 20, 38, .055);
  transition: transform 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
}

.module-card > svg {
  width: 26px;
  height: 26px;
  color: #1768ed;
  stroke-width: 1.8;
}

.module-card h3 {
  margin-top: 38px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
}

.module-card p {
  margin-top: 9px;
  color: #64748b;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.65;
}

.module-card:hover {
  border-color: #93c5fd;
  box-shadow: 0 22px 48px rgba(7, 20, 38, .11);
  transform: translateY(-5px);
}

.integration-feature {
  display: grid;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 46px rgba(7, 20, 38, .08);
}

.integration-logo {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-size: 18px;
  font-weight: 900;
}

.integration-card {
  display: grid;
  min-height: 146px;
  grid-template-columns: minmax(150px, .8fr) 1fr auto;
  align-items: center;
  gap: 20px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(7, 20, 38, .055);
  transition: transform 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
}

.integration-card:hover {
  border-color: #bfdbfe;
  box-shadow: 0 20px 45px rgba(7, 20, 38, .1);
  transform: translateY(-4px);
}

.timeline {
  position: relative;
}

.timeline-step {
  position: relative;
  min-height: 270px;
  padding: 0 28px 28px;
}

.timeline-step::before {
  position: absolute;
  top: 25px;
  left: 0;
  width: 100%;
  height: 1px;
  background: #cbd5e1;
  content: "";
}

.timeline-marker {
  position: relative;
  z-index: 1;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid #bfdbfe;
  border-radius: 16px;
  background: #fff;
  color: #1768ed;
  box-shadow: 0 10px 28px rgba(23, 104, 237, .14);
}

.timeline-number {
  display: block;
  margin-top: 30px;
  color: #1768ed;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.timeline-step h3 {
  margin-top: 9px;
  font-size: 20px;
  font-weight: 800;
}

.timeline-step p {
  margin-top: 10px;
  color: #64748b;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.75;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 768px) {
  .integration-feature {
    grid-template-columns: .82fr 1.18fr;
  }
}

@media (max-width: 1023px) {
  .hero-section {
    height: auto;
    min-height: 880px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(4, 12, 24, .93) 0%, rgba(4, 12, 24, .68) 72%, rgba(4, 12, 24, .52) 100%),
      linear-gradient(0deg, rgba(4, 12, 24, .78) 0%, transparent 48%);
  }

  .hero-stats {
    display: grid;
    min-height: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .landing-stat {
    position: static;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .hero-section {
    height: auto;
    min-height: calc(100svh - 12px);
    align-items: flex-start;
  }

  .hero-section > div:last-child {
    row-gap: 24px;
    padding-top: 112px;
    padding-bottom: 48px;
  }

  .hero-proof {
    display: none;
  }

  .hero-stats {
    display: grid;
    width: 100%;
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 12px;
    overflow: visible;
    padding-bottom: 0;
  }

  .landing-stat {
    min-width: 0;
    width: 100%;
    padding: 13px;
  }

  .section-title {
    font-size: 34px;
  }

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

  .flow-card {
    min-height: 280px;
  }

  .integration-card {
    min-height: 0;
    grid-template-columns: 1fr auto;
  }

  .integration-card > div {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .timeline-step {
    min-height: 0;
    padding: 0 0 48px 72px;
  }

  .timeline-step::before {
    top: 0;
    bottom: 0;
    left: 25px;
    width: 1px;
    height: 100%;
  }

  .timeline-marker {
    position: absolute;
    top: 0;
    left: 0;
  }

  .timeline-number {
    margin-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}


.hero-stats {
  scrollbar-width: none;
}

.hero-stats::-webkit-scrollbar {
  display: none;
}

@media (max-width: 767px) {
  .hero-proof {
    display: none !important;
  }

  .hero-section h1 {
    font-size: 42px;
    line-height: 1.02;
  }
}


.partner-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  background: #f0fdf4;
  padding: 8px 12px;
  color: #15803d;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.integration-partner-media {
  display: grid;
  min-height: 500px;
  place-items: center;
  border-left: 1px solid #e2e8f0;
  background: #0f172a;
}

.integration-partner-image {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 500px;
  object-fit: contain;
}

@media (max-width: 767px) {
  .integration-partner-media {
    min-height: 0;
    border-top: 1px solid #e2e8f0;
    border-left: 0;
  }

  .integration-partner-image {
    height: auto;
    max-height: none;
  }
}


.partner-benefits {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.partner-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #475569;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.65;
}

.partner-benefits li > svg {
  flex: 0 0 auto;
  margin-top: 2px;
  color: #1768ed;
}

.partner-benefits strong {
  color: #071426;
  font-weight: 800;
}


.integration-partner-image {
  max-height: none;
}

@media (min-width: 768px) {
  .integration-feature > div:first-child {
    padding: 36px 44px !important;
  }

  .integration-feature .integration-logo {
    margin-top: 20px !important;
  }

  .integration-feature h3 {
    margin-top: 16px !important;
    font-size: 32px !important;
    line-height: 1.08;
  }

  .integration-feature p {
    margin-top: 14px !important;
    font-size: 14px;
    line-height: 1.7;
  }

  .integration-feature .partner-benefits {
    gap: 8px;
    margin-top: 18px;
  }

  .integration-feature .partner-benefits li {
    line-height: 1.5;
  }

  .integration-feature a {
    margin-top: 20px !important;
  }
}
