/* Daily Operations Page Styles */

/* Reset body padding to allow hero to cover navbar area */
body {
    padding-top: 0;
}

/* Hero Section */
.daily-ops-hero {
    position: relative;
    width: 100%;
    min-height: 800px; /* Increased height to accommodate navbar overlap */
    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 (80px) + spacing */
}

/* Background Shapes */
.daily-ops-hero .bg-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

/* Ellipse 471 */
.daily-ops-hero .shape-1 {
    width: 937px;
    height: 937px;
    left: 50%; /* approximate 923px on 1920 width is near center, maybe slightly right */
    margin-left: -37px; /* 923 - 960 = -37 */
    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%);
}

/* Ellipse 470 */
.daily-ops-hero .shape-2 {
    width: 643px;
    height: 643px;
    left: 50%;
    margin-left: 110px; /* 1070 - 960 = 110 */
    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%);
}

/* Ellipse 469 */
.daily-ops-hero .shape-3 {
    width: 409px;
    height: 409px;
    left: 50%;
    margin-left: 227px; /* 1187 - 960 = 227 */
    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%);
}

.daily-ops-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;
}

.daily-ops-hero .hero-content {
    max-width: 600px;
}

.daily-ops-hero h1 {
    font-family: 'Geist', sans-serif;
    font-weight: 700;
    font-size: 56px;
    line-height: 1.2;
    color: #111111;
    margin-bottom: 24px;
}

.daily-ops-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 */

.daily-ops-hero .hero-image-container {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.daily-ops-hero .hero-image-container img {
    max-width: 100%;
    height: auto;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .daily-ops-hero .hero-container {
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
    }

    .daily-ops-hero .hero-content {
        max-width: 100%;
        margin-bottom: 40px;
    }
    
    .daily-ops-hero .hero-image-container {
        justify-content: center;
    }
    
    .daily-ops-hero h1 {
        font-size: 42px;
    }
}

/* Troubled Questions Section */
.troubled-questions-section {
    position: relative;
    width: 100%;
    padding: 80px 20px;
    background-color: #ffffff;
}

.troubled-questions-section .container {
    max-width: 1600px;
    margin: 0 auto;
}

.troubled-questions-section .section-title {
    font-family: 'Geist', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 62px;
    text-align: center;
    color: #111111;
    margin-bottom: 60px;
}

.questions-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.question-card {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 40px;
    gap: 20px;
    flex: 0 0 calc(25% - 15px);
    min-width: 300px;
    min-height: 298px;
    border: 1px solid #EEEEEE;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Responsive: 2 columns on medium screens, 1 column on small screens */
@media (max-width: 1400px) {
    .question-card {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .question-card {
        flex: 0 0 100%;
        min-width: 0; /* Reset min-width for small screens */
    }
}

/* Seamless Operations Section */
.seamless-section {
    width: 100%;
    padding: 80px 20px;
    background-color: #FFFFFF;
}

.seamless-section .container {
    max-width: 1400px;
    margin: 0 auto;
}

.seamless-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    background-color: #EEEEEE; /* Color for grid lines */
    gap: 1px; /* Creates the border effect */
    border: 1px solid #EEEEEE;
}

.seamless-feature {
    background-color: #FFFFFF;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Main Feature (Top Left) */
.main-feature {
    grid-row: span 2;
    align-items: flex-start;
    justify-content: space-between;
}

.main-feature h2 {
    font-family: 'Geist', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 1.2;
    color: #111111;
    margin-bottom: 40px;
}

.main-feature .main-image {
    width: 100%;
    display: flex;
    justify-content: center;
}

.main-feature .main-image img {
    max-width: 100%;
    height: auto;
}

/* Feature Items */
.feature-item {
    align-items: flex-start;
    gap: 20px;
}

.feature-icon img {
    width: 48px;
    height: 48px;
}

.feature-content h3 {
    font-family: 'Geist', sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 1.4;
    color: #111111;
    margin-bottom: 12px;
}

.feature-content p {
    font-family: 'Geist', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: #333333;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .seamless-grid {
        grid-template-columns: 1fr;
        gap: 20px; /* Space between cards instead of grid lines */
        background-color: transparent;
        border: none;
    }

    .seamless-feature {
        border: 1px solid #EEEEEE;
        border-radius: 16px;
        padding: 40px;
    }

    .main-feature {
        grid-row: auto;
    }

    .main-feature h2 {
        font-size: 36px;
    }
}

/* Hover Effect: Move up + Shadow */
.question-card:hover {
    transform: translateY(-20px);
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
}

.card-icon img {
    width: 60px;
    height: 60px;
}

.question-card h3 {
    font-family: 'Geist', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
    margin: 0;
}

.question-card p {
    font-family: 'Geist', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #333333;
    margin: 0;
}

/* Card Variants */
.blue-card {
    background: #E0E8FF;
}
.blue-card h3 {
    color: #2953FF;
}

.yellow-card {
    background: #FEF8EE;
}
.yellow-card h3 {
    color: #CD9F00;
}

.purple-card {
    background: #ECF0FF;
}
.purple-card h3 {
    color: #2351BC;
}

.green-card {
    background: #F2FBEF;
}
.green-card h3 {
    color: #247B19;
}

/* Responsive */
@media (max-width: 1600px) {
    .questions-grid {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .troubled-questions-section .section-title {
        font-size: 32px;
        line-height: 1.2;
    }
    
    .question-card {
        width: 100%;
        height: auto;
    }
}

/* 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: 1200px;
    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;
    }
}
