/* ─── HealthiiPeople Home v1.0.0 ─── */

/* ─── CSS Variables ─── */
.hphome {
    --hphome-primary: #0A2E4D;
    --hphome-primary-light: #123D63;
    --hphome-accent: #00A6A0;
    --hphome-accent-hover: #008F8A;
    --hphome-accent-glow: rgba(0, 166, 160, 0.2);
    --hphome-accent-soft: rgba(0, 166, 160, 0.08);
    --hphome-coral: #E85D75;
    --hphome-coral-soft: rgba(232, 93, 117, 0.08);
    --hphome-bg: #FFFFFF;
    --hphome-bg-alt: #F7F8FA;
    --hphome-bg-dark: #0A1628;
    --hphome-surface: #FFFFFF;
    --hphome-border: #E5E7EB;
    --hphome-border-hover: #D1D5DB;
    --hphome-text: #1A1A2E;
    --hphome-text-muted: #6B7280;
    --hphome-text-faint: #9CA3AF;
    --hphome-radius: 12px;
    --hphome-radius-sm: 10px;
    font-family: 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--hphome-text);
    background: var(--hphome-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ─── Full-bleed Elementor compatibility ─── */
.hphome {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    box-sizing: border-box !important;
}

/* ─── Scroll Animations ─── */
.hphome-anim-ready [data-anim="fade-up"] {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.hphome-anim-ready [data-anim="fade-up"].hphome-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Section Inner ─── */
.hphome-section-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ─── Section Titles ─── */
.hphome-section-title {
    font-family: 'Satoshi', 'General Sans', sans-serif;
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 800;
    letter-spacing: -0.025em;
    text-align: center;
    margin-bottom: 16px;
    color: var(--hphome-text);
    line-height: 1.15;
}

.hphome-section-subtitle {
    font-size: clamp(16px, 2vw, 18px);
    color: var(--hphome-text-muted);
    text-align: center;
    max-width: 620px;
    margin: 0 auto 56px;
    line-height: 1.6;
}

/* ─── Buttons ─── */
.hphome-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 32px;
    border-radius: var(--hphome-radius-sm);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    font-family: inherit;
    border: none;
    gap: 8px;
}

.hphome-btn--accent {
    background: var(--hphome-accent);
    color: #fff;
    box-shadow: 0 2px 12px rgba(0, 166, 160, 0.25);
}

.hphome-btn--accent:hover {
    background: var(--hphome-accent-hover);
    box-shadow: 0 4px 20px rgba(0, 166, 160, 0.35);
    transform: translateY(-1px);
}

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

.hphome-btn--ghost:hover {
    border-color: var(--hphome-accent);
    color: var(--hphome-accent);
    background: var(--hphome-accent-soft);
}

.hphome-btn--lg {
    padding: 16px 40px;
    font-size: 16px;
}

/* ═══════════════════════════════
   HERO
   ═══════════════════════════════ */
.hphome-hero {
    position: relative;
    min-height: 88vh;
    min-height: 88dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 24px 40px;
    overflow: hidden;
    background: linear-gradient(180deg, #FFFFFF 0%, #F0F9F8 60%, #E8F5F4 100%);
}

.hphome-hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.hphome-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    will-change: transform;
}

.hphome-hero-orb--1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 166, 160, 0.12) 0%, transparent 70%);
    top: -10%;
    left: -10%;
    animation: hphome-drift 18s ease-in-out infinite alternate;
}

.hphome-hero-orb--2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(10, 46, 77, 0.06) 0%, transparent 70%);
    top: 20%;
    right: -8%;
    animation: hphome-drift 22s ease-in-out infinite alternate-reverse;
}

.hphome-hero-orb--3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(232, 93, 117, 0.06) 0%, transparent 70%);
    bottom: 5%;
    left: 30%;
    animation: hphome-drift 20s ease-in-out infinite alternate;
}

.hphome-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 166, 160, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 166, 160, 0.03) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black 20%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black 20%, transparent 100%);
}

@keyframes hphome-drift {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(30px, -20px) scale(1.05); }
    100% { transform: translate(-20px, 30px) scale(0.95); }
}

.hphome-hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
}

