:root {
  --ink: #f7fbff;
  --muted: rgba(247, 251, 255, 0.72);
  --soft: rgba(247, 251, 255, 0.1);
  --line: rgba(255, 255, 255, 0.16);
  --blue: #0b78ff;
  --cyan: #35d9ff;
  --aqua: #42f5c8;
  --violet: #7068ff;
  --navy: #061322;
  --black: #020309;
  --scroll: 0px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  background: var(--black);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 50%, transparent 50%),
    radial-gradient(circle at 50% 50%, transparent 0 55%, rgba(0, 0, 0, 0.26));
  background-size: 100% 4px, 100% 100%;
  mix-blend-mode: screen;
  opacity: 0.35;
}

.cursor-glow {
  --x: 50vw;
  --y: 50vh;
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(circle 240px at var(--x) var(--y), rgba(53, 217, 255, 0.24), transparent 72%);
  opacity: 0.9;
  transition: opacity 200ms ease;
}

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

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

.site-shell {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 12%, rgba(53, 217, 255, 0.3), transparent 28rem),
    radial-gradient(circle at 12% 62%, rgba(11, 120, 255, 0.34), transparent 30rem),
    radial-gradient(circle at 54% 42%, rgba(66, 245, 200, 0.12), transparent 34rem),
    linear-gradient(180deg, #020512 0%, #062346 56%, #020309 100%);
}

.topbar {
  position: fixed;
  z-index: 60;
  inset: 16px 18px auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  pointer-events: none;
}

.brand,
.nav-pills,
.icon-link {
  pointer-events: auto;
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 27, 54, 0.72);
  backdrop-filter: blur(18px);
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.28);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.1);
  background: white;
}

.nav-pills {
  display: flex;
  gap: 8px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 27, 54, 0.68);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.28);
}

.nav-pills a {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  font-weight: 600;
  transition: transform 180ms ease, background 180ms ease;
}

.nav-pills a {
  padding: 9px 14px;
  font-size: 14px;
  position: relative;
  overflow: hidden;
}

.nav-pills a::before,
.cta::before,
.hero-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-115%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transition: transform 520ms ease;
}

.nav-pills a:hover::before,
.cta:hover::before,
.hero-cta:hover::before {
  transform: translateX(115%);
}

.brand:hover,
.nav-pills a:hover,
.cta:hover {
  transform: translateY(-2px);
  background: rgba(53, 217, 255, 0.24);
}

.icon-link {
  justify-self: end;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(8, 27, 54, 0.72);
  backdrop-filter: blur(18px);
}

.icon-link svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linejoin: round;
}

.hero-section {
  position: relative;
  min-height: 100svh;
  padding: 110px 5vw 70px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: auto 5vw 42px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  opacity: 0.36;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 44%, rgba(53, 217, 255, 0.13), transparent 7rem),
    linear-gradient(135deg, rgba(2, 7, 18, 0.42), rgba(4, 24, 55, 0.94));
}

.hero-bg::before,
.hero-bg::after {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    conic-gradient(from 120deg at 50% 50%, transparent, rgba(53, 217, 255, 0.32), rgba(66, 245, 200, 0.16), transparent 32%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.09), transparent 38%);
  animation: slow-orbit 18s linear infinite;
  opacity: 0.5;
}

.hero-bg::after {
  animation-duration: 26s;
  animation-direction: reverse;
  opacity: 0.34;
}

.mesh-grid {
  position: absolute;
  inset: 0;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(circle at 50% 50%, black, transparent 72%);
  transform: translate3d(0, var(--scroll), 0);
  animation: grid-drift 16s linear infinite;
}

.gloss {
  position: absolute;
  height: 12vw;
  min-height: 110px;
  border-radius: 999px;
  transform: rotate(-16deg) translate3d(0, 0, 0);
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), rgba(53, 217, 255, 0.84), rgba(66, 245, 200, 0.5), transparent),
    linear-gradient(#04040a, #04040a);
  filter: blur(0.2px) drop-shadow(0 0 34px rgba(53, 217, 255, 0.82));
  opacity: 0.78;
  animation: gloss-float 9s ease-in-out infinite alternate;
}

