/* AllResourceHub Jobs - Styles */
:root {
    --primary: #8B5CF6; --primary-dark: #7C3AED; --primary-darker: #6D28D9;
    --primary-light: #F5F3FF; --primary-glow: rgba(139, 92, 246, 0.12);
    --accent: #14B8A6; --accent-dark: #0D9488; --accent-light: #F0FDFA;
    --warning: #F59E0B; --warning-light: #FFFBEB;
    --danger: #EF4444; --danger-light: #FEF2F2; --danger-dark: #DC2626;
    --dark: #0B0F1A; --light: #F8F7FC; --card-border: #E8E4F0;
    --text-primary: #1E1B3A; --text-secondary: #6B6494; --text-muted: #9490AD; --surface: #FFFFFF;
}
* { scroll-behavior: smooth; box-sizing: border-box; }
body { font-family: 'Roboto', sans-serif; line-height: 1.6; color: var(--text-primary); background-color: #FFF; margin: 0; }

/* HEADER */
header { position: sticky; top: 0; z-index: 1030; }
.header-top { background: #fff; padding: 0.9rem 0; border-bottom: 1px solid #F1EEF8; }
.header-brand {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.6rem;
    font-size: 1.7rem;
    font-weight: 900;
    color: var(--dark);
    letter-spacing: -0.8px;
    text-decoration: none !important;
    line-height: 1.1;
    margin-right: auto;
}
.header-brand img {
    width: 62px;
    height: 62px;
    object-fit: contain;
    flex-shrink: 0;
}
.brand-text { display: inline-flex; align-items: baseline; gap: 0.1em; }
.brand-text span { color: var(--primary); }

.header-top .container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.header-nav { background: linear-gradient(135deg, #0b63d9 0%, #0d4baf 100%); padding: 0; overflow-x: auto; box-shadow: 0 4px 12px rgba(11, 99, 217, 0.18); }
.header-nav::-webkit-scrollbar { display: none; }
.header-nav .nav { flex-wrap: nowrap; }
.header-nav .nav-link { color: rgba(255,255,255,0.85) !important; font-weight: 600; font-size: 0.93rem; padding: 0.9rem 1.2rem !important; transition: all 0.3s ease; position: relative; letter-spacing: 0.02em; text-transform: uppercase; white-space: nowrap; }
.header-nav .nav-link:hover, .header-nav .nav-link.active { color: #FFF !important; }
.header-nav .nav-link::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 0; height: 2px; background: #ffffff; transition: width 0.3s cubic-bezier(0.4,0,0.2,1); border-radius: 2px 2px 0 0; }
.header-nav .nav-link:hover::after, .header-nav .nav-link.active::after { width: 22px; }

/* SUB-NAV (Find Jobs children) */
.sub-nav { background: var(--primary-light); border-bottom: 1px solid var(--card-border); }
.sub-nav .nav-link { color: var(--text-secondary) !important; font-weight: 500; font-size: 0.88rem; padding: 0.85rem 1.2rem !important; border-bottom: 2px solid transparent; transition: all 0.25s ease; }
.sub-nav .nav-link:hover { color: var(--primary-dark) !important; background: rgba(139,92,246,0.05); }
.sub-nav .nav-link.active { color: var(--primary-dark) !important; border-bottom-color: var(--primary); font-weight: 700; background: rgba(139,92,246,0.05); }

/* SECTIONS */
section { padding: 80px 0; }
section.light-bg { background-color: var(--light); background-image: radial-gradient(ellipse at 15% 40%, rgba(139,92,246,0.03) 0%, transparent 55%), radial-gradient(ellipse at 85% 60%, rgba(20,184,166,0.03) 0%, transparent 55%); }
.section-title { font-size: 2rem; font-weight: 800; color: var(--text-primary); margin-bottom: 0.4rem; letter-spacing: -0.6px; display: inline-block; }
.section-title::after { content: ''; display: block; width: 36px; height: 3px; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 3px; margin: 0.7rem auto 0; }
.section-subtitle { font-size: 1rem; color: var(--text-secondary); margin-bottom: 2.2rem; font-weight: 400; max-width: 600px; margin-left: auto; margin-right: auto; }
.section-title.left-aligned::after { margin: 0.7rem 0 0; }

/* PAGE HERO */
.page-hero { background: linear-gradient(135deg, var(--dark) 0%, #1a1145 100%); padding: 60px 0; color: #fff; text-align: center; }
.page-hero h1 { font-size: 2.2rem; font-weight: 800; margin-bottom: 0.8rem; letter-spacing: -0.8px; }
.page-hero p { font-size: 1.05rem; opacity: 0.8; max-width: 650px; margin: 0 auto; line-height: 1.7; }
.page-hero .breadcrumb { justify-content: center; margin-bottom: 1.2rem; }
.page-hero .breadcrumb a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.85rem; }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero .breadcrumb .separator { color: rgba(255,255,255,0.3); margin: 0 0.5rem; }
.page-hero .breadcrumb .current { color: var(--primary); font-size: 0.85rem; font-weight: 600; }

/* TABS & SEARCH */
.nav-tabs { border-bottom: 1px solid var(--card-border); margin-bottom: 2rem; gap: 0.25rem; }
.nav-tabs .nav-link { color: var(--text-muted); border: none; border-bottom: 2px solid transparent; font-weight: 500; font-size: 0.9rem; padding: 0.6rem 1.1rem; transition: all 0.25s ease; border-radius: 6px 6px 0 0; }
.nav-tabs .nav-link:hover { color: var(--primary); background-color: var(--primary-light); }
.nav-tabs .nav-link.active { background-color: transparent; color: var(--primary-dark); border-bottom-color: var(--primary); font-weight: 700; }
.search-box { position: relative; max-width: 460px; margin: 0 auto 2rem auto; }
.search-box input { width: 100%; padding: 11px 42px 11px 16px; border: 1px solid var(--card-border); border-radius: 10px; font-size: 0.9rem; font-family: 'Roboto', sans-serif; background: var(--surface); box-shadow: 0 1px 3px rgba(0,0,0,0.03); transition: all 0.25s ease; }
.search-box input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow); }
.search-box input::placeholder { color: var(--text-muted); }
.search-box i { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 0.85rem; }

/* PLATFORM CARDS */
.platform-card { background: var(--surface); border: 1px solid var(--card-border); border-radius: 14px; overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: all 0.35s cubic-bezier(0.4,0,0.2,1); position: relative; }
.platform-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--primary), var(--accent)); opacity: 0.35; transition: opacity 0.35s ease; }
.platform-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(139,92,246,0.1), 0 4px 12px rgba(0,0,0,0.04); border-color: rgba(139,92,246,0.25); }
.platform-card:hover::before { opacity: 1; }
.platform-card-inner { padding: 1.3rem 1.25rem 1.2rem; flex: 1; display: flex; flex-direction: column; }
.platform-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; gap: 0.5rem; }
.platform-name { font-size: 1.05rem; font-weight: 700; color: var(--text-primary); letter-spacing: -0.2px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; min-width: 0; }
.star-icon { color: var(--warning); font-size: 0.65rem; flex-shrink: 0; margin-top: 5px; filter: drop-shadow(0 0 2px rgba(245,158,11,0.3)); }
.platform-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 1.1rem; }
.badge-pill { display: inline-flex; align-items: center; gap: 4px; padding: 0.28rem 0.7rem; border-radius: 100px; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.01em; line-height: 1.4; white-space: nowrap; }
.badge-pill i { font-size: 0.6rem; opacity: 0.75; }
.badge-category { background: var(--primary-light); color: var(--primary-dark); }
.badge-region { background: var(--accent-light); color: var(--accent-dark); }
.btn-visit { display: flex; align-items: center; justify-content: center; gap: 7px; width: 100%; padding: 0.55rem 1rem; border: 1px solid var(--card-border); border-radius: 9px; background: var(--light); color: var(--text-secondary); font-size: 0.82rem; font-weight: 500; font-family: 'Roboto', sans-serif; text-decoration: none !important; transition: all 0.3s cubic-bezier(0.4,0,0.2,1); margin-top: auto; }
.btn-visit:hover { background: var(--primary); color: #FFF; border-color: var(--primary); box-shadow: 0 6px 16px rgba(139,92,246,0.3); }
.btn-visit i { font-size: 0.68rem; transition: transform 0.3s ease; }
.btn-visit:hover i { transform: translateX(3px); }

/* STEP CARDS */
.step-card { background: var(--surface); border: 1px solid var(--card-border); border-radius: 14px; padding: 1.5rem; height: 100%; position: relative; transition: all 0.3s ease; }
.step-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(139,92,246,0.08); border-color: rgba(139,92,246,0.2); }
.step-number { font-size: 2.2rem; font-weight: 900; color: var(--primary-light); position: absolute; top: 0.6rem; right: 1rem; line-height: 1; transition: color 0.3s ease; }
.step-card:hover .step-number { color: rgba(139,92,246,0.15); }
.step-icon-wrap { width: 44px; height: 44px; border-radius: 11px; background: var(--primary-light); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; transition: all 0.3s ease; }
.step-card:hover .step-icon-wrap { background: var(--primary); }
.step-icon-wrap i { font-size: 1rem; color: var(--primary); transition: color 0.3s ease; }
.step-card:hover .step-icon-wrap i { color: #fff; }
.step-card h4 { font-size: 1.05rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.5rem; position: relative; z-index: 1; }
.step-card p { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 0; line-height: 1.65; position: relative; z-index: 1; }

/* TIP CARDS */
.tip-card { display: flex; align-items: flex-start; gap: 1rem; padding: 1.2rem; background: var(--surface); border: 1px solid var(--card-border); border-radius: 12px; transition: all 0.25s ease; }
.tip-card:hover { border-color: rgba(20,184,166,0.3); box-shadow: 0 4px 12px rgba(20,184,166,0.06); }
.tip-icon { width: 36px; height: 36px; border-radius: 9px; background: var(--accent-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tip-icon i { font-size: 0.85rem; color: var(--accent-dark); }
.tip-card h5 { font-size: 0.9rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.2rem; }
.tip-card p { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 0; line-height: 1.55; }

/* SALARY CARDS */
.salary-card { background: var(--surface); border: 1px solid var(--card-border); border-radius: 14px; padding: 1.4rem; height: 100%; transition: all 0.3s ease; position: relative; overflow: hidden; }
.salary-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--accent), #06B6D4); opacity: 0.4; transition: opacity 0.3s ease; }
.salary-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(20,184,166,0.08); border-color: rgba(20,184,166,0.25); }
.salary-card:hover::before { opacity: 1; }
.salary-role { font-size: 1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 1rem; }
.salary-tiers { display: flex; flex-direction: column; gap: 0.6rem; }
.salary-tier { display: flex; justify-content: space-between; align-items: center; padding: 0.45rem 0.7rem; background: var(--light); border-radius: 8px; }
.tier-label { font-size: 0.78rem; font-weight: 500; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.tier-value { font-size: 0.85rem; font-weight: 700; color: var(--accent-dark); }
.salary-note { font-size: 0.72rem; color: var(--text-muted); margin-top: 0.8rem; line-height: 1.5; padding-top: 0.6rem; border-top: 1px solid #F1EEF8; }
.salary-disclaimer { background: var(--light); border: 1px solid var(--card-border); border-radius: 12px; padding: 1.2rem 1.5rem; font-size: 0.82rem; color: var(--text-muted); line-height: 1.7; margin-top: 2rem; }
.salary-disclaimer i { color: var(--warning); margin-right: 0.4rem; }

/* NICHE CARDS */
.niche-card { background: var(--surface); border: 1px solid var(--card-border); border-left: 4px solid var(--primary); padding: 1.5rem 1.5rem 1.3rem; border-radius: 14px; height: 100%; transition: all 0.3s ease; position: relative; overflow: hidden; }
.niche-card::before { content: ''; position: absolute; top: -20px; right: -20px; width: 80px; height: 80px; border-radius: 50%; background: var(--primary-glow); transition: all 0.4s ease; }
.niche-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(139,92,246,0.08); border-left-color: var(--accent); }
.niche-card:hover::before { background: rgba(20,184,166,0.08); transform: scale(1.5); }
.niche-number { font-size: 2rem; font-weight: 900; color: var(--card-border); position: absolute; top: 0.8rem; right: 1rem; line-height: 1; z-index: 1; }
.niche-card:hover .niche-number { color: var(--accent-light); }
.niche-card h3 { font-size: 1.1rem; color: var(--text-primary); margin-bottom: 0.25rem; font-weight: 700; position: relative; z-index: 1; }
.niche-tagline { color: var(--primary); font-size: 0.85rem; margin-bottom: 0.9rem; font-weight: 500; position: relative; z-index: 1; }
.niche-meta { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 0; position: relative; z-index: 1; }
.niche-meta strong { color: var(--text-secondary); font-weight: 600; }

/* SCAM CARDS */
.scam-card { background: var(--surface); border: 1px solid #FECACA; border-radius: 14px; padding: 1.5rem; height: 100%; transition: all 0.3s ease; position: relative; }
.scam-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(239,68,68,0.08); border-color: #FCA5A5; }
.scam-icon-wrap { width: 44px; height: 44px; border-radius: 11px; background: var(--danger-light); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.scam-icon-wrap i { font-size: 1rem; color: var(--danger); }
.scam-card h4 { font-size: 1.02rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.5rem; }
.scam-card > p { font-size: 0.84rem; color: var(--text-secondary); margin-bottom: 0.9rem; line-height: 1.6; }
.scam-flag { display: flex; align-items: flex-start; gap: 0.5rem; padding: 0.7rem 0.85rem; background: var(--danger-light); border-radius: 8px; font-size: 0.78rem; font-weight: 500; color: var(--danger-dark); line-height: 1.5; }
.scam-flag i { margin-top: 2px; flex-shrink: 0; }

/* CHECKLIST */
.checklist-item { display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.7rem 0; border-bottom: 1px solid #F1EEF8; font-size: 0.88rem; color: var(--text-secondary); }
.checklist-item:last-child { border-bottom: none; }
.checklist-icon { width: 24px; height: 24px; border-radius: 6px; background: var(--accent-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.checklist-icon i { font-size: 0.65rem; color: var(--accent-dark); }

/* RECOVERY STEPS */
.recovery-card { background: var(--surface); border: 1px solid var(--card-border); border-radius: 14px; padding: 1.5rem; height: 100%; transition: all 0.3s ease; }
.recovery-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.04); }
.recovery-num { width: 32px; height: 32px; border-radius: 8px; background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 800; color: var(--primary); margin-bottom: 0.8rem; }
.recovery-card h5 { font-size: 0.95rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.35rem; }
.recovery-card p { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 0; line-height: 1.6; }

/* FEATURES */
.feature-box { text-align: center; padding: 1.8rem 1.2rem; border-radius: 14px; background: var(--surface); border: 1px solid var(--card-border); height: 100%; transition: all 0.3s ease; }
.feature-box:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(139,92,246,0.06); border-color: rgba(139,92,246,0.2); }
.feature-icon-wrap { width: 48px; height: 48px; border-radius: 12px; background: var(--primary-light); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1rem; transition: all 0.3s ease; }
.feature-box:hover .feature-icon-wrap { background: var(--primary); }
.feature-icon-wrap i { font-size: 1.15rem; color: var(--primary); transition: color 0.3s ease; }
.feature-box:hover .feature-icon-wrap i { color: #fff; }
.feature-box h5 { color: var(--text-primary); font-weight: 700; font-size: 0.95rem; margin-bottom: 0.4rem; }
.feature-box p { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 0; line-height: 1.5; }

/* RESOURCE CARDS */
.resource-card { background: var(--surface); border: 1px solid var(--card-border); border-radius: 14px; overflow: hidden; height: 100%; transition: all 0.3s ease; }
.resource-card-accent { height: 3px; background: linear-gradient(90deg, var(--primary), var(--accent)); }
.resource-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(139,92,246,0.08); }
.resource-card .card-body { padding: 1.5rem; }
.resource-card h5 { font-weight: 700; font-size: 1rem; color: var(--primary-dark); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
.resource-card h5 i { font-size: 0.9rem; opacity: 0.8; }
.resource-card ul { list-style: none; padding: 0; margin: 0; }
.resource-card ul li { padding: 0.45rem 0; border-bottom: 1px solid #F5F3FF; font-size: 0.85rem; }
.resource-card ul li:last-child { border-bottom: none; }
.resource-card ul li a { color: var(--text-secondary); text-decoration: none; transition: all 0.2s ease; display: flex; align-items: center; gap: 0.4rem; }
.resource-card ul li a::before { content: '\2192'; font-size: 0.7rem; color: var(--primary); opacity: 0; transform: translateX(-6px); transition: all 0.25s ease; }
.resource-card ul li a:hover { color: var(--primary); }
.resource-card ul li a:hover::before { opacity: 1; transform: translateX(0); }

/* CONTACT */
.form-control { border: 1px solid var(--card-border); padding: 11px 14px; border-radius: 10px; font-size: 0.9rem; font-family: 'Roboto', sans-serif; transition: all 0.25s ease; background: var(--surface); }
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow); }
.form-group label { font-weight: 600; color: var(--text-primary); font-size: 0.85rem; margin-bottom: 0.4rem; }
.btn-primary-custom { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); border: none; color: white; font-weight: 600; padding: 12px 32px; border-radius: 10px; font-size: 0.95rem; font-family: 'Roboto', sans-serif; transition: all 0.3s ease; width: 100%; }
.btn-primary-custom:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(139,92,246,0.35); background: linear-gradient(135deg, var(--primary-dark), var(--primary-darker)); color: white; }

/* FOOTER */
footer { background-color: var(--dark); color: #8A86A0; padding: 3.5rem 0 1.5rem; }
footer h5 { color: #FFF; font-weight: 700; font-size: 0.92rem; margin-bottom: 1.1rem; letter-spacing: 0.02em; }
footer a { color: #8A86A0; text-decoration: none; transition: all 0.25s ease; }
footer a:hover { color: var(--primary); }
footer ul li { margin-bottom: 0.5rem; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.05); margin-right: 0.5rem; font-size: 0.95rem; transition: all 0.25s ease; }
.footer-social a:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.footer-divider { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 1.8rem; margin-top: 2.5rem; }

/* SCROLL TOP */
#scrollTop { position: fixed; bottom: 28px; right: 28px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; border: none; width: 42px; height: 42px; border-radius: 12px; cursor: pointer; display: none; z-index: 999; box-shadow: 0 6px 16px rgba(139,92,246,0.3); transition: all 0.3s ease; font-size: 0.85rem; }
#scrollTop:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(139,92,246,0.45); }
#scrollTop.show { display: flex; align-items: center; justify-content: center; }

/* AD SLOTS (AdSense-compliant: no misleading labels, sufficient content above) */
.ad-slot { background: var(--light); border: 1px dashed var(--card-border); border-radius: 8px; padding: 12px; text-align: center; min-height: 90px; display: flex; align-items: center; justify-content: center; margin: 2rem 0; }
.ad-slot-label { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }

/* RESPONSIVE */
@media (max-width: 768px) {
    section { padding: 50px 0; }
    .section-title { font-size: 1.6rem; }
    .header-nav .nav-link { padding: 0.65rem 0.7rem !important; font-size: 0.72rem; }
    .platform-card-inner { padding: 1.1rem 1rem 1rem; }
    .page-hero h1 { font-size: 1.7rem; }
    .page-hero { padding: 40px 0; }
}
