/* Financial Processes Page Styles */

/* Reset body padding to allow hero to cover navbar area */
body {
    padding-top: 0;
}

/* Hero Section */
.financial-hero {
    position: relative;
    width: 100%;
    min-height: 800px;
    background: linear-gradient(180deg, rgba(204, 227, 255, 0.8) 0%, rgba(255, 255, 255, 0.8) 100%);
    overflow: hidden;
    padding-top: 150px; /* Space for navbar */
}

/* Background Shapes */
.financial-hero .bg-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.financial-hero .shape-1 {
    width: 937px;
    height: 937px;
    left: 50%;
    margin-left: -37px;
    top: -5px;
    background: radial-gradient(130.91% 96.8% at 52.26% 0%, rgba(0, 116, 255, 0.07) 0%, rgba(0, 116, 255, 0) 100%);
}

.financial-hero .shape-2 {
    width: 643px;
    height: 643px;
    left: 50%;
    margin-left: 110px;
    top: 142px;
    background: radial-gradient(110.52% 81.72% at 52.26% 0%, rgba(0, 116, 255, 0.1) 0%, rgba(0, 116, 255, 0) 100%);
}

.financial-hero .shape-3 {
    width: 409px;
    height: 409px;
    left: 50%;
    margin-left: 227px;
    top: 259px;
    background: radial-gradient(122% 90.22% at 52.26% 0%, rgba(0, 116, 255, 0.15) 0%, rgba(0, 116, 255, 0) 100%);
}

.financial-hero .hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1;
    height: 100%;
    padding: 60px 20px;
}

.financial-hero .hero-content {
    max-width: 600px;
}

.financial-hero h1 {
    font-family: 'Geist', sans-serif;
    font-weight: 700;
    font-size: 56px;
    line-height: 1.2;
    color: #111111;
    margin-bottom: 24px;
}

.financial-hero p {
    font-family: 'Geist', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.6;
    color: #666666;
    margin-bottom: 40px;
}

/* Hero Button styles now in solution-popup.css for consistency */

.financial-hero .hero-image-container {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.financial-hero .hero-image-container img {
    max-width: 100%;
    height: auto;
    max-height: 600px;
}

@media (max-width: 1024px) {
    .financial-hero .hero-container {
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
    }

    .financial-hero .hero-content {
        max-width: 100%;
        margin-bottom: 60px;
    }

    .financial-hero .hero-image-container {
        justify-content: center;
    }

    .financial-hero h1 {
        font-size: 42px;
    }
}

/* Still Troubled Section */
.troubled-section {
    padding: 100px 0;
    background: #fff;
    text-align: center;
    overflow: hidden;
}

.troubled-container {
    max-width: 1480px; /* Increased to fit wider cards */
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.troubled-section h2 {
    font-family: 'Geist', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #111;
    margin-bottom: 80px;
}

.troubled-flow {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    gap: 0;
}

.troubled-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 300px;
    flex: 0 0 auto;
    position: relative;
    z-index: 2;
}

.step-icon-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
    width: 100%;
}

.step-icon {
    width: 104px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #D6E6FF;
    border-radius: 50%;
    margin-bottom: 0;
    z-index: 3;
    box-shadow: none;
    flex-shrink: 0;
}

.step-icon img {
    width: 90%;
    height: auto;
}

.vertical-line {
    width: 6px;
    height: 64px;
    background: #D6E6FF;
    margin-top: 0;
    z-index: 1;
    flex-shrink: 0;
}

.vertical-line img {
    display: none;
}

.step-card {
    background: #FFFFFF;
    border: 1px solid #EEEEEE;
    border-radius: 20px;
    padding: 50px 20px 0 20px;
    text-align: center;
    margin-top: 0;
    position: relative;
    z-index: 2;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    width: 300px;
    height: 266px;
    box-sizing: border-box;
}

.flow-connector {
    flex: 1;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    min-width: 40px;
}

.flow-connector img {
    display: block;
    height: auto;
    max-height: 100%;
    object-fit: contain;
}

.flow-connector::before,
.flow-connector::after {
    display: none;
}

.flow-decoration {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    z-index: 1;
    flex: 0.6;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
}

.flow-decoration img {
    /* width: 100%; */
    height: auto;
    max-height: 100%;
    object-fit: contain;
}

.flow-decoration.start {
    justify-content: flex-end; /* Push towards content */
}

.flow-decoration.end {
    justify-content: flex-start; /* Push towards content */
}

.flow-decoration.start {
    left: 80px; /* Adjusted as per user request */
}

.flow-decoration.end {
    right: 80px; /* Adjusted as per user request */
}

