/* ===== CSS Variables ===== */
:root {
    --meeboss-green: #00bc5e;
    --meeboss-green-dark: #459A56;
    --meeboss-green-light: #E8F5E9;
    --trust-blue: #1E88E5;
    --trust-blue-dark: #1565C0;
    --trust-blue-light: #E3F2FD;
    --white: #FFFFFF;
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #EEEEEE;
    --gray-300: #E0E0E0;
    --gray-400: #BDBDBD;
    --gray-500: #9E9E9E;
    --gray-600: #757575;
    --gray-700: #616161;
    --gray-800: #424242;
    --gray-900: #212121;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', system-ui, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Figtree', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

/* ===== Buttons ===== */
.btn {
    font-family: 'Figtree', sans-serif;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.see-more-cta {
    text-decoration: none;
}

.btn-primary {
    background: transparent;
    color: var(--gray-900);
    border: 1.5px solid var(--gray-900);
}

.btn-primary:hover {
    background: var(--gray-900);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}


.btn-secondary {
    background: transparent;
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
}

.btn-secondary:hover {
    background: var(--gray-100);
    border-color: var(--gray-400);
}

.btn-outline {
    background: transparent;
    color: var(--meeboss-green);
    border: 2px solid var(--meeboss-green);
}

.btn-outline:hover {
    background: var(--meeboss-green);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-white {
    background: var(--white);
    color: var(--meeboss-green);
}

.cta-section .btn-white {
    background: var(--gray-900);
    color: var(--white);
    border-color: var(--gray-900);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-section .btn-white:hover {
    background: var(--gray-800);
    color: #74FB87;
    border-color: var(--gray-800);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    background: var(--meeboss-green-light);
    color: var(--meeboss-green-dark, var(--meeboss-green));
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-large {
    font-size: 16px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #74FB87;
    border-bottom: none;
    overflow: visible;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 48px;
    display: flex;
    align-items: center;
    gap: 32px;
    overflow: visible;
    min-height: 74px;
}

.logo-text {
    font-family: 'Figtree', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--meeboss-green);
}

.logo {
    display: flex;
    align-items: center;
    align-self: center;
    flex-shrink: 0;
}

a.logo {
    text-decoration: none;
}

.nav-logo-img {
    height: 40px;
    width: 40px;
    display: block;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    overflow: hidden;
    align-self: stretch;
    position: relative;
}

.nav-link {
    font-family: 'Figtree', sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: var(--gray-800);
    text-decoration: none;
    padding: 0 12px;
    white-space: nowrap;
    position: relative;
    cursor: default;
    user-select: none;
    display: flex;
    align-items: center;
    align-self: stretch;
}

.nav-link.active {
    font-weight: 600;
    color: var(--gray-900);
}

a.nav-link {
    cursor: pointer;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: var(--meeboss-green);
    border-radius: 2px;
}

/* Overflow ··· button */
.nav-overflow-btn {
    font-family: 'Figtree', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-500);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 6px;
    line-height: 1;
    display: none;
    transition: color 0.15s, background 0.15s;
    letter-spacing: 1px;
}

.nav-overflow-btn:hover {
    color: var(--gray-900);
    background: var(--gray-100);
}

/* Overflow dropdown */
.nav-overflow-menu {
    position: fixed;
    top: 69px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 6px;
    z-index: 1100;
    display: none;
    min-width: 180px;
}

.nav-overflow-menu.open {
    display: block;
}

.nav-overflow-item {
    display: block;
    font-family: 'Figtree', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-700);
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 8px;
    transition: background 0.15s, color 0.15s;
}

.nav-overflow-item:hover {
    background: var(--gray-100);
    color: var(--gray-900);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    flex-shrink: 0;
    align-self: center;
}

.nav-hiring-link {
    font-family: 'Figtree', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: var(--gray-900);
    text-decoration: none;
    padding: 6px 12px;
    white-space: nowrap;
    transition: color 0.15s;
}

.nav-hiring-link:hover {
    color: var(--gray-600);
}

.btn-dark {
    background: var(--gray-900);
    color: var(--white);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    white-space: nowrap;
}

.btn-dark:hover {
    background: var(--gray-700);
}

/* Profile avatar shown after login */
.nav-profile {
    display: none;
    align-items: center;
    gap: 4px;
    cursor: default;
}

.nav-icon-btn {
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.nav-icon-btn:hover {
    background: var(--gray-100);
    color: var(--gray-900);
}

.profile-avatar {
    width: 36px;
    height: 36px;
    background: #E8670A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: 'Figtree', sans-serif;
    font-weight: 700;
    font-size: 15px;
    flex-shrink: 0;
    margin-left: 12px;
}

.profile-name {
    font-family: 'Figtree', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--gray-800);
    white-space: nowrap;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-shrink: 0;
    align-self: center;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--gray-800);
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 69px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    z-index: 999;
    padding: 24px;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-menu-links a {
    font-family: 'Figtree', sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: var(--gray-700);
    text-decoration: none;
}

.mobile-menu-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
    align-items: center;
}

/* ===== Hero Section ===== */
.hero {
    padding: 140px 48px 80px;
    background: #74FB87;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-bg-icon {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translate(-25%, -50%);
    width: 900px;
    height: 900px;
    pointer-events: none;
    z-index: 0;
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 30%, transparent 75%);
    mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 30%, transparent 75%);
    opacity: 0.12;
}

