/* Credit card centre in the supplied "nova" design (V2.4), scoped to .ccx / .ccx-all so the rest of the site is untouched. */
.ccx, .ccx-all { --cx-navy: #071539; --cx-navy2: #0C2361; --cx-royal: #1E4FD8; --cx-royal2: #2F63FF; --cx-sky: #5FA8FF; --cx-ice: #F4F8FF; --cx-slate: #5C6B8A; --cx-light: #93A2C4; --cx-line: rgba(30,79,216,.14); --cx-shadow: 0 20px 50px -20px rgba(11,31,77,.25); }
.ccx { background: var(--cx-ice); color: var(--cx-navy); overflow-x: hidden; }
.ccx h1, .ccx h2, .ccx h3, .ccx-h2, .ccx-allhead h2 { font-family: 'Space Grotesk', var(--font-head); letter-spacing: -.02em; }
.ccx-wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.ccx-sec { padding: 56px 0; }
.ccx-sec--top { padding-top: 28px; }
.ccx-sec--tight { padding: 36px 0; }
.ccx-center { text-align: center; }
.ccx-h2 { font-size: clamp(26px, 3.6vw, 36px); font-weight: 600; margin: 0 0 8px; color: var(--cx-navy); }
.ccx-accent { background: linear-gradient(100deg, var(--cx-royal) 10%, var(--cx-sky) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ccx-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cx-royal); background: #E9F0FF; padding: 7px 14px 7px 10px; border-radius: 100px; margin: 0 0 14px; }
.ccx-eyebrow--light { background: rgba(255,255,255,.14); color: #dfe8ff; }
.ccx-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cx-royal2); animation: ccxPulse 1.8s infinite; }
.ccx-eyebrow--light .ccx-dot { background: #9cc2ff; }
@keyframes ccxPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(1.3); } }

/* reveal on scroll */
.ccx-reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.16,.84,.44,1), transform .7s cubic-bezier(.16,.84,.44,1); }
.ccx-reveal.is-in { opacity: 1; transform: none; }
.ccx-d1 { transition-delay: .08s; } .ccx-d2 { transition-delay: .16s; }