.gloss::after {
  content: "";
  position: absolute;
  inset: 18% 0;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(6, 6, 12, 0.96), transparent);
}

.gloss-one {
  width: 62vw;
  top: 8%;
  left: -9%;
}

.gloss-two {
  width: 68vw;
  top: 52%;
  right: -10%;
  animation-delay: -3s;
}

.gloss-three {
  width: 52vw;
  bottom: 8%;
  left: 0;
  animation-delay: -6s;
}

.film-grain {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    radial-gradient(circle at 20% 30%, white 0 1px, transparent 1px),
    radial-gradient(circle at 70% 40%, white 0 1px, transparent 1px),
    radial-gradient(circle at 40% 80%, white 0 1px, transparent 1px);
  background-size: 90px 90px, 130px 130px, 170px 170px;
  animation: grain-shift 900ms steps(3) infinite;
}

.hero-copy {
  max-width: 980px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(54px, 8vw, 118px);
  line-height: 0.94;
  font-weight: 700;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 0 38px rgba(53, 217, 255, 0.28);
}

.hero-subheadline {
  max-width: 780px;
  margin: 28px auto 0;
  color: rgba(247, 251, 255, 0.9);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.48;
}

.hero-cta {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  margin-top: 34px;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(11, 120, 255, 0.58), rgba(53, 217, 255, 0.24), rgba(66, 245, 200, 0.16));
  box-shadow: 0 20px 90px rgba(53, 217, 255, 0.32);
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease;
}

.hero-cta:hover {
  transform: translateY(-2px) scale(1.02);
  background: linear-gradient(135deg, rgba(11, 120, 255, 0.72), rgba(53, 217, 255, 0.34), rgba(66, 245, 200, 0.2));
}

.scroll-cue {
  position: absolute;
  bottom: 22px;
  left: 50%;
  width: 28px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  padding-top: 8px;
  opacity: 0.78;
}

.scroll-cue span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: white;
  animation: scroll-dot 1.7s ease-in-out infinite;
}

.demo-section,
.process-section,
.contact-section,
.faq-section {
  padding: 86px 5vw;
}

.demo-section,
.process-section,
.contact-section,
.faq-section {
  min-height: 100svh;
  display: grid;
  align-content: center;
  border-top: 1px solid var(--line);
}

.demo-section {
  position: relative;
  background:
    radial-gradient(circle at 80% 24%, rgba(53, 217, 255, 0.25), transparent 24rem),
    radial-gradient(circle at 18% 78%, rgba(11, 120, 255, 0.34), transparent 28rem),
    radial-gradient(circle at 44% 42%, rgba(66, 245, 200, 0.12), transparent 30rem),
    #020815;
}

.demo-section::before,
.process-section::before,
.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0 36%, rgba(255, 255, 255, 0.07) 42%, transparent 50% 100%);
  transform: translateX(-35%);
  animation: light-sweep 12s ease-in-out infinite;
}

.process-section {
  position: relative;
  background:
    radial-gradient(circle at 18% 18%, rgba(53, 217, 255, 0.24), transparent 24rem),
    radial-gradient(circle at 82% 72%, rgba(11, 120, 255, 0.3), transparent 28rem),
    radial-gradient(circle at 52% 48%, rgba(66, 245, 200, 0.1), transparent 28rem),
    #02050d;
}

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

.process-card {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  padding: 34px 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 28px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 50% 28%, rgba(53, 217, 255, 0.2), transparent 24rem),
    rgba(255, 255, 255, 0.045);
  background-size: 54px 54px, 54px 54px, auto, auto;
  backdrop-filter: blur(20px);
}

.process-card h3 {
  margin: 0;
  text-align: center;
  font-size: clamp(34px, 3.2vw, 54px);
  line-height: 1;
}

