/* ===== NOVA AI — main styles (RTL, dark neon) ===== */
@font-face {
  font-family: "Vazirmatn";
  src: url("../assets/fonts/Vazirmatn-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap
}

:root {
  --bg: #050611;
  --bg2: #0B0D20;
  --card: #101329;
  --card-hi: #19143D;
  --p: #791BFF;
  --np: #B026FF;
  --b: #168BFF;
  --c: #00D9FF;
  --t: #fff;
  --t2: #A7AAC4;
  --line: #24264A;
  --grad: linear-gradient(90deg, #B026FF 0%, #791BFF 40%, #168BFF 100%);
  --r: 18px;
  --hdr: 72px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hdr) + 12px);
  -webkit-text-size-adjust: 100%
}

body {
  font-family: "Vazirmatn", system-ui, sans-serif;
  background: var(--bg);
  color: var(--t);
  line-height: 1.8;
  overflow-x: hidden;
  min-height: 100vh
}

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

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

button,
input,
select {
  font: inherit;
  color: inherit
}

button {
  cursor: pointer;
  background: none;
  border: 0
}

ul {
  list-style: none
}

:focus-visible {
  outline: 2px solid var(--c);
  outline-offset: 3px;
  border-radius: 8px
}

[hidden] {
  display: none !important
}

.container {
  width: min(1280px, 100% - 48px);
  margin-inline: auto
}

.ic {
  width: 20px;
  height: 20px;
  flex: none;
  display: inline-block
}

.ic-lg {
  width: 26px;
  height: 26px
}

.ic-xl {
  width: 34px;
  height: 34px
}

.muted {
  color: var(--t2)
}

.grad-text {
  background: linear-gradient(90deg, #B026FF, #791BFF 50%, #168BFF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.neon-p {
  color: #a85bff;
  filter: drop-shadow(0 0 8px rgba(176, 38, 255, .75))
}

.neon-b {
  color: #3da0ff;
  filter: drop-shadow(0 0 8px rgba(22, 139, 255, .8))
}

.neon-c {
  color: var(--c);
  filter: drop-shadow(0 0 8px rgba(0, 217, 255, .7))
}

/* background lighting */
.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 0, #12084a 0, transparent 55%), var(--bg)
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: .35
}

.o1 {
  width: 520px;
  height: 520px;
  background: #791BFF;
  top: -120px;
  inset-inline-end: -100px
}

.o2 {
  width: 480px;
  height: 480px;
  background: #168BFF;
  top: 55%;
  inset-inline-start: -160px;
  opacity: .22
}

.o3 {
  width: 420px;
  height: 420px;
  background: #B026FF;
  bottom: -100px;
  inset-inline-end: 10%;
  opacity: .2
}

.progress {
  position: fixed;
  top: 0;
  inset-inline: 0;
  height: 3px;
  background: var(--grad);
  transform-origin: right;
  transform: scaleX(0);
  z-index: 200
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  transition: transform .25s, box-shadow .25s, background .25s, border-color .25s;
  position: relative
}

.btn-primary {
  background: var(--grad);
  box-shadow: 0 8px 28px -6px rgba(121, 27, 255, .75), inset 0 1px 0 rgba(255, 255, 255, .25)
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px -4px rgba(176, 38, 255, .9), 0 0 0 1px rgba(255, 255, 255, .12) inset
}

.btn-ghost,
.btn-outline {
  border: 1px solid #3a3d72;
  background: rgba(16, 19, 41, .6);
  backdrop-filter: blur(8px)
}

.btn-ghost:hover,
.btn-outline:hover {
  border-color: var(--np);
  box-shadow: 0 0 22px -4px rgba(176, 38, 255, .6);
  transform: translateY(-2px)
}

.btn-sm {
  min-height: 40px;
  padding: 0 18px;
  font-size: 14px
}

.btn-xs {
  min-height: 34px;
  padding: 0 16px;
  font-size: 13px
}

.btn-lg {
  min-height: 54px;
  padding: 0 30px;
  font-size: 17px
}

.btn-block {
  width: 100%
}

.btn:active {
  transform: scale(.97)
}

/* header */
.header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 100;
  height: var(--hdr);
  display: flex;
  align-items: center;
  transition: background .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent
}

