/* ========================================================
   WA HERO â€” WhatsApp-First HRM Hero Section
   Full Light + Dark Mode Support Â· Mobile-First Responsive
   Field HRM | fieldhrm.cloud
   ======================================================== */

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   1. THEME TOKENS â€” CSS Custom Properties
   Light Mode = defaults | Dark Mode = [data-theme="dark"]
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.wa-hero {
    /* â”€â”€ Background â”€â”€ */
    --wah-bg:             #EFF3FF;
    --wah-dot-color:      rgba(15, 23, 42, 0.045);
    --wah-blob-green:     rgba(37, 211, 102, 0.07);
    --wah-blob-indigo:    rgba(79, 70, 229, 0.07);
    --wah-line:           linear-gradient(90deg, transparent, rgba(37,211,102,0.35), rgba(79,70,229,0.35), transparent);

    /* â”€â”€ Text â”€â”€ */
    --wah-headline:       #0F172A;
    --wah-muted:          rgba(15, 23, 42, 0.38);
    --wah-sub:            #475569;
    --wah-trust:          rgba(15, 23, 42, 0.32);

    /* â”€â”€ Badges â”€â”€ */
    --wah-badge-g-bg:     rgba(37, 211, 102, 0.1);
    --wah-badge-g-bd:     rgba(37, 211, 102, 0.3);
    --wah-badge-g-tx:     #066B38;
    --wah-badge-i-bg:     rgba(79, 70, 229, 0.08);
    --wah-badge-i-bd:     rgba(79, 70, 229, 0.25);
    --wah-badge-i-tx:     #4338CA;

    /* â”€â”€ Pills â”€â”€ */
    --wah-pill-bg:        rgba(15, 23, 42, 0.04);
    --wah-pill-bd:        rgba(15, 23, 42, 0.09);
    --wah-pill-tx:        #374151;
    --wah-pill-h-bg:      rgba(37, 211, 102, 0.07);
    --wah-pill-h-bd:      rgba(37, 211, 102, 0.22);
    --wah-pill-h-tx:      #0F172A;

    /* â”€â”€ Layout â”€â”€ */
    --wah-separator:      rgba(15, 23, 42, 0.07);

    /* â”€â”€ Floating Cards â”€â”€ */
    --wah-float-bg:       rgba(255, 255, 255, 0.92);
    --wah-float-bd:       rgba(15, 23, 42, 0.08);
    --wah-float-tx:       #1E293B;
    --wah-float-sh:       0 8px 28px rgba(15,23,42,0.12);

    /* â”€â”€ Orbit Badges â”€â”€ */
    --wah-orbit-bg:       rgba(15, 23, 42, 0.04);
    --wah-orbit-bd:       rgba(15, 23, 42, 0.09);
    --wah-orbit-tx:       #64748B;

    /* â”€â”€ Phone Frame â”€â”€ */
    --wah-phone-bezel:    #C8C8CC;
    --wah-phone-bd:       rgba(0, 0, 0, 0.15);
    --wah-phone-sh:       0 40px 90px rgba(0,0,0,0.2), 0 0 40px rgba(37,211,102,0.06);
    --wah-phone-notch:    rgba(0,0,0,0.2);
    --wah-phone-glow:     rgba(37, 211, 102, 0.09);

    /* â”€â”€ WhatsApp UI Â· Light â”€â”€ */
    --wah-status-bg:      #075E54;
    --wah-status-tx:      rgba(255,255,255,0.9);
    --wah-header-bg:      #128C7E;
    --wah-header-tx:      #ffffff;
    --wah-header-sub:     rgba(255,255,255,0.72);
    --wah-header-ico:     rgba(255,255,255,0.85);
    --wah-back:           rgba(255,255,255,0.9);
    --wah-chat-bg:        #E9DDD4;
    --wah-chat-dot:       rgba(0,0,0,0.03);
    --wah-bot-bg:         #FFFFFF;
    --wah-bot-tx:         #111B21;
    --wah-bot-sh:         0 1px 2px rgba(0,0,0,0.13);
    --wah-bot-r:          0px 8px 8px 8px;
    --wah-user-bg:        #D9FDD3;
    --wah-user-tx:        #111B21;
    --wah-user-sh:        0 1px 2px rgba(0,0,0,0.08);
    --wah-user-r:         8px 8px 0px 8px;
    --wah-success-bd:     #25D366;
    --wah-success-r:      0px 8px 8px 8px;
    --wah-time-tx:        rgba(0,0,0,0.38);
    --wah-time-user-tx:   rgba(0,0,0,0.38);
    --wah-qr-bd:          rgba(7, 94, 84, 0.35);
    --wah-qr-bg:          rgba(7, 94, 84, 0.05);
    --wah-qr-tx:          #075E54;
    --wah-selfie-bg:      linear-gradient(135deg, #D8D1C8, #C8BDB0);
    --wah-selfie-tx:      rgba(0,0,0,0.38);
    --wah-selfie-label:   rgba(0,0,0,0.45);
    --wah-succ-tx:        #066B38;
    --wah-succ-row:       #2D3748;
    --wah-succ-foot:      rgba(0,0,0,0.3);
    --wah-succ-div:       rgba(0,0,0,0.07);
    --wah-typing-bg:      #FFFFFF;
    --wah-typing-dot:     rgba(0,0,0,0.3);

    /* â”€â”€ Notif Float â”€â”€ */
    --wah-notif-bg:       rgba(37, 211, 102, 0.08);
    --wah-notif-bd:       rgba(37, 211, 102, 0.22);
    --wah-notif-tx:       #066B38;
}

[data-theme="dark"] .wa-hero {
    --wah-bg:             #09090E;
    --wah-dot-color:      rgba(255, 255, 255, 0.035);
    --wah-blob-green:     rgba(37, 211, 102, 0.1);
    --wah-blob-indigo:    rgba(79, 70, 229, 0.1);
    --wah-line:           linear-gradient(90deg, transparent, rgba(37,211,102,0.25), rgba(79,70,229,0.25), transparent);

    --wah-headline:       #ffffff;
    --wah-muted:          rgba(255, 255, 255, 0.4);
    --wah-sub:            #94A3B8;
    --wah-trust:          rgba(255, 255, 255, 0.3);

    --wah-badge-g-bg:     rgba(37, 211, 102, 0.1);
    --wah-badge-g-bd:     rgba(37, 211, 102, 0.28);
    --wah-badge-g-tx:     #25D366;
    --wah-badge-i-bg:     rgba(99, 102, 241, 0.1);
    --wah-badge-i-bd:     rgba(99, 102, 241, 0.3);
    --wah-badge-i-tx:     #A5B4FC;

    --wah-pill-bg:        rgba(255, 255, 255, 0.04);
    --wah-pill-bd:        rgba(255, 255, 255, 0.07);
    --wah-pill-tx:        rgba(255, 255, 255, 0.65);
    --wah-pill-h-bg:      rgba(37, 211, 102, 0.07);
    --wah-pill-h-bd:      rgba(37, 211, 102, 0.22);
    --wah-pill-h-tx:      rgba(255, 255, 255, 0.9);

    --wah-separator:      rgba(255, 255, 255, 0.06);

    --wah-float-bg:       rgba(18, 18, 22, 0.82);
    --wah-float-bd:       rgba(255, 255, 255, 0.09);
    --wah-float-tx:       rgba(255, 255, 255, 0.82);
    --wah-float-sh:       0 12px 32px rgba(0,0,0,0.45);

    --wah-orbit-bg:       rgba(255, 255, 255, 0.03);
    --wah-orbit-bd:       rgba(255, 255, 255, 0.07);
    --wah-orbit-tx:       rgba(255, 255, 255, 0.42);

    --wah-phone-bezel:    #1C1C1E;
    --wah-phone-bd:       rgba(255, 255, 255, 0.1);
    --wah-phone-sh:       0 50px 100px rgba(0,0,0,0.75), 0 0 50px rgba(37,211,102,0.07);
    --wah-phone-notch:    rgba(255,255,255,0.12);
    --wah-phone-glow:     rgba(37, 211, 102, 0.14);

    --wah-status-bg:      #111B21;
    --wah-status-tx:      white;
    --wah-header-bg:      #202C33;
    --wah-header-tx:      #ffffff;
    --wah-header-sub:     rgba(255,255,255,0.5);
    --wah-header-ico:     #AEBAC1;
    --wah-back:           #25D366;
    --wah-chat-bg:        #0B141A;
    --wah-chat-dot:       rgba(255,255,255,0.025);
    --wah-bot-bg:         #202C33;
    --wah-bot-tx:         rgba(255,255,255,0.9);
    --wah-bot-sh:         none;
    --wah-bot-r:          0px 8px 8px 8px;
    --wah-user-bg:        #005C4B;
    --wah-user-tx:        rgba(255,255,255,0.95);
    --wah-user-sh:        none;
    --wah-user-r:         8px 8px 0px 8px;
    --wah-success-bd:     #25D366;
    --wah-success-r:      0px 8px 8px 8px;
    --wah-time-tx:        rgba(255,255,255,0.28);
    --wah-time-user-tx:   rgba(255,255,255,0.35);
    --wah-qr-bd:          rgba(37, 211, 102, 0.3);
    --wah-qr-bg:          rgba(37, 211, 102, 0.05);
    --wah-qr-tx:          #25D366;
    --wah-selfie-bg:      linear-gradient(135deg, #2A3942, #1E2D35);
    --wah-selfie-tx:      rgba(255,255,255,0.4);
    --wah-selfie-label:   rgba(255,255,255,0.35);
    --wah-succ-tx:        #25D366;
    --wah-succ-row:       rgba(255,255,255,0.78);
    --wah-succ-foot:      rgba(255,255,255,0.3);
    --wah-succ-div:       rgba(255,255,255,0.07);
    --wah-typing-bg:      #202C33;
    --wah-typing-dot:     rgba(255,255,255,0.35);

    --wah-notif-bg:       rgba(37, 211, 102, 0.1);
    --wah-notif-bd:       rgba(37, 211, 102, 0.28);
    --wah-notif-tx:       #4ADE80;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   2. SECTION WRAPPER
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.wa-hero-outer {
    position: relative;
    height: 250vh; /* 100vh for content + 150vh of scrolling room */
    background: var(--wah-bg);
}

.wa-hero {
    position: sticky;
    top: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: transparent;
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: 70px;
    transition: background 0.4s ease;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   3. BACKGROUND LAYER
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.wa-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

/* Dot grid */
.wa-hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--wah-dot-color) 1px, transparent 1px);
    background-size: 28px 28px;
    transition: background-image 0.4s ease;
}

/* Top gradient line */
.wa-hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 5%;
    right: 5%;
    height: 1px;
    background: var(--wah-line);
}

