:root {
  --fx-accent-rgb: 168, 85, 247;
  --fx-accent-2-rgb: 99, 102, 241;
  --fx-sheen-rgb: 255, 255, 255;
}

html,
body {
  background: #030303;
}

div.fixed.inset-0.z-\[-1\].pointer-events-none.bg-\[\#030303\] > div:nth-child(2) {
  opacity: 0.08 !important;
}

div.fixed.inset-0.z-\[-1\].pointer-events-none.bg-\[\#030303\] > div:nth-child(3) {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(168, 85, 247, 0.75) 50%,
    transparent 100%
  ) !important;
  box-shadow:
    0 0 18px rgba(168, 85, 247, 0.45),
    0 0 48px rgba(99, 102, 241, 0.18);
}

div.fixed.inset-0.z-\[-1\].pointer-events-none.bg-\[\#030303\] > div:nth-child(4) {
  background: rgb(99 102 241 / 0.1) !important;
  opacity: 0.8 !important;
  filter: blur(220px) !important;
  height: 900px !important;
}

.fx-reactive-card,
[class~="bento-card"],
[class~="group/card"],
[class~="group/pricing"] {
  --mx: 50%;
  --my: 50%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition:
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.45s ease,
    box-shadow 0.45s ease,
    background-color 0.45s ease,
    filter 0.45s ease;
}

.fx-reactive-card::before,
[class~="bento-card"]::before,
[class~="group/card"]::before,
[class~="group/pricing"]::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(
      420px circle at var(--mx) var(--my),
      rgba(var(--fx-accent-rgb), 0.16),
      transparent 42%
    ),
    linear-gradient(
      180deg,
      rgba(var(--fx-sheen-rgb), 0.03),
      transparent 28%
    );
  transition: opacity 0.35s ease;
  mix-blend-mode: screen;
}

.fx-reactive-card::after,
[class~="bento-card"]::after,
[class~="group/card"]::after,
[class~="group/pricing"]::after {
  content: "";
  position: absolute;
  inset: -22%;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(
    115deg,
    transparent 18%,
    rgba(var(--fx-sheen-rgb), 0.06) 46%,
    transparent 72%
  );
  transform: translateX(-120%);
  transition:
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.35s ease;
  mix-blend-mode: screen;
}

.fx-reactive-card:hover,
[class~="bento-card"]:hover,
[class~="group/card"]:hover,
[class~="group/pricing"]:hover {
  transform: translateY(-4px) scale(1.008);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.45),
    0 0 45px rgba(var(--fx-accent-rgb), 0.14);
}

.fx-reactive-card:hover::before,
.fx-reactive-card:hover::after,
[class~="bento-card"]:hover::before,
[class~="bento-card"]:hover::after,
[class~="group/card"]:hover::before,
[class~="group/card"]:hover::after,
[class~="group/pricing"]:hover::before,
[class~="group/pricing"]:hover::after {
  opacity: 1;
}

.fx-reactive-card:hover::after,
[class~="bento-card"]:hover::after,
[class~="group/card"]:hover::after,
[class~="group/pricing"]:hover::after {
  transform: translateX(120%);
}

.fx-hero-dashboard-wrap {
  perspective: 1800px;
}

.fx-hero-dashboard {
  animation: fx-dashboard-float 8s ease-in-out infinite;
  transform-style: preserve-3d;
}

.fx-hero-dashboard::before {
  content: "";
  position: absolute;
  inset: -10%;
  pointer-events: none;
  background:
    radial-gradient(
      440px circle at 82% 22%,
      rgba(var(--fx-accent-rgb), 0.18),
      transparent 40%
    ),
    radial-gradient(
      340px circle at 16% 80%,
      rgba(var(--fx-accent-rgb), 0.12),
      transparent 42%
    );
  opacity: 0.55;
  filter: blur(32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  z-index: -1;
}

.fx-hero-dashboard::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255, 255, 255, 0.05) 50%,
    transparent 72%
  );
  opacity: 0;
  transform: translateX(-120%);
  transition: opacity 0.35s ease, transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.fx-hero-dashboard:hover {
  transform: translateY(-6px) scale(1.01) rotateX(1deg) rotateY(-1.2deg);
  box-shadow:
    0 40px 120px rgba(0, 0, 0, 0.65),
    0 0 70px rgba(var(--fx-accent-rgb), 0.16);
}

