/* Request Demo — simple visual email workflow */

.demo-hero {
  margin-bottom: 32px;
}

.demo-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-bottom: 48px;
}

.demo-flow-card {
  width: 100%;
  max-width: 420px;
  text-align: center;
  background: #fff;
  border: 1px solid #d9dfeb;
  border-radius: 12px;
  padding: 24px 20px;
  box-shadow: 0 2px 8px rgba(15, 39, 68, 0.04);
}

.demo-flow-card--highlight {
  border-color: #163c8a;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.demo-flow-card--success {
  border-color: #1a7f37;
  background: linear-gradient(180deg, #f6fff8 0%, #fff 100%);
}

.demo-flow-icon {
  display: block;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 12px;
}

.demo-flow-card h2 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  color: #0f2744;
  font-weight: 700;
}

.demo-flow-meta {
  margin: 0;
  font-size: 15px;
  color: #475569;
  font-weight: 500;
}

.demo-flow-email {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  word-break: break-word;
}

.demo-flow-email a {
  font-weight: 700;
  color: #163c8a;
}

.demo-flow-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.demo-flow-tags li {
  margin: 0;
  padding: 6px 12px;
  font-size: 13px;
  color: #163c8a;
  background: #eef2f7;
  border-radius: 999px;
  font-weight: 600;
}

.demo-flow-arrow {
  padding: 6px 0;
  font-size: 1.5rem;
  line-height: 1;
  color: #94a3b8;
  font-weight: 700;
}

.demo-compose-email {
  border: 1px solid #d0d7de;
  border-radius: 10px;
  background: #fff;
  padding: 20px;
  font-size: 14px;
  line-height: 1.55;
  color: #1f2328;
}

.demo-compose-row {
  margin: 0 0 10px;
}

.demo-compose-row strong {
  display: inline-block;
  min-width: 5.5rem;
  color: #57606a;
  font-weight: 600;
}

.demo-compose-body {
  margin: 14px 0 0;
  padding: 14px;
  background: #f6f8fa;
  border: 1px solid #d0d7de;
  border-radius: 6px;
  white-space: pre-wrap;
}

.demo-compose-attachment {
  margin-top: 12px;
  padding: 10px 12px;
  background: #eef2f7;
  border-radius: 6px;
  font-size: 13px;
  color: #0f2744;
}

.demo-sample-intro {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.55;
  color: #475569;
}

.demo-sample-report {
  border: 1px solid #d0d7de;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.demo-sample-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: #f6f8fa;
  border-bottom: 1px solid #d0d7de;
}

.demo-sample-filename {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  font-weight: 600;
  color: #0f2744;
}

.demo-sample-pre {
  margin: 0;
  padding: 16px;
  max-height: 420px;
  overflow: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  line-height: 1.45;
  color: #1f2328;
  background: #fff;
  white-space: pre-wrap;
  word-break: break-word;
}

.demo-sample-report .message {
  margin: 0;
  padding: 0 16px 12px;
  min-height: 0;
}

.demo-example-label {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  color: #0f2744;
}

.demo-example-label--spaced {
  margin-top: 28px;
}

.demo-photo-steps {
  margin: 0 0 16px;
  padding-left: 1.25rem;
  font-size: 14px;
  line-height: 1.55;
  color: #475569;
}

.demo-photo-steps li + li {
  margin-top: 8px;
}

.demo-sample-download {
  margin: 0 0 16px;
}

.demo-sample-download .button-link {
  display: inline-block;
  margin-bottom: 16px;
  text-decoration: none;
}

.demo-sample-preview {
  display: block;
  width: 100%;
  max-width: 620px;
  height: auto;
  border: 1px solid #d0d7de;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(15, 39, 68, 0.08);
}

.demo-check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.demo-check-list li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 15px;
  line-height: 1.5;
  color: #334155;
}

.demo-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #1a7f37;
  font-weight: 700;
}

.demo-notes {
  margin: 0;
  padding: 18px 20px;
  background: #f8fafc;
  border: 1px solid #d9dfeb;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
}

.demo-notes li + li {
  margin-top: 8px;
}

.demo-verify-panel h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  color: #0f2744;
  font-weight: 700;
}

.demo-verify-panel {
  margin-bottom: 32px;
}

.demo-verified-banner {
  margin: 0 0 28px;
  padding: 14px 16px;
  border-radius: 8px;
  background: #f6fff8;
  border: 1px solid #1a7f37;
  color: #14532d;
  font-size: 15px;
  font-weight: 600;
}

.hidden {
  display: none !important;
}

@media (min-width: 720px) {
  .demo-flow {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
    gap: 8px;
  }

  .demo-flow-card {
    flex: 1 1 0;
    max-width: 220px;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .demo-flow-arrow {
    flex: 0 0 auto;
    align-self: center;
    padding: 0 2px;
    font-size: 0;
  }

  .demo-flow-arrow::before {
    content: "→";
    font-size: 1.25rem;
    color: #94a3b8;
    font-weight: 700;
  }
}