.wa-blob-green {
    position: absolute;
    width: 700px;
    height: 700px;
    right: -120px;
    top: 50%;
    transform: translateY(-50%);
    background: radial-gradient(circle, var(--wah-blob-green) 0%, transparent 65%);
    filter: blur(70px);
    pointer-events: none;
    transition: background 0.4s ease;
}

.wa-blob-indigo {
    position: absolute;
    width: 500px;
    height: 500px;
    left: -80px;
    top: 25%;
    background: radial-gradient(circle, var(--wah-blob-indigo) 0%, transparent 65%);
    filter: blur(70px);
    pointer-events: none;
    transition: background 0.4s ease;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   4. MAIN LAYOUT GRID
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.wa-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 45fr auto 55fr;
    align-items: center;
    gap: 0;
    width: 100%;
    min-height: calc(100vh - 170px);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   5. VERTICAL SEPARATOR
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.wa-separator {
    width: 1px;
    height: 60vh;
    background: var(--wah-separator);
    align-self: center;
    justify-self: center;
    margin: 0 0.5rem;
    flex-shrink: 0;
    transition: background 0.4s ease;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   6. LEFT COLUMN
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.wa-left {
    padding-right: 3.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* â”€â”€ Badge Row â”€â”€ */
.wa-badge-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
}

.wa-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.42rem 0.9rem;
    border-radius: 100px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.3px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
    transition: background 0.4s ease, border-color 0.4s ease, color 0.4s ease;
}

.wa-badge--green {
    background: var(--wah-badge-g-bg);
    border: 1px solid var(--wah-badge-g-bd);
    color: var(--wah-badge-g-tx);
}

.wa-badge--indigo {
    background: var(--wah-badge-i-bg);
    border: 1px solid var(--wah-badge-i-bd);
    color: var(--wah-badge-i-tx);
}

.wa-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--wah-badge-g-tx);
    animation: wa-badge-pulse 2.2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes wa-badge-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(1.4); }
}