.fx-hero-dashboard:hover::before {
  opacity: 0.82;
  transform: scale(1.04);
}

.fx-hero-dashboard:hover::after {
  opacity: 1;
  transform: translateX(120%);
}

.fx-hero-dashboard .graph-dot-animated-new {
  filter: drop-shadow(0 0 10px rgba(var(--fx-accent-rgb), 0.9));
}

.fx-pricing-cluster {
  position: relative;
  isolation: isolate;
  overflow: visible;
  gap: clamp(1.25rem, 1.5vw, 2rem);
  align-items: stretch;
  justify-items: center;
}

.fx-pricing-cluster::before {
  content: "";
  position: absolute;
  left: 10%;
  top: 30%;
  width: clamp(360px, 38vw, 560px);
  height: clamp(220px, 22vw, 320px);
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(var(--fx-accent-rgb), 0) 0%,
      rgba(144, 94, 246, 0.14) 16%,
      rgba(176, 120, 255, 0.9) 50%,
      rgba(210, 178, 255, 0.36) 72%,
      rgba(255, 255, 255, 0) 100%
    );
  clip-path: polygon(0 50%, 62% 0, 100% 50%, 62% 100%);
  filter: blur(42px);
  opacity: 0.9;
  transform: translate3d(0, 0, 0);
  z-index: -2;
}

.fx-pricing-cluster::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: -10px;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(var(--fx-accent-rgb), 0.55),
    transparent
  );
  box-shadow: 0 0 28px rgba(var(--fx-accent-rgb), 0.32);
  opacity: 0.85;
  z-index: -1;
}

.fx-pricing-section {
  position: relative;
  overflow: visible;
}

.fx-pricing-section::before {
  content: "";
  position: absolute;
  inset: 8% 6% auto;
  height: 520px;
  pointer-events: none;
  background: radial-gradient(
    45% 65% at 50% 18%,
    rgba(var(--fx-accent-rgb), 0.16),
    transparent 70%
  );
  filter: blur(72px);
  opacity: 0.72;
  z-index: -3;
}

.fx-pricing-card-shell {
  width: min(100%, 380px);
  max-width: 380px;
  justify-self: center;
}

.fx-pricing-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: 0;
  width: 100%;
  min-height: 100%;
  padding: clamp(1.8rem, 1.45rem + 1vw, 2.7rem);
  border-radius: 20px;
  overflow: visible;
  background:
    radial-gradient(
      120% 80% at 50% -8%,
      rgba(255, 255, 255, 0.035),
      transparent 48%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    rgba(10, 10, 10, 0.94);
}

.fx-pricing-header {
  margin-bottom: 1.75rem !important;
}

.fx-pricing-label {
  margin-bottom: 1.15rem !important;
}

.fx-pricing-price-row {
  align-items: flex-end;
  gap: 0.55rem 0.95rem !important;
}

.fx-pricing-price-row > span:last-child {
  display: inline-flex;
  max-width: 11rem;
}

.fx-pricing-note {
  max-width: 100%;
  flex-wrap: wrap;
}

.fx-pricing-note span {
  line-height: 1.35;
}

.fx-pricing-features {
  min-height: 0;
}

.fx-pricing-features > p {
  margin-bottom: 1.1rem !important;
}

.fx-pricing-features > div {
  display: grid;
  gap: 0.9rem;
}

.fx-pricing-features > div > div {
  gap: 0.7rem;
}

.fx-pricing-cta {
  margin-top: 1.75rem !important;
}

.fx-pricing-cta button {
  min-height: 54px;
}

.fx-pricing-footer {
  margin-top: 1rem !important;
  padding-top: 0.95rem !important;
}

