:root {
    --nx-purple: #7b2ff7;
    --nx-magenta: #c026d3;
    --nx-blue: #2563eb;
    --nx-dark: #0f0a1f;
    --nx-light: #f7f5fb;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: #1f1a30;
    background-color: var(--nx-light);
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: .5px;
}

.brand-gradient {
    background: linear-gradient(90deg, var(--nx-blue), var(--nx-purple), var(--nx-magenta));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-section {
    background: #ffffff;
    color: #fff;
    padding: 6rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 40%, rgba(192,38,211,0.25), transparent 55%);
}

.btn-brand {
    background: linear-gradient(90deg, var(--nx-blue), var(--nx-purple), var(--nx-magenta));
    border: none;
    color: #fff;
    font-weight: 600;
    padding: .65rem 1.6rem;
    border-radius: 50px;
    transition: transform .15s ease, box-shadow .15s ease;
}

.btn-brand:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(123,47,247,0.35);
}

.service-card {
    border: none;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    height: 100%;
    background: #fff;
    box-shadow: 0 6px 24px rgba(30, 15, 70, 0.06);
    transition: transform .18s ease, box-shadow .18s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(30, 15, 70, 0.12);
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #fff;
    background: linear-gradient(135deg, var(--nx-blue), var(--nx-purple), var(--nx-magenta));
    margin-bottom: 1rem;
}

footer {
    background: #ffffff;
    color: #4a3f66;
    border-top: 1px solid #eee;
}

footer a {
    color: #6d3ff0;
    text-decoration: none;
}

.tagline {
    font-style: italic;
    color: #cfc7e8;
}

/* ---------- Admin Panel ---------- */
.admin-sidebar {
    min-height: 100vh;
    background: var(--nx-dark);
    color: #e6dcff;
}

.admin-sidebar a {
    color: #cfc7e8;
    text-decoration: none;
    display: block;
    padding: .7rem 1.2rem;
    border-radius: 8px;
    margin: 2px 10px;
}

.admin-sidebar a.active,
.admin-sidebar a:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
}

.admin-topbar {
    background: #fff;
    border-bottom: 1px solid #eee;
}

.stat-card {
    border-radius: 14px;
    border: none;
    box-shadow: 0 4px 18px rgba(30,15,70,0.06);
}

.login-card {
    max-width: 420px;
    margin: 6rem auto;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(30,15,70,0.15);
}

.badge-status-NEW { background-color: #2563eb; }
.badge-status-IN_PROGRESS { background-color: #d97706; }
.badge-status-RESOLVED { background-color: #16a34a; }

/* Fix hero text visibility on white background */
.hero-section h1,
.hero-section p,
.hero-section .text-white,
.hero-section .text-light {
    color: #1f1a30 !important;
}

.hero-section .brand-gradient {
    -webkit-text-fill-color: transparent;
}
