/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, #0d0d0d 0%, #e4e9f2 100%);
  color: #333;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

/* Package container */
.bandwidth {
  position: absolute;
  top: 95%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: normal;
  font-size: 1.1rem;
  color: black;
}

/* Package container */
.packages-container {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

/* Package card styling */
.package-card {
  background-color: #0d0d0d;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease-in-out;
  position: relative;
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  height: auto; /* Umesto 100% */
  min-height: 550px; /* Osigurava minimalnu visinu */
  max-height: 600px; /* Sprečava previše rastezanje */
  flex: 1; /* Omogućava fleksibilno skaliranje */
}


.package-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.basic:hover {
  border-color: rgba(99, 102, 241, 0.2);
}

.professional:hover {
  border-color: rgba(99, 102, 241, 0.3);
}

.premium:hover {
  border-color: rgba(139, 92, 246, 0.3);
}

/* Package header */
.package-header {
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.basic .package-header {
  background: linear-gradient(to right, rgba(99, 102, 241, 0.05), rgba(59, 130, 246, 0.05));
}

.professional .package-header {
  background: linear-gradient(to right, rgba(99, 102, 241, 0.1), rgba(59, 130, 246, 0.1));
}

.premium .package-header {
  background: linear-gradient(to right, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.15));
}

.package-title {
  font-family: 'Arial', serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.basic .package-title {
  background: linear-gradient(to right, #6366f1, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  color: white;
}

.professional .package-title {
  background: linear-gradient(to right, #4f46e5, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  color: white;
}

.premium .package-title {
  background: linear-gradient(to right, #6366f1, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  color: white;
}

.title-underline {
  width: 4rem;
  height: 3px;
  border-radius: 1px;
  margin-bottom: 1.5rem;
}

.basic .title-underline {
  background: linear-gradient(to right, #ff6600, #ff6600);
}

.professional .title-underline {
  background: linear-gradient(to right, #ff6600, #ff6600);
}

.premium .title-underline {
  background: linear-gradient(to right, #ff6600, #ff6600);
}

.package-subtitle {
  color: white;
  margin-bottom: 1rem;
  font-family: 'Arial', serif;
  font-size: 1rem;
}

.package-price {
  color: white;
  margin-bottom: 1rem;
  font-family: 'Arial', serif;
  font-size: 1.2rem;
  font-weight: bold;
}

/* Popular badge */
.popular-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: linear-gradient(to right, #ff6600, #ff6600);
  color: black;
  padding: 0.5rem 1.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  border-bottom-left-radius: 0.75rem;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
}

/* Features list */
.package-features {
  list-style: none;
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  flex: 1;
}

.package-features li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: white;
}

.check-mark {
  margin-right: 0.5rem;
  font-size: 1rem;
  font-weight: bold;
}

.basic .check-mark {
  color: white;
}

.professional .check-mark {
  color: white;
}

.premium .check-mark {
  color: white;
}

/* Action button */
.package-action {
  padding: 2rem 1.5rem;
  text-align: center;
  margin-top: auto;
}

.order-button {
  display: inline-block;
  width: 100%;
  padding: 0.9rem 1.5rem;
  text-decoration: none;
  border-radius: 9999px;
  font-weight: normal;
  font-size: 1rem;
  text-align: center;
  transition: all 0.3s ease;
  font-family: 'Arial', serif;
}

.basic-button {
  color: black;
  background: #f9924e;
}

.basic-button:hover {
  background-color: #ff6600;
  transform: scale(1.02);
}

.pro-button {
  color: black;
  background-color: #ff6600;
  border: 2px solid #ff6600;
}

.pro-button:hover {
  background-color: #f88639;
  border: 2px solid #f88639;
  transform: scale(1.02);
}

.premium-button {
  color: black;
  background: #f9924e;
  border: none;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.premium-button:hover {
  background: #ff6600;
  transform: scale(1.02);
}

/* Responsive adjustments */
@media (max-width: 980px) {
  .packages-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  body {
    padding: 1rem;
  }
  
  .packages-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .package-card {
    max-width: 100%;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.package-card {
  animation: fadeInUp 0.6s ease-out forwards;
}

.professional {
  animation-delay: 0.2s;
}

.premium {
  animation-delay: 0.4s;
}







