/* Local Fonts (DSGVO compliant) */
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url('fonts/outfit-v11-latin-regular.woff2') format('woff2');
}

:root {
    --primary: #4f46e5;
    --primary-glow: rgba(79, 70, 229, 0.4);
    --secondary: #8b5cf6;
    --background: #0f172a;
    --surface: rgba(30, 41, 59, 0.7);
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --success: #10b981;
    --transition: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Legal Pages */
.legal-page {
    padding: 12rem 0 8rem;
    max-width: 800px;
    margin: 0 auto;
}
.legal-page h1 { font-size: 2.5rem; margin-bottom: 2rem; }
.legal-page h2 { font-size: 1.5rem; margin: 2rem 0 1rem; color: var(--text); }
.legal-page p { margin-bottom: 1rem; color: var(--text-muted); line-height: 1.8; }
.legal-page ul { margin: 1rem 0 1.5rem 1.5rem; color: var(--text-muted); list-style: disc; }
.legal-page li { margin-bottom: 0.5rem; }

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Glassmorphism */
.glass {
    background: var(--surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
}

/* ==========================================================================
   Landing Page Styles
   ========================================================================== */

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.5rem;
    text-decoration: none;
    color: white;
}

.logo-icon {
    color: var(--primary);
    transform: rotate(0deg);
}

.logo-text span {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-cta {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Hero Section */
.hero {
    padding: 10rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 4.5rem; /* Adjusted from 4rem */
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 2rem; /* Adjusted from 1.5rem */
    letter-spacing: -2px; /* Added */
}

.hero-content h1 span {
    background: linear-gradient(90deg, var(--primary), var(--secondary)); /* Kept secondary for landing page */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem; /* Adjusted from 1.2rem */
    color: var(--text-muted);
    margin-bottom: 3rem; /* Adjusted from 2.5rem */
    max-width: 600px; /* Adjusted from 500px */
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.stat span {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.hero-visual {
    position: relative;
    z-index: 1;
}

.image-wrapper {
    position: relative;
    border-radius: 24px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.5);
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg); /* Added */
    transition: var(--transition); /* Added */
}

.image-wrapper:hover { /* Added */
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5); /* Added */
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(59, 130, 246, 0.2); /* Moved and corrected */
}

/* Feature Section */
.features {
    padding: 8rem 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem; /* Adjusted from 4rem */
}

.section-header h2 {
    font-size: 3rem; /* Adjusted from 2.5rem */
    font-weight: 800; /* Added */
    margin-bottom: 1rem;
}

.section-header p { /* Added */
    color: var(--text-muted);
    font-size: 1.2rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Adjusted from auto-fit */
    gap: 2rem;
}

.feature-card {
    padding: 3rem;
    cursor: pointer;
    transition: var(--transition); /* Corrected !important */
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08); /* Adjusted from 0.06 */
    border-color: var(--primary);
}

.icon-box {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    width: 64px;
    height: 64px;
    background: rgba(79, 70, 229, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
}

.feature-img { /* Added */
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255,255,255,0.1);
}

.feature-img img { /* Added */
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.feature-card:hover .feature-img img { /* Added */
    transform: scale(1.05);
}

.feature-card h3 { /* Added */
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p { /* Added */
    color: var(--text-muted);
}

/* Dashboard Demo (Landing Page Feature) */
.dashboard-demo {
    padding: 8rem 0;
    background: linear-gradient(180deg, transparent, rgba(59, 130, 246, 0.05));
}

.demo-card {
    padding: 0;
    overflow: hidden;
}

.demo-header {
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.demo-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--success);
    font-weight: 600;
    font-size: 0.9rem;
}

.status::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
}

.pulse::before {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.demo-content {
    padding: 3rem;
}

.chat-sim {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.message {
    padding: 1.5rem;
    border-radius: 15px;
    max-width: 80%;
}

.message.tenant {
    background: var(--surface-light);
    align-self: flex-start;
}

.message.ai {
    background: rgba(59, 130, 246, 0.1);
    border-left: 4px solid var(--primary);
    align-self: flex-end;
}

/* Footer */
footer {
    padding: 8rem 0 4rem;
    margin-top: 8rem;
    border-radius: 0 !important;
    border-left: none;
    border-right: none;
    border-bottom: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 1.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links h4 {
    margin-bottom: 1rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 4rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: var(--text-muted);
}

/* Responsive Overrides for Landing Page */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 2rem;
    }
    .hero-content h1 {
        font-size: 2.8rem; /* Scaled for tablet */
    }
    .hero-visual {
        margin-top: 3rem;
    }
    .feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .navbar { padding: 0.75rem 0; }
    .hero { padding-top: 7rem; }
    .hero-content h1 { font-size: 2.2rem; /* Scaled for mobile */ }
    .hero-content p { font-size: 1rem; }
    .hero-actions {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }
    .hero-actions .btn { width: 100%; }
    .feature-grid {
        grid-template-columns: 1fr;
    }
    .demo-section .container { /* This selector seems to be for a non-existent class, keeping for now */
        grid-template-columns: 1fr !important;
        text-align: center;
    }
}

/* ==========================================================================
   App/Dashboard Styles
   ========================================================================== */

.dashboard-body {
    background-color: #05070a;
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 280px;
    background: #0f172a;
    border-right: 1px solid rgba(255,255,255,0.05);
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    z-index: 100;
}

.sidebar-logo {
    margin-bottom: 3.5rem;
    padding-left: 1rem;
}

.sidebar nav {
    position: static;
    background: transparent;
    border: none;
    backdrop-filter: none;
    padding: 0;
    width: 100%;
}

.side-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.side-nav li a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1rem;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 12px;
    transition: var(--transition);
    font-weight: 500;
}

.side-nav li a:hover, .side-nav li a.active {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
}

.side-nav .icon { font-size: 1.2rem; }

.main-content {
    flex: 1;
    margin-left: 280px;
    padding: 2rem 3rem;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.search-wrapper {
    background: var(--surface);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    width: 400px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-wrapper input {
    background: transparent;
    border: none;
    color: white;
    width: 100%;
    outline: none;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    border-radius: 50%;
}

/* Pricing Section */
.pricing {
    padding: 8rem 0;
    position: relative;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.pricing-card {
    padding: 3.5rem 2.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
    background: rgba(79, 70, 229, 0.05);
}

@media (max-width: 1024px) {
    .pricing-card.featured { transform: scale(1); }
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 1.5rem 0;
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    margin: 2rem 0 3rem;
    flex: 1;
}

.pricing-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.pricing-features li::before {
    content: '✓';
    color: var(--success);
    font-weight: 900;
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.4rem 1.25rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Dashboard Layout */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
}

.welcome-section h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.welcome-section p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    padding: 1.5rem;
}

.stat-card label {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-card .value {
    font-size: 1.5rem;
    font-weight: 800;
}

.stat-card .trend {
    font-size: 0.75rem;
    margin-top: 0.5rem;
}

.trend.up { color: var(--success); }

.chart-card {
    background: var(--surface);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255,255,255,0.05);
}

.chart-placeholder {
    height: 300px;
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.05) 0%, transparent 100%);
    border-radius: 12px;
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    padding: 1rem;
}

.bar {
    flex: 1;
    background: var(--primary);
    border-radius: 4px 4px 0 0;
    opacity: 0.6;
}

/* Sidebar Widgets */
.widget-stack {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.widget {
    padding: 1.5rem;
}

.widget h3 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.activity-item {
    display: flex;
    gap: 1rem;
}

.activity-icon {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.activity-details h4 { font-size: 0.9rem; margin-bottom: 0.1rem; }
.activity-details span { font-size: 0.75rem; color: var(--text-muted); }

.action-btns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

/* Shared Page Elements */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

/* Property Grid */
.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.prop-card {
    overflow: hidden;
    padding: 0;
}

.prop-img {
    height: 180px;
    background: var(--surface-light);
    position: relative;
}

.prop-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.prop-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.prop-badge.occupied { background: rgba(16, 185, 129, 0.2); color: var(--success); }
.prop-badge.vacant { background: rgba(248, 113, 113, 0.2); color: #f87171; }

.prop-info {
    padding: 1.5rem;
}

.prop-info h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.prop-info p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1rem; }

.prop-stats {
    display: flex;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.prop-stat label { display: block; font-size: 0.7rem; color: var(--text-muted); }
.prop-stat span { font-weight: 600; font-size: 0.9rem; }

/* Tables */
.data-table-wrapper {
    margin-top: 1rem;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    text-align: left;
    padding: 1rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.95rem;
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-indicator.active { background: rgba(16, 185, 129, 0.1); color: var(--success); }
.status-indicator.warning { background: rgba(251, 191, 36, 0.1); color: #fbbf24; }

/* Maintenance Feed */
.ticket-row {
    padding: 1.5rem;
    margin-bottom: 1rem;
    display: grid;
    grid-template-columns: 100px 1fr 120px 150px;
    align-items: center;
    gap: 2rem;
}

.ticket-id { font-family: monospace; color: var(--primary); }
.ticket-title { font-weight: 600; }
.triage-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 800;
}
.triage-high { background: #fee2e2; color: #991b1b; }
.triage-med { background: #fef3c7; color: #92400e; }

/* Responsive Design */
@media (max-width: 1024px) {
    .sidebar {
        width: 80px;
        padding: 1.5rem 0.5rem;
    }
    .logo-text, .side-nav a span:not(.icon) {
        display: none;
    }
    .main-content {
        margin-left: 80px;
    }
    .dashboard-grid, .nk-demo-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .sidebar {
        display: none; /* Mobile Bottom Nav or Hamburger would go here */
    }
    .main-content {
        margin-left: 0;
        padding: 1rem;
    }
    .stats-row {
        grid-template-columns: 1fr 1fr;
    }
    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .ticket-row {
        grid-template-columns: 1fr 100px;
        gap: 0.5rem;
    }
    .ticket-id, div:has(.triage-badge) { display: none; }
}

/* HeizkostenV Calculator Styles */
.hkv-card {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 1px solid rgba(79, 70, 229, 0.3);
}

.split-viz {
    display: flex;
    height: 40px;
    border-radius: 20px;
    overflow: hidden;
    margin: 2rem 0;
}

.split-basic { background: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 800; }
.split-usage { background: var(--success); display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 800; }

.calc-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* Professional Print Styles */
@media print {
    body { background: white !important; color: black !important; }
    .sidebar, .top-bar, .btn, .search-wrapper, .status, .demo-header, .nk-demo-grid > div:first-child { 
        display: none !important; 
    }
    .main-content { margin: 0 !important; padding: 0 !important; width: 100% !important; }
    .glass { background: white !important; border: 1px solid #eee !important; box-shadow: none !important; backdrop-filter: none !important; }
    
    .print-only { display: block !important; }
    .no-print { display: none !important; }
    
    .hkv-card { 
        width: 100% !important; 
        border: none !important; 
        padding: 2rem !important; 
    }
    
    .print-branding {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 3rem;
        border-bottom: 2px solid var(--primary);
        padding-bottom: 1rem;
    }
    
    .print-logo { font-size: 2rem; font-weight: 800; color: #4f46e5; }
    .print-logo span { color: #8b5cf6; }
    
    .calc-row.total { 
        color: #4f46e5 !important; 
        border-top: 2px solid #4f46e5 !important; 
    }
}
.print-only { display: none; }


/* Modal System */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-content {
    background: #0f172a;
    width: 500px;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: white;
    font-family: inherit;
    transition: all 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255,255,255,0.08);
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
}

.close-modal {
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-muted);
}



/* Global AI Chatbot Widget */
.chat-widget-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
    font-family: 'Outfit', sans-serif;
}

.chat-bubble {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(79, 70, 229, 0.4);
    transition: var(--transition);
    font-size: 1.5rem;
}

.chat-bubble:hover {
    transform: scale(1.1);
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 450px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: none;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.chat-window.active {
    display: flex;
    animation: slideUp 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.chat-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-status {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    max-width: 80%;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.85rem;
    line-height: 1.4;
}

.message.bot {
    background: rgba(255, 255, 255, 0.05);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.message.user {
    background: var(--primary);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.chat-input-area {
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    gap: 0.5rem;
}

.chat-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 0.6rem 1rem;
    color: white;
    outline: none;
    font-size: 0.85rem;
}

.chat-send {
    background: var(--primary);
    border: none;
    border-radius: 10px;
    padding: 0.6rem 1rem;
    cursor: pointer;
}
