.pricing-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
}

.section-title h2 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.pricing-grid {
  display: grid;
  /* grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));  / Unhide if you want to show other plan in search category*/
  gap: 30px;
  justify-content: center;
}

.price-card {
  background: var(--bg-alt);
  width: 250px;
  padding: 40px;
  border-radius: 24px;
  border: 1px solid var(--border-color);
  position: relative;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--text-main);
}

.price-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px var(--card-shadow);
}

.price-card.featured {
  width: 250px;
  border: 2px solid var(--accent-green);
  background: linear-gradient(180deg, var(--bg-color) 0%, var(--bg-alt) 100%);
}

@media (min-width: 768px) {
  .price-card.featured {
    width: 500px;
    transform: scale(1.03);
  }
  .price-card {
    width: 500px;
  }
  .price-card.featured:hover {
    transform: scale(1.03) translateY(-8px);
  }
}

.price-card.dark {
  background: #1a1a1a;
  color: white;
  border: none;
}

.price-card.offline {
  background: #222;
  color: #fff;
  border: none;
}

.plan-name {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.plan-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 25px;
  min-height: 45px;
  line-height: 1.5;
}

.dark .plan-desc,
.offline .plan-desc {
  color: #aaa;
}

.price-tag {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 5px;
  font-family: var(--font-sans);
  line-height: 1;
  letter-spacing: -1px;
}

.dark .price-tag,
.offline .price-tag {
  color: #fff;
}

.price-period {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 400;
  font-family: var(--font-sans);
  margin-left: 5px;
}
.dark .price-period,
.offline .price-period {
  color: #ccc;
}

.price-sub {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 25px;
  font-family: var(--font-sans);
  font-weight: 500;
}

.dark .price-sub,
.offline .price-sub {
  color: #888;
}

.checklist {
  list-style: none;
  margin-bottom: 40px;
  flex-grow: 1;
}

.checklist li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  font-size: 1rem;
}

.tick {
  color: var(--accent-green);
  margin-right: 12px;
  font-weight: bold;
  font-size: 1.1rem;
}

.dark .tick,
.offline .tick {
  color: #fff;
}

.cross {
  color: #ccc;
  margin-right: 12px;
  font-weight: bold;
  font-size: 1.1rem;
}

.cta-btn {
  display: block;
  width: 100%;
  background-color: var(--text-main);
  color: var(--bg-color);
  padding: 16px 0;
  border-radius: 50px;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  transition:
    transform 0.2s,
    background-color 0.2s;
  font-size: 1.05rem;
}

.cta-btn.secondary {
  background-color: transparent;
  border: 2px solid var(--text-main);
  color: var(--text-main);
}

.cta-btn.secondary:hover {
  background-color: var(--text-main);
  color: var(--bg-color);
}

.price-card.featured .cta-btn {
  background-color: var(--accent-green);
  color: white;
  border: none;
}
.price-card.featured .cta-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.cta-btn.white {
  background-color: #fff;
  color: #000;
}

.cta-btn.offline-btn {
  background-color: #fff;
  color: #000;
}

.cta-btn:hover {
  transform: translateY(-2px);
}

/* Currency Dropdown */
.currency-wrapper {
  display: inline-block;
  margin-top: 25px;
}

.currency-select {
  padding: 10px 20px;
  margin: 2px;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  background: var(--bg-alt);
  color: var(--text-main);
  cursor: pointer;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23666666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  padding-right: 45px;
}

.currency-select:hover {
  border-color: var(--accent-green);
  box-shadow: 0 4px 15px var(--card-shadow);
}

@media (max-width: 768px) {
  .currency-select {
    padding: 12px 20px;
    padding-right: 45px;
  }
}
