/* =====================================================================
   Just Payon — Brand Design System v2.0
   Palette : Blue #0057B8 · Cyan #19C9E8 · Orange #FF5A00 · Lime #A8E600
   Neutrals: BG #F8FAFC · Card #FFFFFF · Ink #111827 · Muted #64748B · Line #E2E8F0
   Fonts   : Bricolage Grotesque (display) + Inter (body)
   ===================================================================== */

:root {
    /* ---- Just Payon core palette ---- */
    --jp-blue: #0057B8;
    --jp-blue-600: #004A9E;
    --jp-blue-700: #003C82;
    --jp-navy: #0A2B57;
    --jp-navy-2: #061E3E;
    --jp-cyan: #19C9E8;
    --jp-cyan-600: #0FB2CF;
    --jp-orange: #FF5A00;
    --jp-orange-600: #E04E00;
    --jp-lime: #A8E600;
    --jp-lime-600: #8FC400;

    --jp-blue-50: #EFF6FF;
    --jp-blue-100: #DBEAFE;
    --jp-cyan-50: #ECFBFE;
    --jp-orange-50: #FFF3EC;
    --jp-lime-50: #F6FCE3;

    --white: #ffffff;
    --ink: #111827;
    --muted: #64748B;
    --bg: #F8FAFC;
    --line: #E2E8F0;

    /* ---- Legacy aliases (older rules / inline styles keep working) ---- */
    --deep: #0A2B57;
    --dark: #061E3E;
    --teal: #0057B8;
    --teal-600: #004A9E;
    --rust: #FF5A00;
    --rust-600: #E04E00;
    --light: #CFF3FA;
    --light-50: #EFF6FF;

    /* ---- Brand tokens ---- */
    --brand-gradient: linear-gradient(100deg, #0057B8 0%, #19C9E8 100%);
    --brand-gradient-warm: linear-gradient(100deg, #FF5A00 0%, #FFB800 100%);
    --brand-success: #16A34A;
    --brand-warning: #F59E0B;
    --brand-danger: #DC2626;

    --radius: 18px;
    --radius-sm: 12px;
    --radius-lg: 26px;
    --shadow: 0 12px 32px rgba(10, 43, 87, .08);
    --shadow-lg: 0 28px 64px rgba(10, 43, 87, .14);
    --shadow-pop: 0 5px 0 rgba(10, 43, 87, .16);
    --container: 1200px;
    --header-h: 112px;

    --ff-display: 'Bricolage Grotesque', 'Poppins', system-ui, Arial, sans-serif;
    --ff-body: 'Inter', system-ui, Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box }

html { scroll-behavior: smooth }
html, body { overflow-x: hidden }

body {
    margin: 0;
    padding-top: var(--header-h);
    font-family: var(--ff-body);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

::selection { background: var(--jp-lime); color: var(--jp-navy) }

img { max-width: 100%; display: block; height: auto }

a { color: var(--jp-blue); text-decoration: none; transition: color .18s ease }
a:hover { color: var(--jp-cyan-600) }

:where(a, button, input, select, textarea):focus-visible {
    outline: 3px solid var(--jp-cyan);
    outline-offset: 2px;
    border-radius: 6px;
}

h1, h2, h3, h4 {
    font-family: var(--ff-display);
    color: var(--ink);
    line-height: 1.12;
    margin: 0 0 .5em;
    letter-spacing: -.01em;
}

h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800 }
h2 { font-size: clamp(1.7rem, 3.1vw, 2.5rem); font-weight: 800 }
h3 { font-size: 1.22rem; font-weight: 700 }
h4 { font-size: 1.02rem; font-weight: 700 }

p { margin: 0 0 1rem }
ul { margin: 0; padding: 0; list-style: none }

.container { width: min(var(--container), 92%); margin-inline: auto }

.section { padding: 84px 0 }
.section--tint {
    background:
        radial-gradient(700px 340px at 8% 0%, rgba(25, 201, 232, .10), transparent 60%),
        radial-gradient(700px 340px at 96% 100%, rgba(0, 87, 184, .08), transparent 60%),
        var(--jp-blue-50);
}
.section--deep {
    background:
        radial-gradient(760px 400px at 90% -10%, rgba(25, 201, 232, .22), transparent 60%),
        radial-gradient(600px 360px at 0% 110%, rgba(168, 230, 0, .10), transparent 55%),
        linear-gradient(135deg, var(--jp-navy) 0%, var(--jp-navy-2) 100%);
    color: #DCEBFB;
}
.section--deep h1, .section--deep h2, .section--deep h3 { color: #fff }

.text-center { text-align: center }
.mt-2 { margin-top: 1rem }
.mr-2 { margin-right: .5rem }

/* ================= Section heading ================= */
.section-head { max-width: 680px; margin: 0 auto 44px; text-align: center }
.section-head p { color: var(--muted) }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--ff-display);
    font-weight: 700;
    font-size: .86rem;
    color: var(--jp-blue);
    background: var(--white);
    border: 1.5px solid var(--jp-blue-100);
    padding: .32rem .85rem;
    border-radius: 999px;
    margin-bottom: 14px;
    box-shadow: 0 3px 10px rgba(10, 43, 87, .06);
}
.eyebrow::before {
    content: "";
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--jp-lime);
    box-shadow: 0 0 0 3px var(--jp-lime-50);
}
.section--deep .eyebrow,
.page-banner .eyebrow,
.auth-aside .eyebrow {
    background: rgba(255, 255, 255, .10);
    border-color: rgba(255, 255, 255, .22);
    color: #fff;
    box-shadow: none;
}

