/* ==========================================================================
   Lite Landing Page Styles (Scoped to '/' root landing page)
   Zero global bundle bloat: loaded only on the root public landing page.
   ========================================================================== */

/* Container Standards */
.rg-page-container {
    width: 100%;
}
.rg-container {
    width: 100%;
    max-width: 1092px;
    margin-left: 50%;
    transform: translateX(-50%);
    padding: 0 10px;
}
@media (max-width: 1052px) {
    .rg-container {
        max-width: 696px;
        margin-top: 50px;
    }
}

/* 1. Hero Section */
.hero-section-3 {
    padding: 140px 0 60px;
    position: relative;
    width: 100%;
    margin-left: 50%;
    transform: translateX(-50%);
    max-width: 940px;
}
.home-section-heading {
    font-weight: 700;
    font-size: 2.5rem;
    color: #111827;
    margin: 0 0 10px;
    text-align: center;
}
.home-section-subheading {
    color: #4b5563;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 32px;
    text-align: center;
}
.hero-section-3 .jobsearchBox {
    background: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 8px 12px;
    box-shadow: 0 12px 36px rgba(149, 157, 165, 0.2);
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10;
}
.hero-section-3 .jobsearchBox .fromGroup {
    display: flex;
    align-items: center;
    position: relative;
    flex: 1;
    border-right: 2px solid #f1f5f9;
    padding: 0 14px;
}
.hero-section-3 .jobsearchBox .fromGroup:last-of-type {
    border-right: none;
}
.hero-section-3 .jobsearchBox input {
    width: 100%;
    border: none !important;
    outline: none !important;
    font-size: 0.95rem;
    font-weight: 500;
    color: #111827;
    background: transparent;
    padding: 10px 0 10px 30px;
}
.hero-section-3 .jobsearchBox .icon-badge {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-500);
    display: flex;
    align-items: center;
    pointer-events: none;
}
.hero-section-3 .jobsearchBox .icon-badge svg {
    width: 18px;
    height: 18px;
}
.hero-section-3 .jobsearchBox button[type="submit"] {
    background: var(--primary-500);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}
.hero-section-3 .jobsearchBox button[type="submit"]:hover {
    background: var(--primary-600);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .hero-section-3 {
        padding: 100px 16px 40px;
    }
    .home-section-heading {
        font-size: 1.8rem;
    }
    .home-section-subheading {
        font-size: 1.05rem;
        margin-bottom: 24px;
    }
    .hero-section-3 .jobsearchBox {
        flex-direction: column;
        border-radius: 20px;
        padding: 16px;
        gap: 12px;
    }
    .hero-section-3 .jobsearchBox .fromGroup {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #f1f5f9;
        padding: 0 0 10px 0;
    }
    .hero-section-3 .jobsearchBox .fromGroup:last-of-type {
        border-bottom: none;
    }
    .hero-section-3 .jobsearchBox button[type="submit"] {
        width: 100%;
        border-radius: 12px;
    }
}

/* 2. AI Mock Interview Banner */
.test-practice-section {
    width: 100%;
    padding: 0 16px;
    margin-bottom: 70px;
}
.test-practice-div-container {
    background: linear-gradient(90deg, #0a2647 0%, #108a7c 100%);
    border-radius: 20px;
    padding: 0 15px;
    position: relative;
    width: 100%;
    max-width: 940px;
    margin: 0 auto;
    overflow: hidden;
}
.test-practice-div {
    display: grid;
    grid-template-columns: 0.7fr 0.3fr;
    align-items: center;
}
.test-practice-div a {
    text-decoration: none;
}
.pratice-content-box {
    padding: 30px;
    color: #ffffff;
}
.pratice-content-box h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px;
}
.ai-text-practice-box {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 20px;
}
.pratice-content-box .btn-primary {
    display: inline-block;
    background: var(--primary-500);
    color: #ffffff;
    border-radius: 20px;
    padding: 10px 24px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}