.fx-pricing-footer p {
  line-height: 1.45;
}

.fx-pricing-card:hover {
  transform: translateY(-6px) scale(1.012);
  border-color: rgba(168, 85, 247, 0.36) !important;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.46),
    0 0 26px rgba(168, 85, 247, 0.12),
    0 0 62px rgba(168, 85, 247, 0.08);
}

.fx-featured-card {
  position: relative;
  isolation: isolate;
  z-index: 1;
  border-color: rgba(168, 85, 247, 0.52) !important;
  transform: translateY(-10px);
  box-shadow:
    0 0 0 1px rgba(168, 85, 247, 0.26),
    0 30px 80px rgba(0, 0, 0, 0.4),
    0 0 38px rgba(168, 85, 247, 0.14),
    0 0 82px rgba(168, 85, 247, 0.14);
}

.fx-featured-card::before {
  content: "";
  position: absolute;
  inset: -48%;
  pointer-events: none;
  filter: blur(8px);
  background: conic-gradient(
    from 90deg,
    transparent 0deg,
    transparent 136deg,
    rgba(255, 255, 255, 0.03) 148deg,
    rgba(139, 92, 246, 0.96) 176deg,
    rgba(201, 165, 255, 0.92) 194deg,
    transparent 222deg,
    transparent 360deg
  );
  animation: fx-rotate-beam 5.4s linear infinite;
  opacity: 1;
}

.fx-featured-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    radial-gradient(
      140% 85% at 50% -6%,
      rgba(168, 85, 247, 0.12),
      transparent 52%
    ),
    linear-gradient(180deg, rgba(168, 85, 247, 0.08), transparent 30%),
    #0a0a0a;
  pointer-events: none;
}

.fx-featured-card > * {
  position: relative;
  z-index: 1;
}

.fx-featured-card:hover {
  transform: translateY(-8px) scale(1.016);
  border-color: rgba(168, 85, 247, 0.68) !important;
  box-shadow:
    0 0 0 1px rgba(168, 85, 247, 0.3),
    0 40px 95px rgba(0, 0, 0, 0.48),
    0 0 48px rgba(168, 85, 247, 0.18),
    0 0 105px rgba(168, 85, 247, 0.16);
}

.fx-featured-card:hover::before {
  animation-duration: 4.2s;
}

@media (min-width: 768px) {
  .fx-pricing-card {
    min-height: clamp(760px, 48vw, 880px);
  }
}

@media (max-width: 767px) {
  .fx-pricing-cluster {
    gap: 1.35rem;
  }

  .fx-pricing-cluster::before {
    left: 2%;
    top: 35%;
    width: 92%;
    height: 180px;
  }

  .fx-pricing-card {
    padding: 1.4rem;
  }

  .fx-pricing-header {
    margin-bottom: 1.35rem !important;
  }

  .fx-pricing-cta {
    margin-top: 1.35rem !important;
  }
}

.fx-tooltip-anchor {
  position: relative;
}

.fx-tooltip-anchor::before {
  content: "";
  position: absolute;
  inset: -8px;
  pointer-events: none;
  border-radius: 14px;
  background: radial-gradient(
    circle at center,
    rgba(var(--fx-sheen-rgb), 0.12),
    transparent 68%
  );
  opacity: 0.45;
  filter: blur(12px);
  animation: fx-tooltip-pulse 2.6s ease-in-out infinite;
}

.fx-download-card:hover h3,
.fx-download-card:hover h4 {
  text-shadow: 0 0 18px rgba(var(--fx-accent-rgb), 0.18);
}

.fx-download-card:hover [class*="rounded-lg"] {
  border-color: rgba(var(--fx-accent-rgb), 0.32);
}

.fx-dropdown-shell {
  position: relative;
}

.fx-dropdown-shell > button {
  position: relative;
  overflow: hidden;
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease;
}

.fx-dropdown-shell > button::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(
    115deg,
    transparent 22%,
    rgba(255, 255, 255, 0.05) 50%,
    transparent 76%
  );
  transform: translateX(-110%);
  transition: opacity 0.3s ease, transform 0.7s ease;
}

