﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --burgundy: #6B2C3E;
    --dark-burgundy: #4A1F2B;
    --light-burgundy: #8B4B5C;
    --wine: #722F37;
    --champagne: #F5E6D3;
    --gold: #D4AF37;
    --light-gold: #f7cc41;
    --platinum: #E8E8E8;
    --rose-gold: #E8B4A0;
    --emerald: #50C878;
    --sapphire: #0F52BA;
    --white: #FFFFFF;
    --off-white: #FEFEFE;
    --luxury-gray: #8B8B8B;
    --dark-gray: #333333;
    --pearl: #F8F8FF;
    --shadow-light: rgba(107, 44, 62, 0.1);
    --shadow-medium: rgba(107, 44, 62, 0.2);
    --shadow-heavy: rgba(107, 44, 62, 0.3);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background: linear-gradient(135deg, var(--white) 0%, var(--pearl) 100%);
    overflow-x: hidden;
}

/* Particle System */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0.6;
    animation: float 6s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-10px) rotate(360deg);
        opacity: 0;
    }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}


/* ============================================ */
/* LUXURY FOOTER - Burgundy & Gold Theme */
/* ============================================ */

/* Footer Container - Elegant Champagne Background */
/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--burgundy), var(--gold));
    z-index: 10001;
    transition: width 0.3s ease;
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease forwards;
}

/* Enhanced Mobile Responsiveness */



@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Luxury hover effects */
.luxury-glow:hover {
    box-shadow: 0 0 40px var(--shadow-light);
}

/* Advanced Micro-interactions */
/* Primary button */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.95rem 2.2rem;
    background: linear-gradient(135deg, var(--burgundy), var(--wine));
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 6px 22px rgba(107, 44, 62, 0.28);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 35px rgba(107, 44, 62, 0.38);
        color: var(--white);
        text-decoration: none;
    }

    .btn-primary::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: width 0.6s ease, height 0.6s ease;
    }

    .btn-primary:hover::after {
        width: 340px;
        height: 340px;
    }

/* Secondary button */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.95rem 2.2rem;
    background: transparent;
    color: var(--burgundy);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid rgba(107, 44, 62, 0.3);
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .btn-secondary:hover {
        transform: translateY(-3px);
        border-color: var(--burgundy);
        background: rgba(107, 44, 62, 0.04);
        box-shadow: 0 8px 24px rgba(107, 44, 62, 0.12);
        color: var(--burgundy);
        text-decoration: none;
    }


/* ========================================
   FLOATING UI — _floating_ui.css
   Help widget (replaces old chat-widget)
   and Back-to-Top button.
   Extracted from landing.css.
   ======================================== */


/* ════════════════════════════════════════
   HELP WIDGET CONTAINER
   ════════════════════════════════════════ */

.help-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
}


/* ── Trigger button ─────────────────────── */
.help-trigger {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--burgundy), var(--wine));
    color: var(--white);
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(107, 44, 62, 0.38);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

    .help-trigger:hover {
        transform: scale(1.08);
        box-shadow: 0 10px 32px rgba(107, 44, 62, 0.45);
    }

/* Icon swap — headset visible by default, X when open */
.help-trigger__icon {
    font-size: 1.3rem;
    transition: opacity 0.2s, transform 0.2s;
}

.help-trigger__icon--close {
    position: absolute;
    opacity: 0;
    transform: rotate(-90deg);
}

.help-widget--open .help-trigger__icon--open {
    opacity: 0;
    transform: rotate(90deg);
}

.help-widget--open .help-trigger__icon--close {
    opacity: 1;
    transform: rotate(0deg);
}

/* Pulsing gold ring — attention signal */
.help-trigger__pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(212, 175, 55, 0.45);
    animation: help-pulse 2.5s ease-in-out infinite;
    pointer-events: none;
}

.help-widget--open .help-trigger__pulse {
    display: none;
}

@keyframes help-pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.18);
        opacity: 0.2;
    }

    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}


/* ════════════════════════════════════════
   HELP PANEL
   ════════════════════════════════════════ */

