/* 회원가입 선택 페이지 스타일 */

/* Main Wrapper */
.signup-wrapper {
    background: #faf8f8;
    min-height: 100vh;
    padding: 60px 0 100px;
}

.signup-wrapper .container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 80px;
    animation: fadeInDown 0.6s ease-out;
}

.page-title {
    font-size: 42px;
    font-weight: 800;
    color: #333;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.page-subtitle {
    font-size: 16px;
    color: #666;
    font-weight: 400;
}

/* Membership Section */
.membership-section {
    margin-bottom: 60px;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

/* Membership Cards */
.membership-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.membership-card {
    background: #fff;
    border-radius: 20px;
    padding: 48px 40px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.membership-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #bb877a 0%, #9f806f 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.membership-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: #bb877a;
}

.membership-card:hover::before {
    transform: scaleX(1);
}

.individual-card:hover {
    border-color: #bb877a;
}

.business-card:hover {
    border-color: #f093fb;
}

.business-card::before {
    background: linear-gradient(90deg, #f093fb 0%, #f5576c 100%);
}

/* Card Icon Wrapper */
.card-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.card-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #faf8f8 0%, #efebe9 100%);
    color: #bb877a;
    transition: all 0.4s ease;
}

.individual-card .card-icon {
    color: #bb877a;
}

.business-card .card-icon {
    color: #f093fb;
}

.membership-card:hover .card-icon {
    background: linear-gradient(135deg, #bb877a 0%, #9f806f 100%);
    color: #fff;
    transform: scale(1.1) rotate(5deg);
}

.business-card:hover .card-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.card-badge {
    padding: 8px 16px;
    background: #faf8f8;
    color: #bb877a;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.4s ease;
}

.business-card .card-badge {
    color: #f093fb;
}

.membership-card:hover .card-badge {
    background: #bb877a;
    color: #fff;
}

.business-card:hover .card-badge {
    background: #f093fb;
}

/* Card Content */
.card-content {
    flex: 1;
    margin-bottom: 32px;
}

.card-title {
    font-size: 28px;
    font-weight: 800;
    color: #333;
    margin-bottom: 8px;
    transition: color 0.4s ease;
}

.membership-card:hover .card-title {
    color: #bb877a;
}

.business-card:hover .card-title {
    color: #f093fb;
}

.card-subtitle {
    font-size: 15px;
    color: #999;
    margin-bottom: 32px;
    font-weight: 500;
}

.card-benefits {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.card-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #666;
    font-weight: 500;
    transition: all 0.3s ease;
}

.card-benefits li svg {
    flex-shrink: 0;
    color: #bb877a;
    transition: all 0.3s ease;
}

.business-card .card-benefits li svg {
    color: #f093fb;
}

.membership-card:hover .card-benefits li {
    color: #333;
    transform: translateX(4px);
}

.membership-card:hover .card-benefits li svg {
    color: #bb877a;
    transform: scale(1.2);
}

.business-card:hover .card-benefits li svg {
    color: #f093fb;
}

/* Card Footer */
.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 32px;
    border-top: 2px solid #faf8f8;
    transition: border-color 0.4s ease;
}

.membership-card:hover .card-footer {
    border-color: #bb877a;
}

.business-card:hover .card-footer {
    border-color: #f093fb;
}

.card-link {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    transition: color 0.4s ease;
}

.membership-card:hover .card-link {
    color: #bb877a;
}

.business-card:hover .card-link {
    color: #f093fb;
}

.arrow-icon {
    color: #999;
    transition: all 0.4s ease;
}

.membership-card:hover .arrow-icon {
    color: #bb877a;
    transform: translateX(8px);
}

.business-card:hover .arrow-icon {
    color: #f093fb;
}

/* Already Member Section - 대폭 개선 */
.already-member {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 48px 60px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid #faf8f8;
    animation: fadeInUp 0.6s ease-out 0.4s both;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.already-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #bb877a 0%, #9f806f 100%);
}

.already-member:hover {
    border-color: #efebe9;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.12);
}

.already-member p {
    font-size: 18px;
    color: #333;
    margin-bottom: 24px;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.btn-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 48px;
    background: linear-gradient(135deg, #bb877a 0%, #9f806f 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    
    position: relative;
    overflow: hidden;
}

.btn-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-login:hover::before {
    left: 100%;
}

.btn-login:hover {
    transform: translateY(-3px);

}

.btn-login:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 12px rgba(102, 126, 234, 0.3);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .membership-cards {
        gap: 30px;
    }

    .already-member {
        padding: 40px 50px;
    }
}

@media (max-width: 768px) {
    .signup-wrapper {
        padding: 40px 0 60px;
    }

    .signup-wrapper .container {
        padding: 0 20px;
    }

    .page-header {
        margin-bottom: 60px;
    }

    .page-title {
        font-size: 32px;
    }

    .page-subtitle {
        font-size: 15px;
    }

    .membership-cards {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .membership-card {
        padding: 36px 28px;
    }

    .card-icon {
        width: 70px;
        height: 70px;
    }

    .card-icon svg {
        width: 40px;
        height: 40px;
    }

    .card-title {
        font-size: 24px;
    }

    .card-subtitle {
        font-size: 14px;
    }

    .card-benefits li {
        font-size: 14px;
    }

    .already-member {
        padding: 36px 32px;
    }

    .already-member p {
        font-size: 17px;
        margin-bottom: 20px;
    }

    .btn-login {
        padding: 15px 40px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .page-header {
        margin-bottom: 40px;
    }

    .page-title {
        font-size: 28px;
    }

    .page-subtitle {
        font-size: 14px;
    }

    .membership-card {
        padding: 28px 20px;
    }

    .card-icon-wrapper {
        margin-bottom: 24px;
    }

    .card-icon {
        width: 60px;
        height: 60px;
    }

    .card-icon svg {
        width: 32px;
        height: 32px;
    }

    .card-badge {
        padding: 6px 12px;
        font-size: 12px;
    }

    .card-title {
        font-size: 22px;
    }

    .card-subtitle {
        font-size: 13px;
        margin-bottom: 24px;
    }

    .card-benefits {
        gap: 14px;
    }

    .card-benefits li {
        font-size: 13px;
    }

    .card-benefits li svg {
        width: 14px;
        height: 14px;
    }

    .card-footer {
        padding-top: 24px;
    }

    .card-link {
        font-size: 15px;
    }

    .arrow-icon {
        width: 18px;
        height: 18px;
    }

    .already-member {
        padding: 32px 24px;
    }

    .already-member p {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .btn-login {
        width: 100%;
        padding: 14px 32px;
        font-size: 15px;
    }
}
