/* Add code kingshuk 12/11/2026 : colours and fonts of this file now come only from the Infinity UI Guideline values (neutral greys, brand navy, links colour, white tints); Montserrat and the teal / cyan decoration were removed.
   Add code kingshuk 15/10/2026 : OPTIONAL landing "hero" style for Home/Index and Home/ResumeApplication.
   Loaded only when Web.config appSetting LandingStyle = "hero" (and UiTheme = kui). Everything is scoped to body.kui-landing.
   Switch back to the previous landing look: set LandingStyle to "classic" (or delete the key). Nothing else depends on this file. */

/* Hero: soft light sources on the existing navy gradient (tokens unchanged) */
body.kui-landing .kui-auth-hero {
    /* Add code kingshuk 12/11/2026 : fixed original left-side theme (same in Light and Dark) */
    --kui-hero-bg: linear-gradient(160deg, #173A63 0%, #102B4E 58%); --kui-hero-text: #FFFFFF; --kui-hero-muted: #E2EAF4; --kui-hero-faint: #C0D0E2; --kui-hero-card: rgba(255, 255, 255, .06); --kui-hero-line: rgba(255, 255, 255, .14); --kui-hero-chip: rgba(255, 255, 255, .10); --kui-hero-chip-fg: #D6E5F7; --kui-hero-accent: #5eead4;
    background:
        radial-gradient(760px 480px at 88% 6%, rgba(91, 158, 224, .26), transparent 62%),
        radial-gradient(620px 420px at 0% 100%, rgba(47, 191, 113, .09), transparent 60%),
        var(--kui-hero-bg);
}

/* Add code kingshuk 16/10/2026 : artwork is a full-bleed layer behind the hero copy, one artwork per page (open = market + skyline, resume = progress rings).
   Previous in-flow illustration: Content/kui/kui-hero-invest.svg (kept, unused). */
body.kui-landing .kui-auth-hero > div:nth-of-type(1) { position: static; }
body.kui-landing .kui-hero-art { position: absolute; inset: 0; z-index: 0; margin: 0; pointer-events: none; }
body.kui-landing .kui-hero-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
body.kui-landing .kui-hero-art--open img { object-position: 74% 100%; }
body.kui-landing .kui-hero-art--resume img { object-position: 62% 50%; }
/* legibility veil: the copy sits on calm navy, the artwork opens up towards the right */
body.kui-landing .kui-hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16, 43, 78, .8) 0%, rgba(16, 43, 78, .5) 40%, rgba(16, 43, 78, 0) 78%); }
body.kui-landing .kui-hero-logo, body.kui-landing .kui-auth-hero h1, body.kui-landing .kui-auth-hero p.lead, body.kui-landing .kui-points, body.kui-landing .kui-hero-foot { position: relative; z-index: 1; }

/* Hero copy: one consistent hierarchy on both pages (Montserrat heading, Roboto text) */
body.kui-landing .kui-auth-hero > div:nth-of-type(1) { max-width: 34rem; }
body.kui-landing .kui-auth-hero h1 { max-width: 15em; margin: 0 0 16px; font-family: var(--kui-font-heading); font-size: clamp(30px, 2.8vw, 40px); font-weight: 500; line-height: 1.18; letter-spacing: normal; text-wrap: balance; }
body.kui-landing .kui-auth-hero p.lead { max-width: 31em; margin: 0 0 28px; font-family: var(--kui-font); font-size: var(--16); line-height: 1.65; text-wrap: pretty; }

/* Add code kingshuk 22/10/2026 : Open page hero = faint full-hero candle chart (.kui-hero-bgchart) + real-screenshot laptop/phone artwork (.kui-hero-art--trade).
   Viewport < 1760px: a compact laptop above the heading. Viewport >= 1760px: laptop + phone sit in the free area right of the copy; the copy column is capped at 26rem so they cannot touch. */
body.kui-landing .kui-hero-bgchart { position: absolute; inset: 0; z-index: 0; margin: 0; pointer-events: none; }
body.kui-landing .kui-hero-bgchart img { display: block; width: 100%; height: 100%; object-fit: cover; }