.header.scrolled {
  background: rgba(5, 6, 17, .78);
  backdrop-filter: blur(16px);
  border-color: var(--line)
}

.header-in {
  display: flex;
  align-items: center;
  gap: 28px
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 22px
}

.brand-mark {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 0 10px rgba(176, 38, 255, .8))
}

.brand-mark.big {
  width: 56px;
  height: 56px;
  margin: 0 auto 6px
}

.brand-name b {
  font-weight: 800
}

.nav {
  display: flex;
  gap: 30px;
  margin-inline: auto
}

.nav a {
  position: relative;
  font-size: 14.5px;
  color: #d8daf0;
  padding: 6px 2px;
  transition: color .25s
}

.nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -4px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transition: transform .3s;
  box-shadow: 0 0 10px var(--np)
}

.nav a:hover,
.nav a.active {
  color: #fff
}

.nav a:hover::after,
.nav a.active::after {
  transform: scaleX(1)
}

.nav-actions-m {
  display: none
}

.header-actions {
  display: flex;
  gap: 12px
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(16, 19, 41, .7);
  position: relative;
  margin-inline-start: auto
}

.burger span {
  position: absolute;
  inset-inline: 12px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform .3s, opacity .2s, top .3s
}

.burger span:nth-child(1) {
  top: 15px
}

.burger span:nth-child(2) {
  top: 21px
}

.burger span:nth-child(3) {
  top: 27px
}

.burger.open span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg)
}

.burger.open span:nth-child(2) {
  opacity: 0
}

.burger.open span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg)
}

/* chips / headings */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500
}

.chip-outline {
  border: 1px solid var(--line);
  background: rgba(16, 19, 41, .7);
  color: #dcdcf5
}

.chip-fill {
  background: linear-gradient(90deg, #791BFF, #4a2cd8);
  box-shadow: 0 0 20px -4px rgba(121, 27, 255, .8)
}

.spark {
  width: 8px;
  height: 8px;
  background: #ffb020;
  border-radius: 50%;
  box-shadow: 0 0 8px #ffb020
}

.h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 800;
  line-height: 1.35;
  margin: 14px 0 18px
}

.h3 {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700
}

.lead {
  color: var(--t2);
  font-size: 15px;
  max-width: 44ch
}

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

/* hero */
.hero {
  padding-top: calc(var(--hdr) + 20px);
  position: relative;
  overflow-x: clip
}

html,
body {
  overflow-x: clip
}

.hero-in {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 20px;
  min-height: 540px
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  z-index: 3
}

.hero-title {
  font-size: clamp(64px, 8.4vw, 112px);
  font-weight: 900;
  line-height: 1.05;
  margin: 18px 0 8px;
  letter-spacing: -1px
}

.hero-title .grad-text {
  display: inline-block;
  direction: ltr
}

.hero-sub {
  font-size: clamp(26px, 3.3vw, 42px);
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 14px
}

.hero-desc {
  color: #c3c6e0;
  font-size: 16px;
  max-width: 44ch;
  margin-bottom: 28px
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap
}

.play {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid #fff
}

.play .ic {
  width: 12px;
  height: 12px
}

.hero-visual {
  position: relative;
  height: 100%;
  min-height: 520px
}

.swoosh {
  position: absolute;
  inset: -6% -30% -6% -6%;
  background: radial-gradient(60% 60% at 45% 45%, rgba(121, 27, 255, .5), transparent 70%), conic-gradient(from 200deg at 30% 60%, transparent, rgba(22, 139, 255, .28), transparent 40%);
  filter: blur(30px);
  opacity: .9
}

.robot-wrap {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 6%;
  width: min(430px, 62%);
  display: flex;
  align-items: flex-end
}

.robot-halo {
  position: absolute;
  inset: 8% -10%;
  background: radial-gradient(closest-side, rgba(121, 27, 255, .55), transparent);
  filter: blur(30px)
}

