:root {
  --primary: #FFD700;
  --primary-dark: #DAA520;
  --secondary: #D32F2F;
  --background: #121212;
  --surface: #1E1E1E;
  --surface-light: #252525;
  --on-background: #E0E0E0;
  --on-primary: #121212;
  --border: #333333;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 10px 20px rgba(0, 0, 0, 0.3);
  --border-radius: 12px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ===== BASE STYLES ===== */
body {
  font-family: 'Pyidaungsu', 'Noto Sans Myanmar', sans-serif;
  background: var(--background);
  color: var(--on-background);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ===== BUTTON STYLES ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: var(--shadow);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* ===== HEADER STYLES ===== */
.header {
  background: var(--background);
  padding: 32px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 8px;
  letter-spacing: 0.5px;
}

.header p {
  font-size: 1.1rem;
  color: var(--on-background);
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.9;
  line-height: 1.7;
}

/* ===== CARD STYLES ===== */
.card {
  background: var(--surface);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  background: var(--surface-light);
}

/* ===== PRICING SECTION ===== */
.pricing-section {
  padding: 48px 0;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 40px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--primary);
  margin: 16px auto;
  border-radius: 2px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  justify-items: center; /* Added to center cards */
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  max-width: 320px; /* Added to control card width */
}

.pricing-card.popular {
  border: 2px solid var(--primary);
  transform: scale(1.03);
}

.pricing-card.popular::before {
  content: '';
  position: absolute;
  top: 16px;
  right: -30px;
  background: var(--primary);
  color: var(--on-primary);
  padding: 4px 30px;
  transform: rotate(45deg);
  font-weight: bold;
  font-size: 0.9rem;
  box-shadow: var(--shadow);
}

.pricing-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--primary);
  color: var(--on-primary);
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.8rem;
  box-shadow: var(--shadow);
  z-index: 1;
}

.pricing-header {
  padding: 32px 24px 24px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.pricing-name {
  font-size: 1.5rem;
  color: var(--primary);
  margin: 0 0 8px;
  font-weight: 700;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin: 8px 0;
  position: relative;
  display: inline-block;
}

.pricing-price::before {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: normal;
  opacity: 0.8;
}

.pricing-savings {
  background: rgba(211, 47, 47, 0.2);
  color: var(--secondary);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.9rem;
  margin-top: 8px;
  display: inline-block;
}

.pricing-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex-grow: 1;
}

.pricing-features li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  font-size: 0.95rem;
}

.pricing-features li i {
  color: var(--primary);
  margin-right: 12px;
  font-size: 1rem;
}

/* ===== FEATURES SECTION ===== */
.features-section {
  padding: 48px 0;
  background: rgba(255, 215, 0, 0.03);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  justify-items: center; /* Added to center cards */
}

.feature-card {
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  height: 100%;
  width: 100%;
  max-width: 320px; /* Added to control card width */
}

.feature-card:hover .feature-hover {
  opacity: 1;
}

.feature-hover {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(211, 47, 47, 0.1));
  opacity: 0;
  transition: var(--transition);
  z-index: 0;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 215, 0, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--primary);
  font-size: 1.5rem;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  transform: rotate(10deg) scale(1.1);
  background: rgba(255, 215, 0, 0.2);
}

.feature-title {
  font-size: 1.25rem;
  color: var(--primary);
  margin: 0 0 16px;
  position: relative;
  z-index: 1;
}

.feature-desc {
  color: var(--on-background);
  opacity: 0.9;
  margin: 0;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* ===== FOOTER STYLES ===== */
.footer {
  background: var(--surface);
  padding: 48px 0 24px;
  text-align: center;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.footer h2 {
  color: var(--primary);
  margin-bottom: 24px;
  font-size: 1.8rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin: 24px 0;
}

.footer-link {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-link:hover {
  color: var(--secondary);
}

.copyright {
  color: var(--on-background);
  opacity: 0.7;
  margin-top: 24px;
  font-size: 0.9rem;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 768px) {
  .header {
    padding: 24px 0;
  }
  
  .header h1 {
    font-size: 2rem;
  }
  
  .header p {
    font-size: 1rem;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .pricing-card.popular {
    transform: none;
  }
  
  .pricing-card.popular::before {
    right: -25px;
    padding: 4px 25px;
    font-size: 0.8rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
    line-height: 1.5;
  }
  
  .container {
    padding: 0 12px;
  }
  
  .header {
    padding: 20px 0;
  }
  
  .header h1 {
    font-size: 1.8rem;
    padding: 0 10px;
  }
  
  .header p {
    font-size: 1rem;
    padding: 0 10px;
  }
  
  .pricing-section {
    padding: 32px 0;
  }
  
  .section-title {
    font-size: 1.5rem;
    margin-bottom: 24px;
  }
  
  .pricing-card {
    margin-bottom: 20px;
  }
  
  .pricing-card.popular::before {
    right: -20px;
    padding: 3px 20px;
    font-size: 0.7rem;
    top: 12px;
  }
  
  .pricing-header {
    padding: 16px;
  }
  
  .pricing-name {
    font-size: 1.3rem;
  }
  
  .pricing-price {
    font-size: 2rem;
  }
  
  .pricing-body {
    padding: 16px;
  }
  
  .pricing-features li {
    padding: 10px 0;
    font-size: 0.95rem;
  }
  
  .features-section {
    padding: 32px 0;
  }
  
  .feature-card {
    padding: 16px;
  }
  
  .feature-icon {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
  }
  
  .feature-title {
    font-size: 1.1rem;
  }
  
  .footer {
    padding: 32px 0 16px;
  }
  
  .footer h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 12px;
  }
  
  .footer-link {
    font-size: 0.95rem;
  }
  
  .copyright {
    font-size: 0.8rem;
    margin-top: 16px;
  }
}

@media (max-width: 360px) {
  body {
    font-size: 14px;
  }
  
  .header h1 {
    font-size: 1.6rem;
  }
  
  .pricing-price {
    font-size: 1.8rem;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}