:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
    --grid-color: rgba(0, 0, 0, 0.05);
}

[data-bs-theme="dark"] {
    --primary: #3b82f6;
    --primary-dark: #60a5fa;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --bg-light: #0f172a;
    --white: #020617;
    /* Main Background */
    --card-bg: #1e293b;
    --border-color: #334155;
    --grid-color: rgba(255, 255, 255, 0.05);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.3s, color 0.3s;
    background-image: 
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 30px 30px;
}

/* Custom Navbar Styling */
.navbar {
    padding-top: 1rem;
    padding-bottom: 1rem;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: background-color 0.3s, border-color 0.3s;
}

[data-bs-theme="dark"] .navbar {
    background-color: rgba(2, 6, 23, 0.95);
    border-bottom-color: var(--border-color);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand .logo {
    max-width: 170px;
}

.nav-link {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
    margin: 0 0.5rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

[data-bs-theme="dark"] .nav-link:hover {
    color: var(--primary);
}

a {
    text-decoration: none;
}

.button {
    padding: 20px 35px;
    color: var(--white);
    background-color: var(--primary);
    border-radius: 10px;
    font-weight: 600;
    border: 1px solid var(--primary);
}
.button.button-sm {
    padding: 10px 25px;
}
.button.button-primary {
    background-color: var(--primary);
}

.button.button-secondary {
    color: var(--primary-dark);
    background-color: var(--white);
}

/* Hero Section */
.hero-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
    text-align: center;
    min-height: calc(100dvh - 98px);
    display: flex;
    align-items: center;
}

.badge-custom {
    background-color: #eff6ff;
    color: #2563eb;
    /* Fixed color for contrast */
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.5rem;
}

[data-bs-theme="dark"] .badge-custom {
    background-color: #1e3a8a;
    color: #93c5fd;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    line-height: 1.1;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 80   0px;
    margin: 0 auto 2.5rem;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.25rem;
    }
}

/* Dashboard Preview */
.dashboard-preview {
    background: var(--card-bg);
    border-radius: 12px 12px 0 0;
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
    border-bottom: none;
    overflow: hidden;
    margin-top: 3rem;
    transition: background-color 0.3s, border-color 0.3s;
}

.dashboard-header {
    background: var(--bg-light);
    padding: 0.75rem 1rem;
    display: flex;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #cbd5e1;
}

[data-bs-theme="dark"] .dot {
    background-color: #475569;
}

.dashboard-content {
    padding: 2rem;
    min-height: 300px;
    background: var(--card-bg);
}

.bar-mock {
    height: 12px;
    background: var(--bg-light);
    border-radius: 4px;
    width: 100%;
    margin-bottom: 0.8rem;
}

.main-mock {
    background: var(--bg-light);
    border-radius: 8px;
    border: 1px dashed var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    height: 100%;
    min-height: 200px;
}

footer {
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    background: var(--bg-light);
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: background-color 0.3s, border-color 0.3s;
}
