:root {
  --bg: #070b16;
  --panel: rgba(14, 20, 40, 0.7);
  --panel-strong: rgba(10, 15, 32, 0.9);
  --text: #eef2ff;
  --muted: rgba(238, 242, 255, 0.72);
  --line: rgba(255, 255, 255, 0.1);
  --accent: #7c8cff;
  --accent-2: #63e6be;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(124, 140, 255, 0.14), transparent 28%),
    radial-gradient(circle at right center, rgba(99, 230, 190, 0.14), transparent 25%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 90%);
  pointer-events: none;
}

.aurora {
  position: fixed;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.5;
  pointer-events: none;
  animation: drift 12s ease-in-out infinite alternate;
}

.aurora-1 {
  width: 300px;
  height: 300px;
  left: -90px;
  top: 120px;
  background: rgba(124, 140, 255, 0.32);
}

.aurora-2 {
  width: 240px;
  height: 240px;
  right: 0;
  top: 420px;
  background: rgba(99, 230, 190, 0.22);
  animation-delay: -5s;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.8'/%3E%3C/svg%3E");
}

.topbar,
.hero,
.section,
.footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 30px rgba(124, 140, 255, 0.35);
}

.nav {
  display: flex;
  gap: 22px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 12, 24, 0.5);
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #07101e;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 14px 35px rgba(124, 140, 255, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 45px rgba(124, 140, 255, 0.34);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  padding: 46px 0 30px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent-2);
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-top: 18px;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  max-width: 12ch;
}

h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

h3 {
  font-size: 20px;
  line-height: 1.2;
}

p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 16px;
}

.hero-copy > p {
  margin-top: 18px;
  max-width: 58ch;
}

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

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.stat-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
}

.stat-card strong {
  display: block;
  font-size: 36px;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-card span {
  color: var(--muted);
  font-size: 14px;
}

.glass-card,
.card,
.solution,
.contact-card {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.visual-card {
  position: relative;
  padding: 18px;
  overflow: hidden;
}

.visual-card img,
.solution img {
  display: block;
  width: 100%;
  object-fit: cover;
  border-radius: 22px;
}

.visual-card img {
  height: 540px;
}

.chip-row {
  position: absolute;
  z-index: 2;
  left: 28px;
  top: 28px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.chip {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(8, 12, 24, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.overlay-panel {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(7, 11, 22, 0.2), rgba(7, 11, 22, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.overlay-panel small {
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.overlay-panel h3 {
  margin-top: 8px;
  max-width: 24ch;
}

.pulse {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 0 rgba(99, 230, 190, 0.55);
  animation: pulse 2s infinite;
  flex: 0 0 auto;
}

.section {
  padding: 76px 0 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 26px;
}

.section-head p {
  margin-top: 14px;
}

.grid,
.solutions-grid {
  display: grid;
  gap: 18px;
}

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

.card {
  padding: 24px;
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(124, 140, 255, 0.25), rgba(99, 230, 190, 0.25));
  color: var(--text);
  font-weight: 700;
}

.card p,
.solution p {
  margin-top: 10px;
}

.section-alt {
  padding-top: 84px;
}

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

.solution {
  overflow: hidden;
}

.solution img {
  height: 240px;
  border-radius: 0;
}

.solution > div {
  padding: 22px 24px 26px;
}

.contact-section {
  padding-bottom: 40px;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0 38px;
  color: var(--muted);
  font-size: 14px;
}

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

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

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(20px, -18px, 0) scale(1.05);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(99, 230, 190, 0.55);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(99, 230, 190, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(99, 230, 190, 0);
  }
}

@media (max-width: 1024px) {
  .hero,
  .features-grid,
  .solutions-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 24px;
  }

  .visual-card img {
    height: 420px;
  }
}

@media (max-width: 760px) {
  .topbar,
  .contact-card,
  .footer {
    flex-direction: column;
    align-items: stretch;
  }

  .nav {
    justify-content: center;
    flex-wrap: wrap;
    border-radius: 22px;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: none;
  }

  .contact-card {
    text-align: left;
  }
}
