
/* ==== SKY CREDIT: MODERN FINTECH EDGE (FRESH 2024) ==== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #2563EB; /* Modern Indigo/Purple */
    --primary-hover: #4338CA;
    --accent: #FF6B00; /* Vibrant Orange */
    --accent-hover: #EA580C;
    --bg-page: #F8FAFC;
    --bg-card: #FFFFFF;
    --text-main: #0F172A;
    --text-muted: #64748B;
    --border: #E2E8F0;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 100px;
    --shadow-float: 0 10px 40px -10px rgba(0,0,0,0.08);
    --shadow-card: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-hover: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --glass-bg: rgba(255, 255, 255, 0.85);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Plus Jakarta Sans', sans-serif; }
body { background-color: var(--bg-page); color: var(--text-main); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; transition: color 0.2s; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* FLOATING NAVBAR (Fresh 2024 Style) */
.navbar-wrapper { position: fixed; top: 16px; left: 0; width: 100%; z-index: 100; padding: 0 24px; pointer-events: none; }
.nav-glass { background: var(--glass-bg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,0.4); border-radius: var(--radius-pill); box-shadow: var(--shadow-float); display: flex; justify-content: space-between; align-items: center; padding: 12px 24px; max-width: 1152px; margin: 0 auto; pointer-events: auto; }
.nav-logo img { height: 48px; width: auto; object-fit: contain; }
.nav-links { display: flex; gap: 32px; }
.nav-link { font-size: 15px; font-weight: 600; color: var(--text-muted); }
.nav-link:hover, .nav-link.active { color: var(--primary); }
.btn-nav { background: var(--text-main); color: #fff; padding: 12px 28px; border-radius: var(--radius-pill); font-weight: 700; font-size: 15px; border: none; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 4px 12px rgba(15,23,42,0.15); }
.btn-nav:hover { background: var(--primary); box-shadow: 0 8px 24px rgba(79,70,229,0.3); transform: translateY(-2px); }

/* MODERN HERO SECTION */
.hero { padding: 180px 0 100px; background: radial-gradient(circle at top right, rgba(79,70,229,0.05) 0%, rgba(255,255,255,0) 40%), radial-gradient(circle at bottom left, rgba(255,107,0,0.05) 0%, rgba(255,255,255,0) 40%); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--border); padding: 8px 16px; border-radius: var(--radius-pill); font-size: 14px; font-weight: 600; color: var(--text-muted); margin-bottom: 24px; box-shadow: var(--shadow-card); }
.hero-badge i { color: #10B981; }
.hero-title { font-size: 56px; font-weight: 800; line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 24px; color: var(--text-main); }
.hero-title span { color: var(--primary); }
.hero-desc { font-size: 18px; color: var(--text-muted); margin-bottom: 40px; line-height: 1.6; max-width: 480px; }

/* MODERN FORM CARD */
.hero-form-card { background: var(--bg-card); padding: 24px; border-radius: var(--radius-lg); box-shadow: var(--shadow-float); border: 1px solid var(--border); }
.hero-form-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 16px; color: var(--text-main); }
.input-floating { display: flex; background: var(--bg-page); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 6px; transition: all 0.3s ease; }
.input-floating:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(79,70,229,0.1); background: #fff; }
.input-floating span { padding: 0 20px; display: flex; align-items: center; font-weight: 700; color: var(--text-muted); font-size: 16px; border-right: 1px solid var(--border); }
.input-floating input { flex: 1; border: none; background: transparent; padding: 16px 20px; font-size: 16px; font-weight: 600; color: var(--text-main); outline: none; }
.btn-primary { background: var(--primary); color: #fff; border: none; padding: 16px 32px; border-radius: 12px; font-weight: 700; font-size: 16px; cursor: pointer; transition: all 0.3s ease; width: 100%; margin-top: 16px; box-shadow: 0 4px 12px rgba(79,70,229,0.2); }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(79,70,229,0.3); }

/* HERO IMAGE */


.hero-image-wrapper img { width: 100%; height: auto; border-radius: var(--radius-md); display: block; }

/* MODERN CARDS SECTION */
.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 { font-size: 40px; font-weight: 800; letter-spacing: -1px; margin-bottom: 16px; }
.section-header p { font-size: 18px; color: var(--text-muted); max-width: 600px; margin: 0 auto; }

.modern-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.modern-card { background: var(--bg-card); padding: 40px; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); border: 1px solid var(--border); transition: all 0.3s ease; position: relative; overflow: hidden; }
.modern-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-color: rgba(79,70,229,0.2); }
.modern-card-icon { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 24px; background: rgba(79,70,229,0.05); color: var(--primary); border: 1px solid rgba(79,70,229,0.1); transition: all 0.3s ease; }
.modern-card:hover .modern-card-icon { background: var(--primary); color: #fff; transform: scale(1.1) rotate(-5deg); }
.modern-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.modern-card p { font-size: 15px; color: var(--text-muted); line-height: 1.6; }

/* SERVICES PAGE LAYOUT */
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-bottom: 120px; }
.service-row:nth-child(even) { grid-template-columns: 1fr 1fr; direction: rtl; }
.service-row:nth-child(even) > * { direction: ltr; }
.service-text h2 { font-size: 36px; font-weight: 800; letter-spacing: -1px; margin-bottom: 24px; line-height: 1.2; }
.service-text p { font-size: 18px; color: var(--text-muted); margin-bottom: 32px; line-height: 1.6; }
.service-features { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.service-features li { display: flex; align-items: center; gap: 16px; font-size: 16px; font-weight: 600; background: #fff; padding: 16px; border-radius: var(--radius-md); border: 1px solid var(--border); box-shadow: var(--shadow-card); }
.service-features i { color: var(--primary); font-size: 20px; }
.service-visual { background: #fff; padding: 48px; border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow-float); text-align: center; }
.service-visual img { max-width: 100%; border-radius: var(--radius-sm); transition: transform 0.5s ease; }
.service-row:hover .service-visual img { transform: translateY(-10px); }

/* UNIFIED LEGAL/TEXT PAGE LAYOUT */
.page-header { padding: 200px 0 80px; text-align: center; background: #fff; border-bottom: 1px solid var(--border); }
.page-header h1 { font-size: 48px; font-weight: 800; letter-spacing: -1px; margin-bottom: 16px; }
.page-header p { font-size: 18px; color: var(--text-muted); max-width: 600px; margin: 0 auto; }
.page-content { padding: 48px 0; background: var(--bg-page); }
.content-box { background: #ffffff; padding: 56px 64px; border-radius: 32px; border: 1px solid rgba(0,0,0,0.04); box-shadow: 0 16px 40px rgba(0,0,0,0.06); max-width: 900px; margin: 0 auto; position: relative; z-index: 2; transition: box-shadow 0.3s; }
.content-box:hover { box-shadow: 0 24px 60px rgba(0,0,0,0.08); }
.content-box h2 { font-size: 24px; font-weight: 700; margin: 40px 0 16px; color: var(--text-main); }
.content-box h2:first-child { margin-top: 0; }
.content-box p { font-size: 16px; color: var(--text-muted); margin-bottom: 24px; line-height: 1.7; }
.content-box ul { margin-left: 24px; margin-bottom: 24px; color: var(--text-muted); line-height: 1.7; }
.content-box li { margin-bottom: 8px; }

/* MODERN FOOTER (Transparent Logo properly integrated) */
.footer-modern { background: #09101f; padding: 80px 0 40px; border-top: none; margin-top: 80px; color: #ffffff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 64px; margin-bottom: 64px; }
.footer-brand .footer-logo { height: 56px; width: auto; object-fit: contain; margin-bottom: 24px; filter: brightness(0) invert(1); } /* Transparent logo sits directly on white background */
.footer-brand p { font-size: 15px; color: rgba(255,255,255,0.6); max-width: 320px; line-height: 1.6; }
.footer-col h4 { font-size: 15px; font-weight: 700; color: #ffffff; margin-bottom: 24px; letter-spacing: 0.5px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 16px; }
.footer-col a { color: rgba(255,255,255,0.6); font-size: 15px; font-weight: 500; transition: color 0.2s; display: inline-flex; align-items: center; gap: 8px; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; align-items: center; color: rgba(255,255,255,0.5); font-size: 14px; font-weight: 500; }

/* MODAL */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15,23,42,0.6); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; z-index: 1000; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-box { background: #fff; padding: 48px; border-radius: var(--radius-lg); width: 90%; max-width: 440px; position: relative; transform: translateY(20px) scale(0.95); transition: all 0.3s ease; box-shadow: 0 40px 80px rgba(0,0,0,0.1); }
.modal-overlay.open .modal-box { transform: translateY(0) scale(1); }
.modal-close { position: absolute; top: 24px; right: 24px; background: rgba(15,23,42,0.05); border: none; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; color: var(--text-muted); transition: all 0.2s; }
.modal-close:hover { background: rgba(15,23,42,0.1); color: var(--text-main); }

@media (max-width: 1024px) {
    .btn-nav-outline { display: none; } /* Hide Pay EMI on mobile nav to save space */
    .nav-glass { padding: 12px 16px; border-radius: 16px; }
    .nav-links { display: none; }
    .hero-grid, .modern-grid, .service-row, .service-row:nth-child(even), .footer-grid { grid-template-columns: 1fr; }
    .hero { padding: 140px 0 60px; text-align: center; }
    .hero-desc, .hero-form-card { margin: 0 auto 40px; }
    .service-row:nth-child(even) > * { direction: ltr; }
    .footer-bottom { padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; align-items: center; color: rgba(255,255,255,0.5); font-size: 14px; font-weight: 500; }
}

/* BUTTONS - PAY EMI */
.btn-nav-outline { background: transparent; color: var(--text-main); padding: 12px 24px; border-radius: var(--radius-pill); font-weight: 700; font-size: 14px; border: 1px solid var(--border); cursor: pointer; transition: all 0.3s ease; display:flex; align-items:center; gap:8px; }
.btn-nav-outline:hover { background: var(--bg-page); border-color: var(--text-muted); }
.nav-actions { display: flex; gap: 12px; align-items: center; }

/* MOTION & ANIMATIONS */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

.fade-in-up { animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; opacity: 0; }
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

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

/* SUBTLE FLOATING ANIMATION FOR IMAGES */




/* BUTTON GLOW */
@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(79,70,229,0.4); }
    70% { box-shadow: 0 0 0 15px rgba(79,70,229,0); }
    100% { box-shadow: 0 0 0 0 rgba(79,70,229,0); }
}
.btn-nav, .btn-primary { animation: pulseGlow 3s infinite; }

/* TRUST BAR MODERN */
.trust-bar-modern { padding: 40px 0; border-bottom: 1px solid var(--border); background: #fff; position: relative; z-index: 2; }
.trust-grid-modern { display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; gap: 24px; text-align: center; }
.trust-metric h3 { font-size: 32px; font-weight: 800; color: var(--text-main); margin-bottom: 4px; letter-spacing: -1px; }
.trust-metric p { font-size: 14px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

/* HOW IT WORKS STEPS */
.bg-alt { background: #fff; border-top: 1px solid var(--border); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; }
.steps-grid::before { content: ''; position: absolute; top: 40px; left: 10%; right: 10%; height: 2px; background: var(--border); z-index: 0; }
.step-card { position: relative; z-index: 1; text-align: center; padding: 0 24px; }
.step-number { width: 80px; height: 80px; margin: 0 auto 24px; background: var(--bg-card); border: 2px solid var(--primary); color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 32px; font-weight: 800; box-shadow: 0 0 0 8px #fff; }
.step-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.step-card p { font-size: 15px; color: var(--text-muted); }

/* NBFC PARTNER HIGHLIGHT */
.partner-highlight { background: var(--text-main); color: #fff; padding: 64px; border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: space-between; gap: 48px; box-shadow: var(--shadow-hover); overflow: hidden; position: relative; }
.partner-highlight::after { content: ''; position: absolute; right: -50px; bottom: -50px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(79,70,229,0.3) 0%, rgba(255,255,255,0) 70%); border-radius: 50%; pointer-events: none; }
.partner-text h2 { font-size: 32px; font-weight: 800; margin-bottom: 16px; letter-spacing: -1px; }
.partner-text p { font-size: 16px; color: var(--text-muted); margin-bottom: 24px; max-width: 500px; }
.partner-badge { background: rgba(16,185,129,0.1); color: #10B981; border: 1px solid rgba(16,185,129,0.2); padding: 8px 16px; border-radius: var(--radius-pill); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; }

@media (max-width: 1024px) {
    .steps-grid::before { display: none; }
    .steps-grid { grid-template-columns: 1fr; gap: 48px; }
    .partner-highlight { flex-direction: column; text-align: center; padding: 40px 24px; }
    .trust-grid-modern { grid-template-columns: 1fr 1fr; }
}


/* SAFE FLOATING ANIMATION FOR IMAGES */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}
.hero-image-wrapper { animation: float 6s ease-in-out infinite; border-radius: var(--radius-lg); background: #fff; padding: 16px; box-shadow: var(--shadow-float); border: 1px solid var(--border); }
.hero-image-wrapper:hover { animation-play-state: paused; }

/* CREATIVE FLOATING WIDGET ANIMATION */
.hero-image-wrapper { position: relative; display: inline-block; }

.glass-icon {
    width: 48px;
    height: 48px;
    background: #10B981;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(16,185,129,0.4);
    animation: pulseSuccess 2s infinite;
}
.glass-text { text-align: left; }
.glass-text h4 { font-size: 16px; font-weight: 800; color: var(--text-main); margin-bottom: 4px; letter-spacing: -0.5px;}
.glass-text p { font-size: 14px; font-weight: 700; color: #10B981; margin: 0; }


    50% { transform: translateY(-15px) scale(1.02) rotate(2deg); }
}
@keyframes pulseSuccess {
    0% { box-shadow: 0 0 0 0 rgba(16,185,129,0.6); }
    70% { box-shadow: 0 0 0 12px rgba(16,185,129,0); }
    100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}



    .badge-3d { right: 5%; bottom: 5%; transform: scale(0.8); }
    @keyframes floatBadge3D {
        0%, 100% { transform: translateZ(40px) translateY(0) scale(0.8); }
        50% { transform: translateZ(40px) translateY(-10px) scale(0.85); }
    }
}



.hero-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
}





    .card-middle { font-size: 20px; }
    .motion-rings { width: 300px; height: 300px; }
}



/* ULTRA PREMIUM IPHONE PRO SHOWCASE */
.hero-app-showcase {
    position: relative;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 0;
    perspective: 1400px;
}

.hero-glow-bg {
    position: absolute;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(37,99,235,0.2) 0%, rgba(37,99,235,0) 70%);
    filter: blur(50px);
    z-index: 0;
}

.iphone-mockup-wrapper {
    position: relative;
    z-index: 10;
    transform: rotateY(-10deg) rotateX(4deg);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    animation: floatPhonePro 7s ease-in-out infinite;
}
.iphone-mockup-wrapper:hover {
    transform: rotateY(0deg) rotateX(0deg) scale(1.02);
}

.iphone-mockup {
    position: relative;
    width: 300px;
    height: 620px;
    background: #F8FAFC;
    border-radius: 48px;
    border: 12px solid #0F172A;
    box-shadow: 
        0 30px 60px -15px rgba(0,0,0,0.3),
        inset 0 0 0 2px rgba(255,255,255,0.3),
        -20px 20px 60px rgba(37,99,235,0.15);
    overflow: hidden;
}

/* HARDWARE DETAILS */
.iphone-notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 110px; height: 30px; background: #0F172A; border-bottom-left-radius: 18px; border-bottom-right-radius: 18px; z-index: 30; display: flex; align-items: center; justify-content: flex-end; padding-right: 15px; }
.iphone-camera { width: 10px; height: 10px; background: #1a2235; border-radius: 50%; border: 1px solid #0a0f1d; }
.iphone-speaker { position: absolute; left: 30px; top: 12px; width: 40px; height: 4px; background: #1a2235; border-radius: 4px; }
.iphone-home-bar { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); width: 100px; height: 4px; background: #E2E8F0; border-radius: 4px; z-index: 30; }
.iphone-status-bar { position: absolute; top: 0; left: 0; width: 100%; height: 40px; display: flex; justify-content: space-between; align-items: flex-end; padding: 0 24px 10px; z-index: 20; color: #0F172A; font-size: 11px; font-weight: 700; font-family: -apple-system, sans-serif; }


/* NEOBANK LOAN UI DESIGN (CLEAN & MINIMAL) */
.app-ui-clean { background: #F8FAFC; height: 100%; display: flex; flex-direction: column; width: 100%; }

.app-top { background: #fff; padding: 64px 24px 32px; border-bottom: 1px solid rgba(0,0,0,0.03); box-shadow: 0 4px 20px rgba(0,0,0,0.02); position: relative; z-index: 5; }
.app-top-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.app-top-nav img { height: 34px; object-fit: contain; }
.app-top-nav .icon { font-size: 18px; color: #0F172A; }

.app-balance-label { font-size: 11px; color: #64748B; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.app-balance { font-size: 42px; font-weight: 800; color: #0F172A; letter-spacing: -2px; margin-bottom: 16px; line-height: 1; }

.app-status-pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(16,185,129,0.1); color: #10B981; padding: 8px 14px; border-radius: 100px; font-size: 12px; font-weight: 700; }
.app-status-pill i { font-size: 8px; animation: blink 2s infinite; }

.app-mid { padding: 24px 20px; flex: 1; }
.app-section-head { font-size: 14px; font-weight: 800; color: #0F172A; margin-bottom: 16px; }

.app-detail-card { background: #fff; border-radius: 20px; padding: 20px; margin-bottom: 16px; display: flex; justify-content: space-between; align-items: center; border: 1px solid rgba(0,0,0,0.03); box-shadow: 0 8px 16px -4px rgba(0,0,0,0.02); }
.app-detail-left h6 { font-size: 13px; color: #64748B; font-weight: 600; margin-bottom: 4px; }
.app-detail-left p { font-size: 18px; color: #0F172A; font-weight: 800; margin: 0; letter-spacing: -0.5px; }
.app-detail-icon { width: 44px; height: 44px; border-radius: 14px; background: rgba(37,99,235,0.08); color: #2563EB; display: flex; align-items: center; justify-content: center; font-size: 18px; }

.app-bottom { padding: 20px; background: #fff; border-top: 1px solid rgba(0,0,0,0.03); }
.app-btn { background: #2563EB; color: #fff; width: 100%; padding: 18px; border-radius: 16px; text-align: center; font-weight: 700; font-size: 16px; border: none; box-shadow: 0 10px 25px -5px rgba(37,99,235,0.4); }

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }


@keyframes floatPhonePro { 0%, 100% { transform: translateY(0) rotateY(-10deg) rotateX(4deg); } 50% { transform: translateY(-5px) rotateY(-10deg) rotateX(4deg); } }
@keyframes floatWLeft { 0% { transform: translateZ(20px) translateY(0); } 100% { transform: translateZ(20px) translateY(-10px); } }
@keyframes floatWRight { 0% { transform: translateZ(30px) translateY(0); } 100% { transform: translateZ(30px) translateY(10px); } }

@media (max-width: 1024px) {
    .iphone-mockup-wrapper { transform: rotateY(0) rotateX(0) scale(0.95); animation: none; margin: 0 auto; }
    .iphone-mockup-wrapper:hover { transform: scale(0.95); }
    
}
@media (max-width: 768px) {
    .dashboard-scene { transform: scale(0.75); height: 400px; margin-top: 0; }
}
@media (max-width: 480px) {
    .dashboard-scene { transform: scale(0.65); height: 350px; margin-top: 0; }
}



/* ULTRA PREMIUM IPHONE PRO SHOWCASE */
.hero-app-showcase {
    position: relative;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 0;
    perspective: 1400px;
}

.hero-glow-bg {
    position: absolute;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(37,99,235,0.2) 0%, rgba(37,99,235,0) 70%);
    filter: blur(50px);
    z-index: 0;
}

.iphone-mockup-wrapper {
    position: relative;
    z-index: 10;
    transform: rotateY(-10deg) rotateX(4deg);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    animation: floatPhonePro 7s ease-in-out infinite;
}
.iphone-mockup-wrapper:hover {
    transform: rotateY(0deg) rotateX(0deg) scale(1.02);
}

.iphone-mockup {
    position: relative;
    width: 300px;
    height: 620px;
    background: #F8FAFC;
    border-radius: 48px;
    border: 12px solid #0F172A;
    box-shadow: 
        0 30px 60px -15px rgba(0,0,0,0.3),
        inset 0 0 0 2px rgba(255,255,255,0.3),
        -20px 20px 60px rgba(37,99,235,0.15);
    overflow: hidden;
}

/* HARDWARE DETAILS */
.iphone-notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 110px; height: 30px; background: #0F172A; border-bottom-left-radius: 18px; border-bottom-right-radius: 18px; z-index: 30; display: flex; align-items: center; justify-content: flex-end; padding-right: 15px; }
.iphone-camera { width: 10px; height: 10px; background: #1a2235; border-radius: 50%; border: 1px solid #0a0f1d; }
.iphone-speaker { position: absolute; left: 30px; top: 12px; width: 40px; height: 4px; background: #1a2235; border-radius: 4px; }
.iphone-home-bar { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); width: 100px; height: 4px; background: #E2E8F0; border-radius: 4px; z-index: 30; }
.iphone-status-bar { position: absolute; top: 0; left: 0; width: 100%; height: 40px; display: flex; justify-content: space-between; align-items: flex-end; padding: 0 24px 10px; z-index: 20; color: #0F172A; font-size: 11px; font-weight: 700; font-family: -apple-system, sans-serif; }


/* NEOBANK LOAN UI DESIGN (CLEAN & MINIMAL) */
.app-ui-clean { background: #F8FAFC; height: 100%; display: flex; flex-direction: column; width: 100%; }

.app-top { background: #fff; padding: 64px 24px 32px; border-bottom: 1px solid rgba(0,0,0,0.03); box-shadow: 0 4px 20px rgba(0,0,0,0.02); position: relative; z-index: 5; }
.app-top-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.app-top-nav img { height: 34px; object-fit: contain; }
.app-top-nav .icon { font-size: 18px; color: #0F172A; }

.app-balance-label { font-size: 11px; color: #64748B; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.app-balance { font-size: 42px; font-weight: 800; color: #0F172A; letter-spacing: -2px; margin-bottom: 16px; line-height: 1; }

.app-status-pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(16,185,129,0.1); color: #10B981; padding: 8px 14px; border-radius: 100px; font-size: 12px; font-weight: 700; }
.app-status-pill i { font-size: 8px; animation: blink 2s infinite; }

.app-mid { padding: 24px 20px; flex: 1; }
.app-section-head { font-size: 14px; font-weight: 800; color: #0F172A; margin-bottom: 16px; }

.app-detail-card { background: #fff; border-radius: 20px; padding: 20px; margin-bottom: 16px; display: flex; justify-content: space-between; align-items: center; border: 1px solid rgba(0,0,0,0.03); box-shadow: 0 8px 16px -4px rgba(0,0,0,0.02); }
.app-detail-left h6 { font-size: 13px; color: #64748B; font-weight: 600; margin-bottom: 4px; }
.app-detail-left p { font-size: 18px; color: #0F172A; font-weight: 800; margin: 0; letter-spacing: -0.5px; }
.app-detail-icon { width: 44px; height: 44px; border-radius: 14px; background: rgba(37,99,235,0.08); color: #2563EB; display: flex; align-items: center; justify-content: center; font-size: 18px; }

.app-bottom { padding: 20px; background: #fff; border-top: 1px solid rgba(0,0,0,0.03); }
.app-btn { background: #2563EB; color: #fff; width: 100%; padding: 18px; border-radius: 16px; text-align: center; font-weight: 700; font-size: 16px; border: none; box-shadow: 0 10px 25px -5px rgba(37,99,235,0.4); }

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }


@keyframes floatPhonePro { 0%, 100% { transform: translateY(0) rotateY(-10deg) rotateX(4deg); } 50% { transform: translateY(-5px) rotateY(-10deg) rotateX(4deg); } }
@keyframes floatWLeft { 0% { transform: translateZ(20px) translateY(0); } 100% { transform: translateZ(20px) translateY(-10px); } }
@keyframes floatWRight { 0% { transform: translateZ(30px) translateY(0); } 100% { transform: translateZ(30px) translateY(10px); } }

@media (max-width: 1024px) {
    .iphone-mockup-wrapper { transform: rotateY(0) rotateX(0) scale(0.95); animation: none; margin: 0 auto; }
    .iphone-mockup-wrapper:hover { transform: scale(0.95); }
    
}


/* ACTIVE NAVIGATION LINK STYLES OVERRIDE */
.nav-link {
    position: relative;
}
.nav-links .nav-link.active {
    color: var(--primary) !important;
    font-weight: 800 !important;
}
.nav-links .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
}


/* =========================================
   APPLE-LEVEL PREMIUM DESIGN OVERRIDES
   ========================================= */

/* 1. Typography & Global Colors (SF Pro / Inter style) */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #fbfbfd !important;
    color: #1d1d1f !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    color: #1d1d1f !important;
    letter-spacing: -0.035em !important;
}

p {
    color: #86868b !important;
    line-height: 1.6 !important;
}

/* 2. Frosted Glass Header (Apple Navbar) */
.header {
    background: rgba(251, 251, 253, 0.8) !important;
    backdrop-filter: saturate(180%) blur(24px) !important;
    -webkit-backdrop-filter: saturate(180%) blur(24px) !important;
    border-bottom: 1px solid rgba(0,0,0,0.04) !important;
    box-shadow: none !important;
}

/* 3. Apple-style Buttons */
.btn-primary {
    background: #0071e3 !important;
    color: #ffffff !important;
    border-radius: 999px !important;
    padding: 16px 32px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    letter-spacing: -0.01em !important;
    box-shadow: none !important;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1) !important;
}
.btn-primary:hover {
    background: #0077ED !important;
    transform: scale(1.02) !important;
}
.btn-primary:active {
    transform: scale(0.96) !important;
}

/* 4. Soft Cards & Surfaces */
.hero-form-card, .step-card, .modern-card, .partner-highlight {
    background: #ffffff !important;
    border-radius: 24px !important;
    border: none !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04) !important;
    padding: 32px !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.step-card:hover, .modern-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08) !important;
}

/* 5. Inputs & Forms */
.input-floating {
    background: #f5f5f7 !important;
    border-radius: 16px !important;
    border: 1px solid transparent !important;
    overflow: hidden;
}
.input-floating span {
    color: #86868b !important;
    border-right: 1px solid rgba(0,0,0,0.05) !important;
}
.input-floating input {
    color: #1d1d1f !important;
}
.input-floating:focus-within {
    background: #ffffff !important;
    border-color: #0071e3 !important;
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.15) !important;
}

/* 6. Hardware & Mockup Polish */
.iphone-mockup {
    border: 14px solid #1c1c1e !important; /* Space Gray frame */
    border-radius: 54px !important;
    box-shadow: 
        0 40px 80px -20px rgba(0,0,0,0.3),
        inset 0 0 0 2px rgba(255,255,255,0.1),
        -20px 20px 60px rgba(0, 113, 227, 0.1) !important;
}
.iphone-notch {
    width: 120px !important;
    height: 32px !important;
    border-bottom-left-radius: 20px !important;
    border-bottom-right-radius: 20px !important;
}

/* 7. Selection Highlight */
::selection {
    background: rgba(0, 113, 227, 0.2);
    color: #0071e3;
}


/* =========================================
   APPLE-LEVEL MOBILE RESPONSIVENESS FIXES
   ========================================= */

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    font-size: 24px;
    color: var(--text-main);
    cursor: pointer;
    margin-left: 12px;
}

@media (max-width: 1024px) {
    .nav-actions { display: flex; align-items: center; }
    .mobile-menu-btn { display: block; }
    
    /* Hide nav by default, allow JS to toggle it */
    .nav-links {
        display: none; 
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(251, 251, 253, 0.95);
        backdrop-filter: saturate(180%) blur(24px);
        -webkit-backdrop-filter: saturate(180%) blur(24px);
        padding: 24px;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        text-align: center;
        gap: 24px;
    }
    .nav-links.show {
        display: flex;
    }

    .hero-title {
        font-size: 40px !important;
        letter-spacing: -1px !important;
    }
    
    .hero {
        padding: 120px 20px 60px !important;
    }
    
    .iphone-mockup {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px !important;
    }
    .hero-desc {
        font-size: 16px !important;
    }
    .btn-nav {
        padding: 10px 20px !important;
        font-size: 14px !important;
    }
    
    .iphone-mockup {
        transform: scale(0.9);
        transform-origin: top center;
    }
}


/* =========================================
   APPLE-LEVEL PREMIUM MOTION & ANIMATION
   ========================================= */

/* Living Background Orbs */
@keyframes ambientGlow {
    0% { transform: translate(-50%, -50%) scale(1) rotate(0deg); opacity: 0.8; }
    33% { transform: translate(-40%, -60%) scale(1.15) rotate(120deg); opacity: 0.5; }
    66% { transform: translate(-60%, -40%) scale(0.85) rotate(240deg); opacity: 0.9; }
    100% { transform: translate(-50%, -50%) scale(1) rotate(360deg); opacity: 0.8; }
}
.hero-glow-bg {
    animation: ambientGlow 18s infinite alternate cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Staggered Scroll Reveals */
.reveal {
    opacity: 0;
    transform: translateY(50px) scale(0.98);
    transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* 3D Interactive Cards (CSS transitions for JS logic) */
.modern-card, .step-card {
    will-change: transform, box-shadow;
    transform-style: preserve-3d;
}

/* Pulse Animation on Status Elements */
@keyframes softPulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.app-status-pill i {
    border-radius: 50%;
    animation: softPulse 2s infinite !important;
}

/* Smooth Navbar transition on scroll */
.nav-glass {
    transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}
.nav-glass.scrolled {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
    padding: 12px 0 !important;
}




/* =========================================
   HOMEPAGE MOTION: STEP 1 (HERO ENHANCEMENTS)
   ========================================= */

/* 1. Smooth Phone Levitation */
@keyframes premiumLevitate {
    0%, 100% { transform: translateY(0) rotateY(-10deg) rotateX(4deg); }
    50% { transform: translateY(-12px) rotateY(-10deg) rotateX(4deg); }
}
.iphone-mockup-wrapper {
    animation: premiumLevitate 8s ease-in-out infinite !important;
}
@media (max-width: 1024px) {
    @keyframes mobileLevitate {
        0%, 100% { transform: translateY(0) scale(0.95); }
        50% { transform: translateY(-10px) scale(0.95); }
    }
    .iphone-mockup-wrapper {
        animation: mobileLevitate 8s ease-in-out infinite !important;
    }
}

/* 2. Button Sweep Shine Effect */
@keyframes sweepShine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}
.btn-primary {
    position: relative;
    overflow: hidden;
}
.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: sweepShine 5s infinite cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}


/* =========================================
   MOBILE MOCKUP OPTIMIZATION
   ========================================= */
@media (max-width: 768px) {
    /* Hide the complex interest and EMI details inside the phone on real mobile screens */
    .app-mid {
        display: none !important;
    }
    
    /* Center and enlarge the core approval message so it looks bold and uncluttered */
    .app-top {
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
        padding-top: 40px !important;
    }
    
    /* Make the balance font slightly larger relative to the empty space */
    .app-balance {
        font-size: 42px !important;
        margin: 24px 0 !important;
    }
    
    /* Adjust the status pill to be more prominent */
    .app-status-pill {
        font-size: 14px !important;
        padding: 10px 20px !important;
    }
    
    /* Make the mockup slightly shorter on mobile so it doesn't take up the whole screen */
    .iphone-mockup {
        height: 480px !important;
    }
}


/* =========================================
   APP UI TIMELINE REDESIGN
   ========================================= */
.tracker-timeline {
    padding: 8px 0;
}
.tracker-step {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 2;
}
.tracker-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    background: #fff;
    border: 2px solid var(--border);
    color: var(--text-muted);
}
.tracker-step.completed .tracker-icon {
    background: #10B981;
    border-color: #10B981;
    color: #fff;
}
.tracker-text h6 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 2px 0;
}
.tracker-text p {
    font-size: 11px;
    color: var(--text-muted);
    margin: 0;
}
.tracker-line {
    width: 2px;
    height: 24px;
    background: #10B981;
    margin-left: 15px;
    position: relative;
    z-index: 1;
}
.tracker-line:last-of-type {
    background: rgba(0,0,0,0.05); /* If next step isn't complete */
}

@media (max-width: 768px) {
    /* Show the timeline on mobile now because it's clean and converts well */
    .app-mid {
        display: block !important;
    }
    .iphone-mockup {
        height: 620px !important;
    }
    .app-top {
        padding-top: 0 !important;
        justify-content: flex-start !important;
    }
}


/* =========================================
   HOMEPAGE MOTION: STEP 2 (PREMIUM INTERACTION)
   ========================================= */

/* 1. Staggered Smooth Scroll Reveals */
.reveal {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* 2. 3D Feature Cards */
.modern-card, .step-card {
    transform-style: preserve-3d;
    will-change: transform, box-shadow;
}
/* When card tilts, make the icon pop out in 3D! */
.modern-card .modern-card-icon, .step-card .step-number {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateZ(0px);
}
.modern-card:hover .modern-card-icon {
    transform: translateZ(30px) scale(1.15); /* Literally pops off the card */
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.step-card:hover .step-number {
    transform: translateZ(30px) scale(1.15);
    background: var(--primary);
    color: white;
}

/* 3. Ethereal Rotating Background */
.bg-alt {
    position: relative;
    overflow: hidden;
}
.bg-alt::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(79,70,229,0.03) 0%, transparent 40%);
    animation: rotateBg 25s linear infinite;
    pointer-events: none;
    z-index: 0;
}
@keyframes rotateBg {
    100% { transform: rotate(360deg); }
}

/* Ensure content is above the background */
.bg-alt .container { position: relative; z-index: 1; }


/* =========================================
   PREMIUM STEPS SECTION REDESIGN
   ========================================= */
.premium-steps {
    position: relative;
    z-index: 1;
}

/* The Animated Progress Line */
.progress-line-container {
    position: absolute;
    top: 50px;
    left: 10%;
    right: 10%;
    height: 4px;
    background: rgba(0,0,0,0.04);
    border-radius: 4px;
    z-index: 0;
    overflow: hidden;
}
.progress-line-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), #4facfe);
    border-radius: 4px;
    transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
/* Trigger line fill when section becomes active */
.premium-steps.active-line .progress-line-fill {
    width: 100%;
}

/* Individual Card Overrides */
.step-card {
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    border: 1px solid rgba(0,0,0,0.03) !important;
}

/* Huge Faded Number Watermark */
.step-watermark {
    position: absolute;
    bottom: -15px;
    right: -10px;
    font-size: 160px;
    font-weight: 900;
    color: rgba(0,0,0,0.02);
    line-height: 0.8;
    z-index: 0;
    pointer-events: none;
    user-select: none;
    transition: color 0.4s ease, transform 0.4s ease;
}
.step-card:hover .step-watermark {
    color: rgba(0, 113, 227, 0.04);
    transform: scale(1.05);
}

/* Beautiful Gradient Icons */
.step-icon-modern {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: linear-gradient(135deg, #0071e3, #4facfe);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 10px 24px rgba(0, 113, 227, 0.25);
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
    border: 4px solid #fff;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.step-card h3, .step-card p {
    position: relative;
    z-index: 2;
}
.step-card:hover .step-icon-modern {
    transform: translateY(-8px) scale(1.05);
}

@media (max-width: 1024px) {
    .progress-line-container { display: none; }
    .step-card { align-items: center; text-align: center; }
    .step-watermark { right: 50%; transform: translateX(50%); bottom: 0; color: rgba(0,0,0,0.03); }
    .step-card:hover .step-watermark { transform: translateX(50%) scale(1.05); }
}


/* =========================================
   HOW IT WORKS: PROGRESS LINE FIX
   ========================================= */

/* Push the cards down to make room for the line and floating icons above them */
.premium-steps {
    padding-top: 48px; 
}

/* Ensure cards allow icons to float outside */
.step-card {
    overflow: visible !important;
    padding-top: 56px !important; /* Make room inside for text */
    text-align: center !important;
    align-items: center !important;
}

/* Center and float the icons halfway out of the top of the card */
.step-icon-modern {
    position: absolute;
    top: -32px; /* Exactly half its height (64px / 2) */
    left: 50%;
    transform: translateX(-50%) translateZ(0px); /* Center it and reset Z */
    margin-bottom: 0;
    z-index: 10;
}

/* Hover physics fix for centered icon */
.step-card:hover .step-icon-modern {
    transform: translateX(-50%) translateY(-8px) scale(1.05) translateZ(30px) !important;
}

/* Fix the line to intersect exactly at the center of the floating icons */
/* Since cards are pushed down by 48px (padding), and icon center is at the top edge of the card, the line needs to be at exactly 48px! */
.progress-line-container {
    top: 46px !important; /* 48px padding - 2px (half of 4px line height) */
    left: 15% !important;
    right: 15% !important;
    z-index: 0 !important;
}

/* Adjust the watermark since it's centered now */
.step-watermark {
    right: 50% !important;
    transform: translateX(50%) !important;
    bottom: -10px !important;
}
.step-card:hover .step-watermark {
    transform: translateX(50%) scale(1.05) !important;
}

@media (max-width: 1024px) {
    .premium-steps { padding-top: 0; }
    .step-card { padding-top: 32px !important; }
    .step-icon-modern {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        margin-bottom: 24px;
    }
    .step-card:hover .step-icon-modern {
        transform: translateY(-8px) scale(1.05) translateZ(30px) !important;
    }
}


/* =========================================
   PERFECT DECOUPLED TIMELINE REDESIGN
   ========================================= */

.perfect-timeline-section {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 24px;
}

/* TRACK WRAPPER */
.timeline-track-wrapper {
    position: relative;
    height: 80px; /* Space for the 64px icons */
    margin-bottom: 32px;
}

/* THE LINES */
.timeline-bg-line {
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 4px;
    background: rgba(0,0,0,0.05);
    transform: translateY(-50%);
    border-radius: 4px;
    z-index: 0;
}
.timeline-fill-line {
    position: absolute;
    top: 50%;
    left: 10%;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #0071e3, #4facfe, #10B981);
    transform: translateY(-50%);
    border-radius: 4px;
    z-index: 1;
    transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.perfect-timeline-section.active-line .timeline-fill-line {
    width: 80%; /* Spans exactly across the nodes */
}

/* THE NODES (ICONS) */
.timeline-nodes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    z-index: 2; /* Sits perfectly above the lines */
}
.timeline-node {
    display: flex;
    align-items: center;
    justify-content: center;
}
.node-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    border: 4px solid #fbfbfd; /* Matches body bg to cut out the line perfectly */
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.timeline-node:hover .node-icon {
    transform: scale(1.1) translateY(-4px);
}

/* THE TEXT CARDS */
.timeline-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}
.timeline-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.timeline-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.timeline-card h3 {
    margin-bottom: 12px;
}

/* WATERMARK */
.timeline-card .step-watermark {
    position: absolute;
    bottom: -15px;
    right: 50%;
    transform: translateX(50%);
    font-size: 140px;
    font-weight: 900;
    color: rgba(0,0,0,0.02);
    z-index: 0;
    line-height: 0.8;
    pointer-events: none;
    transition: color 0.4s ease, transform 0.4s ease;
}
.timeline-card:hover .step-watermark {
    color: rgba(0, 113, 227, 0.04);
    transform: translateX(50%) scale(1.05);
}
.timeline-card h3, .timeline-card p {
    position: relative;
    z-index: 1;
}

/* MOBILE FALLBACK */
@media (max-width: 1024px) {
    .timeline-bg-line, .timeline-fill-line { display: none; }
    .timeline-track-wrapper { display: none; } /* Hide the top track */
    .timeline-content-grid { grid-template-columns: 1fr; }
    
    /* Restore icons into the cards for mobile */
    .timeline-card::before {
        content: '\f10b';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        font-size: 32px;
        color: #0071e3;
        display: block;
        margin-bottom: 16px;
    }
    .timeline-card:nth-child(2)::before { content: '\f0e7'; color: #F59E0B; }
    .timeline-card:nth-child(3)::before { content: '\f19c'; color: #10B981; }
}


/* =========================================
   CREATIVE FLEXBOX TIMELINE (FLAWLESS)
   ========================================= */

.creative-timeline-section {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 16px;
}

/* Flexbox guarantees lines and rounds touch perfectly edge-to-edge */
.creative-track {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 860px;
    margin: 0 auto 40px auto;
    padding: 0 20px;
}

/* THE CREATIVE ROUNDS */
.creative-round {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.02);
    z-index: 2;
    cursor: pointer;
}
.round-inner {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--node-color);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    z-index: 2;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    box-shadow: 0 6px 16px var(--node-glow);
}
.round-pulse {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 50%;
    border: 2px solid var(--node-color);
    opacity: 0;
    z-index: 1;
}

/* Hover Physics */
.creative-round:hover .round-inner {
    transform: scale(1.15) translateY(-2px);
    box-shadow: 0 10px 24px var(--node-glow);
}
.creative-round:hover .round-pulse {
    animation: pulseRing 1.5s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
@keyframes pulseRing {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.4); opacity: 0; }
}

/* THE CREATIVE LINES */
.creative-line {
    flex: 1; /* Automatically stretches perfectly between rounds */
    height: 3px;
    background: rgba(0,0,0,0.04);
    margin: 0 12px;
    border-radius: 3px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.creative-line-fill {
    position: absolute;
    top: 0; left: 0;
    height: 100%;
    width: 0%;
    border-radius: 3px;
    transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Sequential Line Drawing */
.creative-timeline-section.active-line .line-fill-1 { width: 100%; }
.creative-timeline-section.active-line .line-fill-2 { width: 100%; transition-delay: 0.8s; }

/* MOBILE RESPONSIVE */
@media (max-width: 1024px) {
    .creative-track { display: none; }
    .timeline-card::before {
        content: '\f10b';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        font-size: 32px;
        color: #0071e3;
        display: block;
        margin-bottom: 16px;
    }
    .timeline-card:nth-child(2)::before { content: '\f0e7'; color: #F59E0B; }
    .timeline-card:nth-child(3)::before { content: '\f19c'; color: #10B981; }
}


/* =========================================
   CONTINUOUS CREATIVE ENERGY MOTION
   ========================================= */

/* 1. Flowing Gradient in the filled lines */
@keyframes flowGradient {
    0% { background-position: 200% center; }
    100% { background-position: -200% center; }
}

.creative-line-fill {
    /* Create a repeating gradient so it can flow seamlessly */
    background: linear-gradient(90deg, var(--node-color), #fff, var(--node-color)) !important;
    background-size: 200% auto !important;
    animation: flowGradient 3s linear infinite !important;
}

/* Specific colors for the flow */
.line-fill-1 { --node-color: #0071e3; }
.line-fill-2 { --node-color: #F59E0B; }

/* 2. The Energy Comet (Shooting Light Trail) */
@keyframes cometRun {
    0% { left: -20%; opacity: 0; }
    5% { opacity: 1; }
    45% { opacity: 1; }
    50% { left: 120%; opacity: 0; }
    100% { left: 120%; opacity: 0; } /* Wait for the next cycle */
}

.creative-line::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -20%;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ffffff, #ffffff);
    box-shadow: 0 0 12px #fff, 0 0 24px rgba(0, 113, 227, 0.8);
    transform: translateY(-50%);
    z-index: 5;
    opacity: 0;
}

/* The timeline section must be active (scrolled into view) for comets to run */
.active-line .creative-line:nth-of-type(1)::after {
    animation: cometRun 6s infinite linear;
    animation-delay: 1s; /* Start after line fills */
}
.active-line .creative-line:nth-of-type(2)::after {
    animation: cometRun 6s infinite linear;
    animation-delay: 4s; /* Starts exactly when Line 1 comet finishes (6s / 2 = 3s offset) */
}

/* 3. Always-on Living Ripple Rings */
/* Remove the hover requirement so the circles are always breathing */
.creative-round .round-pulse {
    animation: pulseRing 3s cubic-bezier(0.16, 1, 0.3, 1) infinite !important;
}
.creative-round:nth-child(3) .round-pulse { animation-delay: 1s !important; }
.creative-round:nth-child(5) .round-pulse { animation-delay: 2s !important; }

/* 4. Soft hovering effect on the inner icon */
@keyframes gentleBob {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-4px) scale(1.05); }
}
.creative-round .round-inner {
    animation: gentleBob 4s ease-in-out infinite;
}
.creative-round:nth-child(3) .round-inner { animation-delay: 1s; }
.creative-round:nth-child(5) .round-inner { animation-delay: 2s; }

/* Keep extreme hover state */
.creative-round:hover .round-inner {
    transform: scale(1.15) translateY(-2px) !important;
    animation: none !important;
}


/* =========================================
   CREATIVE FEATURES GRID (AMBIENT & STAGGERED)
   ========================================= */

.creative-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 24px;
    padding-top: 32px; /* Make room for the staggered card */
}

/* The Stagger Effect: Middle card floats higher */
.creative-features-grid .creative-feature-card:nth-child(3n+2) {
    transform: translateY(-32px);
}
/* Ensure the hover 3D physics doesn't permanently lose the stagger by wrapping the tilt in the JS */
/* Wait, JS sets transform inline. We'll use margin-top for the stagger so JS transform doesn't overwrite it! */
.creative-features-grid .creative-feature-card:nth-child(3n+2) {
    transform: none;
    margin-top: -48px;
}

/* The Card Structure */
.creative-feature-card {
    position: relative;
    overflow: hidden; /* Contains the ambient light blob */
    background: #ffffff;
    border-radius: 32px; /* Apple-level smooth rounded corners */
    padding: 40px 32px;
    border: 1px solid rgba(0,0,0,0.03) !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03) !important;
    transition: box-shadow 0.5s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.creative-feature-card:hover {
    box-shadow: 0 20px 60px rgba(0,0,0,0.08) !important;
}

/* Ambient Light Blob (The glowing aura inside the card) */
.ambient-blob {
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: var(--card-accent);
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.08;
    z-index: 0;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
    pointer-events: none;
}
.creative-feature-card:hover .ambient-blob {
    transform: scale(1.5) translate(-20px, 20px);
    opacity: 0.18; /* The light "turns on" when hovered */
}

/* The Glass Icon */
.feature-icon-glass {
    position: relative;
    z-index: 2;
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0,0,0,0.05);
    color: var(--card-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}
.creative-feature-card:hover .feature-icon-glass {
    transform: translateY(-8px) scale(1.1) translateZ(30px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.08);
    border: 1px solid var(--card-accent);
}

/* Text */
.creative-feature-card h3 {
    position: relative;
    z-index: 2;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 12px;
}
.creative-feature-card p {
    position: relative;
    z-index: 2;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* Background Decorations */
.feature-decor-dots {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-image: radial-gradient(rgba(0,0,0,0.1) 2px, transparent 2px);
    background-size: 12px 12px;
    opacity: 0.5;
    z-index: 1;
    transition: transform 0.8s ease;
}
.creative-feature-card:hover .feature-decor-dots {
    transform: rotate(15deg) scale(1.1);
}

/* Responsive */
@media (max-width: 1024px) {
    .creative-features-grid { grid-template-columns: 1fr; padding-top: 0; gap: 24px; }
    .creative-features-grid .creative-feature-card:nth-child(3n+2) { margin-top: 0; } /* Remove stagger on mobile */
    .creative-feature-card { padding: 32px 24px; }
}


/* =========================================
   FEATURES: CONTINUOUS KINETIC MOTION
   ========================================= */

/* 1. Orbiting Ambient Aura (Lava Lamp Effect) */
@keyframes orbitAura {
    0% { transform: translate(0px, 0px) scale(1); }
    33% { transform: translate(-40px, 50px) scale(1.3); }
    66% { transform: translate(-70px, 10px) scale(0.9); }
    100% { transform: translate(0px, 0px) scale(1); }
}

.creative-feature-card .ambient-blob {
    animation: orbitAura 12s ease-in-out infinite !important;
    opacity: 0.12 !important; /* Slightly brighter by default so you can see it moving */
}
/* Offset the orbits so each card feels independent */
.creative-feature-card:nth-child(2) .ambient-blob { animation-delay: -4s !important; animation-duration: 15s !important; }
.creative-feature-card:nth-child(3) .ambient-blob { animation-delay: -8s !important; animation-duration: 10s !important; }

/* Keep hover amplifying the light, but don't stop the orbit */
.creative-feature-card:hover .ambient-blob {
    opacity: 0.25 !important;
    filter: blur(40px) !important; /* Sharpen the light slightly on hover */
}


/* 2. Floating Glass Icons */
@keyframes levitateIcon {
    0%, 100% { transform: translateY(0px) translateZ(0px); }
    50% { transform: translateY(-10px) translateZ(10px); }
}
.creative-feature-card .feature-icon-glass {
    animation: levitateIcon 4s ease-in-out infinite;
}
.creative-feature-card:nth-child(2) .feature-icon-glass { animation-delay: -1.5s; }
.creative-feature-card:nth-child(3) .feature-icon-glass { animation-delay: -3s; }

/* On hover, pop it up higher and stop the float to feel grounded in the user's control */
.creative-feature-card:hover .feature-icon-glass {
    animation: none !important;
    transform: translateY(-12px) scale(1.1) translateZ(30px) !important;
}


/* 3. Infinite Matrix Scrolling Decor */
@keyframes scrollMatrix {
    0% { background-position: 0px 0px; }
    100% { background-position: 24px 24px; } /* Must match background-size multiple */
}
.feature-decor-dots {
    animation: scrollMatrix 4s linear infinite !important;
    opacity: 0.4 !important;
}


/* 4. Glowing Pulse on the Card Border */
@keyframes borderPulse {
    0%, 100% { border-color: rgba(0,0,0,0.03); }
    50% { border-color: var(--card-accent); }
}
.creative-feature-card {
    animation: borderPulse 6s ease-in-out infinite !important;
}
.creative-feature-card:nth-child(2) { animation-delay: -2s !important; }
.creative-feature-card:nth-child(3) { animation-delay: -4s !important; }

.creative-feature-card:hover {
    animation: none !important;
    border-color: var(--card-accent) !important;
}


/* =========================================
   RBI SECURITY VAULT: KINETIC MOTION
   ========================================= */

.premium-security-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #09101f, #1e293b) !important;
    color: #ffffff !important;
    border-radius: 32px !important;
    padding: 64px 56px !important;
    box-shadow: 0 24px 60px rgba(9, 16, 31, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    margin-top: 16px;
    z-index: 1;
}

.security-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    width: 100%;
}

.security-text-area {
    flex: 1;
    text-align: left;
}
.security-text-area h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
    color: #ffffff;
}
.security-text-area p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 520px;
    line-height: 1.6;
    margin-bottom: 32px;
}
.security-badge-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #10B981;
    background: rgba(16, 185, 129, 0.1);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 24px;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Glowing NBFC Badge with Shimmer Sweep */
.glowing-nbfc-badge {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.04);
    padding: 16px 24px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease, background 0.4s ease, border-color 0.4s ease;
}
.glowing-nbfc-badge:hover {
    transform: translateY(-4px) scale(1.02);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(79, 172, 254, 0.4);
}
.nbfc-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}
.nbfc-text strong {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
}
.nbfc-text span {
    color: #4facfe;
    font-size: 13px;
    font-weight: 600;
    margin-top: 2px;
}

@keyframes shimmerSweep {
    0%, 40% { left: -100%; }
    100% { left: 200%; }
}
.nbfc-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transform: skewX(-20deg);
    animation: shimmerSweep 4s infinite linear;
    pointer-events: none;
}

/* Autonomous Radar Ping Animation */
@keyframes radarPing {
    0% { transform: translate(50%, -50%) scale(0.1); opacity: 0.8; border-width: 4px; }
    100% { transform: translate(50%, -50%) scale(4); opacity: 0; border-width: 0px; }
}
.security-radar-ping {
    position: absolute;
    top: 50%;
    right: 25%;
    width: 200px;
    height: 200px;
    border: solid rgba(79, 172, 254, 0.3);
    border-radius: 50%;
    transform: translate(50%, -50%);
    animation: radarPing 4s infinite cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 0;
}

/* Hologram Visual Area */
.security-visual-area {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.hologram-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(79, 172, 254, 0.15) 0%, transparent 60%);
    z-index: 0;
    animation: pulseShadow 4s ease-in-out infinite;
}

/* Continuous Floating Animation */
@keyframes floatVault {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-24px); }
}
.levitating-shield-container {
    position: relative;
    z-index: 2;
    animation: floatVault 4s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}
.css-shield-bg {
    font-size: 180px;
    color: rgba(255, 255, 255, 0.03);
    filter: drop-shadow(0 0 40px rgba(79, 172, 254, 0.2));
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.levitating-coin {
    position: relative;
    z-index: 3;
    max-height: 200px;
    transform: scale(1.1);
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));
}

/* Pulsing Shadow on the floor */
@keyframes pulseShadow {
    0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.8; }
    50% { transform: translateX(-50%) scale(0.6); opacity: 0.2; }
}
.hologram-base {
    position: absolute;
    bottom: 20px;
    left: 50%;
    width: 140px;
    height: 16px;
    background: rgba(79, 172, 254, 0.4);
    border-radius: 50%;
    filter: blur(12px);
    transform: translateX(-50%);
    animation: pulseShadow 4s ease-in-out infinite;
    z-index: 1;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .premium-security-card { flex-direction: column; text-align: center; padding: 40px 24px !important; }
    .security-content { flex-direction: column; gap: 32px; }
    .security-text-area { text-align: center; }
    .glowing-nbfc-badge { width: 100%; justify-content: center; }
    .security-radar-ping { right: 50%; }
    .security-visual-area { height: 260px; }
}


/* =========================================
   TEXT VISIBILITY FIX (DARK MODE OVERRIDES)
   ========================================= */
/* Earlier, global Apple typography rules with !important forced all H2s to be dark gray. 
   This safely overrides those rules exclusively inside the dark mode Security Vault. */

.premium-security-card h1, 
.premium-security-card h2, 
.premium-security-card h3, 
.premium-security-card h4, 
.premium-security-card h5, 
.premium-security-card h6,
.premium-security-card .nbfc-text strong {
    color: #ffffff !important;
}

.premium-security-card p {
    color: rgba(255, 255, 255, 0.8) !important;
}

.premium-security-card .nbfc-text span {
    color: #4facfe !important;
}


/* =========================================
   SERVICES PAGE: CREATIVE UPGRADES
   ========================================= */

.creative-page-header { text-align: center; padding: 180px 20px 60px; position: relative; overflow: hidden; background: #fbfbfd; }

.header-ambient-glow { position: absolute; top: -100px; left: 50%; transform: translateX(-50%); width: 600px; height: 400px; background: radial-gradient(circle, rgba(0, 113, 227, 0.12) 0%, transparent 70%); border-radius: 50%; z-index: 0; pointer-events: none; animation: slowPulse 8s infinite alternate; }

.creative-page-header .container {
    position: relative;
    z-index: 1;
}

.creative-page-header h1 {
    font-size: 48px !important;
    font-weight: 800 !important;
    letter-spacing: -1.5px !important;
    color: #1d1d1f !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    margin-bottom: 16px;
}

.creative-page-header p { font-size: 20px !important; color: #86868b !important; max-width: 600px; margin: 0 auto; font-weight: 500; }

@keyframes slowPulse {
    0% { transform: translateX(-50%) scale(0.8); opacity: 0.5; }
    100% { transform: translateX(-50%) scale(1.2); opacity: 1; }
}

@media (max-width: 768px) {
    .creative-page-header h1 { font-size: 36px !important; }
    .creative-page-header { text-align: center; padding: 180px 20px 60px; position: relative; overflow: hidden; background: #fbfbfd; }
}


/* =========================================
   PREMIUM CONTACT FORM (LIGHT MODE CARD)
   ========================================= */
.premium-contact-card {
    position: relative;
    overflow: hidden;
    background: #ffffff !important;
    border-radius: 32px !important;
    padding: 48px !important;
    box-shadow: 0 16px 40px rgba(0,0,0,0.06) !important;
    border: 1px solid rgba(0,0,0,0.04) !important;
    max-width: 900px;
    margin: 0 auto;
    z-index: 1;
}

/* Ensure text inside the light card follows the Apple theme, 
   overriding any global !important rules if necessary */
.premium-contact-card h2 {
    color: #1d1d1f !important;
}
.premium-contact-card p {
    color: #86868b !important;
}

@media (max-width: 768px) {
    .premium-contact-card { padding: 32px 24px !important; }
}


@media (max-width: 1024px) {
    .creative-page-header { padding: 140px 20px 40px !important; }
}
@media (max-width: 768px) {
    .creative-page-header { padding: 120px 20px 40px !important; }
}


/* =========================================
   DARK MODE FOOTER TEXT VISIBILITY FIX
   ========================================= */
.footer-modern p, 
.footer-modern span, 
.footer-modern li {
    color: rgba(255, 255, 255, 0.6) !important;
}
.footer-modern h1, .footer-modern h2, .footer-modern h3, .footer-modern h4, .footer-modern h5, .footer-modern h6 {
    color: #ffffff !important;
    letter-spacing: 0.5px !important;
}
.footer-modern a {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-modern a:hover {
    color: #4facfe !important;
}
.footer-modern i {
    color: #4facfe !important;
}