.process-card h3 span {
  color: var(--cyan);
  text-shadow: 0 0 24px rgba(53, 217, 255, 0.36);
}

.process-card > p {
  margin: 0 auto;
  max-width: 440px;
  color: rgba(247, 251, 255, 0.72);
  font-size: clamp(18px, 1.8vw, 26px);
  line-height: 1.55;
  text-align: center;
}

.process-visual {
  align-self: center;
  min-height: 280px;
  border: 1px solid rgba(53, 217, 255, 0.44);
  border-radius: 18px;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 50%, rgba(53, 217, 255, 0.22), transparent 70%),
    rgba(0, 0, 0, 0.28);
  box-shadow: inset 0 0 34px rgba(53, 217, 255, 0.14), 0 0 54px rgba(11, 120, 255, 0.22);
}

.mini-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.mini-brand img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  background: white;
}

.upload-visual {
  grid-template-rows: auto 1fr auto;
}

.upload-box {
  width: 100%;
  min-height: 118px;
  border: 1px dashed rgba(255, 255, 255, 0.34);
  border-radius: 12px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
}

.upload-box svg,
.scissors {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.upload-box p {
  margin: 0;
  color: rgba(247, 251, 255, 0.78);
  font-weight: 700;
}

.input-line {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 18px;
}

.input-line span,
.input-line button {
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: rgba(247, 251, 255, 0.68);
  background: rgba(255, 255, 255, 0.08);
}

.input-line button {
  color: white;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(11, 120, 255, 0.82), rgba(53, 217, 255, 0.52));
}

.clip-visual {
  position: relative;
  grid-template-rows: 0.7fr 1fr auto;
}

.waveform {
  width: 100%;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.waveform span {
  width: 5px;
  height: var(--h, 24px);
  border-radius: 999px;
  background: linear-gradient(var(--cyan), var(--aqua), rgba(255, 255, 255, 0.72));
  animation: waveform 1.4s ease-in-out infinite alternate;
}

.waveform span:nth-child(2n) { --h: 42px; animation-delay: 120ms; }
.waveform span:nth-child(3n) { --h: 58px; animation-delay: 240ms; }
.waveform span:nth-child(4n) { --h: 34px; animation-delay: 360ms; }

.clip-frame {
  position: relative;
  width: 76%;
  height: 88px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(11, 120, 255, 0.32), rgba(53, 217, 255, 0.14), rgba(255, 255, 255, 0.08));
}

.playhead {
  position: absolute;
  top: -10px;
  bottom: -10px;
  left: 58%;
  width: 3px;
  border-radius: 999px;
  background: white;
  box-shadow: 0 0 18px rgba(53, 217, 255, 0.95);
}

.caption-lines {
  position: absolute;
  right: -32%;
  top: 8px;
  display: grid;
  gap: 10px;
}

.caption-lines span {
  width: 72px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
}

.caption-lines span:nth-child(2) {
  background: var(--cyan);
}

.scissors {
  margin-top: 18px;
}

.post-visual {
  grid-template-rows: auto 1fr auto;
  gap: 16px;
}

.ready-card {
  width: 100%;
  padding: 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
}

.ready-card strong,
.ready-card span {
  display: block;
}

.ready-card span {
  margin-top: 6px;
  color: var(--muted);
}

.clip-stack {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.clip-stack div {
  min-height: 122px;
  border: 1px solid rgba(53, 217, 255, 0.44);
  border-radius: 12px;
  display: flex;
  align-items: end;
  padding: 10px;
  background:
    linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.55)),
    radial-gradient(circle at 50% 22%, rgba(247, 251, 255, 0.22), transparent 42%),
    rgba(255, 255, 255, 0.08);
}

.clip-stack span {
  color: rgba(247, 251, 255, 0.78);
  font-size: 12px;
}

.platform-dots {
  display: flex;
  gap: 10px;
}

.platform-dots span {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 900;
  background: linear-gradient(135deg, rgba(11, 120, 255, 0.58), rgba(53, 217, 255, 0.24));
}

