:root {
  --bg: #edf5ff;
  --bg-strong: #dcecff;
  --surface: rgba(248, 252, 255, 0.86);
  --surface-strong: #ffffff;
  --text: #10243e;
  --muted: #57708d;
  --line: rgba(16, 36, 62, 0.12);
  --brand: #1674d1;
  --brand-strong: #0d58a8;
  --brand-soft: #9bc8f7;
  --teal: #0a4f97;
  --shadow: 0 30px 80px rgba(14, 55, 106, 0.14);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(22, 116, 209, 0.14), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(80, 163, 240, 0.2), transparent 26%),
    linear-gradient(180deg, #f7fbff 0%, #edf5ff 44%, #d9eaff 100%);
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.page-shell {
  position: relative;
  overflow: hidden;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: fixed;
  inset: auto;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  filter: blur(48px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

.page-shell::before {
  top: -7rem;
  right: -7rem;
  background: rgba(22, 116, 209, 0.2);
}

.page-shell::after {
  bottom: -9rem;
  left: -7rem;
  background: rgba(80, 163, 240, 0.18);
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  width: var(--container);
  margin: 18px auto 0;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: rgba(255, 250, 242, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(16, 36, 62, 0.08);
  position: sticky;
  top: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  padding: 8px;
  background: linear-gradient(135deg, rgba(22, 116, 209, 0.16) 0%, rgba(80, 163, 240, 0.22) 100%);
  box-shadow: 0 14px 34px rgba(22, 116, 209, 0.22);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-text strong,
.main-nav a,
.button,
.hero-metrics strong,
.feature-card h3,
.showcase-list span,
.highlight-card h3,
.benefits-list strong,
.stack-pillars span,
.cta-card h2 {
  font-family: "Sora", sans-serif;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.82rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.main-nav a {
  color: var(--muted);
  font-size: 0.92rem;
  transition: color 160ms ease, transform 160ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--brand-strong);
  transform: translateY(-1px);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.header-cta {
  padding: 12px 18px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--teal) 0%, #1f76d2 100%);
  box-shadow: 0 14px 30px rgba(10, 79, 151, 0.2);
}

.header-cta:hover,
.button:hover,
.demo-card:hover {
  transform: translateY(-2px);
}

main {
  width: var(--container);
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: center;
  padding: 74px 0 42px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand-strong);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.accent-card h2,
.cta-card h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero h1 {
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  max-width: 12ch;
}

.hero-text,
.section-heading p,
.player-copy p,
.highlight-card p,
.benefits-list p,
.architecture-panel p,
.cta-card p,
.site-footer span,
.hero-video-copy p,
.hero-proof p,
.feature-card p,
.value-strip p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0;
}

.button {
  padding: 15px 22px;
  border: 1px solid transparent;
  font-size: 0.96rem;
  font-weight: 700;
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, #59a8f3 100%);
  box-shadow: 0 18px 36px rgba(22, 116, 209, 0.22);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 250, 242, 0.72);
  border-color: rgba(45, 26, 10, 0.12);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hero-metrics article,
.hero-video-card,
.hero-proof,
.value-strip article,
.feature-card,
.showcase-player,
.demo-card,
.highlight-card,
.benefits-list article,
.architecture-panel,
.cta-card {
  background: var(--surface);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow);
}

.hero-metrics article {
  border-radius: var(--radius-md);
  padding: 18px;
}

.hero-metrics strong {
  display: block;
  margin-bottom: 8px;
  font-size: 0.98rem;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.hero-media {
  display: grid;
  gap: 18px;
}

.hero-video-card,
.showcase-player {
  padding: 18px;
  border-radius: var(--radius-xl);
}

.hero-video-copy,
.player-copy {
  margin-bottom: 14px;
}

.video-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(22, 116, 209, 0.1);
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-video-card h2,
.player-copy h3 {
  margin: 14px 0 10px;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
}

.hero-video-card video,
.showcase-player video {
  width: 100%;
  border-radius: calc(var(--radius-xl) - 10px);
  background: #0f0f0f;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.hero-proof {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border-radius: var(--radius-lg);
}

.hero-proof img {
  height: 100%;
  min-height: 132px;
  object-fit: cover;
  border-radius: 18px;
}

.hero-proof strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Sora", sans-serif;
  font-size: 1.05rem;
}

.value-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 8px 0 54px;
}

.value-strip article {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.value-strip span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--brand-strong);
  font-family: "Sora", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.section {
  padding: 48px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2,
.accent-card h2,
.cta-card h2 {
  font-size: clamp(2rem, 3.5vw, 3.3rem);
}

.feature-grid,
.highlight-grid,
.benefits-list {
  display: grid;
  gap: 18px;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.feature-card h3,
.highlight-card h3 {
  margin: 0 0 12px;
  font-size: 1.15rem;
}

.showcase-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  align-items: start;
}

.showcase-list {
  display: grid;
  gap: 14px;
}

.demo-card {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid transparent;
  cursor: pointer;
}

.demo-card span {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.demo-card small {
  color: var(--muted);
  line-height: 1.55;
}

.demo-card.is-active {
  border-color: rgba(22, 116, 209, 0.28);
  background: linear-gradient(180deg, rgba(240, 247, 255, 0.98) 0%, rgba(248, 252, 255, 0.88) 100%);
}

.highlight-grid {
  grid-template-columns: 1.3fr repeat(3, 1fr);
}

.highlight-card {
  min-height: 100%;
  padding: 24px;
  border-radius: var(--radius-lg);
}

.accent-card {
  background: linear-gradient(145deg, rgba(13, 88, 168, 0.94), rgba(9, 57, 110, 0.96));
  color: #eef6ff;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.accent-card .eyebrow,
.accent-card p {
  color: rgba(238, 246, 255, 0.8);
}

.benefits-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.benefits-list article {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.benefits-list strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1rem;
}

.architecture-panel {
  padding: 28px;
  border-radius: var(--radius-xl);
}

.stack-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.stack-pillars span {
  padding: 12px 16px;
  border-radius: 999px;
  color: var(--teal);
  background: rgba(22, 116, 209, 0.08);
  font-size: 0.92rem;
  font-weight: 700;
}

.cta-section {
  padding-bottom: 80px;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 32px;
  border-radius: 36px;
  background:
    radial-gradient(circle at 10% 10%, rgba(22, 116, 209, 0.14), transparent 28%),
    linear-gradient(135deg, rgba(248, 252, 255, 0.98), rgba(232, 243, 255, 0.92));
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.site-footer {
  width: var(--container);
  margin: 0 auto;
  padding: 0 0 44px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  color: var(--text);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

@media (max-width: 1100px) {
  .site-header {
    border-radius: 28px;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .hero,
  .showcase-layout,
  .highlight-grid,
  .cta-card {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 14ch;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benefits-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  :root {
    --container: min(100vw - 24px, 100%);
  }

  .site-header {
    top: 10px;
    margin-top: 10px;
    padding: 16px;
  }

  .main-nav {
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero {
    padding-top: 38px;
  }

  .hero-metrics,
  .value-strip,
  .feature-grid,
  .benefits-list {
    grid-template-columns: 1fr;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 36px 0;
  }

  .cta-card,
  .architecture-panel,
  .hero-video-card,
  .showcase-player {
    padding: 20px;
  }

  .cta-actions {
    justify-content: flex-start;
  }

  .site-footer {
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
