:root {
  --page-bg: #ffffff;
  --content-width: min(1600px, calc(100vw - 40px));
  --hero-radius: clamp(30px, 3vw, 44px);
  --surface: rgba(255, 255, 255, 0.68);
  --surface-strong: rgba(255, 255, 255, 0.82);
  --surface-stroke: rgba(255, 255, 255, 0.5);
  --border-soft: rgba(14, 35, 65, 0.08);
  --shadow-soft: 0 30px 80px rgba(63, 89, 127, 0.12);
  --shadow-hero: 0 36px 120px rgba(55, 80, 120, 0.18);
  --text-primary: #0b1630;
  --text-secondary: #526076;
  --text-muted: #748196;
  --brand-blue: #1989ff;
  --brand-blue-deep: #0d4bcf;
  --brand-red: #ff3d2d;
  --brand-ice: #dff0ff;
  --brand-steel: #6a7788;
  --star: #ff801e;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text-primary);
  font-family: "Inter", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

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

.page-shell {
  position: relative;
  overflow-x: clip;
  min-height: 100dvh;
}

.page-frame {
  width: var(--content-width);
  margin: 0 auto;
  padding: 24px 0 72px;
}

.hero {
  position: relative;
  width: 100%;
  min-height: auto;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  background: #dfe8f4;
  box-shadow: none;
  isolation: isolate;
}

.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  transform: translate(6%, 2%) scale(1.14);
  transform-origin: right bottom;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 16%, rgba(96, 177, 255, 0.24), transparent 28%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.06) 30%, rgba(255, 255, 255, 0) 54%),
    linear-gradient(180deg, rgba(11, 22, 48, 0.08) 0%, rgba(11, 22, 48, 0) 20%, rgba(11, 22, 48, 0) 82%, rgba(11, 22, 48, 0.12) 100%);
}

.hero-safe-area {
  position: relative;
  z-index: 2;
  width: var(--content-width);
  margin: 0 auto;
  min-height: inherit;
  display: grid;
  grid-template-rows: auto auto;
  gap: 14px;
  padding: clamp(14px, 1.8vw, 24px) 0 14px;
}

.topbar {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: flex;
  justify-content: stretch;
}

.glass-nav {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 10px 14px 10px 18px;
  border-radius: 22px;
  border: 1px solid var(--surface-stroke);
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(28px) saturate(140%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    0 24px 60px rgba(16, 34, 64, 0.16);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-copy strong,
.nav-links a,
h1,
h2,
h3 {
  font-family: "Fustat", sans-serif;
}

.brand-copy strong {
  font-size: 1rem;
  line-height: 1;
}

.brand-copy span:last-child {
  font-size: 0.76rem;
  color: rgba(11, 22, 48, 0.7);
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  position: relative;
  font-size: 0.96rem;
  color: rgba(11, 22, 48, 0.86);
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 10px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(25, 137, 255, 0.45), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.nav-cta,
.primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  border-radius: 16px;
  font-weight: 600;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    background-color 220ms ease;
}

.nav-cta {
  padding: 6px 8px 6px 14px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.52);
  box-shadow: inset 0 4px 4px rgba(255, 255, 255, 0.32);
}

.primary-cta {
  padding: 8px 10px 8px 18px;
  background: linear-gradient(135deg, rgba(54, 163, 255, 0.95), rgba(0, 108, 255, 0.88));
  color: #ffffff;
  border: 1px solid rgba(129, 201, 255, 0.45);
  box-shadow:
    inset 0 4px 4px rgba(255, 255, 255, 0.3),
    0 24px 38px rgba(17, 111, 221, 0.25);
}

.nav-cta:hover,
.nav-cta:focus-visible,
.primary-cta:hover,
.primary-cta:focus-visible {
  transform: scale(1.02);
}

.icon-bubble {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--brand-blue-deep);
  flex-shrink: 0;
}

.icon-bubble svg {
  width: 18px;
  height: 18px;
}

.hero-body {
  display: flex;
  align-items: flex-start;
  min-height: 0;
}

.hero-copy {
  width: min(580px, 100%);
  padding: clamp(20px, 2.2vw, 32px);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.36));
  backdrop-filter: blur(28px) saturate(140%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    0 40px 90px rgba(12, 29, 58, 0.18);
}

