:root {
  --bg: #141218;
  --bg-soft: #1b1726;
  --surface: rgba(43, 32, 70, 0.56);
  --surface-strong: rgba(50, 37, 80, 0.78);
  --text: #f3effa;
  --muted: #c6bdd8;
  --primary: #6a00cc;
  --secondary: #4c5c92;
  --tertiary: #3792e5;
  --danger: #ba1a1a;
  --line: rgba(216, 185, 255, 0.26);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-1: 0 14px 38px rgba(20, 13, 39, 0.54);
  --shadow-2: 0 26px 70px rgba(20, 13, 39, 0.62);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --nav-h: 78px;
  --container: min(1160px, 92vw);
  --gradient: linear-gradient(140deg, #6a00cc 0%, #4c5c92 52%, #3792e5 100%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 540px at 12% -6%, #3b006f 0%, transparent 60%),
    radial-gradient(760px 520px at 92% -5%, #253768 0%, transparent 58%),
    linear-gradient(180deg, #141218 0%, #1a1730 52%, #141218 100%);
  min-height: 100%;
  overflow-x: clip;
}

body.no-scroll {
  overflow: hidden;
}

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

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

.container {
  width: var(--container);
  margin-inline: auto;
}

#particle-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  pointer-events: none;
}

.cursor-glow,
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 30;
  transform: translate3d(-100px, -100px, 0);
}

.cursor-glow {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(106, 0, 204, 0.28) 0%, rgba(106, 0, 204, 0) 66%);
  mix-blend-mode: screen;
  transition: opacity .25s var(--ease);
}

.cursor-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d8b9ff;
  box-shadow: 0 0 22px rgba(106, 0, 204, 0.72);
}

