/*
 * NaukriSunshine — home.css
 * Home page styles only — included via @section Styles in Views/Home/Index.cshtml
 * Depends on: newstyle.css (design tokens, reset, buttons, nav, footer, animations)
 * ──────────────────────────────────────────────────────────────────────────────
 */

/* ══════════ NSS-HOME DESIGN TOKENS (home-specific extensions) ══════════ */
:root {
    --nss-blue: #2cbee8;
    --nss-blue-dark: #1a9cc4;
    --nss-blue-light: #e8f8fd;
    --nss-blue-mid: #b3e8f7;
    --nss-yellow: #FFC107;
    --nss-yellow-dark: #E6AC00;
    --nss-yellow-light: #FFF8E1;
    --nss-yellow-mid: #FFECB3;
    --nss-navy: #1a2e44;
    --nss-navy-soft: #2d4a63;
    --nss-gray-50: #F9FAFB;
    --nss-gray-100: #F3F4F6;
    --nss-gray-200: #E9ECF0;
    --nss-gray-300: #D1D5DB;
    --nss-gray-500: #6B7280;
    --nss-gray-700: #374151;
    --nss-white: #FFFFFF;
    --nss-success: #16A34A;
    --nss-success-bg: #DCFCE7;
    --nss-radius: 14px;
    --nss-radius-sm: 8px;
    --nss-radius-lg: 20px;
    --nss-radius-xl: 28px;
    --nss-shadow-sm: 0 1px 4px rgba(0,0,0,0.06);
    --nss-shadow-md: 0 4px 18px rgba(0,0,0,0.09), 0 2px 6px rgba(0,0,0,0.04);
    --nss-shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --nss-shadow-card: 0 2px 12px rgba(44,190,232,0.08), 0 1px 4px rgba(0,0,0,0.06);
    --nss-t: 0.22s cubic-bezier(0.4,0,0.2,1);
}

/* ══════════ OVERFLOW GUARD ══════════ */
/* Prevents any child element from causing horizontal scroll on mobile */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

/* ══════════ SECTION BASE ══════════ */
section {
    padding: 52px 5%;
    box-sizing: border-box;
    width: 100%;
}

/* ══════════ HERO ══════════ */
.hero {
    padding: 20px 5% 32px;
    display: flex;
    align-items: center;
    gap: 56px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.hero-content {
    flex: 1.1;
    min-width: 0;
}
/* min-width:0 prevents flex children overflowing */

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--yellow-light);
    border: 1px solid #FFECB3;
    color: #7C6209;
    padding: 5px 13px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 20px;
}

    .hero-badge::before {
        content: '';
        width: 7px;
        height: 7px;
        background: var(--yellow-dark);
        border-radius: 50%;
        display: inline-block;
        animation: pulse-dot 2s ease-in-out infinite;
    }

/* Typewriter headline */
.hero-headline {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #2cbee8;
    margin-bottom: 18px;
}

    .hero-headline .line1 {
        display: block;
    }

    .hero-headline .line2 {
        display: block;
        color: var(--yellow-dark);
        font-style: normal;
        min-height: 1.15em;
        position: relative;
    }

/* Typewriter cursor */
.cursor {
    display: inline-block;
    width: 2px;
    height: 0.9em;
    background: var(--yellow-dark);
    margin-left: 3px;
    animation: blink 0.9s step-end infinite;
    vertical-align: middle;
}

.hero-sub {
    font-size: 1.05rem;
    color: var(--gray-500);
    line-height: 1.7;
    max-width: 460px;
    margin-bottom: 28px;
}

.hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.hero-visual {
    flex: 0.9;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0; /* prevent flex overflow */
}

.hero-svg-wrap {
    width: 460px;
    max-width: 100%; /* clamps to parent on mobile */
}

/* ══════════ SEARCH BAR ══════════ */
.search-bar {
    background: var(--white);
    border: 1.5px solid var(--gray-300);
    border-radius: 14px;
    display: flex;
    align-items: stretch;
    /* overflow:hidden removed — it clips the skill dropdown */
    box-shadow: var(--shadow-md);
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
    position: relative; /* establishes stacking context without clipping */
}

