:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-gradient: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    --bg-light: #f8fafc;
    --bg-dark: #0f172a;
    --surface: #ffffff;
    --surface-2: #f8fafc;
    --text-muted: #64748b;
    --card-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    --card-shadow-hover: 0 24px 48px rgba(37, 99, 235, 0.14);
    --radius-lg: 24px;
    --radius-md: 16px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: #1e293b;
    background: linear-gradient(180deg, #f8fafc 0%, #f8fafc 100%);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, .navbar-brand {
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0f172a;
}

a {
    text-decoration: none;
}

.page-flash-wrap {
    position: relative;
    z-index: 2;
}

.navbar.app-navbar {
    transition: all 0.25s ease;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    background: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: blur(14px);
}

.navbar.app-navbar.scrolled {
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.nav-link {
    font-weight: 600;
    color: #475569 !important;
    padding: 0.65rem 1rem !important;
    border-radius: 999px;
    transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
    background: rgba(37, 99, 235, 0.08);
}

.dropdown-item.active,
.dropdown-item:active {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-dark);
}

.hero-section,
.detail-hero {
    position: relative;
    overflow: hidden;
}

.hero-section::before,
.detail-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 35%),
                radial-gradient(circle at bottom right, rgba(124, 58, 237, 0.08), transparent 35%);
    pointer-events: none;
}

.btn-primary {
    background: var(--primary);
    border: none;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.24);
}

.btn-outline-primary {
    color: var(--primary);
    border: 2px solid rgba(37, 99, 235, 0.35);
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 999px;
}

.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.card,
.pricing-card,
.benefit-card,
.accordion-item,
.site-footer {
    box-shadow: var(--card-shadow);
}

.card,
.pricing-card,
.benefit-card {
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: var(--radius-lg);
}

.card:hover,
.benefit-card:hover {
    box-shadow: var(--card-shadow-hover);
}

.pricing-card {
    background: var(--surface);
    padding: 42px 34px;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-6px);
}

.pricing-card.featured {
    background: var(--bg-dark);
    color: #fff;
}

.site-footer {
    background: #0b1220;
    color: #fff;
    margin-top: 4rem;
}

.footer-links li + li {
    margin-top: 0.6rem;
}

.footer-links a,
.footer-action-link {
    color: rgba(255, 255, 255, 0.78);
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover,
.footer-action-link:hover {
    color: #fff;
}

.footer-action-link {
    font-weight: 700;
}

.comparison-table th,
.comparison-table td {
    padding: 22px 20px;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    background: #f8fafc;
}

.accordion-button {
    border-radius: 0 !important;
    font-weight: 700;
}

.accordion-button:focus {
    box-shadow: none;
}

.product-hero,
.dashboard-hero,
.catalogue-hero {
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.badge {
    letter-spacing: 0.04em;
}

.breadcrumb a {
    color: var(--primary);
}

@media (max-width: 991px) {
    .nav-link {
        padding-left: 0 !important;
        padding-right: 0 !important;
        background: transparent !important;
    }

    .pricing-card.featured {
        transform: none;
    }
}
