/* ═══════════════════════════════════════════
   JOBPORTAL PRO — Main Stylesheet
   ═══════════════════════════════════════════ */

:root {
    --navy: #0f2044;
    --navy-mid: #1a3260;
    --blue: #1e5fa8;
    --accent: #f5a623;
    --accent-dark: #d4891a;
    --light-bg: #f7f9fc;
    --white: #ffffff;
    --text-dark: #1a1a2e;
    --text-muted: #6b7280;
    --border: #e5e9f0;
    --success: #10b981;
    --font-display: 'Playfair Display', serif;
    --font-body: 'DM Sans', sans-serif;
    --shadow-sm: 0 2px 8px rgba(15,32,68,0.08);
    --shadow-md: 0 8px 32px rgba(15,32,68,0.12);
    --shadow-lg: 0 20px 60px rgba(15,32,68,0.18);
    --radius: 12px;
    --radius-lg: 20px;
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.6;
}

/* ── NAVBAR ─────────────────────────────── */
.jpro-navbar {
    background: var(--navy);
    padding: 0.85rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

    .jpro-navbar .navbar-brand {
        display: flex;
        align-items: center;
        gap: 10px;
        text-decoration: none;
    }

.brand-icon {
    width: 38px;
    height: 38px;
    background: var(--accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    font-size: 1rem;
    font-weight: 700;
}

.brand-text {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--white);
    letter-spacing: -0.3px;
}

.brand-accent {
    color: var(--accent);
}

.jpro-navbar .nav-link {
    color: rgba(255,255,255,0.8) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: all 0.2s;
}

    .jpro-navbar .nav-link:hover {
        color: var(--white) !important;
        background: rgba(255,255,255,0.1);
    }

.btn-nav-register {
    background: var(--accent);
    color: var(--navy) !important;
    font-weight: 600 !important;
    padding: 0.45rem 1.2rem !important;
    border-radius: 8px !important;
}

    .btn-nav-register:hover {
        background: var(--accent-dark) !important;
        color: var(--navy) !important;
    }

.btn-nav-login {
    border: 1.5px solid rgba(255,255,255,0.4) !important;
    color: var(--white) !important;
    font-weight: 500 !important;
    padding: 0.45rem 1.2rem !important;
    border-radius: 8px !important;
}

    .btn-nav-login:hover {
        background: rgba(255,255,255,0.1) !important;
    }

/* ── HERO SECTION ───────────────────────── */
.hero-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, #1a4080 100%);
    min-height: 88vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}

    .hero-section::before {
        content: '';
        position: absolute;
        width: 600px;
        height: 600px;
        background: radial-gradient(circle, rgba(245,166,35,0.12) 0%, transparent 70%);
        top: -100px;
        right: -100px;
        border-radius: 50%;
    }

    .hero-section::after {
        content: '';
        position: absolute;
        width: 400px;
        height: 400px;
        background: radial-gradient(circle, rgba(30,95,168,0.3) 0%, transparent 70%);
        bottom: -80px;
        left: 10%;
        border-radius: 50%;
    }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245,166,35,0.15);
    border: 1px solid rgba(245,166,35,0.3);
    color: var(--accent);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.6s ease;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.7s ease;
}

    .hero-title span {
        color: var(--accent);
    }

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 2.5rem;
    max-width: 520px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.9s ease;
}

.btn-primary-hero {
    background: var(--accent);
    color: var(--navy);
    font-weight: 700;
    padding: 0.85rem 2rem;
    border-radius: var(--radius);
    border: none;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s;
    box-shadow: 0 4px 20px rgba(245,166,35,0.4);
}

    .btn-primary-hero:hover {
        background: var(--accent-dark);
        color: var(--navy);
        transform: translateY(-2px);
        box-shadow: 0 8px 30px rgba(245,166,35,0.5);
    }