.robot {
  position: relative;
  width: 100%;
  filter: drop-shadow(0 0 40px rgba(121, 27, 255, .6));
  -webkit-mask-image: radial-gradient(ellipse 50% 56% at 52% 46%, #000 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 56% at 52% 46%, #000 62%, transparent 100%)
}

.fcard {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  text-align: start;
  background: linear-gradient(145deg, rgba(40, 34, 110, .55), rgba(16, 19, 41, .55));
  border: 1px solid rgba(120, 110, 255, .45);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 40px -10px rgba(121, 27, 255, .7), inset 0 0 18px rgba(121, 27, 255, .18);
  color: #fff;
  transition: border-color .3s, box-shadow .3s;
  will-change: transform
}

.fcard:hover {
  border-color: var(--c);
  box-shadow: 0 10px 40px -6px rgba(0, 217, 255, .55)
}

.fcard small {
  display: block;
  font-weight: 400;
  color: var(--t2);
  font-size: 11.5px
}

.fcard .ic {
  color: var(--c);
  filter: drop-shadow(0 0 8px var(--c))
}

.fc-1 {
  top: 6%;
  inset-inline-start: -4%;
  transform: rotate(-8deg)
}

.fc-2 {
  top: 44%;
  inset-inline-start: -10%;
  transform: rotate(-8deg)
}

.fc-3 {
  top: 20%;
  inset-inline-end: 2%;
  transform: rotate(5deg)
}

.fc-4 {
  top: 50%;
  inset-inline-end: -2%;
  transform: rotate(3deg)
}

/* features */
.features {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: -12px;
  position: relative;
  z-index: 4
}

.feat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
  padding: 20px 12px;
  border-radius: var(--r);
  background: linear-gradient(180deg, rgba(25, 20, 61, .7), rgba(16, 19, 41, .75));
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  transition: transform .3s, border-color .3s, box-shadow .3s
}

.feat .ic {
  margin-bottom: 8px
}

.feat h3 {
  font-size: 14.5px;
  font-weight: 700
}

.feat p {
  font-size: 12.5px;
  color: var(--t2)
}

.feat:hover {
  transform: translateY(-6px);
  border-color: var(--p);
  box-shadow: 0 18px 40px -16px rgba(121, 27, 255, .85)
}

/* dashboard */
.dash-in {
  display: grid;
  grid-template-columns: 230px minmax(0, .85fr) minmax(0, 1.25fr);
  gap: 28px;
  align-items: center
}

.dash-copy {
  position: relative
}

.checks {
  display: grid;
  gap: 8px;
  margin: 20px 0 26px
}

.checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #dcdff5
}

.checks i {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #B026FF, #5b2cff)
}

.checks .ic {
  width: 12px;
  height: 12px
}

.cube {
  width: 100%;
  max-width: 260px;
  justify-self: center;
  opacity: .95;
  pointer-events: none;
  mix-blend-mode: screen;
  animation: cubeFloat 6s ease-in-out infinite
}

@keyframes cubeFloat {
  50% {
    transform: translateY(-14px) rotate(1.5deg)
  }
}

.dash {
  display: grid;
  grid-template-columns: 200px 1fr;
  border-radius: 22px;
  border: 1px solid #3a3a86;
  background: linear-gradient(160deg, #0f1030, #080a1c);
  box-shadow: 0 40px 90px -30px rgba(121, 27, 255, .7), 0 0 0 1px rgba(255, 255, 255, .04) inset;
  overflow: hidden;
  min-height: 430px;
  transform: perspective(1600px) rotateY(-8deg) rotateX(2deg);
  transform-origin: center right;
  transition: transform .5s
}

.dash:hover {
  transform: perspective(1600px) rotateY(0) rotateX(0)
}

.dash-side {
  padding: 18px 14px;
  border-inline-end: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: rgba(10, 11, 32, .6)
}

.dash-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  padding-inline: 6px
}

.dash-brand .brand-mark {
  width: 28px;
  height: 28px
}

.dash-tabs {
  display: grid;
  gap: 4px
}

.dtab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 13px;
  color: #c3c6e0;
  text-align: start;
  transition: background .25s, color .25s
}

.dtab:hover {
  background: rgba(121, 27, 255, .15)
}