/* Badge */
.hphome-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--hphome-accent-soft);
    border: 1px solid rgba(0, 166, 160, 0.15);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--hphome-accent);
    margin-bottom: 28px;
}

.hphome-hero-badge svg { color: var(--hphome-accent); flex-shrink: 0; }

.hphome-hero-h1 {
    font-family: 'Satoshi', 'General Sans', sans-serif;
    font-size: clamp(36px, 6vw, 68px);
    font-weight: 900;
    line-height: 1.06;
    letter-spacing: -0.035em;
    color: var(--hphome-primary);
    margin-bottom: 24px;
}

.hphome-hero-sub {
    font-size: clamp(16px, 2.2vw, 20px);
    color: var(--hphome-text-muted);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 40px;
}

.hphome-hero-ctas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* Hero floating stat cards */
.hphome-hero-visual {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 56px;
    flex-wrap: wrap;
}

.hphome-hero-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 20px 28px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(229, 231, 235, 0.6);
    border-radius: var(--hphome-radius);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    min-width: 150px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hphome-hero-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.hphome-hero-card span {
    font-size: 12px;
    font-weight: 500;
    color: var(--hphome-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hphome-hero-card strong {
    font-family: 'Satoshi', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--hphome-primary);
}

/* ═══════════════════════════════
   STATS BAR
   ═══════════════════════════════ */
.hphome-stats {
    border-top: 1px solid var(--hphome-border);
    border-bottom: 1px solid var(--hphome-border);
    background: var(--hphome-bg);
    padding: 40px 24px;
}

.hphome-stats-inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
}

.hphome-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
}

.hphome-stat-num {
    font-family: 'Satoshi', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: var(--hphome-primary);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hphome-stat-label {
    font-size: 13px;
    color: var(--hphome-text-muted);
    font-weight: 500;
}

.hphome-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--hphome-border);
    flex-shrink: 0;
}

/* ═══════════════════════════════
   SECTORS
   ═══════════════════════════════ */
.hphome-sectors {
    padding: 100px 0;
    background: var(--hphome-bg-alt);
}

.hphome-sector-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.hphome-sector-card {
    padding: 32px 28px;
    background: var(--hphome-surface);
    border: 1px solid var(--hphome-border);
    border-radius: var(--hphome-radius);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.hphome-sector-card:hover {
    border-color: var(--hphome-accent);
    box-shadow: 0 8px 32px rgba(0, 166, 160, 0.08);
    transform: translateY(-3px);
}

.hphome-sector-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hphome-accent-soft);
    border-radius: var(--hphome-radius-sm);
    color: var(--hphome-accent);
    margin-bottom: 18px;
}

.hphome-sector-title {
    font-family: 'Satoshi', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--hphome-text);
    margin-bottom: 10px;
}

.hphome-sector-desc {
    font-size: 14px;
    color: var(--hphome-text-muted);
    line-height: 1.65;
}

/* ═══════════════════════════════
   DUAL AUDIENCE
   ═══════════════════════════════ */
.hphome-dual {
    padding: 100px 0;
    background: var(--hphome-bg);
}

.hphome-dual-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.hphome-dual-card {
    padding: 40px 36px;
    background: var(--hphome-surface);
    border: 1px solid var(--hphome-border);
    border-radius: var(--hphome-radius);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.hphome-dual-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
}

.hphome-dual-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    margin-bottom: 20px;
}

.hphome-dual-icon--seekers {
    background: var(--hphome-accent-soft);
    color: var(--hphome-accent);
}

.hphome-dual-icon--employers {
    background: var(--hphome-coral-soft);
    color: var(--hphome-coral);
}

.hphome-dual-title {
    font-family: 'Satoshi', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--hphome-text);
    margin-bottom: 12px;
}

.hphome-dual-desc {
    font-size: 15px;
    color: var(--hphome-text-muted);
    line-height: 1.65;
    margin-bottom: 20px;
}

.hphome-dual-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}

.hphome-dual-list li {
    padding: 10px 0;
    font-size: 14px;
    color: var(--hphome-text-muted);
    border-bottom: 1px solid var(--hphome-border);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.55;
}

.hphome-dual-list li::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--hphome-accent);
    flex-shrink: 0;
    margin-top: 8px;
}

.hphome-dual-list li:last-child { border-bottom: none; }

