/* Plan Styles */
.plan-main {
  background: #000;
  color: #fff;
  overflow-x: hidden;
}

.plan-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.plan-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.plan-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
  opacity: 0.1;
  animation: plan-bg-shift 8s ease-in-out infinite;
}

.plan-particles-container {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.plan-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: linear-gradient(45deg, #8b5cf6, #3b82f6);
  border-radius: 50%;
  animation: plan-particle-float 6s linear infinite;
}

.plan-particle:nth-child(1) {
  top: 20%;
  left: 20%;
  animation-delay: 0s;
}

.plan-particle:nth-child(2) {
  top: 60%;
  left: 80%;
  animation-delay: -2s;
}

.plan-particle:nth-child(3) {
  top: 80%;
  left: 40%;
  animation-delay: -4s;
}

.plan-hero-content {
  text-align: center;
  z-index: 2;
}

.plan-hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.plan-gradient-text {
  background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: plan-gradient-wave 4s ease-in-out infinite;
}

.plan-hero-subtitle {
  font-size: 1.3rem;
  color: #d1d5db;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Plans Grid Section */
.plan-grid-section {
  padding: 100px 0;
  background: #111;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  justify-items: center;
}

.plan-card {
  position: relative;
  background: #1f2937;
  border-radius: 25px;
  padding: 2rem;
  transition: all 0.5s ease;
  overflow: hidden;
  border: 1px solid #374151;
  cursor: pointer;
  min-height: 500px;
  max-width: 400px;
  display: flex;
  flex-direction: column;
}

.plan-card:hover {
  transform: translateY(-20px) scale(1.02);
  box-shadow: 0 30px 60px rgba(139, 92, 246, 0.3);
  border-color: #8b5cf6;
}

.plan-featured {
  border: 2px solid #8b5cf6;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
}

.plan-featured-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  transform: rotate(0deg) !important;
  background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
  color: #fff;
  padding: 0.5rem 1.25rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  animation: plan-badge-glow 2s ease-in-out infinite;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
  z-index: 10;
  white-space: nowrap;
}

.plan-card-header {
  text-align: center;
  margin-bottom: 1.5rem;
  position: relative;
}

.plan-name {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
}

.plan-sub-name {
  color: #d1d5db;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.plan-price-section {
  text-align: center;
  margin-bottom: 1.5rem;
}

.plan-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 1rem;
}

.plan-currency {
  font-size: 1.5rem;
  color: #8b5cf6;
  font-weight: 600;
}

.plan-amount {
  font-size: 4rem;
  font-weight: 700;
  background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0.5rem;
  animation: plan-price-glow 3s ease-in-out infinite;
}

.plan-period {
  font-size: 1.2rem;
  color: #9ca3af;
}

.plan-description {
  text-align: center;
  margin-bottom: 1.5rem;
  flex-grow: 0;
}

.plan-description p {
  color: #d1d5db;
  font-size: 1rem;
  line-height: 1.5;
}

.plan-features {
  flex-grow: 1;
  margin-bottom: 2rem;
}

.plan-feature {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.5rem;
  padding: 0.25rem 0;
}

.plan-feature i {
  color: #10b981;
  margin-right: 1rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.plan-feature span {
  line-height: 1.5;
  color: #d1d5db;
}

.plan-select-btn {
  width: 100%;
  background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
  color: #fff;
  border: none;
  padding: 1.2rem;
  border-radius: 15px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.plan-select-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(139, 92, 246, 0.4);
}

.plan-card-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 25px;
}

.plan-card:hover .plan-card-glow {
  opacity: 1;
}

.plan-hover-effect {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.1), transparent);
  transition: left 0.8s ease;
}

.plan-card:hover .plan-hover-effect {
  left: 100%;
}

.plan-btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: plan-ripple 0.6s linear;
}

/* FAQ Section */
.plan-faq-section {
  padding: 100px 0;
  background: #000;
}

.plan-section-title {
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
}

.plan-faq-grid {
  max-width: 800px;
  margin: 0 auto;
}