.eyebrow,
.section-heading > span,
.section-intro > span,
.contact-copy > span,
.card-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(25, 137, 255, 0.14);
  background: rgba(255, 255, 255, 0.68);
  color: var(--brand-blue-deep);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  box-shadow: inset 0 2px 2px rgba(255, 255, 255, 0.6);
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  min-height: 46px;
  margin: 14px 0 14px;
  padding: 7px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.46);
  box-shadow:
    inset 0 4px 4px rgba(255, 255, 255, 0.26),
    0 20px 55px rgba(71, 101, 145, 0.16);
}

.hero-proof p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  letter-spacing: -0.02em;
}

.proof-stars {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.proof-stars span {
  width: 11px;
  height: 11px;
  background: var(--star);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 92%, 50% 71%, 21% 92%, 32% 57%, 2% 35%, 39% 35%);
}

h1 {
  margin: 0;
  max-width: 8ch;
  font-size: clamp(3.15rem, 5.6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.hero-subcopy,
.section-heading p,
.capability-card p,
.process-steps p,
.contact-copy p,
.contact-note,
.section-intro p {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.6;
  letter-spacing: -0.02em;
  color: var(--text-secondary);
}

.hero-subcopy {
  max-width: 29rem;
  margin-top: 16px;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
}

.secondary-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--text-primary);
  font-weight: 600;
}

.capability-card h3,
.process-steps strong {
  display: block;
  font-size: 1rem;
  line-height: 1.2;
}

.trusted-strip,
.hot-products,
.capabilities,
.process,
.contact-cta {
  padding: 36px 0;
}

.trusted-strip {
  display: grid;
  gap: 24px;
}

.section-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.section-intro p {
  max-width: 540px;
  text-align: right;
}

.sector-logos {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.sector-logo,
.capability-card,
.process-panel,
.contact-card {
  border: 1px solid var(--border-soft);
  background: var(--surface-strong);
  box-shadow:
    inset 0 4px 4px rgba(255, 255, 255, 0.5),
    var(--shadow-soft);
}

.sector-logo {
  display: grid;
  justify-items: center;
  gap: 18px;
  min-height: 170px;
  padding: 26px 14px;
  border-radius: 28px;
  color: rgba(18, 28, 41, 0.55);
}

.sector-logo svg {
  width: 72px;
  height: 72px;
  stroke: currentColor;
  stroke-width: 3;
}

.sector-logo span {
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hot-products {
  display: grid;
  gap: 24px;
}

.product-marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.product-marquee-track {
  display: flex;
  width: max-content;
  animation: product-marquee-scroll 36s linear infinite;
  will-change: transform;
}

.product-card-set {
  display: flex;
  gap: 18px;
  padding-right: 18px;
  flex-shrink: 0;
  flex-wrap: nowrap;
  align-items: stretch;
}

.product-marquee:hover .product-marquee-track {
  animation-play-state: paused;
}

.product-card {
  flex: 0 0 320px;
  width: 320px;
  display: grid;
  gap: 14px;
  padding: 14px;
  border-radius: 28px;
  border: 1px solid var(--border-soft);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.88), rgba(240, 246, 255, 0.8)),
    var(--surface-strong);
  box-shadow:
    inset 0 4px 4px rgba(255, 255, 255, 0.5),
    var(--shadow-soft);
}

.product-card-media {
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 4 / 3;
  background: linear-gradient(180deg, rgba(235, 241, 250, 0.95), rgba(214, 223, 236, 0.8));
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card-copy {
  display: grid;
  gap: 10px;
}

.product-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(25, 137, 255, 0.08);
  color: var(--brand-blue-deep);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.product-card h3 {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.product-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.5;
}

.product-card strong {
  font-size: 0.92rem;
  color: var(--text-primary);
}

.section-heading {
  display: grid;
  gap: 18px;
  max-width: 800px;
}

h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.capability-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
}

.capability-card {
  min-height: 250px;
  padding: 28px;
  border-radius: 30px;
}

.capability-card-featured {
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.88), rgba(223, 240, 255, 0.76)),
    var(--surface-strong);
}

.card-kicker {
  background: rgba(25, 137, 255, 0.08);
}

.capability-card h3 {
  margin: 20px 0 12px;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.process-panel {
  display: grid;
  gap: 28px;
  padding: 34px;
  border-radius: 34px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.84), rgba(239, 245, 255, 0.68)),
    var(--surface-strong);
}

