/* Override global body styles for this page */
body.market-insights-page {
    padding-top: 0 !important;
    background-color: #FFFFFF !important;
}

/* Hero Section Styles */
.market-hero {
    position: relative;
    width: 100%;
    /* min-height: 740px; */
    padding: 180px 0 100px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(204, 227, 255, 0.8) 0%, #FFFFFF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-family: 'Geist', sans-serif;
    font-weight: 700;
    font-size: 56px;
    line-height: 1.2;
    color: #111111;
    margin-bottom: 24px;
}

.hero-content 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 */

.hero-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image-container img {
    max-width: 100%;
    height: auto;
}

/* Pain Points Section Styles */
.pain-points-section {
    padding: 80px 0 120px;
    background-color: #fff;
    text-align: center;
}

.pain-points-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 24px;
}

.pain-points-section h2 {
    font-family: 'Geist', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 1.3;
    color: #111111;
    margin-bottom: 60px;
    text-align: center;
}

.pain-points-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.pain-point-card {
    background: #FAFAFA;
    border: 1px solid #EEEEEE;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 32px;
    transition: all 0.3s ease;
    cursor: default;
    position: relative;
    overflow: hidden;
}

.pain-point-card:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
    transform: translateY(-5px);
    box-shadow: 0px 10px 20px rgba(59, 130, 246, 0.1);
}

.card-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.card-text {
    font-family: 'Geist', sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 1.4;
    color: #111111;
    text-align: left;
}

@media (max-width: 768px) {
    .pain-points-section h2 {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .pain-points-grid {
        grid-template-columns: 1fr;
    }

    .pain-point-card {
        padding: 30px;
    }
    
    .card-text {
        font-size: 20px;
    }
    
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 40px;
    }
}

/* Features Section Styles */
.features-section {
    padding: 100px 0;
    background-color: #fff;
    text-align: center;
}

.features-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 24px;
}

.features-section h2 {
    font-family: 'Geist', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 1.3;
    color: #111111;
    margin-bottom: 80px;
    text-align: center;
}

.feature-tabs-container {
    background: #FFFFFF;
    box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    display: flex;
    overflow: hidden;
    min-height: 600px;
    transition: all 0.3s ease;
}

.feature-tabs-list {
    flex: 1;
    padding: 60px 0 60px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    text-align: left;
}

.feature-tab-item {
    cursor: pointer;
    position: relative;
    padding-left: 0;
    transition: all 0.3s ease;
}

.feature-tab-title {
    font-family: 'Geist', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 1.4;
    color: #111111;
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-tab-desc {
    font-family: 'Geist', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-top: 12px;
    max-width: 450px;
    display: none;
}

/* Active State Styles */
.feature-tab-item.active .feature-tab-desc {
    display: block;
    animation: fadeIn 0.3s ease;
}

.check-icon {
    width: 24px;
    height: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-tab-item.active .check-icon {
    opacity: 1;
}

.feature-image-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background-color: #fff;
}

.feature-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    display: none;
    animation: fadeIn 0.5s ease;
}

.feature-image.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 992px) {
    .feature-tabs-container {
        flex-direction: column-reverse;
        min-height: auto;
    }
    
    .feature-tabs-list {
        padding: 40px 24px;
    }

    .feature-image-container {
        padding: 24px;
        min-height: 300px;
    }
}

/* 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: 1600px;
    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;
    }
}
