/* Custom styles for StatMotive Comparison Page (compare.html) */

/* Hero comparison sections container */
.compare-container {
  width: 100%;
  margin-top: 88px;
  padding: 64px 163px 128px;
}

/* Switcher Tab Layout */
.switcher-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 30px auto 66px;
}

.compare-switcher {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 4px;
  gap: 8px;
  height: 44px;
  background: #262626;
  box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.5);
  border-radius: 16px;
  width: 100%;
  max-width: 800px;
}

.compare-tab {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 7px 12px;
  flex: 1;
  height: 36px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.compare-tab span {
  font-family: 'Satoshi-Bold', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: -0.18px;
  color: #A3A3A3;
  transition: color 0.3s;
}

/* Active tab style */
.compare-tab.active {
  background: linear-gradient(180deg, #191919 0%, #121212 100%);
  border: 1px solid #737373;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4);
}

.compare-tab.active span {
  font-weight: 700;
  color: #FAFAFA;
}

/* Hero Section */
.compare-hero .container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 40px;
  padding: 0;
  /* Prevent double-padding inside .compare-container */
}

.compare-hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  text-align: left;
  padding-top: 100px;
}

.compare-hero {
  text-align: left;
  margin-bottom: 110px;
  width: 100%;
}

.compare-hero-title {
  font-family: 'Satoshi-Bold', sans-serif;
  font-weight: 700;
  font-size: 64px;
  line-height: 68px;
  letter-spacing: -0.5px;
  color: #FAFAFA;
  margin-bottom: 0;
  text-align: left;
}

.compare-hero-title span.vs {
  color: #A3A3A3;
  margin: 0 12px;
}

.compare-hero-subtitle {
  font-family: 'Satoshi-Medium', sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 30px;
  letter-spacing: -0.15px;
  color: #A3A3A3;
  margin: 0;
  text-align: left;
}

.compare-hero-image {
  position: relative;
  width: 296px;
  max-width: 100%;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.compare-phone-mockup {
  width: 296px;
  max-width: 100%;
  height: 500px;
  position: relative;
  border-radius: 36px;
  background: #000;
  /* Realistic bezel */
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.8), inset 0px 0px 4px rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.compare-hero-image .compare-phone-mockup .compare-phone-screen {
  width: 100%;
  height: 100%;
  background-color: var(--bg-dark);
  background-image: url("./images/compare-outlier.png");
  background-size: cover;
  background-position: top center;
}

.compare-meta-box {
  display: inline-block;
  padding: 6px 16px;
  background: #171717;
  box-shadow: 0px 0px 2px rgba(175, 175, 175, 0.37);
  border-radius: 8px;
  font-family: 'Satoshi-Medium', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #A3A3A3;
  text-align: center;
}

.compare-meta-box span.compareDate {
  color: #FAFAFA;
}

.compare-meta-box span.compareAuthor {
  color: #FAFAFA;
}

/* Feature Grid Cards */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-bottom: 128px;
}

.compare-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
  gap: 16px;
  background: #171717;
  border: 1px solid #262626;
  border-radius: 8px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.compare-card:hover {
  transform: translateY(-2px);
  border-color: #404040;
}

.compare-card-tag {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4px 10px;
  background: #262626;
  border-radius: 4px;
  font-family: 'Satoshi-Bold', sans-serif;
  font-weight: 700;
  font-size: 12px;
  line-height: 16px;
  color: #FAFAFA;
}

.compare-card-title {
  font-family: 'Satoshi-Bold', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  color: #FAFAFA;
}

.compare-card-body {
  font-family: 'Satoshi-Medium', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #A3A3A3;
}

/* Detailed Comparison Paragraph Block */
.compare-details-section {
  padding-bottom: 128px;
}

.section-tag-wrapper {
  text-align: center;
  margin-bottom: 24px;
}

.compare-section-title {
  font-family: 'Satoshi-Bold', sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 48px;
  text-align: center;
  letter-spacing: -0.3px;
  color: #FAFAFA;
  margin-bottom: 64px;
}

