.wanlife-offer {
    background: linear-gradient(to bottom right, #eef6fc, #ffffff);
    padding: 80px 0;
}

.offer-container {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding-top: clamp(50px, 5vw, 100px);
}

.offer-text {
    flex: 1;
}

.offer-title {
    font-size: clamp(18px, 3vw, 30px);
    font-weight: 600;
    line-height: 1.4;

}

.offer-title span {
    font-size: clamp(24px, 5vw, 60px);
    font-weight: 900;
    display: block;
}

.offer-desc {
    font-size: 14px;
    margin-bottom: 15px;
    letter-spacing: normal;
}

.offer-price {
    font-size: clamp(24px, 6.5vw, 60px);
    font-weight: 900;
    color: var(--blue);
    margin-top: 20px;
}

.offer-price span {
    font-size: clamp(24px, 4vw, 45px);
    font-weight: 900;
}

.offer-sub {
    font-size: 12px;
    margin-bottom: 30px;
}

.offer-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--textColor);
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--black);
    background-color: var(--white);
    font-size: clamp(16px, 3vw, 20px);
    min-width: 200px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    margin: auto 0;
    font-weight: 500;
    text-decoration: none;
    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        transform 0.25s ease;
}

.offer-button:hover {
    background-color: var(--black);
    color: var(--white);
    border-color: var(--black);
    transform: translateY(-2px);
}

.offer-pc {
    display: block;
}

.offer-mb {
    display: none;
}

.offer-images {
    width: 45%;
    display: flex;
    justify-content: flex-end;
}

.phone-img {
    width: 100%;
    object-fit: contain;
}


@media (max-width: 768px) {
    .offer-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .offer-title {
        font-size: clamp(18px, 6vw, 30px);
    }

    .offer-title span {
        font-size: clamp(24px, 10vw, 60px);
    }

    .offer-price {
        font-size: clamp(36px, 10vw, 50px);
    }

    .offer-price span {
        font-size: clamp(24px, 7vw, 45px);
    }

    .offer-sub {
        margin-bottom: 0px;
    }

    .offer-pc {
        display: none;
    }

    .offer-mb {
        display: block;
    }

    .offer-images {
        justify-content: center;
         width: 60%;
    }

    .phone-img {
        width: 90%;
        max-width: 600px;
    }
}

@media (max-width: 576px) {
      .offer-images {
        width: 90%;
    }
}


/* SECTION BASE */
.plan-section {
    position: relative;
    padding: 80px 0 80px;
    color: var(--white);
    overflow: hidden;
    background:
        linear-gradient(#232932A8, #232932A8),
        url("../images/banner-bg.webp") center/cover no-repeat;
}

.plan-content {
    position: relative;
    z-index: 2;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.plan-text {
    flex: 1;
}

.plan-title {
    font-size: clamp(45px, 8vw, 70px);
    font-weight: 800;
    color:var(--white);
    margin-bottom: 20px;
    line-height: 1.4;
}

.plan-title span {
    font-size: clamp(23px, 2.4vw, 40px);
    font-weight: 500;
    color:var(--white);
    display: block;
}

.plan-subtitle {
    font-size: clamp(14px, 1vw, 18px);
    margin-bottom: 25px;
}

/* TAGS */
.plan-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 35px;
}

.plan-tags span {
    padding: 5px 18px;
    border: 1px solid var(--white);
    font-size: clamp(14px, 1vw, 18px);
}


.plan-note {
    font-size: clamp(14px, 1vw, 16px);
    opacity: 0.8;
    line-height: 1.6;
}

.plan-phone img {
    width: 310px;
    max-width: 100%;
    display: block;
}

.plan-cta-section {
    padding-bottom: 80px;
}

.plan-cta-wrap {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 40px;
}

@media (max-width: 768px) {
    .plan-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

 .plan-title {
    font-size: clamp(38px, 13vw, 60px);
}

.plan-title span {
            font-size: clamp(16px, 5vw, 40px);
}

.plan-subtitle {
    font-size: clamp(14px, 1vw, 18px);
    margin-bottom: 25px;
}

    .plan-tags span {
        width: 18%;
        padding: 5px 0;
    }
    .plan-note {
    font-size: clamp(12px, 1vw, 16px);
    opacity: 0.8;
    line-height: 1.6;
    }
    .plan-phone{
        display: none;
    }
}

/* VERY SMALL MOBILE */
@media (max-width: 480px) {
    .plan-tags span {
        width: 46%;
        padding: 6px 0;
    }
}


/* ==============================
   SECTION BASE
============================== */
.wanlife-flow-section {
    padding-bottom: 70px;
}

.wanlife-flow-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #1e293b;
}