body.kui-landing .kui-hero-art--trade { display: none; }
body.kui-landing .kui-hero-art--trade::after { display: none; }
body.kui-landing .kui-hero-art--trade .kui-trade-img { display: none; }


@media (min-width: 1760px) {
    body.kui-landing .kui-hero-art--trade { position: absolute; top: 50%; right: 18px; bottom: auto; left: auto; display: block; container-type: inline-size; margin: 0; height: auto; aspect-ratio: 500 / 760; transform: translateY(-50%);
        width: min(calc(100% - 74px - 26.5rem), calc((100vh - 100px) * .6579)); width: min(calc(100% - 74px - 26.5rem), calc((100dvh - 100px) * .6579)); }
    body.kui-landing .kui-hero-art--trade .kui-trade-img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 50%; }
    body.kui-landing .kui-hero-art--trade ~ h1, body.kui-landing .kui-hero-art--trade ~ p.lead, body.kui-landing .kui-hero-art--trade ~ .kui-points { max-width: 26rem; }
}
/* Add code kingshuk 22/10/2026 : Open page polish. Animated gradient on the key phrase, refined benefit cards (accent bar, hover lift, icon glow), soft light on the form side. Presentation only. */
/* Add code kingshuk 12/11/2026 : original teal / cyan gradient restored on the left side; it does not depend on the Light / Dark theme */
body.kui-landing .kui-hl { background: linear-gradient(90deg, #7dd3fc 0%, #5eead4 45%, #7dd3fc 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; animation: kuiHl 7s linear infinite; }
@keyframes kuiHl { to { background-position: -220% 0; } }
body.kui-landing .kui-points li { position: relative; border-color: rgba(143, 190, 255, .16); background: linear-gradient(135deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .025)); transition: border-color .25s ease, background-color .25s ease, translate .25s ease, box-shadow .25s ease; }
body.kui-landing .kui-points li::before { content: ""; position: absolute; left: 0; top: 16%; bottom: 16%; width: 3px; border-radius: 0 3px 3px 0; background: linear-gradient(#5eead4, #6fb1ff); opacity: .7; transition: opacity .25s ease; }
body.kui-landing .kui-points li:hover { translate: 0 -2px; border-color: rgba(111, 177, 255, .45); box-shadow: 0 10px 24px rgba(2, 10, 24, .28); }
body.kui-landing .kui-points li:hover::before { opacity: 1; }
body.kui-landing .kui-points li .kui-point-icon { animation: kuiIcon 5.5s ease-in-out infinite; }
body.kui-landing .kui-points li:nth-child(2) .kui-point-icon { animation-delay: 1.8s; }
body.kui-landing .kui-points li:nth-child(3) .kui-point-icon { animation-delay: 3.6s; }
@keyframes kuiIcon { 0%, 100% { box-shadow: 0 0 0 0 rgba(94, 234, 212, 0); } 50% { box-shadow: 0 0 0 5px rgba(94, 234, 212, .12); } }
body.kui-landing .kui-auth-panel { background-image: none; }
@media (prefers-reduced-motion: reduce) {
    body.kui-landing .kui-hl, body.kui-landing .kui-points li .kui-point-icon { animation: none; }
    body.kui-landing .kui-points li:hover { translate: none; }
}
/* Add code kingshuk 22/10/2026 : real Infinity screenshots inside a CSS laptop and phone. Two independent pure-CSS crossfade sliders (desktop 15s cycle, mobile 12s cycle; first image visible from the first frame, all three preloaded in the DOM).
   Viewport < 1760px: laptop only, centred. Viewport >= 1760px: laptop + phone over the stage artwork. Sizes use cqw of the artwork container. */
body.kui-landing .kui-dev { z-index: 1; }
body.kui-landing .kui-dev--lap { position: relative; width: min(76%, 430px); margin: 0 auto; animation: kuiDrop 1.3s cubic-bezier(.22, 1, .36, 1) .1s both, kuiLapFloat 10s ease-in-out 2.2s infinite; }
body.kui-landing .kui-dev--phone { display: none; }
body.kui-landing .kui-lap-screen { position: relative; padding: 1.6cqw; border-radius: 3cqw; background: linear-gradient(135deg, #4a6f9f, #1c3a66 50%, #14284a); box-shadow: 0 2.4cqw 5cqw rgba(2, 10, 24, .5), inset 0 0 0 1px rgba(140, 196, 255, .22); }
body.kui-landing .kui-lap-base { position: relative; width: 121%; margin-left: -10.5%; height: 6cqw; background: linear-gradient(#3a5b88, #0f2140); clip-path: polygon(4% 0, 96% 0, 100% 64%, 98.5% 100%, 1.5% 100%, 0 64%); }
body.kui-landing .kui-lap-base::after { content: ""; position: absolute; left: 41%; top: 0; width: 18%; height: 24%; border-radius: 0 0 99px 99px; background: #081528; }
body.kui-landing .kui-shots { position: relative; overflow: hidden; background: #050b14; --cycle: 15s; }
body.kui-landing .kui-shots--d { aspect-ratio: 1200 / 592; border-radius: 1.2cqw; }
body.kui-landing .kui-shots--m { --cycle: 12s; position: absolute; inset: 0; }
body.kui-landing .kui-shots img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: top center; opacity: 0; }
body.kui-landing .kui-shots img:first-child { opacity: 1; }
body.kui-landing .kui-shots img:nth-child(1) { animation: kuiShotA var(--cycle) linear infinite; }
body.kui-landing .kui-shots img:nth-child(2) { animation: kuiShotB var(--cycle) linear infinite; }
body.kui-landing .kui-shots img:nth-child(3) { animation: kuiShotC var(--cycle) linear infinite; }
body.kui-landing .kui-phone-drop { animation: kuiDrop 1.3s cubic-bezier(.22, 1, .36, 1) .95s both; }
body.kui-landing .kui-phone { position: relative; aspect-ratio: 150 / 300; border-radius: 17.3% / 8.7%; background: #0a1222; box-shadow: 0 0 0 .45cqw #2f5384, 0 3cqw 7cqw rgba(2, 10, 24, .6), inset 0 0 0 1px rgba(140, 196, 255, .2); animation: kuiPhoneFloat 9s ease-in-out 2.4s infinite; }
body.kui-landing .kui-phone::before { content: ""; position: absolute; left: -1.1cqw; top: 24%; width: .6cqw; height: 7%; border-radius: .3cqw; background: #2f5384; box-shadow: 0 11cqw 0 #2f5384; }
body.kui-landing .kui-phone::after { content: ""; position: absolute; right: -1.1cqw; top: 34%; width: .6cqw; height: 14%; border-radius: .3cqw; background: #2f5384; }
body.kui-landing .kui-phone-screen { position: absolute; inset: 2% 4%; border-radius: 13.3% / 6.7%; overflow: hidden; background: #050b14; }
body.kui-landing .kui-phone-notch { position: absolute; top: 2.9%; left: 37%; width: 26%; height: 1.9%; border-radius: 99px; background: #050b16; }
@media (min-width: 1760px) {
    body.kui-landing .kui-dev--lap { position: absolute; left: 5%; top: 30%; width: 91%; margin: 0; }
    body.kui-landing .kui-dev--phone { display: block; position: absolute; left: 8%; top: 51.6%; width: 37%; transform: rotate(-5deg); transform-origin: 0 0; z-index: 2; } /* Add code kingshuk 22/10/2026 : phone position restored to its earlier left/top; tilt (-5deg) restored at the owner request */
}@keyframes kuiDrop { from { opacity: 0; transform: translateY(-10cqw); } to { opacity: 1; transform: none; } }
@keyframes kuiLapFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -.8cqw; } }
@keyframes kuiPhoneFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -1cqw; } }
/* crossfade: each image stays opaque until the next one is fully visible above it (stack order = DOM order) */
@keyframes kuiShotA { 0% { opacity: 1; } 34% { opacity: 1; } 34.01% { opacity: 0; } 93.9% { opacity: 0; } 94% { opacity: 1; } 100% { opacity: 1; } }
@keyframes kuiShotB { 0%, 27.3% { opacity: 0; } 33.3%, 66.6% { opacity: 1; } 67%, 100% { opacity: 0; } }
@keyframes kuiShotC { 0%, 60.6% { opacity: 0; } 66.6%, 94% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
    body.kui-landing .kui-dev--lap, body.kui-landing .kui-phone-drop, body.kui-landing .kui-phone { animation: none; }
    body.kui-landing .kui-shots img { animation: none !important; }
    body.kui-landing .kui-shots img:not(:first-child) { opacity: 0; }
}
/* Add code kingshuk 22/10/2026 : Open page copy + benefit cards refinement (scoped to the Open page through the trade artwork sibling selector, so the Resume page is unaffected). */
body.kui-landing .kui-hero-art--trade ~ h1 { letter-spacing: -.022em; text-shadow: 0 2px 20px rgba(2, 10, 24, .35); }
body.kui-landing .kui-hero-art--trade ~ h1::after { content: ""; display: block; width: 64px; height: 3px; margin-top: 16px; border-radius: 3px; background: linear-gradient(90deg, #5eead4, #6fb1ff); }
body.kui-landing .kui-hero-art--trade ~ p.lead { color: rgba(226, 238, 255, .88); }
body.kui-landing .kui-hero-art--trade ~ .kui-points { gap: 12px; }
body.kui-landing .kui-hero-art--trade ~ .kui-points li { padding: 15px 18px; border: 1px solid transparent; border-radius: 14px;
    background: linear-gradient(150deg, rgba(30, 66, 116, .62), rgba(12, 32, 62, .72)) padding-box, linear-gradient(130deg, rgba(125, 211, 252, .45), rgba(125, 211, 252, .08) 45%, rgba(94, 234, 212, .26)) border-box;
    box-shadow: 0 12px 28px rgba(2, 10, 24, .3), inset 0 1px 0 rgba(255, 255, 255, .06); }
body.kui-landing .kui-hero-art--trade ~ .kui-points li::before { display: none; }
body.kui-landing .kui-hero-art--trade ~ .kui-points li:hover { border-color: transparent; box-shadow: 0 16px 34px rgba(2, 10, 24, .38), 0 0 0 1px rgba(125, 211, 252, .28); }
body.kui-landing .kui-hero-art--trade ~ .kui-points li .kui-point-icon { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 13px; border: 1px solid rgba(125, 211, 252, .32); background: linear-gradient(145deg, rgba(94, 234, 212, .22), rgba(111, 177, 255, .16)); color: #9ee7f5; }
body.kui-landing .kui-hero-art--trade ~ .kui-points li b { font-size: var(--14); letter-spacing: normal; }
/* ---------------------------------------------------------------- Form card refinement (Add code kingshuk 15/10/2026) ----------------------------------------------------------------
   Presentation only: same fields, labels, buttons and links. Headings Montserrat, everything else Roboto (tokens). */
body.kui-landing .kui-auth-card .card { border-radius: 16px; border-color: var(--kui-border); box-shadow: var(--kui-shadow-1); }
body.kui-landing .kui-auth-card .card-body { padding: 36px 32px 28px; }
body.kui-landing .kui-auth-card h2 { font-family: var(--kui-font-heading); font-size: var(--24); font-weight: 500; letter-spacing: normal; line-height: 1.25; }
body.kui-landing .kui-auth-card .kui-sub { font-family: var(--kui-font); font-size: var(--14); line-height: 1.5; margin-bottom: 24px; }
body.kui-landing .kui-auth-card label { margin-bottom: 6px; font-family: var(--kui-font); font-size: var(--14); font-weight: 500; letter-spacing: normal; color: var(--kui-text-muted); }
body.kui-landing .kui-auth-card .form-control { min-height: 46px; padding: 0 14px; border: 1px solid transparent; border-radius: 10px; background-color: var(--kui-input-bg); font-family: var(--kui-font); font-size: var(--14); letter-spacing: normal; color: var(--kui-text); }
body.kui-landing .kui-auth-card .form-control::placeholder { letter-spacing: normal; }
body.kui-landing .kui-auth-card .form-control:hover { background-color: var(--kui-input-bg-hover); }
body.kui-landing .kui-auth-card .form-control:focus { border-color: var(--kui-btn); box-shadow: none; }
body.kui-landing .kui-auth-card .input-group > .form-control { border-top-right-radius: 0; border-bottom-right-radius: 0; }
body.kui-landing .kui-auth-card .input-group-text { min-height: 46px; padding: 0 14px; border: 1px solid transparent; border-left: 0; border-radius: 0 10px 10px 0; background-color: var(--kui-input-bg) !important; color: var(--kui-text-muted); }
body.kui-landing .kui-auth-card .form-check-input { margin-top: 0; }
body.kui-landing .kui-auth-card .btn-primary { min-height: var(--kui-btn-h-lg); border-radius: var(--kui-btn-radius); background: var(--kui-btn); border-color: var(--kui-btn); font-family: var(--kui-font-button); font-size: var(--14); font-weight: 600; letter-spacing: normal; box-shadow: none; transition: background-color .15s, border-color .15s; }
body.kui-landing .kui-auth-card .btn-primary:hover { background: var(--kui-btn-hover); border-color: var(--kui-btn-hover); }
body.kui-landing .kui-auth-card .btn-primary:focus-visible { outline: 3px solid var(--kui-focus); outline-offset: 2px; }

@media (max-width: 575.98px) {
    body.kui-landing .kui-auth-card .card-body { padding: 26px 20px 22px; }
}
/* ---------------------------------------------------------------- Motion (Add code kingshuk 16/10/2026) ----------------------------------------------------------------
   Staggered entrance for the hero copy and the form card, plus a slow settle on the artwork (the artwork files animate themselves). Disabled for reduced-motion users. */
@keyframes kuiRise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes kuiArtIn { from { opacity: 0; transform: scale(1.05); } to { opacity: 1; transform: none; } }
body.kui-landing .kui-hero-art img { animation: kuiArtIn 1.4s ease-out both; }
body.kui-landing .kui-auth-hero h1 { animation: kuiRise .7s .1s ease-out both; }
body.kui-landing .kui-auth-hero p.lead { animation: kuiRise .7s .25s ease-out both; }
body.kui-landing .kui-points li { animation: kuiRise .6s ease-out both; }
body.kui-landing .kui-points li:nth-child(1) { animation-delay: .4s; }
body.kui-landing .kui-points li:nth-child(2) { animation-delay: .52s; }
body.kui-landing .kui-points li:nth-child(3) { animation-delay: .64s; }
body.kui-landing .kui-auth-card { animation: kuiRise .65s .15s ease-out both; }
@media (prefers-reduced-motion: reduce) {
    body.kui-landing .kui-hero-art img, body.kui-landing .kui-auth-hero h1, body.kui-landing .kui-auth-hero p.lead, body.kui-landing .kui-points li, body.kui-landing .kui-auth-card { animation: none; }
}
/* Add code kingshuk 22/10/2026 : footer badge with the official Infinity by Eureka logo (white chip, because the logo text is navy) */
body.kui-landing .kui-hero-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
body.kui-landing .kui-foot-brand { flex: none; display: inline-flex; align-items: center; }
body.kui-landing .kui-foot-brand img { display: block; height: 46px; width: auto; }
body.kui-landing .kui-foot-brand:focus-visible { outline: 3px solid var(--kui-focus); outline-offset: 3px; }

/* Add code kingshuk 22/10/2026 : SEBI registration line inside the SEBI-regulated broker card */
body.kui-landing .kui-points li small.kui-reg { display: block; margin-top: 3px; font-size: var(--12); font-weight: 400; letter-spacing: normal; color: #9ee7f5; }

/* Add code kingshuk 22/10/2026 : screenshot crispness. Sources are pre-scaled close to display size (480/960px desktop, 210/420px mobile, picked by srcset), the phone is no longer rotated (rotation re-rasterises text) and no filter or scale is applied to the images. */
body.kui-landing .kui-shots img { image-rendering: auto; backface-visibility: hidden; }
