:root {
    --rl-primary: #0d6efd;
    --rl-primary-dark: #0a58ca;
    --rl-secondary: #6c757d;
    --rl-dark: #0b0f16;
    --rl-light: #f8f9fa;
    --rl-surface-secondary: #f4f6f9;
}

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
    color: var(--rl-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.rl-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.5rem;
    background: rgba(13, 110, 253, 0.12);
    color: var(--rl-primary);
    font-weight: 800;
    line-height: 1;
}

.rl-emoji {
    display: inline-block;
    line-height: 1;
}

.icon-square-sm {
    width: 3rem;
    height: 3rem;
    font-size: 1.5rem;
}

.rl-kpi-emoji {
    display: block;
    font-size: 2.1rem;
    line-height: 1;
    margin-bottom: 0.5rem;
}

/* Navbar */
.navbar-brand {
    font-weight: 800 !important;
    letter-spacing: -0.5px;
    font-size: 1.5rem;
}

.navbar-glass {
    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(0px);
    transition: all 0.3s ease;
    padding: 1.25rem 0;
    z-index: 1050;
}

.navbar-glass.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 0.75rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.nav-link {
    font-weight: 600;
    color: var(--rl-dark);
    font-size: 0.95rem;
}

@media (max-width: 991.98px) {
    .navbar-glass .navbar-collapse {
        background: #fff;
        padding: 1rem;
        border-radius: 1rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
        margin-top: 0.5rem;
        border: 1px solid rgba(0,0,0,0.05);
    }
}

/* Hero Section */
.hero-section {
    padding: 12rem 0 8rem;
    position: relative;
}

.hero-title {
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--rl-dark) 0%, var(--rl-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-lead {
    font-size: 1.25rem;
    color: var(--rl-secondary);
    max-width: 800px;
    margin: 0 auto 2rem;
}

.hero-bg-animation {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 150%;
    background: radial-gradient(circle at 50% 50%, rgba(13, 110, 253, 0.08) 0%, rgba(255, 255, 255, 0) 60%);
    z-index: -1;
    pointer-events: none;
}

/* Buttons */
.btn-primary {
    background-color: var(--rl-primary);
    border-color: var(--rl-primary);
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background-color: var(--rl-primary-dark);
    border-color: var(--rl-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.25) !important;
}

/* Sections */
.section-padding {
    padding: 5rem 0;
}

.section-title {
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--rl-secondary);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.bg-surface-secondary {
    background-color: var(--rl-surface-secondary);
}

/* Cards */
.feature-card {
    border: 1px solid rgba(0,0,0,0.04);
    background: #fff;
    border-radius: 1.25rem;
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border-color: rgba(13, 110, 253, 0.2);
}

.icon-square {
    width: 3.5rem;
    height: 3.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

/* Backgrounds for icons */
.bg-soft-primary { background: rgba(13, 110, 253, 0.1); color: #0d6efd; }
.bg-soft-success { background: rgba(25, 135, 84, 0.1); color: #198754; }
.bg-soft-danger { background: rgba(220, 53, 69, 0.1); color: #dc3545; }
.bg-soft-warning { background: rgba(255, 193, 7, 0.1); color: #ffc107; }
.bg-soft-info { background: rgba(13, 202, 240, 0.1); color: #0dcaf0; }
.bg-soft-dark { background: rgba(33, 37, 41, 0.1); color: #212529; }

/* Pricing */
.pricing-card {
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 1.5rem;
    background: #fff;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.pricing-card:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.pricing-card.popular {
    border: 2px solid var(--rl-primary);
    background: linear-gradient(180deg, #ffffff 0%, #f0f7ff 100%);
}

.pricing-title {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #0b0f16 0%, #1a2332 100%);
    color: #fff;
    padding: 6rem 0;
    text-align: center;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Utilities */
.text-balance {
    text-wrap: balance;
}

.list-checked {
    list-style: none;
    padding-left: 0;
}

.list-checked li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.5rem;
}

.list-checked li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--rl-primary);
    font-weight: 800;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #f8f9fa;
    color: #212529;
    padding: 1rem;
    text-align: center;
    z-index: 1070;
    border-top: 1px solid rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cookie-banner.show {
    opacity: 1;
    visibility: visible;
}

.cookie-banner-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 1140px;
    margin: 0 auto;
}

.cookie-banner-content p {
    margin-bottom: 0;
}

@media (max-width: 576px) {
    .cookie-banner-content .btn {
        width: 100%;
    }
}