.dtab.active {
  background: linear-gradient(90deg, #791BFF, #5a2de0);
  color: #fff;
  box-shadow: 0 6px 18px -6px #791BFF
}

.dash-upgrade {
  margin-top: auto;
  border-radius: 14px;
  padding: 12px;
  background: linear-gradient(145deg, #26146a, #14123a);
  border: 1px solid #3a2f8f;
  display: grid;
  gap: 2px;
  justify-items: start;
  font-size: 13px
}

.dash-upgrade small {
  color: var(--t2);
  margin-bottom: 6px
}

.dash-main {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0
}

.dash-top {
  display: flex;
  justify-content: space-between;
  align-items: center
}

.dash-top h4 {
  font-size: 16px
}

.dash-top small {
  color: var(--t2);
  font-size: 12px
}

.dash-top-r {
  display: flex;
  align-items: center;
  gap: 10px
}

.dash-top-r img {
  border-radius: 50%;
  border: 2px solid #f0a050;
  width: 36px;
  height: 36px
}

.icon-btn {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #d0d3ee;
  transition: background .2s
}

.icon-btn:hover {
  background: rgba(255, 255, 255, .08)
}

.icon-btn .dot {
  position: absolute;
  top: 7px;
  inset-inline-end: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff4d7d
}

.tabpane {
  display: none;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  min-width: 0
}

.tabpane.active {
  display: flex
}

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

.stat {
  position: relative;
  background: rgba(25, 20, 61, .7);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 54px 12px 8px;
  display: grid;
  line-height: 1.5;
  min-width: 0;
  align-content: center;
}

.stat small {
  font-size: 11.5px;
  color: var(--t2);
  min-width: 0;
}

.stat b {
  font-size: 16px;
  white-space: normal;
  overflow-wrap: anywhere;
}

.stat-ic {
  position: absolute;
  right: 10px;
  left: auto;
  top: 50%;
  translate: 0 -50%;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center
}

.ic-p {
  background: rgba(121, 27, 255, .25);
  color: #c18bff
}

.ic-o {
  background: rgba(255, 160, 40, .2);
  color: #ffb347
}

.ic-c {
  background: rgba(0, 217, 255, .15);
  color: var(--c)
}

.chart-card {
  position: relative;
  background: rgba(12, 13, 36, .8);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  flex: 1
}

.chart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px
}

.chart-head h5 {
  font-size: 14px
}

select {
  background: #14163a;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 4px 10px;
  font-size: 12px
}

.chart {
  width: 100%;
  height: 170px;
  overflow: visible
}

.chart-x {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--t2);
  padding-inline: 2px;
  margin-top: 6px
}

.chart-tip {
  position: absolute;
  background: #1d1a52;
  border: 1px solid var(--np);
  border-radius: 10px;
  padding: 2px 10px;
  font-size: 12px;
  pointer-events: none;
  translate: -50% -140%;
  white-space: nowrap
}

#dots circle {
  fill: #3da0ff;
  stroke: #0b0d20;
  stroke-width: 2;
  cursor: pointer;
  transition: r .2s
}

.mini-chat {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 260px;
  background: rgba(12, 13, 36, .8);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden
}

.msgs {
  flex: 1;
  overflow: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 300px
}

.msg {
  max-width: 84%;
  padding: 8px 14px;
  border-radius: 16px;
  font-size: 13.5px;
  line-height: 1.8
}

.msg.bot {
  background: #1a1c47;
  border: 1px solid var(--line);
  border-end-start-radius: 4px;
  align-self: flex-start
}

.msg.me {
  background: var(--grad);
  align-self: flex-end;
  border-end-end-radius: 4px
}

.msg.typing i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 2px;
  border-radius: 50%;
  background: #9aa;
  animation: blink 1s infinite
}

.msg.typing i:nth-child(2) {
  animation-delay: .2s
}

.msg.typing i:nth-child(3) {
  animation-delay: .4s
}

@keyframes blink {
  50% {
    opacity: .2;
    transform: translateY(-3px)
  }
}

.chat-form {
  display: flex;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid var(--line)
}

.chat-form input {
  flex: 1;
  min-width: 0;
  background: #0b0d20;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 16px;
  height: 38px;
  font-size: 13.5px
}

.chat-form input:focus,
.form input:focus,
.img-gen input:focus {
  outline: none;
  border-color: var(--np);
  box-shadow: 0 0 0 3px rgba(176, 38, 255, .2)
}

.img-gen {
  display: flex;
  gap: 8px
}

.img-gen input {
  flex: 1;
  min-width: 0;
  background: #0b0d20;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 16px;
  height: 38px;
  font-size: 13.5px
}

