/* =====================================================
   DEMO PAGE — demo.css
   ===================================================== */

/* ── Full-page contact section ──────────────────────── */
.demo-section {
  min-height: calc(100vh - 80px); /* fill viewport below nav */
  display: flex;
  align-items: center;
  padding: 80px 0;
  box-sizing: border-box;
}

.demo-container {
  max-width: 1248px;
  margin: 0 auto;
  padding: 0 60px;
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 80px;
  box-sizing: border-box;
}

/* ── Left: text column ──────────────────────────────── */
.demo-text {
  flex: 0 0 40%;
  min-width: 0;
}

.demo-heading {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--senseye-white);
  margin: 0 0 20px;
}

.demo-subheading {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--senseye-white);
  margin: 0 0 20px;
  opacity: 0.6;
}

.demo-text p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--senseye-white);
  margin: 0;
  opacity: 0.9;
}

/* ── Right: form column ─────────────────────────────── */
.demo-form-wrap {
  flex: 1;
  min-width: 0;
}

.demo-form-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--senseye-teal);
  margin: 0 0 24px;
}

.demo-field {
  margin-bottom: 16px;
}

.demo-field label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--senseye-white);
  margin-bottom: 6px;
}

.demo-field .sublabel {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

.demo-field input,
.demo-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  background: var(--senseye-white);
  border: none;
  border-radius: 2px;
  font-size: 16px;
  font-family: 'Source Sans 3', sans-serif;
  color: #333;
}

.demo-field textarea {
  min-height: 120px;
  resize: vertical;
}

.demo-submit {
  display: inline-block;
  padding: 12px 32px;
  background: var(--senseye-teal);
  color: var(--senseye-white);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease;
  margin-top: 8px;
}

.demo-submit:hover {
  background: var(--senseye-navy-deep);
}

/* ── Field error + form status messages ─────────────── */
.field-error {
  display: block;
  font-size: 14px;
  color: #d9534f;
  margin-top: 4px;
}

.form-status-msg {
  text-align: center;
  padding: 40px 0;
}

.form-status-msg p {
  font-size: 18px;
  color: #fff;
  margin: 0;
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 860px) {
  .demo-section {
    padding: 50px 0;
    align-items: flex-start;
  }

  .demo-container {
    flex-direction: column;
    padding: 0 24px;
    gap: 40px;
  }

  .demo-text {
    flex: none;
  }

  .demo-heading {
    font-size: 30px;
  }

  .demo-subheading {
    font-size: 18px;
  }
}