.compare-section-subtitle {
  font-family: 'Satoshi-Medium', sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 28px;
  text-align: center;
  color: #A3A3A3;
  margin-top: 16px;
}

.compare-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 0 auto;
}

.compare-paragraphs p {
  font-family: 'Satoshi-Medium', sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 30px;
  letter-spacing: -0.15px;
  color: #A3A3A3;
}


.compare-paragraphs p span.lightgbm {
  color: #FAFAFA;
}

/* Feature Comparison Table */
.comparison-table-wrapper {
  width: 100%;
  margin: 40px auto 0;
  border: 1px solid #404040;
  border-radius: 8px;
  overflow: hidden;
  background: #171717;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th {
  padding: 12px 16px;
  font-family: 'Satoshi-Bold', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: -0.18px;
  color: #D4D4D4;
  background: #262626;
  border-bottom: 1px solid #404040;
}

.comparison-table th:first-child {
  width: 40%;
}

.comparison-table th.highlight-col,
.comparison-table td.highlight-col {
  width: 30%;
  background: #121212;
  color: #FAFAFA;
}

.comparison-table th.comp-col,
.comparison-table td.comp-col {
  width: 30%;
}

.comparison-table td {
  padding: 12px 16px;
  font-family: 'Satoshi-Bold', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: -0.18px;
  color: #D4D4D4;
  border-bottom: 1px solid #404040;
  vertical-align: top;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.cell-content-wrapper {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 8px;
}

.status-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

.cell-text {
  font-family: 'Satoshi-Bold', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: -0.18px;
}

/* Mobile Comparison Cards (Hidden by default) */
.comparison-mobile-cards {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  padding: 0px;
  gap: 20px;
  width: 100%;
}

.mobile-feature-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0px;
  width: 100%;
  background: #171717;
  border: 1px solid #404040;
  border-radius: 4px;
  overflow: hidden;
}

.mobile-card-header {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 7px 16px;
  width: 100%;
  height: 36px;
  background: #262626;
  border-bottom: 1px solid #404040;
  font-family: 'Satoshi-Bold', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: -0.18px;
  color: #FAFAFA;
}

.mobile-row-label {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 7px 16px;
  width: 100%;
  height: 34px;
  background: #171717;
  font-family: 'Satoshi-Bold', sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.16px;
  color: #D4D4D4;
}

.mobile-row-value {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 10px 16px;
  gap: 8px;
  width: 100%;
  background: #121212;
}

.mobile-value-text {
  font-family: 'Satoshi-Medium', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.16px;
  color: #FAFAFA;
}

/* Competitor value text color adjustment */
.competitor-card .mobile-value-text {
  color: #D4D4D4;
  font-family: 'Satoshi-Bold', sans-serif;
  font-weight: 700;
}

/* Pricing Section Side-By-Side */
.pricing-comparison-grid {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0px;
  gap: 24px;
  margin: 40px auto 0;
}

.pricing-comparison-card {
  box-sizing: border-box;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  gap: 24px;
  border-radius: 12px;
}

.pricing-comparison-card.statmotive-card {
  height: 214px;
  background: linear-gradient(180deg, #191919 0%, #121212 100%);
  border: 1px solid #A0AEC0;
}

.pricing-comparison-card.competitor-card {
  height: 136px;
  background: #121212;
  border: 1px solid #404040;
}

.price-card-main-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0px;
  gap: 20px;
  align-self: stretch;
}

.price-brand-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0px;
  gap: 16px;
  align-self: stretch;
  height: 16px;
}

.price-brand-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-brand-name {
  font-family: 'Oxanium', sans-serif;
  font-weight: 600;
  font-size: 21px;
  /* 20.9455px */
  line-height: 26px;
  text-transform: uppercase;
  background: linear-gradient(177.58deg, rgba(255, 255, 255, 0.8) -31.03%, #E2E8F0 57.68%, #A0AEC0 96.07%, rgba(0, 0, 0, 0.18) 114.76%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-top: -3px;
  /* visual center alignment */
}

.price-card-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0px;
  height: 30px;
  align-self: stretch;
}