/* ================= Buttons ================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-family: var(--ff-display);
    font-weight: 700;
    font-size: .98rem;
    line-height: 1;
    padding: .95rem 1.6rem;
    border-radius: 14px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .18s ease, color .18s ease, border-color .18s ease;
    text-align: center;
    white-space: nowrap;
}

.btn--accent {
    background: linear-gradient(135deg, var(--jp-orange) 0%, #FF7A2E 100%);
    color: #fff;
    box-shadow: 0 10px 24px rgba(255, 90, 0, .30);
}
.btn--accent:hover {
    background: linear-gradient(135deg, var(--jp-orange-600) 0%, var(--jp-orange) 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(255, 90, 0, .38);
}
.btn--accent:active { transform: translateY(0); box-shadow: 0 6px 16px rgba(255, 90, 0, .28) }

.btn--ghost {
    background: var(--white);
    color: var(--jp-blue);
    border-color: var(--jp-blue);
    box-shadow: 0 6px 16px rgba(0, 87, 184, .10);
}
.btn--ghost:hover {
    background: var(--jp-blue);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(0, 87, 184, .24);
}

.btn--ghost-light {
    background: rgba(255, 255, 255, .06);
    color: #fff;
    border-color: rgba(255, 255, 255, .55);
}
.btn--ghost-light:hover {
    background: var(--jp-lime);
    border-color: var(--jp-lime);
    color: var(--jp-navy);
    transform: translateY(-2px);
}

.btn--lg { padding: 1.1rem 2rem; font-size: 1.05rem; border-radius: 16px }
.btn--block { width: 100%; display: flex }

/* ================= Top utility bar ================= */
.topbar {
    background: var(--jp-navy-2);
    color: #B9D2EE;
    font-size: .82rem;
    position: relative;
    z-index: 60;
}
.topbar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: .48rem 0;
}
.topbar__contact { display: flex; gap: 1.2rem }
.topbar a { color: #DCEBFB; font-weight: 500 }
.topbar a:hover { color: var(--jp-lime) }
.topbar__meta span { color: #8FB2DA }
.topbar__meta { display: flex; align-items: center; gap: .5rem }

/* ================= Header ================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 50;
    padding: 14px 0;
    background: transparent;
    pointer-events: none;
}
.site-header__inner {
    pointer-events: auto;
    width: min(1320px, 97%);
    height: 84px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    background: rgba(255, 255, 255, .90);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0 .8rem 0 1.7rem;
    box-shadow: 0 12px 32px rgba(10, 43, 87, .10);
    transition: box-shadow .25s ease, background .25s ease, width .3s ease, border-radius .3s ease, border-color .25s ease;
}
.site-header { transition: padding .3s ease }
.site-header.scrolled { padding: 0 }
.site-header.scrolled .site-header__inner {
    width: 100%;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 14px 38px rgba(10, 43, 87, .15);
}
.brand { display: inline-flex; align-items: center }
.brand img { height: 96px; width: auto }

/* --- Nav --- */
.primary-nav { display: flex; align-items: center }
.nav-list { display: flex; align-items: center; gap: 1.7rem }
.nav-list > li { position: relative }
.nav-list > li:not(.nav-auth) > a {
    position: relative;
    display: inline-flex;
    align-items: center;
    font-family: var(--ff-display);
    font-weight: 600;
    font-size: .97rem;
    color: var(--ink);
    padding: .35rem 0;
    transition: color .18s ease;
}
.nav-list > li:not(.nav-auth) > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    height: 2.5px;
    width: 0;
    border-radius: 2px;
    background: var(--jp-orange);
    transition: width .22s ease;
}
.nav-list > li:not(.nav-auth) > a:hover { color: var(--jp-blue) }
.nav-list > li:not(.nav-auth) > a.is-active { color: var(--jp-blue) }
.nav-list > li:not(.nav-auth) > a:hover::after,
.nav-list > li:not(.nav-auth) > a.is-active::after { width: 100% }
/* auth buttons keep pure button styling — no underline, no color override */
.nav-auth .btn::after { display: none !important }
.nav-auth .btn--ghost:hover { color: #fff }
.nav-auth .btn--accent, .nav-auth .btn--accent:hover, .nav-auth .btn--accent.is-active { color: #fff }
.nav-auth .btn--ghost.is-active { background: var(--jp-blue); color: #fff }
.caret { display: none }

.nav-auth { margin-left: .35rem }
.nav-auth .btn { padding: .68rem 1.25rem; font-size: .92rem }

/* --- Mega menu --- */
.mega {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    width: min(980px, 92vw);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
    padding: 1.6rem;
    overflow: hidden;
}
.mega::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, var(--jp-blue), var(--jp-cyan) 35%, var(--jp-lime) 70%, var(--jp-orange));
}
.has-mega:hover .mega,
.has-mega:focus-within .mega {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.mega__inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 1.4rem;
}
.mega__col h4 {
    font-size: .82rem;
    color: var(--jp-blue);
    margin-bottom: .6rem;
    padding-bottom: .45rem;
    border-bottom: 2px dashed var(--jp-blue-100);
}
.mega__col li { margin: 0 }
.mega__col a {
    display: block;
    font-size: .88rem;
    color: var(--muted);
    padding: .3rem .5rem;
    border-radius: 8px;
}
.mega__col a:hover { color: var(--jp-blue); background: var(--jp-blue-50) }

/* --- Mobile toggle --- */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    background: var(--white);
    border: 1.5px solid var(--line);
    border-radius: 12px;
    cursor: pointer;
    padding: 0 11px;
}
.nav-toggle span {
    height: 2.5px;
    background: var(--jp-navy);
    border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
}

/* ================= NEW HERO ================= */
.hero-jp {
    position: relative;
    overflow: hidden;
    padding: 40px 0 56px;
    background:
        radial-gradient(900px 480px at 110% -10%, rgba(25, 201, 232, .16), transparent 60%),
        radial-gradient(760px 420px at -12% 30%, rgba(0, 87, 184, .10), transparent 55%),
        var(--bg);
}
.hero-jp::before {
    /* subtle dotted texture */
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(10, 43, 87, .10) 1.1px, transparent 1.1px);
    background-size: 26px 26px;
    mask-image: radial-gradient(720px 460px at 24% 30%, #000 0%, transparent 74%);
    -webkit-mask-image: radial-gradient(720px 460px at 24% 30%, #000 0%, transparent 74%);
    pointer-events: none;
}
.hero-jp__grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    align-items: center;
    gap: 3rem;
}
.hero-jp__badge {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    background: var(--white);
    border: 1.5px solid var(--line);
    border-radius: 999px;
    padding: .42rem 1rem .42rem .5rem;
    font-weight: 600;
    font-size: .86rem;
    color: var(--jp-navy);
    box-shadow: 0 4px 12px rgba(10, 43, 87, .07);
    margin-bottom: 1.2rem;
    animation: heroUp .6s .05s ease both;
}
.hero-jp__badge b {
    background: var(--jp-lime);
    color: var(--jp-navy);
    font-family: var(--ff-display);
    font-weight: 800;
    font-size: .78rem;
    border-radius: 999px;
    padding: .28rem .7rem;
}
.hero-jp__title {
    font-size: clamp(2.3rem, 4.6vw, 3.6rem);
    line-height: 1.06;
    letter-spacing: -.02em;
    margin-bottom: 1.1rem;
    animation: heroUp .6s .12s ease both;
}
.mark {
    background: linear-gradient(100deg, var(--jp-blue) 5%, var(--jp-cyan) 95%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    white-space: nowrap;
}
.hero-jp__sub {
    color: var(--muted);
    font-size: 1.08rem;
    max-width: 34rem;
    margin-bottom: 1.3rem;
    animation: heroUp .6s .2s ease both;
}
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
    animation: heroUp .6s .28s ease both;
}
.hero-jp__proof {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-top: 1.7rem;
    animation: heroUp .6s .36s ease both;
}
.proof-chip {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    background: var(--white);
    border: 1.5px solid var(--line);
    border-radius: 999px;
    padding: .4rem .9rem;
    font-size: .84rem;
    font-weight: 600;
    color: var(--jp-navy);
}
.proof-chip i {
    font-style: normal;
    width: 8px; height: 8px;
    border-radius: 50%;
    display: inline-block;
}
.proof-chip:nth-child(1) i { background: var(--jp-blue) }
.proof-chip:nth-child(2) i { background: var(--jp-orange) }
.proof-chip:nth-child(3) i { background: var(--jp-cyan) }

@keyframes heroUp {
    from { opacity: 0; transform: translateY(14px) }
    to { opacity: 1; transform: translateY(0) }
}

/* --- Hero visual: wallet composition --- */
.hero-visual {
    position: relative;
    min-height: 440px;
    animation: heroUp .7s .25s ease both;
}
.jp-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    z-index: 0;
}
.jp-blob--one {
    width: 340px; height: 340px;
    right: -40px; top: -30px;
    background: radial-gradient(circle at 30% 30%, rgba(25, 201, 232, .35), rgba(0, 87, 184, .16) 70%, transparent);
    animation: blobFloat 9s ease-in-out infinite;
}
.jp-blob--two {
    width: 210px; height: 210px;
    left: -20px; bottom: -10px;
    background: radial-gradient(circle at 60% 40%, rgba(168, 230, 0, .35), rgba(168, 230, 0, .08) 70%, transparent);
    animation: blobFloat 11s 1.2s ease-in-out infinite reverse;
}
@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1) }
    50% { transform: translate(-12px, 14px) scale(1.05) }
}
.hero-ring {
    position: absolute;
    width: 400px; height: 400px;
    right: 8%; top: 8%;
    border: 2px dashed rgba(0, 87, 184, .22);
    border-radius: 50%;
    animation: spinSlow 40s linear infinite;
}
@keyframes spinSlow { to { transform: rotate(360deg) } }

.wallet-card {
    position: relative;
    z-index: 2;
    width: min(360px, 88%);
    margin: 30px auto 0;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: rotate(-2deg);
}
.wallet-card__top {
    background: var(--brand-gradient);
    color: #fff;
    padding: 1.1rem 1.3rem 1rem;
}
.wallet-card__top small { display: block; opacity: .85; font-size: .78rem; margin-bottom: .15rem }
.wallet-card__top b { font-family: var(--ff-display); font-size: 1.65rem; font-weight: 800; letter-spacing: .01em }
.wallet-card__badge {
    float: right;
    background: var(--jp-lime);
    color: var(--jp-navy);
    font-size: .7rem;
    font-weight: 800;
    padding: .25rem .6rem;
    border-radius: 999px;
    margin-top: .2rem;
}
.wallet-card__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .5rem;
    padding: 1rem 1.1rem .4rem;
}
.wallet-act { text-align: center; font-size: .72rem; color: var(--muted); font-weight: 600 }
.wallet-act span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px; height: 46px;
    margin: 0 auto .35rem;
    border-radius: 14px;
    font-size: 1.15rem;
}
.wallet-act:nth-child(1) span { background: var(--jp-blue-50); }
.wallet-act:nth-child(2) span { background: var(--jp-orange-50); }
.wallet-act:nth-child(3) span { background: var(--jp-cyan-50); }
.wallet-act:nth-child(4) span { background: var(--jp-lime-50); }
.wallet-card__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    padding: .72rem 1.2rem;
    border-top: 1px dashed var(--line);
    font-size: .84rem;
}
.wallet-card__row .who { display: flex; align-items: center; gap: .6rem; font-weight: 600; color: var(--ink) }
.wallet-card__row .who i {
    font-style: normal;
    width: 34px; height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: .95rem;
}
.wallet-card__row .who small { display: block; font-weight: 500; color: var(--muted); font-size: .72rem }
.wallet-card__row .amt { font-family: var(--ff-display); font-weight: 800 }
.amt--ok { color: var(--brand-success) }