.pratice-content-box .btn-primary:hover {
    background: var(--primary-600);
}
.test-practice-img-container {
    display: flex;
    align-items: center;
    justify-content: center;
}
.test-practice-img-container img {
    height: 220px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .test-practice-div {
        grid-template-columns: 1fr;
    }
    .test-practice-img-container {
        display: none;
    }
    .pratice-content-box {
        padding: 24px 16px;
    }
    .pratice-content-box h3 {
        font-size: 1.25rem;
    }
}

/* 3. Infinite Logo Ticker (Top Hiring Partners) */
.top-companies-hiring-now {
    text-align: center;
    margin: 40px 0 70px;
}
.top-companies-hiring-now h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 24px;
}
.company-logos-container {
    width: 100%;
    display: flex;
    overflow: hidden;
    position: relative;
    background-color: transparent;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}
.company-logos {
    display: flex;
    align-items: center;
    margin: 0.8rem 0;
}
.company-logo {
    width: 140px;
    height: 64px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    margin-right: 1.2rem;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease;
}
.company-logo:hover {
    transform: translateY(-2px);
}
.company-logo img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}
.company-logos-container:hover .company-logos {
    animation-play-state: paused;
}
.scroll-left {
    animation: scrollLoop 35s linear infinite;
}
.scroll-right {
    animation: scrollLoop2 35s linear infinite;
}
@keyframes scrollLoop {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes scrollLoop2 {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* 4. Resume Score Banner */
.resume-score-section {
    margin: 0 auto;
    padding: 20px 10px;
    text-align: center;
}
.resume-score-section h2 {
    color: #1e293b;
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 16px;
}
.resume-score-section h2 span {
    color: var(--primary-500);
}
.benefits {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    margin: 20px 0;
    gap: 30px;
}
.benefits .benefits-image {
    width: 40%;
}
.benefits .benefits-image img {
    width: 100%;
    max-width: 360px;
}
.benefits-text {
    flex: 1;
}
.benefits-text h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 12px;
}
.benefits-text ul {
    padding: 0;
    margin: 0 0 24px;
}
.benefits-text li {
    list-style: none;
    padding: 8px 0;
    color: #475569;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}
.benefits-text li::before {
    content: "✓";
    color: #16a34a;
    font-weight: bold;
    font-size: 1.1rem;
}
.cta-button {
    display: inline-block;
    text-decoration: none;
    background: var(--primary-500);
    color: #ffffff !important;
    border: none;
    padding: 12px 28px;
    font-size: 0.95rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
}
.cta-button:hover {
    background: var(--primary-600);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(10, 101, 204, 0.25);
}
@media (max-width: 768px) {
    .benefits {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .benefits .benefits-image {
        width: 100%;
    }
    .benefits-text {
        text-align: left;
    }
}

/* 5. Top Latest & Featured Jobs Sliders */
.top-latest-jobs-section {
    padding: 40px 16px;
    margin-bottom: 40px;
}
.top-latest-jobs-section-container {
    width: 100%;
    max-width: 1296px;
    margin: 0 auto;
}
.top-latest-jobs-section-heading {
    text-align: center;
    margin-bottom: 24px;
}
.top-latest-jobs-section-heading h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}
.top-latest-jobs-section-slider-container {
    position: relative;
    margin-bottom: 28px;
}
.top-latest-jobs-section-btn {
    text-align: center;
}

/* 6. Top Categories Grid */
.top-categories-section {
    padding: 20px 16px;
    margin-bottom: 70px;
}
.top-categories-section-container {
    width: 100%;
    max-width: 1296px;
    margin: 0 auto;
    border: 1px solid rgba(10, 101, 204, 0.2);
    border-radius: 36px;
    padding: 40px;
    background: linear-gradient(to left, #0a2647, #1e577f, #328dae, #8ad1cc, #e8f1ff);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
}
.top-categories-section-description {
    width: 45%;
}
.top-categories-section-description h2 {
    font-size: 1.85rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 10px;
}
.top-categories-section-description p {
    font-size: 1rem;
    color: #334155;
    margin: 0 0 20px;
}
.top-categories-section-description-img-container img {
    height: 180px;
    object-fit: contain;
}
.top-categories-container {
    width: 50%;
    background: #ffffff;
    border-radius: 28px;
    border: 1px solid #e2e8f0;
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}
.top-category-card {
    border: 1px solid #e2e8f0;
    padding: 14px 16px;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.top-category-card:hover {
    border-color: var(--primary-500);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(10, 101, 204, 0.1);
}
.top-category-card h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--primary-500);
    margin: 0 0 4px;
}
.top-category-card p {
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 500;
    margin: 0;
}

@media (max-width: 1024px) {
    .top-categories-section-container {
        flex-direction: column;
        padding: 24px;
    }
    .top-categories-section-description,
    .top-categories-container {
        width: 100%;
    }
}
@media (max-width: 640px) {
    .top-categories-container {
        grid-template-columns: 1fr;
        padding: 16px;
    }
}

/* 7. Create Profile Section */
.create-profile-section {
    padding: 20px 16px;
    margin-bottom: 70px;
}
.create-profile-section-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.create-profile-section-description {
    flex: 1;
}
.create-profile-section-description h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 12px;
}
.create-profile-section-description p {
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 24px;
}
.create-profile-section-description .btn-primary {
    display: inline-block;
    background: var(--primary-500);
    color: #ffffff;
    padding: 12px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}
.create-profile-section-description .btn-primary:hover {
    background: var(--primary-600);
}
.create-profile-img-container {
    width: 40%;
}
.create-profile-img-container img {
    width: 100%;
    border-radius: 16px;
}
@media (max-width: 768px) {
    .create-profile-section-container {
        flex-direction: column-reverse;
        text-align: center;
    }
    .create-profile-img-container {
        width: 80%;
    }
}

/* 8. Working Process */
.working-process {
    background: #ffffff;
    padding: 60px 16px;
    margin-bottom: 60px;
}
.working-process h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 48px;
}
.working-process h2 span {
    color: var(--primary-500);
}
.working-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}
.working-process-card {
    text-align: center;
    padding: 28px 18px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: all 0.25s ease;
    position: relative;
}
.working-process-card:hover {
    background: #ffffff;
    border-color: var(--primary-500);
    box-shadow: 0 8px 24px rgba(10, 101, 204, 0.1);
    transform: translateY(-4px);
}
.working-process-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(10, 101, 204, 0.08);
    color: var(--primary-500);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}
