/* #region common */
.cafe-page {
    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #181D27;
}

.cafe-page .container {
    width: 100%;
    max-width: 1310px;
}

.section-p {
    padding: 50px 0;
}

.nowrap {
    white-space: nowrap;
}

.p-title {
    padding-bottom: 12px;
}

.text-center {
    text-align: center;
}

.text-semibold {
    font-family: Inter SemiBold;
}

.text-bold {
    font-family: Inter Bold;
}

.default-title {
    font-family: Inter Bold;
    font-size: 32px;
    line-height: 1.25;
    letter-spacing: -0.2px;
}

.default-subtitle {
    font-size: 20px;
    color: #414651;
}

.default-desc {
    background: url(/sites/amis/images/pages/agentwork-cafe/ic-check.svg) no-repeat top left;
    background-size: 24px;
    padding-left: 32px;
    text-align: start;
}

.gradient-text {
    background: linear-gradient(89.12deg, #703F1F 0.76%, #AC6C22 131.4%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-group {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 16px;
}

.justify-center {
    justify-content: center;
}

a.base-btn {
    position: relative;
    font-family: Inter SemiBold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: 12px;
    transition: all ease 0.5s;
    box-shadow: 0 6px 20px 3px rgba(116, 135, 255, 0.03), 0 3px 6px -6px rgba(10, 27, 137, 0.03);
}

a.primary-btn {
    background: linear-gradient(89.12deg, #703F1F 0.76%, #AC6C22 131.4%);
    padding: 14px 26px;
    color: #FFF;
}

a.second-btn {
    border: 2px solid transparent;
    padding: 12px 24px;
    background: linear-gradient(#FFF, #FFF) padding-box, linear-gradient(89.12deg, #703F1F 0.76%, #AC6C22 131.4%) border-box;
}

a.second-btn span {
    background: linear-gradient(89.12deg, #703F1F 0.76%, #AC6C22 131.4%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

a.third-btn {
    background-color: #FFF;
    padding: 14px 26px;
    color: #1B49F5;
}

a.arrow-btn img {
    transform: translateX(0px);
    transition: transform 0.3s ease;
}

a.arrow-btn:hover img {
    transform: translateX(4px);
}

a.shadow-btn {
    opacity: 1 !important;
}

.shadow-btn::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 12px;
    background: linear-gradient(90deg,
            #ff6ec4,
            #7873f5,
            #22d3ee,
            #4ade80,
            #ff6ec4);
    background-size: 300% 300%;
    z-index: -1;
    opacity: 0;
    filter: blur(12px);
    transition: opacity 0.3s ease;
}

.shadow-btn:hover::before {
    opacity: 1;
    animation: shadowMove 4s linear infinite;
}

.border-btn:hover {
    background:
        linear-gradient(white, white) padding-box,
        linear-gradient(90deg,
            #ff6ec4,
            #7873f5,
            #4ade80,
            #22d3ee,
            #ff6ec4) border-box;
    background-size: 200% 200%;
    animation: borderMove 3s linear infinite;
}

.play-btn {
    position: relative;
    width: 35px;
    height: 35px;
    border-radius: 100%;
}

.bg-play-btn {
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    border-radius: 100%;
    background: linear-gradient(89.12deg, #703F1F 0.76%, #AC6C22 131.4%);
    animation: pulse 1.2s ease infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1, 1);
    }

    50% {
        opacity: 0.3;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes borderMove {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

@keyframes shadowMove {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 300% 50%;
    }
}

@media (max-width: 979px) {
    .default-title {
        font-size: 28px;
    }

    .default-subtitle {
        font-size: 18px;
    }

    .section-p {
        padding: 40px 0;
    }
}

@media (max-width: 767px) {
    .default-title {
        font-size: 24px;
    }

    .default-subtitle {
        font-size: 16px;
    }

    .cta-group {
        display: grid;
    }

    .play-btn {
        width: 36px;
        height: 36px;
    }

    .section-p {
        padding: 30px 0;
    }
}

/* #endregion */

/* #region hero */
.hero {
    padding: 120px 0 96px;
    background: url(/sites/amis/images/pages/agentwork-cafe/bg-hero.webp) no-repeat center;
    background-size: cover;
}

.hero-wrap {
    display: flex;
    align-items: center;
    gap: 32px;
}

.hero-title {
    font-family: Inter Bold;
    font-size: 52px;
    line-height: 60px;
    padding-bottom: 12px;
}

.hero-desc {
    font-size: 20px;
    color: #252B37;
}

.hero-cta {
    padding-top: 32px;
    flex-wrap: wrap;
}

.video-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
}

.hero-image {
    position: relative;
    width: 51%;
    max-width: 628px;
    aspect-ratio: 628/438;
    flex-shrink: 0;
}

.hero-image img {
    position: absolute;
    max-width: unset;
    width: 105%;
    left: 0;
}

@media (max-width: 1100px) {
    .hero br {
        display: none;
    }
}

@media (max-width: 979px) {
    .hero {
        padding: 50px 0;
    }

    .hero-wrap {
        flex-direction: column;
        text-align: center;
    }

    .hero-title {
        font-size: 32px;
        line-height: 1.25;
    }

    .hero-desc {
        font-size: 18px;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-image {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-cta {
        padding-top: 24px;
    }
}

/* #endregion */

/* #region feature */
.feature-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding: 32px 0;
}

.feature-item {
    padding: 32px;
    border: 1px solid var(--Border-Second, #E9EAEB);
    border-radius: 24px;
}

.feature-item-title {
    font-family: Inter Bold;
    font-size: 24px;
    color: #252B37;
    padding: 24px 0;
}

.feature-item-desc {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (max-width: 979px) {
    .feature-wrap {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .feature-wrap {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .feature-item {
        padding: 16px;
    }

    .feature-item-title {
        font-size: 20px;
        padding: 16px 0;
    }

    .feature-item-desc {
        gap: 12px;
    }
}

/* #endregion */

/* #region benefit */
.benefit {
    position: relative;
    z-index: 2;
}

.benefit-bg {
    background: linear-gradient(180deg, rgba(138, 79, 30, 0.3) -22.97%, rgba(255, 255, 255, 0) 139.08%);
    padding: 96px;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.benefit-list {
    padding-top: 64px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.benefit-item {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 9999px;
    padding: 16px 32px;
    font-family: Inter Medium;
    font-size: 18px;
    color: #08185E;
    width: fit-content;
}

.benefit-image {
    position: absolute;
    bottom: 0;
    left: 52%;
}

@media (max-width: 979px) {
    .benefit-bg {
        padding: 32px;
    }

    .benefit-image {
        left: 60%;
    }
}

@media (max-width: 767px) {
    .benefit-bg {
        padding: 16px;
    }

    .benefit-list {
        padding-top: 32px;
        gap: 12px;
    }

    .benefit-item {
        padding: 16px, 24px;
        font-size: 16px;
        text-align: center;
    }

    .benefit-image {
        display: none;
    }
}

/* #endregion */

/* #region solution */
.solution {
    position: relative;
    background: radial-gradient(37.95% 79.39% at 50% 20.61%, rgba(255, 229, 247, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%);
}

.solution .default-title {
    position: relative;
    z-index: 2;
}

.solution-wrap {
    padding-top: 40px;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.solution-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px;
    background-color: #FFF;
    border-radius: 16px;
}

.solution-item-title {
    font-family: Inter SemiBold;
    text-align: center;
}

.highlight-bg {
    position: absolute;
    z-index: 1;
    left: 5%;
    top: -50%;
}

@media (max-width: 979px) {
    .solution-wrap {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .solution-wrap {
        gap: 24px;
        padding-top: 32px;
    }
}

/* #endregion */

/* #region customer */
.customer {
    position: relative;
    z-index: 2;
}

.customer-wrap {
    padding: 40px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.customer-item {
    padding: 16px 24px;
    background: #FFF;
    border: 1px solid #E6E6EE;
    box-shadow: 0px 22px 45px 0px rgba(0, 0, 0, 0.1);
    border-radius: 24px;
    max-width: 240px;
}

@media (max-width: 767px) {
    .customer-wrap {
        flex-direction: column;
        gap: 16px;
        padding: 32px 0;
    }
}

/* #endregion */

/* #region channel */
.channel-wrap {
    padding: 40px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.channel-item {
    padding: 24px;
    border-radius: 24px;
}

.channel-item-1 {
    background: linear-gradient(180deg, #F0E7FF 2.88%, #FFFFFF 100%);
}

.channel-item-2 {
    background: linear-gradient(180deg, #E7F1FF 0%, #FFFFFF 100%);
}

.channel-item-3 {
    background: linear-gradient(180deg, #FFF7E7 0%, #FFFFFF 100%);
}

.channel-item-info {
    padding-top: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.channel-item-icon {
    flex-shrink: 0;
}

.channel-item-title {
    font-family: Inter SemiBold;
    font-size: 20px;
}

@media (max-width: 979px) {
    .channel-item {
        padding: 16px;
    }

    .channel-item-title {
        font-size: 16px;
    }

    .channel-item-info {
        gap: 12px;
    }
}

@media (max-width: 767px) {
    .channel-wrap {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 32px 0;
    }
}

/* #endregion */

/* #region cta section */
.cta-section-wrap {
    background: url(/sites/amis/images/pages/agentwork-cafe/bg-cta-section.webp) no-repeat center;
    background-size: cover;
    border-radius: 16px;
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    overflow: hidden;
}

@media (max-width: 979px) {
    .cta-section-wrap {
        background-position: left;
    }
}

@media (max-width: 767px) {
    .cta-section-wrap {
        flex-direction: column;
        text-align: center;
        padding: 32px 16px;
    }

    .cta-section-wrap br {
        display: none;
    }
}

/* #endregion */