:root {
  --bg: #f4f5f7;
  --bg-soft: #ffffff;
  --panel: rgba(255, 255, 255, 0.72);
  --panel-strong: rgba(18, 18, 22, 0.92);
  --line: rgba(15, 23, 42, 0.08);
  --line-strong: rgba(255, 255, 255, 0.08);
  --text: #111218;
  --muted: #5d6472;
  --muted-light: rgba(255, 255, 255, 0.68);
  --accent: #0f6fff;
  --accent-soft: rgba(15, 111, 255, 0.12);
  --shadow-soft: 0 20px 60px rgba(15, 23, 42, 0.08);
  --shadow-strong: 0 40px 120px rgba(15, 23, 42, 0.16);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 22px;
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Segoe UI Variable Display", "Aptos", "Helvetica Neue", Arial, sans-serif;
  background:
    radial-gradient(circle at top center, rgba(15, 111, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #fbfbfd 0%, #f3f5f8 40%, #edf1f6 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.4), transparent 30%),
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.85), transparent 28%);
}

.ambient {
  position: fixed;
  z-index: -2;
  border-radius: 999px;
  filter: blur(40px);
  pointer-events: none;
}

.ambient-one {
  width: 360px;
  height: 360px;
  top: 80px;
  left: -60px;
  background: rgba(15, 111, 255, 0.12);
}

.ambient-two {
  width: 420px;
  height: 420px;
  right: -110px;
  top: 280px;
  background: rgba(150, 178, 255, 0.18);
}

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

main {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 116px 0 72px;
}

.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 30;
  width: min(calc(100% - 24px), calc(var(--max-width) + 8px));
  transform: translateX(-50%);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  transition:
    background 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.site-header.is-scrolled .site-header__inner {
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 16px 50px rgba(15, 23, 42, 0.12);
}

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

.brand__mark {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.95), transparent 28%),
    linear-gradient(135deg, #62b1ff 0%, #0f6fff 45%, #07387e 100%);
  box-shadow: 0 0 0 8px rgba(15, 111, 255, 0.08);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand__text strong {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand__text span {
  color: var(--muted);
  font-size: 0.8rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a,
.header-cta,
.button,
.feature-card__index,
.panel-kicker {
  font-family: "SF Pro Display", "Segoe UI Variable Display", "Helvetica Neue", Arial, sans-serif;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(17, 18, 24, 0.96);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.section {
  margin-bottom: 24px;
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.65));
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.section--compact {
  padding: 20px 28px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: 34px;
  padding: 52px;
  min-height: min(86vh, 860px);
}

.eyebrow,
.panel-kicker {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: -0.045em;
}

h1 {
  max-width: 12ch;
  margin-bottom: 20px;
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 0.94;
}

h2 {
  max-width: 14ch;
  margin-bottom: 0;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  line-height: 0.98;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.05;
}

.hero__lead,
.section-heading + p,
.feature-card p,
.service-panel p,
.showcase-card p,
.contact-band__copy p,
.contact-card__row span,
.contact-card__row strong,
.contact-card__row a {
  color: var(--muted);
  line-height: 1.75;
}

.hero__lead {
  max-width: 56ch;
  margin-bottom: 28px;
  font-size: 1.08rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.97rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.button:hover,
.button:focus-visible,
.header-cta:hover,
.header-cta:focus-visible {
  transform: translateY(-1px);
}

.button--primary {
  background: linear-gradient(135deg, #0f6fff 0%, #0950cf 100%);
  color: #fff;
  box-shadow: 0 18px 40px rgba(15, 111, 255, 0.25);
}

.button--secondary {
  border-color: rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero__meta li {
  padding: 10px 14px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: #303542;
  font-size: 0.9rem;
}

.hero__visual {
  display: flex;
  justify-content: center;
}

.device-card {
  position: relative;
  width: min(100%, 510px);
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  background:
    linear-gradient(180deg, rgba(14, 20, 35, 0.98) 0%, rgba(20, 27, 46, 0.94) 100%);
  box-shadow: var(--shadow-strong);
  overflow: hidden;
}

.device-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 50%);
  pointer-events: none;
}

.device-card__top {
  display: flex;
  gap: 8px;
  padding: 18px 20px 0;
}

.device-card__top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
}

.device-card__stage {
  position: relative;
  padding: 42px 28px 28px;
  min-height: 460px;
}

.device-card__glow {
  position: absolute;
  inset: 40px auto auto 50%;
  width: 270px;
  height: 270px;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(15, 111, 255, 0.42), rgba(15, 111, 255, 0.1) 45%, transparent 68%);
  filter: blur(12px);
}

.metric-cluster {
  position: relative;
  display: grid;
  gap: 16px;
}

.metric-card {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.metric-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted-light);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metric-card strong {
  color: #fff;
  font-size: 1.3rem;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.metric-card--accent {
  background: linear-gradient(135deg, rgba(15, 111, 255, 0.36), rgba(95, 174, 255, 0.14));
}

.metric-card--wide {
  min-height: 140px;
}

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

.trust p {
  margin-bottom: 0;
  color: #2b3140;
  text-align: center;
  font-size: 0.98rem;
}

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

.intro-grid,
.split-layout,
.showcase,
.contact-band {
  padding-top: 42px;
  padding-bottom: 42px;
}

.feature-grid,
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.service-panel,
.showcase-card,
.contact-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 249, 252, 0.86));
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.25s ease;
}