@media (max-width: 1024px) {
    .troubled-flow {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .troubled-step {
        width: 100%;
        max-width: 400px;
    }

    .flow-connector, .flow-decoration {
        display: none;
    }
    
    .vertical-line {
        display: flex !important; /* Force show on tablet/mobile */
    }
}

/* Seamless Section */
.seamless-section {
    padding: 100px 0;
    background: url('../imgs/financial-processes/seamless-background.svg') no-repeat center center;
    background-size: cover;
    text-align: center;
}

.seamless-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.seamless-section h2 {
    font-family: 'Geist', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 48px;
    line-height: 62px;
    text-align: center;
    margin-bottom: 80px;
    background: linear-gradient(89.9deg, #A7CFFF 40.52%, #00C0FF 79.34%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.seamless-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.seamless-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.seamless-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
}

.seamless-icon img {
    width: 100%;
    height: 100%;
}

.seamless-title {
    font-family: 'Geist', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 26px;
    color: #A7CFFF;
    max-width: 360px;
    margin-bottom: 12px;
}

.seamless-desc {
    font-family: 'Geist', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    color: #619ADD;
    text-align: center;
    max-width: 360px;
    margin: 0;
}

@media (max-width: 1024px) {
    .seamless-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .seamless-grid {
        grid-template-columns: 1fr;
    }
}

/* Featured Apps Section Styles */
.apps-section {
    padding: 80px 0;
    background-color: #FFFFFF;
    background-image: url('../imgs/market-insights/featured-apps-background.svg');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% auto;
    text-align: center;
}

.apps-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.apps-section h2 {
    font-family: 'Geist', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 62px;
    color: #111111;
    margin-bottom: 60px;
}

.apps-grid {
    background: #FFFFFF;
    box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    padding: 30px;
    width: 100%;
    box-sizing: border-box;
}

.apps-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.app-card {
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: left;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.05);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.app-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-title {
    font-family: 'Geist', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #111111;
}

.app-desc {
    font-family: 'Geist', sans-serif;
    font-size: 12px;
    line-height: 1.5;
    color: #666666;
}

.app-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.app-tag {
    background: #F5F7FA;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 14px;
    color: #666666;
}

.view-more-container {
    margin-top: 40px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.view-more-btn {
    display: inline-block;
    padding: 5px 32px;
    border: 1px solid #E0E0E0;
    border-radius: 30px;
    color: #111111;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.view-more-btn:hover {
    background: #F5F7FA;
    border-color: #D0D0D0;
}

@media (max-width: 992px) {
    .apps-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .apps-list {
        grid-template-columns: 1fr;
    }
}

/* Why Choose MarsRPA Section Styles */
.why-choose-section {
    padding: 100px 0;
    background: #EBF2FF; /* Light blue background */
    text-align: center;
}

.why-choose-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 24px;
}

.why-choose-section h2 {
    font-family: 'Geist', sans-serif;
    font-weight: 600;
    font-size: 36px;
    line-height: 47px;
    color: #111111;
    margin-bottom: 60px;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.why-choose-card {
    background: #FFFFFF;
    box-shadow: 0px 4px 12px rgba(10, 79, 255, 0.05);
    border-radius: 16px;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
    height: 100%;
    box-sizing: border-box;
}

.why-choose-card:hover {
    transform: translateY(-5px);
}

.why-choose-icon-wrapper {
    margin-bottom: 24px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-choose-icon-wrapper img {
    max-width: 100%;
    max-height: 100%;
}

.why-choose-card h3 {
    font-family: 'Geist', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 31px;
    color: #333333;
    margin-bottom: 16px;
}

.why-choose-card p {
    font-family: 'Geist', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
    color: #666666;
}

@media (max-width: 992px) {
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
}

/* CTA Section Styles */
.cta-section {
    padding: 120px 0;
    background-color: #4C8CF7;
    background-image: url('../imgs/market-insights/get-free-background.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    font-family: 'Geist', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 1.3;
    color: #FFFFFF;
    margin-bottom: 50px;
}

.cta-section h2 .highlight-automation {
    color: #0B377E;
}

.cta-btn {
    display: inline-block;
    background: #2B6DE5;
    color: #FFFFFF;
    font-family: 'Geist', sans-serif;
    font-weight: 500;
    font-size: 18px;
    padding: 16px 48px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.2);
    background: #205ac5;
}

@media (max-width: 768px) {
    .cta-section h2 {
        font-size: 32px;
        margin-bottom: 30px;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

/* Solution Popup Styles moved to styles/solution-popup.css */
