/* === FINANCE PAGE STYLES - SAUDI NATIONAL COLORS === */
/* 🇸🇦 Pure Saudi Green (#006C35) + White */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
    /* Saudi Green Shades */
    --finance-green: #006C35;
    --finance-green-light: #00894a;
    --finance-green-dark: #005528;
    --finance-green-pale: #e8f5ed;
    
    /* White/Light Shades */
    --finance-white: #ffffff;
    --finance-off-white: #f8faf8;
    --finance-light: #f5f7f5;
    
    /* Text Colors */
    --finance-text-dark: rgba(0, 0, 0, 0.85);
    --finance-text-gray: rgba(0, 0, 0, 0.6);
    
    /* Effects */
    --finance-glass: rgba(255, 255, 255, 0.85);
    --finance-shadow: 0 20px 60px rgba(0, 108, 53, 0.2);
    --finance-blur: blur(20px);
}

.finance-page-wrapper {
    position: relative;
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;
    color: var(--finance-text-dark);
    background: linear-gradient(135deg, #ffffff, #f8faf8, #f5f7f5);
    overflow-x: hidden;
}

/* Particles */
.finance-particles-container {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.finance-particle-layer {
    position: absolute;
    width: 100%;
    height: 100%;
}

.neon-orange .finance-particle {
    position: absolute;
    width: 5px; 
    height: 5px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--finance-green), transparent);
    opacity: 0.4;
    animation: finance-float 22s linear infinite;
}

.neon-white .finance-particle {
    position: absolute;
    width: 4px; 
    height: 4px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--finance-green-pale), transparent);
    opacity: 0.3;
    animation: finance-float 24s linear infinite;
}

/* Gradient Overlay */
.finance-gradient-overlay {
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: radial-gradient(circle at 70% 40%, rgba(0, 108, 53, 0.03), transparent);
    pointer-events: none;
    z-index: 1;
}

/* Container */
.finance-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 80px 5px auto auto;
    padding: 0 20px;
}

/* Hero Section */
.finance-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    min-height: 90vh;
    gap: 50px;
}

.finance-hero-text {
    flex: 1;
    max-width: 600px;
}

.finance-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--finance-text-dark);
}

.highlight-finance {
    background: linear-gradient(135deg, var(--finance-green), var(--finance-green-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.finance-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--finance-text-gray);
}

.finance-btn-primary {
    position: relative;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    color: var(--finance-white);
    background: linear-gradient(135deg, var(--finance-green), var(--finance-green-light));
    box-shadow: var(--finance-shadow);
    overflow: hidden;
    transition: all 0.4s ease;
}

.finance-btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 25px 80px rgba(0, 108, 53, 0.35);
}

.finance-btn-primary .btn-glow {
    position: absolute;
    top: 0; 
    left: -100%; 
    width: 100%; 
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.5s;
}

.finance-btn-primary:hover .btn-glow {
    left: 100%;
}

/* Hero Image */
.finance-hero-image img {
    max-width: 600px;
    border-radius: 20px;
    box-shadow: var(--finance-shadow);
    transition: transform 0.6s ease;
}

.finance-hero-image img:hover {
    transform: scale(1.05) rotate(1deg);
}

/* Features Section */
.finance-features {
    margin: 120px 0;
    text-align: center;
}

.section-title-finance {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--finance-text-dark);
}

.section-divider-finance {
    width: 60px;
    height: 3px;
    background: var(--finance-green);
    margin: 20px auto;
    border-radius: 10px;
}

.features-grid-finance {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.feature-card-finance {
    background: var(--finance-glass);
    backdrop-filter: var(--finance-blur);
    border-radius: 20px;
    padding: 30px 20px;
    border: 1px solid rgba(0, 108, 53, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.5s ease;
}

.feature-card-finance:hover {
    transform: translateY(-10px);
    box-shadow: 0 35px 100px rgba(0, 108, 53, 0.2);
    border-color: var(--finance-green);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--finance-green);
}

.feature-heading-finance {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--finance-text-dark);
}

.feature-text-finance {
    color: var(--finance-text-gray);
}

/* Calculator */
.finance-calculator {
    margin: 120px 0;
    text-align: center;
}

.calculator-title-finance {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--finance-text-dark);
}

.calculator-subtitle-finance {
    color: var(--finance-text-gray);
    margin-bottom: 30px;
}

.calculator-card {
    max-width: 500px;
    margin: 0 auto;
    background: var(--finance-glass);
    backdrop-filter: var(--finance-blur);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 108, 53, 0.15);
}

.calculator-card form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.calculator-card input {
    padding: 12px 15px;
    border-radius: 10px;
    border: 2px solid rgba(0, 108, 53, 0.2);
    background: var(--finance-white);
    color: var(--finance-text-dark);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.calculator-card input:focus {
    outline: none;
    border-color: var(--finance-green);
    box-shadow: 0 0 0 3px rgba(0, 108, 53, 0.15);
}

.calculator-card input::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.calculator-btn-finance {
    padding: 14px;
    border-radius: 50px;
    border: none;
    background: linear-gradient(135deg, var(--finance-green), var(--finance-green-light));
    color: var(--finance-white);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 108, 53, 0.3);
}

.calculator-btn-finance:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 80px rgba(0, 108, 53, 0.35);
}

.emi-result {
    margin-top: 20px;
    font-weight: 700;
    color: var(--finance-green);
}

/* CTA Section */
.finance-cta {
    text-align: center;
    margin: 120px 0;
}

.cta-title-finance {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--finance-text-dark);
}

.cta-subtitle-finance {
    font-size: 1.1rem;
    color: var(--finance-text-gray);
    margin: 15px 0 30px 0;
}

.cta-btn-finance {
    position: relative;
    display: inline-block;
    padding: 18px 50px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--finance-white);
    background: linear-gradient(135deg, var(--finance-green), var(--finance-green-light));
    box-shadow: var(--finance-shadow);
    text-decoration: none;
    overflow: hidden;
    transition: all 0.4s ease;
}

.cta-btn-finance:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 30px 90px rgba(0, 108, 53, 0.35);
}

.cta-btn-finance .btn-glow {
    position: absolute;
    top: 0; 
    left: -100%; 
    width: 100%; 
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.5s;
}

.cta-btn-finance:hover .btn-glow {
    left: 100%;
}

/* Focus States */
.finance-btn-primary:focus,
.calculator-btn-finance:focus,
.cta-btn-finance:focus {
    outline: 2px solid var(--finance-green);
    outline-offset: 2px;
}

/* Animations */
@keyframes finance-float {
    0% { transform: translateY(0) translateX(0); opacity: 0.4; }
    50% { transform: translateY(-40px) translateX(40px); opacity: 0.2; }
    100% { transform: translateY(0) translateX(0); opacity: 0.4; }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .neon-orange .finance-particle,
    .neon-white .finance-particle {
        animation: none;
    }
    
    * {
        transition: none !important;
        animation: none !important;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .finance-hero { 
        flex-direction: column; 
    }
    .finance-hero-image img { 
        max-width: 100%; 
    }
}

@media (max-width: 320px) {
    .finance-hero {
        margin-top: 70px;
    }
}

@media (max-width: 376px) {
    .finance-hero {
        margin-top: 70px;
    }
}

@media (max-width: 426px) {
    .finance-hero {
        margin-top: 70px;
    }
}

@media (max-width: 769px) {
    .finance-hero {
        margin-top: 70px;
    }
}

@media (max-width: 1025px) {
    .finance-hero {
        margin-top: 70px;
    }
}