.prices-hero {
  padding: 40px 0 20px;
  background: #f8faff;
}

.prices-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.prices-hero-video {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  background: #0b0c1a;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #0b0c1a;
}

.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

.video-fallback {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #1a1b2e;
  color: #fff;
  border-radius: 24px;
  font-size: 1.2rem;
}

.video-fallback span {
  font-size: 4rem;
  margin-bottom: 10px;
}

.video-fallback p {
  margin: 0;
  opacity: 0.7;
}

.prices-hero-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.prices-hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e1e2f;
  line-height: 1.2;
  margin: 0;
}

.prices-hero-desc {
  font-size: 1.1rem;
  color: #4a4a5e;
  line-height: 1.8;
  margin: 0;
}

.prices-hero-desc strong {
  color: #ff6b6b;
}

.prices-hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.pricing-tables {
  padding: 60px 0 80px;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1e1e2f;
  margin-bottom: 4px;
}

.pricing-tabs input[type="radio"] {
  display: none;
}

.pricing-tab-labels {
  display: none;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 70px;
}

.pricing-card {
  background: #ffffff;
  border-radius: 32px;
  padding: 30px 24px 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  border: 2px solid #eef1f7;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.pricing-card.active {
  border-color: #ff6b6b !important;
  box-shadow: 0 10px 30px rgba(255, 107, 107, 0.15) !important;
}