.search-field {
    flex: 1;
    min-width: 110px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-right: 1px solid var(--gray-300);
    box-sizing: border-box;
    /* overflow:hidden removed — was also clipping content */
}

    .search-field svg {
        color: var(--gray-500);
        flex-shrink: 0;
    }

    .search-field input {
        border: none;
        outline: none;
        font-size: 0.875rem;
        color: var(--navy);
        background: transparent;
        width: 100%;
        font-family: 'Inter', sans-serif;
    }

        .search-field input::placeholder {
            color: var(--gray-500);
        }

    /* MVC TextBox renders as input — override Bootstrap's form-control-plaintext padding */
    .search-field .form-control-plaintext {
        padding: 0;
        font-size: 0.875rem;
        color: var(--navy);
        font-family: 'Inter', sans-serif;
    }

.search-btn {
    background: var(--yellow);
    border: none;
    padding: 12px 22px;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--navy);
    cursor: pointer;
    transition: all var(--t);
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: 'Inter', sans-serif;
}

    .search-btn:hover {
        background: var(--yellow-dark);
    }

/* ══════════ TRUST STATS ══════════ */
.trust {
    background: var(--navy);
    padding: 28px 5%;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.trust-inner {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    padding: 14px 28px;
    border-right: 1px solid rgba(255,255,255,0.12);
    flex: 1;
    min-width: 140px;
}

    .stat:last-child {
        border-right: none;
    }

.stat-num {
    font-family: 'Fraunces', serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--yellow);
    display: block;
    letter-spacing: -0.03em;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.65);
    margin-top: 4px;
}

/* ══════════ SECTION LABELS / TITLES ══════════ */
.section-label {
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--yellow-dark);
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--navy);
    margin-bottom: 14px;
}

.section-sub {
    font-size: 1rem;
    color: var(--gray-500);
    line-height: 1.7;
    max-width: 520px;
}

/* ══════════ SERVICES ══════════ */
.services {
    background: var(--gray-100);
}

.services-header {
    text-align: center;
    margin-bottom: 48px;
}

    .services-header .section-sub {
        margin: 0 auto;
    }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px 24px;
    border: 1px solid var(--gray-300);
    transition: all var(--t);
    cursor: default;
}

    .service-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
        border-color: var(--yellow);
    }

.service-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: var(--yellow-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 1.4rem;
}

.service-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.service-desc {
    font-size: 0.875rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ══════════ SPLIT SECTIONS (For Candidates / For Recruiters) ══════════ */
.split {
    display: flex;
    gap: 68px;
    align-items: center;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

    .split.reverse {
        flex-direction: row-reverse;
    }

.split-content {
    flex: 1;
    min-width: 0;
}
/* min-width:0 is critical */
.split-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 0;
}

.for-candidates {
    background: var(--white);
}

.for-recruiters {
    background: var(--gray-100);
}

.feature-list {
    list-style: none;
    margin: 24px 0 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .feature-list li {
        display: flex;
        align-items: center;
        gap: 11px;
        font-size: 0.93rem;
        color: var(--navy-soft);
        font-weight: 500;
    }

        .feature-list li::before {
            content: '';
            width: 20px;
            height: 20px;
            border-radius: 50%;
            flex-shrink: 0;
            background: var(--yellow-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%23E6AC00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") center/contain no-repeat;
            border: 1.5px solid var(--yellow);
        }

/* NSS split card (used in For Candidates visual) */
.split-visual-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.split-card {
    background: var(--nss-white);
    border-radius: var(--nss-radius-xl);
    box-shadow: var(--nss-shadow-lg);
    overflow: hidden;
    width: 100%;
    max-width: 360px;
}

.split-card-header {
    background: var(--nss-navy);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 13px;
}

.split-card-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2.5px solid var(--nss-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    background: var(--nss-yellow-light);
}

.split-card-name {
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
}

.split-card-role {
    color: rgba(255,255,255,0.65);
    font-size: 0.78rem;
}

.split-card-body {
    padding: 18px;
}

.split-card-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--nss-gray-500);
    margin-bottom: 10px;
}

.split-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 14px;
}

.split-badge {
    font-size: 0.73rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    background: var(--nss-gray-100);
    color: var(--nss-navy-soft);
}

    .split-badge.featured {
        background: var(--nss-yellow-light);
        color: #7C6209;
    }

.split-action {
    width: 100%;
    padding: 10px;
    background: var(--nss-yellow);
    border: none;
    border-radius: 9px;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--nss-navy);
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all var(--nss-t);
}

    .split-action:hover {
        background: var(--nss-yellow-dark);
    }

/* ══════════ LIVE JOBS ══════════ */
.jobs {
    background: var(--white);
}

.jobs-header {
    text-align: center;
    margin-bottom: 44px;
}

    .jobs-header .section-sub {
        margin: 0 auto;
    }

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 18px;
    max-width: 1100px;
    margin: 0 auto 36px;
}

