/* ============================================================
   JOIN US — REVAMP STYLES
   Two audiences: Fintech Experts + Clients.
   AI Aurora palette (navy + cyan/violet/magenta/amber/mint).
   ============================================================ */

/* ============================================================
   1. ANIMATED HERO
   ============================================================ */
body.joinus-page-body .service-hero {
    background:
        radial-gradient(ellipse at 15% 30%, rgba(80, 150, 255, 0.35) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 70%, rgba(167, 139, 255, 0.30) 0%, transparent 55%),
        radial-gradient(ellipse at 50% 100%, rgba(79, 255, 176, 0.18) 0%, transparent 60%),
        linear-gradient(180deg, #050a20 0%, #0a1530 50%, #060d24 100%);
    overflow: hidden;
}
body.joinus-page-body .service-hero .service-hero-bg img { display: none !important; }
body.joinus-page-body .service-hero .service-hero-overlay { background: transparent !important; }

.join-hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.join-hero-orbit {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}
.join-hero-orbit__ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px dashed rgba(120, 200, 255, 0.18);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: joinRingSpin 60s linear infinite;
}
.join-hero-orbit__ring--1 { width: 700px; height: 700px; }
.join-hero-orbit__ring--2 { width: 1000px; height: 1000px; animation-duration: 90s; animation-direction: reverse; opacity: 0.6; }
.join-hero-orbit__ring--3 { width: 1300px; height: 1300px; animation-duration: 120s; opacity: 0.4; }
@keyframes joinRingSpin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.join-hero-chips {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}
.join-hero-chip {
    position: absolute;
    padding: 8px 14px;
    background: linear-gradient(165deg, rgba(80, 150, 255, 0.18), rgba(20, 40, 90, 0.5));
    border: 1px solid rgba(120, 200, 255, 0.4);
    color: #cfe6ff;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px rgba(80, 150, 255, 0.25);
    animation: joinChipFloat 8s ease-in-out infinite;
    white-space: nowrap;
}
.join-hero-chip::before {
    content: '';
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #6cf;
    margin-right: 8px;
    box-shadow: 0 0 8px #6cf;
    vertical-align: middle;
}
.join-hero-chip:nth-child(1) { top: 14%; left: 6%; animation-delay: 0s; }
.join-hero-chip:nth-child(2) { top: 22%; right: 8%; animation-delay: -1.5s; }
.join-hero-chip:nth-child(3) { top: 65%; left: 10%; animation-delay: -3s; }
.join-hero-chip:nth-child(4) { top: 75%; right: 12%; animation-delay: -4.5s; }
.join-hero-chip:nth-child(5) { top: 38%; left: 4%; animation-delay: -6s; }
.join-hero-chip:nth-child(6) { top: 50%; right: 5%; animation-delay: -7.5s; }
.join-hero-chip:nth-child(2n)::before { background: #a78bff; box-shadow: 0 0 8px #a78bff; }
.join-hero-chip:nth-child(3n)::before { background: #ff8ad4; box-shadow: 0 0 8px #ff8ad4; }
.join-hero-chip:nth-child(5n)::before { background: #4fffb0; box-shadow: 0 0 8px #4fffb0; }
@keyframes joinChipFloat {
    0%,100% { transform: translateY(0); }
    50%     { transform: translateY(-14px); }
}

body.joinus-page-body .service-hero-content { z-index: 5; }
body.joinus-page-body .service-hero-content h1 {
    background: linear-gradient(135deg, #ffffff 0%, #6cf 35%, #a78bff 65%, #ff8ad4 100%);
    background-size: 220% 220%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: joinTitleShimmer 7s ease-in-out infinite;
}
@keyframes joinTitleShimmer {
    0%,100% { background-position: 0% 50%; }
    50%     { background-position: 100% 50%; }
}
.join-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(167, 139, 255, 0.15);
    border: 1px solid rgba(167, 139, 255, 0.4);
    color: #d4c4ff;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.join-hero-eyebrow::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #4fffb0;
    box-shadow: 0 0 10px #4fffb0;
    animation: joinPulse 1.4s ease-in-out infinite;
}
@keyframes joinPulse {
    0%,100% { opacity: 1; transform: scale(1); }
    50%     { opacity: 0.4; transform: scale(0.7); }
}

.join-hero-ctas {
    display: flex;
    gap: 12px;
    margin-top: 32px;
    flex-wrap: wrap;
    justify-content: center;
}
.join-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
}
.join-hero-cta--primary {
    background: linear-gradient(135deg, #4080ff, #7050ff, #ff8ad4);
    background-size: 200% 200%;
    color: #ffffff;
    box-shadow: 0 14px 36px rgba(120, 80, 255, 0.45);
    animation: joinCtaGradient 6s ease infinite;
}
@keyframes joinCtaGradient {
    0%,100% { background-position: 0% 50%; }
    50%     { background-position: 100% 50%; }
}
.join-hero-cta--primary:hover { transform: translateY(-3px) scale(1.02); }
.join-hero-cta--ghost {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(120, 200, 255, 0.4);
    color: #cfe6ff;
    backdrop-filter: blur(10px);
}
.join-hero-cta--ghost:hover {
    background: rgba(120, 200, 255, 0.15);
    border-color: rgba(120, 200, 255, 0.7);
}

/* ============================================================
   Section heading shared
   ============================================================ */
.join-section-head { text-align: center; margin-bottom: 50px; }
.join-section-head__badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(108, 204, 255, 0.15);
    border: 1px solid rgba(108, 204, 255, 0.4);
    color: #6cf;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.join-section-head__title {
    font-size: 2.4rem;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 14px;
    background: linear-gradient(135deg, #ffffff, #cfe6ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.join-section-head__sub {
    color: rgba(200, 220, 255, 0.7);
    font-size: 1rem;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ============================================================
   2. TWO PATHS
   ============================================================ */
.join-paths {
    padding: 90px 0;
    background: linear-gradient(180deg, #060d24 0%, #08122a 50%, #0c1a3d 100%);
    position: relative;
    overflow: hidden;
}
.join-paths::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(120, 200, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(120, 200, 255, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    pointer-events: none;
}
.join-paths__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}
.join-paths__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.join-path {
    position: relative;
    padding: 38px 32px;
    background: linear-gradient(165deg, rgba(80, 150, 255, 0.10), rgba(20, 40, 90, 0.35));
    border: 1px solid rgba(120, 200, 255, 0.22);
    border-radius: 22px;
    backdrop-filter: blur(14px);
    text-decoration: none;
    transition: all 0.35s ease;
    overflow: hidden;
    display: block;
}
.join-path::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 30%, rgba(108, 204, 255, 0.12) 100%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.join-path:hover {
    transform: translateY(-8px);
    border-color: rgba(120, 200, 255, 0.55);
    box-shadow: 0 22px 56px rgba(80, 150, 255, 0.32);
}
.join-path:hover::before { opacity: 1; }

.join-path--clients {
    background: linear-gradient(165deg, rgba(167, 139, 255, 0.10), rgba(40, 20, 80, 0.35));
    border-color: rgba(167, 139, 255, 0.25);
}
.join-path--clients::before {
    background: linear-gradient(135deg, transparent 30%, rgba(167, 139, 255, 0.12) 100%);
}
.join-path--clients:hover {
    border-color: rgba(167, 139, 255, 0.55);
    box-shadow: 0 22px 56px rgba(167, 139, 255, 0.32);
}

.join-path__icon {
    width: 64px; height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(108, 204, 255, 0.22), rgba(167, 139, 255, 0.14));
    border: 1px solid rgba(120, 200, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6cf;
    margin-bottom: 22px;
    box-shadow: 0 10px 30px rgba(80, 150, 255, 0.3);
    position: relative;
    z-index: 1;
}
.join-path__icon svg { width: 30px; height: 30px; }
.join-path--clients .join-path__icon {
    color: #ff8ad4;
    background: linear-gradient(135deg, rgba(167, 139, 255, 0.22), rgba(255, 138, 212, 0.14));
    border-color: rgba(167, 139, 255, 0.45);
    box-shadow: 0 10px 30px rgba(167, 139, 255, 0.3);
}
.join-path__tag {
    display: inline-block;
    padding: 4px 11px;
    background: rgba(108, 204, 255, 0.12);
    border: 1px solid rgba(108, 204, 255, 0.32);
    color: #6cf;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}
.join-path--clients .join-path__tag {
    background: rgba(255, 138, 212, 0.12);
    border-color: rgba(255, 138, 212, 0.32);
    color: #ff8ad4;
}
.join-path h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}
.join-path p {
    color: rgba(200, 220, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
}
.join-path__cta {
    color: #cfe6ff;
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
    transition: gap 0.2s, color 0.2s;
}
.join-path__cta .arrow { transition: transform 0.25s ease; }
.join-path:hover .join-path__cta { color: #6cf; }
.join-path:hover .join-path__cta .arrow { transform: translateX(6px); }
.join-path--clients:hover .join-path__cta { color: #ff8ad4; }

/* ============================================================
   3. WHAT WE WORK ON
   ============================================================ */
.join-focus {
    padding: 90px 0;
    background: linear-gradient(180deg, #0c1a3d 0%, #08122a 100%);
    position: relative;
    overflow: hidden;
}
.join-focus::before {
    content: '';
    position: absolute;
    top: -300px; right: -200px;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(167, 139, 255, 0.18) 0%, transparent 60%);
    pointer-events: none;
}
.join-focus__inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 1; }

.join-focus__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
}
.join-focus-card {
    padding: 28px;
    background: linear-gradient(165deg, rgba(80, 150, 255, 0.08), rgba(20, 40, 90, 0.3));
    border: 1px solid rgba(120, 200, 255, 0.18);
    border-radius: 18px;
    backdrop-filter: blur(10px);
    transition: all 0.35s ease;
}
.join-focus-card:hover {
    transform: translateY(-6px);
    border-color: rgba(120, 200, 255, 0.5);
    box-shadow: 0 18px 44px rgba(80, 150, 255, 0.3);
}
.join-focus-card__icon {
    width: 54px; height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 18px;
    background: linear-gradient(135deg, rgba(108, 204, 255, 0.18), rgba(167, 139, 255, 0.12));
    border: 1px solid rgba(120, 200, 255, 0.3);
}
.join-focus-card:nth-child(2) .join-focus-card__icon { background: linear-gradient(135deg, rgba(167, 139, 255, 0.18), rgba(255, 138, 212, 0.10)); border-color: rgba(167, 139, 255, 0.35); }
.join-focus-card:nth-child(3) .join-focus-card__icon { background: linear-gradient(135deg, rgba(255, 138, 212, 0.18), rgba(255, 200, 87, 0.08)); border-color: rgba(255, 138, 212, 0.35); }
.join-focus-card:nth-child(4) .join-focus-card__icon { background: linear-gradient(135deg, rgba(79, 255, 176, 0.15), rgba(108, 204, 255, 0.10)); border-color: rgba(79, 255, 176, 0.35); }

.join-focus-card h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.join-focus-card p {
    color: rgba(200, 220, 255, 0.7);
    font-size: 0.92rem;
    line-height: 1.55;
    margin: 0;
}

/* ============================================================
   4. SHARED VALUES
   ============================================================ */
.join-values {
    padding: 90px 0;
    background: linear-gradient(180deg, #08122a 0%, #060d24 100%);
}
.join-values__inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.join-values__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.join-value {
    padding: 28px;
    background: linear-gradient(165deg, rgba(80, 150, 255, 0.08), rgba(20, 40, 90, 0.3));
    border: 1px solid rgba(120, 200, 255, 0.18);
    border-radius: 18px;
    backdrop-filter: blur(10px);
    transition: all 0.35s ease;
}
.join-value:hover {
    transform: translateY(-6px);
    border-color: rgba(120, 200, 255, 0.5);
    box-shadow: 0 18px 44px rgba(80, 150, 255, 0.3);
}
.join-value__icon {
    width: 50px; height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, rgba(108, 204, 255, 0.18), rgba(167, 139, 255, 0.12));
    border: 1px solid rgba(120, 200, 255, 0.3);
}
.join-value:nth-child(6n+2) .join-value__icon { background: linear-gradient(135deg, rgba(167, 139, 255, 0.18), rgba(255, 138, 212, 0.10)); border-color: rgba(167, 139, 255, 0.35); }
.join-value:nth-child(6n+3) .join-value__icon { background: linear-gradient(135deg, rgba(255, 138, 212, 0.18), rgba(255, 200, 87, 0.08)); border-color: rgba(255, 138, 212, 0.35); }
.join-value:nth-child(6n+4) .join-value__icon { background: linear-gradient(135deg, rgba(79, 255, 176, 0.15), rgba(108, 204, 255, 0.10)); border-color: rgba(79, 255, 176, 0.35); }
.join-value:nth-child(6n+5) .join-value__icon { background: linear-gradient(135deg, rgba(255, 200, 87, 0.18), rgba(255, 138, 212, 0.10)); border-color: rgba(255, 200, 87, 0.4); }

.join-value h4 {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.join-value p {
    color: rgba(200, 220, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
    .join-paths__grid { grid-template-columns: 1fr; }
    .join-values__grid { grid-template-columns: repeat(2, 1fr); }
    .join-section-head__title { font-size: 2rem; }
}
@media (max-width: 600px) {
    .join-values__grid { grid-template-columns: 1fr; }
    .join-focus__grid { grid-template-columns: 1fr; }
    .join-hero-chip { display: none; }
    .join-hero-chip:nth-child(1), .join-hero-chip:nth-child(4) { display: block; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .join-hero-orbit__ring,
    .join-hero-chip,
    .join-hero-cta--primary,
    body.joinus-page-body .service-hero-content h1,
    .join-hero-eyebrow::before {
        animation: none !important;
    }
}