.help-panel {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 320px;
    background: var(--white);
    border: 1px solid rgba(107, 44, 62, 0.1);
    border-radius: 22px;
    box-shadow: 0 20px 60px rgba(107, 44, 62, 0.18);
    overflow: hidden;
    /* Hidden state */
    opacity: 0;
    transform: translateY(16px) scale(0.97);
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.28s ease;
    transform-origin: bottom right;
}

.help-widget--open .help-panel {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Gold top accent line */
.help-panel__accent {
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--burgundy) 20%, var(--gold) 50%, var(--burgundy) 80%, transparent);
}


/* ── Panel header ───────────────────────── */
.help-panel__header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1.2rem 1.4rem 1rem;
    border-bottom: 1px solid rgba(107, 44, 62, 0.06);
}

.help-panel__avatar {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--burgundy), var(--wine));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(107, 44, 62, 0.22);
}

.help-panel__name {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--dark-burgundy);
    line-height: 1.3;
}

.help-panel__status {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    color: #2d7a4f;
    font-weight: 500;
    margin-top: 0.15rem;
}

/* Live green dot */
.help-panel__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2d7a4f;
    animation: help-dot 2s ease-in-out infinite;
}

@keyframes help-dot {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}


/* ── Greeting ───────────────────────────── */
.help-panel__greeting {
    padding: 0.9rem 1.4rem 0.4rem;
    font-size: 0.85rem;
    color: var(--luxury-gray);
    line-height: 1.6;
}


/* ── Action links ───────────────────────── */
.help-panel__actions {
    padding: 0.3rem 0.8rem 0.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.help-action {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 0.7rem;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.2s ease;
    cursor: pointer;
}

    .help-action:hover {
        background: rgba(107, 44, 62, 0.04);
    }

.help-action__icon {
    width: 34px;
    height: 34px;
    background: rgba(107, 44, 62, 0.07);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--burgundy);
    font-size: 0.82rem;
    flex-shrink: 0;
    transition: background 0.2s ease, color 0.2s ease;
}

.help-action:hover .help-action__icon {
    background: var(--burgundy);
    color: var(--gold);
}

.help-action__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.help-action__title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark-burgundy);
    line-height: 1.2;
}

.help-action__sub {
    font-size: 0.72rem;
    color: var(--luxury-gray);
}

.help-action__arrow {
    font-size: 0.62rem;
    color: var(--luxury-gray);
    transition: transform 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
}

.help-action:hover .help-action__arrow {
    transform: translateX(3px);
    color: var(--burgundy);
}


/* ── Panel footer note ──────────────────── */
.help-panel__footer {
    padding: 0.8rem 1.4rem;
    font-size: 0.72rem;
    color: var(--luxury-gray);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    border-top: 1px solid rgba(107, 44, 62, 0.06);
    background: rgba(107, 44, 62, 0.015);
}

    .help-panel__footer i {
        color: var(--burgundy);
        font-size: 0.68rem;
    }


/* ════════════════════════════════════════
   BACK TO TOP BUTTON
   ════════════════════════════════════════ */

.back-to-top {
    position: fixed;
    bottom: 102px; /* sits just above the help trigger */
    right: 34px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--white);
    border: 1.5px solid rgba(107, 44, 62, 0.18);
    color: var(--burgundy);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    box-shadow: 0 4px 16px rgba(107, 44, 62, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease, border-color 0.3s ease;
    z-index: 999;
    /* Hidden by default — JS adds .back-to-top--visible */
    opacity: 0;
    pointer-events: none;
}

.back-to-top--visible {
    opacity: 1;
    pointer-events: auto;
}

.back-to-top:hover {
    transform: translateY(-4px);
    background: var(--burgundy);
    color: var(--gold);
    border-color: var(--burgundy);
    box-shadow: 0 10px 28px rgba(107, 44, 62, 0.28);
}


/* ── Responsive ─────────────────────────── */
@media (max-width: 768px) {
    .help-panel {
        width: 290px;
    }
}

@media (max-width: 480px) {
    .help-widget {
        bottom: 20px;
        right: 20px;
    }

    .help-panel {
        width: 272px;
        bottom: 66px;
    }

    .back-to-top {
        bottom: 88px;
        right: 24px;
    }
}