.hero-bg-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .hero-bg-icon {
        width: 150vw;
        height: 150vw;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    position: relative;
    z-index: 1;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    font-family: 'Figtree', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--meeboss-green);
    background: var(--meeboss-green-light);
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 56px;
    color: var(--gray-900);
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.hero-title-highlight {
    position: relative;
    display: inline-block;
    color: #74FB87;
    background: var(--gray-900);
    border-radius: 0;
    padding: 2px 8px;
}

/* Hero button overrides for green background */
.hero .browse-jobs-btn {
    background: var(--gray-900);
    color: var(--white);
    border-color: var(--gray-900);
}
.hero .browse-jobs-btn:hover {
    background: var(--gray-800);
    color: #74FB87;
    border-color: var(--gray-800);
}

.hero .how-it-works-btn {
    background: transparent;
    color: var(--gray-900);
    border-color: var(--gray-900);
}
.hero .how-it-works-btn:hover {
    background: var(--white);
    color: var(--gray-900);
    border-color: var(--white);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--gray-800);
    margin-bottom: 48px;
    max-width: 540px;
}

.hero-body {
    font-size: 15px;
    color: var(--gray-500);
    margin-bottom: 48px;
    max-width: 520px;
    line-height: 1.65;
}

.hero-primary-cta {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-micro {
    font-size: 12px;
    color: var(--gray-400);
    text-align: center;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: 'Figtree', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: var(--trust-blue);
}

.stat-label {
    font-size: 14px;
    color: var(--gray-500);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
}

.phone-content {
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 36px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* ===== 3D Card Deck Animation ===== */
/* ===== Hero Carousel ===== */
.carousel {
    position: relative;
    width: 100%;
    height: 640px;
    overflow: visible;
    --phone-w: 280px;
    --phone-half: 140px;
    --side-tx: 200px;
}

/* smoothly shrink between 1260px and 1024px so phones respect nav padding */
@media (max-width: 1260px) and (min-width: 1024px) {
    .carousel {
        --phone-w:   clamp(210px, calc(280px + (100vw - 1260px) * 0.296), 280px);
        --phone-half: clamp(105px, calc(140px + (100vw - 1260px) * 0.148), 140px);
        --side-tx:   clamp(120px, calc(200px + (100vw - 1260px) * 0.339), 200px);
    }
}

.carousel-slide {
    position: absolute;
    width: var(--phone-w);
    left: calc(50% - var(--phone-half));
    top: 50%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.22));
}

.carousel-slide.active {
    transform: translateX(0) translateY(-50%) scale(1);
    z-index: 3;
    opacity: 1;
}

.carousel-slide.next {
    transform: translateX(var(--side-tx)) translateY(-50%) scale(0.58);
    z-index: 1;
    opacity: 0.65;
}

.carousel-slide.prev {
    transform: translateX(calc(-1 * var(--side-tx))) translateY(-50%) scale(0.58);
    z-index: 1;
    opacity: 0.65;
}

.carousel-dots {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--white);
    transition: background 0.3s ease, transform 0.3s ease, width 0.3s ease;
    cursor: pointer;
}

.carousel-dot.active {
    background: var(--gray-900);
    width: 24px;
    border-radius: 4px;
    transform: scale(1);
}

/* Chat Job Header */
.chat-job-header {
    background: linear-gradient(135deg, var(--meeboss-green) 0%, var(--meeboss-green-dark) 100%);
    padding: 45px 16px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-job-avatar {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chat-job-avatar span {
    font-family: 'Figtree', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--white);
}

.chat-job-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.chat-job-role {
    font-family: 'Figtree', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--white);
}