/* â”€â”€ Headline â”€â”€ */
.wa-headline {
    font-family: 'Outfit', sans-serif;
    font-size: 4.1rem;
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -2.5px;
    color: var(--wah-headline);
    margin-bottom: 1.4rem;
    transition: color 0.4s ease;
}

.wa-headline--muted {
    font-weight: 400;
    color: var(--wah-muted);
    letter-spacing: -1.5px;
    transition: color 0.4s ease;
}

.wa-headline--gradient {
    font-weight: 900;
    color: #6366f1;
    display: inline-block;
}

/* â”€â”€ Subheadline â”€â”€ */
.wa-subheadline {
    font-family: 'Inter', sans-serif;
    font-size: 16.5px;
    color: var(--wah-sub);
    line-height: 1.72;
    max-width: 440px;
    margin-bottom: 2rem;
    transition: color 0.4s ease;
}

/* Highlighted brand keywords inside subheadline */
.wa-subheadline strong {
    font-weight: 700;
    color: var(--wah-headline);
    transition: color 0.4s ease;
}

/* â”€â”€ Feature Pills Grid â”€â”€ */
.wa-pills-grid {
    display: grid;
    grid-template-columns: repeat(4, auto);
    gap: 7px;
    margin-bottom: 2.25rem;
}

.wa-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.45rem 0.7rem;
    background: var(--wah-pill-bg);
    border: 1px solid var(--wah-pill-bd);
    border-radius: 9px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: var(--wah-pill-tx);
    transition: all 0.22s ease;
    cursor: default;
    white-space: nowrap;
}