/* ==============================
   CONTAINER
============================== */
.wanlife-flow-container {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 50px;
    position: relative;
}

/* Desktop arrows */
.wanlife-flow-container::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 25%;
    width: 50%;
    height: 4px;
    background: url("arrow-right.svg") center/contain repeat-x;
    opacity: 0.4;
    transform: translateY(-50%);
}

/* ==============================
   CARDS
============================== */
/* CARD */
.wanlife-flow-card {
    background: #e9f0f8;
    border-radius: 14px;
    padding: 100px 16px 30px;
    position: relative;
    text-align: center;
    overflow: visible;
    width:30%;
}

.wanlife-flow-step-label {
    position: absolute;
    top: 20px;
    left: -8px;
    background: var(--blue);
    ;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 28px 9px 22px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 8px 0px 0px 0;
    z-index: 10;
}

.wanlife-flow-step-label span {
    font-size: 18px;
    letter-spacing: 1px;
    opacity: 0.95;
}

.wanlife-flow-step-label::before {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 0;
    border-top: 8px solid var(--blue);
    border-left: 8px solid transparent;
}

.wanlife-flow-step-label::after {
    content: "";
    position: absolute;
    right: -28px;
    top: 0;
    width: 0;
    height: 0;
    border-top: 25px solid var(--blue);
    border-bottom: 25px solid var(--blue);
    border-right: 28px solid transparent;
}

