/* Request a Demo – full page layout */
.request-demo-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(ellipse at top, hsl(221 83% 53% / 0.08) 0%, transparent 50%), hsl(var(--background, 0 0% 100%));
  color: hsl(var(--foreground, 240 10% 4%));
}

.request-demo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 80rem;
  margin: 0 auto;
  width: 100%;
  border-bottom: 1px solid hsl(var(--border, 240 6% 90%));
}

.request-demo-logo {
  color: hsl(var(--foreground, 240 10% 4%));
  text-decoration: none;
  font-weight: 600;
  font-size: 1.125rem;
  transition: color 0.2s;
}

.request-demo-logo:hover {
  color: #2463eb;
}

.request-demo-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.request-demo-nav a {
  color: hsl(var(--foreground, 240 10% 4%));
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color 0.2s;
}

.request-demo-nav a:hover {
  color: #2463eb;
}

.request-demo-back {
  color: hsl(var(--muted-foreground, 240 4% 46%)) !important;
  font-size: 0.875rem !important;
}

.request-demo-back:hover {
  color: hsl(var(--foreground, 240 10% 4%)) !important;
}

.request-demo-main {
  flex: 1;
  max-width: 72rem;
  margin: 0 auto;
  width: 100%;
  padding: 3rem 1rem 4rem;
}

@media (min-width: 1024px) {
  .request-demo-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 4rem 2rem 5rem;
  }
}

.request-demo-hero {
  margin-bottom: 2rem;
}

@media (min-width: 1024px) {
  .request-demo-hero {
    margin-bottom: 0;
  }
}

.request-demo-title {
  background: linear-gradient(135deg, #2463eb, #7c3bed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.75rem;
}

.request-demo-lead {
  color: hsl(var(--muted-foreground, 240 4% 46%));
  font-size: 1rem;
  line-height: 1.6;
  max-width: 28ch;
  margin: 0;
}

.request-demo-card {
  background: hsl(var(--card, 0 0% 100%));
  border: 1px solid hsl(var(--border, 240 6% 90%));
  border-radius: 1rem;
  box-shadow: 0 10px 25px -5px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.04);
  padding: 2rem;
}

.request-demo-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground, 240 10% 4%));
  margin: 0 0 1.25rem;
}

.request-demo-field {
  display: block;
}

.request-demo-footer {
  padding: 1.5rem 1.5rem 2rem;
  border-top: 1px solid hsl(var(--border, 240 6% 90%));
  text-align: center;
  color: hsl(var(--muted-foreground, 240 4% 46%));
  font-size: 0.875rem;
}

.request-demo-footer a {
  color: #2463eb;
  text-decoration: none;
}

.request-demo-footer a:hover {
  text-decoration: underline;
}

.request-demo-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.request-demo-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground, 240 10% 4%));
  margin-bottom: 0.25rem;
}

.request-demo-form input,
.request-demo-form textarea {
  width: 100%;
  padding: 0.625rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: hsl(var(--foreground, 240 10% 4%));
  background: hsl(var(--background, 0 0% 100%));
  border: 1px solid hsl(var(--input, 240 6% 90%));
  border-radius: calc(var(--radius, 0.625rem) - 2px);
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.request-demo-form input:focus,
.request-demo-form textarea:focus {
  outline: none;
  border-color: #2463eb;
  box-shadow: 0 0 0 3px rgb(36 99 235 / 0.15);
}

.request-demo-form textarea {
  min-height: 100px;
  resize: vertical;
}

.request-demo-submit {
  background: linear-gradient(135deg, #2463eb, #5b21b6);
  color: #fff;
  border: none;
  border-radius: calc(var(--radius, 0.625rem) - 2px);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 1.25rem;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  margin-top: 0.25rem;
}

.request-demo-submit:hover:not(:disabled) {
  opacity: 0.95;
  transform: translateY(-1px);
}

.request-demo-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.request-demo-msg {
  font-size: 0.875rem;
  padding: 0.75rem;
  border-radius: calc(var(--radius, 0.625rem) - 2px);
  margin-top: 0.5rem;
}

.request-demo-msg.success {
  background: hsl(142 76% 36% / 0.15);
  color: hsl(142 76% 26%);
}

.request-demo-msg.error {
  background: hsl(0 84% 60% / 0.1);
  color: hsl(var(--destructive, 0 84% 60%));
}
