:root {
    --brand-green: #128c7e;
    --brand-dark: #0f172a;
    --brand-muted: #64748b;
    --brand-bg: #f8fafc;
}

body {
    background-color: var(--brand-bg);
    color: var(--brand-dark);
    min-height: 100vh;
}

.public-body,
.app-body {
    background: var(--brand-bg);
}

.login-body {
    background: linear-gradient(160deg, #0f172a 0%, #1e293b 50%, #0b3b34 100%);
}

.site-navbar {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.7);
    min-height: 64px;
}

.site-logo {
    height: 32px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
}

.nav-pill {
    padding: 0.5rem 1rem !important;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151 !important;
}

.nav-pill:hover,
.nav-pill.active {
    color: #128c7e !important;
    background: rgba(18, 140, 126, 0.08);
}

.credits-badge {
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #16a34a, #059669);
    color: #fff !important;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.credits-badge:hover {
    color: #fff !important;
    filter: brightness(1.05);
}

.btn-notif {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    border: 0;
    background: transparent;
    color: #4b5563;
}

.btn-notif:hover {
    background: rgba(15, 23, 42, 0.05);
}

.notif-count {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.notif-dropdown {
    width: 320px;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.notif-header {
    padding: 0.85rem 1rem;
    background: linear-gradient(90deg, #16a34a, #059669);
}

.btn-user {
    border: 0;
    background: transparent;
    padding: 0.35rem 0.5rem;
    border-radius: 0.5rem;
}

.btn-user:hover {
    background: rgba(15, 23, 42, 0.05);
}

.user-dropdown {
    min-width: 220px;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    padding: 0.35rem;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.user-dropdown .dropdown-item {
    border-radius: 0.5rem;
    padding: 0.55rem 0.85rem;
}

.btn-get-started {
    background: linear-gradient(90deg, #16a34a, #059669);
    border: 0;
    color: #fff;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.55rem 1.25rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.btn-get-started:hover {
    color: #fff;
    filter: brightness(1.05);
}

.login-body .site-navbar {
    background: #fff;
}

.hero-section {
    padding: 4.5rem 0 3.5rem;
    background:
        radial-gradient(circle at top right, rgba(18, 140, 126, 0.18), transparent 40%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.live-demo-card,
.feature-box,
.step-box,
.stat-card,
.pricing-card {
    border: 0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}

.feature-box,
.step-box,
.stat-card {
    padding: 1.5rem;
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--brand-green);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 0.85rem;
}

.btn-success {
    background-color: var(--brand-green);
    border-color: var(--brand-green);
}

.btn-success:hover,
.btn-success:focus {
    background-color: #0e7368;
    border-color: #0e7368;
}

.text-success {
    color: var(--brand-green) !important;
}

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.login-card {
    width: 100%;
    max-width: 420px;
    border: 0;
    border-radius: 14px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
}

.login-card .card-header {
    background: #fff;
    border-bottom: 1px solid #e9ecef;
    border-radius: 14px 14px 0 0;
    text-align: center;
    font-weight: 700;
    font-size: 1.25rem;
    padding: 1.25rem 1.5rem;
}

.login-card .card-body {
    padding: 1.75rem;
}

.password-toggle-btn {
    cursor: pointer;
    border-color: #ced4da;
    background: #fff;
}

.password-toggle-btn:hover {
    background: #f8f9fa;
}

.site-footer {
    background: #fff;
    border-top: 1px solid #e2e8f0;
}

.footer-links a {
    color: var(--brand-muted);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--brand-green);
}

.docs-sidebar {
    background: #fff;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
}

.docs-sidebar a {
    display: block;
    color: var(--brand-muted);
    text-decoration: none;
    padding: 0.35rem 0;
}

.docs-sidebar a:hover {
    color: var(--brand-green);
}

.docs-block {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
}

.code-block {
    background: #0f172a;
    color: #e2e8f0;
    border-radius: 10px;
    padding: 1rem;
    overflow-x: auto;
}

.app-main .card {
    border-radius: 12px;
}

.table > :not(caption) > * > * {
    padding: 0.85rem 1rem;
}

.stat-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.usage-bar {
    width: 70%;
    background: linear-gradient(180deg, #19a38f, #128c7e);
    border-radius: 8px 8px 4px 4px;
}

.avatar-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #128c7e;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.settings-tabs .list-group-item.active {
    background: #128c7e;
    border-color: #128c7e;
}

.campaign-card {
    transition: transform .15s ease, box-shadow .15s ease;
}

.campaign-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1) !important;
}

.app-body .navbar .nav-link.active {
    color: #128c7e !important;
}
