/* Pricing page tweaks - Chỉ giữ lại những gì đặc biệt cho trang pricing */

.pricing { 
  grid-template-columns: 1fr; 
  align-items: stretch; 
}
@media (min-width: 900px) { .pricing { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
@media (min-width: 1200px) { .pricing { grid-template-columns: repeat(4, 1fr); gap: 32px; } }
@media (min-width: 1400px) { .pricing { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

.pricing .pricing-card--highlight .btn { 
  transform: translateY(0); 
  border: 2px solid rgba(255,255,255,.2);
  box-shadow: 0 8px 25px rgba(76,101,254,.3);
  text-shadow: 0 1px 2px rgba(0,0,0,.3);
  transition: all 0.2s ease;
}

.pricing .pricing-card--highlight .btn:hover { 
  transform: translateY(-2px); 
  border-color: rgba(255,255,255,.3);
  box-shadow: 0 12px 30px rgba(76,101,254,.4);
}

/* Pricing Comparison Table Styles */
.pricing-comparison {
  margin-top: 40px;
}

.pricing-comparison__toggle {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 24px 0 32px;
}

.pricing-comparison__toggle-btn {
  position: relative;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
}

.pricing-comparison__toggle-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

.pricing-comparison__toggle-btn.is-active {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  border-color: #f59e0b;
  color: #1f2937;
  box-shadow: 0 4px 16px rgba(251, 191, 36, 0.4);
  transform: translateY(-2px);
}

.pricing-comparison__toggle-btn.is-active:hover {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  box-shadow: 0 6px 20px rgba(251, 191, 36, 0.5);
}

.pricing-comparison__table-wrapper {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 24px;
}

.pricing-comparison__table {
  overflow-x: auto;
}

.pricing-comparison__table table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  font-size: 14px;
}

.pricing-comparison__table th {
  background: rgba(255, 255, 255, 0.1);
  padding: 16px;
  text-align: center;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-comparison__table th:first-child {
  text-align: left;
  width: 30%;
}

.pricing-comparison__table th:not(:first-child) {
  width: 17.5%;
}

.pricing-comparison__table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: top;
}

.pricing-comparison__table td:first-child {
  text-align: left;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.pricing-comparison__table td:not(:first-child) {
  text-align: center;
}

.pricing-comparison__section-header {
  background: rgba(255, 255, 255, 0.05) !important;
}

.pricing-comparison__section-header td {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  padding: 16px;
}

.pricing-comparison__table tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.checkmark {
  color: #8b5cf6;
  font-weight: bold;
  font-size: 18px;
}

.dash {
  color: rgba(255, 255, 255, 0.3);
  font-weight: bold;
  font-size: 18px;
}

.pricing-comparison__note {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  margin-top: 32px;
}

.pricing-comparison__note h3 {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 20px 0;
  text-align: center;
}

.addon-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  text-align: left;
}

.addon-list li {
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.5;
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.addon-list li:last-child {
  border-bottom: none;
}

.addon-list strong {
  color: #8b5cf6;
  font-weight: 600;
}

.note-section {
  text-align: left;
  padding-top: 16px;
  border-top: 1px solid rgba(139, 92, 246, 0.2);
}

.note-section p {
  margin: 0 0 8px 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  font-size: 13px;
}

.note-section p:last-child {
  margin-bottom: 0;
}

.note-section strong {
  color: #8b5cf6;
  font-weight: 600;
}

.pricing-comparison__note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.pricing-comparison__note strong {
  color: #8b5cf6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .pricing-comparison__toggle {
    flex-direction: column;
    align-items: center;
  }
  
  .pricing-comparison__toggle-btn {
    width: 100%;
    max-width: 300px;
  }
  
  .pricing-comparison__table-wrapper {
    border-radius: 12px;
  }
  
  .pricing-comparison__table table {
    font-size: 13px;
  }
  
  .pricing-comparison__table th,
  .pricing-comparison__table td {
    padding: 10px 12px;
  }
  
  /* Add-on responsive */
  .pricing-comparison__note {
    margin-top: 24px;
    padding: 20px;
  }
  
  .pricing-comparison__note h3 {
    font-size: 16px;
    margin-bottom: 16px;
  }
  
  .addon-list {
    margin-bottom: 20px;
  }
  
  .addon-list li {
    font-size: 13px;
    padding: 6px 0;
  }
  
  .note-section {
    padding-top: 12px;
  }
  
  .note-section p {
    font-size: 12px;
  }
}

.pricing-card__features li::before { content: "•"; position: absolute; left: 8px; color: #7ea2ff; }

/* Quota section styling */
.pricing-card__quotas {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 16px;
  margin: 16px 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.quota-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.quota-item:last-child {
  border-bottom: none;
}

.quota-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 500;
}

.quota-value {
  color: #fbbf24;
  font-weight: 600;
  font-size: 14px;
}

.quota-value:contains("—") {
  color: rgba(255, 255, 255, 0.4);
}

.pricing-card { 
  display: grid; 
  gap: 10px; 
  align-content: start;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 10px;
  transition: all 0.3s ease;
  min-height: auto;
  height: fit-content;
}

/* ===== FAQ SECTION STYLING ===== */
.faq-section {
  padding: 80px 0;
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 48px;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.05);
}

.faq-question span {
  flex: 1;
  margin-right: 16px;
  line-height: 1.5;
}

.faq-icon {
  width: 24px;
  height: 24px;
  color: #8b5cf6;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: rgba(255, 255, 255, 0.02);
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding: 0 24px 20px;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  font-size: 14px;
}

.faq-answer strong {
  color: #8b5cf6;
  font-weight: 600;
}

/* Responsive FAQ */
@media (max-width: 768px) {
  .faq-section {
    padding: 60px 0;
  }
  
  .faq-title {
    font-size: 28px;
    margin-bottom: 32px;
  }
  
  .faq-question {
    padding: 16px 20px;
    font-size: 15px;
  }
  
  .faq-answer p {
    padding: 0 20px 16px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .faq-section {
    padding: 40px 0;
  }
  
  .faq-title {
    font-size: 24px;
    margin-bottom: 24px;
  }
  
  .faq-question {
    padding: 14px 16px;
    font-size: 14px;
  }
  
  .faq-answer p {
    padding: 0 16px 14px;
    font-size: 12px;
  }
}
