/* Fidaty · Theme and motion based on the requested ZPro reference. */
@font-face {
  font-family: Inter;
  src: url('../fonts/inter-400.woff2');
  font-weight: 400;
  font-display: swap
}

@font-face {
  font-family: Inter;
  src: url('../fonts/inter-500.woff2');
  font-weight: 500;
  font-display: swap
}

@font-face {
  font-family: Inter;
  src: url('../fonts/inter-600.woff2');
  font-weight: 600;
  font-display: swap
}

@font-face {
  font-family: Inter;
  src: url('../fonts/inter-700.woff2');
  font-weight: 700;
  font-display: swap
}

@font-face {
  font-family: Inter;
  src: url('../fonts/inter-800.woff2');
  font-weight: 800;
  font-display: swap
}

:root {
  --primary: #757df2;
  --primary-light: #9099f5;
  --navy: #00002c;
  --muted: #a7acc8
}

body {
  font-family: Inter, Arial, sans-serif;
  background: var(--navy);
  color: #f8f9ff
}

header {
  background: #00002ce8;
  transition: background .3s, box-shadow .3s
}

header.scrolled {
  background: #00002cf5;
  box-shadow: 0 8px 30px #0003
}

nav>a:hover {
  color: #aab0ff
}

p {
  color: var(--muted)
}

.hero {
  background: var(--navy);
  min-height: 740px
}

.hero-inner {
  padding-top: 44px;
  padding-bottom: 50px
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 16px 24px;
  border: 1px solid #ffffff1c;
  background: #ffffff07;
  border-radius: 16px;
  /* margin-bottom: 24px; */
  backdrop-filter: blur(6px)
}

.hero-brand img {
  width: 165px
}

.hero-brand>span {
  /* border-left: 1px solid #ffffff26; 
  padding-left: 22px;*/
  text-align: left;
  font-size: 10px;
  letter-spacing: 1.7px;
  color: #b8bddb;
  line-height: 1.7
}

.hero .badge {
  display: table;
  margin: auto;
  background: #ffffffea;
  color: #303448;
  border-color: #fff;
  font-size: 10px;
  font-weight: 700;
  box-shadow: 0 5px 20px #0003;
  letter-spacing: 1px
}

.badge>span {
  display: inline-block;
  background: #757df2;
  box-shadow: none;
  margin-right: 6px;
  vertical-align: middle
}

#constellation {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none
}

.hero-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 90% 70% at 50% 0%, #757df219 0, transparent 60%, #00002c 100%), linear-gradient(transparent 65%, #00002c)
}

