/* ==========================================================================
   Request a Demo — page-specific styles
   Uses tokens from css/brand-v1.6.css. This is a master-brand / cross-platform
   page (not Prime- or Pulse-specific), so accents stay Navy + Teal per the
   Visual Identity Standards — never Indigo or Coral here.
   ========================================================================== */

.demo-hero {
    background: linear-gradient(135deg, var(--da-navy-700) 0%, var(--da-navy-900) 100%);
    padding: 160px 0 80px;
    color: var(--da-white);
}

.demo-hero-title {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    max-width: 640px;
}

.demo-hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    max-width: 560px;
    margin-bottom: 0;
}

/* ---- Hero visual: CSS-built abstract dashboard panel (no image asset) ---- */

.demo-hero-visual {
    position: relative;
    height: 340px;
    max-width: 480px;
    margin: 0 auto;
}

.dhv-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.dhv-fallback {
    position: absolute;
    inset: 0;
}

.dhv-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    backdrop-filter: blur(6px);
}

.dhv-card-main {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
}

.dhv-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 0.4rem;
}

.dhv-dot-1 { background: var(--da-coral-600); }
.dhv-dot-2 { background: var(--da-warning); }
.dhv-dot-3 { background: var(--da-success); }

/* ---- Booking calendar — rebuilt 2026-08-16, Track B hero-visual audit
   (Cluster C fix): replaces the generic 6-bar chart with a small calendar
   grid, one date highlighted and checked — this page is about booking a
   walkthrough, not data/analytics, so a bar chart had no connection to
   what "Request a Demo" actually does. */
.dhv-calendar {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 2rem;
    padding: 0 0.5rem;
}

.dhv-cal-row {
    display: flex;
    gap: 0.6rem;
}

.dhv-cal-cell {
    flex: 1;
    aspect-ratio: 1;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--da-white);
    font-size: 0.85rem;
}

.dhv-cal-cell--selected {
    background: var(--da-teal-600);
}

.dhv-card-float-1,
.dhv-card-float-2 {
    width: 170px;
    padding: 1rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 16px 40px rgba(8, 25, 47, 0.35);
}

.dhv-card-float-1 {
    top: -24px;
    right: -20px;
    background: rgba(15, 46, 90, 0.9);
}

.dhv-card-float-1 i {
    color: var(--da-teal-400);
    font-size: 1.3rem;
}

.dhv-card-float-2 {
    bottom: -20px;
    left: -24px;
    background: rgba(15, 46, 90, 0.9);
}

.dhv-card-float-2 i {
    color: var(--da-success);
    font-size: 1.3rem;
}

.dhv-float-lines {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.dhv-float-lines span {
    display: block;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.25);
}

.dhv-float-lines span:first-child {
    width: 100%;
}

.dhv-float-lines span:last-child {
    width: 60%;
}

/* ---- Benefits of a Demonstration ---- */

.demo-benefits {
    padding: 70px 0;
    background: var(--da-white);
}

.demo-section-label {
    color: var(--da-teal-600);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    display: block;
}

.demo-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--da-navy-900);
    margin-bottom: 2.5rem;
    width: 100%;
}

.benefit-card {
    background: var(--da-gray-100);
    border: 1px solid var(--da-gray-300);
    border-radius: 14px;
    padding: 2rem 1.75rem;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(8, 25, 47, 0.1);
    border-color: var(--da-teal-600);
}

.benefit-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--da-teal-50);
    color: var(--da-teal-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
}

.benefit-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--da-navy-900);
    margin-bottom: 0.6rem;
}

.benefit-text {
    font-size: 0.98rem;
    color: var(--da-gray-500);
    line-height: 1.65;
    margin-bottom: 0;
}

/* ---- Form + sidebar section ---- */

.demo-main {
    padding: 20px 0 90px;
    background: var(--da-gray-100);
}

.demo-form-panel {
    background: var(--da-white);
    border-radius: 18px;
    padding: 2.75rem;
    box-shadow: 0 10px 40px rgba(8, 25, 47, 0.08);
    height: 100%;
}

.demo-form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--da-navy-900);
    margin-bottom: 0.4rem;
}

.demo-form-subtitle {
    color: var(--da-gray-500);
    font-size: 0.98rem;
    margin-bottom: 2rem;
}

.demo-form .form-group {
    margin-bottom: 1.35rem;
}

