﻿:root {
  --bg-0: #05070f;
  --bg-1: #11091f;
  --surface: #0f1528;
  --surface-2: #121a31;
  --line: rgba(182, 128, 255, 0.2);
  --text: #f4f7ff;
  --muted: #b5a9cf;
  --brand-1: #8f4dff;
  --brand-2: #cf59ff;
  --ok: #d874ff;
  --radius-xl: 26px;
  --radius-lg: 18px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  cursor: none;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(156, 66, 255, 0.3), transparent 60%),
    radial-gradient(900px 500px at 20% 0%, rgba(216, 77, 255, 0.2), transparent 58%),
    linear-gradient(180deg, var(--bg-1), var(--bg-0) 55%);
  overflow-x: hidden;
}

@media (pointer: coarse) {
  body {
    cursor: auto;
  }
}

.noise-overlay,
.grid-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.noise-overlay {
  opacity: 0.1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.3) 0.6px, transparent 0.6px);
  background-size: 3px 3px;
  animation: noiseDrift 8s steps(9) infinite;
}

.grid-overlay {
  opacity: 0.34;
  background-image:
    linear-gradient(to right, rgba(180, 145, 228, 0.14) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(180, 145, 228, 0.14) 1px, transparent 1px);
  background-size: clamp(34px, 3vw, 52px) clamp(34px, 3vw, 52px);
  mask-image: radial-gradient(circle at center, black 40%, transparent 92%);
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
}

.cursor-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(130deg, var(--brand-2), var(--brand-1));
  box-shadow: 0 0 25px rgba(190, 90, 255, 0.9);
}

.cursor-ring {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(209, 128, 255, 0.85);
  background: rgba(146, 44, 255, 0.12);
  transition: width 0.2s ease, height 0.2s ease, border-color 0.2s ease;
}

.cursor-ring.active {
  width: 52px;
  height: 52px;
  border-color: rgba(227, 151, 255, 0.98);
}

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

.topbar {
  position: sticky;
  top: 14px;
  z-index: 40;
  width: min(1700px, calc(100% - 36px));
  margin: 10px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  border-radius: 999px;
  border: 1px solid rgba(195, 133, 255, 0.28);
  background: rgba(17, 9, 30, 0.78);
  backdrop-filter: blur(18px) saturate(1.15);
  transition: padding 0.35s ease, border-color 0.35s ease, background-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.topbar.scrolled {
  padding: 12px 18px;
  border-color: rgba(214, 151, 255, 0.45);
  background: rgba(20, 10, 34, 0.9);
  box-shadow: 0 14px 34px rgba(3, 6, 16, 0.5);
}

.brand {
  color: var(--text);
  font-family: "Sora", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.topnav {
  display: flex;
  gap: 30px;
}

.topnav a,
.ghost-btn {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.25s ease, transform 0.25s ease;
}

.topnav a:hover,
.ghost-btn:hover {
  color: var(--text);
}

.topnav a {
  position: relative;
}

.topnav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(214, 117, 255, 0.96), transparent);
  transform: scaleX(0.2);
  transform-origin: center;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.topnav a:hover::after {
  transform: scaleX(1);
  opacity: 1;
}

.ghost-btn {
  border: 1px solid rgba(198, 131, 255, 0.34);
  padding: 9px 15px;
  border-radius: 999px;
}

main,
.footer {
  width: min(1700px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  text-align: center;
  min-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 8vh, 100px) 12px clamp(24px, 6vh, 70px);
}

.pill {
  display: inline-block;
  margin: 0 auto 22px;
  border-radius: 999px;
  padding: 10px 16px;
  border: 1px solid rgba(196, 122, 255, 0.45);
  background: rgba(91, 30, 141, 0.44);
  color: #efd6ff;
  font-weight: 600;
}

.hero h1 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(2.4rem, 4.8vw, 5.7rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero-copy {
  margin: 22px auto 0;
  max-width: 860px;
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.42rem);
  line-height: 1.7;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.primary-btn,
.secondary-btn,
.card-btn {
  position: relative;
  isolation: isolate;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 700;
  padding: 14px 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.primary-btn::before,
.secondary-btn::before,
.card-btn::before,
.price-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    115deg,
    rgba(213, 122, 255, 0.3),
    rgba(165, 90, 255, 0.55),
    rgba(246, 138, 255, 0.3),
    rgba(213, 122, 255, 0.3)
  );
  background-size: 240% 240%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.6;
  z-index: -1;
  animation: borderPulse 8s linear infinite;
}

.secondary-btn::before,
.card-btn::before {
  opacity: 0.45;
}

.primary-btn {
  color: #fff;
  background: linear-gradient(120deg, var(--brand-1), var(--brand-2));
  box-shadow: 0 18px 38px rgba(167, 68, 255, 0.35);
}

.secondary-btn {
  color: #dbe4ff;
  border: 1px solid rgba(185, 132, 255, 0.35);
  background: rgba(23, 10, 38, 0.62);
}

.primary-btn:hover,
.secondary-btn:hover,
.card-btn:hover {
  transform: translateY(-2px);
}

.metrics {
  margin-top: clamp(36px, 7vh, 72px);
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 16px;
}

.metric {
  border: 1px solid rgba(179, 127, 255, 0.25);
  background: rgba(26, 12, 42, 0.7);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.metric h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.35rem, 1.7vw, 2.2rem);
}