h1 {
  font-size: clamp(34px, 3.5vw, 38px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -1.5px;
  max-width: 1000px;
  margin: 27px auto 20px
}

h1 em {
  display: inline-block;
  background: linear-gradient(90deg, #757df2, #b2b8ff);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-size: 1.12em;
  position: relative;
  transition: opacity .3s, transform .3s
}

h1 em:after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #757df2, #9099f5);
  opacity: .5
}

h1 em.word-out {
  opacity: 0;
  transform: translateY(-8px)
}

.lead {
  color: #acb0ca;
  max-width: 860px;
  font-size: 17px
}

.hero-note, .channels small, .channel-label {
  color: #8b90b2
}

.btn {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  position: relative;
  overflow: hidden;
  border-radius: 9px;
  box-shadow: 0 0 24px #757df225
}

.btn:not(.ghost):after {
  content: '';
  position: absolute;
  inset: -70% auto -70% -70%;
  width: 40%;
  background: linear-gradient(90deg, transparent, #ffffff30, transparent);
  transform: skewX(-25deg);
  animation: button-shine 6s ease-in-out infinite;
  pointer-events: none
}

.btn:hover {
  background: #9099f5;
  color: white;
  border-color: #9099f5;
  box-shadow: 0 0 30px #757df24d
}

.ghost {
  background: #ffffff04;
  border-color: #757df265;
  box-shadow: none
}

.ghost:hover {
  background: #757df21c
}

.hero .channels {
  border-top: 0;
  margin-top: 38px;
  padding-top: 8px
}

.channels .marquee {
  display: block;
  overflow: hidden;
  margin: 20px 0 13px;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  width: 100%
}

.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee-scroll 40s linear infinite
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 60px;
  flex-shrink: 0;
  padding-right: 60px
}

.marquee-group b img {
  width: 30px !important;
  height: 30px !important;
  float: left;
  margin-right: 5px;
}

.channels b {
  white-space: nowrap;
  color: #d2d5eb;
  font-size: 19px
}

.marquee:hover .marquee-track {
  animation-play-state: paused
}

.light {
  background: white;
  color: #111827
}

.light p {
  color: #606777
}

.light .eyebrow, .light .text-link, .platform-points span, .icon {
  color: #666fe4
}

.eyebrow, .text-link, .green, .step-detail>span {
  color: #9099f5
}

h2 {
  font-weight: 800;
  letter-spacing: -1px
}

.heading h2 {
  max-width: 850px;
  margin-left: auto;
  margin-right: auto
}

.platform {
  overflow: hidden
}

.orbit-stage {
  position: relative;
  padding: 65px 0 72px;
  margin-top: 20px
}

.orbit-stage .browser-frame {
  width: 81%;
  position: relative;
  z-index: 2;
  box-shadow: 0 40px 80px #757df240, 0 10px 30px #0f14331a;
  border: 1px solid #dddff0
}

.orbit-halo {
  position: absolute;
  inset: -10% -15%;
  background: radial-gradient(ellipse at center, #757df237 0, #9099f51a 40%, transparent 70%);
  pointer-events: none
}

.orbit-rings {
  position: absolute;
  inset: -10%;
  background-image: radial-gradient(#757df225 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse, #000 25%, transparent 68%)
}

.browser-top {
  background: linear-gradient(#fafbfc, #f3f4f6);
  color: #81869c
}

.orbit-chip {
  position: absolute;
  z-index: 3;
  width: 225px
}

.chip-float {
  display: flex;
  gap: 10px;
  align-items: center;
  background: #ffffffed;
  border: 1px solid #0f143315;
  border-radius: 14px;
  padding: 13px;
  box-shadow: 0 16px 40px #0f143326, 0 4px 10px #0f143310;
  animation: orbit-float 6s ease-in-out infinite;
  backdrop-filter: blur(10px)
}

.chip-float>span {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #757df2, #9099f5);
  color: white;
  border-radius: 50%;
  width: 33px;
  height: 33px;
  flex-shrink: 0;
  font-size: 17px
}

.chip-float b {
  display: block;
  font-size: 12px;
  line-height: 1.2;
  color: #0b0f2b
}

.chip-float small {
  display: block;
  font-size: 10px;
  line-height: 1.45;
  color: #686d7d;
  margin-top: 4px
}

.chip-a {
  top: 14px;
  left: 2%;
  transform: rotate(-5deg)
}

.chip-b {
  top: 8px;
  right: 6%;
  transform: rotate(4deg)
}

.chip-c {
  top: 43%;
  left: -1%;
  transform: rotate(-5deg)
}

.chip-d {
  top: 43%;
  right: -1%;
  transform: rotate(5deg)
}

.chip-e {
  bottom: 14px;
  left: 10%;
  transform: rotate(3deg)
}

.chip-f {
  bottom: 8px;
  right: 5%;
  transform: rotate(-3deg)
}

.chip-b .chip-float {
  animation-delay: -1s
}

.chip-c .chip-float {
  animation-delay: -2s
}

.chip-d .chip-float {
  animation-delay: -.5s
}

.chip-e .chip-float {
  animation-delay: -1.5s
}

.chip-f .chip-float {
  animation-delay: -2.5s
}

.platform-points article {
  border-color: #e5e7eb
}

.platform-points h3 {
  color: #111827
}

.automation {
  background: radial-gradient(ellipse at 90% 30%, #151455 0, transparent 65%), #000335
}

.checks {
  color: #c0c4dc
}

.checks li:before {
  color: #9099f5
}

.flow-demo {
  position: relative;
  background: radial-gradient(ellipse at 80% 0, #757df224, transparent 65%), #050d3c;
  border-color: #ffffff1a;
  box-shadow: 0 20px 70px #0004
}

.flow-demo>*:not(.circuit-lines) {
  position: relative;
  z-index: 1
}

.demo-top>span {
  color: #999fc6
}

.flow-node {
  background: #0c1745;
  border-color: #757df255
}

.start {
  background: #20265b;
  border-color: #757df280;
  animation: node-pulse 2.4s ease-in-out infinite
}

.flow-node small, .flow-branches>div>span {
  color: #adb1d0
}

.connector, .flow-branches:before {
  visibility: hidden
}

.circuit-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: visible;
  pointer-events: none
}

.circuit-lines path {
  fill: none;
  stroke-width: 1.4;
  stroke-linecap: round
}

.circuit-base {
  stroke: #757df24d
}

.circuit-moving {
  stroke: #abb0ff;
  stroke-dasharray: 3 9;
  animation: circuit-dash 4s linear infinite
}

.chat-sample {
  background: #f1f2fc;
  color: #232b51;
  box-shadow: 0 12px 35px #0002;
  animation: orbit-float 7s ease-in-out infinite
}

.chat-sample p {
  color: #59617d
}

.chat-sample small {
  color: #777ea2
}

.avatar {
  background: #e0e3fa
}

.feature-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #747a8f;
  margin-bottom: 20px
}

.feature-controls button {
  font-size: 11px;
  background: white;
  border: 1px solid #dfe1ef;
  border-radius: 7px;
  color: #5c64c8;
  padding: 7px 12px
}

.feature-grid.motion-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  background: none;
  border: 0;
  border-radius: 0;
  height: 590px;
  overflow: hidden;
  mask-image: linear-gradient(transparent, #000 8%, #000 92%, transparent)
}

.feature-column {
  min-width: 0;
  display: flex;
  flex-direction: column;
  animation: feature-up 52s linear infinite;
  align-self: start
}

.feature-column:nth-child(2) {
  animation-name: feature-down;
  animation-duration: 64s
}

.feature-column:nth-child(3) {
  animation-duration: 40s
}

.feature-pack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 20px
}

.feature-grid.motion-grid article {
  border: 1px solid #e7e8f2;
  border-radius: 16px;
  min-height: 255px;
  padding: 32px;
  background: linear-gradient(145deg, #fff, #f8f9fe);
  box-shadow: 0 4px 18px #1c236008
}

.feature-grid article .icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #757df2, #9d8fee);
  color: white;
  border-radius: 13px;
  box-shadow: 0 6px 16px #757df22e
}

.feature-column:nth-child(2) .icon {
  background: linear-gradient(135deg, #4fa5f3, #757df2)
}

.feature-column:nth-child(3) .icon {
  background: linear-gradient(135deg, #a075ee, #ec9de7)
}

.feature-grid:hover .feature-column, .feature-grid:focus-within .feature-column, .feature-grid.cards-paused .feature-column {
  animation-play-state: paused
}

.implementation {
  background: radial-gradient(ellipse at 15% 10%, #171656, transparent 65%), #00002c
}

.step.active {
  background: #757df224;
  border-color: #757df280
}

.step.active span {
  color: #a8afff
}

.step span {
  color: #737aab
}

.step small {
  color: #969dc4
}

.step:hover {
  border-color: #757df2
}

.presentation {
  background: #ffffff04;
  border: 1px solid #ffffff14;
  border-radius: 14px;
  padding: 25px
}

.coming {
  color: #b1b6d6
}

.search {
  border-color: #dddfee
}

.search input {
  color: #22283d
}

details {
  border-color: #e3e5ef
}

summary:after {
  color: #757df2
}

.contact {
  background: radial-gradient(ellipse at bottom, #25215f, transparent 75%), #00002c
}

.contact-note {
  color: #858baf
}

.footer-bottom {
  color: #8287ac
}

.browser-top button {
  color: #616891
}

dialog {
  background: #fafaff;
  color: #18203b
}

dialog .eyebrow {
  color: #666fe4
}

dialog p {
  color: #69718b
}

.close {
  color: #676d8e
}

form input, form select, form textarea, #summary {
  border-color: #daddeb;
  color: #20243d
}

.motion-toggle {
  position: fixed;
  bottom: 15px;
  right: 18px;
  z-index: 15;
  border: 1px solid #757df255;
  border-radius: 30px;
  background: #0b1030ed;
  backdrop-filter: blur(10px);
  color: #c1c6f3;
  padding: 8px 13px;
  font-size: 10px;
  box-shadow: 0 5px 20px #0002
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0
}

.reveal-ready {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .65s ease, transform .65s ease
}

.reveal-ready.in-view {
  opacity: 1;
  transform: none
}

.motion-paused *, .motion-paused *:before, .motion-paused *:after {
  animation-play-state: paused !important
}

.motion-paused .reveal-ready {
  opacity: 1;
  transform: none
}

.motion-paused #rotating-word {
  opacity: 1;
  transform: none
}

.motion-offscreen *, .motion-offscreen *:before, .motion-offscreen *:after {
  animation-play-state: paused !important
}

@keyframes marquee-scroll {
  to {
    transform: translateX(-50%)
  }
}

@keyframes orbit-float {
  0%, 100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-10px)
  }
}

@keyframes circuit-dash {
  to {
    stroke-dashoffset: -80
  }
}

@keyframes node-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 #757df200
  }

  50% {
    box-shadow: 0 0 20px 2px #757df230
  }
}

@keyframes feature-up {
  from {
    transform: translateY(0)
  }

  to {
    transform: translateY(-50%)
  }
}

@keyframes feature-down {
  from {
    transform: translateY(-50%)
  }

  to {
    transform: translateY(0)
  }
}

@keyframes button-shine {
  0%, 65% {
    left: -70%
  }

  95%, 100% {
    left: 150%
  }
}

@media(max-width:1000px) {
  .orbit-chip {
    width: 185px
  }

  .chip-float {
    padding: 10px;
    gap: 8px
  }

  .chip-float b {
    font-size: 10px
  }

  .chip-float small {
    font-size: 9px
  }

  .chip-c {
    left: 0
  }

  .chip-d {
    right: 0
  }

  .feature-grid.motion-grid {
    gap: 14px
  }

  .feature-grid.motion-grid article {
    padding: 23px
  }

  .hero {
    min-height: 700px
  }
}

@media(max-width:720px) {
  header nav {
    background: #060633
  }

  .hero-inner {
    padding-top: 30px
  }

  .hero-brand {
    padding: 13px 18px;
    gap: 16px;
    margin-bottom: 22px
  }

  .hero-brand img {
    width: 130px
  }

  .hero-brand>span {
    font-size: 8px;
    padding-left: 16px
  }

  .hero .badge {
    font-size: 8px;
    letter-spacing: .65px
  }

  h1 {
    font-size: 31px;
    line-height: 1.3;
    letter-spacing: -.8px
  }

  h1 br {
    display: initial
  }

  h1 em {
    font-size: 1.04em;
    min-height: 1.4em
  }

  .lead {
    font-size: 15px
  }

  .hero .channels {
    margin-top: 26px
  }

  .channels b {
    font-size: 16px
  }

  .marquee-group {
    gap: 35px;
    padding-right: 35px
  }

  .channels .marquee {
    margin: 17px 0
  }

  .hero {
    min-height: 0
  }

  .orbit-stage {
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 32px
  }

  .orbit-stage .browser-frame {
    grid-column: 1/-1;
    width: 100%;
    margin-bottom: 12px
  }

  .orbit-chip {
    position: static;
    transform: none;
    width: auto
  }

  .chip-float {
    height: 100%;
    min-height: 76px;
    padding: 12px 9px;
    animation-duration: 7s
  }

  .chip-float>span {
    height: 28px;
    width: 28px;
    font-size: 14px
  }

  .chip-float b {
    font-size: 10px
  }

  .chip-float small {
    font-size: 9px
  }

  .orbit-halo {
    inset: -10%;
    z-index: 0
  }

  .orbit-rings {
    inset: 0
  }

  .caption {
    position: relative;
    margin-top: 24px
  }

  .feature-grid.motion-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    height: 510px
  }

  .feature-grid.motion-grid article {
    min-height: 245px;
    padding: 22px 17px
  }

  .feature-pack {
    gap: 12px;
    padding-bottom: 12px
  }

  .feature-grid article .icon {
    width: 40px;
    height: 40px;
    font-size: 23px
  }

  .feature-controls {
    font-size: 10px;
    gap: 10px
  }

  .feature-controls button {
    font-size: 10px;
    white-space: nowrap
  }

  .presentation {
    padding: 20px
  }

  .motion-toggle {
    right: 12px;
    bottom: 12px
  }

  .motion-toggle span {
    font-size: 9px
  }

  .contact {
    padding-bottom: 75px !important
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  *, *:before, *:after {
    animation: none !important;
    transition: none !important
  }

  .reveal-ready {
    opacity: 1;
    transform: none
  }

  .feature-grid.motion-grid {
    height: auto;
    mask-image: none;
    overflow: visible
  }

  .feature-column {
    transform: none
  }

  .feature-pack[aria-hidden], .marquee-group[aria-hidden] {
    display: none
  }

  .channels .marquee {
    mask-image: none
  }

  .marquee-track, .marquee-group {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    padding-right: 0;
    gap: 18px
  }

  .motion-toggle {
    display: none
  }
}