/* MASTER STYLESHEET - WrinRev Enterprise v7.0 (Final Stable) */

:root {
    --brand-blue: #0011FF;  
    --brand-teal: #00E0C6;  
    --brand-black: #0F1115;
    --text-grey: #64748B;
    --bg-white: #FFFFFF;
    --ui-green: #10B981;
    --ui-orange: #F59E0B;
    --footer-bg: #050505;
    --footer-text: #9CA3AF;
    
    /* Premium Gradients */
    --glass-border: rgba(255, 255, 255, 0.6);
    --glass-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    --hero-glow: radial-gradient(circle at 50% 50%, rgba(0, 17, 255, 0.08) 0%, transparent 50%);
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-white);
    color: var(--brand-black);
    overflow-x: hidden;
    display: flex; flex-direction: column; min-height: 100vh;
}

/* --- 1. NAVIGATION --- */
.nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 40px; 
    position: fixed; width: 100%; top: 0;
    background: rgba(255, 255, 255, 0.85); 
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    z-index: 100; 
    border-bottom: 1px solid rgba(0,0,0,0.05);
    box-shadow: var(--glass-shadow);
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.logo img { height: 26px; width: auto; display: block; }
.nav-links { display: flex; gap: 30px; }
.nav-link {
    text-decoration: none; color: var(--brand-black); font-size: 14px;
    font-weight: 500; opacity: 0.7; transition: all 0.2s;
}
.nav-link:hover { opacity: 1; color: var(--brand-blue); transform: translateY(-1px); }
.btn-nav {
    background: var(--brand-black); color: white; padding: 10px 20px;
    border-radius: 8px; font-size: 13px; font-weight: 600; text-decoration: none;
    transition: all 0.2s; box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.btn-nav:hover { background: #222; transform: translateY(-1px); }

/* --- 2. HOME HERO & LAYOUT --- */
.hero-container {
    display: flex; align-items: center; justify-content: space-between;
    max-width: 1200px; margin: 0 auto; 
    /* Tighter top padding for better placement */
    padding: 110px 20px 80px 20px;
    min-height: 600px; width: 100%; box-sizing: border-box;
    background-image: var(--hero-glow);
    background-size: 100% 100%;
}
.page-header {
    padding: 160px 20px 80px 20px; max-width: 800px; margin: 0 auto; text-align: center;
    background-image: var(--hero-glow);
}
.hero-content { flex: 1; max-width: 550px; padding-right: 50px; }

/* Typography */
h1 {
    font-size: 56px; line-height: 1.1; font-weight: 800; letter-spacing: -1.5px;
    margin: 0 0 20px 0; color: var(--brand-black);
}
.sub-head {
    font-size: 18px; line-height: 1.6; color: var(--text-grey); margin-bottom: 40px;
}
.badge, .page-badge {
    background: #F0F9FF; color: var(--brand-blue); padding: 6px 12px;
    border-radius: 30px; font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px; display: inline-block;
    margin-bottom: 25px; border: 1px solid #BAE6FD;
}
.highlight-text {
    background: linear-gradient(90deg, var(--brand-blue) 0%, var(--brand-teal) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.highlight-blue {
    color: #38BDF8; /* Used in Dark Mode Heros */
}

/* Buttons */
.cta-group { display: flex; gap: 15px; }
.btn-primary {
    background: linear-gradient(135deg, var(--brand-blue) 0%, #2952FF 100%);
    color: white; padding: 16px 32px; border-radius: 8px; font-weight: 600;
    text-decoration: none; box-shadow: 0 10px 25px rgba(0, 17, 255, 0.25);
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 15px 30px rgba(0, 17, 255, 0.35); }
.btn-secondary {
    background: white; color: var(--brand-black); padding: 16px 32px;
    border-radius: 8px; font-weight: 600; text-decoration: none;
    border: 1px solid #e2e8f0; transition: background 0.2s, border-color 0.2s;
}
.btn-secondary:hover { background: #f8fafc; border-color: #cbd5e1; }

/* --- 3. ANIMATIONS & PHONE VISUAL --- */
.hero-visual { 
    flex: 1; 
    display: flex; flex-direction: column; align-items: center; justify-content: center; 
    position: relative; 
}

.phone-frame {
    width: 300px; height: 600px; background: #fff;
    border: 8px solid #1a1a1a; border-radius: 40px;
    position: relative; overflow: hidden;
    box-shadow: 0 35px 60px -15px rgba(0, 0, 0, 0.3); z-index: 10;
}
.notch {
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 120px; height: 25px; background: #1a1a1a;
    border-bottom-left-radius: 16px; border-bottom-right-radius: 16px; z-index: 20;
}
.screen-container { height: 100%; width: 100%; position: relative; }
.app-screen {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0; transition: opacity 0.8s ease-in-out;
    padding: 40px 20px; box-sizing: border-box; background: #f8fafc;
}
.app-screen.active { opacity: 1; }
.app-header { font-size: 18px; font-weight: 700; margin-bottom: 20px; margin-top: 10px; }
.card {
    background: white; padding: 15px; border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05); margin-bottom: 15px;
}
.label { font-size: 10px; color: #999; text-transform: uppercase; margin-bottom: 4px; }
.value { font-size: 16px; font-weight: 600; }
.s1-tag { color: var(--brand-blue); background: #EEF2FF; padding: 4px 8px; border-radius: 4px; font-size: 10px; display:inline-block; margin-bottom:10px;}
.battery-bar { height: 8px; background: #eee; border-radius: 4px; overflow: hidden; margin-top: 5px; }
.battery-fill { 
    height: 100%; width: 88%; background: var(--brand-teal); 
    animation: bar-fill 3s infinite ease-in-out; 
}
.govt-logo { width: 40px; height: 40px; background: var(--ui-orange); border-radius: 50%; margin-bottom: 10px; display:flex; align-items:center; justify-content:center; color:white; font-weight:bold; font-size: 20px;}

.caption-box {
    position: relative; margin-top: 20px;
    width: 300px; text-align: center; 
    font-size: 14px; font-weight: 600; color: var(--text-grey); z-index: 5;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 0.4; }
    100% { transform: scale(1); opacity: 0.8; }
}
@keyframes bar-fill {
    0% { width: 75%; }
    50% { width: 78%; } 
    100% { width: 75%; }
}

/* --- 4. INDUSTRY IDENTITY CARDS (Home Page) --- */
.industry-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 15px; margin-top: 30px; margin-bottom: 25px;
}
.industry-card {
    background: white; border: 1px solid #E2E8F0; border-radius: 12px;
    padding: 20px 15px; text-decoration: none; transition: all 0.2s ease;
    position: relative; overflow: hidden; display: flex; flex-direction: column;
    justify-content: center; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
}
.industry-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.08);
    border-color: var(--brand-blue);
}
.industry-icon { font-size: 24px; margin-bottom: 8px; }
.industry-title { font-size: 14px; font-weight: 700; color: #0F1115; display: block; margin-bottom: 4px; }
.industry-hook { font-size: 11px; color: #64748B; font-weight: 500; line-height: 1.3; }

/* --- 5. SEGMENT PAGES (Banks, NBFCs, Fintechs) --- */
.nbfc-hero {
    padding: 160px 5% 80px 5%;
    background: linear-gradient(135deg, #1E3A8A 0%, #0044CC 100%);
    color: white; position: relative; overflow: hidden;
}
.nbfc-hero::before {
    content: ''; position: absolute; top: -10%; right: -5%;
    width: 600px; height: 600px; background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}
.nbfc-badge {
    display: inline-block; background: rgba(255, 255, 255, 0.1);
    color: var(--brand-teal); padding: 8px 20px; border-radius: 50px;
    font-size: 13px; font-weight: 700; letter-spacing: 1px;
    margin-bottom: 24px; text-transform: uppercase; border: 1px solid rgba(255,255,255,0.2);
}
.nbfc-hero-stats { display: flex; gap: 50px; margin-top: 50px; }
.hero-stat-value { font-size: 48px; font-weight: 800; color: var(--brand-teal); margin-bottom: 5px; line-height: 1; }
.hero-stat-label { font-size: 14px; opacity: 0.8; }

/* --- 6. PAIN POINTS & SOLUTIONS --- */
.pain-points { padding: 100px 20px; background: white; }
.pain-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px; max-width: 1200px; margin: 60px auto 0;
}
.pain-card {
    background: #FEF2F2; padding: 35px 30px; border-radius: 16px;
    border-left: 4px solid #DC2626; transition: transform 0.3s;
}
.pain-card:hover { transform: translateY(-5px); }
.pain-icon { font-size: 32px; margin-bottom: 15px; }
.pain-card h3 { font-size: 20px; color: #991B1B; margin-bottom: 10px; }
.pain-card p { font-size: 15px; color: #7F1D1D; line-height: 1.6; }

.solutions-section { padding: 100px 20px; background: #F0FDF4; }
.solutions-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px; max-width: 1200px; margin: 60px auto 0;
}
.solution-card {
    background: white; padding: 40px; border-radius: 20px;
    border: 1px solid #10B981; box-shadow: 0 10px 30px rgba(16, 185, 129, 0.05);
}
.solution-icon {
    width: 60px; height: 60px; background: #ECFDF5; color: #10B981;
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    font-size: 28px; margin-bottom: 20px;
}
.solution-features { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.solution-feature { font-size: 14px; display: flex; align-items: center; gap: 10px; }
.solution-feature::before { content: '✓'; color: #10B981; font-weight: bold; }

/* --- 7. FOOTER --- */
.site-footer {
    background-color: var(--footer-bg); color: var(--footer-text);
    padding: 80px 20px 20px 20px; margin-top: auto; font-size: 14px;
}
.footer-grid {
    max-width: 1200px; margin: 0 auto; display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px;
}
.footer-col h4 {
    color: white; font-size: 12px; font-weight: 700;
    letter-spacing: 1.2px; margin-bottom: 20px; text-transform: uppercase;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: var(--footer-text); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--brand-teal); }
.footer-brand p { line-height: 1.6; margin: 15px 0; max-width: 250px; }
.compliance-badges { display: flex; gap: 10px; margin-top: 20px; opacity: 0.5; }
.compliance-badge { border: 1px solid #444; padding: 4px 8px; border-radius: 4px; font-size: 10px; }
.footer-bottom {
    max-width: 1200px; margin: 0 auto; border-top: 1px solid #222;
    padding-top: 20px; display: flex; justify-content: space-between; align-items: center; font-size: 12px;
}

/* --- 8. LOAN JOURNEYS / COMPANY PAGE HERO --- */
/* This handles the dark "Premium" headers */
.journey-hero-premium {
    padding: 160px 5% 100px 5%;
    background: radial-gradient(circle at 50% 0%, #1e1e2f 0%, #0F1115 100%);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center Alignment */
    text-align: center;
    position: relative;
    overflow: hidden;
}
/* FORCE Headline to be White */
.journey-hero-premium h1 {
    color: #FFFFFF !important; 
    margin-bottom: 20px;
}
/* FORCE Sub-text to be Light Grey */
.journey-hero-premium p {
    color: #CBD5E1 !important;
    font-size: 18px; max-width: 600px; margin: 0 auto; line-height: 1.6;
}

/* --- 9. HIGH-CLARITY CORPORATE GRID (Loan Journeys) --- */
.bento-section {
    padding: 100px 5%;
    background: #F8FAFC; 
}
.bento-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 40px; max-width: 1200px; margin: 0 auto; align-items: stretch;
}
.bento-card {
    background: #FFFFFF; border: 1px solid #E2E8F0; border-radius: 16px;
    padding: 35px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    display: flex; flex-direction: column; height: 100%;
}
.bento-card:hover {
    transform: translateY(-5px); box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--brand-blue);
}
.bento-header {
    display: flex; align-items: center; gap: 15px; margin-bottom: 25px;
    padding-bottom: 15px; border-bottom: 1px solid #F1F5F9;
}
.bento-icon {
    width: 48px; height: 48px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; background: #F8FAFC; color: var(--brand-blue); border: 1px solid #E2E8F0;
}
.bento-title { font-size: 18px; font-weight: 700; color: #0F172A; }
.bento-card p {
    font-size: 14px; color: #64748B; line-height: 1.6;
    margin-bottom: 25px; flex-grow: 1;
}
.journey-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.journey-pill {
    padding: 6px 14px; background: #F1F5F9; border: 1px solid #E2E8F0;
    border-radius: 6px; font-size: 11px; font-weight: 600; color: #475569; transition: all 0.2s;
}
.bento-card:hover .journey-pill { background: #FFFFFF; color: var(--brand-blue); border-color: #BFDBFE; }

/* Special Journey Cards */
.card-green { background: #F0FDF4; border-color: #BBF7D0; }
.card-green .bento-icon { background: #DCFCE7; color: #166534; border-color: #86EFAC; }
.card-green .bento-title { color: #14532D; }
.card-green p { color: #166534; }
.card-green:hover { border-color: #166534; box-shadow: 0 20px 25px -5px rgba(22, 101, 52, 0.1); }

.card-chain { background: #F5F3FF; border-color: #DDD6FE; }
.card-chain .bento-icon { background: #EDE9FE; color: #6D28D9; border-color: #C4B5FD; }
.card-chain .bento-title { color: #4C1D95; }
.card-chain p { color: #5B21B6; }
.card-chain:hover { border-color: #6D28D9; box-shadow: 0 20px 25px -5px rgba(109, 40, 217, 0.1); }


/* --- 10. COMPANY PAGE STORY SECTION (Aligned & Fixed) --- */
.story-section {
    width: 100%; box-sizing: border-box; padding: 100px 5%;
    background: #FFFFFF; display: flex; justify-content: center;
}
.story-container {
    max-width: 1200px; width: 100%; display: flex; align-items: center; gap: 80px;
}
.story-text { flex: 1; min-width: 300px; }
.story-visual { flex: 1; display: flex; justify-content: center; position: relative; }

.story-label {
    font-size: 12px; font-weight: 700; color: var(--brand-blue);
    letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 20px; display: block;
}
.story-text h2 {
    font-size: 42px; line-height: 1.1; margin-bottom: 30px;
    color: #0F172A; letter-spacing: -1px;
}
.story-text p {
    font-size: 16px; line-height: 1.8; color: #64748B; margin-bottom: 20px;
}

/* Abstract Visual for Story */
.abstract-shape {
    width: 400px; height: 400px;
    background: linear-gradient(135deg, #EFF6FF 0%, #F8FAFC 100%);
    border-radius: 50% 40% 30% 70% / 60% 30% 70% 40%;
    position: relative; animation: morph 8s ease-in-out infinite; border: 1px solid #E2E8F0;
}
.float-card {
    position: absolute; background: white; padding: 20px; border-radius: 12px;
    box-shadow: 0 20px 40px -5px rgba(0,0,0,0.1); border: 1px solid #F1F5F9;
    display: flex; align-items: center; gap: 15px; animation: float 6s ease-in-out infinite;
    z-index: 2;
}
.float-card.top-right { top: 20%; right: -20px; animation-delay: 1s; }
.float-card.bottom-left { bottom: 20%; left: -20px; animation-delay: 2s; }
.float-icon {
    width: 40px; height: 40px; background: #F0FDF4; color: #166534;
    border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 20px;
}

@keyframes morph {
    0% { border-radius: 50% 40% 30% 70% / 60% 30% 70% 40%; }
    50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
    100% { border-radius: 50% 40% 30% 70% / 60% 30% 70% 40%; }
}
@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 900px) {
    .hero-container { flex-direction: column; padding-top: 120px; text-align: center; }
    .hero-content { padding-right: 0; margin-bottom: 60px; }
    h1 { font-size: 40px; }
    .cta-group { justify-content: center; }
    
    .industry-grid { grid-template-columns: 1fr; }
    .industry-card { flex-direction: row; align-items: center; padding: 15px; text-align: left; }
    .industry-icon { margin-bottom: 0; margin-right: 15px; }
    
    .bento-grid { grid-template-columns: 1fr; }
    
    .story-container { flex-direction: column; text-align: center; }
    .story-visual { margin-top: 40px; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 40px; text-align: left; }
    .footer-bottom { flex-direction: column; gap: 15px; }
}
/* --- ZOHO CRM FORM STYLING --- */

/* 1. Wrapper - Clean up the layout */
#crmWebToEntityForm {
    width: 100% !important;
    max-width: 100% !important;
    background: transparent !important;
    font-family: inherit !important;
}

/* 2. Rows - Spacing */
#crmWebToEntityForm tr {
    display: block;
    margin-bottom: 20px;
}

#crmWebToEntityForm td {
    display: block;
    padding: 0 !important;
    width: 100% !important;
}

/* 3. Labels - Professional & Readable */
#crmWebToEntityForm label {
    display: block !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #475569 !important; /* Slate Grey */
    margin-bottom: 8px !important;
    text-align: left !important;
    width: 100% !important;
}

/* 4. Inputs - Modern Fields */
#crmWebToEntityForm input[type="text"],
#crmWebToEntityForm input[type="email"],
#crmWebToEntityForm input[type="tel"],
#crmWebToEntityForm select, 
#crmWebToEntityForm textarea {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 14px 16px !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    color: #0F172A !important;
    background: #F8FAFC !important;
    transition: all 0.2s ease !important;
    outline: none !important;
}

/* Focus State - Brand Blue Glow */
#crmWebToEntityForm input:focus,
#crmWebToEntityForm select:focus,
#crmWebToEntityForm textarea:focus {
    border-color: var(--brand-blue) !important;
    background: #FFFFFF !important;
    box-shadow: 0 0 0 3px rgba(0, 17, 255, 0.1) !important;
}

/* 5. Submit Button - WrinRev Primary Style */
#crmWebToEntityForm input[type="submit"] {
    background: linear-gradient(135deg, var(--brand-blue) 0%, #2952FF 100%) !important;
    color: white !important;
    font-weight: 600 !important;
    padding: 16px !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    width: 100% !important;
    font-size: 16px !important;
    margin-top: 10px !important;
    box-shadow: 0 10px 25px rgba(0, 17, 255, 0.25) !important;
    transition: transform 0.2s !important;
}

#crmWebToEntityForm input[type="submit"]:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 15px 30px rgba(0, 17, 255, 0.35) !important;
}

/* 6. Reset Button - Hide it (It's clutter) */
#crmWebToEntityForm input[type="reset"] {
    display: none !important;
}
/* --- ZOHO CRM FORM STYLING --- */
#crmWebToEntityForm { width: 100% !important; font-family: inherit !important; }
#crmWebToEntityForm input[type="text"],
#crmWebToEntityForm input[type="email"],
#crmWebToEntityForm input[type="tel"] {
    width: 100%; padding: 14px; border: 1px solid #E2E8F0;
    border-radius: 10px; background: #F8FAFC; margin-top: 5px;
    box-sizing: border-box; /* Fixes width overflow */
}
#crmWebToEntityForm input:focus { border-color: #0011FF; background: white; outline:none; }
#crmWebToEntityForm input[type="submit"] {
    background: #0011FF; color: white; padding: 16px; border: none;
    border-radius: 8px; width: 100%; font-weight: 600; cursor: pointer;
}
#crmWebToEntityForm input[type="submit"]:hover { background: #0000CC; }