:root {
  --brand: #5754c9;
  --brand-dark: #343188;
  --ink: #182033;
  --muted: #5d6678;
  --line: #e8ebf2;
  --surface: #ffffff;
  --soft: #f6f8fb;
  --mint: #dff8ef;
  --amber: #ffe8b8;
  --sky: #d9eefc;
  --shadow: 0 18px 42px rgba(24, 32, 51, 0.1);
  --radius: 8px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.58;
}

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

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

a:hover {
  color: var(--brand);
}

:focus-visible {
  outline: 3px solid rgba(87, 84, 201, 0.35);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(232, 235, 242, 0.9);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  min-height: 76px;
  margin: 0 auto;
  padding: 0 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand);
  font-size: 20px;
  font-weight: 750;
  letter-spacing: 0;
}

.brand span:last-child {
  max-width: min(46vw, 360px);
  overflow-wrap: anywhere;
  line-height: 1.15;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  background: var(--brand);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(87, 84, 201, 0.1);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(87, 84, 201, 0.1), rgba(255, 255, 255, 0.76));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 10px 28px rgba(24, 32, 51, 0.05);
  color: var(--muted);
  font-size: 14px;
  font-weight: 720;
}

.nav-links a {
  position: relative;
  z-index: 0;
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  overflow: hidden;
  padding: 9px 14px;
  border-radius: 999px;
  transition: color 180ms ease, transform 180ms ease;
}

.nav-links a::before {
  content: "";
  position: absolute;
  inset: 4px;
  z-index: -1;
  border: 1px solid rgba(87, 84, 201, 0.12);
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 20px rgba(87, 84, 201, 0.12);
  opacity: 0;
  transition: opacity 180ms ease;
}

.nav-links a:hover {
  color: var(--brand-dark);
}

.nav-links a:hover::before,
.nav-links a[aria-current="page"]::before {
  opacity: 1;
}

.nav-links a[aria-current="page"] {
  color: var(--brand);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.section {
  padding: 76px 24px;
}

.section-soft {
  background: var(--soft);
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  color: #fff;
  font-size: clamp(34px, 5vw, 64px);
}

h2 {
  color: var(--ink);
  font-size: clamp(25px, 3vw, 38px);
}

h3 {
  color: var(--ink);
  font-size: 20px;
}

p {
  margin: 0;
  color: var(--muted);
}

.lead {
  max-width: 600px;
  font-size: 17px;
}

.hero {
  position: relative;
  display: flex;
  min-height: min(690px, calc(100dvh - 10px));
  align-items: center;
  overflow: hidden;
  padding: 96px 24px 74px;
  background: #141827;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
}

.hero-slides,
.hero-slide,
.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 700ms ease, transform 1200ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(19, 25, 43, 0.86) 0%, rgba(42, 45, 66, 0.66) 44%, rgba(11, 15, 24, 0.24) 100%),
    linear-gradient(0deg, rgba(12, 15, 24, 0.42), rgba(12, 15, 24, 0.16));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding-top: 16px;
}

.hero .eyebrow {
  color: #746cff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.24);
}

.hero h1 {
  max-width: 660px;
  color: #fff;
  font-size: clamp(42px, 5.6vw, 70px);
  font-weight: 820;
}

.hero .lead {
  max-width: 590px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 620;
}

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

.carousel-controls {
  position: absolute;
  right: max(24px, calc((100vw - var(--max)) / 2));
  bottom: 38px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(13, 18, 31, 0.42);
  backdrop-filter: blur(12px);
}

.carousel-arrow,
.carousel-dot {
  border: 0;
  cursor: pointer;
}

.carousel-arrow {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  font-size: 28px;
  line-height: 1;
}

.carousel-arrow:hover {
  background: rgba(255, 255, 255, 0.24);
}

.carousel-dots {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
}

.carousel-dot.is-active {
  width: 30px;
  background: #fff;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
}

.button-primary {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 12px 28px rgba(87, 84, 201, 0.3);
}

.button-primary:hover {
  color: #fff;
  background: var(--brand-dark);
}

.button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
}

.button-light {
  color: var(--brand-dark);
  background: #fff;
  border-color: var(--line);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 58px;
  align-items: start;
}

.section-heading {
  display: grid;
  gap: 16px;
  margin-bottom: 36px;
}

.grid-3,
.grid-2,
.grid-4 {
  display: grid;
  gap: 22px;
}

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

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

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