.price-competitor-name {
  font-family: 'Satoshi-Bold', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 30px;
  letter-spacing: -0.15px;
  color: #FAFAFA;
}

.price-card-plan-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0px;
  gap: 16px;
  align-self: stretch;
  height: 38px;
}

.price-plan-name {
  font-family: 'Satoshi-Bold', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  color: #E5E5E5;
}

.price-amount {
  font-family: 'Satoshi-Bold', sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 38px;
  letter-spacing: -0.2px;
  color: #FAFAFA;
}

.price-card-details-row {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  padding: 0px;
  gap: 20px;
  align-self: stretch;
  height: 28px;
}

.price-details-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0px;
  gap: 12px;
  height: 28px;
}

.price-badge-purple {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 6px 8px;
  gap: 10px;
  background: rgba(152, 3, 181, 0.25);
  border-radius: 8px;
  color: #D623FA;
  font-family: 'Satoshi-Bold', sans-serif;
  font-weight: 500;
  font-size: 12px;
  line-height: 16px;
  text-align: center;
  letter-spacing: -0.12px;
}

.price-badge-save {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 6px 8px;
  gap: 10px;
  background: rgba(4, 55, 28, 0.5);
  border-radius: 8px;
  color: #1FC16B;
  font-family: 'Satoshi-Bold', sans-serif;
  font-weight: 500;
  font-size: 12px;
  line-height: 16px;
  text-align: center;
  letter-spacing: -0.12px;
}

.price-annual-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
  height: 22px;
}

.price-annual-amount {
  font-family: 'Satoshi-Bold', sans-serif;
  font-weight: 700;
  font-size: 12px;
  line-height: 22px;
  letter-spacing: -0.18px;
  color: #FAFAFA;
}

.price-monthly-breakdown {
  font-family: 'Satoshi-Bold', sans-serif;
  font-weight: 700;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: -0.12px;
  color: #A3A3A3;
}

.price-card-divider-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0px;
  gap: 6px;
  width: 100%;
  height: 20px;
  margin: auto auto 0;
  flex: none;
  order: 1;
  flex-grow: 0;
}

.price-card-line {
  width: 75.5px;
  height: 1px;
  background: url("./images/line-end.png") no-repeat center;
  background-size: 100% 100%;
  flex: none;
  order: 0;
  flex-grow: 1;
}

.price-card-line:last-child {
  background: url("./images/line-start.png") no-repeat center;
  background-size: 100% 100%;
  order: 2;
}

.price-card-note {
  font-family: 'Satoshi-Medium', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.16px;
  color: #A3A3A3;
  text-align: center;
  white-space: nowrap;
  width: 325px;
  height: 20px;
  flex: none;
  order: 1;
  flex-grow: 0;
}

/* FAQ Accordion Styling */

.compare-faq-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 8px;
  width: 100%;
  background: #191919;
  border-radius: 8px;
  transition: background 0.3s;
}

.compare-faq-question {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px;
  gap: 6px;
  width: 100%;
  background: #121212;
  box-shadow: 0px 0px 1px rgba(175, 175, 175, 0.37);
  border-radius: 4px;
  border: none;
  cursor: pointer;
  outline: none;
}

.compare-faq-question span.faq-title-text {
  font-family: 'Satoshi-Bold', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: -0.18px;
  color: #FAFAFA;
  text-align: left;
}

.compare-faq-question .faq-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.compare-faq-question .faq-icon svg {
  stroke: #FAFAFA;
}