.img-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px
}

.ph {
  aspect-ratio: 16/10;
  border-radius: 14px;
  background: linear-gradient(110deg, #14163a 30%, #222457 50%, #14163a 70%);
  background-size: 200% 100%;
  border: 1px solid var(--line)
}

.ph.gen {
  animation: shimmer 1s linear infinite
}

@keyframes shimmer {
  to {
    background-position: -200% 0
  }
}

.ph.done {
  animation: none;
  display: grid;
  place-items: center;
  font-size: 12px;
  color: #fff;
  text-align: center;
  padding: 8px
}

.tool-mini {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px
}

.tool-mini button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(25, 20, 61, .7);
  border: 1px solid var(--line);
  font-size: 14px;
  transition: border-color .2s, transform .2s
}

.tool-mini button:hover {
  border-color: var(--np);
  transform: translateY(-3px)
}

.tool-mini .ic {
  color: var(--c)
}

.tool-note {
  font-size: 12px
}

.docs {
  display: grid;
  gap: 8px
}

.docs li {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(25, 20, 61, .6);
  border: 1px solid var(--line);
  font-size: 13.5px
}

.docs .ic {
  color: #a85bff
}

.docs span {
  flex: 1
}

.docs small {
  display: block;
  color: var(--t2);
  font-size: 11.5px
}

.docs em {
  font-style: normal;
  font-size: 12px;
  color: var(--t2)
}

.storage small {
  color: var(--t2);
  font-size: 12px
}

.bar {
  height: 8px;
  border-radius: 8px;
  background: #14163a;
  overflow: hidden;
  margin-top: 6px
}

.bar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--grad);
  border-radius: 8px
}

.set-list {
  display: grid;
  gap: 8px
}

.set {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(25, 20, 61, .6);
  border: 1px solid var(--line);
  font-size: 14px;
  cursor: pointer
}

.set input {
  position: absolute;
  opacity: 0;
  pointer-events: none
}

.sw {
  position: relative;
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: #2a2c58;
  transition: background .25s
}

.sw::after {
  content: "";
  position: absolute;
  top: 3px;
  inset-inline-start: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: inset .25s
}

.set input:checked+.sw {
  background: var(--grad)
}

.set input:checked+.sw::after {
  inset-inline-start: 23px
}

.set input:focus-visible+.sw {
  outline: 2px solid var(--c);
  outline-offset: 2px
}

.acct {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px dashed #3a3d72;
  display: grid;
  font-size: 13px
}

.acct small {
  color: var(--t2)
}

/* tools */
.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 22px
}

.sec-head.center {
  justify-content: center;
  text-align: center
}

.tools {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px
}

.tool {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: var(--r);
  background: linear-gradient(145deg, rgba(25, 20, 61, .75), rgba(16, 19, 41, .85));
  border: 1px solid var(--line);
  position: relative;
  transition: transform .3s, border-color .3s, box-shadow .3s;
  min-width: 0
}

.tool:hover {
  transform: translateY(-6px);
  border-color: var(--np);
  box-shadow: 0 18px 40px -16px rgba(176, 38, 255, .85)
}

.tool h3 {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.6
}

.tool p {
  font-size: 12.5px;
  color: var(--t2)
}

.t-ic {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(121, 27, 255, .14);
  border: 1px solid rgba(121, 27, 255, .35);
  flex: none
}

.tool-btn {
  position: absolute;
  inset-inline-start: 12px;
  bottom: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(121, 27, 255, .2);
  border: 1px solid rgba(176, 38, 255, .5);
  opacity: .85;
  transition: background .25s, transform .25s
}

.tool-btn:hover {
  background: var(--p);
  transform: scale(1.12)
}

.tool-btn .ic {
  width: 14px;
  height: 14px
}

.tool {
  padding-bottom: 26px
}

/* pricing */
.pricing-in {
  display: grid;
  grid-template-columns: minmax(0, 2.6fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 20px;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(25, 20, 61, .7), rgba(16, 19, 41, .9));
  border: 1px solid var(--line);
  transition: transform .3s, border-color .3s, box-shadow .3s;
  cursor: pointer
}

.plan:hover,
.plan.selected {
  transform: translateY(-8px);
  border-color: var(--np);
  box-shadow: 0 24px 50px -18px rgba(176, 38, 255, .8)
}