.wa-pill:hover {
    background: var(--wah-pill-h-bg);
    border-color: var(--wah-pill-h-bd);
    color: var(--wah-pill-h-tx);
    transform: translateY(-2px);
}

.wa-pill-icon {
    font-size: 14px;
    flex-shrink: 0;
    line-height: 1;
}

/* â”€â”€ CTA Buttons â”€â”€ */
.wa-cta-row {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1.4rem;
    flex-wrap: wrap;
}

.wa-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.85rem 1.6rem;
    border-radius: 11px;
    font-family: 'Inter', sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    color: white;
    text-decoration: none;
    background: #6366f1;
    box-shadow: 0 6px 22px rgba(99, 102, 241, 0.3);
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
}

.wa-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
    color: white;
    text-decoration: none;
}

.wa-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.82rem 1.55rem;
    border-radius: 11px;
    font-family: 'Inter', sans-serif;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    background: transparent;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    /* Theme-aware ghost button */
    color: var(--wah-headline);
    border: 1.5px solid var(--wah-separator);
}

.wa-btn-ghost:hover {
    border-color: rgba(37, 211, 102, 0.4);
    color: var(--wah-headline);
    background: var(--wah-pill-bg);
    transform: translateY(-2px);
    text-decoration: none;
}

/* â”€â”€ Trust Line â”€â”€ */
.wa-trust-line {
    font-family: 'Inter', sans-serif;
    font-size: 12.5px;
    color: var(--wah-trust);
    font-weight: 500;
    letter-spacing: 0.2px;
    line-height: 1.5;
    transition: color 0.4s ease;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   7. RIGHT COLUMN
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.wa-right {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 2rem;
    min-height: 640px;
}

/* â”€â”€ Phone Glow â”€â”€ */
.wa-phone-glow {
    position: absolute;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, var(--wah-phone-glow) 0%, transparent 65%);
    filter: blur(55px);
    z-index: 0;
    animation: wa-glow-pulse 4.5s ease-in-out infinite;
    pointer-events: none;
    transition: background 0.4s ease;
}