.plan-faq-item {
  background: #1f2937;
  border-radius: 15px;
  margin-bottom: 1rem;
  overflow: hidden;
  border: 1px solid #374151;
  transition: all 0.3s ease;
}

.plan-faq-item:hover {
  border-color: #8b5cf6;
  box-shadow: 0 10px 25px rgba(139, 92, 246, 0.2);
}

.plan-faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.plan-faq-question:hover {
  background: rgba(139, 92, 246, 0.1);
}

.plan-faq-question h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
}

.plan-faq-question i {
  color: #8b5cf6;
  transition: transform 0.3s ease;
}

.plan-faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.plan-faq-item.active .plan-faq-answer {
  padding: 0 1.5rem 1.5rem;
  max-height: 200px;
}

.plan-faq-item.active .plan-faq-question i {
  transform: rotate(180deg);
}

.plan-faq-answer p {
  color: #d1d5db;
  line-height: 1.6;
}

/* CTA Section */
.plan-cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
  text-align: center;
}

.plan-cta-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.plan-cta-subtitle {
  font-size: 1.2rem;
  color: #d1d5db;
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

.plan-cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
  color: #fff;
  text-decoration: none;
  padding: 1.2rem 3rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.plan-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(139, 92, 246, 0.4);
}

/* Plans Styles - Additional styles for plans listing */
.plans-main {
  background: #000;
  color: #fff;
  overflow-x: hidden;
}

.plans-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Plans Hero Section */
.plans-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.plans-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
  opacity: 0.1;
  animation: plans-bg-shift 8s ease-in-out infinite;
}

.plans-particles-container {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.plans-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: linear-gradient(45deg, #8b5cf6, #3b82f6);
  border-radius: 50%;
  animation: plans-particle-float 6s linear infinite;
}

.plans-particle:nth-child(1) {
  top: 20%;
  left: 20%;
  animation-delay: 0s;
}

.plans-particle:nth-child(2) {
  top: 60%;
  left: 80%;
  animation-delay: -2s;
}

.plans-particle:nth-child(3) {
  top: 80%;
  left: 40%;
  animation-delay: -4s;
}

.plans-hero-content {
  text-align: center;
  z-index: 2;
}

.plans-hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.plans-gradient-text {
  background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: plans-gradient-wave 4s ease-in-out infinite;
}

.plans-hero-subtitle {
  font-size: 1.3rem;
  color: #d1d5db;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Plans Grid Section */
.plans-grid-section {
  padding: 100px 0;
  background: #111;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1300px;
  margin: 0 auto;
  justify-items: center;
}

.plans-card {
  position: relative;
  background: #1f2937;
  border-radius: 25px;
  padding: 2rem;
  transition: all 0.5s ease;
  overflow: hidden;
  border: 1px solid #374151;
  cursor: pointer;
  min-height: 500px;
  max-width: 400px;
  display: flex;
  flex-direction: column;
}

.plans-card:hover {
  transform: translateY(-20px) scale(1.02);
  box-shadow: 0 30px 60px rgba(139, 92, 246, 0.3);
  border-color: #8b5cf6;
}

.plans-featured {
  border: 2px solid #8b5cf6;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
}

.plans-featured-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  transform: rotate(0deg) !important;
  background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
  color: #fff;
  padding: 0.5rem 1.25rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  animation: plans-badge-glow 2s ease-in-out infinite;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
  z-index: 10;
  white-space: nowrap;
}

.plans-card-header {
  text-align: center;
  margin-bottom: 1.5rem;
  position: relative;
}

.plans-name {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
}

.plans-sub-name {
  color: #d1d5db;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.plans-description {
  margin-bottom: 1.5rem;
  flex-grow: 0;
}

.plans-description p {
  color: #d1d5db;
  font-size: 1rem;
  line-height: 1.5;
}

.plans-features {
  flex-grow: 1;
  margin-bottom: 2rem;
}

.plans-feature {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.5rem;
  padding: 0.25rem 0;
}

.plans-feature i {
  color: #10b981;
  margin-right: 1rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.plans-feature span {
  line-height: 1.5;
  color: #d1d5db;
}

.plans-button {
  width: 100%;
  background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
  color: #fff;
  border: none;
  padding: 1.2rem;
  border-radius: 15px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.plans-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(139, 92, 246, 0.4);
}

/* Enterprise Section */
.plan-enterprise-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  position: relative;
}

.plan-enterprise-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #8b5cf6, #3b82f6, #8b5cf6);
}

