:root {
    --bg-dark: #0a0f1c;
    /* Very dark blue/black */
    --bg-panel: #111827;
    /* Panel background */
    --bg-panel-hover: #1f2937;
    --primary-blue: #2563eb;
    --neon-cyan: #00f2ff;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --border-color: #1f2937;
    --glass-bg: rgba(17, 24, 39, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-glow: 0 0 15px rgba(37, 99, 235, 0.3);

    /* Bootstrap Overrides */
    --bs-body-bg: var(--bg-dark);
    --bs-body-color: var(--text-main);
    --bs-primary: var(--primary-blue);
    --bs-info: var(--neon-cyan);
    --hero-gradient: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(0, 242, 255, 0.05) 100%);
}

/* Base Styles (Dashboard Logic - Kept for compatibility) */
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Sidebar & Dashboard (Legacy Styles - scoped if possible, or kept global for now) */
.app-sidebar {
    background: var(--bg-panel);
    border-right: 1px solid var(--border-color);
}

.app-header {
    background: var(--glass-bg);
    border-bottom: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

/* ... existing dashboard styles need to be clean ... */
.widget-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
}


/* BOOTSTRAP 5 OVERRIDES & LANDING PAGE */

/* Navbar */
.navbar-glass {
    background: rgba(10, 15, 28, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-link {
    color: var(--text-muted) !important;
    transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--neon-cyan) !important;
}

/* Buttons */
.btn-primary {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
    background: #1d4ed8;
    box-shadow: 0 0 25px rgba(37, 99, 235, 0.6);
}

.btn-outline-neon {
    color: var(--neon-cyan);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.1);
}

.btn-outline-neon:hover {
    background: rgba(0, 242, 255, 0.1);
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.3);
}

/* Text */
.text-neon {
    color: var(--neon-cyan) !important;
}

.text-gradient {
    background: linear-gradient(135deg, #fff 30%, var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Cards (Features/Pricing) */
.card-glass {
    background: rgba(17, 24, 39, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: transform 0.3s, border-color 0.3s;
}

.card-glass:hover {
    transform: translateY(-5px);
    border-color: var(--primary-blue);
}

.card-header-glass {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Hero */
.hero-section {
    position: relative;
    padding: 8rem 0 6rem;
    overflow: hidden;
    background: radial-gradient(circle at 50% 30%, rgba(37, 99, 235, 0.15) 0%, transparent 60%);
}

.hero-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 60%);
    z-index: -1;
    animation: pulse 10s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.5;
    }
}

/* Odoo-style Annotated Screenshot */
.annotated-ui-container {
    position: relative;
    display: inline-block;
    border-radius: 1rem;
    box-shadow: 0 0 50px rgba(37, 99, 235, 0.2);
    border: 1px solid var(--border-color);
}

.ui-annotation {
    position: absolute;
    background: rgba(10, 15, 28, 0.9);
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

/* Dots connecting annotation to UI */
.ui-annotation::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--neon-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-cyan);
}

/* Positioning examples */
.annotation-left::after {
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
}

.annotation-right::after {
    left: -5px;
    top: 50%;
    transform: translateY(-50%);
}

.annotation-top::after {
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
}

/* Accordion (Docs) */
.accordion-item {
    background-color: transparent;
    border: 1px solid var(--border-color);
}

.accordion-button {
    background-color: var(--bg-panel);
    color: var(--text-main);
}

.accordion-button:not(.collapsed) {
    color: var(--neon-cyan);
    background-color: rgba(37, 99, 235, 0.1);
    box-shadow: none;
}

.accordion-body {
    background-color: rgba(10, 15, 28, 0.5);
    color: var(--text-muted);
}

.accordion-button::after {
    filter: invert(1);
}