.demo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 24px;
  align-items: stretch;
}

.demo-screen,
.demo-copy,
.contact-form {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(20px);
  transform-style: preserve-3d;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  will-change: transform;
}

.interactive-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle 260px at var(--mx, 50%) var(--my, 50%), rgba(53, 217, 255, 0.28), transparent 68%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.interactive-panel:hover {
  border-color: rgba(53, 217, 255, 0.52);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.36);
}

.interactive-panel:hover::before {
  opacity: 1;
}

.demo-screen {
  min-height: 520px;
  padding: 18px;
  display: grid;
  grid-template-rows: auto 1fr;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.13), transparent),
    linear-gradient(180deg, rgba(11, 120, 255, 0.32), rgba(2, 3, 9, 0.8));
}

.demo-toolbar {
  display: flex;
  gap: 8px;
  padding: 0 0 16px;
}

.demo-toolbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  animation: pulse-dot 2.4s ease-in-out infinite;
}

.demo-toolbar span:nth-child(2) {
  animation-delay: 160ms;
}

.demo-toolbar span:nth-child(3) {
  animation-delay: 320ms;
}

.demo-flow {
  display: grid;
  gap: 14px;
  align-content: center;
}

.demo-flow div {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.25);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.demo-flow div::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(53, 217, 255, 0.26), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms ease;
  z-index: -1;
}

.demo-flow div:hover,
.demo-flow div:focus-visible {
  transform: translateX(8px);
  border-color: rgba(53, 217, 255, 0.56);
  background: rgba(0, 0, 0, 0.34);
  outline: none;
}

.demo-flow div:hover::after,
.demo-flow div:focus-visible::after {
  transform: scaleX(1);
}

.demo-flow strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(20px, 2vw, 25px);
}

.demo-flow p,
.demo-copy p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.demo-copy {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.demo-copy h3 {
  margin-bottom: 0;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1;
}

.demo-copy .cta {
  align-self: flex-start;
}

.contact-section {
  position: relative;
  background:
    radial-gradient(circle at 22% 22%, rgba(53, 217, 255, 0.22), transparent 25rem),
    radial-gradient(circle at 78% 76%, rgba(11, 120, 255, 0.22), transparent 26rem),
    #020309;
}

.faq-section {
  position: relative;
  background:
    radial-gradient(circle at 78% 16%, rgba(53, 217, 255, 0.22), transparent 25rem),
    radial-gradient(circle at 18% 72%, rgba(11, 120, 255, 0.28), transparent 28rem),
    #030711;
}

.faq-list {
  width: min(980px, 100%);
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(20px);
  overflow: hidden;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.faq-list details:hover {
  border-color: rgba(53, 217, 255, 0.48);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 22px;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 800;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--cyan);
  font-size: 28px;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
  line-height: 1.6;
}

.site-footer {
  padding: 26px 5vw;
  border-top: 1px solid var(--line);
  background: #020309;
  text-align: center;
}

.site-footer p {
  margin: 0;
  color: rgba(247, 251, 255, 0.62);
  font-size: 14px;
}

.contact-form {
  width: min(780px, 100%);
  padding: 24px;
  display: grid;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  color: rgba(247, 251, 255, 0.82);
  font-size: 14px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 14px 15px;
  color: var(--ink);
  font: inherit;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(53, 217, 255, 0.86);
  box-shadow: 0 0 0 4px rgba(53, 217, 255, 0.18);
}

.contact-form .cta {
  border: 0;
  color: var(--ink);
  cursor: pointer;
}

.section-heading h2 {
  margin-bottom: 0;
  max-width: 920px;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}

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

.cta {
  position: relative;
  overflow: hidden;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(11, 120, 255, 0.38), rgba(53, 217, 255, 0.18));
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(32px) scale(0.98);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

@keyframes slow-orbit {
  to {
    transform: rotate(1turn);
  }
}

@keyframes gloss-float {
  from {
    transform: rotate(-16deg) translate3d(-1.5vw, -1.2vw, 0) scale(1);
  }
  to {
    transform: rotate(-16deg) translate3d(1.5vw, 1.2vw, 0) scale(1.04);
  }
}

@keyframes grid-drift {
  to {
    background-position: 120px 120px;
  }
}

@keyframes grain-shift {
  50% {
    transform: translate3d(1%, -1%, 0);
  }
}

@keyframes scroll-dot {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.45;
  }
  50% {
    transform: translateY(18px);
    opacity: 1;
  }
}

