/* Comparison Page: Indigo e-Sign vs LawGeex */
body {
  background-color: #fff;
  font-family: "Celias", sans-serif;
  font-feature-settings: "ss11" on;
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.compare-hero-section h1,
.cta-box h3 {
  font-family: "Celias", "Inter", system-ui, sans-serif !important;
}

/* Premium Dark Hero Banner */
.compare-hero-section {
  background: linear-gradient(135deg, #1e1b4b 0%, #2f116f 50%, #4c1d95 100%);
  color: #ffffff;
  padding: 4rem 1.5rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.compare-hero-section::after {
  content: "";
  position: absolute;
  top: -40%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.25) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: 1;
  pointer-events: none;
}

.compare-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.compare-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 18px;
  border-radius: 99px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #e0e7ff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.compare-hero-section h1 {
  font-size: clamp(2rem, 1.5rem + 2.5vw, 3.25rem);
  line-height: 1.18;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.compare-hero-section p.hero-intro {
  font-size: clamp(1.05rem, 1rem + 0.5vw, 1.25rem);
  color: #cbd5e1;
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-cta-btns {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-gradient-primary {
  background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
  color: #ffffff !important;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  box-shadow: 0 10px 25px rgba(124, 58, 237, 0.35);
  transition: all 0.25s ease;
  text-decoration: none !important;
}

.btn-gradient-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(124, 58, 237, 0.5);
}

.btn-outline-white {
  background: transparent;
  color: #ffffff !important;
  padding: 13px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.25s ease;
  text-decoration: none !important;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

/* Main Container & Section Layout */
.compare-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.content-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 2.5rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.section-title {
  font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem);
  color: #0f172a;
  margin-bottom: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
}

.prose-text p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 1.25rem;
}

.prose-text strong {
  color: #0f172a;
  font-weight: 600;
}

/* Timeline Box */
.timeline-box {
  background: #f8fafc;
  border-left: 4px solid #7c3aed;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.timeline-item {
  margin-bottom: 1rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-date {
  font-weight: 700;
  color: #5b21b6;
}

/* Comparison Table Styling */
.table-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  text-align: left;
  min-width: 650px;
}

.compare-table caption {
  caption-side: top;
  text-align: left;
  font-size: 0.9rem;
  font-weight: 600;
  color: #64748b;
  padding: 12px 20px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.compare-table th {
  padding: 18px 24px;
  font-size: 1rem;
  font-weight: 700;
  border-bottom: 2px solid #e2e8f0;
}

.compare-table th.col-feature {
  width: 28%;
  background: #f8fafc;
  color: #334155;
}

.compare-table th.col-indigo {
  width: 36%;
  background: linear-gradient(135deg, #2f116f 0%, #4c1d95 100%);
  color: #ffffff;
}

.compare-table th.col-lawgeex {
  width: 36%;
  background: #0f172a;
  color: #ffffff;
}

.compare-table td {
  padding: 16px 24px;
  font-size: 0.95rem;
  line-height: 1.6;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.compare-table td.col-feature-title {
  font-weight: 600;
  color: #1e293b;
  background: #fafafa;
}

.compare-table td.col-indigo-val {
  background: #f5f3ff;
  color: #2e1065;
  font-weight: 500;
}

.compare-table td.col-lawgeex-val {
  background: #ffffff;
  color: #475569;
}

.tag-badge-green {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #d1fae5;
  color: #065f46;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 3px 10px;
  border-radius: 20px;
}

.tag-badge-red {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #fee2e2;
  color: #991b1b;
  font-weight: 600;
  font-size: 0.8rem;
  padding: 3px 10px;
  border-radius: 20px;
}

/* Migration Cards Grid */
.migration-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 1.5rem 0;
}

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

.migration-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem;
}

.migration-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.75rem;
}

.migration-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 0;
}

/* Pricing Table */
.pricing-table-wrapper {
  overflow-x: auto;
  margin: 1.5rem 0;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
}

.pricing-table th {
  background: #f8fafc;
  padding: 14px 20px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e293b;
  border-bottom: 2px solid #e2e8f0;
}

.pricing-table td {
  padding: 16px 20px;
  font-size: 0.95rem;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
}

.pricing-table tr.highlight-row {
  background: #f5f3ff;
}

.pricing-table tr.highlight-row td {
  font-weight: 600;
  color: #4c1d95;
}

/* Mid CTA Banner */
.cta-box {
  background: linear-gradient(135deg, #2f116f 0%, #4f46e5 100%);
  color: #ffffff;
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  margin: 3rem 0;
  box-shadow: 0 15px 35px rgba(79, 70, 229, 0.25);
}

.cta-box h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffffff;
}

.cta-box p {
  font-size: 1.1rem;
  color: #e0e7ff;
  margin-bottom: 1.75rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* FAQ Accordion Styling */
.faq-accordion-custom {
  margin-top: 1.5rem;
}

.faq-card-custom {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-card-custom:hover {
  border-color: #cbd5e1;
}

.faq-header-custom {
  padding: 18px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 1.05rem;
  color: #0f172a;
  user-select: none;
}

.faq-header-custom .toggle-icon {
  font-size: 1.25rem;
  color: #7c3aed;
  transition: transform 0.3s ease;
}

.faq-body-custom {
  padding: 0 24px 20px;
  font-size: 0.98rem;
  line-height: 1.7;
  color: #475569;
}

.disclaimer-footer-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem;
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.6;
  margin-top: 3rem;
}