@keyframes wa-glow-pulse {
    0%, 100% { opacity: 0.65; transform: scale(1); }
    50%       { opacity: 1;    transform: scale(1.1); }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   8. PHONE FRAME
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.wa-phone {
    position: relative;
    z-index: 2;
    width: 295px;
    height: 615px;
    background: var(--wah-phone-bezel);
    border-radius: 48px;
    padding: 10px;
    border: 2px solid var(--wah-phone-bd);
    box-shadow: var(--wah-phone-sh);
    transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

/* Notch bar */
.wa-phone::before {
    content: '';
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 75px;
    height: 5px;
    background: var(--wah-phone-notch);
    border-radius: 3px;
    z-index: 10;
    transition: background 0.4s ease;
}

.wa-phone-inner {
    width: 100%;
    height: 100%;
    background: var(--wah-status-bg);
    border-radius: 40px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: background 0.4s ease;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   9. WHATSAPP STATUS BAR
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.wa-status-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 18px 4px;
    background: var(--wah-status-bg);
    flex-shrink: 0;
    transition: background 0.4s ease;
}

.wa-status-time {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--wah-status-tx);
    font-family: -apple-system, 'SF Pro Display', sans-serif;
    letter-spacing: -0.3px;
    transition: color 0.4s ease;
}

.wa-status-icons {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--wah-status-tx);
    font-size: 10px;
    transition: color 0.4s ease;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   10. WHATSAPP CHAT HEADER
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.wa-chat-header {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 12px 10px;
    background: var(--wah-header-bg);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    flex-shrink: 0;
    transition: background 0.4s ease;
}

.wa-back-btn {
    color: var(--wah-back);
    font-size: 13px;
    flex-shrink: 0;
    transition: color 0.4s ease;
}

.wa-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--wah-status-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
    letter-spacing: -0.5px;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.4);
    overflow: hidden; /* Ensure image stays inside the circle */
}

/* Image styles for the avatar */
.wa-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

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

.wa-chat-name {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--wah-header-tx);
    font-family: -apple-system, sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.4s ease;
}

.wa-chat-status {
    display: block;
    font-size: 10.5px;
    color: var(--wah-header-sub);
    margin-top: 1px;
    font-family: -apple-system, sans-serif;
    transition: color 0.4s ease;
}