.metric p {
  margin: 8px 0 0;
  color: var(--muted);
}

.pricing-section {
  padding: clamp(40px, 8vh, 96px) 0;
}

.section-head {
  text-align: center;
  margin-bottom: 32px;
}

.kicker {
  margin: 0;
  color: #b8a2d6;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.section-head h2 {
  margin: 12px 0 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.65rem, 3.1vw, 3.2rem);
}

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

.price-card {
  position: relative;
  background: linear-gradient(180deg, rgba(17, 24, 46, 0.92), rgba(10, 14, 27, 0.88));
  border: 1px solid rgba(187, 126, 255, 0.3);
  border-radius: var(--radius-xl);
  padding: 28px;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.25s ease;
}

.price-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 180px at var(--mx, 50%) -20%, rgba(215, 99, 255, 0.28), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.price-card:hover::before {
  opacity: 1;
}

.price-card::after {
  opacity: 0.5;
}

.price-card.featured {
  border-color: rgba(214, 122, 255, 0.55);
  box-shadow: 0 18px 46px rgba(175, 65, 255, 0.28);
}

.badge {
  margin: 0 0 12px;
  display: inline-block;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f7e0ff;
  background: rgba(166, 67, 255, 0.33);
  border: 1px solid rgba(225, 134, 255, 0.42);
}

.plan {
  margin: 2px 0 0;
  color: #b9c8ed;
  font-weight: 600;
}

.price-card h3 {
  margin: 10px 0 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.8rem, 3.1vw, 2.8rem);
}

.price-card h3 span {
  color: #fff;
}

.desc {
  color: var(--muted);
  margin: 12px 0 16px;
  line-height: 1.6;
}

.price-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: #d6e0fb;
}

.price-card ul li {
  position: relative;
  padding-left: 20px;
}

.price-card ul li::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  left: 0;
  top: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 14px rgba(216, 116, 255, 0.5);
}

.card-btn {
  margin-top: 20px;
  width: 100%;
  color: #fff;
  border: 1px solid rgba(185, 133, 255, 0.37);
  background: rgba(28, 12, 44, 0.82);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(200px, 1fr));
  gap: 16px;
  padding-bottom: clamp(26px, 5vh, 56px);
}

.feature-card {
  position: relative;
  background: rgba(24, 11, 39, 0.8);
  border: 1px solid rgba(186, 131, 255, 0.24);
  border-radius: var(--radius-lg);
  padding: 22px;
  transform-style: preserve-3d;
  transition: transform 0.25s ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    115deg,
    rgba(213, 122, 255, 0.2),
    rgba(165, 90, 255, 0.4),
    rgba(246, 138, 255, 0.2),
    rgba(213, 122, 255, 0.2)
  );
  background-size: 240% 240%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.35;
  animation: borderPulse 10s linear infinite;
  pointer-events: none;
}

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

.feature-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.faq {
  padding: clamp(24px, 4vh, 40px) 0 clamp(40px, 8vh, 80px);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 16px;
}

.faq-grid article {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(184, 131, 255, 0.25);
  background: rgba(21, 10, 34, 0.84);
  padding: 20px;
}

.faq-grid h4 {
  margin: 0;
  font-family: "Sora", sans-serif;
}

.faq-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.footer {
  margin-bottom: 26px;
  text-align: center;
  border: 1px solid rgba(183, 128, 255, 0.27);
  background: rgba(24, 10, 38, 0.82);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 5vh, 56px) 16px;
}

.footer h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.6rem, 2.8vw, 2.6rem);
}

.footer p {
  margin: 10px auto 20px;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  filter: blur(6px);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), transform 0.85s cubic-bezier(0.22, 1, 0.36, 1), filter 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.reveal:nth-child(2n) {
  transition-delay: 0.08s;
}

.reveal:nth-child(3n) {
  transition-delay: 0.14s;
}

@media (max-width: 1120px) {
  .topnav {
    display: none;
  }

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

  .hero {
    min-height: auto;
    padding-top: 70px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

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

@keyframes noiseDrift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  25% {
    transform: translate3d(-1.3%, 1.1%, 0);
  }
  50% {
    transform: translate3d(1.1%, -0.9%, 0);
  }
  75% {
    transform: translate3d(-0.7%, -1.2%, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}
