.wp-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.45s ease;
}
.wp-overlay.wp-visible {
    display: flex;
    opacity: 1;
}
.wp-backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 90% 70% at 15% 20%, rgba(147, 197, 253, 0.35), transparent 55%),
        radial-gradient(ellipse 80% 60% at 85% 80%, rgba(253, 230, 138, 0.4), transparent 50%),
        linear-gradient(160deg, rgba(255, 252, 245, 0.97) 0%, rgba(248, 250, 252, 0.96) 45%, rgba(241, 245, 249, 0.97) 100%);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}
.wp-poster {
    position: relative;
    z-index: 2;
    pointer-events: auto;
    width: min(920px, 100%);
    max-height: min(92vh, 720px);
    overflow: hidden auto;
    border-radius: 28px;
    padding: clamp(20px, 4vw, 36px);
    background:
        linear-gradient(155deg, #ffffff 0%, #fffdf8 38%, #f8fafc 100%);
    border: 1px solid rgba(212, 175, 55, 0.28);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.9) inset,
        0 4px 6px rgba(15, 23, 42, 0.04),
        0 24px 60px rgba(15, 23, 42, 0.12),
        0 0 80px rgba(212, 175, 55, 0.1);
    animation: wpPosterIn 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes wpPosterIn {
    from { opacity: 0; transform: translateY(28px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.wp-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    opacity: 0.35;
}
.wp-glow-left { top: -100px; left: -80px; background: #93c5fd; }
.wp-glow-right { bottom: -100px; right: -60px; background: #fcd34d; }
.wp-shine {
    position: absolute;
    top: 0;
    left: -120%;
    width: 55%;
    height: 100%;
    background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.75) 50%, transparent 62%);
    animation: wpShine 5s ease-in-out infinite;
    pointer-events: none;
}
@keyframes wpShine {
    0%, 100% { left: -120%; }
    50% { left: 140%; }
}
.wp-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 5;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.85);
    color: #64748b;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}
.wp-close:hover {
    background: #fffbeb;
    color: #b45309;
    border-color: rgba(212, 175, 55, 0.45);
}
.wp-header {
    text-align: center;
    margin-bottom: clamp(18px, 3vw, 28px);
    position: relative;
    z-index: 2;
}
.wp-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: clamp(14px, 2.5vw, 22px);
}
.wp-brand-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #fff;
    background: linear-gradient(135deg, #d97706 0%, #b45309 50%, #92400e 100%);
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow:
        0 8px 24px rgba(180, 83, 9, 0.28),
        0 0 0 1px rgba(212, 175, 55, 0.2) inset;
}
.wp-brand-logo {
    max-height: 48px;
    max-width: 180px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(15, 23, 42, 0.12));
}
.wp-brand-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
}
.wp-brand-line {
    display: block;
    height: 1px;
    width: min(280px, 72%);
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.55), transparent);
}
.wp-brand-line-bottom {
    width: min(200px, 55%);
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.35), transparent);
}
.wp-brand-name {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 0.28em 0.38em;
    font-family: var(--font-display, 'Georgia', 'Segoe UI', serif);
    font-size: clamp(1.55rem, 4.2vw, 2.35rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}
.wp-brand-word {
    display: inline-block;
    position: relative;
}
.wp-brand-word-gold {
    background: linear-gradient(135deg, #b45309 0%, #f59e0b 40%, #d97706 70%, #92400e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.5));
}
.wp-brand-word-core {
    color: #0f172a;
    font-weight: 900;
    letter-spacing: -0.04em;
    position: relative;
}
.wp-brand-word-core::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    opacity: 0.35;
}
.wp-brand-tagline {
    font-size: clamp(0.68rem, 1.6vw, 0.82rem);
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #64748b;
    padding: 0 8px;
}
.wp-features {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 6px;
}
.wp-feature {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: clamp(0.68rem, 1.6vw, 0.8rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.2;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.wp-feature:hover {
    transform: translateY(-2px);
}
.wp-feature i {
    font-size: 0.95em;
}
.wp-feature-free {
    color: #166534;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 1px solid rgba(34, 197, 94, 0.4);
    text-transform: uppercase;
}
.wp-feature-free i { color: #16a34a; }
.wp-feature-ai {
    color: #1e3a8a;
    background: linear-gradient(135deg, #eff6ff 0%, #e0e7ff 55%, #f5f3ff 100%);
    border: 1px solid rgba(99, 102, 241, 0.35);
}
.wp-feature-ai i { color: #6366f1; }
.wp-headline {
    margin: 0 0 8px;
    font-family: var(--font-display, 'Segoe UI', system-ui, sans-serif);
    font-size: clamp(1.45rem, 3.5vw, 2.15rem);
    font-weight: 800;
    line-height: 1.15;
    background: linear-gradient(135deg, #1e293b 0%, #b45309 42%, #1e293b 85%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
}
.wp-subheadline {
    margin: 0;
    color: #64748b;
    font-size: clamp(0.85rem, 2vw, 1rem);
    font-weight: 500;
}
.wp-close-hidden {
    display: none !important;
}
.wp-select-hint {
    margin: 0 0 clamp(10px, 2vw, 14px);
    text-align: center;
    font-size: clamp(0.72rem, 1.6vw, 0.85rem);
    font-weight: 700;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
    animation: wpHintPulse 2.5s ease-in-out infinite;
}
.wp-select-hint i {
    color: #b45309;
}
@keyframes wpHintPulse {
    0%, 100% { opacity: 0.85; }
    50% { opacity: 1; color: #475569; }
}
.wp-ai-suggest {
    margin-bottom: clamp(10px, 2vw, 14px);
    position: relative;
    z-index: 3;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}
.wp-ai-suggest.wp-ai-suggest-visible {
    opacity: 1;
    transform: translateY(0);
}
.wp-ai-suggest-inner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: clamp(12px, 2vw, 16px) clamp(14px, 2.5vw, 18px);
    border-radius: 16px;
    background: linear-gradient(135deg, #f5f3ff 0%, #eff6ff 50%, #ecfdf5 100%);
    border: 1px solid rgba(99, 102, 241, 0.28);
    box-shadow: 0 8px 28px rgba(99, 102, 241, 0.12);
}
.wp-ai-avatar {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}
.wp-ai-copy {
    flex: 1;
    min-width: 0;
    text-align: left;
}
.wp-ai-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #4f46e5;
    margin-bottom: 4px;
}
.wp-ai-text {
    margin: 0;
    font-size: clamp(0.78rem, 1.7vw, 0.9rem);
    line-height: 1.45;
    color: #334155;
    font-weight: 500;
}
.wp-ai-text strong {
    color: #0f172a;
    font-weight: 800;
}
.wp-card-ai-hint {
    border-color: rgba(99, 102, 241, 0.45) !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15), 0 12px 32px rgba(15, 23, 42, 0.1) !important;
}
.wp-card-ai-pulse {
    animation: wpCardAiPulse 1.4s ease-in-out infinite;
}
@keyframes wpCardAiPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12), 0 12px 32px rgba(15, 23, 42, 0.1); }
    50% { transform: scale(1.02); box-shadow: 0 0 0 5px rgba(99, 102, 241, 0.22), 0 16px 40px rgba(99, 102, 241, 0.15); }
}
body.wp-poster-locked {
    overflow: hidden !important;
    touch-action: none;
}
body.wp-poster-locked #welcomePosterOverlay {
    touch-action: auto;
}
.wp-split {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: clamp(10px, 2vw, 18px);
    align-items: stretch;
    position: relative;
    z-index: 2;
}
.wp-divider {
    display: flex;
    align-items: center;
    justify-content: center;
}
.wp-divider span {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #94a3b8;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}
.wp-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    padding: clamp(16px, 3vw, 24px) clamp(12px, 2vw, 18px);
    border-radius: 22px;
    text-decoration: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    border: 1px solid rgba(15, 23, 42, 0.06);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}
.wp-card:focus-visible {
    outline: 3px solid rgba(99, 102, 241, 0.55);
    outline-offset: 3px;
}
.wp-card::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}
.wp-card-seeker::before {
    background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.12), transparent 65%);
}
.wp-card-hr::before {
    background: radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.14), transparent 65%);
}
.wp-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
}
.wp-card:hover::before { opacity: 1; }
.wp-card-seeker:hover {
    border-color: rgba(59, 130, 246, 0.35);
    background: linear-gradient(180deg, #ffffff, #f0f9ff);
}
.wp-card-hr:hover {
    border-color: rgba(212, 175, 55, 0.45);
    background: linear-gradient(180deg, #ffffff, #fffbeb);
}
.wp-photo-ring {
    position: relative;
    margin-bottom: 16px;
}
.wp-photo {
    width: clamp(120px, 22vw, 168px);
    height: clamp(120px, 22vw, 168px);
    border-radius: 50%;
    overflow: hidden;
    padding: 4px;
    background: linear-gradient(135deg, #fff, #f1f5f9);
    box-shadow:
        0 12px 32px rgba(15, 23, 42, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset;
}
.wp-card-seeker .wp-photo {
    background: linear-gradient(135deg, #93c5fd, #3b82f6, #dbeafe);
}
.wp-card-hr .wp-photo {
    background: linear-gradient(135deg, #fcd34d, #d97706, #fef3c7);
}
.wp-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}
.wp-photo-badge {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: #fff;
    border: 3px solid #fff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
}
.wp-card-seeker .wp-photo-badge { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.wp-card-hr .wp-photo-badge { background: linear-gradient(135deg, #f59e0b, #b45309); }
.wp-card-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}
.wp-promise {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    align-self: center;
    margin-bottom: 4px;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: clamp(0.72rem, 1.8vw, 0.88rem);
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}
.wp-promise i {
    font-size: 0.85em;
}
.wp-promise-seeker {
    color: #1d4ed8;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid rgba(59, 130, 246, 0.35);
}
.wp-promise-seeker i { color: #2563eb; }
.wp-promise-hr {
    color: #92400e;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid rgba(212, 175, 55, 0.4);
}
.wp-promise-hr i { color: #d97706; }
.wp-role-en {
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #1e293b;
}
.wp-role-hi {
    font-size: clamp(1.05rem, 2.4vw, 1.35rem);
    font-weight: 700;
    line-height: 1.3;
    background: linear-gradient(135deg, #b45309, #d97706, #92400e);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.wp-cta {
    margin-top: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #94a3b8;
    transition: color 0.25s ease;
}
.wp-card-seeker:hover .wp-cta { color: #2563eb; }
.wp-card-hr:hover .wp-cta { color: #b45309; }
.wp-footer {
    margin-top: clamp(16px, 3vw, 24px);
    position: relative;
    z-index: 2;
}
.wp-app-link {
    margin: 0 0 12px;
    text-align: center;
    font-size: 0.78rem;
    color: #64748b;
}
.wp-app-link a {
    color: #2563eb;
    font-weight: 700;
    text-decoration: none;
}
.wp-app-link a:hover {
    text-decoration: underline;
}
.wp-direct-call {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 16px;
    padding: clamp(14px, 2.5vw, 18px) clamp(16px, 3vw, 24px);
    border-radius: 18px;
    background: linear-gradient(135deg, #fff 0%, #fffdf5 45%, #f0fdf4 100%);
    border: 1px solid rgba(212, 175, 55, 0.32);
    box-shadow:
        0 8px 28px rgba(15, 23, 42, 0.07),
        0 0 0 1px rgba(255, 255, 255, 0.9) inset;
    position: relative;
    overflow: hidden;
}
.wp-direct-call-ring {
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(34, 197, 94, 0.2), rgba(212, 175, 55, 0.25));
    opacity: 0.55;
    pointer-events: none;
    z-index: 0;
}
.wp-direct-call-icon,
.wp-direct-call-text,
.wp-direct-call-badge {
    position: relative;
    z-index: 1;
}
.wp-direct-call-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: #fff;
    background: linear-gradient(135deg, #16a34a 0%, #15803d 50%, #166534 100%);
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.35);
    flex-shrink: 0;
    animation: wpPhonePulse 2.2s ease-in-out infinite;
}
@keyframes wpPhonePulse {
    0%, 100% { box-shadow: 0 6px 20px rgba(22, 163, 74, 0.35); transform: scale(1); }
    50% { box-shadow: 0 8px 28px rgba(22, 163, 74, 0.5); transform: scale(1.04); }
}
.wp-direct-call-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    flex: 1;
    min-width: 180px;
}
.wp-direct-call-label {
    font-size: clamp(1rem, 2.4vw, 1.2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #0f172a 0%, #15803d 55%, #b45309 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.2;
}
.wp-direct-call-sub {
    font-size: clamp(0.72rem, 1.6vw, 0.82rem);
    color: #64748b;
    font-weight: 500;
    margin-top: 3px;
    line-height: 1.35;
}
.wp-direct-call-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #166534;
    background: #dcfce7;
    border: 1px solid rgba(34, 197, 94, 0.35);
    flex-shrink: 0;
}
.wp-direct-call-badge i { color: #16a34a; }

@media (max-width: 520px) {
    .wp-direct-call {
        flex-direction: column;
        text-align: center;
    }
    .wp-direct-call-text {
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 700px) {
    .wp-split {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .wp-divider { display: none; }
    .wp-poster {
        border-radius: 20px;
        max-height: min(94vh, 780px);
        padding: 16px 14px;
    }
    .wp-overlay {
        padding: 10px;
        align-items: flex-start;
        padding-top: max(10px, env(safe-area-inset-top));
    }
    .wp-features {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    .wp-feature {
        justify-content: center;
    }
    .wp-select-hint {
        font-size: 0.78rem;
        padding: 0 4px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .wp-poster, .wp-shine { animation: none; }
    .wp-card { transition: none; }
    .wp-direct-call-icon { animation: none; }
}