.chat-job-employer {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.chat-job-company {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
}

/* Chat Conversation */
.chat-conversation {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
    background: var(--gray-50);
}

.chat-message {
    display: flex;
    flex-direction: column;
    max-width: 85%;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    animation: messagePopIn 0.5s ease forwards;
}

.chat-message.employer {
    align-self: flex-start;
}

.chat-message.user {
    align-self: flex-end;
}

.chat-bubble {
    padding: 10px 14px;
    border-radius: 18px;
    font-size: 13px;
    line-height: 1.4;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.chat-message.employer .chat-bubble {
    background: var(--white);
    color: var(--gray-800);
    border-bottom-left-radius: 6px;
}

.chat-message.user .chat-bubble {
    background: var(--meeboss-green);
    color: var(--white);
    border-bottom-right-radius: 6px;
}

.chat-time {
    font-size: 10px;
    color: var(--gray-400);
    margin-top: 4px;
    padding: 0 4px;
}

.chat-message.user .chat-time {
    align-self: flex-end;
}

/* Message Animation Delays */
.msg-1 { animation-delay: 0.5s; }
.msg-2 { animation-delay: 2s; }
.msg-3 { animation-delay: 3.5s; }
.msg-4 { animation-delay: 5s; }
.msg-5 { animation-delay: 6.5s; }
.msg-6 { animation-delay: 8s; }

@keyframes messagePopIn {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    60% {
        transform: translateY(-3px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Chat Input Bar */
.chat-input-bar {
    padding: 12px 16px;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-input-field {
    flex: 1;
    padding: 10px 16px;
    background: var(--gray-100);
    border-radius: 20px;
    font-size: 13px;
    color: var(--gray-400);
}

.chat-send-btn {
    width: 36px;
    height: 36px;
    background: var(--meeboss-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.chat-send-btn svg {
    width: 18px;
    height: 18px;
}

/* ===== Company Logos Banner ===== */
/* ===== Featured Logos Strip ===== */
.featured-logos {
    background: #e8eaed;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    padding: 20px 48px;
    text-align: center;
    background: var(--white);
}

.featured-logos-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-400);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0;
}

.featured-logos-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 64px;
    flex-wrap: wrap;
}

.featured-logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.featured-logo-img:hover {
    opacity: 1;
}

/* ===== Scrolling Logos Ticker ===== */
.logos-banner {
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    padding: clamp(12px, 9px + 0.875vw, 20px) 0;
    overflow: hidden;
    position: relative;
}

/* Green cursor spotlight — sits behind the scrolling text */
.logos-banner::before {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 200, 83, 0.18) 0%, rgba(0, 200, 83, 0.06) 45%, transparent 70%);
    transform: translate(-50%, -50%);
    left: var(--glow-x, -9999px);
    top: var(--glow-y, -9999px);
    pointer-events: none;
    z-index: 0;
    transition: left 0.05s, top 0.05s;
}

.logos-banner-label {
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 20px;
}

.logos-track-wrapper {
    overflow: hidden;
    position: relative;
    z-index: 1;
    /* fade edges */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.logos-track {
    display: flex;
    align-items: center;
    gap: 0;
    width: max-content;
    animation: logoScroll 40s linear infinite;
}

.logos-track:hover {
    animation-play-state: paused;
}

.logo-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 28px;
    white-space: nowrap;
    cursor: default;
    transition: opacity 0.2s;
}

.logo-item:hover {
    opacity: 0.75;
}

.logo-img {
    height: clamp(32px, 25px + 2.29vw, 54px);
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

.logo-img--rhaeos {
    height: clamp(18px, 14px + 1.3vw, 30px);
}

.logo-img--medix {
    height: clamp(18px, 14px + 1.3vw, 30px);
}

.logo-name {
    font-family: 'Figtree', sans-serif;
    font-size: clamp(16px, 15px + 0.3125vw, 19px);
    font-weight: 700;
    color: var(--gray-500);
}

.logo-dot {
    color: var(--gray-300);
    font-size: 20px;
    flex-shrink: 0;
}

@keyframes logoScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ===== Categories Section ===== */
.categories {
    padding: 80px 0;
    background: var(--gray-50);
}

.seo-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 24px;
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 32px 0 40px;
    border-top: 1px solid rgba(255,255,255,0.3);
}

.seo-links a {
    font-size: 12px;
    color: var(--gray-400);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s;
}

.seo-links a:hover {
    color: var(--meeboss-green);
    text-decoration: underline;
}

.categories-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
    padding: 0 48px;
}

.categories-header h2 {
    font-size: 40px;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.categories-header p {
    font-size: 18px;
    color: var(--gray-500);
}


.category-tabs-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 48px;
    margin-bottom: 32px;
    position: relative;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.tab-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--gray-300);
    background: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    transition: all 0.2s;
    flex-shrink: 0;
}

.tab-arrow:hover {
    border-color: #74FB87;
    color: var(--gray-900);
    background: #74FB87;
}

.tab-arrow-right.at-limit {
    opacity: 0.45;
    border-color: var(--gray-200);
    color: var(--gray-400);
    background: var(--white);
}

/* Tooltip shown when right arrow is at the locked boundary */
.tabs-locked-msg {
    position: absolute;
    left: 50%;
    bottom: -38px;
    background: var(--gray-800);
    color: var(--white);
    font-size: 12px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 20px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transform: translateX(-50%) translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 20;
}

.tabs-locked-msg.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.category-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 8px 16px;
    flex: 1;
    -webkit-mask-image: linear-gradient(to right, transparent 0, black 28px, black calc(100% - 28px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, black 28px, black calc(100% - 28px), transparent 100%);
}

.category-tabs::-webkit-scrollbar {
    display: none;
}

/* ===== Unlocked tabs — stacked pills on desktop only (> 800px) ===== */
@media (min-width: 801px) {
    .category-tabs-wrapper.tabs-unlocked {
        align-items: center;
        justify-content: center;
        max-width: 1200px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding: 0 48px;
        box-sizing: border-box;
    }

    .category-tabs-wrapper.tabs-unlocked .tab-arrow {
        display: none;
    }

    .category-tabs-wrapper.tabs-unlocked .tabs-locked-msg {
        display: none;
    }

    .category-tabs.tabs-unlocked {
        flex-wrap: wrap;
        justify-content: center;
        overflow: visible;
        max-width: 100%;
        mask-image: none;
        -webkit-mask-image: none;
        padding: 8px 0;
    }
}

.category-tab {
    font-family: 'Figtree', sans-serif;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 50px;
    border: 1px solid var(--gray-300);
    background: var(--white);
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    outline: none;
}

.category-tab:focus-visible {
    outline: none;
}

.category-tab:hover {
    border-color: #74FB87;
    color: var(--gray-900);
}

.category-tab.active {
    background: #74FB87;
    color: var(--gray-900);
    border-color: #74FB87;
}

/* Locked / teaser tabs */
.category-tab.locked {
    color: var(--gray-400);
    border-color: var(--gray-200);
    background: var(--white);
}

.category-tab.locked:hover {
    border-color: var(--gray-300);
    color: var(--gray-500);
    background: var(--gray-50);
}

/* Hidden-eye icon inside locked tabs */
.tab-eye-icon {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    opacity: 0.7;
}

/* Divider between unlocked and locked tab groups */
.tabs-separator {
    width: 1px;
    height: 28px;
    background: var(--gray-200);
    flex-shrink: 0;
    align-self: center;
    margin: 0 4px;
}

/* Locked tabs preview container — fades right to imply many more categories */
.locked-tabs-preview {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    align-items: center;
    -webkit-mask-image: linear-gradient(to right, black 0%, black 32%, rgba(0,0,0,0.55) 58%, rgba(0,0,0,0.18) 76%, transparent 92%);
    mask-image: linear-gradient(to right, black 0%, black 32%, rgba(0,0,0,0.55) 58%, rgba(0,0,0,0.18) 76%, transparent 92%);
    padding-right: 72px;
}

.jobs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    height: 580px;
    overflow: hidden;
    position: relative;
}

