/* Zendesk Alternative Page - Custom Styles */

/* Pricing Comparison Wrapper */
.pricing-comparison-wrapper {
  position: relative;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Pricing Table Styles */
.pricing-table {
  width: 100%;
  min-width: 800px;
  border-collapse: collapse;
  background: white;
  border-radius: 12px;
  border-collapse: separate;
  border-spacing: 0;
}

.pricing-table th {
  vertical-align: top;
}

.pricing-table td {
  vertical-align: middle;
}

.pricing-table tbody tr {
  transition: background-color 0.2s ease;
}

.pricing-table tbody tr:hover {
  background-color: #f8f9fa;
}

.pricing-table tbody tr:hover td {
  background-color: #f8f9fa !important;
}

.pricing-table thead th {
  position: sticky;
  top: 0;
  z-index: 100;
}

.pricing-table thead th:first-child {
  position: sticky;
  left: 0;
  z-index: 101;
}

.pricing-table tbody td:first-child {
  position: sticky;
  left: 0;
  z-index: 10;
}

.section,
.container {
  overflow: visible !important;
}

/* Pricing Header Sticky */
.pricing-header-sticky {
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
  transition: all 0.3s ease;
  background: white !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  will-change: transform;
}

.pricing-header-sticky.pro-plan {
  background: linear-gradient(135deg, #fff8f0 0%, #ffe8d0 100%) !important;
  box-shadow: 0 4px 15px rgba(255, 136, 0, 0.15) !important;
}

.pricing-plan-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
  will-change: transform;
}

.pricing-plan-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

/* FAQ Accordion Custom Styles */
#faq-1 .accordion-button::before {
  display: none !important;
}

#faq-1 .accordion-button:not(.collapsed)::after {
  display: none !important;
}

/* Feature Category Header & Feature Name */
.feature-category-header,
.feature-name {
  position: sticky;
  left: 0;
  z-index: 12;
  transition: background 0.2s ease;
}

.feature-name:hover {
  background: #f8f9fa !important;
}

.pricing-cell {
  transition: background 0.2s ease;
}

.pricing-cell:hover {
  background: rgba(255, 136, 0, 0.05) !important;
}

/* Shimmer Animation for Gradient Text */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

/* Hero Title Styles */
.hero-title-gradient {
  font-size: 2.2rem;
  line-height: 48px;
  font-weight: 700 !important;
  background: linear-gradient(90deg, #2a2a2a 0%, #2a2a2a 40%, #2874a6 50%, #2a2a2a 60%, #2a2a2a 100%);
  background-size: 1000px 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 5s infinite linear;
}

/* Section Title Styles */
.section-title-gradient {
  font-size: 1.4rem;
  line-height: 48px;
  font-weight: 700 !important;
  background: linear-gradient(90deg, #2a2a2a 0%, #2a2a2a 40%, #2874a6 50%, #2a2a2a 60%, #2a2a2a 100%);
  background-size: 1000px 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 5s infinite linear;
}

/* Comparison Section */
.comparison-section {
  margin-bottom: 3rem !important;
}

/* Why Suphero Section */
.why-suphero-section {
  margin-top: 3rem !important;
}

.why-suphero-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-suphero-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

/* Testimonial Section */
.testimonial-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.testimonial-box {
  background: linear-gradient(135deg, rgb(247 247 247 / 72%) 0%, rgb(175 175 175 / 8%) 100%);
  border: 1px solid rgba(200, 200, 200, 0.3);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
}

.testimonial-text {
  font-size: 1rem;
  color: #666;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 1.2rem;
}

/* CTA Section */
.cta-section {
  padding-top: 40px !important;
}

.cta-wrapper {
  background: linear-gradient(135deg, rgb(247 247 247 / 72%) 0%, rgb(175 175 175 / 8%) 100%);
  border: 1px solid rgba(200, 200, 200, 0.3);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 200px repeat(3, 1fr);
    min-width: 700px;
  }
  
  .hero-title-gradient {
    font-size: 1.8rem;
    line-height: 36px;
  }
  
  .section-title-gradient {
    font-size: 1.2rem;
    line-height: 36px;
  }
  
  .pricing-table {
    min-width: 700px;
  }
}

@media (max-width: 576px) {
  .hero-title-gradient {
    font-size: 1.5rem;
    line-height: 32px;
  }
  
  .testimonial-box {
    padding: 1.5rem;
  }
}

/* Accessibility Improvements */
.visually-hidden-focusable:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 1em;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

/* SEO Intro Section */
.seo-intro {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #414141;
  font-weight: 400;
  text-align: center;
  margin: 0;
  padding: 2rem 0;
  position: relative;
  padding-left: 60px;
  padding-right: 60px;
}

.seo-intro::before {
  content: '"';
  font-size: 6rem;
  color: #d0d0d0;
  position: absolute;
  left: 0;
  top: 0px;
  font-family: Georgia, serif;
  line-height: 1;
  font-weight: 700;
  opacity: 0.3;
}

.seo-intro::after {
  content: '"';
  font-size: 6rem;
  color: #d0d0d0;
  position: absolute;
  right: 0;
  bottom: -60px;
  font-family: Georgia, serif;
  line-height: 1;
  font-weight: 700;
  opacity: 0.3;
}

.seo-intro a {
  color: inherit !important;
  text-decoration: none !important;
  font-weight: inherit;
  border-bottom: none !important;
}

.seo-intro a:hover {
  color: inherit !important;
  border-bottom: none !important;
  text-decoration: none !important;
}

@media (max-width: 768px) {
  .seo-intro {
    font-size: 1rem;
    padding: 1.5rem 0;
  }
}

/* SEO-Friendly Internal Links - All links inherit color, no changes */
a[href*="pricing.html"],
a[href*="hero-ai-agent.html"],
a[href*="live-chat.html"],
a[href*="visitor-analytics.html"],
a[href*="widget-customization.html"],
a[href*="agents.html"] {
  color: inherit !important;
  text-decoration: none !important;
  border-bottom: none !important;
}

a[href*="pricing.html"]:hover,
a[href*="hero-ai-agent.html"]:hover,
a[href*="live-chat.html"]:hover,
a[href*="visitor-analytics.html"]:hover,
a[href*="widget-customization.html"]:hover,
a[href*="agents.html"]:hover {
  color: inherit !important;
  text-decoration: none !important;
  border-bottom: none !important;
}

/* Internal links in paragraphs */
.accordion-body a,
.lead a,
p a {
  color: inherit !important;
  text-decoration: none !important;
  font-weight: inherit;
  border-bottom: none !important;
}

.accordion-body a:hover,
.lead a:hover,
p a:hover {
  color: inherit !important;
  border-bottom: none !important;
  text-decoration: none !important;
}

/* Internal links in headings */
h3 a,
h4 a {
  color: inherit !important;
  text-decoration: none !important;
}

h3 a:hover,
h4 a:hover {
  color: inherit !important;
  text-decoration: none !important;
}

/* Feature list links */
.d-flex a {
  color: inherit !important;
  text-decoration: none !important;
}

.d-flex a:hover {
  color: inherit !important;
  text-decoration: none !important;
}

/* Print Styles */
@media print {
  .pricing-comparison-wrapper {
    overflow: visible;
  }
  
  .pricing-table {
    min-width: 100%;
  }
  
  a {
    text-decoration: underline;
  }
}

