:root {
  --gradient-royal: linear-gradient(140deg, rgba(0, 112, 246, 0.12), rgba(0, 40, 92, 0.14));
}

body.pricing-page {
  background: var(--bg);
  color: var(--ink);
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
  line-height: 1.6;
  margin: 0;
}

.pricing-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.pricing-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 40, 92, 0.08);
}

.pricing-nav__wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 70px;
}

.pricing-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--secondary);
}

.pricing-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
}

.pricing-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pricing-nav__actions a {
  text-decoration: none;
  font-weight: 600;
  color: var(--muted);
  font-size: 0.95rem;
}

.pricing-nav__actions .btn {
  padding: 0.65rem 1.2rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 40, 92, 0.12);
  background: var(--secondary);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(0, 40, 92, 0.18);
}

.pricing-hero {
  padding: 3.5rem 0 4.5rem;
  text-align: center;
  background: #fff;
  border-bottom: 1px solid rgba(0, 40, 92, 0.08);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: rgba(0, 112, 246, 0.1);
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.pricing-hero h1 {
  margin: 1rem 0 1rem;
  font-size: clamp(2.5rem, 3vw + 1.2rem, 3.8rem);
  letter-spacing: -0.02em;
}

.pricing-hero h1 .highlight {
  color: var(--primary);
}

.pricing-hero p {
  max-width: 720px;
  margin: 0 auto 1.4rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.pricing-hero-reviews {
  margin: 1.2rem auto 0;
  justify-content: center;
  width: min(560px, 100%);
  display: flex;
}

.text-muted {
  color: var(--muted);
}

.fade-in-text {
  animation: fadeInText 0.35s ease-out;
}

@keyframes fadeInText {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.industry-selector {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--gradient-royal);
  border: 1px solid rgba(0, 40, 92, 0.14);
  border-radius: 16px;
  padding: 0.75rem 0.9rem;
  box-shadow: 0 16px 38px rgba(0, 40, 92, 0.16);
  margin-bottom: 0.9rem;
}

.industry-selector label {
  font-weight: 700;
  color: var(--secondary);
  font-size: 0.95rem;
}

.industry-selector select {
  border: 1px solid rgba(0, 40, 92, 0.18);
  border-radius: 12px;
  padding: 0.65rem 2.4rem 0.65rem 0.85rem;
  font-weight: 700;
  color: var(--secondary);
  background: #fff;
  box-shadow: 0 10px 22px rgba(0, 40, 92, 0.12);
  appearance: none;
}

.pricing-section {
  padding: 4.5rem 0;
}

.pricing-section--muted {
  background: var(--bg);
}

.pricing-section__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.pricing-section__header h2 {
  font-size: 2.2rem;
  margin-bottom: 0.6rem;
}

.pricing-section__header p {
  color: var(--muted);
  margin: 0;
}

.neural-section {
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
  background: #050505;
  color: #ffffff;
}

.neural-section__bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 30%),
    radial-gradient(circle at 85% 30%, rgba(6, 182, 212, 0.08) 0%, transparent 30%);
  pointer-events: none;
  z-index: 0;
}

.neural-section__content {
  position: relative;
  z-index: 1;
}

.neural-section__header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.neural-section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(6, 182, 212, 0.35);
  background: rgba(6, 182, 212, 0.12);
  font-family: "JetBrains Mono", "Courier New", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #67e8f9;
  margin-bottom: 1.5rem;
}

.neural-section__dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #22d3ee;
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.6);
}

.neural-section__title {
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
  font-size: clamp(2.6rem, 2.6vw + 1.2rem, 4.4rem);
  font-weight: 700;
  margin-bottom: 1.2rem;
  line-height: 1.1;
}

.neural-section__title span {
  background: linear-gradient(120deg, #22d3ee, #a855f7);
  -webkit-background-clip: text;
  color: transparent;
}

.neural-section__desc {
  max-width: 640px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.64);
  font-size: 1rem;
  line-height: 1.7;
}

.neural-section__cta-row {
  margin-top: 1.6rem;
}

.neural-section__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.8rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: #f8fafc;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.neural-section__cta:hover {
  border-color: rgba(148, 163, 184, 0.5);
  background: rgba(30, 41, 59, 0.95);
  transform: translateY(-2px);
}