.plan-enterprise-header {
  text-align: center;
  margin-bottom: 4rem;
}

.plan-enterprise-subtitle {
  font-size: 1.25rem;
  color: #9ca3af;
  margin-top: 1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.plan-enterprise-wrapper {
  display: flex;
  justify-content: center;
  max-width: 500px;
  margin: 0 auto;
}

.plan-enterprise {
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  border: 2px solid;
  border-image: linear-gradient(135deg, #8b5cf6, #3b82f6) 1;
  transform: scale(1.05);
  box-shadow: 0 25px 50px rgba(139, 92, 246, 0.3);
}

.plan-enterprise-badge {
  position: absolute;
  top: -15px;
  right: 20px;
  background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
  z-index: 10;
}

/* Animations */
@keyframes plan-bg-shift {
  0%,
  100% {
    opacity: 0.1;
    transform: translateX(0);
  }
  50% {
    opacity: 0.2;
    transform: translateX(10px);
  }
}

@keyframes plan-particle-float {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

@keyframes plan-gradient-wave {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes plan-badge-glow {
  0%,
  100% {
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
  }
  50% {
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.8);
  }
}

@keyframes plan-discount-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

@keyframes plan-price-glow {
  0%,
  100% {
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
  }
  50% {
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.8);
  }
}

@keyframes plan-check-bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-3px);
  }
  60% {
    transform: translateY(-1px);
  }
}

@keyframes plan-ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

@keyframes plans-bg-shift {
  0%,
  100% {
    opacity: 0.1;
    transform: translateX(0);
  }
  50% {
    opacity: 0.2;
    transform: translateX(10px);
  }
}

@keyframes plans-particle-float {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

@keyframes plans-gradient-wave {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes plans-badge-glow {
  0%,
  100% {
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
  }
  50% {
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.8);
  }
}

@keyframes plans-price-glow {
  0%,
  100% {
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
  }
  50% {
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.8);
  }
}

@keyframes plans-check-bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Animation Classes */
.animate-fade-in {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

.animate-slide-up {
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 1s ease forwards;
}

.animate-slide-left {
  opacity: 0;
  transform: translateX(-30px);
  animation: slideLeft 1s ease forwards;
}

.animate-scale {
  opacity: 0;
  transform: scale(0.8);
  animation: scaleIn 1s ease forwards;
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

.animate-bounce {
  animation: bounce 2s ease-in-out infinite;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .plan-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 800px;
  }

.plans-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  max-width: 700px;
}

  .plan-card {
    padding: 2rem;
    min-height: auto;
  }

  .plans-card {
    padding: 2rem;
    min-height: auto;
  }

  .plan-enterprise-wrapper {
    max-width: 400px;
  }

  .plan-enterprise {
    transform: scale(1.02);
  }
}

@media (max-width: 768px) {
  .plan-hero-title {
    font-size: 2.5rem;
  }

  .plans-hero-title {
    font-size: 2.5rem;
  }

  /* Single column layout for mobile with optimized spacing */
  .plan-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 400px;
  }

  .plans-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 400px;
  }

  .plan-card,
  .plans-card {
    min-height: 450px;
    max-width: 100%;
    padding: 1.5rem;
  }

  .plan-featured-badge,
  .plans-featured-badge {
    top: 10px;
    right: 10px;
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .plan-card {
    padding: 1.5rem;
    border-radius: 20px;
  }

  .plans-card {
    padding: 1.5rem;
    border-radius: 20px;
  }

  .plan-grid {
    gap: 1rem;
  }

  .plans-grid {
    gap: 1rem;
  }

  .plan-amount {
    font-size: 2.5rem;
  }

  .plans-amount {
    font-size: 2.5rem;
  }
}
