/* ==========================================================================
   GenDiligence Demo Page Styles (100% Wix Parity)
   ========================================================================== */

/* Page Background */
body.demo-page {
  background-color: #f7fafc;
  color: #05345B;
  font-family: var(--font-body);
}

/* Hero Section */
.demo-hero-section {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f4f8fa 100%);
  padding: 72px 24px 60px;
  text-align: center;
  border-bottom: 1px solid rgba(5, 52, 91, 0.06);
}

.demo-hero-container {
  max-width: 860px;
  margin: 0 auto;
}

.demo-main-title {
  font-family: var(--font-serif);
  font-size: 58px;
  font-weight: 400;
  color: var(--primary);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.demo-subtitle {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 500;
  color: var(--primary);
  line-height: 1.35;
  margin-bottom: 24px;
}

.demo-lead-description {
  font-size: 16.5px;
  line-height: 1.7;
  color: #2e4459;
  max-width: 720px;
  margin: 0 auto 36px;
}

.demo-lead-description p {
  margin-bottom: 10px;
}

.demo-lead-description .trial-emphasis {
  font-weight: 700;
  color: var(--primary);
  font-size: 17.5px;
  margin-top: 14px;
}

.demo-hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.btn-lg {
  font-size: 1.1rem;
  padding: 14px 34px;
  font-weight: 600;
}

/* Walkthrough Modules Showcase */
.demo-showcase-section {
  padding: 60px 20px 80px;
}

.demo-cards-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.demo-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 44px;
  box-shadow: 0 10px 30px rgba(5, 52, 91, 0.06);
  border: 1px solid rgba(5, 52, 91, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.demo-card:hover {
  box-shadow: 0 16px 40px rgba(5, 52, 91, 0.10);
}

.demo-card-header {
  text-align: center;
  margin-bottom: 28px;
}

.demo-card-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 400;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.25;
}

.demo-card-title .title-num {
  color: #20C997;
  font-weight: 600;
}

.demo-card-subtitle {
  font-family: var(--font-heading);
  font-size: 16px;
  line-height: 1.6;
  color: #3b5062;
  max-width: 760px;
  margin: 0 auto;
}

/* Video Wrapper */
.demo-video-wrapper {
  position: relative;
  width: 100%;
  max-width: 820px;
  margin: 0 auto 22px;
  border-radius: 14px;
  overflow: hidden;
  background-color: #05345B;
  box-shadow: 0 14px 36px rgba(5, 52, 91, 0.14);
}

.demo-video-wrapper video {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background-color: #05345B;
}

/* Narration Collapsible Box */
.demo-narration-box {
  max-width: 820px;
  margin: 0 auto 20px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fdfefe;
  overflow: hidden;
}

.narration-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  transition: background-color 0.15s ease;
}

.narration-toggle:hover {
  background-color: #f8fafc;
}

.narration-toggle .toggle-icon {
  margin-right: 8px;
}

.narration-toggle .chevron {
  font-size: 11px;
  color: #64748b;
  transition: transform 0.25s ease;
}

.narration-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.demo-narration-box.active .narration-content {
  max-height: 800px;
}

.demo-narration-box.active .chevron {
  transform: rotate(180deg);
}

.narration-inner {
  padding: 14px 20px 20px;
  font-size: 15px;
  line-height: 1.7;
  color: #334d61;
  border-top: 1px solid #f1f5f9;
}

.narration-inner p {
  margin-bottom: 12px;
}

.narration-inner p:last-child {
  margin-bottom: 0;
}

/* Security Badge Wrap */
.demo-security-wrap {
  text-align: center;
  margin-top: 10px;
}

.security-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
  padding: 7px 16px;
  border-radius: 20px;
  background: rgba(5, 52, 91, 0.04);
  transition: all 0.2s ease;
}

.security-badge:hover {
  background: rgba(32, 201, 151, 0.12);
  color: #07477b;
}

/* Section Common Headers */
.demo-section-header {
  text-align: center;
  margin-bottom: 44px;
}