.compare-faq-answer {
  width: 100%;
  max-height: 0;
  overflow: hidden;
  padding: 0 16px;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.compare-faq-answer p {
  font-family: 'Satoshi-Medium', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  color: #A3A3A3;
  margin-bottom: 8px;
}

/* Open accordion states */
.compare-faq-item.active {
  background: #212121;
}

.compare-faq-item.active .compare-faq-question .faq-icon {
  transform: rotate(90deg);
}

.compare-faq-item.active .compare-faq-answer {
  padding: 12px 16px;
  max-height: 100%;
  /* high limit to enable dynamic transition */
}

/* CTA Section Comparison Page */
.compare-cta-section {
  padding-bottom: 128px;
  width: 100%;
}

.compare-cta-section .container {
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

/* Breadcrumbs Styling */
.breadcrumbs-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0px;
  gap: 8px;
  width: fit-content;
  height: 20px;
  margin-bottom: 48px;
}

.breadcrumb-link {
  font-family: 'Satoshi-Medium', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.16px;
  color: #A3A3A3;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-link:hover {
  color: #FAFAFA;
}

.breadcrumb-separator {
  font-family: 'Satoshi-Medium', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.16px;
  color: #A3A3A3;
}

.breadcrumb-current {
  font-family: 'Satoshi-Bold', sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.16px;
  color: #FAFAFA;
}

/* Responsive CSS rules */
@media only screen and (max-width: 991px) {
  .compare-container {
    padding: 64px 48px 80px;
  }

  .compare-hero .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 90px;
  }

  .compare-hero-content {
    align-items: center;
    text-align: center;
    padding-top: 0px;
  }

  .compare-hero-title {
    text-align: center;
  }

  .compare-hero-subtitle {
    text-align: center;
  }

  .pricing-comparison-grid {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 0px 120px;
  }

  .pricing-comparison-card {
    width: 100%;
  }

  .pricing-comparison-card.statmotive-card,
  .pricing-comparison-card.competitor-card {
    height: auto;
  }
}

@media only screen and (max-width: 767px) {
  .breadcrumbs-container {
    justify-content: center;
    margin: 0 auto 24px;
  }

  .compare-container {
    padding: 64px 24px 60px;
  }

  .compare-switcher {
    height: auto;
    padding: 6px;
  }

  .compare-hero-title {
    font-size: 40px;
    line-height: 46px;
  }

  .compare-hero-subtitle {
    font-size: 16px;
    line-height: 24px;
  }

  .compare-grid {
    grid-template-columns: 1fr;
    margin: 40px auto;
  }

  .compare-paragraphs p {
    font-size: 16px;
    line-height: 26px;
  }

  .compare-section-title {
    font-size: 32px;
    line-height: 40px;
  }

  .comparison-table-wrapper {
    display: none !important;
  }

  .comparison-mobile-cards {
    display: flex !important;
  }

  .pricing-comparison-grid {
    max-width: 100%;
    padding: 0px 20px;
  }
}

@media only screen and (max-width: 479px) {
  .compare-container {
    padding: 48px 16px 40px;
  }

  .switcher-wrapper {
    margin: 40px 0;
  }

  .compare-meta-box {
    font-size: 12px;
  }

  .compare-hero-title {
    font-size: 32px;
    line-height: 38px;
  }

  .compare-section-title {
    font-size: 24px;
    line-height: 30px;
  }

  .price-card-note {
    font-size: 12px;
    line-height: 18px;
    white-space: normal;
    width: auto;
  }

  .price-card-line {
    width: auto;
  }

  .price-plan-name,
  .price-amount {
    font-size: 16px;
    line-height: 20px;
  }

  .comparison-table-wrapper {
    display: none !important;
  }

  .comparison-mobile-cards {
    display: flex !important;
  }

  .price-card-note {
    font-size: 10px;
    line-height: 18px;
    white-space: normal;
    width: auto;
  }

  .price-card-line {
    width: auto;
  }
}

/* Toggling visibility classes based on active state */
.compare-container:not(.state-propscash) .propscash-only {
  display: none !important;
}

.compare-container.state-outlier .propscash-only {
  display: none !important;
}

.compare-container.state-propscash .outlier-only {
  display: none !important;
}

/* Dynamic phone mockup screen toggling */
.compare-container.state-outlier .compare-phone-screen {
  background-image: url("./images/compare-outlier.png");
}

.compare-container.state-propscash .compare-phone-screen {
  background-image: url("./images/compare-outlier.png");
}