:root {
  --bg: #f3f7fd;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --line: rgba(18, 33, 61, 0.1);
  --text: #10203d;
  --muted: #5c6f8f;
  --primary: #0e8ed9;
  --primary-strong: #0a6eb8;
  --navy: #121c31;
  --navy-soft: #23385f;
  --glow: rgba(14, 142, 217, 0.2);
  --success: #e8f6ee;
  --shadow: 0 32px 90px rgba(20, 42, 82, 0.14);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Aptos", "Segoe UI", "Trebuchet MS", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(92, 129, 198, 0.28), transparent 34%),
    radial-gradient(circle at right 10%, rgba(14, 142, 217, 0.14), transparent 26%),
    linear-gradient(180deg, #eef5ff 0%, #f7fbff 32%, #eef4fc 100%);
  color: var(--text);
}

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

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

button,
input {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
}

.topbar,
.hero,
.metrics,
.section,
.footer {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 18px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
  padding: 18px 24px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(10, 18, 34, 0.66);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(7, 16, 31, 0.18);
  color: #fff;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0fa8f3, #0d72c0);
  font-family: "Bahnschrift", "Aptos", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong,
.hero h1,
.section h2,
.value-card h3,
.module-card h3,
.showcase-card h3,
.screen-copy h3,
.cta-copy h2 {
  font-family: "Bahnschrift", "Aptos", "Segoe UI", sans-serif;
  letter-spacing: -0.03em;
}

.brand-copy small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.84rem;
}

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

.nav a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.96rem;
}

.nav a:hover {
  color: #fff;
}

.nav-cta {
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(14, 142, 217, 0.16);
  border: 1px solid rgba(14, 142, 217, 0.34);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 42px;
  align-items: center;
  padding: 84px 0 36px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-strong);
  font-weight: 700;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: currentColor;
}

.hero h1 {
  margin: 18px 0 18px;
  font-size: clamp(2.9rem, 5vw, 5.2rem);
  line-height: 0.96;
}

.hero-text,
.section-intro p,
.value-card p,
.module-card p,
.showcase-card p,
.screen-copy p,
.cta-copy p,
.footer p {
  color: var(--muted);
  line-height: 1.7;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, #109de9, #0a73c1);
  color: #fff;
  box-shadow: 0 14px 30px rgba(14, 142, 217, 0.28);
}

.button-secondary {
  border-color: rgba(16, 32, 61, 0.16);
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
}

.button-block {
  width: 100%;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-highlights li {
  padding: 18px 18px 18px 20px;
  border: 1px solid rgba(16, 32, 61, 0.09);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 16px 34px rgba(20, 42, 82, 0.06);
  color: var(--text);
  font-weight: 600;
}

.hero-stage {
  position: relative;
  min-height: 700px;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 36px;
  background:
    linear-gradient(155deg, rgba(16, 31, 58, 0.95), rgba(39, 69, 120, 0.84)),
    url("./assets/hero-bg.png") center/cover no-repeat;
  box-shadow: var(--shadow);
}

.hero-stage::after {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  pointer-events: none;
}

.hero-preview {
  position: absolute;
  inset: 24px;
  overflow: hidden;
  border-radius: 30px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.hero-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.floating-card {
  position: absolute;
  z-index: 1;
}

.floating-card {
  width: 260px;
  padding: 22px;
  border-radius: 22px;
  background: rgba(14, 21, 37, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 50px rgba(7, 16, 31, 0.3);
}

.floating-card-top {
  top: 46px;
  right: -12px;
  z-index: 3;
}

.floating-card-bottom {
  left: -18px;
  bottom: 34px;
}

.floating-card-services {
  left: -18px;
  bottom: 34px;
  z-index: 3;
}

.mini-label {
  display: inline-block;
  margin-bottom: 14px;
  color: #8bc5ff;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.floating-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.floating-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.6;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
  margin-bottom: 28px;
}

.metrics article,
.value-card,
.module-card,
.showcase-card,
.screen-card,
.cta-panel,
.lead-form,
.footer {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 34px rgba(20, 42, 82, 0.06);
}

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

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

.metrics span {
  color: var(--muted);
  line-height: 1.6;
}

.section {
  padding: 64px 0;
}

.section-intro {
  margin-bottom: 30px;
}

.section-intro h2 {
  margin: 14px 0 0;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.04;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 0.75fr);
  gap: 30px;
  align-items: end;
}

.value-grid,
.modules-grid,
.showcase-grid,
.screens-grid {
  display: grid;
  gap: 20px;
}

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

.value-card,
.module-card,
.showcase-card,
.screen-card {
  padding: 28px;
  border-radius: var(--radius-lg);
}

.value-card h3,
.module-card h3,
.showcase-card h3,
.screen-copy h3 {
  margin: 0 0 14px;
  font-size: 1.34rem;
}

.value-card.accent {
  background:
    linear-gradient(135deg, rgba(16, 157, 233, 0.1), rgba(12, 33, 70, 0.96)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92));
  color: #fff;
}

.value-card.accent p,
.value-card.accent h3 {
  color: #fff;
}

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

.module-card {
  min-height: 210px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(242, 248, 255, 0.96));
}

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

