/* Demo and testimonials page styles */

.demo-page,
.budget-tracking-page {
  width: min(var(--max-width), 100% - 40px);
  margin: 28px auto 72px;
}

.demo-header {
  border-radius: 20px;
  background: linear-gradient(135deg, #1d9e75 0%, #085041 100%);
  color: #fff;
  padding: clamp(42px, 7vw, 82px) 28px;
  text-align: center;
}

.demo-header h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 50px);
  color: #fff;
  line-height: 1.1;
}

.demo-header p {
  max-width: 720px;
  margin: 14px auto 0;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.95);
}

.demo-timeline {
  margin-top: 48px;
  display: grid;
  gap: 14px;
}

.timeline-step {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  align-items: start;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 20px;
}

.timeline-time {
  border-radius: 999px;
  background: rgba(29, 158, 117, 0.1);
  color: var(--color-teal-dark);
  font-weight: 600;
  font-size: 13px;
  text-align: center;
  padding: 8px 12px;
}

.timeline-content h3 {
  margin: 0;
  color: var(--color-custom-gray);
  font-size: 20px;
}

.timeline-content p {
  margin: 8px 0 0;
  color: var(--color-muted);
  line-height: 1.75;
}

.demo-section {
  margin-top: 56px;
}

.demo-section-title {
  margin: 0 0 24px;
  text-align: center;
  color: var(--color-custom-gray);
  font-size: clamp(24px, 3.1vw, 32px);
}

.features-showcase,
.demo-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.reason-card,
.feature-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 22px;
}

.reason-card {
  text-align: center;
}

.reason-card i,
.feature-card i {
  font-size: 34px;
  color: var(--color-custom-green);
}

.reason-card h4,
.feature-card h4 {
  margin: 10px 0 8px;
  color: var(--color-custom-gray);
}

.reason-card p,
.feature-card p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.7;
}

.demo-cta,
.bt-cta {
  margin-top: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, #1d9e75 0%, #085041 100%);
  color: #fff;
  text-align: center;
  padding: 38px 24px;
}

.demo-cta h2,
.bt-cta h3 {
  margin: 0;
  color: #fff;
}

.demo-cta p,
.bt-cta p {
  max-width: 740px;
  margin: 10px auto 0;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.75;
}

.demo-cta .btn,
.bt-cta .btn {
  margin-top: 16px;
}

.bt-hero {
  border-radius: 20px;
  background: linear-gradient(135deg, #1d9e75 0%, #085041 100%);
  color: #fff;
  padding: clamp(38px, 6.4vw, 72px) 24px;
  text-align: center;
}

.bt-hero-inner h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
}

.bt-hero-inner p {
  margin: 12px auto 0;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.7;
}

.bt-metrics {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.bt-metric {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  padding: 14px;
}

.bt-metric .value {
  font-size: clamp(28px, 4vw, 38px);
  font-family: var(--font-display);
  line-height: 1;
}

.bt-metric .label {
  margin-top: 6px;
  font-size: 13px;
}

.bt-section {
  margin-top: 48px;
}

.bt-section h2 {
  margin: 0;
  text-align: center;
  color: var(--color-custom-gray);
  font-size: clamp(25px, 3.2vw, 34px);
}

.bt-sub {
  margin: 8px auto 0;
  max-width: 720px;
  text-align: center;
  color: var(--color-muted);
}

.bt-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.bt-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 20px;
}

.bt-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bt-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-custom-green);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  flex-shrink: 0;
}

.bt-name {
  margin: 0;
  color: var(--color-custom-green);
  font-size: 16px;
}

.bt-role {
  margin: 2px 0 0;
  color: var(--color-muted);
  font-size: 13px;
}

.bt-stars {
  margin-top: 12px;
  color: var(--color-custom-green);
  display: flex;
  gap: 2px;
}

.bt-stars i {
  font-size: 14px;
}

.bt-quote {
  margin: 10px 0 0;
  color: var(--color-custom-gray);
  font-style: italic;
  line-height: 1.75;
}

@media (max-width: 980px) {
  .features-showcase,
  .demo-features,
  .bt-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bt-metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .demo-page,
  .budget-tracking-page {
    width: min(var(--max-width), 100% - 24px);
    margin-top: 16px;
  }

  .demo-header,
  .bt-hero,
  .demo-cta,
  .bt-cta {
    border-radius: 14px;
  }

  .timeline-step {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .features-showcase,
  .demo-features,
  .bt-grid {
    grid-template-columns: 1fr;
  }

}