.wa-chat-actions {
    display: flex;
    gap: 14px;
    color: var(--wah-header-ico);
    font-size: 14px;
    flex-shrink: 0;
    transition: color 0.4s ease;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   11. CHAT BODY
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.wa-chat-body {
    flex: 1;
    overflow: hidden;
    padding: 10px 9px 12px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    background-color: var(--wah-chat-bg);
    background-image: radial-gradient(var(--wah-chat-dot) 1px, transparent 1px);
    background-size: 20px 20px;
    position: relative;
    transition: background-color 0.4s ease, background-image 0.4s ease;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   12. MESSAGE BUBBLES
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.wa-msg {
    display: flex;
    flex-direction: column;
    max-width: 86%;
    animation: wa-msg-appear 0.45s cubic-bezier(0.2, 1, 0.3, 1) both;
    opacity: 0;
    position: relative;
    z-index: 2;
}

@keyframes wa-msg-appear {
    from { opacity: 0; transform: translateY(10px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Staggered delays */
.wa-msg:nth-child(1) { animation-delay: 0.4s; }
.wa-msg:nth-child(2) { animation-delay: 0.85s; }
.wa-msg:nth-child(3) { animation-delay: 1.3s; }
.wa-msg:nth-child(4) { animation-delay: 1.75s; }
.wa-msg:nth-child(5) { animation-delay: 2.2s; }
.wa-msg:nth-child(6) { animation-delay: 2.65s; }
/* child(7) = typing indicator â€” handled separately below */
.wa-msg:nth-child(8) { animation-delay: 3.75s; }

.wa-msg--bot  { align-self: flex-start; }
.wa-msg--user { align-self: flex-end; }

.wa-bubble {
    padding: 7px 10px;
    font-family: -apple-system, 'Helvetica Neue', sans-serif;
    font-size: 12px;
    line-height: 1.5;
    position: relative;
    transition: background 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
}

.wa-bubble--bot {
    background: var(--wah-bot-bg);
    color: var(--wah-bot-tx);
    border-radius: var(--wah-bot-r);
    box-shadow: var(--wah-bot-sh);
}

.wa-bubble--user {
    background: var(--wah-user-bg);
    color: var(--wah-user-tx);
    border-radius: var(--wah-user-r);
    box-shadow: var(--wah-user-sh);
}

.wa-bubble--success {
    background: var(--wah-bot-bg);
    color: var(--wah-bot-tx);
    border-left: 3px solid var(--wah-success-bd);
    border-radius: var(--wah-success-r);
    box-shadow: var(--wah-bot-sh);
}

.wa-bubble-time {
    font-size: 9.5px;
    color: var(--wah-time-tx);
    margin-top: 2px;
    padding: 0 2px;
    font-family: -apple-system, sans-serif;
    transition: color 0.4s ease;
}

.wa-bubble-time--right {
    text-align: right;
    color: var(--wah-time-user-tx);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   13. QUICK-REPLY BUTTONS
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.wa-quick-replies {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 8px;
}

.wa-quick-btn {
    display: block;
    padding: 5px 10px;
    border: 1px solid var(--wah-qr-bd);
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--wah-qr-tx);
    text-align: center;
    cursor: pointer;
    background: var(--wah-qr-bg);
    font-family: -apple-system, sans-serif;
    transition: background 0.2s ease, border-color 0.4s ease, color 0.4s ease;
}

.wa-quick-replies--row {
    flex-direction: row;
    gap: 5px;
}

.wa-quick-replies--row .wa-quick-btn { flex: 1; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   14. SELFIE BUBBLE
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•/* Selfie Bubble Styling */
.wa-selfie-bubble {
    width: 120px;
    height: 120px;
    background: rgba(0,0,0,0.2);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.wa-selfie-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Green laser scan effect on selfie */
.wa-selfie-bubble::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(37,211,102,0.7), transparent);
    animation: wa-scan-beam 2.5s ease-in-out infinite;
    animation-delay: 3.75s;
    opacity: 0;
}

@keyframes wa-scan-beam {
    0%   { top: 10%; opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { top: 85%; opacity: 0; }
}

.wa-selfie-label {
    font-size: 9px;
    color: var(--wah-selfie-label);
    margin-top: 5px;
    font-family: -apple-system, sans-serif;
    transition: color 0.4s ease;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   15. SUCCESS MESSAGE
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.wa-success-title {
    color: var(--wah-succ-tx);
    font-weight: 700;
    font-size: 12.5px;
    margin-bottom: 5px;
    font-family: -apple-system, sans-serif;
    transition: color 0.4s ease;
}

.wa-success-row {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: var(--wah-succ-row);
    margin: 2px 0;
    font-family: -apple-system, sans-serif;
    transition: color 0.4s ease;
}

.wa-success-footer {
    margin-top: 6px;
    padding-top: 5px;
    border-top: 1px solid var(--wah-succ-div);
    font-size: 10px;
    color: var(--wah-succ-foot);
    font-style: italic;
    font-family: -apple-system, sans-serif;
    transition: color 0.4s ease, border-color 0.4s ease;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   16. TYPING INDICATOR (NEW SUGGESTION)
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.wa-typing-ind {
    animation:
        wa-msg-appear    0.35s cubic-bezier(0.2,1,0.3,1) 3.1s both,
        wa-typing-vanish 0.35s ease-in                   3.55s forwards !important;
}

@keyframes wa-typing-vanish {
    0%   { opacity: 1; max-height: 60px; margin: 0; }
    100% { opacity: 0; max-height: 0;    margin: 0; padding: 0; overflow: hidden; }
}

.wa-typing-bubble {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 14px;
    background: var(--wah-typing-bg);
    border-radius: 0px 8px 8px 8px;
    box-shadow: var(--wah-bot-sh);
    transition: background 0.4s ease;
}

.wa-t-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--wah-typing-dot);
    animation: wa-typing-bounce 1.4s ease-in-out infinite;
    transition: background 0.4s ease;
}

.wa-t-dot:nth-child(2) { animation-delay: 0.2s; }
.wa-t-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes wa-typing-bounce {
    0%, 100% { transform: translateY(0);  opacity: 0.4; }
    50%       { transform: translateY(-4px); opacity: 1; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   17. FLOATING CARDS
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.wa-float {
    position: absolute;
    background: var(--wah-float-bg);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--wah-float-bd);
    border-radius: 13px;
    padding: 9px 14px;
    font-family: 'Inter', sans-serif;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--wah-float-tx);
    z-index: 5;
    box-shadow: var(--wah-float-sh);
    white-space: nowrap;
    pointer-events: none;
    transition: background 0.4s ease, border-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
}

.wa-float--summary {
    top: 6%;
    left: -5px;
    animation: wa-float-1 6.5s ease-in-out infinite;
}

.wa-float--notif {
    top: 4%;
    right: 4%;
    background: var(--wah-notif-bg);
    border-color: var(--wah-notif-bd);
    color: var(--wah-notif-tx);
    font-size: 11px;
    padding: 7px 12px;
    border-radius: 100px;
    animation: wa-float-2 5.5s ease-in-out infinite;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   18. ORBIT BADGES
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.wa-orbit {
    position: absolute;
    background: var(--wah-orbit-bg);
    border: 1px solid var(--wah-orbit-bd);
    border-radius: 100px;
    padding: 5px 12px;
    font-family: 'Inter', sans-serif;
    font-size: 10.5px;
    font-weight: 600;
    color: var(--wah-orbit-tx);
    z-index: 3;
    white-space: nowrap;
    pointer-events: none;
    transition: background 0.4s ease, border-color 0.4s ease, color 0.4s ease;
}

.wa-orbit--lang {
    bottom: 22%;
    left: -15px;
    animation: wa-float-1 8s ease-in-out infinite;
    animation-delay: 1.2s;
}

.wa-orbit--sync {
    bottom: 10%;
    right: 2%;
    animation: wa-float-2 9s ease-in-out infinite;
    animation-delay: 0.6s;
}

.wa-orbit--secure {
    bottom: 34%;
    right: -8px;
    animation: wa-float-1 7s ease-in-out infinite;
    animation-delay: 2.2s;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   19. ANIMATIONS
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
@keyframes wa-float-1 {
    0%, 100% { transform: translateY(0) rotate(-0.5deg); }
    50%       { transform: translateY(-10px) rotate(0.5deg); }
}

@keyframes wa-float-2 {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(8px); }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   20. RESPONSIVE â€” TABLET (â‰¤1200px)
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
@media (max-width: 1200px) {
    .wa-headline        { font-size: 3.5rem; }
    .wa-headline--muted { font-size: 3.5rem; }
    .wa-left            { padding-right: 2.5rem; }
    .wa-subheadline     { font-size: 15.5px; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   21. RESPONSIVE â€” MOBILE BREAKPOINT (â‰¤992px)
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
@media (max-width: 992px) {

    .wa-hero {
        padding-top: 90px;
        padding-bottom: 50px;
        align-items: flex-start;
        
        /* The hero is taller than 100vh on mobile. 
           We use bottom: 0 so it scrolls up normally until the phone 
           at the bottom comes into full view, THEN it sticks! */
        top: auto;
        bottom: 0;
    }

    .wa-hero-inner {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        min-height: unset;
        gap: 2.5rem;
    }

    .wa-separator { display: none; }

    /* â”€â”€ Left: center everything â”€â”€ */
    .wa-left {
        padding-right: 0;
        align-items: center;
        text-align: center;
    }

    .wa-badge-row     { justify-content: center; }

    .wa-headline {
        font-size: 3.2rem;
        text-align: center;
    }

    .wa-subheadline {
        text-align: center;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .wa-pills-grid {
        grid-template-columns: repeat(4, auto);
        justify-content: center;
    }

    .wa-cta-row   { justify-content: center; }
    .wa-trust-line { text-align: center; }

    /* â”€â”€ Right: center phone â”€â”€ */
    .wa-right {
        padding-left: 0;
        min-height: unset;
        justify-content: center;
    }

    .wa-float--summary { left: 0; right: auto; }
}


/* =====================================================================
   MOBILE HERO — Clean Stacked Layout (<=768px)
   Text at the top, phone in the middle, natural sticky scroll preserved
   ===================================================================== */
@media (max-width: 768px) {
    /* 1. Preserve Sticky Scroll for Animation */
    .wa-hero-outer {
        height: 250vh; /* Needed for JS scroll animation */
    }

    .wa-hero {
        position: sticky;
        top: 0;
        min-height: 100vh;
        padding-top: 85px; /* Account for navbar */
        padding-bottom: 20px;
        align-items: stretch;
        display: block;
    }

    /* Grid becomes a flex column */
    .wa-hero-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 1rem;
        min-height: calc(100vh - 100px);
    }

    .wa-separator { display: none; }

    /* ── BOTTOM: Text Content (Now shown second) ── */
    .wa-left {
        order: 2;
        width: 100%;
        padding: 0 0 1.5rem 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .wa-badge-row { 
        justify-content: center;
        margin-bottom: 1rem;
    }

    /* Fixed typography */
    .wa-headline {
        font-size: 2.3rem;
        letter-spacing: -1px;
        line-height: 1.1;
        margin-bottom: 0.75rem;
    }

    .wa-headline--muted { font-size: 2.3rem; }

    .wa-subheadline {
        font-size: 14px;
        max-width: 320px;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }

    /* Pills - hide the grid and use wrap */
    .wa-pills-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
        margin-bottom: 1.5rem;
    }

    .wa-pill {
        font-size: 11px;
        padding: 0.35rem 0.6rem;
    }

    /* CTAs inline, not pinned */
    .wa-cta-row {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
        gap: 0.75rem;
        margin-bottom: 1rem;
    }

    .wa-btn-primary, .wa-btn-ghost {
        width: 100%;
        justify-content: center;
        padding: 0.8rem;
        font-size: 14px;
    }

    .wa-trust-line {
        font-size: 11px;
    }

    /* ── TOP: Phone Mockup (Now shown first) ── */
    .wa-right {
        order: 1;
        width: 100%;
        display: flex;
        justify-content: center;
        padding-bottom: 2rem;
        min-height: 400px;
    }

    .wa-phone {
        width: 240px;
        height: 500px;
        border-radius: 40px;
        margin: 0;
        position: relative;
        z-index: 2;
    }

    .wa-phone-inner { border-radius: 32px; }

    /* Hide floats on mobile to prevent overlap & clutter */
    .wa-float--summary { display: none !important; }
    .wa-float--notif { display: none !important; }
    .wa-orbit { display: none; }
    
    .wa-phone-glow { 
        width: 280px; 
        height: 280px; 
        top: 50%;
        transform: translateY(-50%);
    }
}

/* ── 480px ── */
@media (max-width: 480px) {
    .wa-headline { font-size: 2rem; }
    .wa-headline--muted { font-size: 2rem; }
    
    .wa-phone {
        width: 220px;
        height: 460px;
        border-radius: 36px;
    }
    .wa-phone-inner { border-radius: 28px; }
    .wa-bubble { font-size: 11px; }
}

/* ── 360px ── */
@media (max-width: 360px) {
    .wa-headline { font-size: 1.8rem; }
    .wa-headline--muted { font-size: 1.8rem; }
    
    .wa-phone {
        width: 200px;
        height: 420px;
        border-radius: 32px;
    }
    .wa-phone-inner { border-radius: 24px; }
}