.neural-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.neural-section__lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: none;
}

.neural-section__lines svg {
  width: 100%;
  height: 100%;
}

.neural-section__lines path {
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 2;
  fill: none;
}

.neural-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.neural-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.neural-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glow-color), transparent);
  transition: left 0.5s ease;
}

.neural-card:hover {
  border-color: var(--glow-color-dim);
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 30px -10px var(--glow-color-dim);
}

.neural-card:hover::before {
  left: 100%;
}

.neural-card__header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.8rem;
}

.neural-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  color: var(--glow-color, #22d3ee);
}

.neural-card__icon svg {
  width: 24px;
  height: 24px;
}

.neural-card h3 {
  font-size: 1.1rem;
  margin: 0;
  color: #ffffff;
}

.neural-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
  line-height: 1.6;
}

.neural-core {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
}

.neural-core__rings {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.neural-core__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(34, 211, 238, 0.3);
  animation: neuralSpin 10s linear infinite;
}

.neural-core__ring--mid {
  inset: 16px;
  border-color: rgba(168, 85, 247, 0.35);
  animation: neuralSpinReverse 14s linear infinite;
}

.neural-core__ring--inner {
  inset: 32px;
  border-color: rgba(255, 255, 255, 0.12);
  animation: none;
}

.neural-core__pulse {
  position: absolute;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.7), rgba(168, 85, 247, 0.2));
  border-radius: 50%;
  filter: blur(20px);
  opacity: 0.6;
  animation: neuralPulse 4s ease-in-out infinite;
}

.neural-core__center {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  color: #ffffff;
}

.neural-core__center svg {
  width: 32px;
  height: 32px;
}

.neural-core__label {
  margin-top: 1.5rem;
  font-family: "JetBrains Mono", "Courier New", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: #22d3ee;
  text-transform: uppercase;
  background: rgba(10, 10, 10, 0.9);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

@keyframes neuralPulse {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

@media (min-width: 900px) {
  .neural-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3rem;
  }

  .neural-section__lines {
    display: block;
  }
}

@media (max-width: 768px) {
  .neural-section__title {
    font-size: clamp(2.2rem, 6vw, 3.2rem);
  }

  .neural-section__cta {
    width: 100%;
  }
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.package-card {
  background: #fff;
  border-radius: 20px;
  padding: 1.6rem;
  border: 1px solid rgba(0, 40, 92, 0.1);
  box-shadow: 0 18px 38px rgba(0, 40, 92, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.package-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(0, 40, 92, 0.16);
}

.package-card--primary {
  border: 2px solid var(--primary);
  box-shadow: 0 24px 48px rgba(0, 112, 246, 0.18);
  position: relative;
}

.package-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.package-card h3 {
  margin: 0 0 0.35rem;
}

.package-card__price {
  margin: 1.2rem 0;
  font-weight: 800;
  color: var(--secondary);
  font-size: 2rem;
}

.package-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
  display: grid;
  gap: 0.6rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.package-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.package-card .check {
  color: var(--primary);
  font-size: 1rem;
  margin-top: 2px;
}

.package-card .btn {
  width: 100%;
  text-align: center;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 40, 92, 0.16);
  background: rgba(0, 112, 246, 0.08);
  color: var(--secondary);
  font-weight: 700;
  cursor: pointer;
}

.package-card--primary .btn {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.note {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 1.5rem;
}

.reviews-section {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 30% 20%, rgba(0, 40, 92, 0.85), rgba(0, 12, 32, 0.95));
  color: #f4f7ff;
  padding: 4rem 0;
}

.reviews-section::before,
.reviews-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.reviews-section::before {
  background: radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.08), transparent 55%);
}

.reviews-section::after {
  background: linear-gradient(90deg, rgba(11, 18, 32, 0.7), transparent 18%, transparent 82%, rgba(11, 18, 32, 0.7));
}

.reviews-header {
  text-align: center;
  margin-bottom: 1.75rem;
  position: relative;
  z-index: 2;
}

.reviews-header h2 {
  margin: 0 0 0.4rem;
  font-size: 2rem;
}

.reviews-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: pricingMarquee 32s linear infinite;
  will-change: transform;
}

