/* ============================================
   VendeeX Demo Redesign - Banner & Path Styles
   ============================================ */

/* Persistent Demo Platform Banner - top of every page */
.demo-platform-banner {
    background: var(--vendeex-blue);
    color: var(--white);
    padding: 5px 0;
    text-align: center;
    font-size: 0.75rem;
    font-family: var(--font-family);
    letter-spacing: 0.02em;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1002;
}

/* Push navbar below the fixed demo banner (banner ~36px tall) */
.navbar {
    top: 36px !important;
}

/* Account for BOTH fixed banner (36px) + fixed navbar (73px) = 109px */
body {
    padding-top: 110px !important;
}

.demo-platform-banner__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 0 20px;
}

.demo-platform-banner__icon {
    font-size: 1rem;
}

.demo-platform-banner__text {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
}

.demo-platform-banner__separator {
    opacity: 0.4;
}

.demo-platform-banner__subtext {
    opacity: 0.85;
    font-weight: 400;
}

/* Page Info Banner - compact to save vertical space */
.page-info-banner {
    background: linear-gradient(135deg, rgba(33, 82, 116, 0.06) 0%, rgba(43, 182, 115, 0.06) 100%);
    border-bottom: 1px solid rgba(33, 82, 116, 0.1);
    padding: 8px 0;
    font-family: var(--font-family);
}

.page-info-banner__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
}

.page-info-banner__item {
    padding: 0 16px;
}

.page-info-banner__item:not(:last-child) {
    border-right: 1px solid rgba(33, 82, 116, 0.12);
}

.page-info-banner__label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--vendeex-blue);
    margin-bottom: 4px;
}

.page-info-banner__item p {
    font-size: 0.75rem;
    line-height: 1.35;
    color: var(--gray-700);
    margin: 0;
}

/* Two-Path Hero Section */
.hero-paths {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin-top: 24px;
    max-width: 700px;
}

.hero-path {
    flex: 1;
    background: rgba(33, 82, 116, 0.04);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(33, 82, 116, 0.15);
    border-radius: var(--radius-lg);
    padding: 16px 18px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all var(--transition-normal);
}

.hero-path:hover {
    background: rgba(33, 82, 116, 0.08);
    border-color: rgba(33, 82, 116, 0.3);
    transform: translateY(-2px);
}

.hero-path__icon {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.hero-path__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--vendeex-blue);
    margin: 0 0 4px 0;
}

.hero-path__desc {
    font-size: 0.78rem;
    color: var(--gray-600);
    line-height: 1.35;
    margin: 0 0 10px 0;
    flex-grow: 1;
}

.hero-path__btn {
    width: 100%;
}

.hero-path__divider {
    display: flex;
    align-items: center;
    padding: 0 16px;
}

.hero-path__divider span {
    font-size: 0.875rem;
    color: var(--gray-500);
    font-weight: 500;
    font-style: italic;
}

/* Footer jurisdiction text */
.footer-jurisdiction {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-400);
    margin-top: 4px;
}

/* Hero layout override - compact for above-the-fold fit */
.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
}

/* Hero section vertical spacing — breathing room above and below */
.hero {
    min-height: auto !important;
    padding-top: 48px !important;
    padding-bottom: 48px !important;
}

.hero h1 {
    font-size: 1.75rem !important;
    margin-bottom: 12px !important;
    line-height: 1.2 !important;
}

.hero p {
    font-size: 0.875rem !important;
    margin-bottom: 10px !important;
    line-height: 1.4 !important;
}

.hero-stats {
    justify-content: center;
    margin-top: 24px !important;
    gap: 24px !important;
}

.hero-badge {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 14px !important;
    font-size: 0.75rem;
    padding: 4px 12px;
}

.hero-subtitle {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding-top: 120px !important;
    }

    .demo-platform-banner__inner {
        flex-direction: column;
        gap: 4px;
    }

    .demo-platform-banner__separator {
        display: none;
    }

    .page-info-banner__inner {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .page-info-banner__item {
        padding: 0;
    }

    .page-info-banner__item:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid rgba(33, 82, 116, 0.1);
        padding-bottom: 12px;
    }

    .hero-paths {
        flex-direction: column;
        gap: 0;
    }

    .hero-path__divider {
        padding: 12px 0;
        justify-content: center;
    }
}

/* ============================================
   Pre-Search Qualifying Chat
   ============================================ */
.qualifying-chat {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    max-width: 640px;
    margin: 0 auto;
    overflow: hidden;
}

.qualifying-chat__header {
    padding: 1.25rem 1.5rem 0.75rem;
    border-bottom: 1px solid rgba(33, 82, 116, 0.08);
}

.qualifying-chat__header h2 {
    font-size: 1.125rem;
    color: #111827;
    margin: 0 0 0.25rem;
}

.qualifying-chat__header p {
    font-size: 0.8125rem;
    color: #6b7280;
    margin: 0;
}

.qualifying-chat__messages {
    padding: 1rem 1.5rem;
    max-height: 320px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.qualify-msg {
    max-width: 85%;
    padding: 0.625rem 0.875rem;
    border-radius: 12px;
    font-size: 0.875rem;
    line-height: 1.5;
}

.qualify-msg--agent {
    background: rgba(33, 82, 116, 0.06);
    color: #1f2937;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.qualify-msg--user {
    background: #215274;
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.qualify-msg--confirm {
    background: rgba(43, 182, 115, 0.08);
    border: 1px solid rgba(43, 182, 115, 0.2);
    color: #1f2937;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    max-width: 90%;
}

.qualify-msg--confirm .confirm-btn {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.375rem 1rem;
    background: #2BB673;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
}

.qualify-msg--confirm .confirm-btn:hover {
    background: #249d62;
}

.qualifying-chat__input {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-top: 1px solid rgba(33, 82, 116, 0.08);
}

.qualifying-chat__input .form-input {
    flex: 1;
    font-size: 0.875rem;
}

.qualifying-chat__input .btn {
    white-space: nowrap;
}

.qualifying-chat__actions {
    padding: 0 1.5rem 1rem;
    text-align: center;
}

/* Ranking transparency */
.ranking-transparency {
    text-align: center;
    font-size: 0.75rem;
    color: #6b7280;
    padding: 0.5rem 1rem;
    background: rgba(43, 182, 115, 0.04);
    border: 1px solid rgba(43, 182, 115, 0.1);
    border-radius: 6px;
    margin-bottom: 1rem;
}

.ranking-transparency strong {
    color: #215274;
}