/* buttons */
.ccx-btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 100px; font-weight: 700; font-size: 15px; text-decoration: none; border: 1.5px solid transparent; transition: transform .25s, background .25s, color .25s; cursor: pointer; }
.ccx-btn:hover { transform: translateY(-2px); }
.ccx-btn--white { background: #fff; color: var(--cx-navy); }
.ccx-btn--white:hover { color: var(--cx-royal); }
.ccx-btn--ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.ccx-btn--ghost:hover { background: #fff; color: var(--cx-navy); }
.ccx-btn--outline { border-color: var(--cx-navy); color: var(--cx-navy); background: transparent; }
.ccx-btn--outline:hover { background: var(--cx-navy); color: #fff; }
.ccx-btn--dark { background: var(--cx-navy); color: #fff; }
.ccx-btn--dark:hover { background: var(--cx-royal); color: #fff; }

/* hero band (the design's final CTA) */
.ccx-hero { background: linear-gradient(120deg, var(--cx-navy) 0%, var(--cx-royal) 100%); border-radius: 32px; margin: 0 auto; width: calc(100% - 40px); max-width: 1160px; padding: 64px 24px; text-align: center; color: #fff; position: relative; overflow: hidden; }
.ccx-hero::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: rgba(255,255,255,.08); top: -210px; right: -110px; }
.ccx-hero::after { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(95,168,255,.14); bottom: -170px; left: -60px; }
.ccx-hero > * { position: relative; z-index: 1; }
.ccx-hero h1 { font-size: clamp(30px, 4.6vw, 48px); font-weight: 600; margin: 0 0 12px; color: #fff; line-height: 1.1; }
.ccx-hero p { color: #CBD8F5; margin: 0 auto 10px; max-width: 640px; font-size: 1.05rem; }
.ccx-hero__by { font-size: .9rem !important; color: #a9bdec !important; }
.ccx-hero__acts { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }

/* number tiles */
.ccx-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 760px) { .ccx-tiles { grid-template-columns: 1fr; } }
.ccx-tile { background: linear-gradient(160deg, #fff, #EEF4FF); border: 1px solid var(--cx-line); border-radius: 20px; padding: 30px 22px; text-align: center; box-shadow: var(--cx-shadow); transition: transform .3s; }
.ccx-tile:hover { transform: translateY(-6px); }
.ccx-tile b { font-family: 'Space Grotesk', sans-serif; font-size: 40px; background: linear-gradient(100deg, var(--cx-royal), var(--cx-sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ccx-cap { display: block; font-size: 12px; color: var(--cx-light); text-transform: uppercase; letter-spacing: .06em; margin-top: 6px; }
.ccx-desc { font-weight: 700; font-size: 14.5px; margin-top: 6px; color: var(--cx-navy); }

/* card selector */
.ccx-tabrow { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; background: #fff; border: 1px solid var(--cx-line); padding: 6px; border-radius: 100px; margin: 22px 0 40px; box-shadow: var(--cx-shadow); }
.ccx-tab { border: 0; background: transparent; padding: 10px 20px; border-radius: 100px; font: 600 13.5px var(--font-body); color: var(--cx-slate); cursor: pointer; transition: .25s; white-space: nowrap; }
.ccx-tab.is-on { background: linear-gradient(100deg, var(--cx-royal), var(--cx-royal2)); color: #fff; box-shadow: 0 8px 18px -6px rgba(30,79,216,.5); }
.ccx-tab:not(.is-on):hover { color: var(--cx-navy); }
.ccx-panel { display: none; }
.ccx-panel.is-on { display: flex; justify-content: center; align-items: center; gap: 52px; flex-wrap: wrap-reverse; text-align: left; }
.ccx-visual { width: 290px; height: 184px; border-radius: 18px; padding: 20px; position: relative; overflow: hidden; box-shadow: 0 30px 60px -18px rgba(11,31,77,.4); transition: transform .4s cubic-bezier(.16,.84,.44,1); }
.ccx-visual:hover { transform: perspective(600px) rotateY(-8deg) rotateX(4deg) translateY(-4px); }
.ccx-brand { display: flex; justify-content: space-between; gap: 8px; color: #fff; font: 700 14px 'Space Grotesk', sans-serif; position: relative; z-index: 1; }
.ccx-chip { width: 32px; height: 23px; border-radius: 5px; background: linear-gradient(135deg, #FFD98A, #F2A93B); margin-top: 28px; position: relative; z-index: 1; }
.ccx-swoosh2 { position: absolute; left: -10%; bottom: -20%; width: 70%; height: 140%; background: conic-gradient(from 120deg, #FFD98A, var(--cx-sky), var(--cx-royal2), #FFD98A); opacity: .85; border-radius: 50%; filter: blur(1px); }
.ccx-net { position: absolute; bottom: 16px; right: 18px; color: #fff; font-weight: 700; font-size: 12px; letter-spacing: .06em; }
.ccx-copy { max-width: 360px; }
.ccx-tag { color: var(--cx-royal); font-weight: 700; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; }
.ccx-copy h3 { font-size: 24px; margin: 8px 0 6px; color: var(--cx-navy); }
.ccx-copy p { color: var(--cx-slate); margin: 0 0 10px; }
.ccx-meta { font-size: .92rem; }
.ccx-more { display: inline-block; margin-left: 12px; font-weight: 600; }

/* rewards ticker */
.ccx-marquee { width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); margin-top: 16px; }
.ccx-mrow { display: flex; gap: 18px; width: max-content; animation: ccxLeft 34s linear infinite; padding: 6px 0 16px; }
.ccx-mrow--rev { animation: ccxRight 38s linear infinite; }
.ccx-marquee:hover .ccx-mrow { animation-play-state: paused; }
@keyframes ccxLeft { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes ccxRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.ccx-offer { flex: none; width: 190px; background: #fff; border: 1px solid var(--cx-line); border-radius: 16px; padding: 18px 14px; text-align: center; box-shadow: var(--cx-shadow); text-decoration: none; color: var(--cx-navy); }
.ccx-offer__badge { width: 44px; height: 44px; border-radius: 12px; margin: 0 auto 10px; display: flex; align-items: center; justify-content: center; font: 700 15px 'Space Grotesk', sans-serif; color: #fff; }
.ccx-offer__off { display: block; font-weight: 700; color: var(--cx-royal); font-size: 13.5px; line-height: 1.35; }
.ccx-offer__name { display: block; font-size: 12px; color: var(--cx-light); margin-top: 4px; }

/* RuPay on UPI */
.ccx-upi { display: flex; align-items: center; gap: 60px; flex-wrap: wrap; }
.ccx-upi__copy { flex: 1; min-width: 280px; }
.ccx-upi__copy p { color: var(--cx-slate); max-width: 440px; }
.ccx-stats { display: flex; gap: 34px; margin: 18px 0; }
.ccx-stats b { display: block; font: 700 26px 'Space Grotesk', sans-serif; color: var(--cx-navy); }
.ccx-stats span { font-size: 12.5px; color: var(--cx-light); text-transform: uppercase; letter-spacing: .05em; }
.ccx-qr { flex: 1; min-width: 260px; display: flex; justify-content: center; }
.ccx-phone { width: 230px; height: 340px; border-radius: 34px; background: linear-gradient(160deg, #fff, #EAF1FF); border: 8px solid var(--cx-navy); position: relative; box-shadow: var(--cx-shadow); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
.ccx-qrblock { width: 140px; height: 140px; border-radius: 14px; background: repeating-linear-gradient(90deg, var(--cx-navy) 0 8px, transparent 8px 16px), repeating-linear-gradient(0deg, var(--cx-navy) 0 8px, transparent 8px 16px); background-blend-mode: multiply; background-color: #fff; position: relative; overflow: hidden; }
.ccx-qrblock::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 40%, rgba(30,79,216,.35) 50%, transparent 60%); animation: ccxScan 2.4s ease-in-out infinite; }
@keyframes ccxScan { 0% { transform: translateY(-100%); } 100% { transform: translateY(100%); } }
.ccx-scan { font-size: 12px; font-weight: 700; color: var(--cx-navy); background: #E9F0FF; padding: 6px 12px; border-radius: 100px; }
.ccx-scan--dark { background: var(--cx-navy); color: #fff; }
.ccx-coin { position: absolute; width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, #FFD98A, #F2A93B); display: flex; align-items: center; justify-content: center; font: 700 15px 'Space Grotesk', sans-serif; color: #8A5A00; box-shadow: 0 10px 20px -6px rgba(242,169,59,.5); animation: ccxCoin 3.6s ease-in-out infinite; }
.ccx-c1 { top: 6%; left: -8%; } .ccx-c2 { bottom: 10%; right: -10%; animation-delay: 1.1s; } .ccx-c3 { bottom: -6%; left: 14%; animation-delay: 2s; }
@keyframes ccxCoin { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-16px) rotate(8deg); } }

/* credit score (dark) */
.ccx-score { background: radial-gradient(120% 140% at 50% -10%, var(--cx-navy2) 0%, var(--cx-navy) 55%, #050E28 100%); color: #fff; border-radius: 32px; margin: 0 auto; width: calc(100% - 40px); max-width: 1160px; padding: 70px 24px; overflow: hidden; position: relative; }
.ccx-score::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 300px at 15% 100%, rgba(95,168,255,.18), transparent 60%), radial-gradient(500px 300px at 85% 0%, rgba(47,99,255,.22), transparent 60%); pointer-events: none; }
.ccx-score__in { position: relative; z-index: 1; }
.ccx-score__head { text-align: center; max-width: 620px; margin: 0 auto 46px; }
.ccx-score__head h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 600; color: #fff; margin: 0; }
.ccx-score__head p { color: #AEBDE6; margin-top: 14px; }
.ccx-gaugewrap { display: flex; justify-content: center; align-items: center; gap: 60px; flex-wrap: wrap; }
.ccx-gauge { width: 260px; height: 170px; position: relative; }
.ccx-gauge__num { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; font: 700 44px 'Space Grotesk', sans-serif; }
.ccx-gauge__cap { position: absolute; bottom: -8px; left: 0; right: 0; text-align: center; font-size: 12px; color: #8FA3D4; letter-spacing: .06em; text-transform: uppercase; }
.ccx-float { width: 230px; height: 150px; border-radius: 16px; background: linear-gradient(135deg, var(--cx-royal) 0%, var(--cx-navy2) 60%, #050E28 100%); position: relative; padding: 18px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); animation: ccxFloat 4.5s ease-in-out infinite; overflow: hidden; }
.ccx-float::after { content: ""; position: absolute; top: -40%; left: -20%; width: 60%; height: 180%; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.18) 45%, transparent 60%); animation: ccxSheen 3.5s ease-in-out infinite; }
@keyframes ccxFloat { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-14px) rotate(1deg); } }
@keyframes ccxSheen { 0% { transform: translateX(-40%) rotate(15deg); } 100% { transform: translateX(280%) rotate(15deg); } }
.ccx-num { margin-top: 16px; font-size: 12px; letter-spacing: .12em; color: #D9E2F7; position: relative; z-index: 1; }
.ccx-swoosh { position: absolute; right: 16px; bottom: 14px; width: 70px; height: 70px; border-radius: 50%; background: conic-gradient(from 200deg, var(--cx-sky), var(--cx-royal2), #FFD98A, var(--cx-sky)); opacity: .85; }
.ccx-score__acts { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.ccx-know { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-weight: 600; font-size: 14.5px; text-decoration: none; padding: 12px 24px; border: 1px solid rgba(255,255,255,.25); border-radius: 100px; transition: .25s; }
.ccx-know:hover { background: #fff; color: var(--cx-navy); }

/* how it works (the design's story cards, with our steps instead of reviews) */
.ccx-story { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 26px; }
@media (max-width: 900px) { .ccx-story { grid-template-columns: 1fr; } }
.ccx-storycard { background: #fff; border: 1px solid var(--cx-line); border-radius: 20px; padding: 26px; box-shadow: var(--cx-shadow); transition: transform .35s cubic-bezier(.16,.84,.44,1), box-shadow .35s; }
.ccx-storycard:hover { transform: translateY(-6px); box-shadow: 0 28px 60px -20px rgba(30,79,216,.28); }
.ccx-storytop { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.ccx-avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--cx-sky), var(--cx-royal)); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; flex: none; }
.ccx-storyname { font-weight: 700; }
.ccx-storycard p { color: var(--cx-slate); margin: 0; font-size: 14.5px; line-height: 1.6; }

/* intro: card fly-in + flip */
html.ccx-lock, html.ccx-lock body { overflow: hidden; }
.ccx-intro { position: fixed; inset: 0; z-index: 200; background: radial-gradient(120% 140% at 50% 20%, var(--cx-navy2) 0%, var(--cx-navy) 55%, #050E28 100%); display: flex; align-items: center; justify-content: center; transition: opacity .6s ease, visibility .6s ease; cursor: pointer; }
.ccx-intro.is-gone { opacity: 0; visibility: hidden; pointer-events: none; }
.ccx-intro__stage { width: 280px; height: 180px; perspective: 1200px; }
.ccx-intro__card { width: 100%; height: 100%; position: relative; transform-style: preserve-3d; opacity: 0; animation: ccxFlip 2s cubic-bezier(.2,.85,.3,1) forwards; }
.ccx-intro__face { position: absolute; inset: 0; border-radius: 18px; padding: 20px; backface-visibility: hidden; box-shadow: 0 30px 70px -20px rgba(0,0,0,.55); overflow: hidden; }
.ccx-intro__front { background: linear-gradient(135deg, var(--cx-royal) 0%, var(--cx-navy2) 60%, #050E28 100%); }
.ccx-intro__back { background: linear-gradient(135deg, #050E28 0%, var(--cx-navy2) 45%, var(--cx-royal) 100%); color: #fff; transform: rotateY(180deg); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.ccx-stripe { width: 100%; height: 34px; background: #0A1A44; position: absolute; top: 22px; left: 0; }
.ccx-intro__back b { font: 700 20px 'Space Grotesk', sans-serif; }
.ccx-intro__back span { font-size: 11.5px; color: #9FB4E6; letter-spacing: .08em; text-transform: uppercase; }
@keyframes ccxFlip { 0% { opacity: 0; transform: translateY(140px) scale(.7); } 28% { opacity: 1; transform: none; } 62% { transform: none; } 88%, 100% { opacity: 1; transform: rotateY(180deg); } }

/* the compare / filter / apply area, restyled */
.ccx-all { background: var(--cx-ice); }
.ccx-allhead { text-align: center; padding-top: 10px; }
.ccx-allhead h2 { font-size: clamp(26px, 3.6vw, 36px); font-weight: 600; margin: 0 0 6px; color: var(--cx-navy); }
.ccx-chips { display: flex; justify-content: center; margin: 14px auto 6px; }
.ccx-all .ccards__filter { border-radius: 20px; border: 1px solid var(--cx-line); box-shadow: var(--cx-shadow); }
.ccx-all .iplan.ccard { border-radius: 20px; border: 1px solid var(--cx-line); box-shadow: var(--cx-shadow); transition: transform .3s; }
.ccx-all .iplan.ccard:hover { transform: translateY(-4px); }
.ccx-all .btn--primary { border-radius: 100px; background: linear-gradient(100deg, var(--cx-royal), var(--cx-royal2)); }

@media (prefers-reduced-motion: reduce) {
    .ccx *, .ccx-all * { animation: none !important; transition: none !important; }
    .ccx-reveal { opacity: 1; transform: none; }
}
@media (max-width: 640px) {
    .ccx-sec { padding: 40px 0; }
    .ccx-hero, .ccx-score { border-radius: 24px; width: calc(100% - 24px); padding: 44px 18px; }
    .ccx-panel.is-on { gap: 28px; }
    .ccx-visual { width: 100%; max-width: 320px; }
}
