.container {
  max-width: 1200px;
  margin-top: 150px;
  position: relative;
}

.price-header {
  text-align: center;
  margin-bottom: 60px;
  animation: fadeInDown 0.8s ease;
}

.price-header h2 {
  text-align: center;
  color: var(--text-color);
  font-weight: bold;
  position: relative;
  animation: fadeInDown 0.6s ease-out;
}

.price-header::after {
  position: absolute;
  left: 0;
  right: 0;
  margin: 5px auto 0;
  content: " ";
  display: block;
  border-bottom: 4px solid var(--primary-color);
  border-radius: 100px;
  width: 80px;
  animation: expandWidth 0.8s ease-out 0.3s backwards;
}

.price-header span {
  background: var(--primary-color-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Notes section */
.price-notes {
  margin-top: 10px;
  padding: 24px;
  background: var(--section-bg);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.2s forwards;
}

.price-notes h3 {
  font-size: 0.875rem;
  margin-bottom: 16px;
  color: var(--primary-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price-notes i {
  margin-right: 0.5rem;
  color: var(--primary-color);
}

.price-notes ul {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 10px;
}

.price-notes li {
  padding-left: 20px;
  position: relative;
  color: var(--text-color);
  font-size: 0.875rem;
  line-height: 1.6;
}

.price-notes li::before {
  content: "•";
  position: absolute;
  left: 6px;
  color: #999;
}

.price-notes a {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: bold;
}

.price-notes a:hover {
  text-decoration: underline;
}

/* Price Chart Tab */
.pricing-tabs-container {
  margin-bottom: 5rem;
}

.pricing-tabs-wrapper {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e5e5;
}

.pricing-tabs-nav {
  display: flex;
  background: #f9f9f9;
  border-bottom: 2px solid #e5e5e5;
}

.pricing-tab-btn {
  flex: 1;
  padding: 16px 20px;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  border-right: 1px solid #e5e5e5;
}

.pricing-tab-btn:last-child {
  border-right: none;
}

.pricing-tab-btn:hover {
  background: #f0f0f0;
  color: var(--text-color);
}

.pricing-tab-btn.pricing-tab-active {
  background: var(--primary-color);
  color: var(--text-color-alt);
}

.pricing-tab-btn.pricing-tab-active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary-color);
}

/* Tab Content */
.pricing-tab-panel {
  display: none;
  padding: 30px;
}

.pricing-tab-panel.pricing-tab-active {
  display: block;
  animation: pricingTabFadeIn 0.3s ease;
}

/* Price Table */
.pricing-table-scroll {
  overflow-x: auto;
  position: relative;
}

.pricing-table-grid {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}

.pricing-table-grid thead tr {
  background: #666;
  color: white;
}

.pricing-table-grid th {
  padding: 14px 16px;
  text-align: center;
  font-weight: 600;
  font-size: 0.9375rem;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.pricing-table-grid th:first-child {
  text-align: left;
  background: var(--primary-color-gradient);
  border-right: 2px solid white;
  position: sticky;
  left: 0;
  z-index: 10;
  width: 10%;
}

.pricing-table-grid tbody tr {
  border-bottom: 1px solid #e5e5e5;
  transition: background 0.2s ease;
  color: var(--text-color);
}

.pricing-table-grid tbody tr:hover {
  background: var(--primary-color);
  color: var(--text-color-alt);
}

.pricing-table-grid tbody tr:last-child {
  border-bottom: none;
}

.pricing-table-grid td {
  padding: 14px 16px;
  text-align: center;
  font-size: 0.9375rem;
  border-right: 1px solid #f0f0f0;
}

.pricing-table-grid td:first-child {
  text-align: left;
  font-weight: 600;
  background: #fafafa;
  border-right: 1px solid #e5e5e5;
  color: var(--text-color);
  position: sticky;
  left: 0;
  z-index: 9;
}

.pricing-table-grid td:last-child {
  border-right: none;
}

/* For Coaster Page */
.pricing-equal-columns .pricing-table-grid {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.pricing-equal-columns .pricing-table-grid th:first-child,
.pricing-equal-columns .pricing-table-grid td:first-child {
  width: 60%;
  position: sticky;
  left: 0;
  z-index: 10;
}

.pricing-equal-columns .pricing-table-grid th:not(:first-child),
.pricing-equal-columns .pricing-table-grid td:not(:first-child) {
  width: auto;
}

.pricing-equal-columns .pricing-table-grid th:nth-child(2),
.pricing-equal-columns .pricing-table-grid td:nth-child(2) {
  width: 80%;
}

/* ! Animation */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pricingTabFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes expandWidth {
  from {
    width: 0;
  }
  to {
    width: 80px;
  }
}

/* ! Responsive */
@media (max-width: 768px) {
  .container {
    margin-top: 8.8rem;
  }

  .header-desk {
    display: none;
  }

  .header-mobile {
    display: block !important;
    font-size: 30px !important;
    margin-top: 8.8rem;
  }

  .pricing-equal-columns .pricing-table-scroll {
    overflow-x: visible;
  }

  .pricing-equal-columns .pricing-table-grid {
    min-width: auto;
  }
}