.btn-secondary-hero {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    font-weight: 600;
    padding: 0.85rem 2rem;
    border-radius: var(--radius);
    border: 1.5px solid rgba(255,255,255,0.3);
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s;
}

    .btn-secondary-hero:hover {
        background: rgba(255,255,255,0.18);
        color: var(--white);
        transform: translateY(-2px);
    }

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 3rem;
    animation: fadeInUp 1s ease;
}

.hero-stat-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* Hero Right Card */
.hero-card {
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
    padding: 2rem;
    animation: fadeInRight 0.9s ease;
}

.hero-card-title {
    font-family: var(--font-display);
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.step-num {
    width: 36px;
    height: 36px;
    background: var(--accent);
    color: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.step-text strong {
    display: block;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
}

.step-text span {
    color: rgba(255,255,255,0.55);
    font-size: 0.82rem;
}

.hero-trust {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.trust-avatars {
    display: flex;
}

    .trust-avatars span {
        width: 32px;
        height: 32px;
        background: var(--blue);
        border: 2px solid rgba(255,255,255,0.2);
        border-radius: 50%;
        margin-left: -8px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.75rem;
        color: white;
        font-weight: 600;
    }

        .trust-avatars span:first-child {
            margin-left: 0;
        }

.trust-text {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.65);
}

    .trust-text strong {
        color: var(--accent);
    }

/* ── SEARCH BAR ─────────────────────────── */
.search-section {
    background: var(--white);
    padding: 2.5rem 0;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 10;
}

.search-box {
    background: var(--light-bg);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: border-color 0.2s;
}

    .search-box:focus-within {
        border-color: var(--blue);
        box-shadow: 0 0 0 4px rgba(30,95,168,0.08);
    }

    .search-box input {
        border: none;
        background: transparent;
        outline: none;
        font-size: 0.95rem;
        width: 100%;
        font-family: var(--font-body);
    }

.btn-search {
    background: var(--navy);
    color: white;
    border: none;
    padding: 0.7rem 1.8rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
    white-space: nowrap;
}

    .btn-search:hover {
        background: var(--blue);
        transform: translateY(-1px);
    }

/* ── SECTION STYLES ─────────────────────── */
.section-badge {
    display: inline-block;
    background: rgba(30,95,168,0.1);
    color: var(--blue);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 0.8rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 540px;
    line-height: 1.7;
}

/* ── HOW IT WORKS ───────────────────────── */
.how-section {
    padding: 6rem 0;
    background: var(--light-bg);
}

.how-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all 0.3s;
    height: 100%;
}

    .how-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-md);
        border-color: var(--blue);
    }

.how-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--navy), var(--blue));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: white;
    margin: 0 auto 1.3rem;
}

.how-card h5 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--navy);
    margin-bottom: 0.7rem;
}

.how-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
}

/* ── SUBSCRIPTION PLANS ─────────────────── */
.plans-section {
    padding: 6rem 0;
    background: var(--white);
}

.plan-card {
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    border: 2px solid var(--border);
    background: var(--white);
    transition: all 0.3s;
    height: 100%;
    position: relative;
}

    .plan-card:hover {
        border-color: var(--blue);
        box-shadow: var(--shadow-md);
        transform: translateY(-4px);
    }

    .plan-card.featured {
        background: linear-gradient(145deg, var(--navy), var(--navy-mid));
        border-color: var(--accent);
        color: white;
    }