.preloader {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 20%, #5600a2 0%, #2a1f4d 54%, #141218 100%);
  display: grid;
  place-items: center;
  z-index: 200;
  transition: opacity .6s var(--ease), visibility .6s var(--ease);
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-core {
  text-align: center;
  animation: preFloat 1.6s var(--ease) infinite alternate;
}

.preloader-logo {
  width: clamp(66px, 9vw, 110px);
  margin-inline: auto;
}

.preloader-title {
  margin: .9rem 0 .2rem;
  font-size: clamp(1.6rem, 4.2vw, 2.7rem);
  letter-spacing: .04em;
  font-family: "Sora", sans-serif;
}

.preloader p {
  margin: 0;
  color: #c8bddb;
}

.preloader-bar {
  width: clamp(180px, 38vw, 360px);
  height: 5px;
  margin: 1.2rem auto 0;
  border-radius: 999px;
  background: rgba(216, 185, 255, 0.16);
  overflow: hidden;
}

.preloader-bar span {
  display: block;
  width: 38%;
  height: 100%;
  border-radius: inherit;
  background: var(--gradient);
  animation: loading 1.3s var(--ease) infinite;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

.navbar {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding: 0 clamp(10px, 2vw, 18px);
  border: 1px solid rgba(216, 185, 255, 0.22);
  border-radius: 18px;
  background: rgba(25, 19, 42, 0.62);
  backdrop-filter: blur(14px) saturate(135%);
  box-shadow: var(--shadow-1);
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  letter-spacing: .02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 28px);
}

.nav-links a {
  font-size: .97rem;
  color: #e7def8;
  opacity: .9;
  transition: opacity .24s var(--ease), color .24s var(--ease);
}

.nav-links a:hover {
  opacity: 1;
  color: #ffffff;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: #ded3f3;
  font-size: 1.35rem;
}

.section {
  padding: clamp(4.5rem, 9vh, 7rem) 0;
  position: relative;
}

.hero {
  padding-top: clamp(4rem, 9vh, 8rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(1.4rem, 3vw, 3rem);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-copy {
  max-width: 640px;
}

.hero-kicker {
  margin: 0 0 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: #d0c3e9;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .78rem;
}

.hero-kicker::before {
  content: "";
  width: 44px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #7ca8ea);
}

.headline {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(2rem, 5.4vw, 4.2rem);
  line-height: .99;
  letter-spacing: -.02em;
}

.headline-line {
  display: block;
  overflow: hidden;
}

.headline-line > span {
  display: block;
  transform: translateY(110%);
  opacity: 0;
}

body.site-ready .headline-line:nth-child(1) > span { animation: reveal .86s .18s var(--ease) forwards; }
body.site-ready .headline-line:nth-child(2) > span { animation: reveal .86s .32s var(--ease) forwards; }
body.site-ready .headline-line:nth-child(3) > span { animation: reveal .86s .46s var(--ease) forwards; }

.hero-subtitle {
  margin: 1.35rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.65;
  max-width: 62ch;
}

.hero-actions {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
}

.hero-tags {
  margin-top: 1.2rem;
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}

.hero-tags span {
  font-size: .82rem;
  padding: .44rem .74rem;
  border-radius: 999px;
  color: #d8ccf1;
  border: 1px solid rgba(216, 185, 255, 0.24);
  background: rgba(255, 255, 255, 0.04);
}

.btn {
  --x: 0px;
  --y: 0px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .78rem 1.26rem;
  border-radius: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform .24s var(--ease), box-shadow .24s var(--ease), border-color .24s var(--ease);
  transform: translate3d(var(--x), var(--y), 0);
  will-change: transform;
}

.btn-primary {
  background: var(--gradient);
  color: #f7f3ff;
  box-shadow: 0 14px 26px rgba(106, 0, 204, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 22px 32px rgba(106, 0, 204, 0.48);
}

.btn-secondary,
.btn-inline {
  border-color: rgba(216, 185, 255, 0.35);
  background: rgba(255, 255, 255, 0.04);
  color: #e6dcf7;
}

.btn-secondary:hover,
.btn-inline:hover {
  border-color: rgba(216, 185, 255, 0.65);
}

.hero-visual {
  position: relative;
}

.panel-image {
  border-radius: 22px;
  border: 1px solid rgba(216, 185, 255, 0.22);
  box-shadow: var(--shadow-2);
  background: rgba(255, 255, 255, 0.03);
}

.floating-chip {
  position: absolute;
  padding: .54rem .8rem;
  border-radius: 12px;
  background: rgba(34, 24, 56, 0.72);
  border: 1px solid rgba(216, 185, 255, 0.28);
  backdrop-filter: blur(14px);
  color: #ece4fa;
  font-size: .82rem;
  box-shadow: var(--shadow-1);
}

.chip-1 { top: 8%; right: -3%; animation: floatY 3.2s ease-in-out infinite; }
.chip-2 { left: -8%; top: 38%; animation: floatY 3.8s ease-in-out infinite reverse; }
.chip-3 { right: 8%; bottom: -8%; animation: floatY 3.1s ease-in-out infinite; }

.hero-layers {
  position: absolute;
  inset: -6rem 0 auto;
  height: 74vh;
  pointer-events: none;
  z-index: 1;
}

.depth-layer {
  position: absolute;
  border-radius: 999px;
  filter: blur(24px);
  opacity: .34;
}

.layer-a {
  width: 340px;
  height: 340px;
  top: 10%;
  left: -90px;
  background: radial-gradient(circle, #6a00cc 0%, transparent 66%);
}

.layer-b {
  width: 290px;
  height: 290px;
  right: 3%;
  top: 2%;
  background: radial-gradient(circle, #4c5c92 0%, transparent 66%);
}

.layer-c {
  width: 240px;
  height: 240px;
  right: 28%;
  top: 58%;
  background: radial-gradient(circle, #3792e5 0%, transparent 66%);
}

.section-head {
  max-width: 840px;
  margin-bottom: 2rem;
}

.section-label {
  margin: 0 0 .65rem;
  color: #c9bfe2;
  letter-spacing: .09em;
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 700;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3.5vw, 2.75rem);
  line-height: 1.13;
  font-family: "Sora", sans-serif;
  letter-spacing: -.02em;
}

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

.feature-card {
  position: relative;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid rgba(216, 185, 255, 0.24);
  backdrop-filter: blur(13px) saturate(140%);
  box-shadow: var(--shadow-1);
  transform-style: preserve-3d;
  transition: transform .18s linear;
}

.feature-card h3 {
  margin: .9rem 0 .55rem;
  font-size: 1.2rem;
  font-family: "Sora", sans-serif;
}

.feature-card p {
  margin: 0 0 .6rem;
  color: #cdc4de;
  line-height: 1.55;
}

.gradient-border {
  isolation: isolate;
}

.gradient-border::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from 0deg, #6a00cc, #4c5c92, #3792e5, #6a00cc);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: spin 8s linear infinite;
  pointer-events: none;
  opacity: .72;
}

.section-stats {
  padding-top: 2rem;
}

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

.stat-card {
  padding: 1.3rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(216, 185, 255, 0.22);
  background: var(--surface);
  backdrop-filter: blur(10px);
}

.stat-value {
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  font-family: "Sora", sans-serif;
  font-weight: 800;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-card p {
  margin: .5rem 0 0;
  color: var(--muted);
}

.showcase-section {
  --showcase-height: 260vh;
  min-height: var(--showcase-height);
}

.showcase-pin {
  position: sticky;
  top: calc(var(--nav-h) + 20px);
  height: calc(100vh - var(--nav-h) - 24px);
  display: grid;
  align-items: center;
  overflow: hidden;
}

.showcase-track {
  display: flex;
  gap: 1rem;
  will-change: transform;
  padding: .4rem;
}

.showcase-panel {
  width: min(80vw, 470px);
  flex: 0 0 auto;
  padding: .85rem;
  border-radius: 20px;
  background: var(--surface-strong);
  border: 1px solid rgba(216, 185, 255, 0.24);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-2);
}

.showcase-panel h3 {
  margin: .9rem 0 .35rem;
  font-family: "Sora", sans-serif;
}

.showcase-panel p {
  margin: 0;
  color: #d1c8e2;
}

.timeline {
  position: relative;
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 8px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, #3792e5, #4c5c92, #6a00cc);
}

.timeline-item {
  margin-left: 2rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(216, 185, 255, 0.2);
  background: rgba(38, 27, 61, 0.52);
}

.timeline-item h3 {
  margin: 0 0 .35rem;
  font-family: "Sora", sans-serif;
}

.timeline-item p {
  margin: 0;
  color: #d0c7e0;
}

.timeline-dot {
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #11be64;
  box-shadow: 0 0 0 5px rgba(17, 190, 100, 0.22);
  transform: translate(-27px, 6px);
}

.testimonial-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: .8rem;
  align-items: center;
}

.testimonial-viewport {
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform .55s var(--ease);
}

.testimonial-card {
  min-width: 100%;
  padding: 1.5rem;
  border-radius: 22px;
  border: 1px solid rgba(216, 185, 255, 0.24);
  background: rgba(35, 25, 58, 0.68);
  backdrop-filter: blur(12px);
}

.avatar {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  margin-bottom: .9rem;
}

.testimonial-card blockquote {
  margin: 0 0 1rem;
  color: #efe8fa;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.6;
}

.testimonial-card h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
}

.testimonial-card p {
  margin: .32rem 0 0;
  color: #bfb3d5;
}

.carousel-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(216, 185, 255, 0.34);
  background: rgba(255, 255, 255, 0.04);
  color: #e7ddf7;
  cursor: pointer;
}

.carousel-dots {
  margin-top: .9rem;
  display: flex;
  justify-content: center;
  gap: .45rem;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 0;
  background: #4c5c92;
  cursor: pointer;
  transition: width .2s var(--ease), background .2s var(--ease);
}

.dot.active {
  width: 26px;
  background: linear-gradient(90deg, #6a00cc, #3792e5);
}

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

.pricing-card {
  position: relative;
  padding: 1.25rem;
  border-radius: 20px;
  border: 1px solid rgba(216, 185, 255, 0.23);
  background: rgba(36, 26, 58, 0.64);
  backdrop-filter: blur(14px);
  overflow: hidden;
}

.pricing-card.featured {
  transform: translateY(-10px);
}

.pricing-card .badge {
  margin: 0 0 .45rem;
  display: inline-block;
  padding: .3rem .62rem;
  font-size: .74rem;
  border-radius: 999px;
  color: #f7f3ff;
  background: linear-gradient(120deg, #6a00cc, #3792e5);
}

.price {
  margin: .35rem 0 .9rem;
  font-size: 2rem;
  font-weight: 800;
  font-family: "Sora", sans-serif;
}

.price span {
  font-size: .95rem;
  color: #bcaed4;
}

.pricing-card ul {
  margin: 0 0 1.1rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .55rem;
  color: #d2c9e3;
}

.pricing-card li::before {
  content: "\2713";
  margin-right: .5rem;
  color: #11be64;
}

.faq-list {
  display: grid;
  gap: .72rem;
}

.faq-item {
  border-radius: 14px;
  border: 1px solid rgba(216, 185, 255, 0.22);
  background: rgba(34, 24, 56, 0.58);
  overflow: clip;
}

.faq-question {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: #f0e9fb;
  font-size: 1rem;
  padding: 1rem 1.1rem;
  cursor: pointer;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .36s var(--ease);
}

.faq-answer p {
  margin: 0;
  padding: 0 1.1rem 1rem;
  color: #cec4de;
  line-height: 1.65;
}

.faq-item.open .faq-answer {
  max-height: 220px;
}

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

.contact-copy p {
  color: #d2c8e3;
  line-height: 1.7;
}

.contact-points {
  margin-top: .8rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.contact-points span {
  font-size: .82rem;
  padding: .4rem .7rem;
  border-radius: 999px;
  border: 1px solid rgba(216, 185, 255, .25);
  background: rgba(255, 255, 255, .04);
}

.contact-form {
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(216, 185, 255, 0.22);
  background: rgba(35, 25, 58, 0.66);
  backdrop-filter: blur(14px);
}

.field {
  position: relative;
  margin-bottom: .9rem;
}

.field input,
.field textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(216, 185, 255, 0.25);
  background: rgba(255, 255, 255, 0.03);
  color: #f2ebfb;
  padding: 1rem .86rem .55rem;
  font: inherit;
  outline: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.field textarea {
  resize: vertical;
}

.field label {
  position: absolute;
  left: .9rem;
  top: .84rem;
  color: #c0b4d6;
  pointer-events: none;
  transition: transform .2s var(--ease), color .2s var(--ease), font-size .2s var(--ease);
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(106, 0, 204, 0.88);
  box-shadow: 0 0 0 3px rgba(106, 0, 204, 0.18);
}

.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
  transform: translateY(-.55rem);
  font-size: .74rem;
  color: #d8b9ff;
}

.site-footer {
  position: relative;
  margin-top: 2.4rem;
  padding-top: 2rem;
  background: linear-gradient(180deg, transparent, #141218 45%);
}

.wave-wrap {
  position: absolute;
  inset: -70px 0 auto;
  height: 110px;
  overflow: hidden;
}

.wave {
  position: absolute;
  width: 200%;
  height: 100%;
}

.wave path {
  fill: rgba(106, 0, 204, 0.18);
}

.wave-b path {
  fill: rgba(55, 146, 229, 0.14);
}

.wave-a { animation: waveMove 16s linear infinite; }
.wave-b { animation: waveMove 22s linear infinite reverse; }

.footer-content {
  position: relative;
  padding: 3.2rem 0 2.4rem;
  text-align: center;
  color: #c9bddf;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  font-family: "Sora", sans-serif;
  color: #f1ebfa;
}

.copyright {
  margin-top: .55rem;
  font-size: .85rem;
  opacity: .75;
}

.lazy-img {
  opacity: 0;
  transform: translateY(14px) scale(.99);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}

.lazy-img.loaded {
  opacity: 1;
  transform: none;
}

.reveal {
  opacity: 0;
  transform: translateY(26px) scale(.99);
  transition: transform .7s var(--ease), opacity .7s var(--ease);
}

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

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

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

  .floating-chip {
    display: none;
  }

  .showcase-section {
    min-height: auto;
    padding-bottom: 1.2rem;
  }

  .showcase-pin {
    position: relative;
    top: auto;
    height: auto;
    overflow: visible;
  }

  .showcase-track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: .2rem;
  }

  .showcase-panel {
    width: min(88vw, 460px);
    scroll-snap-align: start;
  }
}

@media (max-width: 760px) {
  .navbar {
    padding: 0 .75rem;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: min(280px, 90vw);
    padding: .8rem;
    border: 1px solid rgba(216, 185, 255, 0.24);
    border-radius: 14px;
    background: rgba(23, 18, 39, 0.94);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow-1);
    flex-direction: column;
    align-items: stretch;
    gap: .35rem;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity .2s var(--ease), transform .2s var(--ease);
  }

  .nav-links.open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

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

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

  .carousel-btn {
    display: none;
  }
}

@media (hover: none), (pointer: coarse) {
  .cursor-glow,
  .cursor-dot {
    display: none;
  }
}

@keyframes loading {
  0% { transform: translateX(-140%); }
  100% { transform: translateX(370%); }
}

@keyframes preFloat {
  from { transform: translateY(-4px); }
  to { transform: translateY(6px); }
}

@keyframes reveal {
  from {
    transform: translateY(110%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes waveMove {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
