/* EMI Calculator: Loan & Finance - Promotional & Financial Theme */

:root {
    /* Rich Royal Blue Promotional Palette */
    --bg-dark: #081647;
    --bg-gradient: radial-gradient(circle at 50% 15%, #183DB8 0%, #081647 100%);
    --bg-card: rgba(15, 23, 42, 0.94);
    --bg-card-hover: rgba(30, 41, 59, 0.98);
    
    --text-primary: #FFFFFF;
    --text-secondary: #CBD5E1;
    --text-muted: #94A3B8;
    
    --accent-blue: #3B82F6;
    --accent-blue-glow: rgba(59, 130, 246, 0.35);
    --accent-emerald: #10B981;
    --accent-emerald-glow: rgba(16, 185, 129, 0.35);
    
    --gradient-blue: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    --gradient-emerald: linear-gradient(135deg, #10B981 0%, #059669 100%);
    
    --border-blue: 1px solid rgba(59, 130, 246, 0.35);
    --border-blue-glow: 1px solid rgba(59, 130, 246, 0.7);
    
    --container-max: 960px;
    --radius-lg: 20px;
    --radius-md: 12px;
    --radius-sm: 8px;
    
    --shadow-blue: 0 0 35px rgba(37, 99, 235, 0.25);
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-dark);
    background-image: var(--bg-gradient);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
}

/* Subtle pattern overlay */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 0),
                      radial-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 0);
    background-size: 24px 24px;
    background-position: 0 0, 12px 12px;
    pointer-events: none;
    z-index: 1;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #1E293B;
    border: 2px solid var(--bg-dark);
    border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue);
}

/* Structure */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* Hero Section */
.hero {
    padding: 70px 0 40px;
    text-align: center;
}

.hero-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-blue);
    position: relative;
    animation: float 4s ease-in-out infinite;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero h1 {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: clamp(2.3rem, 5.5vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #FFFFFF 0%, #93C5FD 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

.hero-subtitle {
    font-size: 1.35rem;
    color: #93C5FD;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

/* Hero Feature Bullets */
.hero-bullets {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 20px;
    margin-bottom: 28px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.hero-bullets span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
}

.hero-bullets span i {
    color: var(--accent-emerald);
}

.badge-container {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.12);
    color: var(--accent-emerald);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border: 1px solid rgba(16, 185, 129, 0.35);
    line-height: 1;
    text-transform: uppercase;
}

.badge-update {
    border-color: rgba(59, 130, 246, 0.35);
    color: #93C5FD;
    background: rgba(59, 130, 246, 0.12);
}

/* Privacy policy main wrapper */
.policy-card {
    background-color: var(--bg-card);
    border: var(--border-blue);
    border-radius: var(--radius-lg);
    padding: 48px;
    margin-bottom: 60px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.65), inset 0 0 25px rgba(59, 130, 246, 0.06);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
}

.policy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-blue);
}

/* Policy Content Details */
.policy-card h2 {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    margin: 40px 0 16px;
    color: #93C5FD;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.01em;
}

.policy-card h2::before {
    content: '🛡️';
    display: inline-block;
    font-size: 1.3rem;
}

.policy-card h2:first-of-type {
    margin-top: 0;
}

.policy-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.policy-card p strong {
    color: var(--text-primary);
}

/* Highlight boxes */
.highlight-box {
    background: rgba(37, 99, 235, 0.1);
    border-left: 4px solid var(--accent-blue);
    padding: 22px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 28px 0;
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    border-right: 1px solid rgba(59, 130, 246, 0.2);
}

.highlight-box p {
    margin-bottom: 0;
    color: var(--text-primary);
    font-weight: 500;
}

.highlight-box p strong {
    color: #93C5FD;
}

/* Lists */
.policy-card ul {
    list-style: none;
    margin-bottom: 24px;
    padding-left: 8px;
}

.policy-card li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.policy-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-emerald);
    font-weight: 800;
    font-size: 1.1rem;
}

/* Interactive section grid */
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 32px 0;
}

.feature-item {
    background: rgba(30, 41, 59, 0.65);
    border: var(--border-blue);
    padding: 24px;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.feature-item:hover {
    background: var(--bg-card-hover);
    border-color: rgba(59, 130, 246, 0.75);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.25);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: rgba(59, 130, 246, 0.18);
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 16px;
    border: 1px solid rgba(59, 130, 246, 0.35);
}

.feature-item:nth-child(2n) .feature-icon {
    background: rgba(16, 185, 129, 0.18);
    color: var(--accent-emerald);
    border-color: rgba(16, 185, 129, 0.35);
}

.feature-item h3 {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #93C5FD;
}

.feature-item p {
    font-size: 0.95rem;
    margin-bottom: 0;
    color: var(--text-secondary);
}

/* Footer styling */
footer {
    border-top: 1px solid rgba(59, 130, 246, 0.25);
    padding: 40px 0;
    background-color: #050E2B;
    text-align: center;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo-icon {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.45);
}

.footer-logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-logo-text {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FFFFFF 0%, #93C5FD 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.footer-copy {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
        box-shadow: var(--shadow-blue);
    }
    50% {
        transform: translateY(-8px);
        box-shadow: 0 10px 35px rgba(37, 99, 235, 0.4);
    }
    100% {
        transform: translateY(0px);
        box-shadow: var(--shadow-blue);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .policy-card {
        padding: 24px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }

    .hero-bullets {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .badge-container {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}