/* ============================================================ */
/* StaffExpress – Landing Page Premium Styles                   */
/* ============================================================ */

/* ---------- Landing Nav ---------- */
.landing-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    z-index: 100;
}

.landing-nav .logo {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--primary) 0%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-link {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover::after {
    width: 100%;
}

/* ---------- Hero Section ---------- */
.hero {
    text-align: center;
    padding: 56px 0 40px;
    position: relative;
    overflow: hidden;
}

/* Radial glow behind hero */
.hero::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 194, 124, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero>* {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.8px;
    line-height: 1.15;
    background: linear-gradient(135deg, #ffffff 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    max-width: 580px;
    margin: 0 auto;
}

.hero p {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 460px;
    margin: 16px auto 28px;
    line-height: 1.6;
}

/* ---------- Hero CTA Buttons ---------- */
.hero .btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #059669 100%);
    box-shadow: 0 4px 20px rgba(0, 194, 124, 0.3);
    border: none;
    transition: all 0.3s ease;
}

.hero .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(0, 194, 124, 0.45);
}

.hero .btn-outline {
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
}

.hero .btn-outline:hover {
    border-color: var(--primary);
    background: rgba(0, 194, 124, 0.06);
    transform: translateY(-2px);
}

/* ---------- Feature Grid ---------- */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 640px) {
    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

.feature-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.8) 0%, rgba(30, 41, 59, 0.4) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 28px 22px;
    text-align: center;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 194, 124, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25),
        0 0 30px rgba(0, 194, 124, 0.06);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card i {
    font-style: normal;
    font-size: 2rem;
    display: block;
    margin-bottom: 12px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.feature-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.3px;
}

.feature-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 8px;
    line-height: 1.55;
}

/* ---------- Section Headings ---------- */
section h2 {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.4px;
}

section h3 {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.3px;
}

/* ---------- Staff & Job Cards (Landing) ---------- */
.card {
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 194, 124, 0.18);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(0, 194, 124, 0.04);
}

/* Available staff cards */
section .card .avatar {
    border: 2px solid rgba(0, 194, 124, 0.25);
    transition: border-color 0.3s ease;
}

section .card:hover .avatar {
    border-color: var(--primary);
}

/* ---------- Badge Enhancements ---------- */
.badge-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.08));
    border: 1px solid rgba(16, 185, 129, 0.15);
    backdrop-filter: blur(4px);
}

/* ---------- "View All" Arrow Link ---------- */
a.nav-link[style*="font-size: 0.9rem"] {
    color: var(--primary);
    font-weight: 600;
    opacity: 0.85;
    transition: all 0.25s ease;
}

a.nav-link[style*="font-size: 0.9rem"]:hover {
    opacity: 1;
    transform: translateX(4px);
}

/* ---------- Footer Separator ---------- */
.border-top {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ---------- Spacing Helpers ---------- */
.mt-xl {
    margin-top: 40px;
}

.mb-xl {
    margin-bottom: 40px;
}

.py-lg {
    padding-top: 32px;
    padding-bottom: 32px;
}

.py-md {
    padding-top: 20px;
    padding-bottom: 20px;
}

.pt-lg {
    padding-top: 32px;
}

.items-start {
    align-items: flex-start;
}

/* ---------- Staggered Entrance Animations ---------- */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade {
    animation: slideUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Pulse glow on the "Available" dot */
.dot-success {
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 6px var(--success);
    }

    50% {
        box-shadow: 0 0 16px var(--success), 0 0 30px rgba(16, 185, 129, 0.3);
    }
}

/* ---------- Responsive Hero ---------- */
@media (min-width: 768px) {

    /* Keep bottom-nav at the bottom on all screen sizes */
    .bottom-nav {
        top: auto;
        bottom: 0;
        border-bottom: none;
        border-top: 1px solid var(--border);
    }

    body {
        padding-top: 0;
        padding-bottom: 70px;
    }

    .hero {
        padding: 48px 0 50px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.15rem;
    }
}

@media (min-width: 1024px) {
    .hero h1 {
        font-size: 3.4rem;
        max-width: 700px;
    }

    .hero p {
        max-width: 540px;
    }
}

/* ---------- Smooth scrollbar (webkit) ---------- */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--background);
}

::-webkit-scrollbar-thumb {
    background: var(--surface-light);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}