:root {
  --bg: #060915;
  --bg-soft: #0f1730;
  --surface: #121d37;
  --surface-border: #2f4268;
  --text: #eaf1ff;
  --text-muted: #abbbda;
  --accent: #62f0d9;
  --accent-2: #7d95ff;
  --accent-3: #ffc978;
  --max: 1120px;
  --radius: 18px;
  --shadow-soft: 0 14px 34px rgba(4, 11, 27, 0.45);
  --shadow-hard: 0 24px 54px rgba(4, 11, 27, 0.65);
  --ease: 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Manrope", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

body {
  line-height: 1.56;
  letter-spacing: 0.01em;
}

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

.ambient-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(64px);
  opacity: 0.42;
  animation: float 18s ease-in-out infinite alternate;
}

.orb-a {
  width: 36vw;
  height: 36vw;
  min-width: 320px;
  min-height: 320px;
  background: radial-gradient(circle, rgba(98, 240, 217, 0.9), rgba(98, 240, 217, 0.08) 65%);
  top: -10vw;
  left: -10vw;
}

.orb-b {
  width: 40vw;
  height: 40vw;
  min-width: 360px;
  min-height: 360px;
  background: radial-gradient(circle, rgba(125, 149, 255, 0.76), rgba(125, 149, 255, 0.06) 64%);
  right: -12vw;
  top: 8vh;
  animation-duration: 22s;
}

.orb-c {
  width: 30vw;
  height: 30vw;
  min-width: 280px;
  min-height: 280px;
  background: radial-gradient(circle, rgba(255, 201, 120, 0.58), rgba(255, 201, 120, 0.05) 66%);
  left: 42%;
  bottom: -8vw;
  animation-duration: 26s;
}

.grid-noise {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(125, 149, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 149, 255, 0.1) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at 50% 25%, black, transparent 72%);
}

@keyframes float {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(0, -24px, 0) scale(1.05);
  }
}

.container {
  width: min(var(--max), 92vw);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #fff;
  color: #111;
  padding: 0.5rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(6, 9, 21, 0.72);
  border-bottom: 1px solid rgba(125, 149, 255, 0.2);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-icon {
  width: 20px;
  height: 20px;
  display: block;
  filter: drop-shadow(0 0 12px rgba(98, 240, 217, 0.36));
}

.menu-toggle {
  display: none;
  border: 1px solid var(--surface-border);
  background: rgba(18, 29, 55, 0.8);
  color: var(--text);
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
}

.site-nav {
  display: flex;
  gap: 1.3rem;
  color: var(--text-muted);
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  text-shadow: 0 0 14px rgba(125, 149, 255, 0.52);
}

.hero {
  padding: 6.4rem 0 4.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
}

.eyebrow {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.78rem;
  margin: 0 0 0.9rem;
}

h1,
h2,
h3 {
  font-family: "Sora", sans-serif;
  margin: 0;
}

h2 {
  font-size: clamp(1.7rem, 3.7vw, 2.7rem);
  margin-bottom: 1.2rem;
  line-height: 1.08;
  letter-spacing: -0.015em;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 0.55rem;
  line-height: 1.2;
}

.hero-copy {
  position: relative;
}

.stack > * + * {
  margin-top: 0.6rem;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: -20% 0 auto -6%;
  height: 42%;
  width: 48%;
  background: radial-gradient(circle, rgba(125, 149, 255, 0.24), transparent 68%);
  pointer-events: none;
  z-index: -1;
}

.hero-copy h1 {
  font-size: clamp(2.15rem, 5.7vw, 4.35rem);
  font-weight: 700;
  line-height: 1.03;
  max-width: 13ch;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  margin: 1.1rem 0 1.7rem;
  max-width: 58ch;
  color: var(--text-muted);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.18rem;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform var(--ease), box-shadow var(--ease), filter var(--ease), border-color var(--ease), background var(--ease);
  transform-origin: center;
}

.btn:focus-visible,
.menu-toggle:focus-visible,
.site-nav a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2), var(--accent-3));
  background-size: 180% 180%;
  color: #071021;
  box-shadow: 0 10px 20px rgba(125, 149, 255, 0.34);
  animation: shift 6s ease infinite;
}

@keyframes shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-3px) scale(1.01);
  filter: brightness(1.05);
  box-shadow: 0 18px 36px rgba(125, 149, 255, 0.42), 0 0 24px rgba(98, 240, 217, 0.28);
}

.btn-ghost {
  border-color: var(--surface-border);
  background: rgba(18, 29, 55, 0.62);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  transform: translateY(-3px);
  border-color: var(--accent-2);
  background: rgba(18, 29, 55, 0.86);
  box-shadow: 0 12px 28px rgba(5, 12, 28, 0.52), inset 0 0 0 1px rgba(98, 240, 217, 0.22);
}

