* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0;
    padding: 0;
}
.main-section {
    padding: 40px 0;
    background: #EAECF0;
}
.main-section .container {
    margin: 0 auto;
    width: 100%;
    background: #fff;
    display: flex;
    max-width: 1280px;
    padding: 32px 32px 48px 32px;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}
.opus-benefit-boxes,
.main-section .header {
    padding: 0 32px;
}
.header h1 {
    color: #101828;
    font-size: 30px;
    font-style: normal;
    font-weight: 600;
    line-height: 38px;
    margin-bottom: 4px;
}
.header p {
    color: #475467;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}
.tabs {
    display: flex;
    align-items: flex-start;
    border-radius: 8px;
    border: 1px solid #d0d5dd;
    box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
    width: max-content;
    overflow: hidden;
}
.tab {
    display: flex;
    min-height: 40px;
    padding: 8px 16px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    opacity: 0.3;
    background: #fff;
    color: #344054;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
    border: 0;
    border-right: 1px solid #d0d5dd;

    cursor: pointer;
}
.tab.active {
    border-right: 1px solid #d0d5dd;
    background: #f2f4f7;
    color: #182230;
    opacity: 1;
}
.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
    margin-top: 32px;
}

.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    min-height: 320px;
    position: relative;
    transition: box-shadow 0.2s;
    border-radius: 20px;
    min-width: 240px;
    max-width: 300px;
    padding: 12px;
    flex: 1 0 0;
    background: #fff;
    box-shadow: 0 4px 8px -2px rgba(16, 24, 40, 0.1),
    0 2px 4px -2px rgba(16, 24, 40, 0.06);
}
.card-benefit-offer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.card-logo {
    display: flex;
    padding: 8px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex: 1 0 0;
}
.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #222;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.card-logo-tool {
    display: flex;
    height: 157.016px;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    aspect-ratio: 130/81;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 1px 3px 0 rgba(16, 24, 40, 0.1),
    0 1px 2px 0 rgba(16, 24, 40, 0.06);
}
.card-category {
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    line-height: 18px;
    border-radius: 0 0 15px 15px;
    padding: 4px 12px;
    margin-bottom: 0;
    display: flex;
    background: #47cd89;
    box-shadow: 0 1px 3px 0 rgba(16, 24, 40, 0.1),
    0 1px 2px 0 rgba(16, 24, 40, 0.06);
    width: 100%;
    align-items: center;
    justify-content: center;
}
.card-category.cat-business { background: #47CD89; }
.card-category.cat-marketing { background: #F38744; }
.card-category.cat-shipping { background: #53B1FD; }
.card-category.cat-setup { background: #7A5AFF; }
.card-offer {
    color: #344054;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    height: 28px;
    padding: 4px 12px;
    display: flex;
    align-items: center;
    border-radius: 16px;
    border: 1px solid #eaecf0;
    background: #f9fafb;
}
.card-desc {
    color: #98a2b3;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 19.63px;
}
.card-btn {
    color: #fff;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    text-decoration: none;
    line-height: 20px;
    display: flex;
    padding: 8px 12px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    height: 36px;
    border-radius: 16px;
    border: 1px solid #ed1c24;
    background: #ed1c24;
    box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
}
.card-btn:hover {
    background: #dc2626;
}
.pagination {
    display: flex;
    padding-top: 20px;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    border-top: 1px solid #eaecf0;
    width: 100%;
}
.pagination ul {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 0;
}
.pagination ul li {
    list-style-type: none;
}
.pagination-btn {
    display: flex;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    background-color: #fff;
    color: #475467;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    border: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.pagination-btn.active,
.pagination-btn:hover {
    background: #f9fafb;
    color: #182230;
    font-weight: 500;
}
.pagination-arrow {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #475467;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
    background: none;
    border: 0;
}
button.pagination-arrow.next {
    margin-top: -15px;
}
button.pagination-arrow.prev {
    left: 0;
    margin-top: -15px;
}

/* Responsive Styles */
@media (min-width: 1025px) and (max-width: 1240px) {
    .opus-benefit-boxes,
    .main-section .header {
        padding: 0 16px;
        width: 100%;
    }

    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .card,
    .card-logo-tool {
        width: 100%;
        max-width: 100%;
    }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .opus-benefit-boxes,
    .main-section .header {
        padding: 0 16px;
        width: 100%;
    }
    .container {
        padding: 32px 16px 48px 16px !important;
    }
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .card,
    .card-logo-tool {
        width: 100%;
        max-width: 100%;
    }
}
@media (max-width: 767px) {
    .container {
        padding: 32px 16px 48px 16px !important;
    }
    .opus-benefit-boxes,
    .main-section .header {
        padding: 0 0px;
    }
    .card-logo-tool {
        width: 100%;
    }

    .card {
        max-width: 340px;
    }
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 620px) {
    .tabs {
        flex-direction: column;
        align-items: center;
        max-width: 350px;
        width: 100%;
        overflow: hidden;
    }
    .tab,
    .card-logo-tool {
        width: 100%;
    }
    .cards-grid {
        grid-template-columns: 1fr;
    }
}
.prev:hover, .next:hover {
    background-color: transparent !important;
}

/** main page css **/

.benefit-hero {
    padding: 40px 0;
    text-align: center;
    background: #0c111d;
}
.unlock .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.benefit-hero .subtitle {
    color: #eaecf0;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    margin-bottom: 12px;
}
.benefit-hero h1 {
    color: #fff;
    text-align: center;
    font-size: 48px;
    font-style: normal;
    font-weight: 600;
    line-height: 60px;
    letter-spacing: -0.96px;
    margin: 0 0 24px 0;
}
.benefit-hero p {
    color: #eaecf0;
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px;
}
.container {
    max-width: 1280px;
    padding: 0 32px;
    width: 100%;
    margin: 0 auto;
}
.benefit-growth {
    padding: 96px 0;
}
.benefit-growth .container {
    display: flex;
    align-items: flex-start;
    align-content: flex-start;
    gap: 32px;
    flex-wrap: wrap;
}
.benefit-growth .left {
    display: flex;
    min-width: 320px;
    max-width: 360px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    flex: 1 0 0;
}
.benefit-growth .left .why {
    color: #cc181f;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
}
.benefit-growth .left h2 {
    color: #101828;
    font-size: 36px;
    font-style: normal;
    font-weight: 600;
    line-height: 44px;
    letter-spacing: -0.72px;
    margin: 0 0 8px 0;
}
.benefit-growth .left p {
    color: #475467;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px;
    margin-bottom: 20px;
}
.benefit-growth .explore-btn {
    color: #fff;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    display: flex;
    padding: 12px 18px;
    justify-content: center;
    align-items: center;
    gap: 6px;
    border-radius: 8px;
    border: 1px solid #ed1c24;
    background: #ed1c24;
    box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s;
}
.benefit-growth .left .explore-btn:hover {
    background: #d93a2f;
}
.benefit-growth .right {
    flex: 2 1 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.benefit-card {
    width: 100%;
    height: 400px;
    min-width: 360px;
    max-width: 400px;
    padding: 6px;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
}

.benefit-card .card-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 5px;
    color: #fff;
    border-radius: 0 0 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0 6px;
    padding: 16px;
    background: rgb(0 0 0 / 7%);
    backdrop-filter: blur(9px);
    transition: all 0.5s ease-in-out;
}

.benefit-card .tag {
    color: #344054;
    text-align: center;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 18px;
    border-radius: 16px;
    border: 1px solid #eaecf0;
    background: #f9fafb;
    padding: 2px 8px;
    display: inline-block;
    width: fit-content;
    height: 22px;
}
.benefit-card .title {
    color: #fff;
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: 44px;
    letter-spacing: -0.72px;
}
.benefit-card .see-deals {
    display: flex;
    padding: 8px 12px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    color: #344054;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid #d0d5dd;
    background: #fff;
    box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
}
.see-details-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.benefit-card .description {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    font-size: 13px;
    line-height: 20px;
    font-weight: 300;
}

.benefit-card:hover .description {
    max-height: 100px;
    opacity: 1;
}
.benefit-card img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 18px;
}
.explore-all-box {
    display: none;
}

section.benefit-hero.unlock .container {
    max-width: 840px;
    margin: 0 auto;
    width: 100%;
}

.tabs-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media (min-width: 1025px) and (max-width: 1240px) {
    .benefit-card {
        min-width: 295px;
        max-width: 100%;
    }
    .benefit-card .title {
        font-size: 30px;
        font-weight: 700;
        line-height: 38px;
        letter-spacing: -0.72px;
    }
}

@media (max-width: 1024px) {
    .benefit-growth .right {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .benefit-growth .left {
        max-width: 100%;
    }
    .container {
        padding: 0 16px;
    }
    .benefit-card .card-overlay {
        bottom: 5px;
    }
}
@media (max-width: 767px) {
    .container {
        padding: 0 16px;
    }
    .benefit-hero h1 {
        color: #fff;
        text-align: center;
        font-size: 36px;
        font-style: normal;
        font-weight: 600;
        line-height: 44px;
        letter-spacing: -0.72px;
        margin: 0 0 16px 0;
    }
    .benefit-growth .container {
        flex-direction: column;
    }
    .benefit-card .card-overlay {
        margin: 0;
        bottom: 0px;
    }
    .benefit-card {
        min-width: auto;
        padding: 0;
        max-width: 100%;
    }
    .benefit-hero p {
        font-size: 18px;
        line-height: 28px;
    }
    .benefit-growth .right {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .benefit-growth {
        padding: 40px 0;
    }
    .benefit-growth .left p {
        margin-bottom: 0;
    }
    .explore-all-box {
        display: inline-block;
        padding-left: 16px;
        padding-top: 64px;
    }
    .benefit-growth .left .explore-btn {
        display: none;
    }
}