.sticker {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-family: var(--ff-display);
    font-weight: 700;
    font-size: .84rem;
    padding: .55rem .95rem;
    border-radius: 999px;
    box-shadow: 0 4px 0 rgba(10, 43, 87, .16), 0 14px 26px rgba(10, 43, 87, .12);
    animation: stickerFloat 6s ease-in-out infinite;
}
.sticker--blue { background: var(--jp-blue); color: #fff; top: 6%; left: 2%; transform: rotate(-6deg) }
.sticker--orange { background: var(--jp-orange); color: #fff; top: 26%; right: 0; transform: rotate(5deg); animation-delay: .8s }
.sticker--lime { background: var(--jp-lime); color: var(--jp-navy); bottom: 16%; left: 0; transform: rotate(4deg); animation-delay: 1.6s }
.sticker--cyan { background: var(--jp-cyan); color: var(--jp-navy); bottom: 2%; right: 8%; transform: rotate(-4deg); animation-delay: 2.4s }
@keyframes stickerFloat {
    0%, 100% { margin-top: 0 }
    50% { margin-top: -10px }
}

/* --- Legacy hero carousel (kept for safety if reused) --- */
.hero { position: relative; overflow: hidden; background: var(--jp-navy) }
.hero__track { display: flex; transition: transform .55s ease }
.hero__slide { min-width: 100%; }
.hero__bg { width: 100%; height: auto; object-fit: cover }
.hero__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px; height: 46px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, .92);
    color: var(--jp-navy);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 3;
    box-shadow: var(--shadow);
}
.hero__arrow--prev { left: 14px }
.hero__arrow--next { right: 14px }
.hero__dots {
    position: absolute;
    bottom: 14px;
    left: 0; right: 0;
    display: flex;
    justify-content: center;
    gap: .45rem;
    z-index: 3;
}
.hero__dots button {
    width: 10px; height: 10px;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, .5);
    cursor: pointer;
    transition: width .2s ease, background .2s ease;
}
.hero__dots button.active { background: var(--jp-lime); width: 26px }

/* ================= Ticker marquee ================= */
.ticker {
    background: var(--jp-navy-2);
    border-block: 3px solid var(--jp-lime);
    overflow: hidden;
    padding: .85rem 0;
    position: relative;
}
.ticker__track {
    display: flex;
    align-items: center;
    gap: 2.2rem;
    width: max-content;
    animation: tickerMove 30s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused }
.ticker__track span {
    font-family: var(--ff-display);
    font-weight: 700;
    font-size: .95rem;
    color: #DCEBFB;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    transition: color .2s ease;
}
/* har service ka apna icon */
.ticker__track span i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    font-size: .88rem;
    color: var(--jp-navy);
    background: var(--jp-lime);
    flex: 0 0 auto;
}
/* rotating icon colours */
.ticker__track span:nth-child(4n+1) i { background: var(--jp-lime); color: var(--jp-navy) }
.ticker__track span:nth-child(4n+2) i { background: var(--jp-cyan); color: var(--jp-navy) }
.ticker__track span:nth-child(4n+3) i { background: var(--jp-orange); color: #fff }
.ticker__track span:nth-child(4n+4) i { background: #fff; color: var(--jp-blue) }
.ticker__track span:hover { color: #fff }
@keyframes tickerMove { to { transform: translateX(-50%) } }

/* ================= Stats band ================= */
.stats { padding: 0; position: relative; z-index: 4 }
.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-top: -34px;
}
.stat {
    padding: 1.7rem 1.2rem;
    text-align: center;
    border-right: 1px dashed var(--line);
    position: relative;
}
.stat:last-child { border-right: 0 }
.stat::before {
    content: "";
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 44px; height: 5px;
    border-radius: 0 0 8px 8px;
}
.stat:nth-child(1)::before { background: var(--jp-blue) }
.stat:nth-child(2)::before { background: var(--jp-orange) }
.stat:nth-child(3)::before { background: var(--jp-cyan) }
.stat:nth-child(4)::before { background: var(--jp-lime) }
.stat b {
    display: block;
    font-family: var(--ff-display);
    font-weight: 800;
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    color: var(--jp-navy);
    letter-spacing: -.01em;
}
.stat span { color: var(--muted); font-size: .9rem; font-weight: 500 }

/* ================= Grids & cards ================= */
.grid { display: grid; gap: 1.4rem }
.grid--3 { grid-template-columns: repeat(3, 1fr) }
.grid--4 { grid-template-columns: repeat(3, 1fr) }

.svc-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1.5px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    color: inherit;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    position: relative;
}
.svc-card::after {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    opacity: 0;
    transition: opacity .2s ease;
    z-index: 2;
}
.grid > .svc-card:nth-child(4n+1)::after { background: var(--jp-blue) }
.grid > .svc-card:nth-child(4n+2)::after { background: var(--jp-orange) }
.grid > .svc-card:nth-child(4n+3)::after { background: var(--jp-cyan) }
.grid > .svc-card:nth-child(4n+4)::after { background: var(--jp-lime) }
.svc-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 56px rgba(10, 43, 87, .16);
}
.grid > .svc-card:nth-child(4n+1):hover { border-color: var(--jp-blue) }
.grid > .svc-card:nth-child(4n+2):hover { border-color: var(--jp-orange) }
.grid > .svc-card:nth-child(4n+3):hover { border-color: var(--jp-cyan) }
.grid > .svc-card:nth-child(4n+4):hover { border-color: var(--jp-lime) }
.svc-card:hover::after { opacity: 1 }

.svc-card__img {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--jp-blue-50);
    margin: 14px 14px 0;
    border-radius: 16px;
    display: block;
}
.svc-card__img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 58%, rgba(6, 30, 62, .22));
    pointer-events: none;
}
.svc-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}
.svc-card:hover .svc-card__img img { transform: scale(1.08) }
.svc-card__body { padding: 1.25rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; align-items: flex-start }
.svc-card__body h3 { font-size: 1.1rem; margin-bottom: .4rem }
.svc-card__body p { color: var(--muted); font-size: .92rem; flex: 1; margin-bottom: 1.05rem }
.svc-card__link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-family: var(--ff-display);
    font-weight: 700;
    font-size: .86rem;
    color: var(--jp-blue);
    background: var(--jp-blue-50);
    border: 1.5px solid var(--jp-blue-100);
    padding: .55rem 1.15rem;
    border-radius: 999px;
    transition: background .2s ease, color .2s ease, border-color .2s ease, gap .2s ease;
}
.svc-card:hover .svc-card__link {
    background: var(--jp-blue);
    border-color: var(--jp-blue);
    color: #fff;
    gap: .7rem;
}

/* Feature tiles */
.feature {
    background: var(--white);
    border: 1.5px solid var(--line);
    border-radius: var(--radius);
    padding: 1.6rem 1.4rem;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow) }
.grid > .feature:nth-child(4n+1):hover { border-color: var(--jp-blue) }
.grid > .feature:nth-child(4n+2):hover { border-color: var(--jp-orange) }
.grid > .feature:nth-child(4n+3):hover { border-color: var(--jp-cyan) }
.grid > .feature:nth-child(4n+4):hover { border-color: var(--jp-lime) }
.feature h3 { font-size: 1.05rem }
.feature p { color: var(--muted); font-size: .9rem; margin: 0 }
.ico {
    width: 54px; height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border-radius: 16px;
    margin-bottom: .9rem;
    box-shadow: 0 6px 14px rgba(10, 43, 87, .08);
}
.grid > *:nth-child(4n+1) .ico { background: var(--jp-blue-50); color: var(--jp-blue) }
.grid > *:nth-child(4n+2) .ico { background: var(--jp-orange-50); color: var(--jp-orange) }
.grid > *:nth-child(4n+3) .ico { background: var(--jp-cyan-50); color: var(--jp-cyan-600) }
.grid > *:nth-child(4n+4) .ico { background: var(--jp-lime-50); color: var(--jp-lime-600) }

/* ================= Steps (How it works) ================= */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4rem;
    counter-reset: step;
}
.step {
    position: relative;
    background: var(--white);
    border: 1.5px solid var(--line);
    border-radius: var(--radius);
    padding: 1.9rem 1.4rem 1.5rem;
    counter-increment: step;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow) }
.step::before {
    content: counter(step, decimal-leading-zero);
    position: absolute;
    top: -20px;
    left: 1.2rem;
    font-family: var(--ff-display);
    font-weight: 800;
    font-size: 1rem;
    color: #fff;
    padding: .45rem .8rem;
    border-radius: 12px;
    box-shadow: 0 6px 14px rgba(10, 43, 87, .16);
}
.step:nth-child(1):hover { border-color: var(--jp-blue) }
.step:nth-child(2):hover { border-color: var(--jp-orange) }
.step:nth-child(3):hover { border-color: var(--jp-cyan) }
.step:nth-child(4):hover { border-color: var(--jp-lime) }
.step:nth-child(1)::before { background: var(--jp-blue) }
.step:nth-child(2)::before { background: var(--jp-orange) }
.step:nth-child(3)::before { background: var(--jp-cyan); color: var(--jp-navy) }
.step:nth-child(4)::before { background: var(--jp-lime); color: var(--jp-navy) }
.step h3 { font-size: 1.05rem; margin-top: .4rem }
.step p { color: var(--muted); font-size: .9rem; margin: 0 }

