/* === BASE RESETS === */
body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(to bottom, #ffffff, #f8f3ff);
  color: #333;
  margin: 0;
  padding: 0;
}

/* === CIRCLE WAVE LOADER === */
.circle-loader-wrapper {
  position: fixed;
  inset: 0;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.4s ease;
}

.circle-wave-loader {
  width: 60px;
  height: 60px;
  border: 6px solid transparent;
  border-top: 6px solid #7b4bff;
  border-bottom: 6px solid #a559f5;
  border-radius: 50%;
  animation: spinWave 1s linear infinite;
}

@keyframes spinWave {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Background for Orange Plans */
.bg-orange {
  background: linear-gradient(to right, #ff6a00, #ee0979);
}

/* Background for Teal Plans */
.bg-teal {
  background: linear-gradient(to right, #04c8c4, #30e3ca);
}


/* === PRICING PAGE === */

/* Section wrap to remove footer gap */
.pricing-section-wrapper {
  margin-bottom: -30px;
}


/* Pricing Card Container */
.pricing-card {
  border-radius: 16px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 6px 16px rgba(95, 37, 159, 0.05);
}

.pricing-card:hover {
  transform: translateY(-4px);
}

/* Icon Bubble */
.pricing-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  color: white;
}

.icon-purple {
  background: linear-gradient(135deg, #5f259f, #a559f5);
}

.icon-teal {
  background: linear-gradient(135deg, #04c8c4, #30e3ca);
}

.icon-orange {
  background: linear-gradient(135deg, #ff6a00, #ee0979);
}

.icon-yellow {
  background: linear-gradient(135deg, #f7971e, #ffd200);
}

.icon-red {
  background: linear-gradient(135deg, #e53935, #e35d5b);
}

/* Button Styles */
.btn-pricing-purple {
  background: linear-gradient(to right, #5f259f, #a559f5);
  color: #fff;
}
.btn-pricing-purple:hover {
  background: linear-gradient(to right, #4c1c80, #843cd4);
}

.btn-pricing-teal {
  background: linear-gradient(to right, #04c8c4, #30e3ca);
  color: #fff;
}
.btn-pricing-teal:hover {
  background: linear-gradient(to right, #02aaa7, #28cbb9);
}

.btn-pricing-orange {
  background: linear-gradient(to right, #ff6a00, #ee0979);
  color: #fff;
}
.btn-pricing-orange:hover {
  background: linear-gradient(to right, #cc5800, #d6086a);
}

.btn-pricing-yellow {
  background: linear-gradient(to right, #f7971e, #ffd200);
  color: #333;
}
.btn-pricing-yellow:hover {
  background: linear-gradient(to right, #e08a00, #f7c400);
}

.btn-pricing-red {
  background: linear-gradient(to right, #e53935, #e35d5b);
  color: #fff;
}
.btn-pricing-red:hover {
  background: linear-gradient(to right, #d22b29, #cc4a4a);
}

/* Price Text Gradient */
.price-gradient-text {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(to right, #5f259f, #a559f5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Most Popular Plan Styling */
.most-popular-card {
  border: 3px solid #a559f5;
  position: relative;
  box-shadow: 0 8px 24px rgba(165, 89, 245, 0.15);
}

.most-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(to right, #5f259f, #a559f5);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(95, 37, 159, 0.2);
  z-index: 2;
  display: block;
}

/* Unavailable Features */
.pricing-unavailable {
  color: #aaa;
  text-decoration: line-through;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pricing-unavailable i {
  color: red;
}

/* === GLOBAL COLORS & GRADIENTS === */
.text-purple {
  color: #7b4bff;
}

.text-gradient {
  background: linear-gradient(90deg, #5f259f, #a559f5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}



.bg-light-gradient {
  background: linear-gradient(180deg, #fff, #f8f3ff);
}

.bg-soft-block {
  background: rgba(165, 89, 245, 0.05);
  border-radius: 16px;
  padding: 24px;
}

/* === BUTTONS === */
.btn-purple {
  background: linear-gradient(90deg, #5f259f, #a559f5);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(165, 89, 245, 0.4);
  transition: all 0.3s ease;
}

.btn-purple:hover {
  background: linear-gradient(90deg, #51208a, #843cd4);
  box-shadow: 0 0 16px rgba(165, 89, 245, 0.6);
  transform: translateY(-2px);
}

.btn-outline-purple {
  border: 1px solid #a559f5;
  color: #a559f5;
  background-color: transparent;
  transition: all 0.3s ease;
}

.btn-outline-purple:hover {
  background-color: #a559f5;
  color: white;
}

/* === NAVBAR === */
.navbar {
  padding: 1rem 0;
  background: #fff !important;
}

.navbar-nav .nav-link {
  position: relative;
  padding: 0.5rem 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: #a559f5;
  transition: all 0.4s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
  left: 0;
}

.navbar-nav .nav-link.active {
  color: #a559f5 !important;
}

/* === CARD / BLOCK EFFECT === */
.soft-card, .bg-white.shadow-sm {
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
  position: relative; /* 👈 this is the fix */
}

.soft-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(95, 37, 159, 0.1);
}
/* === ICON GRADIENT STYLE === */
.text-gradient i,
i.text-gradient {
  background: linear-gradient(90deg, #5f259f, #a559f5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* === HERO SECTION (unified) === */
section.hero-gradient h1,
section.hero-gradient h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

section.hero-gradient p {
  font-size: 1.1rem;
  margin-bottom: 0;
}

/* === FOOTER === */
.footer-gradient {
  background: linear-gradient(135deg, #12162e, #5f259f);
}

.footer-gradient a {
  color: #ccc;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-gradient a:hover {
  color: #ffd633;
}

.footer-gradient i {
  transition: all 0.3s ease;
}

.footer-gradient i:hover {
  transform: scale(1.2);
  color: #ffd633;
}

/* === HEADINGS & UTILITIES === */
h1, h2, h3, h4 {
  font-weight: 700;
}

h1.display-5 {
  font-size: 3rem;
}

h2.fw-bold {
  font-size: 2.2rem;
}

.section {
  padding: 80px 0;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  
  h1.display-5 {
    font-size: 2rem;
  }
  h2.fw-bold {
    font-size: 1.75rem;
  }
  .btn {
    width: 100%;
    margin-bottom: 12px;
  }
  .d-grid {
    gap: 12px;
  }
}
/* === DASHBOARD PAGE SPECIFIC === */

/* Hero Section */
.dashboard-hero {
  background: linear-gradient(90deg, #5f259f, #a559f5);
  padding: 80px 0;
  color: white;
  text-align: center;
}

.dashboard-hero h2 {
  font-size: 2.5rem;
  font-weight: 700;
}

.dashboard-hero p {
  font-size: 1.1rem;
  margin-top: 10px;
}

/* Profile & Subscription Box */
.dashboard-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #fff, #f8f3ff);
}

.dashboard-card {
  background: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 0 10px rgba(95, 37, 159, 0.05);
  height: 100%;
}

.dashboard-card h4 {
  color: #5f259f;
  font-weight: 700;
  margin-bottom: 20px;
}

.dashboard-card ul li {
  margin-bottom: 15px;
  font-size: 15px;
}

.dashboard-card i {
  font-size: 18px;
  margin-right: 8px;
  background: linear-gradient(90deg, #5f259f, #a559f5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dashboard-card .btn {
  font-size: 14px;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .dashboard-hero h2 {
    font-size: 2rem;
  }
  .dashboard-card {
    padding: 20px;
  }
}


.hero-gradient {
  position: relative;
  padding-top: 30px;
  color: white !important;
  overflow: hidden;
}

.hero-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, #5f259f, #a559f5); /* ✅ Apply gradient here */
}

.hero-gradient .container {
  position: relative;
  z-index: 1;
}

.hero-gradient h1,
.hero-gradient p {
  color: white !important;
}
