:root {
    --sunset-deep: #1a0a2e;
    --sunset-purple: #2d1b4e;
    --sunset-magenta: #6b2fa0;
    --sunset-orange: #e8842c;
    --sunset-gold: #f5a623;
    --sunset-yellow: #ffd447;
    --ocean-deep: #0a2540;
    --ocean-mid: #0d4f8b;
    --ocean-light: #1e90c9;
    --ocean-glow: #4fc3f7;
    --palm-green: #2e7d32;
    --sand-light: #fef9f0;
    --sand-warm: #f5ebe0;
    --white: #ffffff;
    --text-dark: #1a1a2e;
    --text-mid: #4a4a6a;
    --text-light: #8888aa;
    --shadow-soft: 0 4px 24px rgba(0,0,0,0.08);
    --shadow-medium: 0 8px 40px rgba(0,0,0,0.12);
    --shadow-glow: 0 0 40px rgba(245,166,35,0.3);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 6px;

    --lisa-header-start: #eb830c;
    --lisa-header-end: #ff9d2e;
    --lisa-accent-start: #e8842c;
    --lisa-accent-end: #f5a623;
    --lisa-accent-border: #e8842c;
    --lisa-user-start: #0d4f8b;
    --lisa-user-end: #1a0a2e;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Outfit', -apple-system, sans-serif;
    font-weight: 400;
    color: var(--text-dark);
    background: var(--sand-light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26,10,46,0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.28);
}

.site-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.site-nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.site-nav-logo-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
}

.site-nav-logo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.site-nav-logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 800;
    padding-left: 10px;
    color: var(--white);
    letter-spacing: -0.5px;
    text-shadow: 0 0 8px rgba(26,10,46,0.8), 0 1px 3px rgba(0,0,0,0.9);
}

.site-nav-logo-text span {
    color: var(--sunset-gold);
}

.site-nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.site-nav-link {
    color: rgba(255,255,255,0.82);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.site-nav-link:hover,
.site-nav-link.active,
.site-nav-link.active-ai {
    color: white;
    background: rgba(255,255,255,0.1);
}

.site-nav-cta {
    background: linear-gradient(135deg, var(--sunset-orange), var(--sunset-gold));
    color: white !important;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(232,132,44,0.35);
}

.site-nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(232,132,44,0.45);
    background: linear-gradient(135deg, #d4761f, #e89c1a) !important;
}

.site-nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}

.site-nav-hamburger span {
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
}

.site-mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1200;
    background: rgba(26,10,46,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.site-mobile-nav.open {
    display: flex;
}

.site-mobile-nav a {
    color: white;
    text-decoration: none;
    font-size: 22px;
    font-weight: 500;
    padding: 12px 24px;
    text-align: center;
}

.site-mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 24px;
    color: white;
    font-size: 32px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
}

.site-footer {
    background: var(--sunset-deep);
    padding: 48px 32px 32px;
    text-align: center;
}

.site-footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.site-footer-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
}

.site-footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.site-footer-brand-text {
    color: rgba(255,255,255,0.9);
    font-size: 16px;
    font-weight: 500;
}

.site-footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.site-footer-links a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.site-footer-links a:hover {
    color: var(--sunset-gold);
}

.site-footer-copy {
    color: rgba(255,255,255,0.3);
    font-size: 12px;
}

.lisa-launcher {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 800;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #eb830c, #eb830c);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.lisa-launcher svg {
    width: 34px;
    height: 34px;
}

.lisa-launcher-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--sunset-orange);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
    border: 3px solid white;
}

.lisa-launcher.is-open .launcher-chat,
.lisa-launcher .launcher-close {
    display: none;
}

.lisa-launcher.is-open .launcher-close {
    display: block;
    font-size: 36px;
    line-height: 1;
}

.lisa-launcher.is-open .lisa-launcher-badge {
    display: none;
}

.lisa-panel {
    position: fixed;
    right: 18px;
    bottom: 104px;
    width: min(420px, calc(100vw - 24px));
    height: min(640px, calc(100vh - 132px));
    background: #fff;
    border-radius: 26px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.24);
    z-index: 790;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px);
    transition: opacity 0.2s ease, transform 0.25s ease;
}

