/* style/resources-app-comparison.css */

/* Variables for colors */
:root {
    --page-primary-color: #0A2342;
    --page-secondary-color: #FFD700;
    --page-accent-color: #DC3545; /* Red for CTA */
    --page-text-light: #F8F8F8;
    --page-text-dark: #333333;
    --page-background-light: #EFEFEF;
    --page-background-dark: #071A31; /* Slightly darker than primary for contrast */
}

.page-resources-app-comparison {
    font-family: 'Arial', sans-serif;
    color: var(--page-text-dark);
    line-height: 1.6;
}

.page-resources-app-comparison__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-resources-app-comparison__hero {
    background: linear-gradient(135deg, var(--page-primary-color) 0%, #1A3F6D 100%); /* Dark blue gradient */
    color: var(--page-text-light);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-resources-app-comparison__hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:abstract_geometric,tech_pattern,subtle_background]') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.page-resources-app-comparison__hero > div {
    position: relative;
    z-index: 1;
}

.page-resources-app-comparison__title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--page-secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

.page-resources-app-comparison__subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--page-text-light);
}

.page-resources-app-comparison__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-resources-app-comparison__button--primary {
    background-color: var(--page-accent-color); /* Red for primary CTA */
    color: var(--page-text-light);
    border: 2px solid var(--page-accent-color);
}

.page-resources-app-comparison__button--primary:hover {
    background-color: #B02A37; /* Darker red */
    transform: translateY(-2px);
}

.page-resources-app-comparison__button--secondary {
    background-color: transparent;
    color: var(--page-secondary-color);
    border: 2px solid var(--page-secondary-color);
}

.page-resources-app-comparison__button--secondary:hover {
    background-color: var(--page-secondary-color);
    color: var(--page-primary-color);
    transform: translateY(-2px);
}

.page-resources-app-comparison__button--tertiary {
    background-color: var(--page-primary-color);
    color: var(--page-secondary-color);
    border: 2px solid var(--page-primary-color);
}

.page-resources-app-comparison__button--tertiary:hover {
    background-color: var(--page-background-dark);
    color: var(--page-secondary-color);
    transform: translateY(-2px);
}

.page-resources-app-comparison__section {
    padding: 60px 0;
    background-color: var(--page-background-light);
}

.page-resources-app-comparison__section:nth-of-type(even) {
    background-color: #F8F8F8;
}