.section-heading-compact {
  max-width: 720px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.process-steps article {
  min-height: 156px;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(13, 30, 54, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

.process-steps p {
  margin-top: 12px;
  font-size: 1rem;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: center;
  padding: 34px;
  border-radius: 34px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.9), rgba(231, 242, 255, 0.72)),
    var(--surface-strong);
}

.contact-logo {
  width: min(100%, 780px);
  height: auto;
}

.contact-copy {
  display: grid;
  gap: 18px;
}

.contact-actions {
  display: grid;
  gap: 14px;
}

.contact-note {
  font-size: 0.96rem;
}

@keyframes product-marquee-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1300px) {
  .glass-nav {
    gap: 20px;
  }

  .nav-links {
    gap: 22px;
  }

  .hero {
    min-height: clamp(640px, 82svh, 760px);
  }

  .hero-copy {
    width: min(540px, 100%);
  }

}

@media (max-width: 1100px) {
  .hero-safe-area {
    gap: 16px;
    padding: 16px 0;
  }

  .hero-copy {
    width: min(500px, 100%);
  }

  .hero-art {
    object-position: 56% bottom;
    transform: translate(4%, 1.5%) scale(1.1);
  }
}

@media (max-width: 960px) {
  :root {
    --content-width: min(1600px, calc(100vw - 28px));
  }

  .page-frame {
    padding-top: 22px;
  }

  .hero-safe-area {
    grid-template-rows: auto auto;
    padding: 14px 0 14px;
  }

  .topbar {
    position: relative;
    top: 0;
  }

  .glass-nav {
    width: 100%;
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "brand cta"
      "links links";
    gap: 14px;
  }

  .brand {
    grid-area: brand;
  }

  .nav-links {
    grid-area: links;
    justify-content: space-between;
    padding: 0 4px 4px;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .nav-cta {
    grid-area: cta;
    justify-self: end;
  }

  .hero-body {
    align-items: flex-start;
  }

  .hero-copy {
    width: min(500px, 100%);
  }

  .hero-art {
    object-position: 64% bottom;
    transform: translate(2%, 1%) scale(1.07);
  }

  .section-intro {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-intro p {
    text-align: left;
  }

  .sector-logos,
  .capability-grid,
  .process-steps,
  .contact-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .capability-card-featured {
    grid-column: span 2;
  }

  .contact-logo,
  .contact-copy,
  .contact-actions {
    grid-column: span 2;
  }
}

@media (max-width: 720px) {
  :root {
    --content-width: min(1600px, calc(100vw - 18px));
  }

  .hero-safe-area {
    padding: 14px 0;
    gap: 16px;
  }

  .glass-nav {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "links"
      "cta";
    justify-items: stretch;
    border-radius: 22px;
  }

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

  .nav-links {
    justify-content: flex-start;
    gap: 12px 18px;
  }

  .nav-cta {
    width: 100%;
    justify-content: center;
  }

  .hero-backdrop {
    background:
      linear-gradient(180deg, rgba(11, 22, 48, 0.16) 0%, rgba(11, 22, 48, 0.02) 22%, rgba(255, 255, 255, 0.08) 100%),
      radial-gradient(circle at 14% 18%, rgba(96, 177, 255, 0.2), transparent 26%);
  }

  .hero-copy {
    width: 100%;
    padding: 20px 18px;
    border-radius: 28px;
  }

  h1 {
    max-width: none;
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .hero-proof {
    width: 100%;
    flex-wrap: wrap;
  }

  .hero-subcopy,
  .section-heading p,
  .capability-card p,
  .process-steps p,
  .contact-copy p,
  .contact-note,
  .section-intro p {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .primary-cta,
  .secondary-link {
    width: 100%;
    justify-content: center;
  }

  .hero-art {
    object-position: 70% bottom;
    transform: translate(1%, 0.5%) scale(1.04);
  }

  .product-marquee {
    mask-image: none;
  }

  .product-marquee-track {
    animation-duration: 28s;
  }

  .product-card {
    flex-basis: 280px;
    width: 280px;
  }

  .sector-logos,
  .capability-grid,
  .process-steps,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .capability-card-featured,
  .contact-logo,
  .contact-copy,
  .contact-actions {
    grid-column: auto;
  }

  .contact-card,
  .process-panel,
  .capability-card,
  .sector-logo {
    border-radius: 24px;
  }

  .contact-card,
  .process-panel {
    padding: 24px;
  }

  .contact-logo {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0s !important;
  }
}