.badge-pill {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 16px;
  border-radius: 20px;
  background: rgba(32, 201, 151, 0.14);
  color: #0f865f;
  margin-bottom: 12px;
}

.section-title-serif {
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 400;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-subtitle-outfit {
  font-family: var(--font-heading);
  font-size: 18px;
  color: #536b82;
  line-height: 1.5;
}

/* Pricing and Offers Section */
.demo-pricing-section {
  padding: 80px 20px 90px;
  background: #ffffff;
}

.pricing-container {
  max-width: 1100px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Wix Coupon Banner (comp-mf23b832) */
.wix-coupon-banner {
  background-color: rgb(255, 244, 214); /* #FFF4D6 */
  border-radius: 10px;
  box-shadow: 0.00px 1.00px 24px 6px rgba(193, 204, 214, 0.6);
  padding: 24px 32px 16px;
  margin: 0 auto 38px auto;
  max-width: 1100px;
  box-sizing: border-box;
}

.wix-coupon-label {
  font-family: var(--font-heading);
  font-size: 14px;
  line-height: 1.4;
  color: #05345B;
  text-align: center;
  margin: 0 0 6px 0;
}

.wix-coupon-code {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: #446784;
  text-align: center;
  margin: 0 0 16px 0;
  cursor: pointer;
  display: block;
  width: 100%;
  transition: opacity 0.2s ease, transform 0.15s ease;
  letter-spacing: 0.5px;
}

.wix-coupon-code:hover {
  transform: scale(1.02);
  opacity: 0.88;
}

.wix-coupon-urgency {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: #05345B;
  text-align: center;
  margin: 0 0 12px 0;
  line-height: 1.35;
}

.wix-coupon-terms {
  font-family: var(--font-heading);
  font-size: 12px;
  color: #05345B;
  text-align: right;
  margin: 8px 0 0 0;
}

/* Wix Billing Tabs (comp-mewwvp3y) */
.wix-billing-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 0 auto 32px auto;
  flex-wrap: wrap;
}

.wix-tab-btn {
  background-color: #40CF8E;
  color: #05345B;
  border-radius: 99px;
  border: none;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 30px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 2.83px 2.83px 15px 3px rgba(0, 0, 0, 0);
  outline: none;
}

.wix-tab-btn:hover {
  background-color: #05345B;
  color: #FFFFFF;
}

.wix-tab-btn.active {
  background-color: #05345B;
  color: #FFFFFF;
}

/* Wix Single Centered Plan Card (comp-mewwvp4v1 / comp-mewwvp611) */
.wix-plan-card-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
}

.wix-plan-card {
  width: 303px;
  max-width: 100%;
  background-color: #FFFFFF;
  border: 1px solid rgba(64, 207, 142, 0.91);
  border-radius: 20px;
  box-shadow: 0.00px 4.00px 20px 4px rgba(64, 207, 142, 0.49);
  padding: 30px 24px 34px;
  box-sizing: border-box;
  text-align: center;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wix-plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0.00px 8.00px 28px 6px rgba(64, 207, 142, 0.6);
}

.wix-plan-name {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: #05345B;
  margin: 0 0 6px 0;
  text-align: center;
}

.wix-save-badge {
  display: inline-block;
  background-color: #05345B;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: 99px;
  margin: 0 auto 8px auto;
  letter-spacing: 0.04em;
}

.wix-plan-price-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 6px;
}

.wix-plan-price-val {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: #05345B;
  line-height: 1.2;
  margin: 0;
}

.wix-plan-price-cycle {
  font-family: var(--font-heading);
  font-size: 18px;
  color: #05345B;
  font-weight: 400;
}

.wix-plan-desc {
  font-family: var(--font-heading);
  font-size: 14px;
  color: #05345B;
  margin: 0 0 24px 0;
  text-align: center;
}

.wix-plan-cta-btn {
  background: #40CF8E;
  color: #05345B;
  border-radius: 46px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 220px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  text-decoration: none;
  box-shadow: 1.41px 1.41px 4px 2px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
  margin-bottom: 28px;
  letter-spacing: 0.05em;
  border: 2px solid transparent;
}