.job-card {
    background: var(--white);
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius);
    padding: 22px;
    transition: all var(--t);
    cursor: pointer;
}

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

.job-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 12px;
}

.job-logo {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.job-badge {
    background: var(--yellow-light);
    color: #7C6209;
    font-size: 0.71rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 50px;
}

.job-title {
    font-weight: 700;
    font-size: 0.98rem;
    margin-bottom: 3px;
}

.job-company {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 12px;
}

.job-meta {
    display: flex;
    gap: 14px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

    .job-meta span {
        font-size: 0.78rem;
        color: var(--gray-500);
        display: flex;
        align-items: center;
        gap: 3px;
    }

.job-apply {
    display: block;
    width: 100%;
    background: var(--navy);
    color: var(--white);
    border: none;
    padding: 9px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all var(--t);
    font-family: 'Inter', sans-serif;
    text-align: center;
    text-decoration: none;
}

    .job-apply:hover {
        background: var(--yellow);
        color: var(--navy);
    }

/* ══════════ WHY NAUKRISUNSHINE ══════════ */
.why {
    background: var(--gray-100);
}

.why-header {
    text-align: center;
    margin-bottom: 48px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.why-card {
    text-align: center;
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 22px;
    border: 1px solid var(--gray-300);
    transition: all var(--t);
}

    .why-card:hover {
        box-shadow: var(--shadow-md);
        transform: translateY(-3px);
    }

.why-icon {
    font-size: 2rem;
    margin-bottom: 14px;
    display: block;
}

.why-title {
    font-weight: 700;
    font-size: 0.98rem;
    margin-bottom: 8px;
}

.why-desc {
    font-size: 0.86rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ══════════ TESTIMONIALS ══════════ */
.testimonials {
    background: var(--white);
}

.test-header {
    text-align: center;
    margin-bottom: 48px;
}

.test-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.test-card {
    background: var(--gray-100);
    border-radius: var(--radius);
    padding: 28px;
    border: 1px solid var(--gray-300);
    transition: all var(--t);
}

    .test-card:hover {
        box-shadow: var(--shadow-md);
    }

.stars {
    color: var(--yellow-dark);
    font-size: 0.95rem;
    margin-bottom: 14px;
    letter-spacing: 2px;
}

.test-text {
    font-size: 0.92rem;
    color: var(--navy-soft);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.test-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.test-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--yellow-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: var(--yellow-dark);
    border: 2px solid var(--yellow);
    flex-shrink: 0;
}

.test-name {
    font-weight: 700;
    font-size: 0.88rem;
}

.test-role {
    font-size: 0.78rem;
    color: var(--gray-500);
}

/* ══════════ FINAL CTA ══════════ */
.final-cta {
    background: var(--navy);
    text-align: center;
    padding: 56px 5%;
}

    .final-cta .section-title {
        color: var(--white);
    }

    .final-cta .section-sub {
        color: rgba(255,255,255,0.6);
        margin: 0 auto 36px;
    }

.final-cta-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ══════════ PROSPECT CANDIDATES ══════════ */
.prospect-candidates {
    background: var(--white);
}

.prospect-header {
    text-align: center;
    margin-bottom: 40px;
}

    .prospect-header .section-sub {
        margin: 0 auto;
    }

.prospect-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.prospect-card {
    background: var(--white);
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--t);
    cursor: default;
}

    .prospect-card:hover {
        border-color: var(--yellow);
        box-shadow: var(--shadow-lg);
        transform: translateY(-4px);
    }

.prospect-avatar {
    position: relative;
    padding: 24px 24px 16px;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    gap: 14px;
}

.prospect-avatar-img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.prospect-open-badge {
    font-size: 0.7rem;
    font-weight: 700;
    color: #16A34A;
    background: #DCFCE7;
    padding: 4px 10px;
    border-radius: 50px;
    white-space: nowrap;
}

.prospect-info {
    padding: 16px 20px 20px;
}

.prospect-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 2px;
}

.prospect-title {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 6px;
}

.prospect-exp {
    font-size: 0.78rem;
    color: var(--navy-soft);
    margin-bottom: 12px;
    font-weight: 500;
}

.prospect-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.skill-tag {
    background: var(--gray-200);
    color: var(--navy-soft);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
}

.prospect-meta {
    display: flex;
    gap: 12px;
    font-size: 0.77rem;
    color: var(--gray-500);
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.prospect-btn {
    width: 100%;
    background: var(--navy);
    color: var(--white);
    border: none;
    padding: 10px;
    border-radius: 9px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--t);
    font-family: 'Inter', sans-serif;
}

    .prospect-btn:hover {
        background: var(--yellow);
        color: var(--navy);
    }

/* NSS variant prospect cards */
.nss-prospect-section {
    background: var(--nss-white);
}

.nss-prospect-card {
    background: var(--nss-white);
    border: 1.5px solid var(--nss-gray-200);
    border-radius: var(--nss-radius);
    overflow: hidden;
    transition: all var(--nss-t);
    height: 100%;
}

    .nss-prospect-card:hover {
        border-color: var(--nss-blue);
        box-shadow: var(--nss-shadow-card);
        transform: translateY(-4px);
    }

.nss-prospect-card-header {
    position: relative;
    padding: 22px 22px 16px;
    background: var(--nss-gray-50);
    display: flex;
    align-items: center;
    gap: 13px;
}

.nss-prospect-avatar-circle {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.14);
}

.nss-open-to-work {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--nss-success);
    background: var(--nss-success-bg);
    padding: 3px 9px;
    border-radius: 50px;
    display: inline-block;
}