/* Top fade for jobs scroll area */
.jobs-container::before,
.jobs-container::after {
    display: none;
}

.jobs-scroll {
    display: block;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    /* No top padding — prevents content bleeding into the gap above sticky headers */
    padding: 0 4px 16px;
    scrollbar-width: thin;
    scrollbar-color: var(--gray-300) transparent;
    background: var(--white);
    /* Isolate stacking context so job card transforms can't escape above sticky headers */
    isolation: isolate;
}

.jobs-scroll::-webkit-scrollbar {
    width: 6px;
}

.jobs-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.jobs-scroll::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 3px;
}

.category-section {
    margin-bottom: 48px;
    position: relative;
    overflow: hidden;
}

.category-section:last-child {
    margin-bottom: 0;
}

/* Wrapper for the scrollable grid + floating arrows */
.category-grid-area {
    position: relative;
}

.category-grid-area::before,
.category-grid-area::after {
    display: none;
}

/* Once logged in — remove both fades */
.category-grid-area:has(.category-jobs-grid.unlocked)::before,
.category-grid-area:has(.category-jobs-grid.unlocked)::after {
    display: none;
}

/* Per-category scroll arrows — live inside the fade zones */
.grid-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--gray-300);
    background: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    transition: color 0.2s, background 0.2s, border-color 0.2s;
    flex-shrink: 0;
}

.grid-arrow:hover {
    background: #74FB87;
    border-color: #74FB87;
    color: var(--gray-900);
}

.grid-arrow svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

/* Positioned inside the left/right fade bands */
.grid-arrow-left {
    left: 10px;
}

.grid-arrow-right {
    right: 14px;
}

.grid-arrow.hidden {
    opacity: 0;
    pointer-events: none;
}

.category-section-header {
    font-family: 'Figtree', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--gray-900);
    padding: 12px 0;
    margin-bottom: 16px;
    border-bottom: 2px solid var(--meeboss-green);
    position: sticky;
    top: 0;
    background: var(--white);
    z-index: 10;
}

/* White guard above the sticky header — covers any content that might peek
   into the scroll container's padding area as it scrolls past */
.category-section-header::before {
    content: '';
    position: absolute;
    top: -32px;
    left: -8px;
    right: -8px;
    height: 32px;
    background: var(--white);
}

.category-jobs-grid {
    display: flex;
    flex-direction: row;
    gap: 16px;
    overflow-x: auto;
    overflow-y: visible;
    padding-bottom: 12px;
    padding-top: 4px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--gray-300) transparent;
}

.category-jobs-grid::-webkit-scrollbar {
    height: 4px;
}

.category-jobs-grid::-webkit-scrollbar-track {
    background: transparent;
}

.category-jobs-grid::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 2px;
}

/* Ensure hovering job cards stay below sticky headers */
.job-card:hover {
    z-index: 1;
}

.jobs-scroll::-webkit-scrollbar {
    width: 6px;
}

.jobs-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.jobs-scroll::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 3px;
}

/* ===== Job Cards ===== */
.job-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid var(--gray-200);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    /* Fixed width for horizontal slider */
    min-width: 300px;
    max-width: 300px;
    flex-shrink: 0;
    scroll-snap-align: start;
}