.fx-dropdown-shell > button:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--fx-accent-rgb), 0.42) !important;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.35),
    0 0 24px rgba(var(--fx-accent-rgb), 0.12);
}

.fx-dropdown-shell > button:hover::before {
  opacity: 1;
  transform: translateX(110%);
}

.fx-dropdown-menu-panel {
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.12) !important;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.58),
    0 0 30px rgba(var(--fx-accent-rgb), 0.1) !important;
}

.fx-dropdown-menu-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(var(--fx-sheen-rgb), 0.02), transparent 24%),
    radial-gradient(
      300px circle at 100% 0%,
      rgba(var(--fx-accent-rgb), 0.08),
      transparent 40%
    );
}

.fx-dropdown-menu-panel button {
  position: relative;
}

.fx-dropdown-menu-panel button:hover {
  background: rgba(var(--fx-accent-rgb), 0.08) !important;
}

.fx-stat-card {
  position: relative;
}

.fx-stat-card:hover {
  border-color: rgba(var(--fx-accent-rgb), 0.48) !important;
  box-shadow:
    0 0 44px rgba(var(--fx-accent-rgb), 0.14),
    0 28px 70px rgba(0, 0, 0, 0.45) !important;
}

.fx-stat-card:hover [class*="text-4xl"],
.fx-stat-card:hover [class*="text-5xl"] {
  text-shadow: 0 0 20px rgba(var(--fx-accent-rgb), 0.2);
}

.fx-stat-card:hover [class*="bg-gradient-to-r"] {
  box-shadow: 0 0 18px rgba(var(--fx-accent-rgb), 0.35);
}

.fx-methodology {
  position: relative;
  overflow: hidden;
}

.fx-methodology::before {
  content: "";
  position: absolute;
  inset: -20%;
  pointer-events: none;
  background:
    radial-gradient(
      360px circle at 80% 20%,
      rgba(var(--fx-accent-rgb), 0.12),
      transparent 38%
    );
  opacity: 0.6;
}

.fx-methodology:hover {
  border-color: rgba(var(--fx-accent-rgb), 0.42) !important;
  box-shadow:
    0 0 50px rgba(var(--fx-accent-rgb), 0.14),
    0 28px 80px rgba(0, 0, 0, 0.44);
}

.fx-team-card,
.fx-founder-card {
  position: relative;
}

.fx-founder-card:hover {
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(var(--fx-accent-rgb), 0.24) !important;
}

.fx-founder-card:hover p {
  color: #fff !important;
}

.fx-team-avatar {
  position: relative;
  overflow: hidden;
}

.fx-team-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08),
    transparent 38%,
    transparent 62%,
    rgba(var(--fx-accent-rgb), 0.08)
  );
  opacity: 0;
  transition: opacity 0.45s ease;
}

.fx-team-card:hover .fx-team-avatar::after,
.fx-founder-card:hover .fx-team-avatar::after {
  opacity: 1;
}

.fx-team-card:hover .fx-team-avatar,
.fx-founder-card:hover .fx-team-avatar {
  box-shadow:
    0 0 0 1px rgba(var(--fx-accent-rgb), 0.24),
    0 0 35px rgba(var(--fx-accent-rgb), 0.18);
}

.fx-badge-pop {
  transition:
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.45s ease,
    filter 0.45s ease;
}

.fx-team-card:hover .fx-badge-pop,
.fx-founder-card:hover .fx-badge-pop {
  transform: scale(1.12) rotate(6deg);
  box-shadow: 0 0 20px rgba(var(--fx-accent-rgb), 0.28);
  filter: drop-shadow(0 0 12px rgba(var(--fx-accent-rgb), 0.22));
}

.fx-social-link,
[class~="group/social-link"],
[class~="btn-hover-scale"],
[class~="brand-hover"] {
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease,
    filter 0.3s ease,
    background-color 0.3s ease;
}