/* ================= Split layout & composition cards ================= */
.split {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 3.4rem;
    align-items: center;
}
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg) }

.check-list li {
    position: relative;
    padding-left: 2.1rem;
    margin-bottom: .7rem;
    font-weight: 500;
}
.check-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    position: absolute;
    left: 0;
    top: .05rem;
    width: 1.45rem;
    height: 1.45rem;
    background: var(--jp-lime);
    color: var(--jp-navy);
    font-weight: 900;
    font-size: .7rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 0 var(--jp-lime-600);
}
.section--deep .check-list li::before { box-shadow: 0 2px 0 rgba(0, 0, 0, .25) }
.auth-aside .check-list li::before { box-shadow: 0 2px 0 rgba(0, 0, 0, .25) }

/* Panel-stack visual (replaces old branded illustrations) */
.panel-stack { position: relative; min-height: 430px }
.panel-stack .jp-blob--one { width: 300px; height: 300px; right: 0; top: 0 }
.panel-stack .jp-blob--two { width: 190px; height: 190px; left: 0; bottom: 20px }
.stack-card {
    position: absolute;
    width: min(300px, 78%);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    z-index: 2;
}
.stack-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    font-family: var(--ff-display);
    font-weight: 700;
    font-size: .9rem;
    padding: .7rem 1rem;
}
.stack-card__head em { font-style: normal; font-size: .68rem; background: rgba(255,255,255,.22); padding: .18rem .55rem; border-radius: 999px }
.stack-card--blue { top: 0; left: 4%; transform: rotate(-4deg) }
.stack-card--blue .stack-card__head { background: var(--jp-blue) }
.stack-card--orange { top: 28%; right: 0; transform: rotate(3deg); z-index: 3 }
.stack-card--orange .stack-card__head { background: var(--jp-orange) }
.stack-card--navy { bottom: 0; left: 12%; transform: rotate(-2deg); z-index: 4 }
.stack-card--navy .stack-card__head { background: var(--jp-navy) }
.stack-card__body { padding: .9rem 1rem }
.bar-row { display: flex; align-items: center; gap: .6rem; margin-bottom: .55rem; font-size: .74rem; color: var(--muted); font-weight: 600 }
.bar-row:last-child { margin-bottom: 0 }
.bar {
    flex: 1;
    height: 9px;
    border-radius: 999px;
    background: var(--jp-blue-50);
    overflow: hidden;
    position: relative;
}
.bar i {
    position: absolute;
    inset: 0 auto 0 0;
    border-radius: inherit;
}
.bar--blue i { background: var(--jp-blue); width: 78% }
.bar--cyan i { background: var(--jp-cyan); width: 62% }
.bar--orange i { background: var(--jp-orange); width: 84% }
.bar--lime i { background: var(--jp-lime); width: 55% }

.chip-row { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.1rem }
.chip {
    font-family: var(--ff-display);
    font-weight: 700;
    font-size: .8rem;
    padding: .42rem .9rem;
    border-radius: 999px;
    background: var(--white);
    border: 1.5px solid var(--line);
    color: var(--jp-navy);
    box-shadow: 0 3px 8px rgba(10, 43, 87, .06);
}
.chip:nth-child(4n+1) { border-color: var(--jp-blue); color: var(--jp-blue) }
.chip:nth-child(4n+2) { border-color: var(--jp-orange); color: var(--jp-orange) }
.chip:nth-child(4n+3) { border-color: var(--jp-cyan-600); color: var(--jp-cyan-600) }
.chip:nth-child(4n+4) { border-color: var(--jp-lime-600); color: var(--jp-lime-600) }

