:root {
  --bg: #020611;
  --bg-deep: #071120;
  --panel: rgba(10, 18, 34, 0.68);
  --panel-strong: rgba(10, 18, 34, 0.88);
  --line: rgba(255, 255, 255, 0.1);
  --text: #f6f8ff;
  --muted: #9da9c6;
  --blue: #6db7ff;
  --blue-strong: #2d7dff;
  --glow: rgba(86, 154, 255, 0.28);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --radius: 24px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(37, 92, 173, 0.2), transparent 32%),
    linear-gradient(180deg, #020611 0%, #040913 45%, #07111d 100%);
}

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

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

.page-shell {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

.ambient {
  position: absolute;
  border-radius: 999px;
  filter: blur(80px);
  pointer-events: none;
}

.ambient-one {
  top: 140px;
  left: -120px;
  width: 340px;
  height: 340px;
  background: rgba(55, 110, 213, 0.16);
}

.ambient-two {
  top: 620px;
  right: -120px;
  width: 380px;
  height: 380px;
  background: rgba(108, 183, 255, 0.14);
}

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 110px 0;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(2, 6, 17, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
}

.brand {
  flex-shrink: 0;
}

.brand img {
  width: 188px;
}

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

.nav-links a,
.footer-links a {
  color: var(--muted);
  transition: color 180ms ease;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--text);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 600;
  transition:
    transform 180ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease;
}

.nav-cta {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-cta:hover,
.btn:hover {
  transform: translateY(-2px);
}

.hero {
  padding-top: 72px;
}

.hero-grid,
.contact-grid,
.visual-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 52px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b7ceff;
}

.hero h1,
.section-heading h2,
.visual-copy h2,
.demo-panel h2,
.contact-copy h2 {
  margin: 0;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: 10ch;
  font-size: clamp(3.5rem, 8vw, 6.6rem);
}

.hero-text,
.visual-copy p,
.section-heading p,
.demo-panel p,
.contact-copy p,
.feature-card p,
.info-card p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

.hero-text {
  max-width: 650px;
  margin: 22px 0 0;
}

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

.btn-primary {
  color: #07111d;
  background: linear-gradient(135deg, #f8fbff 0%, #a7d5ff 100%);
  box-shadow: 0 12px 35px rgba(109, 183, 255, 0.24);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 42px;
}

.metric {
  min-width: 220px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
}

.metric strong,
.contact-link strong {
  display: block;
  font-size: 1rem;
}

.metric span,
.contact-link span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-orb,
.visual-mark {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(5, 12, 24, 0.68);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-orb {
  width: min(100%, 520px);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}

.hero-orb img {
  position: relative;
  z-index: 2;
  width: 84%;
  filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.12));
}

.hero-gridlines,
.hero-logo-ring {
  position: absolute;
  inset: 0;
}

.hero-gridlines {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 78%);
}

.hero-logo-ring::before,
.hero-logo-ring::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(109, 183, 255, 0.18);
}

.hero-logo-ring::before {
  inset: 12%;
}

.hero-logo-ring::after {
  inset: 20%;
  box-shadow: 0 0 45px var(--glow);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-heading h2,
.visual-copy h2,
.demo-panel h2,
.contact-copy h2 {
  font-size: clamp(2.3rem, 5vw, 4rem);
}

.brand-visual {
  padding-top: 40px;
}

.visual-panel {
  padding: 44px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
}

.visual-mark {
  min-height: 360px;
  display: grid;
  place-items: center;
}

.visual-mark img {
  width: min(100%, 360px);
  position: relative;
  z-index: 2;
}

.pulse {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(109, 183, 255, 0.16);
  animation: pulseRing 8s infinite ease-in-out;
}

.pulse-one {
  width: 220px;
  height: 220px;
}

.pulse-two {
  width: 310px;
  height: 310px;
  animation-delay: -3s;
}

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

.info-card,
.feature-card,
.contact-card,
.demo-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: var(--panel);
  backdrop-filter: blur(16px);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.info-card,
.feature-card {
  min-height: 260px;
  padding: 28px;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.info-card:hover,
.feature-card:hover,
.contact-link:hover {
  transform: translateY(-6px);
  border-color: rgba(109, 183, 255, 0.28);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(109, 183, 255, 0.08);
}

.info-card::before,
.feature-card::before,
.contact-card::before,
.demo-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(109, 183, 255, 0.12), transparent 40%);
  pointer-events: none;
}

.icon-box {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.icon-box span {
  width: 22px;
  height: 22px;
  border: 2px solid #cfe4ff;
  border-radius: 6px;
  position: relative;
}

.icon-box span::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-top: 2px solid #cfe4ff;
  border-bottom: 2px solid #cfe4ff;
}

.icon-box.automation span {
  border-radius: 50%;
}

.icon-box.automation span::after {
  inset: 3px 9px;
  border-top: 0;
  border-bottom: 0;
  border-left: 2px solid #cfe4ff;
  border-right: 2px solid #cfe4ff;
}

.icon-box.platforms span::after {
  inset: 9px 3px;
  border-left: 0;
  border-right: 0;
}

.icon-box.digital span::after {
  inset: 6px;
  border: 2px solid #cfe4ff;
}

.info-card h3,
.feature-card h3 {
  margin: 20px 0 10px;
  font-size: 1.3rem;
}

.feature-card {
  min-height: 220px;
}

.demo-panel {
  padding: 56px;
  text-align: center;
  background:
    radial-gradient(circle at top, rgba(109, 183, 255, 0.18), transparent 40%),
    var(--panel-strong);
}

.demo-panel p {
  max-width: 640px;
  margin: 18px auto 28px;
}

.contact-card {
  padding: 22px;
}

.contact-link {
  display: block;
  padding: 22px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.contact-link + .contact-link {
  margin-top: 16px;
}

.footer {
  padding: 28px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-brand img {
  width: 160px;
  opacity: 0.9;
}

.footer-links {
  display: flex;
  gap: 24px;
}

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

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

@keyframes pulseRing {
  0%,
  100% {
    transform: scale(0.96);
    opacity: 0.4;
  }
  50% {
    transform: scale(1.04);
    opacity: 0.9;
  }
}

@media (max-width: 1080px) {
  .card-grid,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid,
  .contact-grid,
  .visual-panel {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .contact-copy,
  .visual-copy {
    max-width: 760px;
  }
}

@media (max-width: 820px) {
  .navbar {
    position: sticky;
  }

  .nav-inner {
    flex-wrap: wrap;
    justify-content: center;
    padding: 14px 0;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 18px;
    padding-bottom: 8px;
  }

  .nav-cta {
    display: none;
  }

  .section {
    padding: 84px 0;
  }

  .visual-panel,
  .demo-panel {
    padding: 32px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .brand img {
    width: 156px;
  }

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

  .btn,
  .nav-links {
    width: 100%;
  }

  .nav-links {
    flex-wrap: wrap;
  }

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

  .hero-orb {
    border-radius: 28px;
  }

  .visual-mark {
    min-height: 280px;
  }
}