.demo-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.demo-form .form-label {
    display: block;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--da-navy-900);
    margin-bottom: 0.5rem;
}

.demo-form .form-input,
.demo-form .form-select,
.demo-form .form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--da-gray-300);
    border-radius: 10px;
    font-size: 0.98rem;
    font-family: var(--da-font-body);
    color: var(--da-navy-900);
    background: var(--da-white);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.demo-form .form-input:focus,
.demo-form .form-select:focus,
.demo-form .form-textarea:focus {
    outline: none;
    border-color: var(--da-teal-600);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--da-teal-600) 15%, transparent);
}

.demo-form .form-textarea {
    resize: vertical;
    min-height: 100px;
}

.demo-form .form-hint {
    font-size: 0.82rem;
    color: var(--da-gray-500);
    margin-top: 0.35rem;
}

.demo-submit-btn {
    width: 100%;
    background: var(--da-teal-600);
    color: var(--da-white);
    font-weight: 700;
    font-size: 1.02rem;
    padding: 0.9rem 1.5rem;
    border: none;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
    margin-top: 0.5rem;
}

.demo-submit-btn:hover {
    background: var(--da-teal-400);
    transform: translateY(-2px);
}

.demo-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.demo-form-privacy {
    font-size: 0.82rem;
    color: var(--da-gray-500);
    text-align: center;
    margin-top: 1rem;
}

.demo-spinner {
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(255, 255, 255, 0.4);
    border-top-color: var(--da-white);
    border-radius: 50%;
    animation: demo-spin 0.7s linear infinite;
}

@keyframes demo-spin {
    to { transform: rotate(360deg); }
}

/* ---- Sidebar: Customer Expectations + Contact Information ---- */

.demo-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 100%;
}

.demo-sidebar-card {
    background: var(--da-white);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(8, 25, 47, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.demo-sidebar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 50px rgba(8, 25, 47, 0.12);
}

.demo-sidebar-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--da-navy-900);
    margin-bottom: 1.25rem;
}

.demo-steps {
    list-style: none;
    padding: 0;
    margin: 0;
}

.demo-steps li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.demo-steps li:last-child {
    margin-bottom: 0;
}

.demo-step-number {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--da-teal-50);
    color: var(--da-teal-600);
    font-weight: 700;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-step-text-title {
    font-weight: 600;
    color: var(--da-navy-900);
    font-size: 0.98rem;
    margin-bottom: 0.15rem;
}

.demo-step-text-desc {
    font-size: 0.9rem;
    color: var(--da-gray-500);
    line-height: 1.55;
    margin-bottom: 0;
}

.demo-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.demo-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1.1rem;
}

.demo-contact-list li:last-child {
    margin-bottom: 0;
}

.demo-contact-list i {
    color: var(--da-teal-600);
    font-size: 1.1rem;
    margin-top: 0.15rem;
}

.demo-contact-list a,
.demo-contact-list span {
    color: var(--da-navy-900);
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.5;
}

.demo-contact-list a:hover {
    color: var(--da-teal-600);
}

/* ---- Sidebar: Common Questions (fills height alongside the form) ---- */

.demo-faq-card {
    flex: 1;
}

.demo-faq-item {
    margin-bottom: 1.35rem;
}

.demo-faq-item:last-child {
    margin-bottom: 0;
}

.demo-faq-q {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
    color: var(--da-navy-900);
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
}

.demo-faq-q i {
    color: var(--da-teal-600);
    font-size: 1rem;
}

.demo-faq-a {
    font-size: 0.9rem;
    color: var(--da-gray-500);
    line-height: 1.55;
    margin-bottom: 0;
    padding-left: 1.6rem;
}

/* ---- Responsive ---- */

@media (max-width: 991.98px) {
    .demo-hero {
        padding: 130px 0 60px;
    }

    .demo-hero-title {
        font-size: 2.1rem;
    }

    .demo-hero-visual {
        height: 260px;
        max-width: 380px;
        margin-top: 1rem;
    }

    .demo-form-panel {
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
    }

    .demo-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 575.98px) {
    .demo-hero-title {
        font-size: 1.75rem;
    }

    .demo-section-title {
        font-size: 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .benefit-card,
    .demo-submit-btn,
    .demo-sidebar-card {
        transition: none;
    }

    .benefit-card:hover,
    .demo-submit-btn:hover,
    .demo-sidebar-card:hover {
        transform: none;
    }

    .demo-spinner {
        animation: none;
    }
}