.job-card:hover {
    border-color: var(--meeboss-green);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.job-card-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.job-logo {
    width: 56px;
    height: 56px;
    background: var(--trust-blue-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.job-logo img {
    width: 100%;
    height: 100%;
    display: block;
}

.job-info {
    flex: 1;
    min-width: 0;
}

.job-title {
    font-family: 'Figtree', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.job-company {
    font-size: 14px;
    color: var(--gray-500);
}

.job-details {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.job-detail {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--gray-600);
}

.job-detail svg {
    width: 16px;
    height: 16px;
    color: var(--gray-400);
}

.job-description {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.5;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.job-tag {
    font-size: 12px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 50px;
    background: var(--gray-100);
    color: var(--gray-600);
}

.job-tag.urgent {
    background: #FFF3E0;
    color: #E65100;
}

.job-tag.remote {
    background: var(--meeboss-green-light);
    color: var(--meeboss-green-dark);
}

.job-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--gray-100);
    margin-top: auto;
}

.job-salary {
    font-family: 'Figtree', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--meeboss-green);
}

.job-chat-btn {
    font-family: 'Figtree', sans-serif;
    font-weight: 600;
    font-size: 13px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    border: none;
    background: var(--trust-blue);
    color: var(--white);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.job-chat-btn:hover {
    background: var(--trust-blue-dark);
}

.job-chat-btn svg {
    width: 16px;
    height: 16px;
}

/* ===== Peek Job Card (sign-in CTA, partially revealed) ===== */
.job-card-peek {
    min-width: 280px;
    max-width: 280px;
    flex-shrink: 0;
    scroll-snap-align: start;
    background: var(--meeboss-green-light);
    border: 1px solid var(--meeboss-green);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 28px 24px;
    cursor: pointer;
    transition: border-color 0.2s;
    position: relative;
}

.job-card-peek:hover {
    border-color: var(--meeboss-green-dark, var(--meeboss-green));
}

.job-card-peek-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.job-card-peek-header {
    display: flex;
    align-items: center;
    gap: 6px;
}

.job-card-peek-icon {
    width: 36px;
    height: 36px;
    background: var(--meeboss-green-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--meeboss-green);
    flex-shrink: 0;
}

.job-card-peek-icon svg {
    width: 18px;
    height: 18px;
}

.job-card-peek-title {
    font-family: 'Figtree', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--gray-800);
    margin: 0;
}

.job-card-peek-desc {
    font-size: 12px;
    color: var(--gray-500);
    line-height: 1.55;
    margin: 0;
    max-width: 100%;
}

.peek-signin-btn {
    margin-top: 16px;
    font-size: 13px;
    padding: 8px 20px;
    border-radius: 50px !important;
}

/* ===== Features Section ===== */
.features {
    padding: 80px 48px;
    background: #74FB87;
}

.features-header {
    max-width: 1200px;
    margin: 0 auto 48px;
    text-align: center;
}

.features-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.features-header p {
    font-size: 17px;
    color: var(--gray-800);
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
}

.feature {
    background: var(--gray-900);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    border: 1.5px solid #74FB87;
    cursor: pointer;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, background 0.25s ease;
    overflow: visible;
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1 1 300px;
    max-width: 380px;
    min-width: 280px;
}

/* Desktop hover */
@media (hover: hover) {
    .feature:hover {
        border-color: #74FB87;
        box-shadow: 0 12px 32px -8px rgba(84, 251, 144, 0.3), var(--shadow-md);
        transform: translateY(-4px);
    }

    .feature:hover .feature-expanded {
        max-height: 500px;
        opacity: 1;
        margin-top: 20px;
        padding-bottom: 20px;
    }

    .feature:hover .feature-icon {
        background: #74FB87;
        border-color: #74FB87;
        color: var(--gray-900);
    }

    .feature:hover > p {
        color: var(--white) !important;
    }

    /* Hide the tap hint on desktop — hover handles it */
    .feature-expand-hint {
        display: none;
    }
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--gray-900);
    border-radius: var(--radius-md);
    border: 2px solid #74FB87;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #74FB87;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.feature h3 {
    font-size: 20px;
    color: #74FB87;
    margin-bottom: 12px;
}

.feature p {
    font-size: 15px;
    color: var(--white);
    transition: color 0.25s ease;
}

/* ===== Feature Expanded Content ===== */
.feature-expanded {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0;
    padding-bottom: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease 0.05s, margin-top 0.3s ease, padding-bottom 0.3s ease;
    text-align: left;
    background: var(--gray-900);
    border-radius: var(--radius-md);
    margin-left: -32px;
    margin-right: -32px;
    padding-left: 32px;
    padding-right: 32px;
    padding-top: 0;
}

/* Mobile expanded state (toggled by JS) */
.feature.expanded .feature-expanded {
    max-height: 500px !important;
    opacity: 1 !important;
    margin-top: 20px !important;
    padding-bottom: 20px !important;
    overflow: visible !important;
}

.feature.expanded .feature-icon {
    background: #74FB87;
    border-color: #74FB87;
    color: var(--gray-900);
}

.feature.expanded > p {
    color: var(--white) !important;
}

.feature.expanded {
    border-color: #74FB87;
    box-shadow: 0 12px 32px -8px rgba(84, 251, 144, 0.2), var(--shadow-md);
}

.feature-expanded-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin-bottom: 16px;
}

.feature .feature-expanded-text {
    font-size: 14px;
    color: var(--white);
    line-height: 1.6;
    margin-bottom: 14px;
}

.feature-expanded-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-expanded-list li {
    font-size: 14px;
    font-weight: 500;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-expanded-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #74FB87;
    flex-shrink: 0;
}

/* ===== Mobile expand hint (tap chevron) ===== */
.feature-expand-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    color: var(--gray-400);
}

.feature-expand-hint svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.feature.expanded .feature-expand-hint svg {
    transform: rotate(180deg);
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 80px 48px;
    background: var(--white);
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-section h2 {
    font-size: 40px;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 18px;
    color: var(--gray-800);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.cta-micro {
    font-size: 12px;
    color: var(--gray-600);
}

/* ===== Specialty Links (SEO) ===== */
.specialty-links {
    max-width: 1200px;
    margin: 24px auto 0;
    padding: 0 48px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    font-size: 13px;
}

.specialty-links-label {
    color: var(--gray-400);
    font-weight: 500;
}

.specialty-links a {
    color: var(--meeboss-green);
    text-decoration: none;
    font-weight: 500;
}

.specialty-links a:hover {
    text-decoration: underline;
}

/* ===== Download Subtitle ===== */
.download-subtitle {
    font-size: 17px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px !important;
    max-width: 480px;
}

/* ===== Download Section ===== */
.download {
    background: #74FB87;
    padding: 80px 48px;
}

.download-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

.download-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 520px;
}

.download-content h2 {
    font-size: 40px;
    color: var(--gray-900);
    margin: 0;
}

.download-content p {
    font-size: 18px;
    color: var(--gray-800);
    margin: 0;
}

.app-buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 12px;
}

/* QR on left aligned to title, all text in one column on right */
.download-header-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
}

.download-header-row .qr-code-img {
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 6px;
    display: block;
}

.download-title-stack {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.download-title-stack h2 {
    margin: 0;
}

.download-title-stack .download-subtitle {
    margin: 0;
}

.download-body {
    color: var(--gray-600);
    font-size: 15px;
    line-height: 1.65;
    margin: 0;
}

.qr-code-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--gray-200);
    gap: 32px;
}