.card {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 22px rgba(24, 32, 51, 0.05);
}

.card h3 {
  margin-bottom: 12px;
}

.card-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--brand);
  font-weight: 800;
}

.capability-showcase {
  overflow: hidden;
  border-block: 1px solid rgba(232, 235, 242, 0.8);
  background:
    radial-gradient(circle at 50% 0%, rgba(87, 84, 201, 0.08), transparent 34%),
    linear-gradient(180deg, #fff 0%, #f8faff 100%);
}

.showcase-heading {
  display: grid;
  max-width: 920px;
  gap: 12px;
  margin: 0 auto 44px;
  text-align: center;
}

.showcase-heading h2 {
  color: var(--ink);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 780;
}

.showcase-heading .lead {
  max-width: 720px;
  margin: 0 auto;
  color: #687386;
  font-size: 15px;
}

.capability-stage {
  position: relative;
  display: grid;
  min-height: 440px;
  place-items: center;
}

.device-stack {
  position: relative;
  width: min(720px, 86vw);
  min-height: 390px;
}

.browser-frame {
  position: absolute;
  left: 50%;
  top: 34px;
  width: min(560px, 74vw);
  overflow: hidden;
  border: 1px solid rgba(87, 84, 201, 0.18);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 54px rgba(24, 32, 51, 0.18);
  transform: translateX(-50%);
}

.browser-bar {
  display: flex;
  height: 34px;
  align-items: center;
  gap: 16px;
  padding: 0 18px;
  color: #a2a4d5;
  font-size: 11px;
  font-weight: 900;
}

.browser-bar span {
  margin-right: auto;
}

.browser-bar i {
  width: 32px;
  height: 5px;
  border-radius: 999px;
  background: #b8b3ec;
}

.browser-bar b {
  width: 14px;
  height: 14px;
  border: 2px solid #b8b3ec;
  border-radius: 50%;
}

.browser-frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.browser-frame strong {
  position: absolute;
  left: 52px;
  bottom: 36px;
  max-width: 300px;
  color: #fff;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.08;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.55);
}

.phone-card {
  position: absolute;
  z-index: 2;
  overflow: hidden;
  border: 1px solid rgba(87, 84, 201, 0.16);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(24, 32, 51, 0.16);
}

.phone-left {
  left: 0;
  top: 88px;
  width: 130px;
  padding: 12px;
}

.phone-left img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  object-fit: cover;
}

.phone-left span {
  display: block;
  margin-top: 12px;
  color: #8c91aa;
  font-size: 12px;
  font-weight: 800;
}

.phone-right {
  right: 8px;
  top: 132px;
  width: 166px;
  min-height: 250px;
  padding: 18px 16px;
  background: linear-gradient(#5b56d4 0 26%, #fff 26%);
}

.phone-right strong,
.phone-right em {
  display: block;
  color: #fff;
  font-style: normal;
  font-size: 13px;
  line-height: 1.2;
}

.phone-right span {
  display: block;
  margin-top: 38px;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 800;
}

.mini-calendar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.mini-calendar i {
  height: 16px;
  border-radius: 5px;
  background: #ececff;
}

.phone-right em {
  width: 86px;
  margin: 18px auto 0;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--brand);
  text-align: center;
  font-size: 11px;
}

.stage-label {
  position: absolute;
  z-index: 3;
  color: #404768;
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0;
  line-height: 1.2;
}

.label-action {
  left: 18px;
  top: 46px;
  color: var(--brand);
}

.label-booking {
  right: -116px;
  top: 88px;
  max-width: 130px;
}

.label-mobile {
  left: 98px;
  bottom: 32px;
}

.stage-arrow {
  position: absolute;
  z-index: 4;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #c5d3f4;
  background: transparent;
  font-size: 44px;
  line-height: 1;
  cursor: pointer;
}

.stage-arrow-left {
  left: 6%;
}

.stage-arrow-right {
  right: 6%;
}

.platform-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 4px;
}

.platform-pills a {
  min-width: 170px;
  padding: 12px 22px;
  border: 1px solid rgba(87, 84, 201, 0.12);
  border-radius: 999px;
  color: var(--brand-dark);
  background: rgba(255, 255, 255, 0.72);
  text-align: center;
  font-size: 14px;
  font-weight: 820;
  box-shadow: 0 8px 22px rgba(24, 32, 51, 0.05);
}

.platform-pills a.is-active {
  color: #fff;
  background: var(--brand);
}