.reviews-wrapper {
  overflow: hidden;
  position: relative;
  padding: 0 0.5rem;
}

.reviews-wrapper:hover .reviews-track {
  animation-play-state: paused;
}

.pricing-review-card {
  width: 320px;
  padding: 1.1rem;
  border-radius: 16px;
  background: rgba(11, 18, 32, 0.9);
  border: 1px solid rgba(245, 195, 40, 0.8);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.4);
  color: #f4f7ff;
}

.pricing-review-card .stars {
  color: #f5c300;
  letter-spacing: 0.08em;
  margin-bottom: 0.65rem;
  font-weight: 700;
}

.pricing-review-card p {
  color: rgba(244, 247, 255, 0.9);
  margin: 0 0 0.9rem;
  line-height: 1.55;
  font-size: 0.96rem;
}

.pricing-review-card .person {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.pricing-review-card .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.pricing-review-card .name {
  font-weight: 700;
}

.pricing-review-card .role {
  font-size: 0.85rem;
  color: rgba(244, 247, 255, 0.7);
}

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

.calculator {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 18px 46px rgba(0, 40, 92, 0.12);
  border: 1px solid rgba(0, 40, 92, 0.08);
  overflow: hidden;
}

.calculator__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.calculator__panel {
  padding: 1.6rem;
}

.calculator__panel--inputs {
  border-right: 1px solid rgba(0, 40, 92, 0.08);
  background: #fff;
}

.calculator__panel--results {
  background: var(--bg);
}

.calc-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  color: var(--secondary);
}

.calc-chip {
  background: rgba(0, 112, 246, 0.12);
  color: var(--primary);
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

.calc-slider {
  width: 100%;
  margin-top: 0.6rem;
}

.calc-slider input[type="range"] {
  width: 100%;
  accent-color: var(--primary);
}

.pill-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.pill-option {
  border: 1px solid rgba(0, 40, 92, 0.16);
  border-radius: 12px;
  padding: 0.65rem 0.75rem;
  text-align: center;
  cursor: pointer;
  font-weight: 700;
  background: #fff;
}

.pill-option.is-active {
  border-color: var(--primary);
  background: rgba(0, 112, 246, 0.08);
}

.result-card {
  background: #fff;
  border: 1px solid rgba(0, 40, 92, 0.08);
  border-radius: 16px;
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 12px 28px rgba(0, 40, 92, 0.1);
}

.result-card h4 {
  margin: 0 0 0.2rem;
  color: var(--secondary);
}

.result-card .value {
  font-size: 2rem;
  font-weight: 800;
}

.result-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.8rem;
  margin-top: 0.5rem;
}

.upsell {
  background: linear-gradient(150deg, rgba(0, 112, 246, 0.18), rgba(0, 40, 92, 0.12));
  color: var(--secondary);
  border-radius: 14px;
  padding: 1rem;
  margin-top: 1rem;
  box-shadow: 0 18px 32px rgba(0, 40, 92, 0.16);
}

.how-section {
  background: #0b1220;
  color: #f4f7ff;
  border-radius: 24px;
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.how-section h2 {
  margin-top: 0;
}

.how-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.8rem;
}

.how-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.how-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(0, 112, 246, 0.18);
  display: grid;
  place-items: center;
  color: #a6d1ff;
}

.cta-section {
  text-align: center;
  padding: 4rem 0;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: center;
  justify-content: center;
  margin-top: 1.2rem;
}

.cta-buttons .btn-primary {
  background: var(--primary);
  color: #fff;
  padding: 0.9rem 1.6rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 16px 32px rgba(0, 112, 246, 0.24);
}

.cta-buttons .btn-ghost {
  background: #fff;
  color: var(--secondary);
  padding: 0.9rem 1.6rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid rgba(0, 40, 92, 0.16);
}

@media (max-width: 720px) {
  .pricing-nav__actions a:not(.btn) {
    display: none;
  }

  .pricing-hero {
    padding: 2.5rem 0 3rem;
  }

  .reviews-section::after {
    background: linear-gradient(90deg, rgba(11, 18, 32, 0.85), transparent 14%, transparent 86%, rgba(11, 18, 32, 0.85));
  }

  .pricing-review-card {
    width: 260px;
  }
}
