/* ================= PRICING SECTION ================= */
/* Self-contained, same pattern as the rest of the site's sections. */

.pricing-section {
  position: relative;
  background: #fff;
  padding: 120px 40px 140px;
}

.pricing-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.pricing-heading {
  font-size: 48px;
  font-weight: 400;
  line-height: 1.25;
  color: #16161a;
  text-align: center;
  margin: 0 auto 100px;
}
.pricing-heading b {
  font-weight: 600;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 64px;
  max-width: 900px;
  margin: 0 auto;
}

/* ---------- shared card shell ---------- */
.pricing-card {
  position: relative;
  border-radius: 28px;
  padding: 40px 36px 44px;
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.pricing-top {
  margin-bottom: 24px;
}

.pricing-name {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
}

.pricing-sub {
  font-size: 16px;
  font-weight: 500;
  opacity: 0.7;
  margin-top: 2px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 28px;
}
.price-amount {
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}
.price-period {
  font-size: 18px;
  font-weight: 500;
  opacity: 0.7;
}

.pricing-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 54px;
  border: none;
  border-radius: 999px;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  cursor: pointer;
  margin-bottom: 36px;
  flex-shrink: 0;
}

.pricing-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.feature-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 1px;
}
.pricing-features li span {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
}

/* ---------- Free card ---------- */

.pricing-tag {
  position: absolute;
  top: 32px;
  right: 32px;
  width: 72px;
  height: 72px;
}
.pricing-tag svg { width: 100%; height: 100%; display: block; }
.pricing-tag svg * { stroke: #fff !important; }

.pricing-btn-free {
  background: #0050FF;
  color: #fff;
  transition: background-color .2s ease;
  text-decoration: none;
}
.pricing-btn-free:hover {
  background: transparent;
  color: #0050FF;
  border: 2.5px solid #0050FF;
}

.pricing-btn.pricing-btn-pro.button-gradient .color-1 {
    width: 200px;
    height: 200px;
    background: #0a78f7;
    top: -20px;
    left: -10px;
    animation-duration: 5s;
}

.pricing-btn.pricing-btn-pro.button-gradient .color-2 {
    width: 150px;
    height: 150px;
    background: #0050FF;
    top: 10px;
    right: -10px;
    animation-delay: -2s;
    animation-duration: 4s;
}

.pricing-btn.pricing-btn-pro.button-gradient .color-3 {
    width: 150px;
    height: 110px;
    background: #fe0545;
    bottom: -20px;
    left: 150px;
    animation-delay: -1.4s;
    animation-duration: 7s;
}

.pricing-btn.pricing-btn-pro.button-gradient .color-4 {
    width: 70px;
    height: 70px;
    background: #b300ff;
    bottom: -10px;
    right: 10px;
    animation-delay: -1s;
    animation-duration: 6s;
}

.pricing-free .feature-icon * { stroke: #16161a; }

/* ---------- Pro card ---------- */

.pricing-pro .pricing-sub { opacity: 0.65; }
.pricing-pro .price-period { opacity: 0.65; }

.pricing-btn-pro.button-gradient {
  height: 54px;
}
.pricing-btn-pro .btn-content { font-size: 16px; }

.pricing-features-pro .feature-icon * { stroke: #ffffff !important; }
.pricing-features-pro li span { color: #fff; opacity: 0.9; }

/* ================= RESPONSIVE ================= */
@media (max-width: 860px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
  }
}
@media (max-width: 560px) {
  .pricing-heading { font-size: 32px; }
  .pricing-section { padding: 80px 40px 100px; }
  .pricing-card { padding: 32px 26px 36px; }
  .price-amount { font-size: 52px; }
}

/* ================= LIQUID MESH GRADIENT ================= */

.pricing-card {
  position: relative !important;
  overflow: hidden !important;
  transition: transform 0.3s ease;
}


.pricing-card .pricing-tag {
  position: absolute !important;
  top: 32px !important;
  right: 32px !important;
  z-index: 5 !important;
}


.pricing-card > *:not(.pricing-mesh-bg) {
  position: relative;
  z-index: 2;
}

.pricing-mesh-bg {
  position: absolute;
  top: -30%;
  left: -30%;
  width: 160%;
  height: 160%;
  z-index: 1;
  pointer-events: none;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.mesh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  will-change: transform;
  animation: meshFloat 14s ease-in-out infinite alternate;
}

/* ---------- FREE CARD ---------- */
.pricing-free {
  background: #dbe7ff !important;
  color: #16161a !important;
  box-shadow: 0 20px 44px rgba(60, 100, 220, 0.18) !important;
}

.pricing-free .blob-1 {
  top: -20%;
  left: 30%;
  width: 175%;
  height: 175%;
  background: #4984fb;
  opacity: 0.9;
  animation-duration: 12s;
}

.pricing-free .blob-2 {
  bottom: 0; right: 0; width: 80%; height: 80%;
  background: #e3ecff;
  opacity: 0.85;
  animation-duration: 16s;
  animation-delay: -4s;
}


.pricing-pro {
  background: #000000 !important;
  color: #ffffff !important;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.25) !important;
}


.pricing-pro .pricing-name,
.pricing-pro .price-amount,
.pricing-pro .price-period,
.pricing-pro .pricing-sub {
  color: #ffffff !important;
}

.pricing-pro .blob-1 {
  top: -10%;
  right: -60%;
  width: 80%;
  height: 80%;
  background: #000000;
  opacity: 0.95;
  animation-duration: 12s;
}

.pricing-pro .blob-2 {
    bottom: -10%;
    left: -10%;
    width: 75%;
    height: 75%;
    background: #0050ff;
    opacity: 0.6;
    animation-duration: 16s;
    animation-delay: -4s;
}

.pricing-pro .blob-3 {
    top: 40%;
    right: 0;
    width: 70%;
    height: 70%;
    background: #0700ff;
    opacity: 0.5;
    animation-duration: 10s;
    animation-delay: -2s;
}

@keyframes meshFloat {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  50% {
    transform: translate(40px, -30px) scale(1.1) rotate(180deg);
  }
  100% {
    transform: translate(-30px, 30px) scale(0.95) rotate(360deg);
  }
}

.pricing-card:hover {
  transform: translateY(-2px) scale(1.01);
  transition: transform 0.9s ease;
}

/* ================= NOISE / ICE TEXTURE OVERLAY ================= */

.pricing-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: 0.28;
}

.pricing-card > *:not(.pricing-mesh-bg) {
  position: relative;
  z-index: 3;
}
.pricing-card .pricing-tag {
  z-index: 5 !important;
}

.pricing-card {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2) !important;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  mask-image: radial-gradient(white, black);
  transform: translateZ(0);
  isolation: isolate;
}
.pricing-pro {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12) !important;
}

/* ================= BUTTONS SYSTEM (REGULAR + REVERSE) ================= */

.button-gradient > * {
  pointer-events: none;
}

.button-gradient .glass {
  opacity: 1 !important;
  background-color: rgba(255, 255, 255, 0);
  backdrop-filter: none !important;
  transition: background-color 0.25s ease !important;
  will-change: background-color;
}

.button-gradient:not(.reverse-hover):hover .glass {
  background-color: rgba(255, 255, 255, 1) !important;
}

.button-gradient:not(.reverse-hover):hover .btn-content {
  color: #16161a !important;
}

.reverse-hover .glass {
  background-color: var(--bg, #ffffff) !important;
}

.reverse-hover:hover .glass {
  background-color: rgba(255, 255, 255, 0) !important;
}

.reverse-hover:hover .btn-content {
  color: #ffffff !important;
}