:root {
    --cw-primary: #0878ff;
    --cw-primary-dark: #075ed1;
    --cw-primary-light: #3b9cff;
    --cw-text: #1e293b;
    --cw-text-muted: #64748b;
    --cw-border: #e2e8f0;
}

* {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body {
    min-height: 100vh;
    background: radial-gradient(circle at 70% 5%, rgba(8,120,255,.12), transparent 28rem), #f3f7fc;
    padding: 0;
}

.pricing-navbar {
    background: linear-gradient(135deg, #061526 0%, #0b2e58 72%, #0878ff 140%);
    padding: 1rem 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

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

.pricing-navbar .brand {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-decoration: none;
}

.pricing-navbar .nav-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.pricing-navbar .cw-language-dropdown .cw-icon-button {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.pricing-navbar .cw-language-dropdown .cw-icon-button:hover,
.pricing-navbar .cw-language-dropdown .cw-icon-button:focus-visible,
.pricing-navbar .cw-language-dropdown .cw-icon-button[aria-expanded="true"] {
    border-color: rgba(255, 255, 255, 0.46);
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.pricing-navbar .btn-auth {
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-auth-login {
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: transparent;
}

.btn-auth-login:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.btn-auth-register {
    background: #fff;
    color: var(--cw-primary-dark);
    border: 0;
    cursor: pointer;
}

.btn-auth-register:hover {
    background: #eaf3ff;
    transform: translateY(-1px);
}

.pricing-card {
    background: #fff;
    border: 1px solid var(--cw-border);
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.pricing-card.featured {
    border-color: var(--cw-primary);
    border-width: 2px;
    position: relative;
}

.pricing-card .card-body {
    text-center;
    padding: 2rem 1.5rem;
    flex: 1;
}

.pricing-card .card-footer {
    padding: 0 1.5rem 2rem;
    background: transparent;
    border-top: none;
}

.plan-name {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    color: var(--cw-text-muted);
    margin-bottom: 1rem;
}

.plan-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--cw-text);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.plan-price small {
    font-size: 1rem;
    font-weight: 500;
    color: var(--cw-text-muted);
}

.plan-desc {
    color: var(--cw-text-muted);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.plan-features {
    list-style: none;
    padding: 0;
    text-align: left;
}

.plan-features li {
    padding: 0.4rem 0;
    font-size: 0.9rem;
    color: var(--cw-text);
}

.trial-card {
    background: linear-gradient(135deg, #ffffff 0%, #e8f2ff 100%);
    border: 2px solid #b9d8ff;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-navbar .brand { display: inline-flex; align-items: center; gap: .6rem; }
.pricing-navbar .brand i { color: #31a5ff; font-size: 1.8rem; }
.trial-card h3 i { color: var(--cw-primary); }
.trial-inline-action { display: inline-block; margin: .35rem; }
.btn-demo { border: 0; color: #fff; background: linear-gradient(135deg, #f59f00, #e67800); font-weight: 700; }
.btn-demo:hover { color: #fff; transform: translateY(-1px); }
.trial-note { margin: .75rem 0 0; color: var(--cw-text-muted); font-size: .8125rem; }
.pricing-card { border-color: #dce6f2; box-shadow: 0 10px 30px rgba(14,39,76,.08); }

.trial-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cw-primary-dark);
    margin-bottom: 0.5rem;
}

.trial-card p {
    color: var(--cw-text-muted);
    margin-bottom: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--cw-primary) 0%, var(--cw-primary-dark) 100%);
    border: none;
    border-radius: 10px;
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 14px rgba(8, 120, 255, 0.3);
    transition: all 0.3s ease;
    color: #fff;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(8, 120, 255, 0.4);
}

.btn-outline-primary {
    border: 2px solid var(--cw-primary);
    color: var(--cw-primary);
    border-radius: 10px;
    padding: 0.8rem 2rem;
    font-weight: 600;
    background: transparent;
    transition: all 0.2s ease;
    text-decoration: none;
}

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

.info-alert {
    background: #dbeafe;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.info-alert h4 {
    color: #1e40af;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.info-alert p {
    color: #1e40af;
    font-size: 0.875rem;
    margin: 0;
    opacity: 0.8;
}

.ribbon {
    position: absolute;
    top: -1px;
    right: 20px;
    background: var(--cw-primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.35rem 0.75rem 0.5rem;
    border-radius: 0 0 8px 8px;
}

.pricing-footer {
    text-align: center;
    padding: 2rem 0;
    color: var(--cw-text-muted);
    font-size: 0.8125rem;
}

.pricing-footer a {
    color: var(--cw-primary);
    text-decoration: none;
}

@media (max-width: 575.98px) {
    .pricing-navbar .container-xl {
        flex-wrap: wrap;
        gap: 0.5rem;
        padding-inline: 1rem;
    }

    .pricing-navbar .brand {
        font-size: 1.25rem;
    }

    .pricing-navbar .nav-actions {
        width: 100%;
        justify-content: flex-end;
        gap: 0.375rem;
    }

    .pricing-navbar .btn-auth {
        padding: 0.45rem 0.65rem;
        font-size: 0.8rem;
        white-space: nowrap;
    }

    .pricing-plan-grid {
        margin-right: 0;
        margin-left: 0;
    }
}