.wanlife-flow-icon {
    width: clamp(60px, 8vw, 80px);
    height: clamp(60px, 8vw, 80px);
    margin: 0 auto;

    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wanlife-flow-icon img {
    width: clamp(50px, 7vw, 70px);
    height: clamp(50px, 7vw, 70px);
    object-fit: contain;
    margin: 15px 0 20px;
}

.wanlife-flow-card-title {
    font-size: clamp(16px, 2vw, 22px);
    font-weight: 700;
    color: var(--textColor);
    margin-top: 10px;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.wanlife-flow-card-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    border-radius: 2px;
    background: var(--blue);
}

.wanlife-flow-card-desc {
    font-size: clamp(14px, 1vw, 16px);
    text-align: left;
    opacity: 0.85;
}

.wanlife-flow-card-desc-note {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: #475569;
    line-height: 1.6;
}

.wanlife-flow-button {
    display: block;
    margin-top: 20px;
    padding: 10px 12px;
    width: 100%;
    max-width: 300px;
    background: #5A8FBE;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}




/* ==============================
   MOBILE VERSION
============================== */

@media (max-width: 992px) {
    .wanlife-flow-container {
        width: 100%;
        max-width: 768px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .wanlife-flow-card {
        width: 46%;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .wanlife-flow-container {
        padding: 0px 7px;
    }
}

@media (max-width: 576px) {
    .wanlife-flow-container {
        width: 100%;
        max-width: 480px;
        flex-wrap: wrap;
    }

    .wanlife-flow-card {
        width: 100%;
        margin-bottom: 30px;
    }
}


.wanlife-faq-section {
    background-color: var(--white);
    padding-bottom: 80px;
}

.wanlife-faq-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #1e293b;
}

.wanlife-faq-list {
    max-width: 882px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wanlife-faq-item {
    border: 1px solid #d0d6dd;
    border-radius: 6px;
    overflow: hidden;
    background: var(--white);
}

/* QUESTION BUTTON */
.wanlife-faq-question {
    width: 100%;
    text-align: left;
    border: none;
    padding: 16px 40px 16px 16px;
    font-size: clamp(16px, 2vw, 18px);
    font-weight: 600;
    cursor: pointer;
    position: relative;
    color: var(--textColor);
    position: relative;
    z-index: 1;
}

/* Remove blue highlight on click */
.wanlife-faq-question {
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
    /* mobile blue flash */
}

.wanlife-faq-question::before {
    content: "Q";
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);

    font-size: 50px;
    font-weight: 700;
    color: #F0F5FB;
    width: 43px;
    height: 43px;
    border-radius: 4px;
    z-index: -1;

    display: flex;
    align-items: center;
    justify-content: center;
}

.wanlife-faq-question:focus,
.wanlife-faq-question:active {
    outline: none !important;
    box-shadow: none !important;
}

.wanlife-faq-icon {
position:absolute;
right:10px;
    top: 16px;
    font-size: 20px;
    font-weight: 700;
    width: 24px;
    text-align: center;
}

.wanlife-faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 18px;
    border-top: 1px solid #e5e7eb;
    transition: max-height 0.35s ease, padding 0.35s ease;
    position: relative;
    z-index: 1;
}

.wanlife-faq-answer::before {
    content: "A";
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);

    font-size: 50px;
    font-weight: 700;
    color: #F0F5FB;
    width: 43px;
    height: 43px;
    border-radius: 4px;
    z-index: -1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wanlife-faq-answer.open {
    padding: 18px;
    min-height: 60px;
    height:auto;
    max-height:1000px;
}

.wanlife-faq-answer p {
    color: var(--textColor);
    font-size: clamp(14px, 2vw, 16px);
}

@media (max-width: 768px) {
.wanlife-faq-question {
     padding: 12px 38px 12px 12px;
    font-size: clamp(16px, 1vw, 18px);
    fon-weight:500;
}

.wanlife-faq-icon {
position:absolute;
right:8px;
    top: 10px;
}
}


/* Base Section */
.wanlife-apply-section {
    padding: 70px 0px;
    background: #eef3fa;
    border-radius: 8px;
}

/* Form */
.wanlife-apply-form {
    max-width: 882px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wanlife-apply-form-item{
margin-top:8px;
}

/* Labels */
.wanlife-apply-label {
    font-size: 16px;
    font-weight: 400;
    color: var(--textColor);
}

.wanlife-apply-label span {
    color: #ef4444;
}

/* Inputs */
.wanlife-apply-input,
.wanlife-apply-textarea {
    width: 100%;
    padding: 12px 14px;
    font-size: 16px;
    border:1px solid var(--border);
    border-radius: 6px;
    background: var(--white);
    outline: none;
}

.wanlife-apply-input:focus,
.wanlife-apply-textarea:focus {
    border-color: var(--black);
}

/* Textarea */
.wanlife-apply-textarea {
    height: 120px;
    resize: vertical;
}

/* Relation Buttons */
.wanlife-apply-relation {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 8px 10px;
    border:1px solid var(--border);
    border-radius: 6px;
    background:var(--white)
}

.wanlife-apply-relation label {
    border-radius: 6px;
    font-size:14px;
    cursor: pointer;
}

.wanlife-apply-relation input {
    margin-right: 6px;
}

/* Checkbox */
.wanlife-apply-check {
    font-size: 14px;
    display: flex;
    gap: 8px;
    align-items: flex-start;
}
.wanlife-apply-check input{
 width: 18px;
    height: 24px;
}

.wan-life-apply-submit-btn-wrap{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;

}
/* Responsive */
@media (max-width: 480px) {
    .wanlife-apply-title {
        font-size: 22px;
    }
    .wanlife-apply-relation label {
        width: 48%;
    }
}