/* ================= Page banner ================= */
.page-banner {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(640px 320px at 88% -20%, rgba(25, 201, 232, .35), transparent 60%),
        radial-gradient(520px 300px at 4% 120%, rgba(168, 230, 0, .16), transparent 55%),
        linear-gradient(120deg, var(--jp-navy) 0%, var(--jp-blue) 90%);
    color: #DCEBFB;
    padding: 74px 0;
}
.page-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px);
    background-size: 24px 24px;
    mask-image: linear-gradient(100deg, transparent 30%, #000 100%);
    -webkit-mask-image: linear-gradient(100deg, transparent 30%, #000 100%);
    pointer-events: none;
}
.page-banner .container { position: relative; z-index: 2 }
.page-banner h1 { color: #fff; max-width: 760px }
.page-banner p { max-width: 620px; color: #C4DCF5; font-size: 1.05rem; margin: 0 }

/* ================= Services listing ================= */
.svc-group { margin-bottom: 3.4rem }
.svc-group:last-child { margin-bottom: 0 }
.svc-group__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: .9rem;
    border-bottom: 2px dashed var(--jp-blue-100);
}
.svc-group__head h2 { margin: 0; font-size: 1.5rem }
.svc-group__head span {
    font-family: var(--ff-display);
    font-weight: 700;
    font-size: .8rem;
    color: var(--jp-blue);
    background: var(--jp-blue-50);
    border: 1.5px solid var(--jp-blue-100);
    padding: .3rem .8rem;
    border-radius: 999px;
    white-space: nowrap;
}

/* ================= Service detail ================= */
.svc-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(640px 320px at 92% -20%, rgba(25, 201, 232, .30), transparent 60%),
        linear-gradient(120deg, var(--jp-navy) 0%, var(--jp-blue) 95%);
    color: #DCEBFB;
    padding: 64px 0;
}
.svc-hero h1 { color: #fff }
.svc-hero__grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}
.svc-hero__img img {
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 70px rgba(0, 0, 0, .35);
}
.breadcrumb { font-size: .85rem; color: #9DC1E8; margin-bottom: .9rem }
.breadcrumb a { color: #C4DCF5 }
.breadcrumb a:hover { color: var(--jp-lime) }
.tagline {
    font-family: var(--ff-display);
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--jp-cyan);
    margin-bottom: .6rem;
}
.svc-hero p { color: #C4DCF5 }

.tag {
    display: inline-block;
    font-family: var(--ff-display);
    font-weight: 700;
    font-size: .78rem;
    background: var(--jp-blue-50);
    border: 1.5px solid var(--jp-blue-100);
    color: var(--jp-blue);
    padding: .3rem .75rem;
    border-radius: 999px;
    margin: 0 .35rem .5rem 0;
}

/* ================= Career ================= */
.job {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.4rem;
    background: var(--white);
    border: 1.5px solid var(--line);
    border-left: 6px solid var(--jp-blue);
    border-radius: var(--radius);
    padding: 1.35rem 1.5rem;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.grid > .job:nth-child(4n+2) { border-left-color: var(--jp-orange) }
.grid > .job:nth-child(4n+3) { border-left-color: var(--jp-cyan) }
.grid > .job:nth-child(4n+4) { border-left-color: var(--jp-lime) }
.job:hover { transform: translateX(6px); box-shadow: var(--shadow) }
.job h3 { margin-bottom: .2rem; font-size: 1.08rem }
.job .meta { color: var(--muted); font-size: .88rem; margin: 0 0 .5rem }

/* ================= Contact ================= */
.contact-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 3rem;
    align-items: start;
}
.contact-info h2 { margin-bottom: .4rem }
.info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-top: 1.4rem;
}
.info-item .ico {
    flex: 0 0 auto;
    width: 48px; height: 48px;
    font-size: 1.25rem;
    margin: 0;
}
.info-item:nth-child(odd) .ico { background: var(--jp-blue-50) }
.info-item:nth-child(even) .ico { background: var(--jp-orange-50) }
.info-item h4 { margin-bottom: .1rem }
.info-item p { margin: 0; color: var(--muted); font-size: .92rem }

/* ================= Forms ================= */
.form-card {
    background: var(--white);
    border: 1.5px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 2.2rem 2.1rem;
    position: relative;
    overflow: hidden;
}
.form-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, var(--jp-blue), var(--jp-cyan) 35%, var(--jp-lime) 70%, var(--jp-orange));
}
.field { margin-bottom: 1.05rem }
.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.field label,
.form-label,
.form-control-label {
    display: block;
    font-family: var(--ff-display);
    font-weight: 600;
    font-size: .88rem;
    color: var(--ink);
    margin-bottom: .4rem;
}
.field input,
.field select,
.field textarea,
.form-control {
    width: 100%;
    font-family: var(--ff-body);
    font-size: .95rem;
    color: var(--ink);
    background: var(--bg);
    border: 1.5px solid var(--line);
    border-radius: 12px;
    padding: .8rem 1rem;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.field textarea { min-height: 130px; resize: vertical }
.field input:focus,
.field select:focus,
.field textarea:focus,
.form-control:focus {
    outline: none;
    border-color: var(--jp-blue);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(0, 87, 184, .12);
}
.field input::placeholder,
.field textarea::placeholder { color: #9AA7B8 }
.form-note { font-size: .82rem; color: var(--muted) }
.form-group { margin-bottom: 1.05rem }

.form-msg {
    border-radius: 12px;
    padding: .85rem 1.1rem;
    font-size: .9rem;
    font-weight: 500;
    margin-bottom: 1.1rem;
    background: var(--jp-orange-50);
    border: 1.5px solid #FFD3B8;
    color: #B23E00;
}
.form-msg--ok {
    background: var(--jp-lime-50);
    border-color: #D6F09B;
    color: #4D7000;
}
.alert {
    border-radius: 12px;
    padding: .85rem 1.1rem;
    font-size: .9rem;
    margin-bottom: 1rem;
    border: 1.5px solid var(--line);
    background: var(--bg);
}
.alert-danger {
    background: #FEF2F2;
    border-color: #FECACA;
    color: #B91C1C;
}

/* Minimal spinner (login button loading state) */
.spinner-border {
    display: inline-block;
    width: 1.1rem;
    height: 1.1rem;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spin .7s linear infinite;
    vertical-align: -.15em;
}
.spinner-border-sm { width: .95rem; height: .95rem; border-width: 2px }
@keyframes spin { to { transform: rotate(360deg) } }

/* ================= Auth pages ================= */
.auth-wrap {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    min-height: calc(100vh - var(--header-h) - 40px);
}
.auth-aside {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(520px 300px at 90% -10%, rgba(25, 201, 232, .30), transparent 60%),
        radial-gradient(420px 280px at -10% 110%, rgba(168, 230, 0, .14), transparent 55%),
        linear-gradient(150deg, var(--jp-navy) 0%, var(--jp-blue) 100%);
    color: #DCEBFB;
    padding: 4.5rem 3.4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.auth-aside::after {
    content: "";
    position: absolute;
    width: 300px; height: 300px;
    right: -110px; bottom: -110px;
    border: 2px dashed rgba(255, 255, 255, .18);
    border-radius: 50%;
}
.auth-aside h2 { color: #fff; font-size: clamp(1.7rem, 2.6vw, 2.3rem) }
.auth-aside p { color: #C4DCF5 }
.auth-form {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.4rem;
    background:
        radial-gradient(560px 320px at 100% 0%, rgba(25, 201, 232, .08), transparent 60%),
        var(--bg);
}
.auth-form .form-card { width: min(460px, 100%) }

/* ================= CTA strip ================= */
.cta-strip {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(600px 300px at 92% -30%, rgba(25, 201, 232, .30), transparent 60%),
        radial-gradient(420px 260px at 2% 130%, rgba(168, 230, 0, .16), transparent 55%),
        var(--jp-navy);
    color: #DCEBFB;
    padding: 3.4rem 0 3.8rem;
}
.cta-strip__inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.cta-strip h2 { color: #fff; margin-bottom: .3rem }
.cta-strip p { margin: 0; color: #C4DCF5 }
.cta-strip__actions { display: flex; gap: .9rem; flex-wrap: wrap }

/* ================= Footer ================= */
.site-footer {
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='64' viewBox='0 0 300 64'%3E%3Cpath d='M0 32 Q 37.5 8 75 32 T 150 32 T 225 32 T 300 32' fill='none' stroke='rgba(255,255,255,0.05)' stroke-width='2'/%3E%3C/svg%3E") repeat,
        radial-gradient(700px 340px at 92% 0%, rgba(25, 201, 232, .14), transparent 60%),
        radial-gradient(560px 300px at 2% 100%, rgba(168, 230, 0, .08), transparent 55%),
        linear-gradient(160deg, var(--jp-navy) 0%, var(--jp-navy-2) 55%);
    color: #A9C4E4;
    padding-top: 4rem;
    position: relative;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
    gap: 2.6rem;
    padding-bottom: 3rem;
}
.footer-col h4 {
    color: #fff;
    font-size: .95rem;
    margin-bottom: 1rem;
    padding-bottom: .5rem;
    position: relative;
}
.footer-col h4::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 30px; height: 3px;
    border-radius: 4px;
    background: var(--jp-lime);
}
.footer-col li { margin-bottom: .55rem }
.footer-col a { color: #A9C4E4; font-size: .92rem }
.footer-col a:hover { color: var(--jp-lime) }
.footer-col--brand img {
    height: 58px;
    width: auto;
    margin-bottom: 1.1rem;
}
.footer-col--brand p { font-size: .9rem; color: #8FB2DA }
.footer-contact li {
    font-size: .9rem;
    margin-bottom: .7rem;
    color: #A9C4E4;
}
.social { display: flex; gap: .6rem; margin-top: 1.1rem }
.social a {
    width: 40px; height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-family: var(--ff-display);
    font-weight: 800;
    font-size: .9rem;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    transition: transform .18s ease, background .18s ease, color .18s ease;
}
.social a:hover { transform: translateY(-3px); color: var(--jp-navy) }
.social a:nth-child(1):hover { background: var(--jp-cyan) }
.social a:nth-child(2):hover { background: var(--jp-lime) }
.social a:nth-child(3):hover { background: #fff }
.social a:nth-child(4):hover { background: var(--jp-orange); color: #fff }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .10); padding: 1.2rem 0 }
.footer-bottom__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: .85rem;
}
.footer-bottom p { margin: 0; color: #8FB2DA }
.footer-legal a { color: #A9C4E4 }
.footer-legal a:hover { color: var(--jp-lime) }

/* ================= Back to top ================= */
.to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 50px; height: 50px;
    border: 0;
    border-radius: 16px;
    background: var(--jp-orange);
    color: #fff;
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: 0 4px 0 var(--jp-orange-600), 0 14px 26px rgba(255, 90, 0, .3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    z-index: 60;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0) }
.to-top:hover { transform: translateY(-3px) }

/* ================= Reveal on scroll ================= */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .65s cubic-bezier(.22, .61, .36, 1), transform .65s cubic-bezier(.22, .61, .36, 1);
    will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: translateY(0) }

/* ================= Responsive ================= */
@media (max-width: 1100px) {
    .grid--4 { grid-template-columns: repeat(2, 1fr) }
    .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.2rem }
}

@media (max-width: 900px) {
    .nav-toggle { display: flex }
    .primary-nav {
        position: fixed;
        inset: 0;
        top: 0;
        background: var(--white);
        transform: translateX(100%);
        transition: transform .28s ease;
        z-index: 80;
        overflow-y: auto;
        padding: 5.6rem 1.6rem 2rem;
    }
    .primary-nav.open { transform: translateX(0) }
    .nav-list { flex-direction: column; align-items: stretch; gap: .3rem }
    .nav-list > li:not(.nav-auth) > a { display: flex; justify-content: space-between; font-size: 1.05rem; padding: .9rem 1rem; border-radius: 12px }
    .nav-list > li:not(.nav-auth) > a::after { display: none }
    .nav-list > li:not(.nav-auth) > a.is-active { background: var(--jp-blue-50) }
    .site-header { padding: 10px 0 }
    .site-header__inner { height: 60px; padding: 0 .55rem 0 1.1rem }
    .mega {
        position: static;
        transform: none;
        width: 100%;
        opacity: 1;
        visibility: visible;
        display: none;
        box-shadow: none;
        border: 1.5px dashed var(--line);
        margin: .4rem 0 .6rem;
        padding: 1.1rem;
    }
    .mega::before { display: none }
    .has-mega.open .mega { display: block }
    .nav-auth { margin: .4rem 0 0 }
    .nav-auth .btn { width: 100% }

    .hero-jp { padding: 30px 0 48px }
    .hero-jp__grid { grid-template-columns: 1fr; gap: 3.4rem }
    .hero-visual { min-height: 400px }
    .split { grid-template-columns: 1fr; gap: 2.4rem }
    .panel-stack { min-height: 400px; margin-top: 1rem }
    .svc-hero__grid { grid-template-columns: 1fr; gap: 2.2rem }
    .contact-grid { grid-template-columns: 1fr; gap: 2.4rem }
    .auth-wrap { grid-template-columns: 1fr }
    .auth-aside { padding: 3rem 1.8rem }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.2rem }
    .stats__grid { grid-template-columns: 1fr 1fr }
    .stat { border-bottom: 1px dashed var(--line) }
    .stat:nth-child(2n) { border-right: 0 }
    .stat:nth-child(3), .stat:nth-child(4) { border-bottom: 0 }
}

@media (max-width: 640px) {
    .section { padding: 60px 0 }
    .grid--3, .grid--4 { grid-template-columns: 1fr }
    .steps { grid-template-columns: 1fr; row-gap: 2.2rem }
    .field-row { grid-template-columns: 1fr }
    .footer-grid { grid-template-columns: 1fr }
    .cta-strip__inner { flex-direction: column; align-items: flex-start }
    .topbar__meta { display: none }
    .brand img { height: 38px }
    .hero-jp__title { font-size: clamp(2.1rem, 9vw, 2.7rem) }
    .wallet-card { transform: rotate(0) }
    .sticker { font-size: .76rem; padding: .45rem .75rem }
    .form-card { padding: 1.7rem 1.3rem }
    .footer-bottom__inner { flex-direction: column; align-items: flex-start; gap: .4rem }
}

/* ================= Reduced motion ================= */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    .ticker__track { animation: none; }
    html { scroll-behavior: auto }
    .reveal { opacity: 1; transform: none }
}


/* =====================================================================
   v2.1 — Photo-led professional components
   ===================================================================== */

/* --- Hero photo composition --- */
.hero-photo {
    position: relative;
    z-index: 2;
    width: min(480px, 96%);
    margin: 0 auto;
}
.hero-photo { display: grid }
.hero-photo > img {
    grid-area: 1 / 1;
    width: 100%;
    aspect-ratio: 4 / 3.6;
    object-fit: cover;
    border-radius: 28px;
    opacity: 0;
    transform: scale(1.03);
    transition: opacity .7s ease, transform .7s ease;
}
.hero-photo > img.active { opacity: 1; transform: none }

.glass-card {
    position: absolute;
    z-index: 3;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(226, 232, 240, .9);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(10, 43, 87, .18);
    padding: .8rem 1rem;
    animation: cardFloat 6s ease-in-out infinite;
}
.glass-card small { display: block; font-size: .7rem; color: var(--muted); font-weight: 600; margin-bottom: .1rem }
.glass-card b { font-family: var(--ff-display); font-weight: 800; font-size: 1.15rem; color: var(--jp-navy) }

.glass-card--balance { top: 8%; left: -9%; }
.glass-card--balance b { font-size: 1.3rem }
.glass-card--balance .trend { font-size: .68rem; font-weight: 700; color: var(--brand-success); background: var(--jp-lime-50); border-radius: 999px; padding: .12rem .5rem; margin-left: .35rem; vertical-align: middle }

.glass-card--txn {
    bottom: 9%;
    right: -8%;
    display: flex;
    align-items: center;
    gap: .65rem;
    animation-delay: 1.4s;
}
.glass-card--txn .tick {
    width: 38px; height: 38px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--jp-lime);
    color: var(--jp-navy);
    font-weight: 800;
    font-size: 1rem;
}
.glass-card--txn b { font-size: .92rem }
.glass-card--txn small { margin: 0 }

.badge-float {
    position: absolute;
    z-index: 3;
    top: -14px;
    right: 6%;
    background: var(--jp-blue);
    color: #fff;
    font-family: var(--ff-display);
    font-weight: 700;
    font-size: .78rem;
    padding: .5rem .95rem;
    border-radius: 999px;
    box-shadow: 0 12px 26px rgba(0, 87, 184, .35);
    animation: cardFloat 7s .8s ease-in-out infinite;
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0) }
    50% { transform: translateY(-9px) }
}

/* --- Photo frame (split sections) --- */
.photo-frame { position: relative; }
.photo-frame > img {
    width: 100%;
    aspect-ratio: 16 / 12;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.photo-frame__card {
    position: absolute;
    left: -18px;
    bottom: -22px;
    width: min(250px, 78%);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 20px 44px rgba(10, 43, 87, .16);
    padding: .95rem 1.05rem;
}
.photo-frame__card h5 {
    font-family: var(--ff-display);
    font-size: .84rem;
    font-weight: 700;
    color: var(--jp-navy);
    margin: 0 0 .55rem;
}
.photo-frame__chip {
    position: absolute;
    top: -16px;
    right: -10px;
    background: var(--jp-orange);
    color: #fff;
    font-family: var(--ff-display);
    font-weight: 700;
    font-size: .78rem;
    padding: .5rem .95rem;
    border-radius: 999px;
    box-shadow: 0 12px 26px rgba(255, 90, 0, .35);
}

/* --- Page banner with photo --- */
.page-banner__grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 2.6rem;
    align-items: center;
}
.page-banner__img { position: relative }
.page-banner__img img {
    width: 100%;
    aspect-ratio: 16 / 9.5;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 26px 60px rgba(0, 0, 0, .35);
}

/* --- Auth aside photo --- */
.aside-photo {
    margin-top: 1.8rem;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 22px 48px rgba(0, 0, 0, .30);
    position: relative;
}
.aside-photo img { width: 100%; height: 200px; object-fit: cover }
.aside-photo span {
    position: absolute;
    left: 12px;
    bottom: 12px;
    background: rgba(6, 30, 62, .78);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: .78rem;
    font-weight: 600;
    padding: .4rem .8rem;
    border-radius: 999px;
}

@media (max-width: 900px) {
    .page-banner__grid { grid-template-columns: 1fr; gap: 1.8rem }
    .glass-card--balance { left: 2% }
    .glass-card--txn { right: 2% }
}
@media (max-width: 640px) {
    .hero-photo > img { aspect-ratio: 4 / 3.4 }
    .photo-frame__card { left: 8px; bottom: -18px }
    .aside-photo img { height: 150px }
}


/* =====================================================================
   v2.2 — Page loader, blog
   ===================================================================== */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    transition: opacity .45s ease, visibility .45s ease;
    animation: loaderAuto .45s ease 2.8s forwards; /* CSS failsafe even without JS */
}
.page-loader.is-done { opacity: 0; visibility: hidden; pointer-events: none }
@keyframes loaderAuto { to { opacity: 0; visibility: hidden; pointer-events: none } }
.page-loader__box { position: relative; width: 96px; height: 96px; display: flex; align-items: center; justify-content: center }
.page-loader__box img { width: 52px; height: 52px; animation: loaderPulse 1.2s ease-in-out infinite }
.page-loader__ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid var(--jp-blue-100);
    border-top-color: var(--jp-blue);
    border-right-color: var(--jp-cyan);
    animation: spin .9s linear infinite;
}
@keyframes loaderPulse { 0%,100% { transform: scale(1) } 50% { transform: scale(.88) } }

/* --- Blog --- */
.blog-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1.5px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    color: inherit;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.blog-card:hover { transform: translateY(-8px); box-shadow: 0 28px 56px rgba(10, 43, 87, .16); border-color: var(--jp-blue) }
.blog-card__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--jp-blue-50); margin: 14px 14px 0; border-radius: 16px; display: block }
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease }
.blog-card:hover .blog-card__img img { transform: scale(1.08) }
.blog-card__body { padding: 1.35rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; align-items: flex-start }
.blog-card__meta { display: flex; align-items: center; gap: .6rem; margin-bottom: .7rem; font-size: .78rem; color: var(--muted); font-weight: 500 }
.blog-card__meta .cat {
    font-family: var(--ff-display);
    font-weight: 700;
    color: var(--jp-blue);
    background: var(--jp-blue-50);
    border: 1.5px solid var(--jp-blue-100);
    padding: .22rem .7rem;
    border-radius: 999px;
}
.blog-card__body h3 { font-size: 1.12rem; margin-bottom: .45rem }
.blog-card__body h3 a { color: inherit }
.blog-card__body h3 a:hover { color: var(--jp-blue) }
.blog-card__body p { color: var(--muted); font-size: .92rem; flex: 1; margin-bottom: 1.05rem }

