*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #edf7ff;
  --ink: #071827;
  --ink-soft: #607284;
  --navy: #06182b;
  --navy-2: #0a2842;
  --blue: #14aaf5;
  --blue-dark: #057ad0;
  --cyan: #8ce9ff;
  --card: #ffffff;
  --line: rgba(7, 24, 39, 0.12);
  --line-light: rgba(255, 255, 255, 0.16);
  --shadow: 0 28px 90px rgba(7, 24, 39, 0.16);
  --blue-shadow: 0 28px 80px rgba(20, 170, 245, 0.28);
  --radius: 28px;
  --radius-xl: 42px;
  --container: min(100% - clamp(28px, 6vw, 96px), 1180px);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 6%, rgba(20, 170, 245, 0.18), transparent 24rem),
    linear-gradient(180deg, #f8fcff 0%, var(--bg) 42%, #ffffff 100%);
  font-family: Inter, Manrope, Arial, sans-serif;
  line-height: 1.5;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header,
.hero,
.section,
.footer {
  width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 40px rgba(7, 24, 39, 0.08);
  backdrop-filter: blur(18px);
}

.logo {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--navy);
  font-size: clamp(0.82rem, 1.35vw, 1rem);
  font-weight: 950;
  letter-spacing: -0.055em;
  white-space: nowrap;
}

.logo span {
  color: var(--blue);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  min-height: 40px;
  padding: 10px 15px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 850;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--navy);
  color: #ffffff;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #ffffff;
  color: var(--navy);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(310px, 1.08fr);
  gap: clamp(32px, 6vw, 82px);
  align-items: center;
  min-height: clamp(680px, 88vh, 860px);
  margin-top: clamp(20px, 4vw, 44px);
  padding: clamp(42px, 7vw, 82px);
  overflow: hidden;
  border: 1px solid var(--line-light);
  border-radius: clamp(30px, 5vw, 64px);
  background:
    radial-gradient(circle at 78% 18%, rgba(20, 170, 245, 0.42), transparent 20rem),
    radial-gradient(circle at 18% 82%, rgba(140, 233, 255, 0.18), transparent 18rem),
    linear-gradient(135deg, var(--navy) 0%, #092844 52%, #04101f 100%);
  box-shadow: var(--shadow);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 9% -10% auto auto;
  width: min(52vw, 660px);
  aspect-ratio: 1;
  border-radius: 34% 66% 44% 56%;
  background: rgba(255, 255, 255, 0.07);
  transform: rotate(-16deg);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 18px;
  padding: 8px 12px;
  border: 1px solid rgba(20, 170, 245, 0.24);
  border-radius: 999px;
  background: rgba(20, 170, 245, 0.12);
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: var(--cyan);
}

.hero h1,
.section h2 {
  margin: 0;
  line-height: 0.96;
  letter-spacing: -0.075em;
}

.hero h1 {
  max-width: 740px;
  color: #ffffff;
  font-size: clamp(3.2rem, 9vw, 8.6rem);
}

.hero-text {
  max-width: 590px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--blue-shadow);
}

.button-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #ffffff;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.hero-stage {
  position: relative;
  z-index: 2;
  min-height: clamp(500px, 54vw, 660px);
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(4px);
}

.orb-one {
  inset: 12% 8% auto auto;
  width: 36%;
  aspect-ratio: 1;
  background: rgba(20, 170, 245, 0.3);
}

.orb-two {
  inset: auto auto 3% 2%;
  width: 30%;
  aspect-ratio: 1;
  background: rgba(140, 233, 255, 0.18);
}

.hero-shot {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

.hero-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shot-main {
  inset: 4% 19% 6% 19%;
  z-index: 3;
}

.hero-shot-left,
.hero-shot-right {
  z-index: 2;
  width: 38%;
  height: 58%;
  opacity: 0.72;
}

.hero-shot-left {
  left: 0;
  bottom: 7%;
  transform: rotate(-8deg);
}

.hero-shot-right {
  top: 7%;
  right: 0;
  transform: rotate(7deg);
}

.section {
  margin-block: clamp(58px, 9vw, 126px);
  scroll-margin-top: 110px;
}

.section-kicker {
  display: grid;
  gap: 14px;
  max-width: 820px;
  margin-bottom: clamp(24px, 4vw, 42px);
}

.section h2 {
  color: var(--ink);
  font-size: clamp(2.3rem, 6vw, 6.4rem);
}

.section p {
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.45vw, 1.15rem);
}

.feature-strip {
  position: relative;
}

.feature-track {
  display: grid;
  grid-auto-columns: minmax(266px, 1fr);
  grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto;
  padding: 6px 4px 22px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.feature-track::-webkit-scrollbar {
  display: none;
}

.feature-card {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-xl);
  background: var(--card);
  box-shadow: 0 22px 56px rgba(7, 24, 39, 0.1);
  scroll-snap-align: start;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 44%;
  background: linear-gradient(180deg, transparent, rgba(7, 24, 39, 0.72));
}