/* ═══════════════════════════════
   FEATURES (Why Choose Us)
   ═══════════════════════════════ */
.hphome-features {
    padding: 100px 0;
    background: var(--hphome-bg-alt);
    border-top: 1px solid var(--hphome-border);
}

.hphome-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 960px;
    margin: 0 auto;
}

.hphome-feature-card {
    padding: 32px 28px;
    background: var(--hphome-surface);
    border: 1px solid var(--hphome-border);
    border-radius: var(--hphome-radius);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.hphome-feature-card:hover {
    border-color: rgba(0, 166, 160, 0.3);
    box-shadow: 0 8px 32px rgba(0, 166, 160, 0.06);
    transform: translateY(-2px);
}

.hphome-feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hphome-accent-soft);
    border-radius: var(--hphome-radius-sm);
    color: var(--hphome-accent);
    margin-bottom: 18px;
}

.hphome-feature-title {
    font-family: 'Satoshi', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--hphome-text);
    margin-bottom: 10px;
}

.hphome-feature-desc {
    font-size: 14px;
    color: var(--hphome-text-muted);
    line-height: 1.65;
}

/* ═══════════════════════════════
   TESTIMONIAL / TRUST
   ═══════════════════════════════ */
.hphome-trust {
    padding: 100px 0;
    background: var(--hphome-bg);
}

.hphome-trust-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: start;
}

.hphome-trust-quote { position: relative; }

.hphome-quote-mark {
    position: absolute;
    top: -8px;
    left: -4px;
    opacity: 0.6;
}

.hphome-blockquote {
    font-size: 20px;
    font-weight: 500;
    color: var(--hphome-text);
    line-height: 1.65;
    font-style: italic;
    margin-bottom: 28px;
    padding-left: 0;
    border: none;
}

.hphome-quote-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hphome-quote-avatar {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hphome-accent-soft);
    border-radius: 50%;
    flex-shrink: 0;
}

.hphome-quote-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--hphome-text);
    display: block;
}

.hphome-quote-role {
    font-size: 13px;
    color: var(--hphome-text-muted);
    display: block;
}

/* Trust Badges */
.hphome-trust-badges-title {
    font-family: 'Satoshi', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--hphome-text);
    margin-bottom: 24px;
}

.hphome-badge-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.hphome-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--hphome-bg-alt);
    border: 1px solid var(--hphome-border);
    border-radius: var(--hphome-radius-sm);
    font-size: 13px;
    font-weight: 600;
    color: var(--hphome-text);
    transition: border-color 0.15s;
}

.hphome-badge:hover { border-color: var(--hphome-accent); }
.hphome-badge svg { flex-shrink: 0; }

/* ═══════════════════════════════
   JOB SEARCH SECTION
   ═══════════════════════════════ */
.hphome-search {
    padding: 100px 0;
    background: var(--hphome-bg-dark);
    position: relative;
    overflow: hidden;
}

.hphome-search::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(0, 166, 160, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(232, 93, 117, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.hphome-search .hphome-section-inner { position: relative; z-index: 1; }

.hphome-search-title {
    font-family: 'Satoshi', sans-serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: #F5F5F7;
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: -0.025em;
}

.hphome-search-sub {
    font-size: 17px;
    color: rgba(245, 245, 247, 0.65);
    text-align: center;
    margin-bottom: 40px;
}

.hphome-search-bar {
    display: flex;
    align-items: center;
    gap: 0;
    max-width: 680px;
    margin: 0 auto 32px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--hphome-radius);
    overflow: hidden;
    transition: border-color 0.2s;
}

.hphome-search-bar:focus-within { border-color: var(--hphome-accent); }

.hphome-search-input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 20px;
    color: rgba(255, 255, 255, 0.5);
}

.hphome-search-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: #F5F5F7;
    font-size: 15px;
    font-family: inherit;
    padding: 16px 0;
}

.hphome-search-input::placeholder { color: rgba(255, 255, 255, 0.4); }

.hphome-search-btn {
    border-radius: 0 var(--hphome-radius-sm) var(--hphome-radius-sm) 0;
    padding: 16px 28px;
    font-size: 14px;
    flex-shrink: 0;
}