@keyframes light-sweep {
  0%, 42%, 100% {
    transform: translateX(-45%);
    opacity: 0;
  }
  58% {
    transform: translateX(45%);
    opacity: 1;
  }
}

@keyframes pulse-dot {
  0%, 100% {
    opacity: 0.42;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.28);
  }
}

@keyframes waveform {
  to {
    transform: scaleY(0.48);
    opacity: 0.58;
  }
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .nav-pills {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
    max-width: 100%;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow: hidden;
  }

  .nav-pills a {
    min-width: 0;
    text-align: center;
    white-space: nowrap;
  }

  .hero-section {
    min-height: 920px;
    gap: 34px;
    padding-top: 150px;
  }

  .hero-copy {
    text-align: center;
  }

  .demo-layout {
    grid-template-columns: 1fr;
  }

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

  .process-card {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .topbar {
    position: fixed !important;
    top: 8px !important;
    right: 8px !important;
    bottom: auto !important;
    left: 8px !important;
    display: grid;
    grid-template-columns: 54px minmax(0, auto) 42px;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    z-index: 100;
  }

  .brand {
    grid-column: 1;
    width: 54px;
    height: 54px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.92);
  }

  .brand img {
    width: 44px;
    height: 44px;
    max-width: none;
    object-fit: contain;
    object-position: center;
    transform: none;
    background: white;
  }

  .brand span {
    display: none;
  }

  .nav-pills {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    display: flex;
    gap: 4px;
    padding: 4px;
    width: max-content;
    max-width: calc(100vw - 124px);
    overflow-x: auto;
    scrollbar-width: none;
  }

  .nav-pills::-webkit-scrollbar {
    display: none;
  }

  .nav-pills a {
    flex: 0 0 auto;
    padding: 9px 9px;
    font-size: 12px;
    line-height: 1;
    text-align: center;
  }

  .icon-link {
    grid-column: 3;
    width: 42px;
    height: 42px;
  }

  .hero-section {
    padding-top: 104px;
  }
}

@media (max-width: 640px) {
  .topbar {
    top: 8px !important;
    right: 8px !important;
    bottom: auto !important;
    left: 8px !important;
    gap: 8px;
  }

  .brand {
    min-width: 54px;
    padding: 0;
    gap: 0;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand span {
    max-width: none;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
  }

  .icon-link {
    width: 34px;
    height: 34px;
  }

  .nav-pills {
    padding: 4px;
    gap: 4px;
  }

  .nav-pills a {
    padding: 8px 6px;
    font-size: 13px;
  }

  .hero-section {
    min-height: 870px;
    padding: 104px 18px 48px;
  }

  h1 {
    font-size: clamp(56px, 18vw, 84px);
  }

  .demo-section,
  .process-section,
  .contact-section,
  .faq-section {
    padding: 58px 18px;
  }

  .section-heading h2 {
    font-size: clamp(32px, 12vw, 52px);
  }

  .cta {
    width: 100%;
  }

  .demo-copy .cta {
    align-self: stretch;
  }
}

@media (max-width: 480px) {
  .brand span {
    max-width: calc(100vw - 88px);
  }

  .nav-pills a {
    padding: 8px 4px;
    font-size: 12px;
  }

  .demo-screen {
    min-height: auto;
  }
}

@media (max-width: 360px) {
  .brand span {
    max-width: 190px;
  }

  .nav-pills a {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .cursor-glow {
    display: none;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