.feature-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-card div {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 2;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  background: rgba(6, 24, 43, 0.7);
  color: #ffffff;
  backdrop-filter: blur(14px);
}

.feature-card span {
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.14em;
}

.feature-card h3 {
  margin: 8px 0 0;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.feature-card p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
}

.slider-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
}

.slider-button {
  position: relative;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(7, 24, 39, 0.1);
  cursor: pointer;
}

.slider-button::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 12px;
  height: 12px;
  margin: auto;
  border-top: 3px solid var(--navy);
  border-right: 3px solid var(--navy);
}

.slider-button-prev::before {
  transform: rotate(-135deg);
}

.slider-button-next::before {
  transform: rotate(45deg);
}

.ocr-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(18px, 4vw, 42px);
}

.ocr-panel,
.metric-grid article,
.use-grid article,
.final-cta {
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 22px 60px rgba(7, 24, 39, 0.08);
  backdrop-filter: blur(12px);
}

.ocr-panel {
  padding: clamp(30px, 6vw, 70px);
  border-radius: var(--radius-xl);
}

.ocr-panel p {
  max-width: 720px;
}

.metric-grid {
  display: grid;
  gap: 14px;
}

.metric-grid article {
  display: flex;
  min-height: 160px;
  flex-direction: column;
  justify-content: center;
  padding: clamp(22px, 4vw, 34px);
  border-radius: var(--radius);
}

.metric-grid strong {
  color: var(--blue);
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 0.9;
  letter-spacing: -0.075em;
}

.metric-grid span {
  margin-top: 12px;
  color: var(--ink-soft);
  font-weight: 850;
}

.use-cases {
  display: grid;
  gap: clamp(24px, 4vw, 42px);
}

.use-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.use-grid article {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  padding: clamp(24px, 4vw, 38px);
  border-radius: var(--radius);
}

.use-grid article::before {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -48px;
  width: 160px;
  aspect-ratio: 1;
  border-radius: 42px;
  background: rgba(20, 170, 245, 0.14);
  transform: rotate(18deg);
}

.use-grid span {
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.use-grid h3 {
  max-width: 260px;
  margin: 18px 0 0;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.use-grid p {
  max-width: 320px;
  margin-bottom: 0;
}

.final-cta {
  display: grid;
  justify-items: start;
  gap: 24px;
  padding: clamp(34px, 7vw, 76px);
  overflow: hidden;
  border-radius: clamp(28px, 5vw, 58px);
  background:
    radial-gradient(circle at 90% 18%, rgba(20, 170, 245, 0.26), transparent 18rem),
    linear-gradient(135deg, #ffffff, rgba(255, 255, 255, 0.74));
}

.final-cta h2 {
  max-width: 950px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0 48px;
  color: var(--ink-soft);
}

.footer a {
  color: var(--blue-dark);
  font-weight: 900;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease, transform 520ms ease;
}

[data-reveal].is-visible,
html:not(.js-ready) [data-reveal] {
  opacity: 1;
  transform: none;
}

:focus-visible {
  outline: 3px solid rgba(20, 170, 245, 0.45);
  outline-offset: 3px;
}

@media (min-width: 760px) {
  .feature-track {
    grid-auto-columns: calc((100% - 36px) / 3);
  }
}

@media (min-width: 1180px) {
  .feature-track {
    grid-auto-columns: calc((100% - 54px) / 4);
  }
}

@media (max-width: 940px) {
  .site-header {
    top: 0;
    border-radius: 0 0 26px 26px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    right: 10px;
    left: 10px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
  }

  .hero,
  .ocr-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-stage {
    min-height: 560px;
  }

  .use-grid {
    grid-template-columns: 1fr;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  :root {
    --container: min(100% - 28px, 1180px);
  }

  .site-header {
    width: 100%;
  }

  .logo {
    max-width: 260px;
    font-size: 0.95rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero {
    width: min(100% - 20px, 1180px);
    padding: 30px 18px 24px;
    border-radius: 30px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-stage {
    min-height: 460px;
  }

  .hero-shot-main {
    inset: 0 12% 2%;
  }

  .hero-shot-left,
  .hero-shot-right {
    width: 42%;
    height: 48%;
  }

  .feature-track {
    grid-auto-columns: minmax(258px, 86%);
    gap: 14px;
    margin-inline: -4px;
  }

  .feature-card {
    min-height: 520px;
    border-radius: 30px;
  }

  .slider-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 390px) {
  .logo {
    max-width: 230px;
    padding-inline: 10px;
  }

  .hero {
    padding-inline: 14px;
  }

  .hero-stage {
    min-height: 420px;
  }

  .feature-card {
    min-height: 490px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