.post-body { max-width: 780px; margin: 0 auto }
.post-body p { font-size: 1.04rem; color: #374151; margin-bottom: 1.35rem }
.post-body h2 { font-size: 1.5rem; margin-top: 2.2rem }
.post-meta { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; color: #C4DCF5; font-size: .9rem }
.post-meta .cat {
    font-family: var(--ff-display);
    font-weight: 700;
    font-size: .78rem;
    color: #fff;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .25);
    padding: .25rem .75rem;
    border-radius: 999px;
}


/* =====================================================================
   v2.3 — Wave divider, patterned sections, testimonials
   ===================================================================== */
.wave-divider {
    line-height: 0;
    margin-bottom: -1px;
    position: relative;
    z-index: 2;
}
.wave-divider svg { display: block; width: 100%; height: 92px }
@media (max-width: 640px) { .wave-divider svg { height: 48px } }

.section--pattern {
    position: relative;
    background:
        radial-gradient(760px 380px at 100% 0%, rgba(25, 201, 232, .10), transparent 60%),
        radial-gradient(640px 340px at 0% 100%, rgba(0, 87, 184, .08), transparent 60%),
        linear-gradient(180deg, #F8FAFC 0%, #EFF6FF 55%, #F8FAFC 100%);
}
.section--pattern::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(10, 43, 87, .09) 1.1px, transparent 1.1px);
    background-size: 26px 26px;
    mask-image: radial-gradient(900px 500px at 50% 0%, #000 0%, transparent 75%);
    -webkit-mask-image: radial-gradient(900px 500px at 50% 0%, #000 0%, transparent 75%);
    pointer-events: none;
}
.section--pattern .container { position: relative; z-index: 1 }

/* --- Testimonials --- */
.testi-card {
    position: relative;
    background: var(--white);
    border: 1.5px solid var(--line);
    border-radius: 22px;
    padding: 1.9rem 1.7rem 1.7rem;
    display: flex;
    flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.testi-card:hover { transform: translateY(-8px); box-shadow: 0 28px 56px rgba(10, 43, 87, .14); border-color: var(--jp-blue) }
.testi-card__quote {
    width: 44px; height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--jp-blue-50);
    color: var(--jp-blue);
    font-size: 1.05rem;
    margin-bottom: 1rem;
}
.testi-card__stars { color: var(--jp-orange); font-size: .82rem; letter-spacing: 2px; margin-bottom: .8rem }
.testi-card > p { color: #374151; font-size: .97rem; flex: 1; margin-bottom: 1.3rem }
.testi-card__person { display: flex; align-items: center; gap: .85rem; border-top: 1px dashed var(--line); padding-top: 1.15rem }
.testi-card__person img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover }
.testi-card__person b { display: block; font-family: var(--ff-display); font-size: .95rem; color: var(--ink); line-height: 1.25 }
.testi-card__person span { font-size: .8rem; color: var(--muted) }

@media (max-width: 900px) {
    body { padding-top: 80px }
}


/* =====================================================================
   v2.4 — Hero content carousel
   ===================================================================== */
.hero-copy-stack { display: grid }
.hero-copy-stack > .hero-slide-copy {
    grid-area: 1 / 1;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
    pointer-events: none;
}
.hero-copy-stack > .hero-slide-copy.active { opacity: 1; transform: none; pointer-events: auto }

.hero-dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1rem }
.hero-dots button {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 999px;
    background: var(--jp-blue-100);
    cursor: pointer;
    padding: 0;
    transition: width .25s ease, background .25s ease;
}
.hero-dots button.active { width: 30px; background: var(--jp-blue) }
.hero-dots button:hover { background: var(--jp-cyan) }


/* =====================================================================
   v2.5 — Rich service cards (image -> wave -> gradient panel -> features)
   ===================================================================== */
.svc-card2 {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 14px 36px rgba(10, 43, 87, .10);
    transition: transform .25s ease, box-shadow .25s ease;
}
.svc-card2:hover { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(10, 43, 87, .18) }

.svc-card2--blue   { --ca: #0B63D8; --cb: #063E8F }
.svc-card2--green  { --ca: #22A94E; --cb: #14682D }
.svc-card2--purple { --ca: #7C3AED; --cb: #C026D3 }
.svc-card2--orange { --ca: #FF6A1A; --cb: #E04E00 }

.svc-card2__media { position: relative; display: block }
.svc-card2__media img {
    width: 100%;
    aspect-ratio: 16 / 8.5;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}
.svc-card2:hover .svc-card2__media img { transform: scale(1.05) }
.svc-card2__wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    width: 100%;
    height: 36px;
    z-index: 2;
}
.svc-card2__wave path { fill: var(--ca) }
.svc-card2__badge {
    position: absolute;
    left: 20px;
    bottom: -20px;
    z-index: 3;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(10, 43, 87, .22);
    font-size: 1.3rem;
    color: var(--ca);
}

.svc-card2__panel {
    position: relative;
    background: linear-gradient(180deg, var(--ca) 0%, var(--cb) 100%);
    color: #fff;
    padding: 1.7rem 1.35rem 1.15rem;
    overflow: hidden;
}
.svc-card2__panel h3 {
    color: #fff;
    font-size: 1.22rem;
    font-weight: 800;
    margin: 0 0 .1rem;
    position: relative;
    z-index: 1;
}
.svc-card2__panel h4 {
    color: rgba(255, 255, 255, .92);
    font-size: .84rem;
    font-weight: 700;
    margin: 0 0 .4rem;
    position: relative;
    z-index: 1;
}
.svc-card2__panel p {
    color: rgba(255, 255, 255, .88);
    font-size: .84rem;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    position: relative;
    z-index: 1;
    max-width: 88%;
}
.svc-card2__mark {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-42%);
    font-size: 3.8rem;
    color: rgba(255, 255, 255, .13);
    pointer-events: none;
}

.svc-card2__feats {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.05rem 1.35rem 1.25rem;
}
.svc-card2__feats ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .48rem .8rem;
    flex: 1;
    margin-bottom: 1.25rem;
}
.svc-card2__feats li {
    display: flex;
    align-items: flex-start;
    gap: .45rem;
    font-size: .8rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.35;
}
.svc-card2__feats li i { color: var(--ca); font-size: .95rem; margin-top: .12rem; flex: 0 0 auto }
.svc-card2__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    font-family: var(--ff-display);
    font-weight: 700;
    font-size: .92rem;
    color: #fff;
    background: linear-gradient(95deg, var(--ca) 0%, var(--cb) 100%);
    border-radius: 999px;
    padding: .68rem 1.1rem;
    border-top: 0;
    margin-top: auto;
    position: relative;
    transition: transform .2s ease, box-shadow .2s ease, gap .2s ease;
}
.svc-card2__feats ul + .svc-card2__cta { border-top: 1px solid var(--line); border-radius: 999px }
.svc-card2__feats ul + .svc-card2__cta { border-top: 0 }
.svc-card2__feats ul { padding-bottom: .9rem; border-bottom: 1px solid var(--line); margin-bottom: .95rem }
.svc-card2__cta:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(10, 43, 87, .22); gap: .85rem }

@media (max-width: 420px) {
    .svc-card2__feats ul { grid-template-columns: 1fr }
}


/* v2.6 — logo pill header ke andar fit rahe (global .brand img 96px se override) */
.site-header .brand img { height: 72px; width: auto }
@media (max-width: 640px) { .site-header .brand img { height: 52px } }

/* =====================================================================
   v2.8 — Curved TV (concave screen, jaise asli curved TV)
   ===================================================================== */
.tv-section {
    position: relative;
    overflow: hidden;
    padding: 48px 0 54px;
    scroll-margin-top: calc(var(--header-h) + 20px);
    background: var(--bg);
}
.tv-section .container { position: relative; z-index: 1 }

.tv-stage {
    position: relative;
    width: min(1340px, 100%);
    margin: 0 auto;
}
/* neeche floor glow */
.tv-stage::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -30px;
    transform: translateX(-50%);
    width: 74%;
    height: 70px;
    background: radial-gradient(ellipse at center, rgba(0, 87, 184, .22), transparent 70%);
    filter: blur(22px);
    pointer-events: none;
    z-index: 0;
}