.pricing-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.pricing-ribbon {
  background: linear-gradient(135deg, #feca57, #f9a825);
  color: #1e1e2f;
  padding: 4px 14px;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(254, 202, 87, 0.25);
  letter-spacing: 0.3px;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: inline-block;
}

.pricing-badge {
  display: inline-block;
  background: #eef1f7;
  color: #4a4a5e;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 16px;
  border-radius: 40px;
  text-transform: uppercase;
}

.pricing-overview-box {
  background: linear-gradient(135deg, #f8faff, #f0f4ff);
  border-radius: 16px;
  padding: 14px 18px;
  margin: 10px 0 16px 0;
  border: 1px solid #e8ecf6;
  text-align: center;
}

.pricing-card[data-package="professional"] .pricing-overview-box {
  background: linear-gradient(135deg, #fff6f6, #ffefef);
  border-color: #ffd4d4;
}

.pricing-card[data-package="enterprise"] .pricing-overview-box {
  background: linear-gradient(135deg, #f5f0ff, #ede6ff);
  border-color: #d9ccff;
}

.overview-type {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1e1e2f;
  margin: 0 0 4px 0;
}

.overview-desc {
  font-size: 0.95rem;
  color: #4a4a5e;
  margin: 0;
  line-height: 1.5;
}

.overview-desc strong {
  color: #ff6b6b;
}

.pricing-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1e1e2f;
  margin: 0 0 4px 0;
  text-align: center;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 20px;
}

.price-amount {
  font-size: 2rem;
  font-weight: 700;
  color: #1e1e2f;
}

.price-sep {
  font-size: 1.4rem;
  color: #b0b8d0;
  margin: 0 4px;
}

.price-unit {
  font-size: 1rem;
  color: #6a6a82;
  margin-right: 6px;
}

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

.pricing-features li {
  padding: 6px 28px 6px 0;
  position: relative;
  font-size: 0.95rem;
  color: #2d2d44;
  line-height: 1.6;
  border-bottom: none;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li::before {
  content: "✓";
  position: absolute;
  right: 0;
  top: 6px;
  color: #ff6b6b;
  font-weight: 700;
  font-size: 1.1rem;
}

.pricing-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 6px;
}

.pricing-footer .btn {
  width: 100%;
  text-align: center;
}

.pricing-duration {
  font-size: 0.85rem;
  color: #8a8a9a;
  text-align: center;
}

.common-features {
  background: linear-gradient(145deg, #0b0c1a, #16182e);
  border-radius: 40px;
  padding: 50px 40px;
  margin-bottom: 60px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.common-features-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.common-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  margin-bottom: 36px;
}

.common-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.common-item {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 28px 22px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.common-item:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.common-icon {
  font-size: 2.6rem;
  display: block;
  margin-bottom: 14px;
}

.common-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 8px 0;
}

.common-item p {
  font-size: 0.92rem;
  color: #b0b8d0;
  line-height: 1.7;
  margin: 0;
}

.common-note {
  text-align: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #b0b8d0;
  font-size: 0.95rem;
}

.common-note strong {
  color: #ff6b6b;
}

.server-cost-note {
  margin-top: 10px;
  font-size: 0.95rem;
  color: #b0b8d0;
}

.server-cost-note strong {
  color: #ffffff;
}

.final-cta {
  text-align: center;
  background: #0b0c1a;
  border-radius: 40px;
  padding: 50px 40px;
  color: #fff;
}

.final-cta h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.final-cta p {
  font-size: 1.1rem;
  color: #b0b8d0;
  max-width: 700px;
  margin: 0 auto 28px;
  line-height: 1.8;
}

.final-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 992px) {
  .prices-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .prices-hero-video {
    max-width: 100%;
  }

  .prices-hero-title {
    font-size: 2rem;
  }

  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }

  .common-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .prices-hero {
    padding: 20px 0 10px;
  }

  .prices-hero-title {
    font-size: 1.6rem;
  }

  .prices-hero-desc {
    font-size: 1rem;
  }

  .prices-hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .pricing-tab-labels {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 24px;
  }

  .tab-label {
    padding: 8px 24px;
    border-radius: 40px;
    background: #eef1f7;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 500;
    font-size: 0.95rem;
    user-select: none;
  }

  #tab-standard:checked ~ .pricing-tab-labels label[for="tab-standard"],
  #tab-professional:checked ~ .pricing-tab-labels label[for="tab-professional"],
  #tab-enterprise:checked ~ .pricing-tab-labels label[for="tab-enterprise"] {
    background: #ff6b6b;
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.25);
  }

  .pricing-grid {
    display: block;
    margin-bottom: 40px;
  }

  .pricing-card {
    display: none;
    margin-bottom: 24px;
    cursor: default;
  }

  #tab-standard:checked ~ .pricing-grid .pricing-card[data-package="standard"],
  #tab-professional:checked ~ .pricing-grid .pricing-card[data-package="professional"],
  #tab-enterprise:checked ~ .pricing-grid .pricing-card[data-package="enterprise"] {
    display: block;
  }

  .pricing-card.active {
    border-color: #ff6b6b !important;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.15) !important;
  }

  .pricing-ribbon {
    font-size: 0.7rem;
    padding: 4px 12px;
  }

  .pricing-card {
    padding: 24px 18px;
  }

  .pricing-features li {
    font-size: 0.9rem;
    padding: 5px 26px 5px 0;
  }

  .pricing-name {
    font-size: 1.2rem;
  }

  .price-amount {
    font-size: 1.6rem;
  }

  .price-unit {
    font-size: 0.9rem;
  }

  .pricing-overview-box {
    padding: 12px 14px;
    margin: 8px 0 14px 0;
  }

  .overview-type {
    font-size: 1.05rem;
  }

  .overview-desc {
    font-size: 0.9rem;
  }

  .common-features {
    padding: 30px 16px;
    border-radius: 28px;
  }

  .common-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .common-title {
    font-size: 1.4rem;
  }

  .common-item {
    padding: 22px 18px;
  }

  .final-cta {
    padding: 30px 20px;
    border-radius: 28px;
  }

  .final-cta h3 {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 420px) {
  .prices-hero-title {
    font-size: 1.3rem;
  }

  .prices-hero-desc {
    font-size: 0.95rem;
  }

  .pricing-card .pricing-name {
    font-size: 1.1rem;
  }

  .price-amount {
    font-size: 1.4rem;
  }

  .price-sep {
    font-size: 1rem;
  }

  .price-unit {
    font-size: 0.8rem;
  }

  .pricing-features li {
    font-size: 0.85rem;
    padding: 5px 24px 5px 0;
  }

  .common-item {
    padding: 18px 14px;
  }

  .final-cta h3 {
    font-size: 1.2rem;
  }

  .final-cta p {
    font-size: 0.95rem;
  }

  .tab-label {
    padding: 6px 18px;
    font-size: 0.85rem;
  }

  .pricing-ribbon {
    font-size: 0.6rem;
    padding: 3px 10px;
  }

  .pricing-badge {
    font-size: 0.65rem;
    padding: 3px 12px;
  }

  .overview-type {
    font-size: 0.95rem;
  }

  .overview-desc {
    font-size: 0.85rem;
  }
}