/* My First Credit — extracted static theme */
:root {
    --teal: #00A896;
    --teal-2: #14B8A6;
    --teal-dark: #0f766e;
    --dark: #1f2d3d;
    --card: #2C3E50;
    --purple: #8b5cf6;
    --orange: #f97316;
    --pink: #ec4899;
    --text: #111827;
    --muted: #6b7280;
}

* { box-sizing: border-box; }

html, body {
    font-family: "Poppins", sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #f7fbff 0%, #f3f7fb 40%, #eef6f4 100%);
    min-height: 100%;
}

.text-teal { color: var(--teal) !important; }
.text-purple { color: var(--purple) !important; }
.text-orange { color: var(--orange) !important; }
.text-green { color: #10b981 !important; }

.gradient-text-teal {
    background: linear-gradient(90deg, #1cc7b6, #14a5a5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-dark { color: var(--dark); }
.gradient-text-blue {
    background: linear-gradient(90deg, #2563eb, #14b8a6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-teal { background: var(--teal) !important; }

.global-bg-pattern {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.28;
    animation: blobFloat 12s ease-in-out infinite;
}

.blob-1 { background: #99f6e4; top: -80px; left: -80px; }
.blob-2 { background: #c4b5fd; top: 20%; right: -120px; animation-delay: 2s; }
.blob-3 { background: #fde68a; bottom: -100px; left: 30%; animation-delay: 4s; }

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -20px) scale(1.08); }
}

.navbar-glass, header img { height: auto; }

.glass-badge {
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 13px;
    color: #334155;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.hero-section { padding: 20px 0 50px; }
.hero-title {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.15;
}

.features-list .feature-item span { color: #334155; }
.check-circle {
    width: 24px;
    height: 24px;
    min-width: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--teal-2));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    border-radius: 16px;
    padding: 12px 16px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ecfeff, #ccfbf1);
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-value { font-weight: 700; font-size: 16px; }
.stat-label { font-size: 12px; color: var(--muted); }

.btn-gradient-primary,
.btn-gradient-blue,
.btn-submit {
    position: relative;
    overflow: hidden;
    border: 0;
    color: #fff !important;
    background: linear-gradient(90deg, var(--teal-2), var(--teal));
    border-radius: 14px;
    padding: 14px 22px;
    font-weight: 600;
    box-shadow: 0 14px 30px rgba(0, 168, 150, 0.28);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-gradient-blue { background: linear-gradient(90deg, #2563eb, #14b8a6); }
.btn-submit:disabled { opacity: 0.55; }
.shimmer-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.25) 50%, transparent 80%);
    transform: translateX(-100%);
    animation: shimmer 2.4s infinite;
}
@keyframes shimmer {
    100% { transform: translateX(100%); }
}

.form-wrapper { position: relative; }
.form-glow {
    position: absolute;
    inset: -8px;
    background: linear-gradient(135deg, rgba(20,184,166,.25), rgba(44,62,80,.08));
    filter: blur(22px);
    border-radius: 28px;
}
.glass-form-card {
    position: relative;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}
.form-inner-glass {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,.35), transparent);
    pointer-events: none;
}
.form-title { font-size: 28px; font-weight: 600; }
.live-badge {
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 13px;
}
.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16,185,129,.7);
    animation: pulseDot 1.6s infinite;
}
.pulse-teal { background: var(--teal); }
@keyframes pulseDot {
    70% { box-shadow: 0 0 0 8px rgba(16,185,129,0); }
}

.input-wrapper { position: relative; }
.input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    z-index: 2;
}
.glass-input {
    background: rgba(255,255,255,.55) !important;
    border: 1px solid rgba(148,163,184,.35) !important;
    border-radius: 12px !important;
    padding: 12px 14px 12px 40px !important;
    min-height: 48px;
    box-shadow: none !important;
}
.form-select.glass-input { padding-left: 40px !important; }
.check-badge {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #10b981;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.trust-bar-section { padding-top: 10px; }
.glass-container {
    background: rgba(255,255,255,.6);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,.75);
    box-shadow: 0 10px 30px rgba(15,23,42,.05);
}
.trust-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gradient-blue { background: linear-gradient(135deg, #2563eb, #14b8a6); }
.gradient-green { background: linear-gradient(135deg, #10b981, #14b8a6); }
.gradient-purple { background: linear-gradient(135deg, #8b5cf6, #ec4899); }
.gradient-orange { background: linear-gradient(135deg, #f97316, #eab308); }
.gradient-yellow { background: linear-gradient(135deg, #f59e0b, #f97316); }
.gradient-pink { background: linear-gradient(135deg, #ec4899, #8b5cf6); }
.gradient-cyan { background: linear-gradient(135deg, #06b6d4, #14b8a6); }
.gradient-violet { background: linear-gradient(135deg, #7c3aed, #2563eb); }

.section-title { font-size: 36px; font-weight: 600; }
.section-subtitle { max-width: 560px; margin: 0 auto; }

.calculator-card { padding: 32px; }
.control-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
}
.control-value { font-size: 22px; font-weight: 700; }
.custom-range { accent-color: var(--teal); }
.range-blue { accent-color: #2563eb; }
.range-purple { accent-color: #8b5cf6; }
.rate-bar {
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, #10b981, #14b8a6);
}

.emi-display {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    padding: 24px;
    color: #fff;
    background: linear-gradient(135deg, #14B8A6, #00A896);
    box-shadow: 0 18px 40px rgba(0,168,150,.28);
}
.emi-amount { font-size: 42px; font-weight: 700; line-height: 1; }
.emi-amount .currency { font-size: 22px; margin-right: 4px; }
.breakdown-card,
.chart-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255,255,255,.7);
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 14px 16px;
}
.breakdown-card.total { background: #f0fdfa; }
.total-value { color: var(--teal); font-weight: 700; }
.chart-card { display: block; }
.chart-dot { width: 10px; height: 10px; border-radius: 50%; }
.chart-bar {
    display: flex;
    height: 10px;
    border-radius: 999px;
    overflow: hidden;
    background: #e5e7eb;
}
.chart-principal { background: #2563eb; }
.chart-interest { background: #8b5cf6; }

.feature-card,
.step-card,
.testimonial-card {
    position: relative;
    background: rgba(255,255,255,.7);
    border: 1px solid rgba(255,255,255,.8);
    backdrop-filter: blur(18px);
    border-radius: 20px;
    padding: 28px 22px;
    height: 100%;
    box-shadow: 0 12px 30px rgba(15,23,42,.05);
}
.feature-icon,
.step-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
}
.feature-ring, .step-glow, .feature-inner-glass, .step-inner-glass, .testimonial-inner-glass { display: none; }
.feature-title, .step-title { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.feature-desc, .step-desc { color: var(--muted); margin: 0; }
.step-number {
    position: absolute;
    top: 16px;
    right: 18px;
    font-size: 28px;
    font-weight: 700;
    color: rgba(15,23,42,.08);
}
.time-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ecfdf5;
    color: #047857;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    margin-bottom: 10px;
}

.stats-wrapper {
    padding: 30px 10px;
    background: linear-gradient(135deg, #eaf6f8, #f7edf6);
    border-radius: 20px;
}
.process-stat {
    background: rgba(255,255,255,.75);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 20px 10px;
    height: 100%;
    box-shadow: 0 8px 20px rgba(0,0,0,.05);
}
.stat-big { font-size: 22px; font-weight: 700; }

.rating-summary {
    background: rgba(255,255,255,.7);
    border: 1px solid rgba(255,255,255,.8);
}
.divider { width: 1px; height: 40px; background: #e5e7eb; }
.trust-indicator {
    background: rgba(255,255,255,.65);
    border-radius: 16px;
}

.footer-section { padding-bottom: 40px; }
.footer-glass {
    background: rgba(255,255,255,.7);
    border: 1px solid rgba(255,255,255,.8);
    box-shadow: 0 16px 40px rgba(15,23,42,.05);
}
.footer-logo { height: 56px; }
.footer-title { font-weight: 600; }
.footer-links a, .footer-bottom a { color: #64748b; text-decoration: none; }
.footer-links li { margin-bottom: 8px; }
.social-link {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #334155;
    text-decoration: none;
}
.btn-send {
    background: var(--teal);
    color: #fff;
    border: 0;
    border-radius: 10px;
    padding: 6px 12px;
}

.otp-input {
    width: 48px;
    height: 56px;
    text-align: center;
    font-size: 1.5rem;
    background: rgba(255,255,255,.5);
    backdrop-filter: blur(24px);
    border: 2px solid rgba(255,255,255,.6);
    border-radius: 12px;
    color: #111827;
}
@media (min-width: 992px) {
    .otp-input { width: 56px; height: 64px; }
}
.otp-input:focus {
    border-color: #14B8A6;
    outline: none;
    box-shadow: 0 0 0 4px rgba(20,184,166,.1);
}

.status-card {
    background: linear-gradient(135deg, #00A896 0%, #14B8A6 100%);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 25px 50px rgba(0,168,150,.3);
}

.credit-card {
    background: linear-gradient(135deg, #2C3E50 0%, #34495E 50%, #2C3E50 100%);
    border-radius: 24px;
    padding: 24px 32px;
    box-shadow: 0 25px 50px rgba(44,62,80,.4);
    position: relative;
    overflow: hidden;
    text-align: left;
}
.credit-card::before,
.credit-card::after {
    content: '';
    position: absolute;
    width: 256px;
    height: 256px;
    border-radius: 50%;
    filter: blur(60px);
}
.credit-card::before { top: 0; right: 0; background: rgba(255,255,255,.1); transform: translate(50%,-50%); }
.credit-card::after { bottom: 0; left: 0; background: rgba(0,168,150,.2); transform: translate(-50%,50%); }
.chip {
    width: 48px;
    height: 36px;
    border-radius: 6px;
    background: linear-gradient(135deg, #fde68a, #fbbf24);
    display: flex;
    align-items: center;
    justify-content: center;
}
.chip-inner { width: 32px; height: 24px; border: 2px solid rgba(202,138,4,.3); border-radius: 4px; }
.logo img { width: 150px; height: auto; }

.offer-card {
    background: rgba(255,255,255,.8);
    backdrop-filter: blur(24px);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(0,0,0,.1);
    transition: .3s;
    cursor: pointer;
    height: 100%;
}
.offer-card:hover, .offer-card.selected {
    transform: scale(1.03);
    box-shadow: 0 25px 50px rgba(0,0,0,.12);
    border-color: rgba(20,184,166,.4);
}
.offer-badge {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: .75rem;
    color: #fff;
}
.emi-option {
    background: #f9fafb;
    border: 1px solid rgba(0,0,0,.1);
    border-radius: 12px;
    padding: 16px;
}
.emi-option:hover { border-color: #00A896; }

.bottom-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 24px;
    background: linear-gradient(to top, #fff 0%, rgba(255,255,255,.95) 50%, transparent 100%);
}
.bottom-cta-inner {
    background: linear-gradient(90deg, #14B8A6, #00A896);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 25px 50px rgba(0,168,150,.4);
}

@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes fadeInLeft { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes pulse-slow { 0%,100% { transform: scale(1); } 50% { transform: scale(1.02); } }
.animate-fadeInUp { animation: fadeInUp .8s ease-out; }
.animate-fadeInRight { animation: fadeInRight .8s ease-out; }
.animate-fadeInLeft { animation: fadeInLeft .8s ease-out; }
.animate-slideUp { animation: slideUp .8s ease-out; }
.animate-pulse-slow { animation: pulse-slow 3s ease-in-out infinite; }

@keyframes confetti {
    0% { transform: translateY(0) rotate(0); opacity: 1; }
    100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}
.confetti { position: fixed; width: 8px; height: 8px; animation: confetti linear forwards; z-index: 100; }

@media (max-width: 767px) {
    header img { height: 65px !important; }
    .hero-title { font-size: 30px; }
    .section-title { font-size: 28px; }
    .get-up-to-br { display: none; }
}

/* Thank you / Failed result pages */
.result-page {
    min-height: calc(100vh - 140px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px 60px;
    position: relative;
    z-index: 10;
}
.result-card {
    width: 100%;
    max-width: 680px;
    background: rgba(255,255,255,.78);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,.85);
    border-radius: 24px;
    padding: 48px 36px 36px;
    text-align: center;
    box-shadow: 0 24px 50px rgba(15,23,42,.08);
    animation: slideUp .7s ease-out;
}
.result-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 40px;
    box-shadow: 0 14px 30px rgba(0,168,150,.3);
    background: linear-gradient(135deg, #14B8A6, #00A896);
}
.result-icon--fail {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 14px 30px rgba(220,38,38,.28);
}
.result-card h1 {
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 10px;
}
.result-divider {
    width: 80px;
    height: 4px;
    margin: 16px auto 20px;
    border-radius: 10px;
    background: linear-gradient(90deg, #2C3E50, #00A896);
}
.result-card--fail .result-divider {
    background: linear-gradient(90deg, #2C3E50, #ef4444);
}
.result-message {
    font-size: 18px;
    color: #334155;
    margin-bottom: 10px;
}
.result-message .highlight { color: #0f766e; font-weight: 600; }
.result-message-hi { font-size: 17px; color: #64748b; margin-bottom: 28px; }
.result-hours-title {
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #94a3b8;
    font-weight: 600;
    margin-bottom: 14px;
}
.info-pill {
    background: #ecfeff;
    color: #134e4a;
    padding: 10px 16px;
    border-radius: 30px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.info-pill.danger {
    background: #fff1f1;
    color: #d93025;
    font-weight: 600;
}
.btn-back-home,
.btn-try-again {
    background: linear-gradient(135deg, #2C3E50, #00A896);
    color: #fff !important;
    padding: 12px 26px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,169,164,.3);
}
.btn-try-again {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 10px 25px rgba(220,38,38,.28);
}
.bottom-accent {
    height: 6px;
    margin-top: 28px;
    border-radius: 20px;
    background: linear-gradient(to right, #2C3E50, #00A896);
}
.result-card--fail .bottom-accent {
    background: linear-gradient(to right, #2C3E50, #ef4444);
}
@media (max-width: 576px) {
    .result-card { padding: 32px 18px 24px; }
    .result-card h1 { font-size: 22px; }
    .result-message, .result-message-hi { font-size: 15px; }
    .btn-back-home, .btn-try-again { width: 100%; }
}