.hero-pillars {
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.hero-pillars li {
  font-size: 0.82rem;
  color: #d4e3ff;
  border: 1px solid rgba(125, 149, 255, 0.36);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  background: rgba(12, 20, 37, 0.62);
}

.hero-panel,
.card,
.flow li,
.contact-shell,
.metrics article {
  border: 1px solid var(--surface-border);
  background: linear-gradient(165deg, rgba(18, 29, 55, 0.93), rgba(11, 18, 36, 0.9));
  box-shadow: var(--shadow-soft);
}

.hover-sheen {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hover-sheen::before {
  content: "";
  position: absolute;
  inset: -140% -35%;
  background: linear-gradient(
    115deg,
    transparent 34%,
    rgba(98, 240, 217, 0.14) 48%,
    rgba(125, 149, 255, 0.18) 56%,
    transparent 68%
  );
  transform: translateX(-72%) rotate(6deg);
  transition: transform 520ms var(--ease), opacity 520ms var(--ease);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}

.hover-sheen:hover::before,
.hover-sheen:focus-within::before {
  opacity: 1;
  transform: translateX(72%) rotate(6deg);
}

.hover-sheen > * {
  position: relative;
  z-index: 1;
}

.hero-panel {
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow-hard);
  transform: translateY(0);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.hero-panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 58px rgba(3, 10, 23, 0.72);
  border-color: rgba(98, 240, 217, 0.35);
}

.hero-panel h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.snapshot-item + .snapshot-item {
  margin-top: 0.9rem;
}

.snapshot-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.snapshot-list .snapshot-item + .snapshot-item {
  margin-top: 0.9rem;
}

.snapshot-item p {
  margin: 0;
  color: var(--accent);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.snapshot-item strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.98rem;
}

.section {
  padding: 4.2rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(14, 23, 44, 0.26), rgba(14, 23, 44, 0.56));
  border-top: 1px solid rgba(125, 149, 255, 0.16);
  border-bottom: 1px solid rgba(125, 149, 255, 0.16);
}

.cards {
  display: grid;
  gap: 1rem;
}

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

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

.card {
  border-radius: var(--radius);
  padding: 1.05rem 1.05rem 1.12rem;
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease), background var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(98, 240, 217, 0.35);
  box-shadow: 0 24px 45px rgba(3, 10, 23, 0.55), 0 0 26px rgba(125, 149, 255, 0.22);
  background: linear-gradient(165deg, rgba(18, 29, 55, 0.98), rgba(14, 22, 42, 0.95));
}

.card p {
  margin: 0;
  color: var(--text-muted);
}

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

.flow li {
  border-radius: var(--radius);
  padding: 1rem;
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}

.flow li:hover {
  transform: translateY(-5px);
  border-color: rgba(125, 149, 255, 0.45);
  box-shadow: 0 22px 44px rgba(5, 12, 28, 0.58), 0 0 24px rgba(98, 240, 217, 0.2);
}

.flow span {
  display: inline-block;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.65rem;
}

.flow p {
  margin: 0;
  color: var(--text-muted);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.metrics article {
  border-left: 3px solid var(--accent-2);
  padding: 0.35rem 0.85rem;
  border-radius: 10px;
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}

.metrics article:hover {
  transform: translateY(-4px);
  border-color: rgba(98, 240, 217, 0.35);
  box-shadow: 0 22px 42px rgba(4, 11, 27, 0.54), 0 0 20px rgba(98, 240, 217, 0.2);
}

.metrics strong {
  display: block;
  margin-bottom: 0.45rem;
}

.metrics p {
  margin: 0;
  color: var(--text-muted);
}

.demo-intro {
  margin: 0 0 1.1rem;
  max-width: 70ch;
  color: var(--text-muted);
}

.demo-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: start;
}

.demo-shot {
  margin: 0;
  width: min(100%, 920px);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(18, 29, 55, 0.93), rgba(11, 18, 36, 0.9));
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.demo-shot img {
  width: 100%;
  display: block;
  aspect-ratio: auto;
  object-fit: cover;
}

.demo-shot figcaption {
  padding: 0.7rem 0.85rem 0.78rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.contact-shell {
  border: 1px solid rgba(98, 240, 217, 0.32);
  border-radius: var(--radius);
  padding: 1.45rem;
  background: linear-gradient(145deg, rgba(98, 240, 217, 0.14), rgba(125, 149, 255, 0.2));
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  box-shadow: 0 20px 42px rgba(4, 10, 26, 0.58);
}

.contact-shell p {
  color: #d4def1;
  max-width: 62ch;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-content: start;
}

.site-footer {
  border-top: 1px solid rgba(125, 149, 255, 0.2);
  padding: 1.5rem 0 2rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  transition: opacity 540ms var(--ease), transform 540ms var(--ease);
}

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

.reveal-list li {
  opacity: 0;
  transform: translateY(16px);
  transition: transform 540ms var(--ease), opacity 540ms var(--ease);
}

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

.reveal-list.is-visible li:nth-child(2) {
  transition-delay: 80ms;
}

.reveal-list.is-visible li:nth-child(3) {
  transition-delay: 160ms;
}

.card-float {
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.card-float:hover {
  transform: translateY(-4px);
}

.magnetic {
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .hover-sheen::before {
    display: none;
  }
}

html.no-js .reveal,
html.no-js .reveal-list li {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .hero-grid,
  .flow,
  .three-col,
  .metrics,
  .demo-gallery {
    grid-template-columns: 1fr;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .contact-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .hero {
    padding-top: 5rem;
  }

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

  .site-nav {
    position: absolute;
    top: 72px;
    right: 4vw;
    left: 4vw;
    display: none;
    flex-direction: column;
    padding: 0.9rem;
    background: rgba(6, 9, 21, 0.98);
    border: 1px solid var(--surface-border);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(3, 10, 24, 0.6);
  }

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

  html.no-js .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  html.no-js .menu-toggle {
    display: none;
  }
}
