#prices {
  background: #0a0a0a;
  padding-block: 60px;
}
#prices section {
  padding: 0 20px;
}
.price__container {
  max-width: 1500px;
  margin: 0 auto;
  padding-block: 60px;
}

.hero-section {
  text-align: center;
  margin-bottom: 100px;
}

.hero-title {
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 800;
  margin-bottom: 0px;
  line-height: 1.2;
  color: #fff;
}

.hero-subtitle-yellow {
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 500;
  color: #eaff00;
  margin-bottom: 4px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 400;
  color: #fff;
  margin-bottom: 40px;
}

.toggle-btn {
  display: inline-block;
  padding: 10px 50px;
  border: 1px solid #fff;
  border-radius: 30px;
  background: transparent;
  color: #e0e0e0;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.toggle-btn:hover {
  border-color: #eaff00;
  color: #eaff00;
}

.pricing-cards {
  display: flex;
  gap: 12px;
  margin-bottom: 80px;
  align-items: flex-end;
  justify-content: center;
}

.pricing-card .card-content {
  background: #0a0a0a;
  border: 1.5px solid #ddd;
  border-radius: 20px;
  padding: 24px;
  width: 320px;
  height: 370px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  border-color: #666;
}

.pricing-card.featured {
  color: #ffffff;
  border: 2.5px solid #eaff00;
  border-radius: 20px;
  padding-top: 20px;
  overflow: visible;
  background: #eaff00;
}

.card-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 24px;
  color: #fff;
}

.plan-name {
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
}

.plan-price {
  font-size: 1.1rem;
  font-weight: 600;
  word-spacing: 10px;
  color: #fff;
}

.plan-features {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
  padding-left: 18px;
}

.plan-features li {
  font-size: 12px;
  padding: 5px 0;
  padding-left: 24px;
  position: relative;
  line-height: 1;
  color: #fff;
  cursor: pointer;
}

.plan-features li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: #e0e0e0;
}

.pricing-card.featured .plan-features li::before {
  color: #ffffff;
}

.cta-button {
  width: 100%;
  padding: 14px 24px;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}

.pricing-card:not(.featured) .cta-button {
  background: #2a2a2a;
  color: #ffffff;
}

.pricing-card:not(.featured) .cta-button:hover {
  background: #3a3a3a;
}

.pricing-card.featured .cta-button {
  background: #f0f0f0;
  color: #0a0a0a;
}

.pricing-card.featured .cta-button:hover {
  background: #ffffff;
}

.comparison-section {
  margin-top: 40px;
}

.comparison-title {
  text-align: center;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 40px;
  color: #fff;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.comparison-table thead th {
  padding: 16px 20px;
  text-align: left;
  font-weight: 700;
  font-size: 1.5rem;
  color: #fff;
  border-bottom: 1px solid #2a2a2a;
}

.comparison-table thead th:not(:first-child) {
  text-align: center;
}

.comparison-table tbody td {
  padding: 14px 20px;
  border-bottom: 1px solid #1a1a1a;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 300;
}

.comparison-table tbody td:not(:first-child) {
  text-align: center;
  font-weight: 500;
}

.check {
  color: #fff;
  font-size: 1rem;
}

.check::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.feature-name {
  font-weight: 500;
  color: #e0e0e0;
}

.comparison-table-wrapper {
  position: relative;
  transition: max-height 0.5s ease;
}

.comparison-table-wrapper.collapsed {
  max-height: 380px;
  overflow: hidden;
}

.comparison-table-wrapper.collapsed::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0) 0%,
    rgba(10, 10, 10, 0.6) 40%,
    rgba(10, 10, 10, 0.95) 100%
  );
  pointer-events: none;
}

.toggle-table-btn {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 18px 24px;
  background: transparent;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  color: #eaff00;
  font-size: 1.5rem;
  font-weight: 300;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
}

.toggle-table-btn:hover {
  background: rgba(234, 255, 0, 0.05);
  border-color: #eaff00;
}

.toggle-table-btn .icon {
  margin-right: 10px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.toggle-table-btn.expanded .icon {
  transform: rotate(180deg);
}

@media (max-width: 768px) {
  .pricing-cards {
    grid-template-columns: 1fr;
  }

  .comparison-table {
    font-size: 0.8rem;
  }

  .comparison-table thead th,
  .comparison-table tbody td {
    padding: 10px 8px;
  }
}

@media (max-width: 480px) {
  body {
    padding: 20px 10px;
  }

  .comparison-table-wrapper {
    overflow-x: auto;
  }

  .comparison-table {
    min-width: 600px;
  }
}