.plan-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--navy);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.plan-name {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.plan-price {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin: 1rem 0 0.3rem;
}

    .plan-price sup {
        font-size: 1.2rem;
        vertical-align: super;
    }

.plan-period {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.plan-card.featured .plan-period {
    color: rgba(255,255,255,0.6);
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

    .plan-features li {
        padding: 0.45rem 0;
        font-size: 0.9rem;
        display: flex;
        align-items: center;
        gap: 10px;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

.plan-card.featured .plan-features li {
    border-bottom-color: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.85);
}

.plan-features li i {
    color: var(--success);
    font-size: 0.85rem;
}

.plan-card.featured .plan-features li i {
    color: var(--accent);
}

.btn-plan {
    width: 100%;
    padding: 0.8rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid var(--navy);
    background: transparent;
    color: var(--navy);
    transition: all 0.2s;
    text-decoration: none;
    display: block;
    text-align: center;
}

    .btn-plan:hover {
        background: var(--navy);
        color: white;
    }

.btn-plan-featured {
    background: var(--accent);
    color: var(--navy);
    border-color: var(--accent);
}

    .btn-plan-featured:hover {
        background: var(--accent-dark);
        border-color: var(--accent-dark);
        color: var(--navy);
    }

/* ── STATS BANNER ───────────────────────── */
.stats-section {
    background: linear-gradient(135deg, var(--navy), var(--blue));
    padding: 4rem 0;
    color: white;
}

.stat-box {
    text-align: center;
}

    .stat-box .num {
        font-family: var(--font-display);
        font-size: 3rem;
        font-weight: 800;
        color: var(--accent);
        line-height: 1;
    }

    .stat-box .label {
        font-size: 0.9rem;
        color: rgba(255,255,255,0.7);
        margin-top: 0.4rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

/* ── JOB CARDS ──────────────────────────── */
.job-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: all 0.25s;
    height: 100%;
}

    .job-card:hover {
        border-color: var(--blue);
        box-shadow: var(--shadow-md);
        transform: translateY(-3px);
    }

.job-company-logo {
    width: 48px;
    height: 48px;
    background: var(--light-bg);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--navy);
    font-size: 1.1rem;
    border: 1px solid var(--border);
}

.job-title {
    font-weight: 600;
    color: var(--navy);
    font-size: 1rem;
    margin-bottom: 0.2rem;
    text-decoration: none;
}

    .job-title:hover {
        color: var(--blue);
    }

.job-company {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.job-tag {
    background: var(--light-bg);
    color: var(--text-muted);
    padding: 0.25rem 0.7rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 500;
    border: 1px solid var(--border);
}

    .job-tag.type {
        background: rgba(30,95,168,0.08);
        color: var(--blue);
        border-color: rgba(30,95,168,0.15);
    }

/* ── TESTIMONIALS ───────────────────────── */
.testimonials-section {
    padding: 6rem 0;
    background: var(--light-bg);
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    height: 100%;
}

.testimonial-stars {
    color: var(--accent);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 1.3rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--navy), var(--blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1rem;
}

.testimonial-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--navy);
}

.testimonial-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ── FOOTER ─────────────────────────────── */
.jpro-footer {
    background: var(--navy);
    color: rgba(255,255,255,0.75);
    padding: 4rem 0 2rem;
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 1rem;
}

    .footer-brand span {
        color: var(--accent);
    }

.footer-tagline {
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

    .footer-socials a {
        width: 36px;
        height: 36px;
        background: rgba(255,255,255,0.08);
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: rgba(255,255,255,0.7);
        text-decoration: none;
        transition: all 0.2s;
        font-size: 0.9rem;
    }

        .footer-socials a:hover {
            background: var(--accent);
            color: var(--navy);
        }

.footer-heading {
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li {
        margin-bottom: 0.5rem;
    }

    .footer-links a {
        color: rgba(255,255,255,0.6);
        text-decoration: none;
        font-size: 0.88rem;
        transition: color 0.2s;
    }

        .footer-links a:hover {
            color: var(--accent);
        }

.footer-newsletter {
    display: flex;
    gap: 8px;
}

    .footer-newsletter .form-control {
        background: rgba(255,255,255,0.08);
        border: 1px solid rgba(255,255,255,0.15);
        color: white;
        border-radius: var(--radius);
        font-size: 0.88rem;
    }

        .footer-newsletter .form-control::placeholder {
            color: rgba(255,255,255,0.4);
        }

.btn-accent {
    background: var(--accent);
    color: var(--navy);
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.88rem;
    white-space: nowrap;
    transition: background 0.2s;
}

    .btn-accent:hover {
        background: var(--accent-dark);
        color: var(--navy);
    }

.footer-divider {
    border-color: rgba(255,255,255)
}