.feature-card::before,
.service-panel::before,
.showcase-card::before,
.contact-card::before {
  content: "";
  position: absolute;
  inset: -40% auto auto -10%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 111, 255, 0.18), transparent 68%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.feature-card:hover::before,
.service-panel:hover::before,
.showcase-card:hover::before,
.contact-card:hover::before {
  opacity: 1;
}

.feature-card:hover,
.service-panel:hover,
.showcase-card:hover,
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.1);
}

.feature-card,
.showcase-card {
  padding: 26px;
}

.feature-card__index {
  display: inline-block;
  margin-bottom: 24px;
  color: rgba(17, 18, 24, 0.34);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.split-layout__content {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 18px;
}

.service-stack {
  display: grid;
  gap: 18px;
}

.service-panel {
  padding: 28px;
}

.service-panel--large {
  min-height: 100%;
  padding: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(241, 246, 255, 0.9));
}

.service-panel--large h3 {
  max-width: 12ch;
}

.showcase-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.showcase-card--dark {
  background:
    linear-gradient(180deg, rgba(14, 20, 35, 0.98), rgba(23, 30, 52, 0.98));
  border-color: rgba(255, 255, 255, 0.06);
}

.showcase-card--dark h3,
.showcase-card--dark p,
.showcase-card--dark .panel-kicker {
  color: #fff;
}

.showcase-card--dark p:last-child {
  color: rgba(255, 255, 255, 0.72);
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 18px;
  align-items: stretch;
}

.contact-card {
  display: grid;
  gap: 16px;
  padding: 30px;
}

.contact-card__row {
  display: grid;
  gap: 6px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.contact-card__row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-card__row a,
.contact-card__row strong {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.reveal {
  opacity: 0;
  transform: translateY(32px) scale(0.985);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--delay, 0ms);
}

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

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

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

  .site-header__inner,
  .button,
  .header-cta,
  .feature-card::before,
  .service-panel::before,
  .showcase-card::before,
  .contact-card::before {
    transition: none;
  }
}

@media (max-width: 1120px) {
  .hero,
  .split-layout__content,
  .contact-band {
    grid-template-columns: 1fr;
  }

  h1,
  h2,
  .service-panel--large h3 {
    max-width: none;
  }

  .hero {
    min-height: auto;
  }

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

@media (max-width: 820px) {
  main {
    width: min(calc(100% - 18px), var(--max-width));
    padding-top: 102px;
  }

  .site-header__inner {
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 28px;
  }

  .site-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px 20px;
  }

  .hero,
  .section,
  .intro-grid,
  .split-layout,
  .showcase,
  .contact-band {
    padding: 26px;
  }

  .feature-grid,
  .showcase-grid,
  .trust {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(2.9rem, 16vw, 4.8rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3.3rem);
  }

  .device-card__stage {
    min-height: 390px;
    padding: 34px 20px 20px;
  }
}

@media (max-width: 540px) {
  .site-header {
    top: 10px;
    width: calc(100% - 12px);
  }

  .site-header__inner {
    padding: 12px 14px;
  }

  .header-cta {
    width: 100%;
  }

  .hero__actions,
  .hero__meta {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