.plan.selected::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  border: 2px solid var(--c);
  pointer-events: none;
  box-shadow: 0 0 24px rgba(0, 217, 255, .35)
}

.plan header {
  display: flex;
  gap: 12px;
  align-items: center
}

.plan h3 {
  font-size: 18px;
  font-weight: 800
}

.plan header p {
  font-size: 12px;
  color: var(--t2)
}

.plan-ic {
  margin-inline-start: auto;
  order: 2
}

.price {
  font-size: 13.5px;
  color: #dcdff5
}

.price b {
  font-size: 40px;
  font-weight: 900;
  color: #fff;
  margin-inline-end: 4px
}

.price span {
  color: var(--t2)
}

.plan ul {
  display: grid;
  gap: 8px;
  flex: 1;
  font-size: 13.5px;
  color: #dcdff5
}

.plan li {
  display: flex;
  gap: 8px;
  align-items: center
}

.plan li .ic {
  width: 16px;
  height: 16px;
  color: var(--c)
}

.plan-pro {
  background: linear-gradient(160deg, #3a1a9a 0%, #2a1470 45%, #14123a 100%);
  border-color: #8a4bff;
  box-shadow: 0 0 0 1px rgba(176, 38, 255, .5), 0 30px 70px -24px rgba(121, 27, 255, .9);
  transform: translateY(-14px)
}

.plan-pro:hover {
  transform: translateY(-22px)
}

.plan-pro .price b {
  background: linear-gradient(90deg, #fff, #cfa8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.badge {
  position: absolute;
  top: -1px;
  inset-inline-end: 20px;
  transform: translateY(-50%);
  padding: 2px 14px;
  border-radius: 999px;
  background: var(--grad);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 6px 20px -4px #791BFF
}

.pricing-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start
}

/* testimonials */
.testis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px
}

.testi {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: var(--r);
  background: linear-gradient(145deg, rgba(25, 20, 61, .7), rgba(16, 19, 41, .9));
  border: 1px solid var(--line);
  transition: transform .3s, border-color .3s, box-shadow .3s;
  position: relative;
  min-width: 0
}

.testi:hover {
  transform: translateY(-6px);
  border-color: var(--p);
  box-shadow: 0 18px 40px -18px rgba(121, 27, 255, .85)
}

.testi img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid #f0a050;
  flex: none
}

.testi p {
  font-size: 14px;
  line-height: 1.9
}

.testi h4 {
  font-size: 13px;
  color: var(--t2);
  font-weight: 500
}

.stars {
  display: flex;
  gap: 2px;
  color: #ffb020
}

.stars .ic {
  width: 16px;
  height: 16px
}

.mini-go {
  margin-inline-start: auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(121, 27, 255, .3);
  border: 1px solid var(--np);
  flex: none;
  transition: transform .2s
}

.mini-go:hover {
  transform: scale(1.15)
}

.mini-go .ic {
  width: 15px;
  height: 15px
}

/* footer */
.footer {
  margin-top: 48px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(11, 13, 32, .9));
  padding-top: 26px
}

.footer-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap
}

.f-brand {
  display: grid;
  gap: 2px
}

.f-brand p {
  font-size: 12px;
  color: var(--t2)
}

.f-nav {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: #cfd2ec
}

.f-nav a:hover {
  color: var(--c)
}

.social {
  display: flex;
  gap: 10px
}

.social a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  transition: transform .25s, border-color .25s, box-shadow .25s
}

.social a:hover {
  transform: translateY(-4px);
  border-color: var(--np);
  box-shadow: 0 8px 22px -8px var(--np)
}

.copy {
  text-align: center;
  font-size: 12px;
  color: var(--t2);
  padding: 18px 16px 24px
}

/* chat fab + panel */
.fab {
  position: fixed;
  inset-inline-start: 22px;
  bottom: 22px;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad);
  box-shadow: 0 10px 30px -4px rgba(121, 27, 255, .9);
  transition: transform .25s
}

.fab:hover {
  transform: scale(1.08)
}

