/* ===== HERO SECTION ===== */
.apg-hero {
    position: relative;
    padding: 80px 0;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.apg-hero-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.7);
}

.apg-hero-content {
    position: relative;
    text-align: center;
}

.apg-hero h1 {
    font-family: 'Poppins-Bold', sans-serif;
    color: #fff;
    margin-bottom: 16px;
}

.apg-hero-subtitle {
    font-size: 24px;
    color: #fff;
    max-width: 100%;
}

/* ===== HOW OUR PRICING WORKS ===== */
.apg-how-pricing {
    background-color: #E8E8E6;
    padding-bottom: 40px;
}

.apg-how-pricing-wrapper {
    padding-top: 60px;
    padding-bottom: 40px;
    text-align: center;
}

.apg-how-pricing-wrapper .mw-h4 {
    margin-bottom: 20px;
}

.apg-how-pricing-desc {
    margin-bottom: 40px;
}

.apg-factors-grid {
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.apg-factor {
    flex: 1;
    min-width: 200px;
    text-align: left;
    gap: 10px;
    align-items: flex-start;
}

.apg-factor-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 4px;
}

.apg-factor-label {
    font-family: 'Poppins-Bold', sans-serif;
    font-size: 20px;
    color: #3B3B3B;
    line-height: 1.4;
}

/* ===== COMMON TABLE STYLES ===== */
.apg-yearend-section,
.apg-ongoing-section,
.apg-tiers-section,
.apg-notes-section {
    background-color: #E8E8E6;
    padding-bottom: 30px;
}

.apg-yearend-wrapper,
.apg-ongoing-wrapper,
.apg-tiers-wrapper,
.apg-notes-wrapper {
    padding-top: 50px;
    padding-bottom: 40px;
    text-align: center;
}

.apg-yearend-wrapper .mw-h4,
.apg-ongoing-wrapper .mw-h4,
.apg-tiers-wrapper .mw-h4,
.apg-notes-wrapper .mw-h4 {
    margin-bottom: 16px;
}

.apg-table-desc {
    margin: 0 auto 30px;
    font-style: italic;
}

.apg-table-desc-bold {
    max-width: 1020px;
    margin: 0 auto 12px;
    color: #000;
    text-align: center;
}

.apg-table-footnotes {
    width: 100%;
    text-align: left;
    margin-top: 16px;
    padding-left: 8px;
    margin-left: 20px;
}

.apg-table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.apg-pricing-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.apg-pricing-table thead th {
    font-family: 'Poppins-SemiBold', sans-serif;
    font-size: 20px;
    color: #fff;
    background-color: #007486;
    padding: 20px;
    text-align: left;
    white-space: nowrap;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.apg-pricing-table thead th:last-child {
    border-right: none;
}

.apg-pricing-table tbody td {
    font-family: 'Poppins-Regular', sans-serif;
    font-size: 18px;
    color: #000;
    padding: 20px;
    text-align: left;
    width: 30%;
    border-bottom: 1px solid #C8C8C8;
}

.apg-pricing-table tbody tr:last-child td {
    border-bottom: none;
}

.apg-quote-cell {
    font-style: italic;
    color: #888;
}

.apg-quote-link {
    font-family: 'Poppins-SemiBold', sans-serif;
    color: #F0684F;
    text-decoration: underline;
    font-style: normal;
}

/* ===== ONGOING ACCOUNTING TABLE ===== */
.apg-ongoing-table thead th.apg-ongoing-col-txn {
    background-color: #007486;
}

.apg-ongoing-table thead th.apg-ongoing-col-monthly {
    background-color: #007486;
}

.apg-ongoing-table thead th.apg-ongoing-col-quarterly {
    background-color: #007486;
}

/* ===== ACCOUNTING COMPLEXITY TIERS ===== */
.apg-tiers-card {
    width: 100%;
    background: #BECFD1;
    border-radius: 16px;
    padding: 40px 48px;
    text-align: left;
    max-width: 1080px;
}

.apg-tier-item {
    margin-bottom: 32px;
}

.apg-tier-item:last-child {
    margin-bottom: 0;
}

.apg-tier-title {
    font-family: 'Poppins-Bold', sans-serif;
    font-size: 22px;
    color: #3B3B3B;
    margin-bottom: 6px;
}

.apg-tier-desc {
    margin-bottom: 4px;
}

.apg-tier-fee {
    font-size: 15px;
    color: #666;
}

/* ===== PRICING NOTES ===== */
.apg-notes-card {
    width: 100%;
    max-width: 1080px;
    background: #D5CCC5;
    border-radius: 16px;
    padding: 40px 48px;
    text-align: left;
}

.apg-notes-item {
    margin-bottom: 28px;
}

.apg-notes-item:last-child {
    margin-bottom: 0;
}

.apg-notes-title {
    font-family: 'Poppins-Bold', sans-serif;
    font-size: 22px;
    color: #666;
    margin-bottom: 6px;
}

.apg-notes-item p {
    margin: 0 0 6px;
}

.apg-notes-item p:last-child {
    margin-bottom: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .apg-hero h1 {
        font-size: 36px;
    }

    .apg-factors-grid {
        gap: 24px;
    }

    .apg-factor {
        min-width: 180px;
        flex: auto;
        width: 45%;
    }

    .apg-tiers-card {
        padding: 30px 32px;
    }
}

@media (max-width: 768px) {
    .apg-hero {
        padding: 50px 0;
        min-height: 200px;
    }

    .apg-hero h1 {
        font-size: 28px;
    }

    .apg-hero-subtitle {
        font-size: 15px;
    }

    .apg-how-pricing-wrapper .mw-h4,
    .apg-yearend-wrapper .mw-h4,
    .apg-ongoing-wrapper .mw-h4,
    .apg-tiers-wrapper .mw-h4,
    .apg-notes-wrapper .mw-h4 {
        font-size: 28px;
    }

    .apg-factors-grid {
        flex-wrap: wrap;
        gap: 20px;
    }

    .apg-factor {
        min-width: 45%;
    }

    .apg-pricing-table thead th {
        font-size: 11px;
        padding: 10px 8px;
    }

    .apg-pricing-table tbody td {
        font-size: 12px;
        padding: 10px 8px;
    }

    .apg-pricing-table tbody td:first-child {
        padding-left: 12px;
    }
}

@media (max-width: 480px) {
    .apg-hero h1 {
        font-size: 24px;
    }

    .apg-factors-grid {
        flex-direction: column;
        align-items: center;
    }

    .apg-factor {
        min-width: 100%;
    }

    .apg-how-pricing-wrapper .mw-h4,
    .apg-yearend-wrapper .mw-h4,
    .apg-ongoing-wrapper .mw-h4,
    .apg-tiers-wrapper .mw-h4,
    .apg-notes-wrapper .mw-h4 {
        font-size: 22px;
    }
}