.working-process-icon svg {
    width: 28px;
    height: 28px;
}
.working-process-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}
.working-process-desc {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
}
@media (max-width: 1024px) {
    .working-process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .working-process-grid {
        grid-template-columns: 1fr;
    }
}

/* 9. AI Resume Builder Banner */
.resume-builder-banner {
    background: linear-gradient(135deg, #0b1329 0%, #111c38 45%, #1e293b 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 20px 45px -15px rgba(11, 19, 41, 0.7) !important;
    border-radius: 20px !important;
    overflow: hidden;
    position: relative;
    max-width: 940px;
    margin: 0 auto 70px;
}
.resume-builder-content-box {
    padding: 32px 36px;
}
.resume-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(2, 132, 199, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
}
.resume-banner-title {
    font-size: 1.55rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px;
}
.resume-banner-subtitle {
    font-size: 0.92rem;
    color: #94a3b8;
    line-height: 1.5;
    margin: 0 0 16px;
}
.resume-banner-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-bottom: 22px;
}
.resume-banner-features .feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #cbd5e1;
    font-weight: 500;
}
.resume-banner-features .feature-tag svg {
    width: 16px;
    height: 16px;
    color: #38bdf8;
}
.resume-builder-btn {
    background: #0284c7;
    color: #ffffff;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.resume-builder-btn:hover {
    background: #0369a1;
    transform: translateY(-2px);
}
.resume-builder-img {
    height: 190px;
    width: 190px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.resume-ats-float-badge {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.92);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 10. Better Job Matches Banner */
.better-job-banner-section {
    padding: 0 16px;
    margin-bottom: 70px;
}
.better-job-banner {
    background: #0f172a;
    width: 100%;
    max-width: 940px;
    border-radius: 20px;
    margin: 0 auto;
    position: relative;
    min-height: 240px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.better-job-banner img.ring1,
.better-job-banner img.ring2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.better-job-banner img.ring1 { width: 650px; }
.better-job-banner img.ring2 { width: 850px; }
.better-job-banner img.ring1.animate,
.better-job-banner img.ring2.animate {
    animation: spin 30s linear infinite;
}
.better-job-banner .banner-content {
    text-align: center;
    color: #ffffff;
    z-index: 10;
    padding: 24px;
}
.better-job-banner .banner-content p {
    margin: 0 0 6px;
    font-size: 1rem;
    color: #94a3b8;
}
.better-job-banner .banner-content h2 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 16px;
}
.better-job-banner .banner-content a {
    display: inline-block;
    background: #f05537;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 24px;
    padding: 8px 26px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.better-job-banner .banner-content a:hover {
    background: #e04426;
    transform: translateY(-2px);
}
@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* 11. Top Companies Section */
.top-companies-section {
    padding: 30px 16px;
    margin-bottom: 70px;
}

/* 12. Newsletter Box */
.newsletter-box {
    margin: 40px auto 70px;
    max-width: 1100px;
    padding: 0 16px;
}
.newsletter-gradient-box {
    background: linear-gradient(135deg, #e8f1ff 0%, #e6fafc 100%);
    border-radius: 24px;
    padding: 48px 36px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.newsletter-content {
    max-width: 580px;
}
.newsletter-heading {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 12px;
}
.newsletter-subtext {
    font-size: 0.95rem;
    color: #475569;
    margin: 0 0 24px;
}
.box-form-newsletter form {
    display: flex;
    gap: 10px;
}
.input-newsletter {
    flex: 1;
    padding: 12px 18px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    font-size: 0.95rem;
    outline: none;
}
.input-newsletter:focus {
    border-color: var(--primary-500);
}
.btn-subscribe {
    background: linear-gradient(to right, #ff6a00, #ee0979);
    color: #ffffff;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    padding: 0 28px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: transform 0.2s ease;
}
.btn-subscribe:hover {
    transform: translateY(-2px);
}
.newsletter-images {
    display: flex;
    gap: 12px;
    align-items: center;
}
.newsletter-images img {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
@media (max-width: 900px) {
    .newsletter-gradient-box {
        flex-direction: column;
        padding: 32px 20px;
        text-align: center;
    }
    .box-form-newsletter form {
        flex-direction: column;
    }
    .btn-subscribe {
        padding: 12px;
    }
    .newsletter-images {
        display: none;
    }
}

/* 13. Reminder Popup Overlay */
.reminder-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}
.reminder-popup-overlay.active {
    display: flex;
}
.reminder-popup {
    background-color: #ffffff;
    padding: 32px 28px;
    border-radius: 20px;
    width: 90%;
    max-width: 440px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
    animation: popupScale 0.3s ease;
}
@keyframes popupScale {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}
.close-popup {
    position: absolute;
    top: 14px;
    right: 16px;
    background: transparent;
    border: none;
    font-size: 24px;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
}
.close-popup:hover {
    color: #1e293b;
}
.reminder-popup h3 {
    margin: 0 0 10px;
    font-size: 1.45rem;
    font-weight: 700;
    color: #111827;
}
.reminder-popup p {
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 0 24px;
}
.popup-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}
.popup-buttons .btn {
    flex: 1;
    padding: 11px 18px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
}
.popup-buttons .btn-danger {
    background: #ef4444;
    color: #ffffff;
}
.popup-buttons .btn-primary {
    background: var(--primary-500);
    color: #ffffff;
}
