@import url('https://fonts.googleapis.com/css2?family=Alfa+Slab+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.5;
  color: #1f2937;
  background: linear-gradient(to bottom, #f9fafb, #f3f4f6);
  min-height: 100vh;
  padding: 1.5rem;
}

.container h2{
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #092a49;
}
.plan-names{
  font-size: 20px;
  font-weight: 600;
  color: #1f2937;
}
.container {
  max-width: 1500px;
  padding: 0 1.5rem;
  margin: 40px auto 0 auto;
  /* margin: 0 auto; */
  width: 100%;
}

/* Header styles */
.header {
  text-align: center;
  margin-bottom: 3rem;
}

.header h1 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  font-family: 'Poppins', sans-serif;
  color: #092a49;
}

.header p {
  font-size: 1.125rem;
  color: #4b5563;
  max-width: 42rem;
  margin: 0 auto;
}

/* Card entrance animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pricing-card {
  animation: fadeIn 0.5s ease-out forwards;
  opacity: 0;
}

[data-plan="master"] {
  animation-delay: 0s;
}

[data-plan="advanced"] {
  animation-delay: 0.1s;
}

[data-plan="new"] {
  animation-delay: 0.1s;
}

[data-plan="ultimate"] {
  animation-delay: 0.2s;
}

[data-plan="custom"] {
  animation-delay: 0.3s;
}

/* Button hover effect */
.buy-button {
  position: relative;
  overflow: hidden;
}

.buy-button::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.4s ease-out;
  z-index: 1;
}

.buy-button:hover::after,
.contact-button:hover::after {
  transform: translate(-50%, -50%) scale(2.5);
}

.buy-button span,
.contact-button span {
  position: relative;
  z-index: 2;
}
.contact-button {
  text-decoration: none;
  text-align: center;
  font-weight: 800;
}

/* Shine effect on cards */
@keyframes shine {
  0% {
    background-position: -100% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.15) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
  transform: translateX(-100%);
  z-index: 10;
}

.pricing-card:hover::before {
  animation: shine 1.5s ease-out;
}

/* Feature icon hover animation */
.feature-icon {
  transition: transform 0.2s ease;
}

.feature-item:hover .feature-icon {
  transform: scale(1.1);
}
.feature-name {
  color: #1f2937;
  font-size: 20px;
  font-weight: 1000;
}

.no-margin{
  margin: 0px;
}