.wix-plan-cta-btn:hover {
  background: transparent;
  border-color: #05345B;
  color: #05345B;
}

.wix-plan-cta-btn svg {
  transition: transform 0.2s ease;
}

.wix-plan-cta-btn:hover svg {
  transform: translateX(3px);
}

.wix-plan-features {
  list-style: none;
  padding: 0 6px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}

.wix-plan-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 14px;
  color: #05345B;
  line-height: 1.4;
}

.wix-feature-check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

/* Pricing Legal Footnote */
.pricing-footnote {
  font-family: var(--font-heading);
  font-size: 12px;
  line-height: 1.6;
  color: #05345B;
  text-align: center;
  max-width: 980px;
  margin: 36px auto 0 auto;
  opacity: 0.85;
}

/* Testimonial Section */
.demo-testimonial-section {
  padding: 80px 20px;
  background: #f8fafc;
  border-top: 1px solid rgba(5, 52, 91, 0.06);
}

.testimonial-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 44px 50px;
  margin-top: 36px;
  box-shadow: 0 12px 32px rgba(5, 52, 91, 0.05);
  border: 1px solid rgba(5, 52, 91, 0.07);
  position: relative;
}

.quote-mark {
  font-family: Georgia, serif;
  font-size: 72px;
  line-height: 1;
  color: #20C997;
  margin-bottom: -16px;
  opacity: 0.7;
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-size: 21px;
  line-height: 1.6;
  color: var(--primary);
  font-style: italic;
  margin-bottom: 28px;
}

.testimonial-author .author-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}

.testimonial-author .author-role {
  font-size: 14px;
  color: #64748b;
  margin-top: 3px;
}

/* Partners Section */
.demo-partners-section {
  padding: 50px 20px 60px;
  background: #ffffff;
  border-top: 1px solid rgba(5, 52, 91, 0.06);
}

.partners-heading {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  margin-bottom: 30px;
  text-align: center;
}

.partner-logos-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.partner-logo {
  height: 38px;
  width: auto;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.partner-logo:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* FAQ Section */
.demo-faq-section {
  padding: 80px 20px 100px;
  background: #f8fafc;
  border-top: 1px solid rgba(5, 52, 91, 0.06);
}

.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 14px rgba(5, 52, 91, 0.05);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  text-align: left;
}

.faq-chevron {
  color: #64748b;
  transition: transform 0.25s ease;
  flex-shrink: 0;
  margin-left: 14px;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: #20C997;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

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

.faq-answer p {
  padding: 0 24px 22px;
  font-size: 15.5px;
  line-height: 1.65;
  color: #475569;
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 52, 91, 0.65);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 520px;
  padding: 38px 40px;
  box-shadow: 0 20px 50px rgba(5, 52, 91, 0.25);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 26px;
  color: #64748b;
  cursor: pointer;
}

.modal-header h3 {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 8px;
}

.modal-header p {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 15px;
  color: var(--primary);
  font-family: inherit;
}

.form-control:focus {
  outline: none;
  border-color: #20C997;
  box-shadow: 0 0 0 3px rgba(32, 201, 151, 0.2);
}

.booking-result {
  margin-top: 14px;
  font-size: 14px;
  text-align: center;
}

.booking-result.success {
  color: #0f865f;
  font-weight: 600;
}

.booking-result.error {
  color: #dc2626;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .demo-main-title {
    font-size: 40px;
  }
  .demo-card {
    padding: 24px;
  }
  .demo-card-title {
    font-size: 25px;
  }
  .wix-coupon-banner {
    padding: 20px 16px 14px;
  }
  .wix-coupon-urgency {
    font-size: 16px;
  }
  .wix-coupon-terms {
    text-align: center;
  }
  .wix-plan-card {
    width: 100%;
    max-width: 320px;
  }
  .wix-tab-btn {
    padding: 8px 20px;
    font-size: 13px;
  }
}