.nss-prospect-card-body {
    padding: 16px 20px 20px;
}

.nss-prospect-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--nss-navy);
    margin-bottom: 2px;
}

.nss-prospect-title-role {
    font-size: 0.83rem;
    color: var(--nss-gray-500);
    margin-bottom: 6px;
}

.nss-prospect-exp {
    font-size: 0.77rem;
    color: var(--nss-navy-soft);
    margin-bottom: 11px;
    font-weight: 500;
}

.nss-prospect-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 11px;
}

.nss-prospect-meta {
    display: flex;
    gap: 12px;
    font-size: 0.76rem;
    color: var(--nss-gray-500);
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.nss-prospect-btn {
    width: 100%;
    background: var(--nss-navy);
    color: var(--nss-white);
    border: none;
    padding: 10px;
    border-radius: 9px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all var(--nss-t);
}

    .nss-prospect-btn:hover {
        background: var(--nss-blue);
    }

/* ══════════ ANDROID APP SECTION ══════════ */
.android-app {
    background: var(--navy);
}

.app-inner {
    display: flex;
    align-items: center;
    gap: 64px;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.app-content {
    flex: 1.1;
    min-width: 0;
}

.app-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 22px 0 30px;
}

    .app-features li {
        font-size: 0.92rem;
        color: rgba(255,255,255,0.8);
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: 10px;
    }

.app-download-btn-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.app-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--yellow);
    color: var(--navy);
    text-decoration: none;
    padding: 14px 22px;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    transition: all var(--t);
}

    .app-download-btn:hover {
        background: var(--yellow-dark);
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(255,193,7,0.3);
        color: var(--navy);
    }

.app-btn-label {
    font-size: 0.68rem;
    font-weight: 500;
    opacity: 0.75;
    color: var(--navy);
    display: block;
}

.app-btn-store {
    font-size: 1rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.1;
}

.app-stars {
    color: var(--yellow);
    font-size: 1rem;
    letter-spacing: 2px;
}

.app-rating-text {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.6);
    margin-top: 2px;
}

.app-visual {
    flex: 0.8;
    display: flex;
    justify-content: center;
}

.app-phone {
    filter: drop-shadow(0 20px 48px rgba(0,0,0,0.35));
}

/* Phone frame mockup */
.phone-frame {
    width: 220px;
    background: var(--navy);
    border-radius: 36px;
    padding: 10px;
    border: 2px solid rgba(255,255,255,0.12);
}

.phone-screen {
    background: var(--white);
    border-radius: 28px;
    overflow: hidden;
    padding: 12px 10px;
}

.phone-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2px 8px;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 8px;
}

.phone-hero-bar {
    background: var(--navy);
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 8px;
}

.phone-card {
    border: 1.5px solid var(--gray-300);
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 8px;
}

/* NSS phone frame variant */
.nss-phone-frame {
    width: 210px;
    background: var(--nss-navy);
    border-radius: 34px;
    padding: 9px;
    border: 2px solid rgba(255,255,255,0.1);
    filter: drop-shadow(0 20px 48px rgba(0,0,0,0.35));
    margin: 0 auto;
}

.nss-phone-screen {
    background: var(--nss-white);
    border-radius: 26px;
    overflow: hidden;
    padding: 11px 9px;
}

.nss-phone-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2px 7px;
    border-bottom: 1px solid var(--nss-gray-100);
    margin-bottom: 7px;
}

.nss-phone-hero-bar {
    background: var(--nss-navy);
    border-radius: 9px;
    padding: 9px 11px;
    margin-bottom: 7px;
}