.chat-panel {
  position: fixed;
  inset-inline-start: 22px;
  bottom: 92px;
  z-index: 95;
  width: min(360px, calc(100vw - 32px));
  height: min(520px, calc(100dvh - var(--hdr) - 120px));
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  background: #0b0d20;
  border: 1px solid #3a3a86;
  box-shadow: 0 30px 80px -20px rgba(121, 27, 255, .8);
  overflow: hidden
}

.chat-panel header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: linear-gradient(90deg, #26146a, #14123a);
  font-weight: 700;
  font-size: 14px
}

.live {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ee59d;
  margin-inline-end: 8px;
  box-shadow: 0 0 8px #2ee59d
}

.chat-panel .msgs {
  max-height: none
}

.quick {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 0 12px 10px
}

.quick button {
  padding: 3px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 12.5px;
  background: #14163a;
  transition: border-color .2s
}

.quick button:hover {
  border-color: var(--np)
}

/* modals */
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(3, 4, 12, .75);
  backdrop-filter: blur(8px)
}

.modal-box {
  position: relative;
  width: min(420px, 100%);
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: 30px 26px;
  border-radius: 24px;
  text-align: center;
  background: linear-gradient(160deg, #17124a, #0d0f28 60%);
  border: 1px solid #4a3fb0;
  box-shadow: 0 40px 100px -20px rgba(121, 27, 255, .8)
}

.modal-box.wide {
  width: min(720px, 100%)
}

.modal-box h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 4px
}

.modal-box .muted {
  font-size: 13px;
  margin-bottom: 18px
}

.modal-x {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px
}

.form {
  display: grid;
  gap: 12px;
  text-align: start
}

.form label {
  display: grid;
  gap: 4px;
  font-size: 13px;
  color: #cfd2ec
}

.form input {
  height: 46px;
  border-radius: 12px;
  background: #0b0d20;
  border: 1px solid var(--line);
  padding: 0 14px;
  font-size: 14px
}

.err {
  color: #ff7a9a;
  font-size: 12.5px;
  min-height: 18px
}

.switch {
  margin-top: 14px;
  font-size: 13px;
  color: var(--t2)
}

.switch a {
  color: var(--c)
}

.plan-sum {
  padding: 14px;
  border-radius: 14px;
  background: rgba(121, 27, 255, .15);
  border: 1px solid #4a3fb0;
  margin-bottom: 16px;
  font-size: 14px;
  display: grid;
  gap: 4px
}

.tool-out {
  text-align: start;
  padding: 14px;
  border-radius: 14px;
  background: #0b0d20;
  border: 1px solid var(--line);
  font-size: 14px;
  margin-bottom: 16px;
  line-height: 1.9;
  white-space: pre-line
}

.demo-stage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 18px 0
}

.demo-step {
  padding: 18px 12px;
  border-radius: 16px;
  background: rgba(25, 20, 61, .7);
  border: 1px solid var(--line);
  display: grid;
  gap: 6px;
  justify-items: center;
  opacity: .35;
  transition: opacity .4s, border-color .4s, box-shadow .4s
}

.demo-step.on {
  opacity: 1;
  border-color: var(--np);
  box-shadow: 0 0 28px -6px var(--np)
}

.demo-step .ic {
  color: var(--c)
}

.demo-step p {
  font-size: 12.5px;
  color: var(--t2)
}

.demo-bar {
  height: 6px;
  border-radius: 6px;
  background: #14163a;
  margin-bottom: 18px;
  overflow: hidden
}

.demo-bar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--grad)
}

/* toasts */
.toasts {
  position: fixed;
  top: 84px;
  inset-inline: 0;
  z-index: 400;
  display: grid;
  justify-items: center;
  gap: 8px;
  pointer-events: none;
  padding-inline: 16px
}

.toast {
  pointer-events: auto;
  padding: 10px 20px;
  border-radius: 14px;
  background: rgba(25, 20, 61, .95);
  border: 1px solid var(--np);
  box-shadow: 0 12px 40px -10px rgba(121, 27, 255, .9);
  font-size: 14px;
  backdrop-filter: blur(10px);
  animation: toastIn .35s both
}

.toast.out {
  animation: toastOut .3s both
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(-14px) scale(.96)
  }
}

@keyframes toastOut {
  to {
    opacity: 0;
    transform: translateY(-10px)
  }
}

@media (prefers-reduced-motion:reduce) {
  * {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important
  }
}