.work-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.work-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.work-card-content {
  padding: 22px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.tag {
  padding: 5px 10px;
  border-radius: var(--radius);
  background: var(--sky);
  color: #2a5873;
  font-size: 13px;
  font-weight: 800;
}

.process {
  counter-reset: step;
}

.process .card {
  position: relative;
  padding-top: 56px;
}

.process .card::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 22px;
  left: 26px;
  color: var(--brand);
  font-weight: 900;
}

.cta-band {
  color: #fff;
  background: var(--ink);
}

.cta-inner {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
}

.cta-band h2,
.cta-band p {
  color: #fff;
}

.page-hero {
  padding: 82px 24px 62px;
  background: var(--soft);
}

.page-hero h1 {
  color: var(--ink);
  font-size: clamp(32px, 4.4vw, 54px);
}

.page-hero .lead {
  margin-top: 20px;
}

.detail-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  padding-left: 28px;
  color: var(--muted);
  background: linear-gradient(var(--brand), var(--brand)) 0 0.78em / 12px 2px no-repeat;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 36px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: var(--ink);
  font-weight: 750;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font: inherit;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-status {
  padding: 12px 14px;
  border: 1px solid rgba(87, 84, 201, 0.24);
  border-radius: var(--radius);
  color: var(--brand-dark);
  background: rgba(87, 84, 201, 0.08);
  font-weight: 750;
}

.site-footer {
  padding: 64px 24px 34px;
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr 0.95fr;
  gap: 72px;
  max-width: var(--max);
  margin: 0 auto;
}

.footer-about p {
  max-width: 360px;
  margin-top: 28px;
}

.footer-email {
  display: inline-flex;
  margin-top: 42px;
  color: var(--muted);
  font-weight: 800;
}

.footer-column h2 {
  margin-bottom: 28px;
  color: #a0a9b8;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-column a {
  display: block;
  margin: 0 0 11px;
  color: #4c5669;
  font-weight: 800;
}

.footer-bottom {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: 52px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: #7d8798;
  font-size: 14px;
}

.footer-bottom a {
  font-weight: 750;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    inset: 76px 16px auto;
    display: none;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: grid;
  }

  .hero {
    min-height: 620px;
    padding-top: 96px;
  }

  .carousel-controls {
    right: 24px;
    bottom: 24px;
  }

  .split,
  .contact-grid,
  .footer-grid,
  .cta-inner {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    display: grid;
  }

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

  .capability-stage {
    min-height: 520px;
  }

  .device-stack {
    width: min(620px, 94vw);
  }

  .phone-left {
    left: 6px;
  }

  .phone-right {
    right: 0;
  }

  .label-booking {
    right: 8px;
    top: 76px;
  }

  .stage-arrow-left {
    left: 0;
  }

  .stage-arrow-right {
    right: 0;
  }

  .footer-grid {
    gap: 34px;
  }
}

@media (max-width: 620px) {
  .nav {
    padding: 0 18px;
  }

  .brand {
    font-size: 17px;
  }

  .hero,
  .section,
  .page-hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero {
    min-height: 570px;
    align-items: flex-end;
    padding-bottom: 104px;
  }

  .hero h1 {
    font-size: clamp(36px, 11vw, 50px);
  }

  .hero .lead {
    font-size: 16px;
  }

  .carousel-controls {
    right: 18px;
    left: 18px;
    justify-content: space-between;
  }

  .carousel-arrow {
    width: 34px;
    height: 34px;
  }

  .hero-actions,
  .footer-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .grid-3,
  .grid-4,
  .grid-2,
  .platform-pills {
    grid-template-columns: 1fr;
  }

  .showcase-heading {
    margin-bottom: 32px;
    text-align: left;
  }

  .showcase-heading .lead {
    margin-left: 0;
  }

  .capability-stage {
    min-height: 430px;
  }

  .device-stack {
    width: 100%;
    min-height: 350px;
  }

  .browser-frame {
    top: 40px;
    width: 100%;
  }

  .browser-bar {
    gap: 8px;
    padding: 0 12px;
  }

  .browser-bar i {
    width: 20px;
  }

  .browser-frame strong {
    left: 24px;
    bottom: 24px;
    max-width: 230px;
  }

  .phone-left,
  .phone-right,
  .stage-label,
  .stage-arrow {
    display: none;
  }

  .platform-pills {
    display: grid;
  }

  .platform-pills a {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