.pricing-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin: 10px 0px 60px 0px;
}
.pricing-card {
  flex: 1 1 0;
  max-width: 350px;
  margin: 0 15px;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.premium-cont {
  position: relative;
  overflow: visible;
  margin: 20px 0px;
}

.recommended {
  animation: fadeIn 0.5s ease-out forwards;
  position: absolute;
  top: -40px;
  right: 20px;
  background: #fff;
  color: gray;
  padding: 4px 16px;
  border-radius: 999px;
  font-weight: bold;
  font-size: 0.9rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  z-index: 10;
  overflow: visible;
}

.card-header {
  padding: 1.5rem;
  color: #ffffff;
  min-height: 250px;
}

.card-header h2 {
  font-size: 1.7rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 0.25rem;
  color: white;
}

.monthly-price {
  font-size: 0.875rem;
  opacity: 0.8;
  margin-bottom: 1.7rem;
}

.original-price {
  font-size: 0.875rem;
  text-decoration: line-through;
  opacity: 0.7;
}

.total-price {
  font-size: 1.875rem;
  font-weight: 700;
}

.duration {
  font-size: 0.9rem;
  /* opacity: 0.9; */
}

.custom-price {
  font-size: 2rem;
  font-weight: 700;
}

.custom-description {
  font-size: 0.875rem;
  opacity: 0.8;
  margin-top: 0.5rem;
}

.card-body {
  background-color: #ffffff;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  justify-content: space-between;
}

.features {
  padding-left: 1.2em;
  margin: 0 0 1.5rem 0;
  list-style-type: disc;
  display: block;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.feature-details h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
}

.feature-details {
  font-size: 1rem;
  color: #444;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.buy-button {
  width: 100%;
  padding: 0.75rem 0;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  margin-top: 1.5rem;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.contact-button{
  width: 100%;
  padding: 0.75rem 0;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  margin-top: 1.5rem;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.buy-button:hover {
  transform: scale(1.03);
}

.buy-button:active {
  transform: scale(0.98);
}

.feature-item.disabled {
  opacity: 0.4;
}

[data-plan="master"] .card-header {
  background: linear-gradient(to bottom, #94a3b8, #64748b);
}

[data-plan="master"] .buy-button{
  background-color: #64748b;
}

[data-plan="master"] .buy-button:hover {
  background-color: #475569;
}

[data-plan="master"] .feature-icon {
  background-color: #fef2f2;
  color: #64748b;
}

[data-plan="advanced"] .card-header {
  background: linear-gradient(to bottom, #fcd34d, #f59e0b);
}

[data-plan="advanced"] .buy-button {
  background-color: #f59e0b;
}

[data-plan="advanced"] .buy-button:hover {
  background-color: #d97706;
}

[data-plan="advanced"] .feature-icon {
  background-color: #fffbeb;
  color: #f59e0b;
}

[data-plan="new"] .card-header {
  background: linear-gradient(to bottom, #fb7185, #e11d48);
}

[data-plan="new"] .buy-button,
[data-plan="new"] .contact-button {
  background-color: #e11d48;;
}

[data-plan="new"] .buy-button:hover,
[data-plan="new"] .contact-button:hover {
  background-color: #be123c;
}

[data-plan="new"] .feature-icon {
  background-color: #fffbeb;
  color: #e11d48;;
}

[data-plan="ultimate"] .pricing-card {
  border: 3px solid #059669;
  scale: 1.1;
  margin: 0px 15px;
}

[data-plan="ultimate"] .card-header {
  background: linear-gradient(to bottom, #34d399, #10b981);
}

[data-plan="ultimate"] .buy-button {
  background-color: #10b981;
}

[data-plan="ultimate"] .buy-button:hover {
  background-color: #059669;
}

[data-plan="ultimate"] .feature-icon {
  background-color: #ecfdf5;
  color: #10b981;
}

[data-plan="custom"] .pricing-card {
  border: 3px solid #2563eb;
  scale: 1.1;
  margin: 0px 15px;
}

[data-plan="custom"] .card-header {
  background: linear-gradient(to bottom, #60a5fa, #3b82f6);
}

[data-plan="custom"] .buy-button,
[data-plan="custom"] .contact-button {
  background-color: #3b82f6;
}

[data-plan="custom"] .buy-button:hover,
[data-plan="custom"] .contact-button:hover {
  background-color: #2563eb;
}

[data-plan="custom"] .feature-icon {
  background-color: #eff6ff;
  color: #3b82f6;
}

@media (max-width: 1200px) {
  .pricing-section {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .header h1 {
    font-size: 2rem;
  }

  .header p {
    font-size: 1rem;
  }
}

@media (max-width: 900px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  [data-plan="ultimate"] .pricing-card,
  [data-plan="custom"] .pricing-card {
    margin: 0 0 1.5rem 0 !important; /* Only vertical margin */
  }
  .pricing-section {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
  }
  .pricing-card {
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
    flex: initial;
  }
}

@media (max-width: 768px) {
  .pricing-section {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    overflow: visible;
  }

  .header {
    margin-bottom: 2rem;
  }

  .header h1 {
    font-size: 1.75rem;
  }

  body {
    padding: 1rem;
  }

  .pricing-card {
    max-width: 100%;
    width: 100%;
    margin: 0 0 1.5rem 0;
    flex: initial;
    scale: 1;
  }

  .card-header,
  .card-body {
    padding: 1.25rem;
  }

  .features {
    padding-left: 1.2em;
    margin-bottom: 1rem;
  }

  .feature-details {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    line-height: 1.6;
  }
}

@media (max-width: 480px) {
  .pricing-card {
    max-width: 100%;
    width: 100%;
    margin: 0 0 1rem 0;
    flex: initial;
  }
  [data-plan="ultimate"] .pricing-card,
  [data-plan="custom"] .pricing-card {
    margin: 0 0 1rem 0 !important;
  }
  .header h1 {
    font-size: 1.5rem;
  }

  .header p {
    font-size: 0.875rem;
  }

  .card-header h2 {
    font-size: 1.25rem;
  }

  .total-price, 
  .custom-price {
    font-size: 1.5rem;
  }

  .features {
    padding-left: 1em;
    margin-bottom: 1rem;
  }

  .feature-details {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
  }

  .buy-button {
    padding: 0.5rem 0;
    font-size: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pricing-card,
  .pricing-card:hover,
  .buy-button,
  .buy-button:hover,
  .buy-button:active {
    transition: none;
    animation: none;
    transform: none;
  }

  .pricing-card {
    opacity: 1;
  }

  .pricing-card::before {
    display: none;
  }

  .buy-button::after {
    display: none;
  }
}