/* ============================================
   LubeAI Demo Booking Page — demo.css
   Standalone CSS — does not modify landing.css
   All color/font/spacing values use CSS custom
   properties defined in landing.css :root block.
   Class prefix: demo-*
   ============================================ */

/* ---- Navbar ---- */

.demo-navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1030;
    padding: 1rem 0;
    background: rgba(26, 35, 50, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 165, 116, 0.15);
    transition: padding 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.demo-navbar.is-scrolled {
    padding: 0.75rem 0;
    background: rgba(15, 24, 35, 0.98);
    border-bottom-color: rgba(212, 165, 116, 0.3);
}

.demo-navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.demo-navbar__brand {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
}

.demo-navbar__brand-text {
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-weight: 800;
    font-size: 1.25rem;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.demo-navbar__cta {
    padding: 0.625rem 1.5rem;
    font-size: 0.85rem;
}

/* ---- Shared section helpers ---- */

.demo-section {
    padding: 80px 0;
    position: relative;
}

.demo-section--light {
    background: #f8f9fa;
}

.demo-section--dark {
    background: linear-gradient(135deg, #0f1823 0%, #1a2332 50%, #2a3847 100%);
    color: #ffffff;
}

.demo-section--white {
    background: #ffffff;
}

.demo-section-header {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.demo-section__title {
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    color: #1a2332;
    line-height: 1.25;
    margin-top: 0.75rem;
    margin-bottom: 0;
}

.demo-section--dark .demo-section__title {
    color: #ffffff;
}

.demo-section__subtitle {
    font-family: var(--font-body, 'IBM Plex Sans', sans-serif);
    font-size: 1.05rem;
    color: #6b7280;
    line-height: 1.7;
    margin-top: 0.75rem;
    margin-bottom: 0;
}

/* ---- Badge ---- */

.demo-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-body, 'IBM Plex Sans', sans-serif);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #d4a574;
    border: 1px solid rgba(212, 165, 116, 0.4);
    border-radius: 50px;
    padding: 0.375rem 1rem;
    background: rgba(212, 165, 116, 0.1);
    margin-bottom: 1rem;
}

.demo-badge--dark {
    color: #d4a574;
    border-color: rgba(212, 165, 116, 0.3);
    background: rgba(212, 165, 116, 0.08);
}

/* ---- Hero ---- */

.demo-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0f1823 0%, #1a2332 50%, #2a3847 100%);
    padding-top: 6rem;
    padding-bottom: 5rem;
    position: relative;
    overflow: hidden;
}

.demo-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse 60% 50% at 20% 60%, rgba(212, 165, 116, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 80% 30%, rgba(240, 165, 0, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.demo-hero__headline {
    position: relative;
    z-index: 1;
}

.demo-hero__content {
    position: relative;
    z-index: 1;
}

.demo-hero__title {
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-weight: 800;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.demo-hero__subtitle {
    font-family: var(--font-body, 'IBM Plex Sans', sans-serif);
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.demo-hero__cta {
    margin-bottom: 2rem;
}

/* ---- Hero Calendar ---- */

.demo-hero-calendar {
    position: relative;
    z-index: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(212, 165, 116, 0.2);
    background: #ffffff;
}

.demo-hero-calendar__header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.5rem;
    background: rgba(212, 165, 116, 0.08);
    border-bottom: 1px solid rgba(212, 165, 116, 0.15);
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-weight: 600;
    font-size: 0.95rem;
    color: #1a2332;
}

.demo-hero-calendar__header i {
    color: #b8935f;
}

.demo-hero-calendar__iframe {
    width: 100%;
    height: 680px;
    border: none;
    display: block;
    background: #ffffff;
}

.demo-hero-calendar__footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.875rem 1.5rem;
    background: #f8f9fa;
    border-top: 1px solid #e5e7eb;
    font-family: var(--font-body, 'IBM Plex Sans', sans-serif);
    font-size: 0.8rem;
    color: #6b7280;
}

.demo-hero-calendar__wa-link {
    color: #b8935f;
    text-decoration: none;
    font-weight: 600;
    margin-left: 0.25rem;
    transition: color 0.2s;
}

.demo-hero-calendar__wa-link:hover {
    color: #d4a574;
}

@media (max-width: 767.98px) {
    .demo-hero-calendar__iframe {
        height: 800px;
    }

    .demo-hero-calendar {
        border-radius: 0;
        border-left: none;
        border-right: none;
        margin-left: -12px;
        margin-right: -12px;
    }
}

.demo-trust-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem 2rem;
}

.demo-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-family: var(--font-body, 'IBM Plex Sans', sans-serif);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.demo-trust-item i {
    color: #d4a574;
}

/* ---- VSL ---- */

.demo-vsl-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    border: 2px solid rgba(212, 165, 116, 0.3);
}