.page-resources-app-comparison__heading {
    font-size: 2.5em;
    color: var(--page-primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-resources-app-comparison__heading::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--page-secondary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-resources-app-comparison__description {
    text-align: center;
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 40px;
    color: var(--page-text-dark);
}

.page-resources-app-comparison__overview .page-resources-app-comparison__content-grid {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-resources-app-comparison__overview .page-resources-app-comparison__text-content {
    flex: 1;
}

.page-resources-app-comparison__overview .page-resources-app-comparison__text-content p {
    margin-bottom: 15px;
    font-size: 1.05em;
}

.page-resources-app-comparison__overview .page-resources-app-comparison__image-wrapper {
    flex: 1;
    text-align: center;
}

.page-resources-app-comparison__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.page-resources-app-comparison__features .page-resources-app-comparison__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-resources-app-comparison__feature-item {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-app-comparison__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-resources-app-comparison__feature-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.page-resources-app-comparison__feature-item h3 {
    font-size: 1.5em;
    color: var(--page-primary-color);
    margin-bottom: 15px;
}

.page-resources-app-comparison__feature-item p {
    font-size: 1em;
    color: var(--page-text-dark);
}

.page-resources-app-comparison__cta-block {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background-color: var(--page-background-dark);
    border-radius: 10px;
    color: var(--page-text-light);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-app-comparison__cta-block p {
    font-size: 1.3em;
    margin-bottom: 25px;
    font-weight: 300;
}

.page-resources-app-comparison__comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background-color: #FFFFFF;
    border-radius: 10px;
    overflow: hidden;
}

.page-resources-app-comparison__table-header,
.page-resources-app-comparison__table-row {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    border-bottom: 1px solid #EEEEEE;
}

.page-resources-app-comparison__table-header {
    background-color: var(--page-primary-color);
    color: var(--page-text-light);
    font-weight: bold;
    font-size: 1.1em;
    text-align: center;
}

.page-resources-app-comparison__table-cell {
    padding: 18px 15px;
    border-right: 1px solid #EEEEEE;
}

.page-resources-app-comparison__table-cell:last-child {
    border-right: none;
}

.page-resources-app-comparison__table-row:nth-child(odd) {
    background-color: #FDFDFD;
}

.page-resources-app-comparison__table-row:nth-child(even) {
    background-color: #FFFFFF;
}

.page-resources-app-comparison__table-criterion {
    font-weight: bold;
    color: var(--page-primary-color);
    text-align: left;
}

.page-resources-app-comparison__image-wrapper--center {
    text-align: center;
    margin-top: 40px;
}

.page-resources-app-comparison__image--large {
    max-width: 80%;
    margin: 0 auto;
}

.page-resources-app-comparison__image-caption {
    font-style: italic;
    color: #666;
    margin-top: 15px;
    font-size: 0.95em;
}

.page-resources-app-comparison__why-choose .page-resources-app-comparison__bullet-list {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 0 auto 40px;
}

.page-resources-app-comparison__why-choose .page-resources-app-comparison__bullet-list li {
    background-color: #FFFFFF;
    margin-bottom: 15px;
    padding: 20px 25px;
    border-left: 5px solid var(--page-secondary-color);
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    font-size: 1.1em;
    transition: transform 0.2s ease;
}

.page-resources-app-comparison__why-choose .page-resources-app-comparison__bullet-list li:hover {
    transform: translateX(5px);
}

.page-resources-app-comparison__why-choose .page-resources-app-comparison__bullet-list li strong {
    color: var(--page-primary-color);
}

.page-resources-app-comparison__how-to-start .page-resources-app-comparison__step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.page-resources-app-comparison__step-item {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-top: 5px solid var(--page-primary-color);
}

.page-resources-app-comparison__step-item h3 {
    font-size: 1.6em;
    color: var(--page-primary-color);
    margin-bottom: 15px;
}

.page-resources-app-comparison__step-item p {
    font-size: 1em;
    color: var(--page-text-dark);
}

.page-resources-app-comparison__step-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    background-color: var(--page-secondary-color);
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.page-resources-app-comparison__faq .page-resources-app-comparison__faq-item {
    background-color: #FFFFFF;
    margin-bottom: 20px;
    padding: 25px 30px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--page-primary-color);
}

.page-resources-app-comparison__faq-item h3 {
    font-size: 1.4em;
    color: var(--page-primary-color);
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-resources-app-comparison__faq-item h3::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    color: var(--page-secondary-color);
    transition: transform 0.3s ease;
}

.page-resources-app-comparison__faq-item h3.active::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.page-resources-app-comparison__faq-item p {
    font-size: 1em;
    color: var(--page-text-dark);
    margin-top: 10px;
    display: none;
}

.page-resources-app-comparison__faq-item p.active {
    display: block;
}

.page-resources-app-comparison__conclusion {
    background-color: var(--page-primary-color);
    color: var(--page-text-light);
    text-align: center;
    padding: 80px 0;
}

.page-resources-app-comparison__conclusion .page-resources-app-comparison__heading {
    color: var(--page-secondary-color);
}

.page-resources-app-comparison__conclusion .page-resources-app-comparison__heading::after {
    background-color: var(--page-secondary-color);
}

.page-resources-app-comparison__conclusion .page-resources-app-comparison__description {
    color: var(--page-text-light);
    font-size: 1.15em;
    margin-bottom: 30px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-resources-app-comparison__title {
        font-size: 2.8em;
    }
    .page-resources-app-comparison__heading {
        font-size: 2em;
    }
    .page-resources-app-comparison__overview .page-resources-app-comparison__content-grid {
        flex-direction: column;
    }
    .page-resources-app-comparison__image--large {
        max-width: 100%;
    }
    .page-resources-app-comparison__table-header,
    .page-resources-app-comparison__table-row {
        grid-template-columns: 1fr;
    }
    .page-resources-app-comparison__table-cell {
        border-right: none;
        border-bottom: 1px solid #EEEEEE;
    }
    .page-resources-app-comparison__table-header {
        display: none; /* Hide header on small screens */
    }
    .page-resources-app-comparison__table-row {
        margin-bottom: 20px;
        border: 1px solid #EEEEEE;
        border-radius: 8px;
        overflow: hidden;
    }
    .page-resources-app-comparison__table-criterion {
        background-color: var(--page-background-light);
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .page-resources-app-comparison__table-row .page-resources-app-comparison__table-cell:not(.page-resources-app-comparison__table-criterion)::before {
        content: attr(data-label);
        font-weight: bold;
        display: block;
        color: var(--page-primary-color);
        margin-bottom: 5px;
    }
}

@media (max-width: 768px) {
    .page-resources-app-comparison__hero {
        padding: 80px 0;
    }
    .page-resources-app-comparison__title {
        font-size: 2.2em;
    }
    .page-resources-app-comparison__subtitle {
        font-size: 1.1em;
    }
    .page-resources-app-comparison__button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-resources-app-comparison__section {
        padding: 40px 0;
    }
    .page-resources-app-comparison__heading {
        font-size: 1.8em;
    }
    .page-resources-app-comparison__feature-grid, .page-resources-app-comparison__step-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-resources-app-comparison__title {
        font-size: 1.8em;
    }
    .page-resources-app-comparison__subtitle {
        font-size: 1em;
    }
    .page-resources-app-comparison__button {
        display: block;
        width: calc(100% - 20px);
        margin: 10px auto;
    }
    .page-resources-app-comparison__feature-item h3 {
        font-size: 1.3em;
    }
    .page-resources-app-comparison__faq-item h3 {
        font-size: 1.2em;
    }
}