/**
 * See Plans page – pricing cards, blue theme, animations.
 * Complements styles.css (nav, footer base).
 */

/* ===== Page background ===== */
.see-plans-page {
  background: radial-gradient(circle at top left, rgba(14, 165, 233, 0.25), transparent 55%),
    radial-gradient(circle at bottom right, rgba(34, 197, 94, 0.22), transparent 55%),
    linear-gradient(160deg, #020617 0%, #0f172a 30%, #0369a1 65%, #0ea5e9 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

/* ===== Hero section ===== */
.plans-hero {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.plans-eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(226, 232, 240, 0.8);
}

.plans-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #fff;
}

.plans-subtitle {
  font-size: 1.1rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Pricing cards container ===== */
.plans-main {
  padding-top: 1rem;
  padding-bottom: 3rem;
}

.pricing-card {
  height: 100%;
  background: radial-gradient(circle at top left, rgba(14, 165, 233, 0.18), transparent 55%),
    rgba(15, 23, 42, 0.96);
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.9);
  padding: 1.8rem 1.6rem;
  position: relative;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.7);
  transition:
    transform 0.25s ease-out,
    box-shadow 0.25s ease-out,
    border-color 0.25s ease-out;
  overflow: hidden;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.85);
  border-color: rgba(56, 189, 248, 0.9);
}

.pricing-card-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Popular badge ===== */
.pricing-card-popular {
  border-color: rgba(56, 189, 248, 0.9);
  box-shadow: 0 32px 95px rgba(8, 145, 178, 0.8);
}

.pricing-badge {
  position: absolute;
  top: 0.85rem;
  right: 0.9rem;
  background: linear-gradient(135deg, #0ea5e9, #22c55e);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 0 16px 0 12px;
  z-index: 2;
  letter-spacing: 0.02em;
}

/* Card content ===== */
.pricing-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.pricing-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.pricing-rule {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
  font-style: italic;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  flex-grow: 1;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.8;
}

.pricing-features li {
  padding: 0.2rem 0;
}

/* CTA button ===== */
.btn-pricing {
  display: inline-block;
  padding: 0.6rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: #0a1628;
  background: #fff;
  border: none;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  max-width: 220px;
  text-align: center;
}

.btn-pricing:hover {
  background: #e2e8f0;
  color: #1a365d;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.pricing-card-popular .btn-pricing {
  background: linear-gradient(135deg, #4299e1, #63b3ed);
  color: #fff;
}

.pricing-card-popular .btn-pricing:hover {
  background: linear-gradient(135deg, #63b3ed, #4299e1);
  color: #fff;
  box-shadow: 0 8px 24px rgba(66, 153, 225, 0.4);
}

/* ===== Scroll-in animation (class added by JS) ===== */
.pricing-card.animate-in {
  animation: cardFadeIn 0.6s ease forwards;
}

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

.pricing-card.animate-in:hover {
  transform: scale(1.03) translateY(0);
}

/* ===== Custom Plan & Contact Section ===== */
.custom-plan-section {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.custom-plan-message {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 500;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 2rem;
  padding: 1.25rem 1.5rem;
  background: rgba(66, 153, 225, 0.2);
  border: 1px solid rgba(99, 179, 237, 0.4);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Request a Callback form card ===== */
.callback-form-card {
  background: radial-gradient(circle at top left, rgba(14, 165, 233, 0.18), transparent 55%), #ffffff;
  color: #0f172a;
  border-radius: 18px;
  padding: 2.1rem 2rem 1.9rem;
  box-shadow: 0 22px 70px rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(148, 163, 184, 0.7);
  transition:
    box-shadow 0.25s ease-out,
    transform 0.25s ease-out,
    border-color 0.25s ease-out;
}

.callback-form-card:hover {
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.5);
  transform: translateY(-4px);
  border-color: rgba(14, 165, 233, 0.9);
}

.callback-form-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #020617;
  margin-bottom: 0.35rem;
  text-align: center;
}

.callback-form-subtitle {
  font-size: 0.9rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.callback-form .form-label {
  color: #0f172a;
  font-weight: 500;
}

.callback-form .input-icon {
  margin-right: 0.35rem;
  color: #2c5282;
  font-size: 1rem;
}

.callback-form .form-control {
  border-radius: 8px;
  border: 1px solid #cbd5e0;
  padding: 0.6rem 0.85rem;
}

.callback-form .form-control:focus {
  border-color: #4299e1;
  box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.2);
}

.btn-callback {
  padding: 0.65rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(135deg, #0ea5e9, #22c55e);
  border: none;
  border-radius: 999px;
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
  box-shadow: 0 12px 35px rgba(14, 165, 233, 0.45);
}

.btn-callback:hover {
  background: linear-gradient(135deg, #22c55e, #0ea5e9);
  transform: translateY(-2px);
  box-shadow: 0 18px 45px rgba(34, 197, 94, 0.55);
}

@media (max-width: 575.98px) {
  .callback-form-card {
    padding: 1.5rem;
  }
}

/* ===== Footer ===== */
.plans-footer {
  background: rgba(10, 22, 40, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: auto;
}

.plans-footer .footer-copyright,
.plans-footer .footer-email,
.plans-footer .footer-thanks {
  color: #fff;
  margin: 0;
}

.plans-footer a {
  color: #63b3ed;
  text-decoration: none;
}

.plans-footer a:hover {
  text-decoration: underline;
  color: #90cdf4;
}

/* ===== Mobile ===== */
@media (max-width: 575.98px) {
  .plans-hero {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .pricing-card {
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }
}
