.apg-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    gap: 40px;
}

.apg-hero-text {
    flex: 1;
    z-index: 1;
}

.apg-hero-img-wrap {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.apg-hero-img {
    min-width: 350px;
    width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
}

.apg-how-pricing .swi-h2,
.apg-yearend-section .swi-h2,
.apg-ongoing-section .swi-h2, .apg-tiers-wrapper .swi-h2 {
  margin-bottom: 15px;  
}

/* ===== HOW OUR PRICING WORKS ===== */
.apg-how-pricing {
    padding: 70px 0 60px;
}

.apg-how-pricing-wrapper {
    margin: 0 auto;
    text-align: center;
}

.apg-how-pricing-desc {
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 16px;
    color: rgba(0, 0, 0, 0.6);
    line-height: 1.6;
}

.apg-factors-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: nowrap;
}

.apg-factor {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
}

.apg-factor-circle {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 107, 115, 1) 0%, rgba(255, 188, 63, 1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(255, 140, 80, 0.3);
}

.apg-factor-label {
    font-weight: 700;
    font-size: 16px;
    color: rgba(0, 0, 0, 0.85);
    line-height: 1.4;
    text-align: left;
    margin-bottom: 0px; 
}

/* ===== COMMON SECTION STYLES ===== */
.apg-yearend-section,
.apg-ongoing-section,
.apg-tiers-section,
.apg-notes-section {
    background-color: #f8f8f8;
    padding: 60px 0;
}

.apg-yearend-wrapper,
.apg-ongoing-wrapper,
.apg-tiers-wrapper,
.apg-notes-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.apg-table-desc-bold {
    max-width: 900px;
    margin: 0 auto 10px;
    color: #000;
}

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

/* ===== PRICING TABLE ===== */
.apg-pricing-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: transparent;
}

.apg-pricing-table thead th {
    font-weight: 600;
    font-size: 15px;
    color: #fff;
    background: #8216FD;
    padding: 18px 20px;
    text-align: left;
    white-space: nowrap;
    border-top: 1.5px solid #C8C8C8;
}

.apg-pricing-table thead th:first-child {
    border-radius: 15px 0 0 0;
}

.apg-pricing-table thead th:last-child {
    border-radius: 0 15px 0 0;
}

.apg-pricing-table tbody td {
    font-weight: 400;
    font-size: 15px;
    color: rgba(0, 0, 0, 0.8);
    padding: 16px 20px;
    text-align: left;
    width: 30%;
    border-top: 1.5px solid #C8C8C8;
}

.apg-pricing-table tbody td:first-child {
    font-weight: 500;
}

/* ===== WHAT'S INCLUDED ===== */
.apg-whats-included {
    text-align: left;
    margin-top: 24px;
    padding: 0 4px;
}

.apg-whats-included-title {
    font-weight: 700;
    font-size: 14px;
    color: #000;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.apg-whats-included-list {
    padding-left: 20px;
    margin: 0;
}

.apg-whats-included-list li {
    color: rgba(0, 0, 0, 0.5);
}

.swi-info-pages-list-item::before {
    background-color: rgba(0, 0, 0, 0.5);
}

/* ===== ONGOING ACCOUNTING TABLE ===== */
.apg-ongoing-table {
    width: 100%;
}

.apg-ongoing-table thead th.apg-ongoing-col-txn,
.apg-ongoing-table thead th.apg-ongoing-col-monthly,
.apg-ongoing-table thead th.apg-ongoing-col-quarterly {
    background: #8216FD;
}

.apg-weekly-card {
    background: #F0F0F0;
    border-radius: 16px;
    padding: 28px 32px;
    margin-top: 32px;
    text-align: left;
}

.apg-weekly-card-title {
    font-weight: 700;
    font-size: 18px;
    color: #8216FD;
    margin-bottom: 10px;
}

.apg-weekly-card-desc {
    margin: 0;
}

.apg-ongoing-note {
    margin-top: 32px;
    text-align: left;
    padding: 0 4px;
}

.apg-ongoing-note-title {
    font-weight: 700;
    font-size: 16px;
    color: #000;
    margin-bottom: 8px;
}

.apg-ongoing-note-list {
    padding-left: 20px;
    margin: 0 0 12px;
}

.apg-ongoing-note-footer {
    color: rgba(0, 0, 0, 0.5);
}

/* ===== ACCOUNTING COMPLEXITY TIERS ===== */
.apg-tiers-desc {
    max-width: 900px;
    margin: 0 auto 40px;
    color: rgba(0, 0, 0, 0.6);
    text-align: center;
    line-height: 1.6;
}

.apg-tiers-row {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.apg-tier-card {
    flex: 1;
    min-width: 220px;
    max-width: 280px;
    background: #F0F0F0;
    border-radius: 16px;
    padding: 28px 24px;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.apg-tier-header {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.apg-tier-badge {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    background: #8216FD;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.apg-tier-name {
    font-weight: 700;
    font-size: 18px;
    color: rgba(0, 0, 0, 0.9);
}

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

.apg-tier-fee {
    margin-top: auto;
    margin-bottom: 0px;
}

/* ===== PRICING NOTES ===== */
.apg-notes-card {
    width: 100%;
    max-width: 900px;
    background: #fff;
    border-radius: 16px;
    padding: 40px 48px;
    text-align: left;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    margin: 0 auto;
}

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

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

.apg-notes-title {
    font-weight: 700;
    font-size: 18px;
    color: rgba(0, 0, 0, 0.7);
    margin-bottom: 8px;
}

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

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {

    .apg-factors-row {
        flex-wrap: wrap;
        justify-content: center;
    }

    .apg-factor {
        flex: 0 0 45%;
    }

    .accounting-faq-header {
        font-size: 40px;
    }

    .apg-tier-card {
        width: 100%;
        flex: auto;
        max-width: unset;
        min-width: unset;
    }
}

@media (max-width: 768px) {
    .apg-hero-inner {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
        gap: 24px;
    }

    .apg-hero-img-wrap {
        justify-content: center;
    }

    .apg-hero-img {
        width: 100%;
        max-width: 350px;
        margin: auto;
    }

    .apg-factors-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .apg-factor {
        flex: 0 0 auto;
    }

    .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: 10px;
    }

    .apg-tiers-row {
        flex-direction: column;
        align-items: center;
    }

    .apg-tier-card {
        max-width: 100%;
        width: 100%;
    }

    .apg-notes-card {
        padding: 28px 24px;
    }
}

@media (max-width: 480px) {
    .apg-how-pricing-desc {
        font-size: 14px;
    }

    .apg-factor-label {
        font-size: 14px;
    }
}