/* ---- Curved frame: upar-neeche ke kinare andar ki taraf mude hue ---- */
.tv {
    position: relative;
    z-index: 1;
    padding: 12px;
    background: linear-gradient(120deg, var(--jp-blue) 0%, var(--jp-cyan) 50%, var(--jp-lime) 100%);
    box-shadow: 0 40px 90px rgba(0, 0, 0, .55);
    /* yahi asli curve hai — top edge neeche dhansta hai, bottom edge upar (SVG se smooth) */
    -webkit-clip-path: url(#tvCurveOuter);
    clip-path: url(#tvCurveOuter);
}

.tv__screen {
    position: relative;
    aspect-ratio: 24 / 7.6;
    overflow: hidden;
    background: #000;
    /* screen bhi wahi curve follow karti hai */
    -webkit-clip-path: url(#tvCurveInner);
    clip-path: url(#tvCurveInner);
}
.tv__screen iframe,
.tv__screen video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    /* thoda zoom taki curve cut hone par black gap na dikhe */
    transform: scale(1.13);
}
/* glass reflection */
.tv__glass {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(115deg, rgba(255, 255, 255, .12) 0%, rgba(255, 255, 255, .04) 20%, transparent 42%),
        radial-gradient(130% 100% at 50% 50%, transparent 55%, rgba(0, 0, 0, .42) 100%);
}

/* TV ke neeche brand logo (pehle yahan LED light thi) */
.tv__chin {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -2px auto 0;
    padding: 8px 26px 9px;
    width: max-content;
    background: #fff;
    border: 1px solid var(--line);
    border-top: 0;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 12px 28px rgba(10, 43, 87, .16);
}
.tv__chin img {
    height: 30px;
    width: auto;
    display: block;
}
.tv__stand {
    position: relative;
    z-index: 1;
    width: 88px;
    height: 26px;
    margin: 0 auto;
    background: linear-gradient(180deg, #1B2536, #0E1622);
    clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%);
}
.tv__base {
    position: relative;
    z-index: 1;
    width: 230px;
    height: 10px;
    margin: 0 auto;
    border-radius: 999px;
    background: linear-gradient(180deg, #26324A, #0F1622);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .55);
}

@media (max-width: 640px) {
    .tv-section { padding: 54px 0 64px }
    .tv { padding: 8px }
    .tv__screen { aspect-ratio: 16 / 9 }
    .tv__screen iframe, .tv__screen video { transform: scale(1.10) }
    .tv__chin { padding: 6px 14px 7px }
    .tv__chin img { height: 20px }
    .tv__stand { width: 70px; height: 26px }
    .tv__base { width: 190px; height: 10px }
}


/* =====================================================================
   v2.9.1 — Floating social bar (right side, sticky)
   ===================================================================== */
.social-rail {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 55;
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-radius: 14px 0 0 14px;
    overflow: hidden;
    box-shadow: -6px 10px 28px rgba(10, 43, 87, .22);
}
.social-rail a {
    width: 52px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.12rem;
    transition: width .2s ease, filter .2s ease;
}
.social-rail a:hover { width: 60px; color: #fff; filter: brightness(1.08) }
.social-rail .sr-wa { background: #25D366 }
.social-rail .sr-fb { background: #1877F2 }
.social-rail .sr-ig { background: linear-gradient(135deg, #833AB4 0%, #E1306C 55%, #F77737 100%) }

@media (max-width: 640px) {
    .social-rail { top: auto; bottom: 90px; transform: none; border-radius: 12px 0 0 12px }
    .social-rail a { width: 44px; height: 42px; font-size: 1rem }
    .social-rail a:hover { width: 48px }
}

/* =====================================================================
   v3.0 — Official fee notice (hero ke upar, attention-grabbing)
   ===================================================================== */

.fee-notice__box {
    position: relative;
    border-radius: 22px;
    padding: 1.9rem 1.7rem 1.5rem;
    overflow: hidden;
    background:
        radial-gradient(600px 300px at 100% 0%, rgba(255, 90, 0, .14), transparent 60%),
        linear-gradient(160deg, #FFFFFF 0%, #FFF7F2 100%);
    border: 2px solid var(--jp-orange);
    box-shadow: 0 18px 46px rgba(255, 90, 0, .16);
    animation: feePulse 3.4s ease-in-out infinite;
}
@keyframes feePulse {
    0%, 100% { box-shadow: 0 18px 46px rgba(255, 90, 0, .16) }
    50%      { box-shadow: 0 18px 56px rgba(255, 90, 0, .30) }
}
/* upar chalti hui warning stripe */
.fee-notice__box::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 6px;
    background: repeating-linear-gradient(
        45deg,
        var(--jp-orange) 0 14px,
        #FFB800 14px 28px
    );
    background-size: 40px 100%;
    animation: feeStripe 1.1s linear infinite;
}
@keyframes feeStripe { to { background-position: 40px 0 } }

.fee-notice__ribbon {
    position: absolute;
    top: 16px;
    right: -42px;
    transform: rotate(38deg);
    background: var(--jp-orange);
    color: #fff;
    font-family: var(--ff-display);
    font-weight: 800;
    font-size: .72rem;
    letter-spacing: .04em;
    padding: .4rem 3rem;
    box-shadow: 0 6px 16px rgba(255, 90, 0, .35);
}

.fee-notice__head {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.3rem;
}
.fee-notice__siren {
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: var(--jp-orange);
    color: #fff;
    font-size: 1.4rem;
    animation: feeSiren 1.5s ease-in-out infinite;
}
@keyframes feeSiren {
    0%, 100% { transform: scale(1);    box-shadow: 0 0 0 0 rgba(255, 90, 0, .45) }
    50%      { transform: scale(1.06); box-shadow: 0 0 0 12px rgba(255, 90, 0, 0) }
}
.fee-notice__head h2 {
    font-size: clamp(1.15rem, 2.2vw, 1.55rem);
    margin: 0 0 .25rem;
    line-height: 1.25;
}
.fee-notice__head p { margin: 0; color: var(--muted); font-size: .93rem }
.fee-notice__strike {
    position: relative;
    color: var(--jp-orange);
    font-weight: 800;
}
.fee-notice__strike::after {
    content: "";
    position: absolute;
    left: -2%;
    right: -2%;
    top: 52%;
    height: 3px;
    border-radius: 3px;
    background: var(--jp-orange);
    transform: rotate(-2deg);
}

.fee-notice__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .9rem;
    margin-bottom: 1.25rem;
}
.fee-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .35rem;
    background: var(--white);
    border: 1.5px solid var(--line);
    border-radius: 16px;
    padding: 1.05rem .8rem 1rem;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.fee-card:hover {
    transform: translateY(-5px);
    border-color: var(--jp-orange);
    box-shadow: 0 16px 32px rgba(255, 90, 0, .16);
}
.fee-card__ico {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.05rem;
}
.fee-card:nth-child(1) .fee-card__ico { background: var(--jp-blue-50);   color: var(--jp-blue) }
.fee-card:nth-child(2) .fee-card__ico { background: var(--jp-cyan-50);   color: var(--jp-cyan-600) }
.fee-card:nth-child(3) .fee-card__ico { background: var(--jp-lime-50);   color: var(--jp-lime-600) }
.fee-card:nth-child(4) .fee-card__ico { background: var(--jp-orange-50); color: var(--jp-orange) }
.fee-card__role {
    font-family: var(--ff-display);
    font-weight: 600;
    font-size: .84rem;
    color: var(--muted);
}
.fee-card__amt {
    font-family: var(--ff-display);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--jp-navy);
    letter-spacing: -.01em;
}

.fee-notice__foot {
    border-top: 2px dashed #FFD3B8;
    padding-top: 1.15rem;
}
.fee-notice__points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .7rem 1.5rem;
    margin: 0 0 1.15rem;
}
.fee-notice__points li {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    font-size: .89rem;
    color: #7C2D12;
    line-height: 1.5;
}
.fee-notice__points li i {
    color: var(--jp-orange);
    font-size: .92rem;
    margin-top: .18rem;
    flex: 0 0 auto;
}
.fee-notice__actions { display: flex; gap: .7rem; flex-wrap: wrap; justify-content: flex-end }
.fee-notice__actions .btn { padding: .72rem 1.25rem; font-size: .9rem }

@media (max-width: 900px) {
    .fee-notice__grid { grid-template-columns: repeat(2, 1fr) }
    .fee-notice__points { grid-template-columns: 1fr }
    .fee-notice__actions { justify-content: flex-start }
}
@media (max-width: 640px) {
    .fee-notice { padding: 16px 0 0 }
    .fee-notice__box { padding: 1.5rem 1.1rem 1.2rem; border-radius: 18px }
    .fee-notice__ribbon { font-size: .64rem; padding: .35rem 2.6rem; right: -46px }
    .fee-notice__siren { width: 44px; height: 44px; font-size: 1.15rem }
    .fee-card__amt { font-size: 1.3rem }
    .fee-notice__actions .btn { flex: 1 1 100%; justify-content: center }
}


/* =====================================================================
   v4.1 — Fee notice ab POPUP (modal) hai
   ===================================================================== */
.fee-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    overflow-y: auto;
}
.fee-modal[hidden] { display: none }

.fee-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 30, 62, .62);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity .38s ease;
}
.fee-modal.is-open .fee-modal__backdrop { opacity: 1 }

.fee-modal__dialog {
    position: relative;
    width: min(980px, 100%);
    overflow: visible;
    margin: auto;
    /* band -> khula: neeche se uthta hua + halka zoom */
    opacity: 0;
    transform: translateY(46px) scale(.94);
    transition: opacity .45s cubic-bezier(.22, 1, .36, 1),
                transform .55s cubic-bezier(.34, 1.56, .64, 1);   /* halka bounce */
}
.fee-modal.is-open .fee-modal__dialog {
    opacity: 1;
    transform: translateY(0) scale(1);
}
/* band hote waqt: neeche girta hua */
.fee-modal.is-closing .fee-modal__backdrop { opacity: 0 }
.fee-modal.is-closing .fee-modal__dialog {
    opacity: 0;
    transform: translateY(34px) scale(.96);
    transition: opacity .3s ease, transform .3s cubic-bezier(.4, 0, 1, 1);
}

/* modal ke andar box thoda adjust */
.fee-modal .fee-notice__box {
    animation: none;                     /* modal me pulse ki zarurat nahi */
    box-shadow: 0 40px 90px rgba(0, 0, 0, .38);
}

.fee-modal__close {
    position: absolute;
    top: -16px;
    right: -16px;
    z-index: 20;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: var(--white);
    color: var(--jp-navy);
    font-size: 1.05rem;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(10, 43, 87, .22);
    transition: transform .2s ease, background .2s ease, color .2s ease;
}
.fee-modal__close:hover {
    transform: rotate(90deg);
    background: var(--jp-orange);
    color: #fff;
}

/* jab popup khula ho to background scroll band */
body.fee-modal-open { overflow: hidden }

@media (max-width: 640px) {
    .fee-modal { padding: 14px 10px; align-items: flex-start }
    .fee-modal__dialog { margin: 8px auto }
    .fee-modal__close { top: -10px; right: -8px; width: 34px; height: 34px; font-size: .92rem }
}

/* popup me ribbon thoda andar, taaki close button saaf dikhe */
.fee-modal .fee-notice__ribbon { top: 26px; right: -46px }
@media (max-width: 640px) { .fee-modal .fee-notice__ribbon { top: 20px } }