.demo-vsl-ratio {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    background: #0f1823;
}

.demo-vsl-ratio iframe,
.demo-vsl-ratio video,
.demo-vsl-ratio .demo-vsl-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.demo-vsl-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: linear-gradient(135deg, #0f1823 0%, #1a2332 100%);
    cursor: default;
}

.demo-vsl-play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(212, 165, 116, 0.15);
    border: 2px solid rgba(212, 165, 116, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4a574;
}

.demo-vsl-placeholder-label {
    font-family: var(--font-body, 'IBM Plex Sans', sans-serif);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ---- Benefits ---- */

.demo-benefit-item {
    padding: 1.5rem;
    text-align: center;
}

.demo-benefit-icon {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    background: rgba(212, 165, 116, 0.1);
    border: 1px solid rgba(212, 165, 116, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: #b8935f;
    transition: background 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.demo-benefit-item:hover .demo-benefit-icon {
    background: rgba(212, 165, 116, 0.2);
    transform: translateY(-2px);
}

.demo-benefit-title {
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-weight: 700;
    font-size: 1.05rem;
    color: #1a2332;
    margin-bottom: 0.625rem;
}

.demo-benefit-desc {
    font-family: var(--font-body, 'IBM Plex Sans', sans-serif);
    font-size: 0.9rem;
    line-height: 1.7;
    color: #6b7280;
    margin: 0;
}

/* ---- How It Works ---- */

.demo-steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
}

.demo-step {
    flex: 1;
    text-align: center;
    padding: 0 1.5rem;
}

.demo-step__connector {
    flex: 0 0 60px;
    height: 2px;
    background: linear-gradient(90deg, rgba(212, 165, 116, 0.6) 0%, rgba(212, 165, 116, 0.2) 100%);
    align-self: flex-start;
    margin-top: 4.75rem;
}

.demo-step__number {
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-weight: 900;
    font-size: 3.5rem;
    line-height: 1;
    color: rgba(212, 165, 116, 0.15);
    margin-bottom: 0.5rem;
    letter-spacing: -0.04em;
}

.demo-step__icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(212, 165, 116, 0.15);
    border: 1px solid rgba(212, 165, 116, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: #d4a574;
}

.demo-step__title {
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-weight: 700;
    font-size: 1.05rem;
    color: #ffffff;
    margin-bottom: 0.625rem;
}

.demo-step__desc {
    font-family: var(--font-body, 'IBM Plex Sans', sans-serif);
    font-size: 0.875rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

@media (max-width: 767.98px) {
    .demo-steps {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .demo-step__connector {
        width: 2px;
        height: 40px;
        flex: 0 0 40px;
        background: linear-gradient(180deg, rgba(212, 165, 116, 0.6) 0%, rgba(212, 165, 116, 0.2) 100%);
        margin-top: 0;
        align-self: center;
    }

    .demo-step {
        padding: 0;
        max-width: 320px;
        width: 100%;
    }
}

/* ---- Testimonials ---- */

.demo-testimonial-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    border-left: 4px solid #d4a574;
    padding: 2rem;
    box-shadow: 2px 4px 16px rgba(0, 0, 0, 0.06);
    margin: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.demo-testimonial-quote {
    flex: 1;
    margin: 0 0 1.5rem;
}

.demo-testimonial-quote p {
    font-family: var(--font-body, 'IBM Plex Sans', sans-serif);
    font-size: 0.95rem;
    line-height: 1.75;
    color: #1a2332;
    font-style: italic;
    margin: 0;
}

.demo-testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.demo-testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(212, 165, 116, 0.15);
    border: 2px solid rgba(212, 165, 116, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-weight: 700;
    font-size: 0.8rem;
    color: #b8935f;
    flex-shrink: 0;
}

.demo-testimonial-name {
    display: block;
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-weight: 700;
    font-size: 0.9rem;
    color: #1a2332;
    line-height: 1.3;
}

.demo-testimonial-role {
    display: block;
    font-family: var(--font-body, 'IBM Plex Sans', sans-serif);
    font-size: 0.78rem;
    color: #6b7280;
    line-height: 1.4;
    margin-top: 0.125rem;
}

/* ---- Booking section ---- */

.demo-booking-section {
    padding-bottom: 100px;
}

/* ---- CTA section ---- */

.demo-cta-section {
    padding: 80px 0 100px;
}

.demo-booking-wrapper {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(212, 165, 116, 0.2);
    background: #ffffff;
    min-height: 600px;
}

.demo-booking-iframe {
    width: 100%;
    height: 680px;
    border: none;
    display: block;
    background: #ffffff;
}

.demo-booking-skeleton {
    position: absolute;
    inset: 0;
    background: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: opacity 0.4s ease;
}

.demo-booking-skeleton.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.demo-booking-skeleton__pulse {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid #e5e7eb;
    border-top-color: #d4a574;
    animation: demo-spin 0.9s linear infinite;
}

@keyframes demo-spin {
    to { transform: rotate(360deg); }
}

.demo-booking-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    gap: 1rem;
    padding: 2rem;
    text-align: center;
}

.demo-booking-placeholder__icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(212, 165, 116, 0.1);
    border: 2px solid rgba(212, 165, 116, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4a574;
    margin-bottom: 0.5rem;
}

.demo-booking-placeholder__title {
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-weight: 700;
    font-size: 1.15rem;
    color: #1a2332;
    margin-bottom: 0.5rem;
}

.demo-booking-placeholder__desc {
    font-family: var(--font-body, 'IBM Plex Sans', sans-serif);
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.6;
    max-width: 380px;
    margin: 0;
}

.demo-booking-fallback-label {
    font-family: var(--font-body, 'IBM Plex Sans', sans-serif);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 0.75rem;
}

.demo-booking-whatsapp-btn {
    font-size: 0.875rem;
    padding: 0.625rem 1.5rem;
}

@media (max-width: 767.98px) {
    .demo-booking-iframe {
        height: 800px;
    }

    .demo-booking-wrapper {
        border-radius: 0;
        border-left: none;
        border-right: none;
        margin-left: -12px;
        margin-right: -12px;
    }
}

/* ---- Footer ---- */

.demo-footer {
    background: #0f1823;
    border-top: 1px solid rgba(212, 165, 116, 0.1);
    padding: 2rem 0;
}

.demo-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.demo-footer__brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.demo-footer__brand-text {
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-weight: 700;
    font-size: 1rem;
    color: #ffffff;
}

.demo-footer__links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.demo-footer__link {
    font-family: var(--font-body, 'IBM Plex Sans', sans-serif);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    transition: color 0.2s;
}

.demo-footer__link:hover {
    color: #d4a574;
}

.demo-footer__copy {
    font-family: var(--font-body, 'IBM Plex Sans', sans-serif);
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.3);
    margin: 0;
}

@media (max-width: 767.98px) {
    .demo-footer__inner {
        flex-direction: column;
        text-align: center;
    }

    .demo-footer__links {
        justify-content: center;
    }
}

/* ---- Utility: body scroll offset for fixed navbar ---- */

.demo-page-body {
    padding-top: 0;
}
