/* FAQ Component Styles - Enhanced Modern Design */
.faq-search-section {
  background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  margin-bottom: 50px;
  border: 1px solid rgba(31, 74, 182, 0.08);
}

.search-input-wrapper {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.faq-search-input {
  width: 100%;
  padding: 20px 60px 20px 25px;
  border: 3px solid rgba(31, 74, 182, 0.1);
  border-radius: 30px;
  font-size: 17px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  font-weight: 500;
}

.faq-search-input::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.faq-search-input:focus {
  outline: none;
  border-color: var(--blue-dark);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(31, 74, 182, 0.12), 0 10px 25px rgba(31, 74, 182, 0.1);
  transform: translateY(-2px);
}

.search-icon {
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--blue-dark);
  opacity: 0.7;
}

.tag-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-top: 25px;
}

.tag-label {
  font-weight: 700;
  color: #334155;
  margin-right: 15px;
  font-size: 15px;
}

.tag-btn {
  padding: 10px 20px;
  border: 2px solid rgba(31, 74, 182, 0.2);
  background: rgba(255, 255, 255, 0.8);
  color: #334155;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: capitalize;
  backdrop-filter: blur(5px);
}

.tag-btn:hover {
  border-color: var(--blue-dark);
  color: var(--blue-dark);
  background: rgba(31, 74, 182, 0.05);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(31, 74, 182, 0.2);
}