.nss-phone-card {
    border: 1.5px solid var(--nss-gray-200);
    border-radius: 9px;
    padding: 9px;
    margin-bottom: 7px;
}

/* Phone screenshot carousel */
.phone-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 7px;
}

.phone-carousel-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.4,0,0.2,1);
}

.phone-carousel-slide {
    min-width: 100%;
    position: relative;
}

.phone-screenshot {
    width: 100%;
    /*    height: 120px;*/
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.phone-screenshot-placeholder {
    width: 100%;
    height: 120px;
    border-radius: 8px;
    background: var(--nss-gray-100);
    border: 1.5px dashed var(--nss-gray-300);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 1.1rem;
}

.phone-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 5px;
    padding: 6px 0 2px;
}

.phone-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--nss-gray-300);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

    .phone-dot.active {
        background: var(--nss-blue);
        width: 16px;
        border-radius: 3px;
    }

/* NSS app section variant */
.nss-app-section {
    background: var(--nss-navy);
}

    .nss-app-section .section-eyebrow {
        color: rgba(255,193,7,0.9);
    }

    .nss-app-section .nss-section-title {
        color: var(--nss-white);
    }

    .nss-app-section .nss-section-sub {
        color: rgba(255,255,255,0.7);
    }

.nss-app-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

    .nss-app-feature-list li {
        font-size: 0.9rem;
        color: rgba(255,255,255,0.8);
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: 9px;
    }

.nss-app-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    background: var(--nss-yellow);
    color: var(--nss-navy);
    text-decoration: none;
    padding: 13px 22px;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    transition: all var(--nss-t);
    font-weight: 600;
}

    .nss-app-download-btn:hover {
        background: var(--nss-yellow-dark);
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(255,193,7,0.28);
        color: var(--nss-navy);
    }

.nss-app-btn-label {
    font-size: 0.66rem;
    opacity: 0.75;
    display: block;
    font-weight: 500;
}

.nss-app-btn-store {
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.1;
}

.nss-app-stars {
    color: var(--nss-yellow);
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.nss-app-rating-text {
    font-size: 0.76rem;
    color: rgba(255,255,255,0.55);
    margin-top: 2px;
}

/* ══════════ ANIMATIONS (home-page only) ══════════ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-11px);
    }
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.3);
    }
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.fade-up {
    animation: fadeUp 0.55s ease forwards;
    opacity: 0;
}

    .fade-up:nth-child(1) {
        animation-delay: 0.08s;
    }

    .fade-up:nth-child(2) {
        animation-delay: 0.18s;
    }

    .fade-up:nth-child(3) {
        animation-delay: 0.28s;
    }

    .fade-up:nth-child(4) {
        animation-delay: 0.38s;
    }

.float-anim {
    animation: float 5s ease-in-out infinite;
}

/* ══════════ RESPONSIVE ══════════ */
@media (max-width: 960px) {
    .hero {
        flex-direction: column;
        padding: 28px 5% 44px;
        gap: 36px;
        width: 100%;
    }

    .hero-visual {
        width: 100%;
        justify-content: center;
    }

    .hero-svg-wrap {
        width: 100%;
        max-width: 320px;
    }

    .split {
        flex-direction: column !important;
        gap: 36px;
        width: 100%;
    }

    .split-content,
    .split-visual {
        width: 100%;
        max-width: 100%;
    }

    .split-card {
        max-width: 100%;
    }

    .app-inner {
        flex-direction: column;
        gap: 36px;
        width: 100%;
    }

    .app-visual {
        width: 100%;
    }

    .prospect-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 20px 4% 32px;
    }

    .hero-badge {
        font-size: 0.7rem;
        padding: 4px 10px;
    }

    .search-bar {
        flex-direction: column;
        border-radius: 12px;
    }

    .search-field {
        border-right: none;
        border-bottom: 1px solid var(--gray-300);
        width: 100%;
        min-width: unset;
    }

    .search-btn {
        width: 100%;
        justify-content: center;
    }

    .trust-inner {
        gap: 0;
    }

    .stat {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.12);
    }

        .stat:last-child {
            border-bottom: none;
        }

    .services-grid,
    .jobs-grid,
    .why-grid,
    .test-grid {
        grid-template-columns: 1fr;
    }

    .split-card {
        width: 100%;
    }

    .nss-phone-frame,
    .phone-frame {
        width: 180px;
    }
}

@media (min-width: 992px) {
    #chat-widget {
        bottom: 30px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}