.qr-code-img {
    width: 180px;
    height: 180px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.qr-code-section .app-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.app-store-badge,
.google-play-badge {
    display: block;
    transition: all 0.2s;
}

.app-store-badge:hover,
.google-play-badge:hover {
    transform: translateY(-2px);
    opacity: 0.85;
}

.app-store-badge img,
.google-play-badge img {
    height: 54px;
    width: auto;
    display: block;
}

/* ===== Modal ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 48px;
    max-width: 420px;
    width: 90%;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-xl);
}

.modal-overlay.active .modal {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    background: var(--gray-100);
    border-radius: 50%;
    font-size: 24px;
    color: var(--gray-500);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.modal-close:hover {
    background: var(--gray-200);
    color: var(--gray-700);
}

.modal-content {
    text-align: center;
}

.modal-emoji {
    font-size: 64px;
    display: block;
    margin-bottom: 16px;
    transform-origin: 70% 70%;
    animation: wave 2.5s ease-in-out infinite;
}

@keyframes wave {
    0% { transform: rotate(0deg); }
    10% { transform: rotate(14deg); }
    20% { transform: rotate(-8deg); }
    30% { transform: rotate(14deg); }
    40% { transform: rotate(-4deg); }
    50% { transform: rotate(10deg); }
    60% { transform: rotate(0deg); }
    100% { transform: rotate(0deg); }
}

.modal-content h2 {
    font-family: 'Figtree', sans-serif;
    font-size: 28px;
    color: var(--gray-900);
    margin: 0 0 16px 0;
}

.modal-terms {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.5;
    margin-bottom: 24px;
}

.modal-terms a {
    color: var(--meeboss-green);
    font-weight: 600;
    text-decoration: none;
}

.modal-terms a:hover {
    text-decoration: underline;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-input {
    width: 100%;
    padding: 14px 20px;
    font-size: 15px;
    border: 1px solid var(--gray-300);
    border-radius: 50px;
    outline: none;
    transition: all 0.2s;
}

.modal-input:focus {
    border-color: var(--meeboss-green);
    box-shadow: 0 0 0 3px var(--meeboss-green-light);
}

.modal-input::placeholder {
    color: var(--gray-400);
}

.modal-input.error {
    border-color: #E53935;
    box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.15);
    color: #E53935;
}

.modal-input.error::placeholder {
    color: rgba(229, 57, 53, 0.6);
}

@keyframes inputShake {
    0%   { transform: translateX(0); }
    15%  { transform: translateX(-6px); }
    30%  { transform: translateX(6px); }
    45%  { transform: translateX(-5px); }
    60%  { transform: translateX(5px); }
    75%  { transform: translateX(-3px); }
    90%  { transform: translateX(3px); }
    100% { transform: translateX(0); }
}

.modal-input.shake {
    animation: inputShake 0.45s ease;
}

.btn-full {
    width: 100%;
    border-radius: 50px !important;
}

.modal-divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
}

.modal-divider::before,
.modal-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-200);
}

.modal-divider span {
    padding: 0 16px;
    font-size: 13px;
    color: var(--gray-400);
}

.modal-social {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-social {
    width: 100%;
    padding: 12px 20px;
    font-family: 'Figtree', sans-serif;
    font-weight: 600;
    font-size: 15px;
    border-radius: 50px;
    border: 1px solid var(--gray-300);
    background: var(--white);
    color: var(--gray-700);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s;
}

.btn-social:hover {
    background: var(--gray-900);
    color: var(--white);
    border-color: var(--gray-900);
}

.btn-apple {
    background: var(--white);
    color: var(--gray-900);
    border-color: var(--gray-300);
}

.btn-apple:hover {
    background: var(--gray-900);
    color: var(--white);
    border-color: var(--gray-900);
}

.download-visual {
    display: flex;
    justify-content: center;
    align-items: stretch;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.download-lifestyle-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    display: block;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: var(--gray-900);
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-xl);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 32px;
    padding: 24px 16px;
    overflow: hidden;
}

.phone-header {
    font-family: 'Figtree', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: var(--meeboss-green);
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-200);
}

.phone-job {
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 12px;
}

.phone-job-title {
    font-family: 'Figtree', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.phone-job-company {
    font-size: 14px;
    color: var(--gray-500);
}

/* ===== Footer ===== */
.seo-page-footer {
    background: var(--gray-900);
    padding: 40px 48px;
}

.seo-page-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.seo-page-footer-label {
    font-size: 13px;
    font-weight: 700;
    font-family: 'Figtree', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--white);
    margin-bottom: 20px;
}

.seo-page-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 0;
}

.seo-page-footer-links a {
    font-size: 13px;
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.15s;
    white-space: nowrap;
}

.seo-page-footer-links a::after {
    content: '·';
    margin: 0 12px;
    color: var(--gray-700);
}

.seo-page-footer-links a:last-child::after {
    display: none;
}

.seo-page-footer-links a:hover {
    color: var(--meeboss-green);
}

.footer {
    background: #021406;
    padding: 64px 50px 0;
}

.footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    padding-bottom: 120px;
}

.footer-intro {
    width: 59px;
    height: 59px;
}

.footer-intro img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-item h4,
.footer-download h4 {
    margin: 0;
    font-size: 18px;
    line-height: 21px;
    font-weight: 600;
    color: var(--white);
}

.footer-item a {
    display: block;
    margin-top: 28px;
    font-size: 16px;
    line-height: 20px;
    color: var(--white);
    text-decoration: none;
    cursor: pointer;
}

.footer-item a:hover {
    text-decoration: underline;
}

.footer-download h4 {
    margin-bottom: 30px;
}