.fx-social-link:hover,
[class~="group/social-link"]:hover,
[class~="btn-hover-scale"]:hover,
[class~="brand-hover"]:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 0 28px rgba(var(--fx-accent-rgb), 0.18);
}

[class~="brand-hover"]:hover {
  filter: drop-shadow(0 0 10px rgba(var(--fx-accent-rgb), 0.28));
}

.fx-logo-shell {
  display: flex !important;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.fx-logo-shell--nav {
  width: 118px !important;
  height: 36px !important;
}

.fx-logo-shell--profile {
  width: 72px !important;
  height: 32px !important;
}

.fx-logo-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(var(--fx-accent-rgb), 0.18));
}

.fx-profile-avatar {
  overflow: hidden !important;
  border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(var(--fx-accent-rgb), 0.28) !important;
  box-shadow:
    0 0 18px rgba(var(--fx-accent-rgb), 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.fx-profile-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 26%;
  transform: scale(1.14);
}

.fx-brand-wordmark {
  display: none !important;
}

.fx-terminal-logo-shell {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  overflow: visible !important;
}

.fx-terminal-logo-shell--hero {
  width: clamp(96px, 10vw, 132px) !important;
  min-height: 28px !important;
  height: auto !important;
  aspect-ratio: 3.8 / 1;
  border-radius: 0 !important;
}

.fx-terminal-logo-shell--badge {
  width: 72px !important;
  height: 24px !important;
}

.fx-terminal-logo-shell--inline {
  width: 56px !important;
  height: 20px !important;
}

.fx-terminal-logo-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 0 12px rgba(var(--fx-accent-rgb), 0.18));
}

.fx-terminal-logo-shell--hero .fx-terminal-logo-image {
  height: auto;
}

img[src$="-team.jpg"],
img[src$="-team.png"] {
  transition:
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.7s ease,
    opacity 0.4s ease;
  transform-origin: center center;
}

.fx-team-card:hover img[src$="-team.jpg"],
.fx-team-card:hover img[src$="-team.png"],
.fx-founder-card:hover img[src$="-team.jpg"],
.fx-founder-card:hover img[src$="-team.png"],
[class~="group"]:hover img[src$="-team.jpg"],
[class~="group"]:hover img[src$="-team.png"] {
  transform: scale(1.08);
  filter: saturate(1.08) brightness(1.04);
}

body[data-fx-route^="/benchmarks"] [class*="drop-shadow-[0_0_15px_rgba(168,85,247,0.3)]"],
body[data-fx-route^="/benchmarks"] [class*="drop-shadow-[0_0_15px_rgba(168,85,247,0.2)]"] {
  filter: drop-shadow(0 0 18px rgba(var(--fx-accent-rgb), 0.28));
}

body[data-fx-route="/"] [class*="hidden md:block relative group cursor-default max-w-[1400px] mx-auto"] {
  position: relative;
}

@keyframes fx-rotate-beam {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes fx-dashboard-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes fx-tooltip-pulse {
  0%,
  100% {
    opacity: 0.28;
    transform: scale(0.98);
  }

  50% {
    opacity: 0.56;
    transform: scale(1.02);
  }
}

@keyframes fx-scan-line {
  0%,
  100% {
    top: 0%;
  }

  50% {
    top: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::after,
  .fx-hero-dashboard,
  .fx-featured-card::before,
  .fx-tooltip-anchor::before {
    animation: none !important;
  }

  .fx-reactive-card,
  [class~="bento-card"],
  [class~="group/card"],
  [class~="group/pricing"],
  .fx-social-link,
  [class~="group/social-link"],
  [class~="btn-hover-scale"],
  [class~="brand-hover"],
  img[src$="-team.jpg"],
  img[src$="-team.png"],
  .fx-badge-pop,
  .fx-dropdown-shell > button {
    transition: none !important;
  }

  .fx-reactive-card::after,
  [class~="bento-card"]::after,
  [class~="group/card"]::after,
  [class~="group/pricing"]::after,
  .fx-hero-dashboard::after {
    display: none;
  }
}
