/* Demo Request page (templates/demo_request.html) — extracted in Stage 18 */

body { background: linear-gradient(160deg, var(--sky-xl) 0%, #fff 55%); }
.demo-main {
    position: relative;
    padding: 8.5rem 0 5rem;
    overflow: hidden;
}
.demo-main::before {
    content: '';
    position: absolute;
    top: -160px;
    right: -220px;
    width: 640px;
    height: 640px;
    background: radial-gradient(circle, rgba(14,165,233,0.1) 0%, transparent 70%);
    pointer-events: none;
}
.demo-header { text-align: center; margin-bottom: 3rem; position: relative; z-index: 1; }
.demo-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.35rem 0.9rem; border-radius: 50px;
    background: var(--sky-lt); border: 1px solid rgba(14,165,233,0.2);
    color: var(--sky-dark); font-size: 0.78rem; font-weight: 600;
    letter-spacing: 0.5px; text-transform: uppercase;
    margin-bottom: 1rem;
}
.demo-title {
    font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: var(--ink);
    margin-bottom: 0.75rem; letter-spacing: -0.8px;
}
.demo-subtitle { color: var(--muted); font-size: 1rem; max-width: 620px; margin: 0 auto; line-height: 1.75; }
.demo-back-link {
    color: var(--muted); text-decoration: none; font-size: 0.9rem;
    display: inline-flex; align-items: center; gap: 0.4rem;
    transition: color 0.2s;
}
.demo-back-link:hover { color: var(--sky); }
.section-divider {
    font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.8px; color: var(--sky-dark);
    margin-bottom: 1rem; margin-top: 0.5rem;
    display: flex; align-items: center; gap: 0.5rem;
}
.section-divider::after {
    content: ''; flex: 1; height: 1px;
    background: var(--border);
}
.demo-form-card,
.demo-info-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(14,165,233,0.08);
}
.demo-form-card { padding: 2.25rem; }
.demo-info-card {
    padding: 1.35rem;
    margin-bottom: 1rem;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.demo-info-card:hover {
    transform: translateY(-2px);
    border-color: rgba(14,165,233,0.3);
    box-shadow: 0 14px 34px rgba(14,165,233,0.12);
}
.demo-info-card-icon {
    width: 42px; height: 42px; border-radius: 10px;
    background: var(--sky-lt); color: var(--sky-dark);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; margin-bottom: 0.75rem;
}
.demo-info-card-title { font-weight: 700; color: var(--ink); font-size: 0.95rem; margin-bottom: 0.3rem; }
.demo-info-card-text { color: var(--muted); font-size: 0.84rem; line-height: 1.65; margin: 0; }
.form-label {
    color: var(--ink); font-size: 0.88rem; font-weight: 600;
    margin-bottom: 0.4rem;
}
.form-control, .form-select {
    background: white !important;
    border: 1px solid var(--border) !important;
    color: var(--ink) !important;
    border-radius: 8px !important;
    font-family: 'IBM Plex Sans Arabic', 'IBM Plex Sans', sans-serif;
    font-size: 0.92rem;
    padding: 0.72rem 0.9rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus, .form-select:focus {
    border-color: rgba(14,165,233,0.55) !important;
    box-shadow: 0 0 0 3px rgba(14,165,233,0.12) !important;
    outline: none;
}
.form-control::placeholder { color: #94a3b8 !important; }
.form-select option { color: var(--ink); }
textarea.form-control { resize: vertical; min-height: 130px; }
.btn-submit {
    background: var(--sky);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.85rem 2rem;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    width: 100%;
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
}
.btn-submit:hover { background: var(--sky-dark); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(14,165,233,0.22); }
.btn-submit:disabled { opacity: 0.65; cursor: not-allowed; transform: none; box-shadow: none; }
.alert-success-custom,
.alert-error-custom {
    border-radius: 12px;
    padding: 1.1rem 1.25rem;
    display: flex; align-items: flex-start; gap: 0.75rem;
    border: 1px solid;
    background: white;
}
.alert-success-custom { border-color: rgba(16,185,129,0.25); color: #047857; }
.alert-error-custom { border-color: rgba(239,68,68,0.25); color: #b91c1c; }
.alert-icon { font-size: 1.25rem; margin-top: 0.05rem; flex-shrink: 0; }
.alert-title { font-weight: 700; margin-bottom: 0.2rem; color: var(--ink); }
.alert-body { font-size: 0.88rem; color: var(--muted); line-height: 1.5; }
.req { color: #dc2626; margin-left: 2px; }
.char-count { font-size: 0.74rem; color: var(--muted); text-align: right; margin-top: 0.3rem; }
.field-hint  { font-size: 0.78rem; color: var(--muted); margin-top: 0.25rem; }
.form-note   { font-size: 0.78rem; color: var(--muted); text-align: center; margin-top: 0.75rem; }
.hp-field { display: none !important; }
.page-footer {
    background: var(--ink);
    padding: 2rem 0;
    text-align: center;
}
.footer-links { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 0.75rem; }
.footer-links a { color: rgba(255,255,255,0.45); font-size: 0.82rem; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--sky); }
.footer-copy { color: rgba(255,255,255,0.3); font-size: 0.82rem; margin: 0; }
@media (max-width: 767px) {
    .demo-main { padding: 7rem 0 4rem; }
    .demo-form-card { padding: 1.4rem; }
}