.showcase-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  background:
    radial-gradient(circle at top right, rgba(14, 142, 217, 0.18), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(239, 246, 255, 0.94));
}

.showcase-card span {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: rgba(14, 142, 217, 0.12);
  color: var(--primary-strong);
  font-weight: 700;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
  gap: 28px;
  padding: 34px;
  border-radius: 34px;
  background:
    radial-gradient(circle at top left, rgba(16, 157, 233, 0.16), transparent 24%),
    linear-gradient(135deg, rgba(9, 22, 41, 0.96), rgba(29, 56, 97, 0.96));
  color: #fff;
}

.cta-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
}

.lead-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

.lead-form input {
  height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(16, 32, 61, 0.12);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
}

.lead-form input:focus {
  outline: 2px solid rgba(14, 142, 217, 0.18);
  border-color: rgba(14, 142, 217, 0.42);
}

.form-feedback {
  min-height: 24px;
  margin: 0;
  color: #177945;
  font-weight: 600;
}

.form-note {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  margin-bottom: 32px;
  border-radius: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@media (max-width: 1180px) {
  .hero,
  .split,
  .cta-panel,
  .value-grid,
  .modules-grid,
  .showcase-grid,
  .screens-grid,
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    padding-top: 58px;
  }

  .hero-stage {
    min-height: 620px;
  }

  .hero-visual {
    inset: 24px;
  }
}

@media (max-width: 920px) {
  .topbar {
    top: 10px;
    padding: 14px 18px;
    border-radius: 24px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border-radius: 24px;
    background: rgba(10, 18, 34, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 12px 10px;
  }

  .hero,
  .split,
  .cta-panel,
  .value-grid,
  .modules-grid,
  .showcase-grid,
  .screens-grid,
  .metrics,
  .hero-highlights {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: auto;
    padding: 28px;
    overflow: hidden;
  }

  .hero-stage::before,
  .hero-stage::after,
  .hero-preview,
  .floating-card {
    position: relative;
  }

  .hero-stage::after {
    display: none;
  }

  .floating-card {
    inset: auto;
    width: auto;
  }

  .hero-preview {
    inset: auto;
    margin-bottom: 18px;
  }

  .floating-card-top,
  .floating-card-bottom,
  .floating-card-services {
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    margin-bottom: 16px;
  }

  .cta-panel {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .topbar,
  .hero,
  .metrics,
  .section,
  .footer {
    width: min(calc(100% - 24px), var(--container));
  }

  .hero h1 {
    font-size: 2.45rem;
  }

  .section {
    padding: 48px 0;
  }

  .value-card,
  .module-card,
  .showcase-card,
  .screen-card,
  .metrics article,
  .cta-panel {
    padding: 22px;
  }
}