.tag-btn.active {
  background: linear-gradient(135deg, var(--blue-dark) 0%, #3b82f6 100%);
  border-color: var(--blue-dark);
  color: white;
  box-shadow: 0 5px 20px rgba(31, 74, 182, 0.3);
  transform: translateY(-1px);
}

.clear-filters-btn {
  padding: 10px 20px;
  border: none;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.clear-filters-btn:hover {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

.faq-container {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 50px;
  align-items: start;
}

.faq-categories {
  background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 20px;
  border: 1px solid rgba(31, 74, 182, 0.06);
}

.category-btn {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 18px 20px;
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
  border-radius: 15px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
}

.category-btn::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: var(--blue-dark);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.category-btn:hover {
  background: rgba(31, 74, 182, 0.08);
  transform: translateX(5px);
}

.category-btn:hover::before {
  transform: scaleY(1);
}

.category-btn.active {
  background: linear-gradient(135deg, rgba(31, 74, 182, 0.1) 0%, rgba(31, 74, 182, 0.05) 100%);
  color: var(--blue-dark);
  box-shadow: 0 4px 15px rgba(31, 74, 182, 0.15);
  transform: translateX(8px);
}

.category-btn.active::before {
  transform: scaleY(1);
}

.category-icon {
  font-size: 22px;
  margin-right: 15px;
  width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-name {
  flex: 1;
  font-weight: 700;
  font-size: 16px;
}

.question-count {
  font-size: 12px;
  color: #64748b;
  background: rgba(148, 163, 184, 0.2);
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: 600;
  min-width: 24px;
  text-align: center;
}

.category-btn.active .question-count {
  background: var(--blue-dark);
  color: white;
  box-shadow: 0 2px 8px rgba(31, 74, 182, 0.3);
}

.faq-questions {
  background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(31, 74, 182, 0.06);
  overflow: hidden;
}

.faq-questions.full-width {
  grid-column: 1 / -1;
}

.category-section {
  padding: 40px;
}

.category-section:not(:last-child) {
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.category-title {
  display: flex;
  align-items: center;
  font-size: 28px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 30px;
  position: relative;
}

.category-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, var(--blue-dark) 0%, #3b82f6 100%);
  border-radius: 2px;
}

.category-title .category-icon {
  font-size: 32px;
  margin-right: 18px;
  background: linear-gradient(135deg, var(--blue-dark) 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.questions-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.question-card {
  border: 2px solid rgba(148, 163, 184, 0.15);
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(5px);
}

.question-card:hover {
  border-color: var(--blue-dark);
  box-shadow: 0 8px 30px rgba(31, 74, 182, 0.15);
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.95);
}

.question-header {
  padding: 25px 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.9) 100%);
}

.question-title {
  flex: 1;
  font-size: 19px;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  line-height: 1.5;
}

.question-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.question-tag {
  font-size: 11px;
  background: linear-gradient(135deg, rgba(31, 74, 182, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
  color: var(--blue-dark);
  padding: 5px 12px;
  border-radius: 12px;
  font-weight: 600;
  text-transform: capitalize;
  border: 1px solid rgba(31, 74, 182, 0.2);
}

.expand-icon {
  font-size: 26px;
  color: var(--blue-dark);
  font-weight: bold;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-left: auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(31, 74, 182, 0.1);
}

.question-card:hover .expand-icon {
  background: var(--blue-dark);
  color: white;
  transform: scale(1.1);
}

.question-answer {
  padding: 0 30px 30px;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  animation: expandAnswer 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(248, 250, 252, 0.5);
}

.question-answer p {
  color: #475569;
  line-height: 1.8;
  margin: 25px 0 0;
  font-size: 16px;
  font-weight: 500;
}

@keyframes expandAnswer {
  from {
    opacity: 0;
    transform: translateY(-15px);
    max-height: 0;
  }
  to {
    opacity: 1;
    transform: translateY(0);
    max-height: 300px;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced Mobile Responsive */
@media (max-width: 768px) {
  .faq-search-section {
    padding: 25px 20px;
    margin-bottom: 30px;
  }
  
  .faq-search-input {
    padding: 16px 50px 16px 20px;
    font-size: 16px;
  }
  
  .search-icon {
    right: 20px;
    font-size: 18px;
  }
  
  .tag-filters {
    justify-content: flex-start;
    gap: 8px;
  }
  
  .tag-label {
    width: 100%;
    margin-bottom: 10px;
    font-size: 14px;
  }
  
  .tag-btn {
    padding: 8px 16px;
    font-size: 12px;
  }
  
  .faq-container {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .faq-categories {
    position: static;
    order: 2;
    padding: 20px;
  }
  
  .category-btn {
    padding: 15px 18px;
    margin-bottom: 8px;
  }
  
  .category-name {
    font-size: 15px;
  }
  
  .category-icon {
    font-size: 20px;
    width: 24px;
  }
  
  .category-section {
    padding: 25px 20px;
  }
  
  .category-title {
    font-size: 24px;
    margin-bottom: 20px;
  }
  
  .category-title .category-icon {
    font-size: 28px;
    margin-right: 12px;
  }
  
  .questions-list {
    gap: 15px;
  }
  
  .question-header {
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .question-title {
    font-size: 17px;
    line-height: 1.4;
  }
  
  .question-tags {
    gap: 6px;
  }
  
  .question-tag {
    font-size: 10px;
    padding: 4px 10px;
  }
  
  .question-answer {
    padding: 0 20px 25px;
  }
  
  .question-answer p {
    font-size: 15px;
    line-height: 1.7;
  }
  
  .expand-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 35px;
    height: 35px;
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .faq-search-section {
    padding: 20px 15px;
  }
  
  .search-input-wrapper {
    max-width: 100%;
  }
  
  .faq-search-input {
    padding: 14px 45px 14px 18px;
    font-size: 15px;
  }
  
  .category-section {
    padding: 20px 15px;
  }
  
  .question-header {
    padding: 18px 15px;
  }
  
  .question-answer {
    padding: 0 15px 20px;
  }
  
  .expand-icon {
    top: 18px;
    right: 15px;
    width: 32px;
    height: 32px;
    font-size: 20px;
  }
}

/* Pricing Preview Styles */
.pricing-card-three {
  background: #fff;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 40px 30px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  height: 100%;
}

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

.pricing-card-three.popular {
  border-color: var(--blue-dark);
  transform: scale(1.05);
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue-dark);
  color: white;
  padding: 5px 20px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.pricing-header h4 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #1e2022;
}

.price {
  font-size: 48px;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 10px;
}

.price .period {
  font-size: 18px;
  font-weight: 400;
  color: #666;
}

.pricing-header .description {
  color: #666;
  margin-bottom: 20px;
}

.pricing-header .savings {
  color: #28a745;
  font-weight: 600;
  margin-top: 10px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  text-align: left;
}

.pricing-features li {
  padding: 10px 0;
  color: #666;
  display: flex;
  align-items: center;
}

.check-icon {
  color: #28a745;
  margin-right: 10px;
  font-weight: bold;
}

.pricing-btn {
  width: 100%;
  padding: 15px 30px;
  border: 2px solid var(--blue-dark);
  background: transparent;
  color: var(--blue-dark);
  border-radius: 6px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pricing-btn:hover {
  background: var(--blue-dark);
  color: white;
}

.pricing-btn.primary {
  background: var(--blue-dark);
  color: white;
}

.pricing-btn.primary:hover {
  background: #ffba12;
  border-color: #ffba12;
}

/* ROI Calculator Styles */
.roi-calculator-wrapper {
  background: #fff;
  border-radius: 12px;
  padding: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.calculator-inputs,
.calculator-results {
  padding: 30px;
  background: #f8f9fa;
  border-radius: 8px;
  height: 100%;
}

.calculator-inputs h4,
.calculator-results h4 {
  margin-bottom: 30px;
  color: #1e2022;
  font-size: 24px;
}

.input-group {
  margin-bottom: 25px;
}

.input-group label {
  display: block;
  margin-bottom: 8px;
  color: #666;
  font-weight: 500;
}

.input-group input {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e9ecef;
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.input-group input:focus {
  outline: none;
  border-color: var(--blue-dark);
}

.result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #e9ecef;
}

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

.result-item .label {
  color: #666;
  font-weight: 500;
}

.result-item .value {
  font-weight: 600;
  color: #1e2022;
  font-size: 18px;
}

.result-item.highlight {
  background: rgba(31, 74, 182, 0.05);
  padding: 15px;
  margin: 10px -15px;
  border-radius: 6px;
  border-bottom: none;
}

.result-item.large .value {
  font-size: 28px;
}

.result-item .value.success {
  color: #28a745;
}

.result-divider {
  height: 2px;
  background: #e9ecef;
  margin: 20px 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .roi-calculator-wrapper {
    padding: 30px 20px;
  }
  
  .calculator-inputs,
  .calculator-results {
    padding: 20px;
    margin-bottom: 20px;
  }
  
  .pricing-card-three.popular {
    transform: scale(1);
  }
  
  .accordion-header {
    padding: 15px 20px;
  }
  
  .accordion-title {
    font-size: 16px;
  }
}