/* Kredtap's existing assets, with a calmer, more structured visual system. */
:root {
    --primary: #3868ed;
    --primary-hover: #2653cf;
    --primary-container: #edf2ff;
    --blue-dark: #152a46;
    --blue-mid: #23466a;
    --secondary: #566872;
    --background: #f6f8fc;
    --border-subtle: #dce5e5;
}
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { overflow-x: clip; }
* { font-family: 'Inter', 'Nirmala UI', system-ui, sans-serif; }
html[lang=mni-Mtei] :not(i) { font-family: 'Noto Sans Meetei Mayek', 'Inter', sans-serif; }
.reveal { opacity: 1; transform: none; }
::selection { background: #cdece3; color: #102a35; }
a, button, select, input { -webkit-tap-highlight-color: transparent; }
:focus-visible, input[type=range]:focus-visible { outline: 3px solid #3573e4; outline-offset: 5px; }
.container { max-width: 1280px; padding-inline: 5%; }
.section-padding { padding-block: 94px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
header { padding: 17px 5%; min-height: 84px; gap: 22px; background: rgba(255,255,255,.96); }
.logo { font-size: 27px; letter-spacing: -1px; flex-shrink: 0; }
nav ul { gap: 23px; }
nav ul li a { font-size: 13px; font-weight: 600; }
.nav-actions { align-items: center; gap: 14px; }
.btn { border-radius: 12px; padding: 13px 22px; line-height: 1.5; text-align: center; }
.btn-primary { background: linear-gradient(120deg,#376cf5,#5559de); box-shadow: 0 5px 14px #3868ed20; }
.btn-primary:hover { box-shadow: 0 6px 16px #2854d71a; }
.language-control { position: relative; display: flex; align-items: center; gap: 8px; color: var(--blue-dark); }
.language-control > i { position: absolute; inset-inline-start: 12px; pointer-events: none; font-size: 14px; }
.language-control select { width: 170px; min-height: 44px; padding: 10px 8px 10px 34px; border: 1px solid var(--border-subtle); border-radius: 10px; background: #fff; color: var(--blue-dark); font-size: 13px; cursor: pointer; }
[dir=rtl] .language-control select { padding-inline: 34px 8px; }
.mobile-menu-btn { min-width: 44px; min-height: 44px; }
.hero { min-height: 0; padding: 152px 0 76px; background: radial-gradient(ellipse at 85% 24%,#ccefeb 0%,transparent 48%),radial-gradient(ellipse at 10% 90%,#e5e5ff 0%,transparent 52%),linear-gradient(120deg,#f8fbff,#eef5ff 58%,#eefaf5); }
.hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(#163d4810 1px,transparent 1px),linear-gradient(90deg,#163d4810 1px,transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(90deg,transparent 40%,#000); pointer-events: none; }
.hero .container { gap: 60px; }
.hero-content { flex: 1.15; max-width: 650px; }
.eyebrow { color: #30675d; font-size: 12px; font-weight: 700; letter-spacing: 1.1px; margin-bottom: 22px; }
.badge { padding: 7px 11px; border-radius: 7px; color: #236153; background: #ffffffb8; box-shadow: none; border-color: #cbded6; font-size: 11px; margin-bottom: 20px; }
.hero h1 { font-size: clamp(44px,4.7vw,70px); font-weight: 750; line-height: 1.12; letter-spacing: -3px; margin-bottom: 24px; }
.hero h1 > span { background: linear-gradient(110deg,#3166de 8%,#4268d3 44%,#148d86 95%); background-clip: text; -webkit-background-clip: text; color: #3166de; -webkit-text-fill-color: transparent; }
.hero h1 > span:first-child { background: none; color: var(--blue-dark); -webkit-text-fill-color: currentColor; }
.hero-content, .hero-content > *, .check-text, .el-text { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.hero p { font-size: 16px; line-height: 1.85; max-width: 510px; margin-bottom: 30px; }
.store-buttons { align-items: center; gap: 24px; }
.store-btn { padding: 13px 23px; border-radius: 12px; font-size: 16px; text-align: start; background: linear-gradient(120deg,#173957,#162a45); box-shadow: 0 8px 22px #15334d1a; }
.store-btn span { text-align: start; }
.hero-secondary { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 650; padding-block: 12px; }
.hero-secondary:hover { color: var(--primary); }
.hero-secondary { flex-basis: 100%; }
.app-store-btn:disabled { background: #e2e8f080; border: 1px solid #c9d5e1; color: #50627a; cursor: not-allowed; box-shadow: none; transform: none; }
.cta .app-store-btn:disabled { background: #ffffff12; border: 1px solid #ffffff50; color: #e0eaf6; box-shadow: none; transform: none; }
.cta .store-buttons { gap: 12px; }
.cta .store-btn { padding-inline: 18px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 27px; color: #49645f; font-size: 11px; }
.hero-trust > span { display: inline-flex; align-items: center; gap: 8px; }
.hero-mockup { flex: .85; align-self: center; isolation: isolate; min-width: 0; padding: 14px 0 20px; }
.device-frame { width: 262px; height: 565px; flex-shrink: 0; border: 8px solid #16313b; border-radius: 38px; transform: rotate(5deg); box-shadow: 16px 28px 50px #173d4428,0 0 0 1px #ffffffaa; }
.device-frame::before { width: 80px; height: 18px; }
.device-frame img { border-radius: 28px !important; }
.blob { background: linear-gradient(145deg,#8faeff,#77d3c0); width: 550px; height: 550px; filter: blur(80px); opacity: .35; }
.orbit { position: absolute; border: 1px solid #aacbbe; border-radius: 50%; width: 410px; height: 410px; top: 85px; z-index: -1; }
.orbit-two { width: 485px; height: 485px; top: 48px; border-style: dashed; opacity: .55; }
.floating-note { position: absolute; inset-inline-start: -30px; bottom: 58px; max-width: 270px; display: flex; align-items: center; gap: 12px; padding: 16px 20px; border: 1px solid #fff; border-radius: 15px; background: #fffffff5; box-shadow: 0 14px 45px #193f4a20; }
.note-icon { background: #e6f4ed; color: #24755f; width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; }
.floating-note strong { display: block; font-size: 12px; line-height: 1.6; }
.floating-note small { display: block; color: var(--secondary); font-size: 10px; margin-top: 2px; }
.stats-banner { padding-block: 32px; background: radial-gradient(ellipse at 90% 0%,#28697780,transparent 65%),linear-gradient(115deg,#142744,#223d72 55%,#17444f); border-block: 1px solid #ffffff16; }
.stats-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; }
.stat-item { padding: 8px 18px; border-inline-end: 1px solid #ffffff26; }
.stat-item:last-child { border: 0; }
.stat-item h3 { color: #b4ede5; font-size: 32px; font-weight: 650; letter-spacing: -1px; margin-bottom: 4px; }
.stat-item p { color: #d7e4e5; opacity: 1; font-size: 11px; text-transform: none; letter-spacing: .2px; }
.section-header { margin-bottom: 44px; }
.section-header h2 { font-size: clamp(29px,3vw,40px); font-weight: 700; letter-spacing: -1.4px; margin-bottom: 14px; }
.section-header p { font-size: 15px; max-width: 610px; }
.features-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.features { background: radial-gradient(ellipse at 0% 100%,#edf4ff,transparent 55%),#fff; }
.feature-card { padding: 28px 24px; border-radius: 20px; background: linear-gradient(150deg,#fff 15%,#f0f4ff); text-align: start; border-color: #e2e9f5; box-shadow: 0 10px 25px #20457406; }
.feature-card:nth-child(even) { background: linear-gradient(150deg,#fff 15%,#eff9f7); }
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 12px 25px #163d480a; border-color: #aacbbe; }
.feature-card::before { display: none; }
.feature-icon { width: 45px; height: 45px; border-radius: 13px; background: linear-gradient(135deg,#6493ff,#4160df); color: #fff; font-size: 20px; box-shadow: 0 6px 16px #3868ed26; margin-bottom: 23px; }
.feature-card:nth-child(even) .feature-icon { background: linear-gradient(135deg,#46b8b0,#288885); color: #fff; box-shadow: 0 6px 16px #28888520; }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 13px; line-height: 1.8; }
.calculator-section { background: radial-gradient(ellipse at 100% 0%,#e4eafa,transparent 60%),linear-gradient(150deg,#f8fafc,#f0f5fc); }
.calc-wrapper { padding: 32px; gap: 44px; border-radius: 26px; box-shadow: 0 18px 60px #2448700c; border-color: #fff; background: #ffffffdc; }
.calc-controls { padding: 20px 8px; min-width: 0; }
.calc-results { background: radial-gradient(ellipse at 100% 0%,#35769890,transparent 65%),linear-gradient(140deg,#243c75,#173a52 85%); padding: 30px; border-radius: 20px; min-width: 0; box-shadow: 0 14px 26px #24487020; }
.result-value.highlight { color: #a9ece3; font-size: 40px; }
.result-label { font-size: 11px; letter-spacing: .4px; }
.calc-apply { background: linear-gradient(110deg,#e0f8ff,#c0efdf); color: #163b45; margin-top: 12px; }
.calc-apply:hover { background: #e4f8f5; }
.slider-header { flex-wrap: wrap; align-items: center; gap: 8px; }
.slider-value { font-size: 23px; }
.slider-label { font-size: 14px; }
.process { background: #fff; }
.process-steps { gap: 24px; margin-top: 50px; }
.step { padding: 28px; text-align: start; border: 1px solid #e0e8f2; border-radius: 20px; background: linear-gradient(155deg,#fff 35%,#f2f6fd); box-shadow: 0 12px 26px #25477505; }
.step-number { margin: 0 0 24px; width: 46px; height: 46px; border: 0; border-radius: 14px; background: linear-gradient(135deg,#5f8bf2,#5364d9); color: #fff; font-size: 19px; box-shadow: 0 7px 15px #4169df22; }
.step:nth-child(2) .step-number { background: linear-gradient(135deg,#3bafaf,#297b98); }
.step:nth-child(3) .step-number { background: linear-gradient(135deg,#8a86ef,#6360c8); }
.step h3 { font-size: 20px; }
.step p { font-size: 14px; }
.process-steps::before { display: none; }
.loan-details { background: linear-gradient(135deg,#f5f7fe,#eff7f6); }
.loan-tab-panel { box-shadow: none; border-radius: 22px; }
.loan-panel-content { padding: 36px; min-width: 0; }
.loan-panel-graphic { flex-basis: 34%; }
.loan-panel-graphic .graphic-bg { background: radial-gradient(ellipse at 100% 0%,#5489b280,transparent 65%),linear-gradient(140deg,#263f78,#1d6669); }
.loan-checklist { gap: 18px; }
.check-text strong { font-size: 14px; }
.eligibility-container { gap: 64px; }
.eligibility-item { border-radius: 14px; padding: 20px; background: linear-gradient(115deg,#f4f7ff,#f2faf7); border-color: #e5edf4; }
.el-text p { font-size: 18px; }
.el-icon, .el-check { flex-shrink: 0; }
.premium-graphic { border: 1px solid #e3e8f2; box-shadow: 0 16px 40px #24487009; border-radius: 24px; background: linear-gradient(145deg,#e4eaff,#e0f4ee); }
.partner-card { box-shadow: none; }
.test-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.test-card { padding: 28px; border-radius: 20px; background: linear-gradient(155deg,#fff 55%,#eff5fd); box-shadow: 0 10px 28px #24487007; border-color: #e3eaf4; }
.test-text { font-size: 15px; font-style: normal; line-height: 1.85; }
.user-avatar { flex-shrink: 0; width: 40px; height: 40px; font-size: 14px; background: #dceee5; color: #226452; }
.faq-container { max-width: 850px; }
.faq-item { border-radius: 12px; margin-bottom: 12px; }
.faq-question { font-size: 16px; gap: 18px; padding: 23px 25px; text-align: start; }
.faq-answer p { font-size: 14px; }
.cta { background: linear-gradient(180deg,#f6f8fc,#fff); padding: 70px 5%; position: relative; overflow: hidden; }
.cta > .container { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 40px; max-width: 1150px; min-height: 410px; padding: 56px 60px; border-radius: 30px; overflow: hidden; background: radial-gradient(ellipse at 80% 110%,#28b49f80,transparent 65%),radial-gradient(ellipse at 0% 0%,#6982ee65,transparent 60%),linear-gradient(115deg,#1e3774,#1d496c 62%,#186b72); box-shadow: 0 24px 60px #233d6520; border: 1px solid #ffffff70; }
.cta-content { position: relative; z-index: 2; min-width: 0; text-align: start; }
.cta-mark { display: inline-flex; align-items: center; gap: 9px; color: #fff; font-size: 19px; font-weight: 650; margin-bottom: 22px; }
.cta-mark img { width: 30px; height: 30px; border-radius: 9px; box-shadow: 0 0 0 4px #ffffff12; }
.cta h2 { font-size: clamp(30px,3.5vw,44px); letter-spacing: -1.6px; line-height: 1.15; margin-bottom: 18px; max-width: 440px; }
.cta p { font-size: 14px; max-width: 460px; margin: 0 0 28px; color: #e0eaf6; line-height: 1.8; }
.cta .store-buttons { justify-content: flex-start; }
.cta .store-btn { background: linear-gradient(125deg,#fff,#e5f5ff); color: #153458; box-shadow: 0 8px 20px #0e25402b; border: 1px solid #fff; }
.cta-art { position: relative; min-width: 0; height: 290px; align-self: end; }
.cta-phone { position: absolute; inset-inline-start: 50%; top: -12px; transform: translateX(-50%) rotate(11deg); border: 7px solid #18384c; border-radius: 29px; width: 205px; padding: 0; box-shadow: 15px 20px 40px #051e424f,0 0 0 1px #ffffff55; overflow: hidden; background: #fff; }
.cta-phone img { display: block; width: 100%; height: auto; }
.cta-orbit { position: absolute; top: -25px; left: 50%; transform: translateX(-50%); width: 325px; height: 325px; border-radius: 50%; border: 1px solid #ffffff30; box-shadow: 0 0 0 38px #ffffff06,0 0 0 76px #ffffff04; }
.cta-chip { position: absolute; inset-inline-start: -15px; bottom: 10px; display: flex; align-items: center; gap: 10px; max-width: 270px; padding: 13px 17px; border: 1px solid #ffffff6b; border-radius: 13px; color: #fff; background: #173957e8; backdrop-filter: blur(16px); font-size: 11px; box-shadow: 0 8px 24px #0b2b4520; }
.cta-chip i { color: #a5eee0; font-size: 19px; }
[dir=rtl] .cta-phone { transform: translateX(50%) rotate(-11deg); }
footer { padding-block: 65px 30px; background: linear-gradient(180deg,#fff,#f7f9fe); }
.footer-grid { gap: 30px; }
.footer-brand p { font-size: 12px; }
.footer-col h4 { font-size: 14px; }
.footer-col a { font-size: 12px; }
.footer-bottom { font-size: 12px; }
[dir=rtl] .store-btn, [dir=rtl] .feature-card, [dir=rtl] .step { text-align: start; }
[dir=rtl] .hero-secondary i { transform: rotate(180deg); }
html:not([lang=en]) h1, html:not([lang=en]) h2, html:not([lang=en]) h3 { letter-spacing: normal; line-height: 1.4; }
html:not([lang=en]) .hero h1 { font-size: clamp(34px,4vw,58px); }
html:not([lang=en]) .eyebrow, html:not([lang=en]) .result-label { letter-spacing: normal; }
@media (min-width: 1101px) { .calc-wrapper { flex-direction: row; } }
@media (max-width: 1400px) {
    html:not([lang=en]) header nav { display: none; }
    html:not([lang=en]) .mobile-menu-btn { display: block; }
}
@media (max-width: 1200px) {
    header nav { display: none; }
    .mobile-menu-btn { display: block; }
    .hero .container { gap: 35px; }
    .features-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .floating-note { inset-inline-start: -10px; }
    .eligibility-container { flex-direction: row; gap: 35px; }
    .footer-grid { grid-template-columns: 2fr repeat(2,minmax(0,1fr)); }
}
@media (max-width: 900px) {
    .cta > .container { padding: 42px 36px; gap: 24px; }
    .cta-art { height: 260px; }
    .cta-phone { width: 180px; }
    .cta-chip { inset-inline-start: -35px; }
    .loan-tab-panel { flex-direction: column; }
    .hero { padding-top: 125px; }
    .hero h1 { font-size: 48px; }
    .hero .container { gap: 24px; }
    .device-frame { width: 235px; height: 510px; }
    .orbit { width: 310px; height: 310px; }
    .orbit-two { width: 370px; height: 370px; }
    .floating-note { inset-inline-start: 0; bottom: 25px; padding: 12px; max-width: 245px; }
    .hero .store-buttons { gap: 12px; }
    .test-grid { grid-template-columns: 1fr; }
    .eligibility-container { flex-direction: column; align-items: stretch; }
    .process-steps { flex-direction: column; gap: 18px; }
    .loan-panel-graphic { flex-basis: auto; min-height: 240px; }
}
@media (max-width: 700px) {
    .cta { padding: 42px 5%; }
    .cta > .container { grid-template-columns: 1fr; padding: 32px 25px 0; gap: 38px; border-radius: 24px; }
    .cta-content { text-align: center; }
    .cta h2 { max-width: none; font-size: 32px; }
    .cta p { margin-inline: auto; }
    .cta .store-buttons { justify-content: center; }
    .cta-art { width: min(100%,300px); justify-self: center; height: 235px; }
    .cta-phone { top: 0; width: 185px; }
    .cta-chip { inset-inline-start: 0; bottom: 25px; max-width: 235px; }
    html { scroll-padding-top: 100px; }
    header { min-height: 76px; padding: 12px 5%; gap: 10px; }
    header .nav-actions { gap: 6px; }
    header .nav-actions > .btn { display: none; }
    .logo { font-size: 23px; }
    .logo img { width: 27px !important; height: 27px !important; margin-right: 4px !important; }
    .language-control select { width: 142px; font-size: 12px; }
    .hero { padding: 115px 0 48px; }
    .hero .container { flex-direction: column; gap: 38px; text-align: center; }
    .hero-content { display: flex; flex-direction: column; align-items: center; }
    .eyebrow { font-size: 10px; margin-bottom: 16px; }
    .hero h1 { font-size: clamp(40px,9vw,58px); letter-spacing: -2px; }
    .hero p { font-size: 14px; max-width: 440px; }
    .hero .store-buttons { justify-content: center; flex-direction: row; }
    .hero-trust { justify-content: center; font-size: 10px; }
    .hero-mockup { width: min(100%,360px); }
    .device-frame { width: 230px; height: 494px; }
    .floating-note { inset-inline-start: 0; }
    .stats-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 0; }
    .stat-item:nth-child(2) { border: 0; }
    .stat-item h3 { font-size: 27px; }
    .section-padding { padding-block: 62px; }
    .section-header { margin-bottom: 30px; }
    .section-header h2 { font-size: 29px; }
    .section-header p { font-size: 14px; }
    .calc-wrapper { padding: 20px; gap: 20px; }
    .calc-results { padding: 24px; }
    .result-value.highlight { font-size: 34px; }
    .loan-panel-content { padding: 26px; }
    .premium-graphic { padding: 36px 24px; }
    .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 30px 20px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-brand p { max-width: 420px; }
    .faq-question { padding: 20px; font-size: 15px; }
    .faq-answer p { padding-inline: 20px; }
    .cta .store-buttons { flex-direction: row; }
    .mobile-nav-overlay { padding: 100px 20px 24px; overflow-y: auto; height: 100dvh; }
    .mobile-nav-overlay ul { margin-bottom: 20px; }
    .mobile-nav-overlay ul li a { font-size: 20px; }
}
@media (max-width: 400px) {
    header { padding-inline: 12px; }
    .logo { font-size: 20px; }
    .language-control select { width: 124px; }
    .features-grid { grid-template-columns: 1fr; }
    .feature-card { padding: 24px; }
    .el-info { gap: 12px; }
    .el-icon { width: 42px; height: 42px; }
    .el-text p { font-size: 16px; }
    .calc-wrapper { padding: 14px; }
    .calc-results { padding: 20px; }
}
/* Product overview: a clear loan summary beside six comparable terms. */
.product-panel { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.35fr); border: 1px solid #dce5f2; border-radius: 28px; background: #fff; box-shadow: 0 24px 64px #23486e0c; }
.product-summary { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; padding: 36px; color: #fff; background: radial-gradient(ellipse at 100% 100%,#37b6ac70,transparent 65%),linear-gradient(145deg,#29488b,#173e61 65%,#216a72); }
.product-summary::before { content: ''; position: absolute; z-index: -1; width: 330px; height: 330px; border: 1px solid #ffffff16; border-radius: 50%; inset-inline-end: -210px; top: 80px; box-shadow: 0 0 0 36px #ffffff04,0 0 0 74px #ffffff04; pointer-events: none; }
.product-brand { display: flex; align-items: center; gap: 10px; width: 100%; margin-bottom: 32px; font-size: 16px; font-weight: 650; }
.product-brand img { border-radius: 9px; box-shadow: 0 0 0 4px #ffffff0d; }
.product-brand > i { margin-inline-start: auto; color: #b3d7ee; font-size: 19px; }
.product-summary h3 { font-size: 17px; font-weight: 550; color: #d9e8ff; margin-bottom: 18px; }
.product-amount { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 20px; gap: 4px; }
.product-amount-label { color: #bed4ec; font-size: 11px; }
.product-amount strong { font-size: clamp(40px,4vw,56px); font-weight: 650; letter-spacing: -2px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.product-summary p { color: #d3e2f1; font-size: 13px; line-height: 1.85; margin: 0 0 24px; max-width: 330px; }
.product-speed { display: flex; align-items: center; gap: 9px; padding: 9px 12px; color: #c9f5e8; background: #8ad4c412; border: 1px solid #9ad9d02b; border-radius: 9px; font-size: 11px; margin-bottom: 26px; }
.product-speed i { font-size: 12px; }
.product-apply { width: 100%; justify-content: space-between; margin-top: auto; padding: 13px 17px; background: linear-gradient(115deg,#fff,#e3f4ff); color: #234669; font-size: 13px; box-shadow: 0 5px 15px #10294c1a; }
.product-details { padding: 30px; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 20px; background: linear-gradient(160deg,#fff 45%,#f5f9fe); }
.product-grid { list-style: none; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.product-detail { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 22px; min-width: 0; border: 1px solid #e3eaf4; border-radius: 15px; background: #ffffffb8; transition: border-color .3s ease, box-shadow .3s ease, transform .3s var(--ease-out); }
.product-detail-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; color: #4b6dda; background: linear-gradient(135deg,#e8eeff,#eff4ff); font-size: 15px; }
.product-detail:nth-child(3n+2) .product-detail-icon { color: #2b8b86; background: linear-gradient(135deg,#e0f4f0,#edf9f6); }
.product-detail strong { color: #263d5c; font-size: 13px; font-weight: 600; line-height: 1.7; overflow-wrap: anywhere; }
.product-calculator { display: flex; align-items: center; gap: 12px; padding: 15px 17px; border-radius: 12px; color: #42648d; background: linear-gradient(110deg,#edf3ff,#eff8f6); font-size: 12px; font-weight: 550; transition: color .2s ease, box-shadow .2s ease; }
.product-calculator > span[data-i18n] { flex: 1; }
.product-calculator-icon { font-size: 16px; }
.product-calculator > i { margin-inline-start: auto; transition: translate .3s ease; }
[dir=rtl] .product-apply > i, [dir=rtl] .product-calculator > i { transform: rotate(180deg); }
@media (hover: hover) and (pointer: fine) {
    .product-detail:hover { transform: translateY(-3px); border-color: #b7cbed; box-shadow: 0 8px 18px #31538208; }
    .product-apply:hover { background: #fff; box-shadow: 0 10px 22px #0e294130; transform: translateY(-2px); }
    .product-calculator:hover { color: #2b53b7; box-shadow: 0 4px 15px #31538208; }
    .product-calculator:hover > i { translate: 3px 0; }
    [dir=rtl] .product-calculator:hover > i { translate: -3px 0; }
}
@media (max-width: 1050px) {
    .product-summary { padding: 28px; }
    .product-details { padding: 22px; }
    .product-detail { padding: 18px; }
}
@media (max-width: 700px) {
    .product-panel { grid-template-columns: 1fr; border-radius: 22px; }
    .product-summary { padding: 28px; }
    .product-brand { margin-bottom: 24px; }
    .product-summary p { max-width: none; }
    .product-amount strong { font-size: 48px; }
    .product-details { padding: 20px; gap: 16px; }
    .product-grid { gap: 12px; }
    .product-detail { padding: 17px; gap: 12px; }
}
@media (max-width: 380px) {
    .product-details { padding: 16px; }
    .product-grid { grid-template-columns: 1fr; }
    .product-detail { flex-direction: row; align-items: center; }
    .product-detail-icon { flex-shrink: 0; }
}
/* Consistent depth and motion; no animations are needed to read the content. */
:root { --ease-out: cubic-bezier(.22,1,.36,1); }
header { transition: background-color .3s ease, box-shadow .3s ease, border-color .3s ease; }
header.is-scrolled { background: #fffffff2; box-shadow: 0 8px 30px #20375b0c; border-color: #dfe7f480; backdrop-filter: blur(20px); }
header nav a { position: relative; padding-block: 10px; }
header nav a::after { content: ''; position: absolute; inset-inline: 0; bottom: 2px; height: 2px; background: linear-gradient(90deg,#456feb,#2da79d); border-radius: 2px; transform: scaleX(0); transform-origin: center; transition: transform .3s var(--ease-out); }
header nav a:hover::after, header nav a:focus-visible::after { transform: scaleX(1); }
.section-header h2, .cta h2 { text-wrap: balance; }
.section-header h2::after { content: ''; display: block; width: 42px; height: 3px; margin: 19px auto 0; border-radius: 4px; background: linear-gradient(90deg,#537df1,#55bdad); }
.feature-card, .step, .test-card, .eligibility-item, .partner-card { transition: transform .35s var(--ease-out), box-shadow .35s ease, border-color .35s ease; }
.feature-icon, .step-number, .el-icon { transition: transform .4s var(--ease-out), box-shadow .35s ease; }
.feature-card { border-color: #dde6f4; }
.feature-card, .step, .test-card { box-shadow: 0 2px 3px #26426c03,0 12px 30px #26426c06; }
.btn, .store-btn { transition: transform .3s var(--ease-out), box-shadow .3s ease, background-color .3s ease; }
.hero-secondary i { transition: translate .3s var(--ease-out); }
.hero-secondary:hover i { translate: 4px 0; }
[dir=rtl] .hero-secondary:hover i { translate: -4px 0; }
.floating-note { transition: translate .5s var(--ease-out), box-shadow .5s ease; }
.faq-item { transition: border-color .3s ease, box-shadow .3s ease; }
.faq-question { transition: background-color .25s ease; }
.faq-question:hover { background: #f6f8ff; }
.faq-item.active { border-color: #b4c6f1; box-shadow: 0 8px 24px #3868ed09; }
.faq-answer { transition: max-height .4s var(--ease-out); }
.faq-icon { transition: transform .35s var(--ease-out); }
.language-control select { transition: border-color .2s ease, box-shadow .2s ease; }
.language-control select:hover { border-color: #91abe7; box-shadow: 0 3px 12px #3868ed08; }
.mobile-nav-overlay { transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .25s ease, transform .4s var(--ease-out), visibility 0s .4s; }
.mobile-nav-overlay.open { transform: translateY(0); opacity: 1; visibility: visible; transition-delay: 0s; }
.footer-links a { transition: color .2s ease; }
.footer-links a:hover { color: var(--primary); }
input[type=range]::-webkit-slider-runnable-track { background: linear-gradient(to right,#4d79ee 0%,#4d79ee var(--range-progress,0%),#dfe7f1 var(--range-progress,0%),#dfe7f1 100%); }
input[type=range]::-moz-range-track { height: 6px; border-radius: 10px; background: #dfe7f1; }
input[type=range]::-moz-range-progress { height: 6px; border-radius: 10px; background: #4d79ee; }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border: 3px solid white; border-radius: 50%; background: var(--primary); box-shadow: 0 4px 10px #3868ed35; cursor: pointer; }
[dir=rtl] input[type=range]::-webkit-slider-runnable-track { background: linear-gradient(to left,#4d79ee 0%,#4d79ee var(--range-progress,0%),#dfe7f1 var(--range-progress,0%),#dfe7f1 100%); }
@media (hover: hover) and (pointer: fine) {
    .feature-card:hover, .step:hover, .test-card:hover { transform: translateY(-6px); border-color: #bfcef0; box-shadow: 0 18px 36px #26426c0e; }
    .feature-card:hover .feature-icon, .step:hover .step-number { transform: translateY(-2px) rotate(-4deg); }
    .eligibility-item:hover { transform: translateX(4px); box-shadow: 0 8px 20px #26426c07; }
    [dir=rtl] .eligibility-item:hover { transform: translateX(-4px); }
    .hero-mockup:hover .floating-note { translate: 0 -6px; box-shadow: 0 20px 45px #193f4a25; }
    .store-btn:not(:disabled):hover { transform: translateY(-3px); box-shadow: 0 12px 26px #20375b22; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
    .feature-card:hover, .step:hover, .test-card:hover, .eligibility-item:hover, .store-btn:hover, .device-frame:hover { transform: none; }
    .device-frame { transform: none; }
    .feature-card:hover .feature-icon, .step:hover .step-number { transform: none; }
    .hero-mockup:hover .floating-note, .hero-secondary:hover i { translate: none; }
    .product-detail:hover, .product-apply:hover { transform: none; }
    .product-calculator:hover > i { translate: none; }
}

/* Keep lending partner cards within narrow mobile screens. */
.partner-card { max-width: 100%; min-width: 0; }
.partner-card .salora-logo-img { max-width: 100%; }
@media (max-width: 480px) {
    .partner-card { padding: 32px 24px; }
}