.footer-download-row {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-app-badges {
    display: flex;
    flex-direction: column;
    margin-right: 38px;
}

.app-badge {
    display: block;
    width: 153px;
    height: 46px;
    text-indent: -9999px;
    background: url("app-badges.png") no-repeat 0 0;
    background-size: 153px 104px;
    cursor: pointer;
}

.app-badge.googleplay {
    margin-top: 12px;
    background-position: 0 -58px;
}

.app-badge:hover {
    background-image: url("app-badges-hover.png");
}

.footer-qr-container {
    position: relative;
    padding: 6px;
}

.footer-qr-code {
    display: block;
    width: 93px;
    border-radius: 8px;
}

.footer-qr-corner {
    position: absolute;
    width: 9px;
    height: 9px;
}

.footer-qr-corner-tl {
    left: 0;
    top: 0;
    transform: rotate(180deg);
}

.footer-qr-corner-tr {
    right: 0;
    top: 0;
    transform: rotate(-90deg);
}

.footer-qr-corner-bl {
    left: 0;
    bottom: 0;
    transform: rotate(90deg);
}

.footer-qr-corner-br {
    right: 0;
    bottom: 0;
}

.footer-bottom {
    max-width: 1180px;
    margin: 0 auto;
    padding: 36px 0 56px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
    line-height: 20px;
    text-align: left;
}

.footer-bottom p {
    margin: 0;
    font-size: 16px;
    color: var(--white);
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    display: inline-block;
    margin-left: 48px;
    font-size: 16px;
    line-height: 20px;
    color: var(--white);
    text-decoration: none;
}

.footer-bottom-links a:hover {
    text-decoration: underline;
}

/* ===== Responsive Design ===== */
@media (min-width: 1024px) and (max-width: 1200px) {
    .hero-primary-cta {
        flex-wrap: nowrap;
    }
    .hero-cta .btn {
        margin: 0;
    }
    .hero-primary-cta .btn-large {
        padding: 14px 16px;
        font-size: 15px;
        white-space: nowrap;
    }
}

@media (max-width: 1024px) {
    .hero-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }

    .hero-content {
        width: 100%;
        text-align: center;
    }

    .hero-title {
        font-size: 44px;
        margin-bottom: 12px;
    }

    .hero-subtitle {
        margin-bottom: 48px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .hero-cta .btn {
        width: fit-content;
        min-width: 200px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-visual {
        width: 100%;
    }

    .hero-body {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-stats {
        justify-content: center;
    }

    .jobs-container {
        height: 60vh;
        min-height: 420px;
    }

    .features-container {
        gap: 20px;
    }

    .download-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .download-content {
        align-items: center;
        margin: 0 auto;
    }

    .download-header-row {
        flex-direction: column;
        align-items: center;
    }

    .download-title-stack {
        align-items: center;
        text-align: center;
        order: 1;
    }

    .download-header-row .qr-code-img {
        order: 2;
    }

    .download-content p {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .download-body {
        text-align: center;
    }

    .download-lifestyle-img {
        height: 280px;
        width: 100%;
    }

    .app-buttons {
        justify-content: center;
    }

    .footer {
        padding: 60px 32px 0;
    }

    .footer-inner {
        grid-template-columns: repeat(4, 1fr);
        padding-bottom: 0;
    }

    .footer-download {
        grid-column: 3 / span 2;
        margin: 40px 0;
    }

    .footer-download-row {
        justify-content: flex-start;
    }

    .footer-bottom-links {
        gap: 12px 40px;
    }

    .footer-bottom-links a {
        margin-left: 0;
    }
}

/* Nav overflow: hide links progressively, show ··· */
@media (max-width: 900px) {
    .nav-link:nth-child(4) { display: none; }
    .nav-overflow-btn { display: inline-flex; }
}

@media (max-width: 720px) {
    .nav-link:nth-child(3) { display: none; }
}

@media (max-width: 542px) {
    .hero-primary-cta {
        justify-content: center;
        width: 100%;
    }
    .hero-primary-cta .btn {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 600px) {
    .nav-links,
    .nav-actions {
        display: none;
    }
    .mobile-menu-btn {
        display: flex;
        margin-left: auto;
    }

    .footer {
        padding: 40px 24px 0;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 0 24px;
        padding-bottom: 40px;
    }

    .footer-intro {
        grid-column: 1 / -1;
        margin-bottom: 32px;
    }

    .footer-item:nth-child(2) {
        grid-column: 1;
    }

    .footer-item:nth-child(3) {
        grid-column: 2;
    }

    .footer-item:nth-child(4) {
        grid-column: 1 / -1;
        margin-top: 32px;
    }

    .footer-item h4,
    .footer-download h4 {
        margin-bottom: 12px;
        font-size: 16px;
    }

    .footer-item a {
        margin-top: 16px;
        font-size: 14px;
    }

    .footer-download {
        grid-column: 1 / -1;
        margin: 32px 0 0;
    }

    .footer-download h4 {
        margin-bottom: 16px;
    }

    .footer-download-row {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 0 40px;
    }

    .footer-bottom p {
        margin-bottom: 4px;
    }

    .footer-bottom-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px 0;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 24px;
    }

    .hero {
        padding: 120px 24px 60px;
        min-height: auto;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .hero-cta .btn {
        width: fit-content;
        min-width: 200px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .card-stack {
        width: 240px;
        height: 480px;
    }

    .deck-dots {
        gap: 8px;
    }

    .deck-dot {
        width: 8px;
        height: 8px;
    }

    .chat-job-header {
        padding: 40px 14px 14px;
    }

    .chat-job-avatar {
        width: 42px;
        height: 42px;
    }

    .chat-job-role {
        font-size: 13px;
    }

    .chat-bubble {
        font-size: 12px;
        padding: 8px 12px;
    }

    .categories-header h2 {
        font-size: 32px;
    }

    .category-tabs-wrapper {
        gap: 8px;
        padding: 0 16px;
    }

    .tab-arrow {
        width: 36px;
        height: 36px;
    }

    .category-tab {
        padding: 10px 18px;
        font-size: 13px;
    }

    .jobs-container {
        height: 55vh;
        min-height: 380px;
    }

    /* Reduce top/bottom fades on mobile */
    .jobs-container::before {
        height: 25px;
        left: 16px;
        right: 16px;
    }

    .jobs-container::after {
        height: 35px;
        left: 16px;
        right: 16px;
    }

    .job-card {
        min-width: 240px;
        max-width: 240px;
        padding: 18px;
    }

    .job-card-header {
        gap: 12px;
        margin-bottom: 12px;
    }

    .job-logo {
        width: 44px;
        height: 44px;
    }

    .job-title {
        font-size: 15px;
    }

    .job-company {
        font-size: 12px;
    }

    .job-details {
        gap: 8px;
        margin-bottom: 12px;
    }

    .job-detail {
        font-size: 11px;
    }

    .job-description {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .job-tags {
        gap: 6px;
        margin-bottom: 12px;
    }

    .job-tag {
        font-size: 10px;
        padding: 4px 10px;
    }

    .job-footer {
        padding-top: 12px;
        flex-wrap: wrap;
        gap: 10px;
    }

    .job-salary {
        font-size: 14px;
    }

    .job-chat-btn {
        font-size: 11px;
        padding: 6px 12px;
    }

    .job-card-peek {
        min-width: 220px;
        max-width: 220px;
        padding: 20px 18px;
    }

    /* Reduce side fades on mobile */
    .category-grid-area::before {
        width: 60px;
    }

    .category-grid-area::after {
        width: 80px;
    }

    .grid-arrow {
        width: 28px;
        height: 28px;
    }

    .grid-arrow svg {
        width: 14px;
        height: 14px;
    }

    .grid-arrow-left {
        left: 6px;
    }

    .grid-arrow-right {
        right: 8px;
    }

    .category-section-header {
        font-size: 15px;
        padding: 10px 0;
        margin-bottom: 12px;
    }

    .category-section {
        margin-bottom: 32px;
    }

    .features-container {
        flex-direction: column;
        align-items: center;
    }

    .feature {
        max-width: 100%;
        width: 100%;
    }

    .cta-section h2 {
        font-size: 28px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .download-content h2 {
        font-size: 32px;
    }

    .phone-mockup {
        width: 240px;
        height: 480px;
    }

}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .stat-number {
        font-size: 24px;
    }

    .card-stack {
        width: 200px;
        height: 400px;
    }

    .deck-dots {
        gap: 6px;
    }

    .deck-dot {
        width: 6px;
        height: 6px;
    }

    .chat-conversation {
        padding: 12px;
        gap: 10px;
    }

    .chat-message {
        max-width: 90%;
    }

    /* Even smaller job cards for phones */
    .jobs-container {
        height: 50vh;
        min-height: 320px;
        padding: 0 12px;
    }

    .jobs-container::before,
    .jobs-container::after {
        left: 12px;
        right: 12px;
    }

    .jobs-container::before {
        height: 20px;
    }

    .jobs-container::after {
        height: 30px;
    }

    .job-card {
        min-width: 200px;
        max-width: 200px;
        padding: 14px;
    }

    .job-card-header {
        gap: 10px;
        margin-bottom: 10px;
    }

    .job-logo {
        width: 36px;
        height: 36px;
    }

    .job-title {
        font-size: 14px;
    }

    .job-company {
        font-size: 11px;
    }

    .job-details {
        gap: 6px;
        margin-bottom: 10px;
    }

    .job-detail {
        font-size: 10px;
    }

    .job-detail svg {
        width: 12px;
        height: 12px;
    }

    .job-description {
        font-size: 11px;
        margin-bottom: 8px;
        -webkit-line-clamp: 2;
    }

    .job-tags {
        gap: 4px;
        margin-bottom: 10px;
    }

    .job-tag {
        font-size: 9px;
        padding: 3px 8px;
    }

    .job-footer {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
        padding-top: 10px;
    }

    .job-salary {
        font-size: 13px;
    }

    .job-chat-btn {
        width: 100%;
        justify-content: center;
        font-size: 11px;
        padding: 8px 12px;
    }

    .job-card-peek {
        min-width: 180px;
        max-width: 180px;
        padding: 16px 14px;
    }

    .job-card-peek-title {
        font-size: 13px;
    }

    .job-card-peek-desc {
        font-size: 11px;
        max-width: 100%;
    }

    /* Smaller side fades */
    .category-grid-area::before {
        width: 40px;
    }

    .category-grid-area::after {
        width: 50px;
    }

    .grid-arrow {
        width: 24px;
        height: 24px;
    }

    .grid-arrow svg {
        width: 12px;
        height: 12px;
    }

    .grid-arrow-left {
        left: 4px;
    }

    .grid-arrow-right {
        right: 4px;
    }

    .category-section-header {
        font-size: 14px;
        padding: 8px 0;
        margin-bottom: 10px;
    }

    .category-section {
        margin-bottom: 24px;
    }

    .categories-header h2 {
        font-size: 26px;
    }

    .categories-header p {
        font-size: 14px;
    }

    .app-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .app-btn {
        width: 100%;
        max-width: 220px;
        justify-content: center;
    }
}