.lisa-panel.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.lisa-panel-header {
    background: linear-gradient(135deg, var(--lisa-header-start), var(--lisa-header-end));
    color: white;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.lisa-flower {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.lisa-panel-header h3 {
    font-size: 18px;
    line-height: 1.1;
}

.lisa-status {
    font-size: 12px;
    color: rgba(255,255,255,0.84);
}

.lisa-status::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #4fd16a;
    display: inline-block;
    margin-right: 6px;
    vertical-align: middle;
}

.lisa-close-top {
    margin-left: auto;
    border: none;
    background: rgba(255,255,255,0.14);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
}

.lisa-messages {
    flex: 1;
    overflow: auto;
    background: #faf9f6;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lisa-msg-label {
    font-weight: 700;
    font-size: 14px;
    color: var(--lisa-header-end);
    margin-bottom: 6px;
}

.lisa-msg {
    max-width: 84%;
    border-radius: 24px;
    padding: 16px 18px;
    font-size: 16px;
    line-height: 1.55;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.lisa-msg.assistant {
    background: white;
    color: var(--text-dark);
    border-top-left-radius: 8px;
}

.lisa-msg.user {
    align-self: flex-end;
    background: linear-gradient(135deg, var(--lisa-user-start), var(--lisa-user-end));
    color: white;
    border-top-right-radius: 8px;
}

.lisa-typing {
    display: none;
    max-width: 84%;
    background: white;
    color: var(--text-mid);
    border-radius: 24px;
    border-top-left-radius: 8px;
    padding: 14px 18px;
}

.lisa-typing.show {
    display: block;
}

.lisa-typing-dots {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
}

.lisa-typing-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--sunset-orange);
    animation: bounce 1.4s infinite;
}

.lisa-typing-dots span:nth-child(2) {
    animation-delay: .15s;
}

.lisa-typing-dots span:nth-child(3) {
    animation-delay: .30s;
}

@keyframes bounce {
    0%,60%,100% { transform: translateY(0); opacity: .4; }
    30% { transform: translateY(-8px); opacity: 1; }
}

.lisa-typing-status {
    font-style: italic;
    color: #55725f;
    min-height: 1.4em;
}

.lisa-panel-footer {
    border-top: 1px solid rgba(0,0,0,0.06);
    padding: 14px 14px 12px;
    background: white;
}

.lisa-input-row {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.lisa-input {
    flex: 1;
    min-height: 54px;
    max-height: 120px;
    resize: none;
    border: 3px solid var(--lisa-accent-border);
    border-radius: 999px;
    padding: 14px 18px;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    outline: none;
    color: var(--text-dark);
}

.lisa-send {
    width: 58px;
    height: 58px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--lisa-accent-start), var(--lisa-accent-end));
    color: white;
    cursor: pointer;
    font-size: 26px;
    flex-shrink: 0;
}

.lisa-disclaimer {
    margin-top: 10px;
    text-align: center;
    color: #c11d16;
    font-weight: 700;
    font-size: 12px;
    line-height: 1.45;
}

.lisa-disclaimer a {
    color: #0b63ce;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(26, 10, 46, 0.97);
    backdrop-filter: blur(16px);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.2);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-text {
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    line-height: 1.5;
    max-width: 600px;
}

.cookie-banner-text a {
    color: #f5a623;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-banner-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #e8842c, #f5a623);
    color: white;
    box-shadow: 0 4px 12px rgba(232,132,44,0.3);
}

.cookie-btn-accept:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(232,132,44,0.4);
}

.cookie-btn-decline {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.15);
}

.cookie-btn-decline:hover {
    background: rgba(255,255,255,0.15);
    color: white;
}

@media (max-width: 900px) {
    .site-nav-links {
        display: none;
    }

    .site-nav-hamburger {
        display: flex;
    }

    .site-nav-inner {
        padding: 12px 18px;
    }

    .site-nav-logo-img {
        width: 38px;
        height: 38px;
    }

    .site-nav-logo-text {
        font-size: 20px;
        padding-left: 6px;
    }
}

@media (max-width: 640px) {
    .lisa-panel {
        right: 10px;
        left: 10px;
        bottom: 96px;
        width: auto;
        height: min(76vh, 640px);
    }

    .lisa-launcher {
        width: 68px;
        height: 68px;
        right: 14px;
        bottom: 14px;
    }

    .cookie-banner {
        flex-direction: column;
        text-align: center;
        padding: 16px 20px;
        gap: 12px;
    }

    .site-footer {
        padding: 40px 20px 28px;
    }
}