.hphome-search-tags {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.hphome-search-tags-label {
    font-size: 13px;
    color: rgba(245, 245, 247, 0.4);
    font-weight: 500;
}

.hphome-search-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(245, 245, 247, 0.7);
    text-decoration: none;
    transition: all 0.15s;
}

.hphome-search-tag:hover {
    background: rgba(0, 166, 160, 0.15);
    border-color: rgba(0, 166, 160, 0.3);
    color: #00A6A0;
}

/* ═══════════════════════════════
   FINAL CTA
   ═══════════════════════════════ */
.hphome-cta {
    position: relative;
    padding: 120px 24px;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(180deg, #F0F9F8 0%, #FFFFFF 50%, #F7F8FA 100%);
}

.hphome-cta-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hphome-hero-orb--4 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(0, 166, 160, 0.10) 0%, transparent 70%);
    top: -20%;
    right: -10%;
    animation: hphome-drift 20s ease-in-out infinite alternate;
}

.hphome-hero-orb--5 {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(232, 93, 117, 0.06) 0%, transparent 70%);
    bottom: -15%;
    left: -5%;
    animation: hphome-drift 24s ease-in-out infinite alternate-reverse;
}

.hphome-cta-inner {
    position: relative;
    z-index: 1;
}

.hphome-cta-h2 {
    font-family: 'Satoshi', sans-serif;
    font-size: clamp(28px, 4.5vw, 48px);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--hphome-primary);
    margin-bottom: 16px;
    line-height: 1.1;
}

.hphome-cta-sub {
    font-size: 17px;
    color: var(--hphome-text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hphome-cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* ═══════════════════════════════
   RESPONSIVE
   ═══════════════════════════════ */
@media (max-width: 768px) {
    .hphome-hero { min-height: auto; padding: 60px 20px 40px; }
    .hphome-hero-orb--1 { width: 300px; height: 300px; }
    .hphome-hero-orb--2 { width: 250px; height: 250px; }
    .hphome-hero-orb--3 { width: 200px; height: 200px; }

    .hphome-hero-visual { margin-top: 40px; }
    .hphome-hero-card { padding: 16px 20px; min-width: 120px; }
    .hphome-hero-card strong { font-size: 20px; }

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

    .hphome-stat-divider {
        width: 60px;
        height: 1px;
    }

    .hphome-sector-grid { grid-template-columns: 1fr; }
    .hphome-dual-grid { grid-template-columns: 1fr; }
    .hphome-feature-grid { grid-template-columns: 1fr; }
    .hphome-trust-layout { grid-template-columns: 1fr; gap: 40px; }
    .hphome-badge-grid { grid-template-columns: 1fr 1fr; }

    .hphome-sectors,
    .hphome-dual,
    .hphome-features,
    .hphome-trust,
    .hphome-search { padding: 72px 0; }

    .hphome-cta { padding: 80px 20px; }

    .hphome-section-title { margin-bottom: 12px; }
    .hphome-section-subtitle { margin-bottom: 40px; }

    .hphome-search-bar { flex-direction: column; border-radius: var(--hphome-radius); }
    .hphome-search-btn { width: 100%; border-radius: 0 0 var(--hphome-radius-sm) var(--hphome-radius-sm); }
    .hphome-search-input-wrap { width: 100%; }
}

@media (max-width: 480px) {
    .hphome-hero-h1 { font-size: 32px; }
    .hphome-hero-sub { font-size: 15px; }
    .hphome-hero-badge { font-size: 12px; padding: 6px 14px; }

    .hphome-hero-ctas,
    .hphome-cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hphome-hero-ctas .hphome-btn,
    .hphome-cta-buttons .hphome-btn {
        width: 100%;
    }

    .hphome-hero-visual { flex-direction: column; align-items: center; gap: 12px; }
    .hphome-hero-card { width: 100%; max-width: 260px; flex-direction: row; padding: 14px 18px; }
    .hphome-hero-card strong { font-size: 18px; }

    .hphome-stat-num { font-size: 26px; }

    .hphome-sector-card,
    .hphome-feature-card { padding: 24px 20px; }

    .hphome-dual-card { padding: 28px 24px; }

    .hphome-blockquote { font-size: 17px; }

    .hphome-badge-grid { grid-template-columns: 1fr; }
}
