/* =========================================
   ATS CAREER SUITE — HUB / HOME PAGE STYLES
   ========================================= */

:root {
    --bg-dark: #07090e;
    --card-bg: rgba(14, 20, 34, 0.7);
    --card-hover-bg: rgba(18, 26, 44, 0.85);
    --header-bg: rgba(10, 14, 24, 0.85);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(99, 102, 241, 0.4);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --accent-cyan: #38bdf8;
    --accent-purple: #818cf8;
    --accent-indigo: #6366f1;
    --accent-emerald: #10b981;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Ambient Background Glow */
.ambient-glow {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
}

.glow-orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #6366f1, #38bdf8);
    top: -150px;
    left: -100px;
}

.glow-orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #7c3aed, #ec4899);
    bottom: -100px;
    right: -100px;
}

.glow-orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #0284c7, #10b981);
    top: 40%;
    left: 45%;
    transform: translate(-50%, -50%);
    opacity: 0.08;
}

/* Header Navbar */
.hub-header {
    position: relative;
    z-index: 10;
    height: 70px;
    background: var(--header-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
}

.hub-nav-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.btn-portfolio-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 7px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.25s ease;
}

.btn-portfolio-back:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(-2px);
}

.hub-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hub-brand-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--accent-indigo), var(--accent-cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.95rem;
}

.hub-brand-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
}

.hub-nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.badge-platform-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.76rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    background: rgba(16, 185, 129, 0.12);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

/* Main Hub Content Container */
.hub-main {
    position: relative;
    z-index: 5;
    flex: 1;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Hero Section */
.hub-hero {
    text-align: center;
    max-width: 820px;
    margin-bottom: 3.5rem;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 24px;
    background: rgba(99, 102, 241, 0.12);
    color: #a5b4fc;
    border: 1px solid rgba(99, 102, 241, 0.3);
    margin-bottom: 1.25rem;
}

.hub-hero h1 {
    font-family: var(--font-heading);
    font-size: 2.85rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.1rem;
    background: linear-gradient(135deg, #ffffff 40%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hub-hero p {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--text-secondary);
}

/* Choices Grid */
.hub-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    width: 100%;
    margin-bottom: 3.5rem;
}

.hub-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem 2.2rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    color: inherit;
}

.hub-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    transition: opacity 0.35s ease;
    opacity: 0.4;
}

.hub-card-maker::before {
    background: linear-gradient(90deg, #38bdf8, #6366f1);
}

.hub-card-screening::before {
    background: linear-gradient(90deg, #818cf8, #c084fc);
}

.hub-card:hover {
    transform: translateY(-6px);
    background: var(--card-hover-bg);
    border-color: var(--border-hover);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5), 0 0 30px -10px rgba(99, 102, 241, 0.2);
}

.hub-card:hover::before {
    opacity: 1;
    height: 4px;
}

/* Card Header */
.card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.75rem;
}

.card-icon-box {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    transition: all 0.35s ease;
}

.hub-card-maker .card-icon-box {
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.28);
    color: var(--accent-cyan);
}

.hub-card-screening .card-icon-box {
    background: rgba(129, 140, 248, 0.12);
    border: 1px solid rgba(129, 140, 248, 0.28);
    color: var(--accent-purple);
}

.hub-card:hover .card-icon-box {
    transform: scale(1.08) rotate(3deg);
}

.hub-card-maker:hover .card-icon-box {
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.35);
}

.hub-card-screening:hover .card-icon-box {
    box-shadow: 0 0 25px rgba(129, 140, 248, 0.35);
}

.card-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
}

/* Card Titles & Desc */
.hub-card h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.hub-card p.card-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.8rem;
    flex-grow: 0;
}

/* Feature Checklists */
.card-feature-list {
    list-style: none;
    margin-bottom: 2.2rem;
    flex-grow: 1;
}

.card-feature-list li {
    font-size: 0.88rem;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.85rem;
}

.hub-card-maker .card-feature-list li i {
    color: var(--accent-cyan);
    font-size: 0.9rem;
}

.hub-card-screening .card-feature-list li i {
    color: var(--accent-purple);
    font-size: 0.9rem;
}

/* Card Action Button CTA */
.card-cta-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 20px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.hub-card-maker .card-cta-btn {
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: #38bdf8;
}

.hub-card-screening .card-cta-btn {
    background: rgba(129, 140, 248, 0.12);
    border: 1px solid rgba(129, 140, 248, 0.3);
    color: #a5b4fc;
}

.hub-card-maker:hover .card-cta-btn {
    background: linear-gradient(135deg, #0284c7, #38bdf8);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(2, 132, 199, 0.35);
}

.hub-card-screening:hover .card-cta-btn {
    background: linear-gradient(135deg, #4f46e5, #818cf8);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.35);
}

.card-cta-btn i {
    transition: transform 0.3s ease;
}

.hub-card:hover .card-cta-btn i {
    transform: translateX(4px);
}

/* Workflow Pathway Banner */
.hub-workflow-banner {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.75rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.workflow-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.workflow-header p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.workflow-steps {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.workflow-step-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.83rem;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.04);
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.workflow-step-num {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.3);
    color: #a5b4fc;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
}

.workflow-arrow {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Footer */
.hub-footer {
    position: relative;
    z-index: 5;
    text-align: center;
    padding: 2rem 1.5rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
}

.hub-footer a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: color 0.2s;
}

.hub-footer a:hover {
    text-decoration: underline;
    color: #fff;
}

/* Mobile Responsiveness */
@media screen and (max-width: 900px) {
    .hub-hero h1 {
        font-size: 2.15rem;
    }
    .hub-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .hub-workflow-banner {
        flex-direction: column;
        align-items: flex-start;
    }
    .workflow-steps {
        flex-wrap: wrap;
    }
}
